Documentation
¶
Index ¶
- Variables
- type AccountCreatedPayload
- func (*AccountCreatedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCreatedPayload) GetEmail() string
- func (x *AccountCreatedPayload) GetKey() string
- func (x *AccountCreatedPayload) GetPassword() string
- func (msg *AccountCreatedPayload) MarshalJSON() ([]byte, error)
- func (*AccountCreatedPayload) ProtoMessage()
- func (x *AccountCreatedPayload) ProtoReflect() protoreflect.Message
- func (x *AccountCreatedPayload) Reset()
- func (x *AccountCreatedPayload) String() string
- func (msg *AccountCreatedPayload) UnmarshalJSON(b []byte) error
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetActive() bool
- func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
- func (x *Admin) GetDetails() *Admin_Details
- func (x *Admin) GetEmail() string
- func (x *Admin) GetId() string
- func (x *Admin) GetKey() string
- func (x *Admin) GetNotes() string
- func (x *Admin) GetPasswordHash() []byte
- func (x *Admin) GetRevision() string
- func (x *Admin) GetScopes() map[string]Admin_Scope
- func (x *Admin) GetUpdatedAt() *timestamppb.Timestamp
- func (msg *Admin) MarshalJSON() ([]byte, error)
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- func (msg *Admin) UnmarshalJSON(b []byte) error
- type Admin_Details
- func (*Admin_Details) Descriptor() ([]byte, []int)deprecated
- func (x *Admin_Details) GetAvatar() []byte
- func (x *Admin_Details) GetFirstName() string
- func (x *Admin_Details) GetLastName() string
- func (msg *Admin_Details) MarshalJSON() ([]byte, error)
- func (*Admin_Details) ProtoMessage()
- func (x *Admin_Details) ProtoReflect() protoreflect.Message
- func (x *Admin_Details) Reset()
- func (x *Admin_Details) String() string
- func (msg *Admin_Details) UnmarshalJSON(b []byte) error
- type Admin_Scope
- func (Admin_Scope) Descriptor() protoreflect.EnumDescriptor
- func (x Admin_Scope) Enum() *Admin_Scope
- func (Admin_Scope) EnumDescriptor() ([]byte, []int)deprecated
- func (x Admin_Scope) Number() protoreflect.EnumNumber
- func (x Admin_Scope) String() string
- func (Admin_Scope) Type() protoreflect.EnumType
- type ResourceCreatedPayload
- func (*ResourceCreatedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreatedPayload) GetAdminKey() string
- func (x *ResourceCreatedPayload) GetElement() *anypb.Any
- func (x *ResourceCreatedPayload) GetKey() string
- func (msg *ResourceCreatedPayload) MarshalJSON() ([]byte, error)
- func (*ResourceCreatedPayload) ProtoMessage()
- func (x *ResourceCreatedPayload) ProtoReflect() protoreflect.Message
- func (x *ResourceCreatedPayload) Reset()
- func (x *ResourceCreatedPayload) String() string
- func (msg *ResourceCreatedPayload) UnmarshalJSON(b []byte) error
- type ResourceDeletedPayload
- func (*ResourceDeletedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDeletedPayload) GetAdminKey() string
- func (x *ResourceDeletedPayload) GetKey() string
- func (msg *ResourceDeletedPayload) MarshalJSON() ([]byte, error)
- func (*ResourceDeletedPayload) ProtoMessage()
- func (x *ResourceDeletedPayload) ProtoReflect() protoreflect.Message
- func (x *ResourceDeletedPayload) Reset()
- func (x *ResourceDeletedPayload) String() string
- func (msg *ResourceDeletedPayload) UnmarshalJSON(b []byte) error
- type ResourceReplacedPayload
- func (*ResourceReplacedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReplacedPayload) GetAdminKey() string
- func (x *ResourceReplacedPayload) GetElement() *anypb.Any
- func (msg *ResourceReplacedPayload) MarshalJSON() ([]byte, error)
- func (*ResourceReplacedPayload) ProtoMessage()
- func (x *ResourceReplacedPayload) ProtoReflect() protoreflect.Message
- func (x *ResourceReplacedPayload) Reset()
- func (x *ResourceReplacedPayload) String() string
- func (msg *ResourceReplacedPayload) UnmarshalJSON(b []byte) error
- type ResourceUpdatedPayload
- func (*ResourceUpdatedPayload) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUpdatedPayload) GetAdminKey() string
- func (x *ResourceUpdatedPayload) GetElement() *anypb.Any
- func (msg *ResourceUpdatedPayload) MarshalJSON() ([]byte, error)
- func (*ResourceUpdatedPayload) ProtoMessage()
- func (x *ResourceUpdatedPayload) ProtoReflect() protoreflect.Message
- func (x *ResourceUpdatedPayload) Reset()
- func (x *ResourceUpdatedPayload) String() string
- func (msg *ResourceUpdatedPayload) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( Admin_Scope_name = map[int32]string{ 0: "SCOPE_UNSPECIFIED", 1: "SCOPE_READ", 2: "SCOPE_READ_WRITE", } Admin_Scope_value = map[string]int32{ "SCOPE_UNSPECIFIED": 0, "SCOPE_READ": 1, "SCOPE_READ_WRITE": 2, } )
Enum value maps for Admin_Scope.
var File_account_v1_account_proto protoreflect.FileDescriptor
var File_account_v1_event_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountCreatedPayload ¶
type AccountCreatedPayload struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*AccountCreatedPayload) Descriptor
deprecated
func (*AccountCreatedPayload) Descriptor() ([]byte, []int)
Deprecated: Use AccountCreatedPayload.ProtoReflect.Descriptor instead.
func (*AccountCreatedPayload) GetEmail ¶
func (x *AccountCreatedPayload) GetEmail() string
func (*AccountCreatedPayload) GetKey ¶
func (x *AccountCreatedPayload) GetKey() string
func (*AccountCreatedPayload) GetPassword ¶
func (x *AccountCreatedPayload) GetPassword() string
func (*AccountCreatedPayload) MarshalJSON ¶
func (msg *AccountCreatedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AccountCreatedPayload) ProtoMessage ¶
func (*AccountCreatedPayload) ProtoMessage()
func (*AccountCreatedPayload) ProtoReflect ¶
func (x *AccountCreatedPayload) ProtoReflect() protoreflect.Message
func (*AccountCreatedPayload) Reset ¶
func (x *AccountCreatedPayload) Reset()
func (*AccountCreatedPayload) String ¶
func (x *AccountCreatedPayload) String() string
func (*AccountCreatedPayload) UnmarshalJSON ¶
func (msg *AccountCreatedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Admin ¶
type Admin struct {
// key represents the unique identifier of the admin
Key string `protobuf:"bytes,1,opt,name=key,json=_key,proto3" json:"key,omitempty"`
// id represents the unique object identifier of the admin
Id string `protobuf:"bytes,2,opt,name=id,json=_id,proto3" json:"id,omitempty"`
// revision represents the revision of the admin
Revision string `protobuf:"bytes,3,opt,name=revision,json=_rev,proto3" json:"revision,omitempty"`
// unique email of the admin
Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
// password_hash is the hashed password of the admin
PasswordHash []byte `protobuf:"bytes,5,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"`
// notes associated to the admin
Notes *string `protobuf:"bytes,6,opt,name=notes,proto3,oneof" json:"notes,omitempty"`
// details of the admin
Details *Admin_Details `protobuf:"bytes,7,opt,name=details,proto3" json:"details,omitempty"`
// active is the active status of the admin
Active bool `protobuf:"varint,8,opt,name=active,proto3" json:"active,omitempty"`
// scopes that the admin contains for each model
Scopes map[string]Admin_Scope `` /* 168-byte string literal not displayed */
// created_at is the timestamp when the admin was created
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// updated_at is the timestamp when the admin was updated
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
Admin account in the dashboard
func (*Admin) Descriptor
deprecated
func (*Admin) GetCreatedAt ¶
func (x *Admin) GetCreatedAt() *timestamppb.Timestamp
func (*Admin) GetDetails ¶
func (x *Admin) GetDetails() *Admin_Details
func (*Admin) GetPasswordHash ¶
func (*Admin) GetRevision ¶
func (*Admin) GetScopes ¶
func (x *Admin) GetScopes() map[string]Admin_Scope
func (*Admin) GetUpdatedAt ¶
func (x *Admin) GetUpdatedAt() *timestamppb.Timestamp
func (*Admin) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
func (*Admin) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Admin_Details ¶
type Admin_Details struct {
// avatar image associated to the admin
Avatar []byte `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"`
// first name of the admin
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
// last name of the admin
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
// contains filtered or unexported fields
}
func (*Admin_Details) Descriptor
deprecated
func (*Admin_Details) Descriptor() ([]byte, []int)
Deprecated: Use Admin_Details.ProtoReflect.Descriptor instead.
func (*Admin_Details) GetAvatar ¶
func (x *Admin_Details) GetAvatar() []byte
func (*Admin_Details) GetFirstName ¶
func (x *Admin_Details) GetFirstName() string
func (*Admin_Details) GetLastName ¶
func (x *Admin_Details) GetLastName() string
func (*Admin_Details) MarshalJSON ¶
func (msg *Admin_Details) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*Admin_Details) ProtoMessage ¶
func (*Admin_Details) ProtoMessage()
func (*Admin_Details) ProtoReflect ¶
func (x *Admin_Details) ProtoReflect() protoreflect.Message
func (*Admin_Details) Reset ¶
func (x *Admin_Details) Reset()
func (*Admin_Details) String ¶
func (x *Admin_Details) String() string
func (*Admin_Details) UnmarshalJSON ¶
func (msg *Admin_Details) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type Admin_Scope ¶
type Admin_Scope int32
Scope represents the scope of the admin
const ( // SCOPE_UNSPECIFIED is the default scope Admin_SCOPE_UNSPECIFIED Admin_Scope = 0 // SCOPE_READ allows only read operations Admin_SCOPE_READ Admin_Scope = 1 // SCOPE_WRITE allows read and write operations Admin_SCOPE_READ_WRITE Admin_Scope = 2 )
func (Admin_Scope) Descriptor ¶
func (Admin_Scope) Descriptor() protoreflect.EnumDescriptor
func (Admin_Scope) Enum ¶
func (x Admin_Scope) Enum() *Admin_Scope
func (Admin_Scope) EnumDescriptor
deprecated
func (Admin_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use Admin_Scope.Descriptor instead.
func (Admin_Scope) Number ¶
func (x Admin_Scope) Number() protoreflect.EnumNumber
func (Admin_Scope) String ¶
func (x Admin_Scope) String() string
func (Admin_Scope) Type ¶
func (Admin_Scope) Type() protoreflect.EnumType
type ResourceCreatedPayload ¶
type ResourceCreatedPayload struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Element *anypb.Any `protobuf:"bytes,2,opt,name=element,proto3" json:"element,omitempty"`
AdminKey string `protobuf:"bytes,3,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceCreatedPayload) Descriptor
deprecated
func (*ResourceCreatedPayload) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreatedPayload.ProtoReflect.Descriptor instead.
func (*ResourceCreatedPayload) GetAdminKey ¶
func (x *ResourceCreatedPayload) GetAdminKey() string
func (*ResourceCreatedPayload) GetElement ¶
func (x *ResourceCreatedPayload) GetElement() *anypb.Any
func (*ResourceCreatedPayload) GetKey ¶
func (x *ResourceCreatedPayload) GetKey() string
func (*ResourceCreatedPayload) MarshalJSON ¶
func (msg *ResourceCreatedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ResourceCreatedPayload) ProtoMessage ¶
func (*ResourceCreatedPayload) ProtoMessage()
func (*ResourceCreatedPayload) ProtoReflect ¶
func (x *ResourceCreatedPayload) ProtoReflect() protoreflect.Message
func (*ResourceCreatedPayload) Reset ¶
func (x *ResourceCreatedPayload) Reset()
func (*ResourceCreatedPayload) String ¶
func (x *ResourceCreatedPayload) String() string
func (*ResourceCreatedPayload) UnmarshalJSON ¶
func (msg *ResourceCreatedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ResourceDeletedPayload ¶
type ResourceDeletedPayload struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
AdminKey string `protobuf:"bytes,2,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceDeletedPayload) Descriptor
deprecated
func (*ResourceDeletedPayload) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDeletedPayload.ProtoReflect.Descriptor instead.
func (*ResourceDeletedPayload) GetAdminKey ¶
func (x *ResourceDeletedPayload) GetAdminKey() string
func (*ResourceDeletedPayload) GetKey ¶
func (x *ResourceDeletedPayload) GetKey() string
func (*ResourceDeletedPayload) MarshalJSON ¶
func (msg *ResourceDeletedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ResourceDeletedPayload) ProtoMessage ¶
func (*ResourceDeletedPayload) ProtoMessage()
func (*ResourceDeletedPayload) ProtoReflect ¶
func (x *ResourceDeletedPayload) ProtoReflect() protoreflect.Message
func (*ResourceDeletedPayload) Reset ¶
func (x *ResourceDeletedPayload) Reset()
func (*ResourceDeletedPayload) String ¶
func (x *ResourceDeletedPayload) String() string
func (*ResourceDeletedPayload) UnmarshalJSON ¶
func (msg *ResourceDeletedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ResourceReplacedPayload ¶
type ResourceReplacedPayload struct {
Element *anypb.Any `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
AdminKey string `protobuf:"bytes,2,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceReplacedPayload) Descriptor
deprecated
func (*ResourceReplacedPayload) Descriptor() ([]byte, []int)
Deprecated: Use ResourceReplacedPayload.ProtoReflect.Descriptor instead.
func (*ResourceReplacedPayload) GetAdminKey ¶
func (x *ResourceReplacedPayload) GetAdminKey() string
func (*ResourceReplacedPayload) GetElement ¶
func (x *ResourceReplacedPayload) GetElement() *anypb.Any
func (*ResourceReplacedPayload) MarshalJSON ¶
func (msg *ResourceReplacedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ResourceReplacedPayload) ProtoMessage ¶
func (*ResourceReplacedPayload) ProtoMessage()
func (*ResourceReplacedPayload) ProtoReflect ¶
func (x *ResourceReplacedPayload) ProtoReflect() protoreflect.Message
func (*ResourceReplacedPayload) Reset ¶
func (x *ResourceReplacedPayload) Reset()
func (*ResourceReplacedPayload) String ¶
func (x *ResourceReplacedPayload) String() string
func (*ResourceReplacedPayload) UnmarshalJSON ¶
func (msg *ResourceReplacedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ResourceUpdatedPayload ¶
type ResourceUpdatedPayload struct {
Element *anypb.Any `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
AdminKey string `protobuf:"bytes,2,opt,name=admin_key,json=adminKey,proto3" json:"admin_key,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceUpdatedPayload) Descriptor
deprecated
func (*ResourceUpdatedPayload) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUpdatedPayload.ProtoReflect.Descriptor instead.
func (*ResourceUpdatedPayload) GetAdminKey ¶
func (x *ResourceUpdatedPayload) GetAdminKey() string
func (*ResourceUpdatedPayload) GetElement ¶
func (x *ResourceUpdatedPayload) GetElement() *anypb.Any
func (*ResourceUpdatedPayload) MarshalJSON ¶
func (msg *ResourceUpdatedPayload) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ResourceUpdatedPayload) ProtoMessage ¶
func (*ResourceUpdatedPayload) ProtoMessage()
func (*ResourceUpdatedPayload) ProtoReflect ¶
func (x *ResourceUpdatedPayload) ProtoReflect() protoreflect.Message
func (*ResourceUpdatedPayload) Reset ¶
func (x *ResourceUpdatedPayload) Reset()
func (*ResourceUpdatedPayload) String ¶
func (x *ResourceUpdatedPayload) String() string
func (*ResourceUpdatedPayload) UnmarshalJSON ¶
func (msg *ResourceUpdatedPayload) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler