Documentation
¶
Index ¶
- Variables
- func NewBundleServiceEndpoints() []*api.Endpoint
- func NewPermissionServiceEndpoints() []*api.Endpoint
- func NewRoleServiceEndpoints() []*api.Endpoint
- func NewValueServiceEndpoints() []*api.Endpoint
- func RegisterBundleServiceHandler(s server.Server, hdlr BundleServiceHandler, opts ...server.HandlerOption) error
- func RegisterBundleServiceWeb(r chi.Router, i BundleServiceHandler, ...)
- func RegisterPermissionServiceHandler(s server.Server, hdlr PermissionServiceHandler, opts ...server.HandlerOption) error
- func RegisterPermissionServiceWeb(r chi.Router, i PermissionServiceHandler, ...)
- func RegisterRoleServiceHandler(s server.Server, hdlr RoleServiceHandler, opts ...server.HandlerOption) error
- func RegisterRoleServiceWeb(r chi.Router, i RoleServiceHandler, ...)
- func RegisterValueServiceHandler(s server.Server, hdlr ValueServiceHandler, opts ...server.HandlerOption) error
- func RegisterValueServiceWeb(r chi.Router, i ValueServiceHandler, ...)
- type AddSettingToBundleRequest
- func (*AddSettingToBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSettingToBundleRequest) GetBundleId() string
- func (x *AddSettingToBundleRequest) GetSetting() *Setting
- func (m *AddSettingToBundleRequest) MarshalJSON() ([]byte, error)
- func (*AddSettingToBundleRequest) ProtoMessage()
- func (x *AddSettingToBundleRequest) ProtoReflect() protoreflect.Message
- func (x *AddSettingToBundleRequest) Reset()
- func (x *AddSettingToBundleRequest) String() string
- func (m *AddSettingToBundleRequest) UnmarshalJSON(b []byte) error
- type AddSettingToBundleResponse
- func (*AddSettingToBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddSettingToBundleResponse) GetSetting() *Setting
- func (m *AddSettingToBundleResponse) MarshalJSON() ([]byte, error)
- func (*AddSettingToBundleResponse) ProtoMessage()
- func (x *AddSettingToBundleResponse) ProtoReflect() protoreflect.Message
- func (x *AddSettingToBundleResponse) Reset()
- func (x *AddSettingToBundleResponse) String() string
- func (m *AddSettingToBundleResponse) UnmarshalJSON(b []byte) error
- type AssignRoleToUserRequest
- func (*AssignRoleToUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignRoleToUserRequest) GetAccountUuid() string
- func (x *AssignRoleToUserRequest) GetRoleId() string
- func (m *AssignRoleToUserRequest) MarshalJSON() ([]byte, error)
- func (*AssignRoleToUserRequest) ProtoMessage()
- func (x *AssignRoleToUserRequest) ProtoReflect() protoreflect.Message
- func (x *AssignRoleToUserRequest) Reset()
- func (x *AssignRoleToUserRequest) String() string
- func (m *AssignRoleToUserRequest) UnmarshalJSON(b []byte) error
- type AssignRoleToUserResponse
- func (*AssignRoleToUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignRoleToUserResponse) GetAssignment() *UserRoleAssignment
- func (m *AssignRoleToUserResponse) MarshalJSON() ([]byte, error)
- func (*AssignRoleToUserResponse) ProtoMessage()
- func (x *AssignRoleToUserResponse) ProtoReflect() protoreflect.Message
- func (x *AssignRoleToUserResponse) Reset()
- func (x *AssignRoleToUserResponse) String() string
- func (m *AssignRoleToUserResponse) UnmarshalJSON(b []byte) error
- type Bool
- func (*Bool) Descriptor() ([]byte, []int)deprecated
- func (x *Bool) GetDefault() bool
- func (x *Bool) GetLabel() string
- func (m *Bool) MarshalJSON() ([]byte, error)
- func (*Bool) ProtoMessage()
- func (x *Bool) ProtoReflect() protoreflect.Message
- func (x *Bool) Reset()
- func (x *Bool) String() string
- func (m *Bool) UnmarshalJSON(b []byte) error
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Bundle) GetDisplayName() string
- func (x *Bundle) GetExtension() string
- func (x *Bundle) GetId() string
- func (x *Bundle) GetName() string
- func (x *Bundle) GetResource() *Resource
- func (x *Bundle) GetSettings() []*Setting
- func (x *Bundle) GetType() Bundle_Type
- func (m *Bundle) MarshalJSON() ([]byte, error)
- func (*Bundle) ProtoMessage()
- func (x *Bundle) ProtoReflect() protoreflect.Message
- func (x *Bundle) Reset()
- func (x *Bundle) String() string
- func (m *Bundle) UnmarshalJSON(b []byte) error
- type BundleService
- type BundleServiceHandler
- type Bundle_Type
- func (Bundle_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Bundle_Type) Enum() *Bundle_Type
- func (Bundle_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Bundle_Type) Number() protoreflect.EnumNumber
- func (x Bundle_Type) String() string
- func (Bundle_Type) Type() protoreflect.EnumType
- type GetBundleRequest
- func (*GetBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBundleRequest) GetBundleId() string
- func (m *GetBundleRequest) MarshalJSON() ([]byte, error)
- func (*GetBundleRequest) ProtoMessage()
- func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBundleRequest) Reset()
- func (x *GetBundleRequest) String() string
- func (m *GetBundleRequest) UnmarshalJSON(b []byte) error
- type GetBundleResponse
- func (*GetBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBundleResponse) GetBundle() *Bundle
- func (m *GetBundleResponse) MarshalJSON() ([]byte, error)
- func (*GetBundleResponse) ProtoMessage()
- func (x *GetBundleResponse) ProtoReflect() protoreflect.Message
- func (x *GetBundleResponse) Reset()
- func (x *GetBundleResponse) String() string
- func (m *GetBundleResponse) UnmarshalJSON(b []byte) error
- type GetValueByUniqueIdentifiersRequest
- func (*GetValueByUniqueIdentifiersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueByUniqueIdentifiersRequest) GetAccountUuid() string
- func (x *GetValueByUniqueIdentifiersRequest) GetSettingId() string
- func (m *GetValueByUniqueIdentifiersRequest) MarshalJSON() ([]byte, error)
- func (*GetValueByUniqueIdentifiersRequest) ProtoMessage()
- func (x *GetValueByUniqueIdentifiersRequest) ProtoReflect() protoreflect.Message
- func (x *GetValueByUniqueIdentifiersRequest) Reset()
- func (x *GetValueByUniqueIdentifiersRequest) String() string
- func (m *GetValueByUniqueIdentifiersRequest) UnmarshalJSON(b []byte) error
- type GetValueRequest
- func (*GetValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueRequest) GetId() string
- func (m *GetValueRequest) MarshalJSON() ([]byte, error)
- func (*GetValueRequest) ProtoMessage()
- func (x *GetValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetValueRequest) Reset()
- func (x *GetValueRequest) String() string
- func (m *GetValueRequest) UnmarshalJSON(b []byte) error
- type GetValueResponse
- func (*GetValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetValueResponse) GetValue() *ValueWithIdentifier
- func (m *GetValueResponse) MarshalJSON() ([]byte, error)
- func (*GetValueResponse) ProtoMessage()
- func (x *GetValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetValueResponse) Reset()
- func (x *GetValueResponse) String() string
- func (m *GetValueResponse) UnmarshalJSON(b []byte) error
- type Identifier
- func (*Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *Identifier) GetBundle() string
- func (x *Identifier) GetExtension() string
- func (x *Identifier) GetSetting() string
- func (m *Identifier) MarshalJSON() ([]byte, error)
- func (*Identifier) ProtoMessage()
- func (x *Identifier) ProtoReflect() protoreflect.Message
- func (x *Identifier) Reset()
- func (x *Identifier) String() string
- func (m *Identifier) UnmarshalJSON(b []byte) error
- type Int
- func (*Int) Descriptor() ([]byte, []int)deprecated
- func (x *Int) GetDefault() int64
- func (x *Int) GetMax() int64
- func (x *Int) GetMin() int64
- func (x *Int) GetPlaceholder() string
- func (x *Int) GetStep() int64
- func (m *Int) MarshalJSON() ([]byte, error)
- func (*Int) ProtoMessage()
- func (x *Int) ProtoReflect() protoreflect.Message
- func (x *Int) Reset()
- func (x *Int) String() string
- func (m *Int) UnmarshalJSON(b []byte) error
- type ListBundlesRequest
- func (*ListBundlesRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ListBundlesRequest) MarshalJSON() ([]byte, error)
- func (*ListBundlesRequest) ProtoMessage()
- func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBundlesRequest) Reset()
- func (x *ListBundlesRequest) String() string
- func (m *ListBundlesRequest) UnmarshalJSON(b []byte) error
- type ListBundlesResponse
- func (*ListBundlesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBundlesResponse) GetBundles() []*Bundle
- func (m *ListBundlesResponse) MarshalJSON() ([]byte, error)
- func (*ListBundlesResponse) ProtoMessage()
- func (x *ListBundlesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBundlesResponse) Reset()
- func (x *ListBundlesResponse) String() string
- func (m *ListBundlesResponse) UnmarshalJSON(b []byte) error
- type ListOption
- func (*ListOption) Descriptor() ([]byte, []int)deprecated
- func (x *ListOption) GetDefault() bool
- func (x *ListOption) GetDisplayValue() string
- func (x *ListOption) GetValue() *ListOptionValue
- func (m *ListOption) MarshalJSON() ([]byte, error)
- func (*ListOption) ProtoMessage()
- func (x *ListOption) ProtoReflect() protoreflect.Message
- func (x *ListOption) Reset()
- func (x *ListOption) String() string
- func (m *ListOption) UnmarshalJSON(b []byte) error
- type ListOptionValue
- func (*ListOptionValue) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptionValue) GetIntValue() int64
- func (m *ListOptionValue) GetOption() isListOptionValue_Option
- func (x *ListOptionValue) GetStringValue() string
- func (m *ListOptionValue) MarshalJSON() ([]byte, error)
- func (*ListOptionValue) ProtoMessage()
- func (x *ListOptionValue) ProtoReflect() protoreflect.Message
- func (x *ListOptionValue) Reset()
- func (x *ListOptionValue) String() string
- func (m *ListOptionValue) UnmarshalJSON(b []byte) error
- type ListOptionValue_IntValue
- type ListOptionValue_StringValue
- type ListPermissionsByResourceRequest
- func (*ListPermissionsByResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsByResourceRequest) GetResource() *Resource
- func (x *ListPermissionsByResourceRequest) GetRoleIds() []string
- func (m *ListPermissionsByResourceRequest) MarshalJSON() ([]byte, error)
- func (*ListPermissionsByResourceRequest) ProtoMessage()
- func (x *ListPermissionsByResourceRequest) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsByResourceRequest) Reset()
- func (x *ListPermissionsByResourceRequest) String() string
- func (m *ListPermissionsByResourceRequest) UnmarshalJSON(b []byte) error
- type ListPermissionsByResourceResponse
- func (*ListPermissionsByResourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsByResourceResponse) GetPermissions() []*Permission
- func (m *ListPermissionsByResourceResponse) MarshalJSON() ([]byte, error)
- func (*ListPermissionsByResourceResponse) ProtoMessage()
- func (x *ListPermissionsByResourceResponse) ProtoReflect() protoreflect.Message
- func (x *ListPermissionsByResourceResponse) Reset()
- func (x *ListPermissionsByResourceResponse) String() string
- func (m *ListPermissionsByResourceResponse) UnmarshalJSON(b []byte) error
- type ListRoleAssignmentsRequest
- func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleAssignmentsRequest) GetAccountUuid() string
- func (m *ListRoleAssignmentsRequest) MarshalJSON() ([]byte, error)
- func (*ListRoleAssignmentsRequest) ProtoMessage()
- func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoleAssignmentsRequest) Reset()
- func (x *ListRoleAssignmentsRequest) String() string
- func (m *ListRoleAssignmentsRequest) UnmarshalJSON(b []byte) error
- type ListRoleAssignmentsResponse
- func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoleAssignmentsResponse) GetAssignments() []*UserRoleAssignment
- func (m *ListRoleAssignmentsResponse) MarshalJSON() ([]byte, error)
- func (*ListRoleAssignmentsResponse) ProtoMessage()
- func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoleAssignmentsResponse) Reset()
- func (x *ListRoleAssignmentsResponse) String() string
- func (m *ListRoleAssignmentsResponse) UnmarshalJSON(b []byte) error
- type ListValue
- func (*ListValue) Descriptor() ([]byte, []int)deprecated
- func (x *ListValue) GetValues() []*ListOptionValue
- func (m *ListValue) MarshalJSON() ([]byte, error)
- func (*ListValue) ProtoMessage()
- func (x *ListValue) ProtoReflect() protoreflect.Message
- func (x *ListValue) Reset()
- func (x *ListValue) String() string
- func (m *ListValue) UnmarshalJSON(b []byte) error
- type ListValuesRequest
- func (*ListValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesRequest) GetAccountUuid() string
- func (x *ListValuesRequest) GetBundleId() string
- func (m *ListValuesRequest) MarshalJSON() ([]byte, error)
- func (*ListValuesRequest) ProtoMessage()
- func (x *ListValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListValuesRequest) Reset()
- func (x *ListValuesRequest) String() string
- func (m *ListValuesRequest) UnmarshalJSON(b []byte) error
- type ListValuesResponse
- func (*ListValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListValuesResponse) GetValues() []*ValueWithIdentifier
- func (m *ListValuesResponse) MarshalJSON() ([]byte, error)
- func (*ListValuesResponse) ProtoMessage()
- func (x *ListValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListValuesResponse) Reset()
- func (x *ListValuesResponse) String() string
- func (m *ListValuesResponse) UnmarshalJSON(b []byte) error
- type MultiChoiceList
- func (*MultiChoiceList) Descriptor() ([]byte, []int)deprecated
- func (x *MultiChoiceList) GetOptions() []*ListOption
- func (m *MultiChoiceList) MarshalJSON() ([]byte, error)
- func (*MultiChoiceList) ProtoMessage()
- func (x *MultiChoiceList) ProtoReflect() protoreflect.Message
- func (x *MultiChoiceList) Reset()
- func (x *MultiChoiceList) String() string
- func (m *MultiChoiceList) UnmarshalJSON(b []byte) error
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetConstraint() Permission_Constraint
- func (x *Permission) GetOperation() Permission_Operation
- func (m *Permission) MarshalJSON() ([]byte, error)
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- func (m *Permission) UnmarshalJSON(b []byte) error
- type PermissionService
- type PermissionServiceHandler
- type Permission_Constraint
- func (Permission_Constraint) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_Constraint) Enum() *Permission_Constraint
- func (Permission_Constraint) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_Constraint) Number() protoreflect.EnumNumber
- func (x Permission_Constraint) String() string
- func (Permission_Constraint) Type() protoreflect.EnumType
- type Permission_Operation
- func (Permission_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_Operation) Enum() *Permission_Operation
- func (Permission_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_Operation) Number() protoreflect.EnumNumber
- func (x Permission_Operation) String() string
- func (Permission_Operation) Type() protoreflect.EnumType
- type RemoveRoleFromUserRequest
- func (*RemoveRoleFromUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRoleFromUserRequest) GetId() string
- func (m *RemoveRoleFromUserRequest) MarshalJSON() ([]byte, error)
- func (*RemoveRoleFromUserRequest) ProtoMessage()
- func (x *RemoveRoleFromUserRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRoleFromUserRequest) Reset()
- func (x *RemoveRoleFromUserRequest) String() string
- func (m *RemoveRoleFromUserRequest) UnmarshalJSON(b []byte) error
- type RemoveSettingFromBundleRequest
- func (*RemoveSettingFromBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveSettingFromBundleRequest) GetBundleId() string
- func (x *RemoveSettingFromBundleRequest) GetSettingId() string
- func (m *RemoveSettingFromBundleRequest) MarshalJSON() ([]byte, error)
- func (*RemoveSettingFromBundleRequest) ProtoMessage()
- func (x *RemoveSettingFromBundleRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveSettingFromBundleRequest) Reset()
- func (x *RemoveSettingFromBundleRequest) String() string
- func (m *RemoveSettingFromBundleRequest) UnmarshalJSON(b []byte) error
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetId() string
- func (x *Resource) GetType() Resource_Type
- func (m *Resource) MarshalJSON() ([]byte, error)
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) UnmarshalJSON(b []byte) error
- type Resource_Type
- func (Resource_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Resource_Type) Enum() *Resource_Type
- func (Resource_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Resource_Type) Number() protoreflect.EnumNumber
- func (x Resource_Type) String() string
- func (Resource_Type) Type() protoreflect.EnumType
- type RoleService
- type RoleServiceHandler
- type SaveBundleRequest
- func (*SaveBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveBundleRequest) GetBundle() *Bundle
- func (m *SaveBundleRequest) MarshalJSON() ([]byte, error)
- func (*SaveBundleRequest) ProtoMessage()
- func (x *SaveBundleRequest) ProtoReflect() protoreflect.Message
- func (x *SaveBundleRequest) Reset()
- func (x *SaveBundleRequest) String() string
- func (m *SaveBundleRequest) UnmarshalJSON(b []byte) error
- type SaveBundleResponse
- func (*SaveBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveBundleResponse) GetBundle() *Bundle
- func (m *SaveBundleResponse) MarshalJSON() ([]byte, error)
- func (*SaveBundleResponse) ProtoMessage()
- func (x *SaveBundleResponse) ProtoReflect() protoreflect.Message
- func (x *SaveBundleResponse) Reset()
- func (x *SaveBundleResponse) String() string
- func (m *SaveBundleResponse) UnmarshalJSON(b []byte) error
- type SaveValueRequest
- func (*SaveValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveValueRequest) GetValue() *Value
- func (m *SaveValueRequest) MarshalJSON() ([]byte, error)
- func (*SaveValueRequest) ProtoMessage()
- func (x *SaveValueRequest) ProtoReflect() protoreflect.Message
- func (x *SaveValueRequest) Reset()
- func (x *SaveValueRequest) String() string
- func (m *SaveValueRequest) UnmarshalJSON(b []byte) error
- type SaveValueResponse
- func (*SaveValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveValueResponse) GetValue() *ValueWithIdentifier
- func (m *SaveValueResponse) MarshalJSON() ([]byte, error)
- func (*SaveValueResponse) ProtoMessage()
- func (x *SaveValueResponse) ProtoReflect() protoreflect.Message
- func (x *SaveValueResponse) Reset()
- func (x *SaveValueResponse) String() string
- func (m *SaveValueResponse) UnmarshalJSON(b []byte) error
- type Setting
- func (*Setting) Descriptor() ([]byte, []int)deprecated
- func (x *Setting) GetBoolValue() *Bool
- func (x *Setting) GetDescription() string
- func (x *Setting) GetDisplayName() string
- func (x *Setting) GetId() string
- func (x *Setting) GetIntValue() *Int
- func (x *Setting) GetMultiChoiceValue() *MultiChoiceList
- func (x *Setting) GetName() string
- func (x *Setting) GetPermissionValue() *Permission
- func (x *Setting) GetResource() *Resource
- func (x *Setting) GetSingleChoiceValue() *SingleChoiceList
- func (x *Setting) GetStringValue() *String
- func (m *Setting) GetValue() isSetting_Value
- func (m *Setting) MarshalJSON() ([]byte, error)
- func (*Setting) ProtoMessage()
- func (x *Setting) ProtoReflect() protoreflect.Message
- func (x *Setting) Reset()
- func (x *Setting) String() string
- func (m *Setting) UnmarshalJSON(b []byte) error
- type Setting_BoolValue
- type Setting_IntValue
- type Setting_MultiChoiceValue
- type Setting_PermissionValue
- type Setting_SingleChoiceValue
- type Setting_StringValue
- type SingleChoiceList
- func (*SingleChoiceList) Descriptor() ([]byte, []int)deprecated
- func (x *SingleChoiceList) GetOptions() []*ListOption
- func (m *SingleChoiceList) MarshalJSON() ([]byte, error)
- func (*SingleChoiceList) ProtoMessage()
- func (x *SingleChoiceList) ProtoReflect() protoreflect.Message
- func (x *SingleChoiceList) Reset()
- func (x *SingleChoiceList) String() string
- func (m *SingleChoiceList) UnmarshalJSON(b []byte) error
- type String
- func (*String) Descriptor() ([]byte, []int)deprecated
- func (x *String) GetDefault() string
- func (x *String) GetMaxLength() int32
- func (x *String) GetMinLength() int32
- func (x *String) GetPlaceholder() string
- func (x *String) GetRequired() bool
- func (m *String) MarshalJSON() ([]byte, error)
- func (*String) ProtoMessage()
- func (x *String) ProtoReflect() protoreflect.Message
- func (x *String) Reset()
- func (x *String) String() string
- func (m *String) UnmarshalJSON(b []byte) error
- type UserRoleAssignment
- func (*UserRoleAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoleAssignment) GetAccountUuid() string
- func (x *UserRoleAssignment) GetId() string
- func (x *UserRoleAssignment) GetRoleId() string
- func (m *UserRoleAssignment) MarshalJSON() ([]byte, error)
- func (*UserRoleAssignment) ProtoMessage()
- func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message
- func (x *UserRoleAssignment) Reset()
- func (x *UserRoleAssignment) String() string
- func (m *UserRoleAssignment) UnmarshalJSON(b []byte) error
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetAccountUuid() string
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBundleId() string
- func (x *Value) GetId() string
- func (x *Value) GetIntValue() int64
- func (x *Value) GetListValue() *ListValue
- func (x *Value) GetResource() *Resource
- func (x *Value) GetSettingId() string
- func (x *Value) GetStringValue() string
- func (m *Value) GetValue() isValue_Value
- func (m *Value) MarshalJSON() ([]byte, error)
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (m *Value) UnmarshalJSON(b []byte) error
- type ValueService
- type ValueServiceHandler
- type ValueWithIdentifier
- func (*ValueWithIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *ValueWithIdentifier) GetIdentifier() *Identifier
- func (x *ValueWithIdentifier) GetValue() *Value
- func (m *ValueWithIdentifier) MarshalJSON() ([]byte, error)
- func (*ValueWithIdentifier) ProtoMessage()
- func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message
- func (x *ValueWithIdentifier) Reset()
- func (x *ValueWithIdentifier) String() string
- func (m *ValueWithIdentifier) UnmarshalJSON(b []byte) error
- type Value_BoolValue
- type Value_IntValue
- type Value_ListValue
- type Value_StringValue
Constants ¶
This section is empty.
Variables ¶
var ( Resource_Type_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "TYPE_SYSTEM", 2: "TYPE_FILE", 3: "TYPE_SHARE", 4: "TYPE_SETTING", 5: "TYPE_BUNDLE", 6: "TYPE_USER", 7: "TYPE_GROUP", } Resource_Type_value = map[string]int32{ "TYPE_UNKNOWN": 0, "TYPE_SYSTEM": 1, "TYPE_FILE": 2, "TYPE_SHARE": 3, "TYPE_SETTING": 4, "TYPE_BUNDLE": 5, "TYPE_USER": 6, "TYPE_GROUP": 7, } )
Enum value maps for Resource_Type.
var ( Bundle_Type_name = map[int32]string{ 0: "TYPE_UNKNOWN", 1: "TYPE_DEFAULT", 2: "TYPE_ROLE", } Bundle_Type_value = map[string]int32{ "TYPE_UNKNOWN": 0, "TYPE_DEFAULT": 1, "TYPE_ROLE": 2, } )
Enum value maps for Bundle_Type.
var ( Permission_Operation_name = map[int32]string{ 0: "OPERATION_UNKNOWN", 1: "OPERATION_CREATE", 2: "OPERATION_READ", 3: "OPERATION_UPDATE", 4: "OPERATION_DELETE", 5: "OPERATION_WRITE", 6: "OPERATION_READWRITE", } Permission_Operation_value = map[string]int32{ "OPERATION_UNKNOWN": 0, "OPERATION_CREATE": 1, "OPERATION_READ": 2, "OPERATION_UPDATE": 3, "OPERATION_DELETE": 4, "OPERATION_WRITE": 5, "OPERATION_READWRITE": 6, } )
Enum value maps for Permission_Operation.
var ( Permission_Constraint_name = map[int32]string{ 0: "CONSTRAINT_UNKNOWN", 1: "CONSTRAINT_OWN", 2: "CONSTRAINT_SHARED", 3: "CONSTRAINT_ALL", } Permission_Constraint_value = map[string]int32{ "CONSTRAINT_UNKNOWN": 0, "CONSTRAINT_OWN": 1, "CONSTRAINT_SHARED": 2, "CONSTRAINT_ALL": 3, } )
Enum value maps for Permission_Constraint.
var AddSettingToBundleRequestJSONMarshaler = new(jsonpb.Marshaler)
AddSettingToBundleRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of AddSettingToBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var AddSettingToBundleRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
AddSettingToBundleRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of AddSettingToBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var AddSettingToBundleResponseJSONMarshaler = new(jsonpb.Marshaler)
AddSettingToBundleResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of AddSettingToBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var AddSettingToBundleResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
AddSettingToBundleResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of AddSettingToBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var AssignRoleToUserRequestJSONMarshaler = new(jsonpb.Marshaler)
AssignRoleToUserRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of AssignRoleToUserRequest. This struct is safe to replace or modify but should not be done so concurrently.
var AssignRoleToUserRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
AssignRoleToUserRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of AssignRoleToUserRequest. This struct is safe to replace or modify but should not be done so concurrently.
var AssignRoleToUserResponseJSONMarshaler = new(jsonpb.Marshaler)
AssignRoleToUserResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of AssignRoleToUserResponse. This struct is safe to replace or modify but should not be done so concurrently.
var AssignRoleToUserResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
AssignRoleToUserResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of AssignRoleToUserResponse. This struct is safe to replace or modify but should not be done so concurrently.
var BoolJSONMarshaler = new(jsonpb.Marshaler)
BoolJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Bool. This struct is safe to replace or modify but should not be done so concurrently.
var BoolJSONUnmarshaler = new(jsonpb.Unmarshaler)
BoolJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Bool. This struct is safe to replace or modify but should not be done so concurrently.
var BundleJSONMarshaler = new(jsonpb.Marshaler)
BundleJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Bundle. This struct is safe to replace or modify but should not be done so concurrently.
var BundleJSONUnmarshaler = new(jsonpb.Unmarshaler)
BundleJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Bundle. This struct is safe to replace or modify but should not be done so concurrently.
var File_settings_proto protoreflect.FileDescriptor
var GetBundleRequestJSONMarshaler = new(jsonpb.Marshaler)
GetBundleRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetBundleRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetBundleRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetBundleResponseJSONMarshaler = new(jsonpb.Marshaler)
GetBundleResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var GetBundleResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetBundleResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueByUniqueIdentifiersRequestJSONMarshaler = new(jsonpb.Marshaler)
GetValueByUniqueIdentifiersRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetValueByUniqueIdentifiersRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueByUniqueIdentifiersRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetValueByUniqueIdentifiersRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetValueByUniqueIdentifiersRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueRequestJSONMarshaler = new(jsonpb.Marshaler)
GetValueRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetValueRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetValueRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetValueRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueResponseJSONMarshaler = new(jsonpb.Marshaler)
GetValueResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetValueResponse. This struct is safe to replace or modify but should not be done so concurrently.
var GetValueResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetValueResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetValueResponse. This struct is safe to replace or modify but should not be done so concurrently.
var IdentifierJSONMarshaler = new(jsonpb.Marshaler)
IdentifierJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Identifier. This struct is safe to replace or modify but should not be done so concurrently.
var IdentifierJSONUnmarshaler = new(jsonpb.Unmarshaler)
IdentifierJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Identifier. This struct is safe to replace or modify but should not be done so concurrently.
var IntJSONMarshaler = new(jsonpb.Marshaler)
IntJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Int. This struct is safe to replace or modify but should not be done so concurrently.
var IntJSONUnmarshaler = new(jsonpb.Unmarshaler)
IntJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Int. This struct is safe to replace or modify but should not be done so concurrently.
var ListBundlesRequestJSONMarshaler = new(jsonpb.Marshaler)
ListBundlesRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListBundlesRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListBundlesRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListBundlesRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListBundlesRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListBundlesResponseJSONMarshaler = new(jsonpb.Marshaler)
ListBundlesResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListBundlesResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListBundlesResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListBundlesResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListBundlesResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListOptionJSONMarshaler = new(jsonpb.Marshaler)
ListOptionJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListOption. This struct is safe to replace or modify but should not be done so concurrently.
var ListOptionJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListOptionJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListOption. This struct is safe to replace or modify but should not be done so concurrently.
var ListOptionValueJSONMarshaler = new(jsonpb.Marshaler)
ListOptionValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListOptionValue. This struct is safe to replace or modify but should not be done so concurrently.
var ListOptionValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListOptionValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListOptionValue. This struct is safe to replace or modify but should not be done so concurrently.
var ListPermissionsByResourceRequestJSONMarshaler = new(jsonpb.Marshaler)
ListPermissionsByResourceRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListPermissionsByResourceRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListPermissionsByResourceRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListPermissionsByResourceRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListPermissionsByResourceRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListPermissionsByResourceResponseJSONMarshaler = new(jsonpb.Marshaler)
ListPermissionsByResourceResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListPermissionsByResourceResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListPermissionsByResourceResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListPermissionsByResourceResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListPermissionsByResourceResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListRoleAssignmentsRequestJSONMarshaler = new(jsonpb.Marshaler)
ListRoleAssignmentsRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListRoleAssignmentsRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListRoleAssignmentsRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListRoleAssignmentsRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListRoleAssignmentsRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListRoleAssignmentsResponseJSONMarshaler = new(jsonpb.Marshaler)
ListRoleAssignmentsResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListRoleAssignmentsResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListRoleAssignmentsResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListRoleAssignmentsResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListRoleAssignmentsResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListValueJSONMarshaler = new(jsonpb.Marshaler)
ListValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListValue. This struct is safe to replace or modify but should not be done so concurrently.
var ListValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListValue. This struct is safe to replace or modify but should not be done so concurrently.
var ListValuesRequestJSONMarshaler = new(jsonpb.Marshaler)
ListValuesRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListValuesRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListValuesRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListValuesRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListValuesRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ListValuesResponseJSONMarshaler = new(jsonpb.Marshaler)
ListValuesResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ListValuesResponse. This struct is safe to replace or modify but should not be done so concurrently.
var ListValuesResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
ListValuesResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ListValuesResponse. This struct is safe to replace or modify but should not be done so concurrently.
var MultiChoiceListJSONMarshaler = new(jsonpb.Marshaler)
MultiChoiceListJSONMarshaler describes the default jsonpb.Marshaler used by all instances of MultiChoiceList. This struct is safe to replace or modify but should not be done so concurrently.
var MultiChoiceListJSONUnmarshaler = new(jsonpb.Unmarshaler)
MultiChoiceListJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of MultiChoiceList. This struct is safe to replace or modify but should not be done so concurrently.
var PermissionJSONMarshaler = new(jsonpb.Marshaler)
PermissionJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Permission. This struct is safe to replace or modify but should not be done so concurrently.
var PermissionJSONUnmarshaler = new(jsonpb.Unmarshaler)
PermissionJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Permission. This struct is safe to replace or modify but should not be done so concurrently.
var RemoveRoleFromUserRequestJSONMarshaler = new(jsonpb.Marshaler)
RemoveRoleFromUserRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of RemoveRoleFromUserRequest. This struct is safe to replace or modify but should not be done so concurrently.
var RemoveRoleFromUserRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
RemoveRoleFromUserRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of RemoveRoleFromUserRequest. This struct is safe to replace or modify but should not be done so concurrently.
var RemoveSettingFromBundleRequestJSONMarshaler = new(jsonpb.Marshaler)
RemoveSettingFromBundleRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of RemoveSettingFromBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var RemoveSettingFromBundleRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
RemoveSettingFromBundleRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of RemoveSettingFromBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var ResourceJSONMarshaler = new(jsonpb.Marshaler)
ResourceJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Resource. This struct is safe to replace or modify but should not be done so concurrently.
var ResourceJSONUnmarshaler = new(jsonpb.Unmarshaler)
ResourceJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Resource. This struct is safe to replace or modify but should not be done so concurrently.
var SaveBundleRequestJSONMarshaler = new(jsonpb.Marshaler)
SaveBundleRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SaveBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var SaveBundleRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
SaveBundleRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SaveBundleRequest. This struct is safe to replace or modify but should not be done so concurrently.
var SaveBundleResponseJSONMarshaler = new(jsonpb.Marshaler)
SaveBundleResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SaveBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var SaveBundleResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
SaveBundleResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SaveBundleResponse. This struct is safe to replace or modify but should not be done so concurrently.
var SaveValueRequestJSONMarshaler = new(jsonpb.Marshaler)
SaveValueRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SaveValueRequest. This struct is safe to replace or modify but should not be done so concurrently.
var SaveValueRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
SaveValueRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SaveValueRequest. This struct is safe to replace or modify but should not be done so concurrently.
var SaveValueResponseJSONMarshaler = new(jsonpb.Marshaler)
SaveValueResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SaveValueResponse. This struct is safe to replace or modify but should not be done so concurrently.
var SaveValueResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
SaveValueResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SaveValueResponse. This struct is safe to replace or modify but should not be done so concurrently.
var SettingJSONMarshaler = new(jsonpb.Marshaler)
SettingJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Setting. This struct is safe to replace or modify but should not be done so concurrently.
var SettingJSONUnmarshaler = new(jsonpb.Unmarshaler)
SettingJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Setting. This struct is safe to replace or modify but should not be done so concurrently.
var SingleChoiceListJSONMarshaler = new(jsonpb.Marshaler)
SingleChoiceListJSONMarshaler describes the default jsonpb.Marshaler used by all instances of SingleChoiceList. This struct is safe to replace or modify but should not be done so concurrently.
var SingleChoiceListJSONUnmarshaler = new(jsonpb.Unmarshaler)
SingleChoiceListJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of SingleChoiceList. This struct is safe to replace or modify but should not be done so concurrently.
var StringJSONMarshaler = new(jsonpb.Marshaler)
StringJSONMarshaler describes the default jsonpb.Marshaler used by all instances of String. This struct is safe to replace or modify but should not be done so concurrently.
var StringJSONUnmarshaler = new(jsonpb.Unmarshaler)
StringJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of String. This struct is safe to replace or modify but should not be done so concurrently.
var UserRoleAssignmentJSONMarshaler = new(jsonpb.Marshaler)
UserRoleAssignmentJSONMarshaler describes the default jsonpb.Marshaler used by all instances of UserRoleAssignment. This struct is safe to replace or modify but should not be done so concurrently.
var UserRoleAssignmentJSONUnmarshaler = new(jsonpb.Unmarshaler)
UserRoleAssignmentJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of UserRoleAssignment. This struct is safe to replace or modify but should not be done so concurrently.
var ValueJSONMarshaler = new(jsonpb.Marshaler)
ValueJSONMarshaler describes the default jsonpb.Marshaler used by all instances of Value. This struct is safe to replace or modify but should not be done so concurrently.
var ValueJSONUnmarshaler = new(jsonpb.Unmarshaler)
ValueJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of Value. This struct is safe to replace or modify but should not be done so concurrently.
var ValueWithIdentifierJSONMarshaler = new(jsonpb.Marshaler)
ValueWithIdentifierJSONMarshaler describes the default jsonpb.Marshaler used by all instances of ValueWithIdentifier. This struct is safe to replace or modify but should not be done so concurrently.
var ValueWithIdentifierJSONUnmarshaler = new(jsonpb.Unmarshaler)
ValueWithIdentifierJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of ValueWithIdentifier. This struct is safe to replace or modify but should not be done so concurrently.
Functions ¶
func NewPermissionServiceEndpoints ¶ added in v0.3.0
func NewRoleServiceEndpoints ¶ added in v0.2.0
func RegisterBundleServiceHandler ¶
func RegisterBundleServiceHandler(s server.Server, hdlr BundleServiceHandler, opts ...server.HandlerOption) error
func RegisterPermissionServiceHandler ¶ added in v0.3.0
func RegisterPermissionServiceHandler(s server.Server, hdlr PermissionServiceHandler, opts ...server.HandlerOption) error
func RegisterPermissionServiceWeb ¶ added in v0.3.0
func RegisterRoleServiceHandler ¶ added in v0.2.0
func RegisterRoleServiceHandler(s server.Server, hdlr RoleServiceHandler, opts ...server.HandlerOption) error
func RegisterRoleServiceWeb ¶ added in v0.2.0
func RegisterValueServiceHandler ¶
func RegisterValueServiceHandler(s server.Server, hdlr ValueServiceHandler, opts ...server.HandlerOption) error
func RegisterValueServiceWeb ¶
Types ¶
type AddSettingToBundleRequest ¶ added in v0.2.0
type AddSettingToBundleRequest struct {
BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
Setting *Setting `protobuf:"bytes,2,opt,name=setting,proto3" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*AddSettingToBundleRequest) Descriptor
deprecated
added in
v0.2.0
func (*AddSettingToBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSettingToBundleRequest.ProtoReflect.Descriptor instead.
func (*AddSettingToBundleRequest) GetBundleId ¶ added in v0.2.0
func (x *AddSettingToBundleRequest) GetBundleId() string
func (*AddSettingToBundleRequest) GetSetting ¶ added in v0.2.0
func (x *AddSettingToBundleRequest) GetSetting() *Setting
func (*AddSettingToBundleRequest) MarshalJSON ¶ added in v0.2.0
func (m *AddSettingToBundleRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*AddSettingToBundleRequest) ProtoMessage ¶ added in v0.2.0
func (*AddSettingToBundleRequest) ProtoMessage()
func (*AddSettingToBundleRequest) ProtoReflect ¶ added in v0.2.0
func (x *AddSettingToBundleRequest) ProtoReflect() protoreflect.Message
func (*AddSettingToBundleRequest) Reset ¶ added in v0.2.0
func (x *AddSettingToBundleRequest) Reset()
func (*AddSettingToBundleRequest) String ¶ added in v0.2.0
func (x *AddSettingToBundleRequest) String() string
func (*AddSettingToBundleRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *AddSettingToBundleRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type AddSettingToBundleResponse ¶ added in v0.2.0
type AddSettingToBundleResponse struct {
Setting *Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*AddSettingToBundleResponse) Descriptor
deprecated
added in
v0.2.0
func (*AddSettingToBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddSettingToBundleResponse.ProtoReflect.Descriptor instead.
func (*AddSettingToBundleResponse) GetSetting ¶ added in v0.2.0
func (x *AddSettingToBundleResponse) GetSetting() *Setting
func (*AddSettingToBundleResponse) MarshalJSON ¶ added in v0.2.0
func (m *AddSettingToBundleResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*AddSettingToBundleResponse) ProtoMessage ¶ added in v0.2.0
func (*AddSettingToBundleResponse) ProtoMessage()
func (*AddSettingToBundleResponse) ProtoReflect ¶ added in v0.2.0
func (x *AddSettingToBundleResponse) ProtoReflect() protoreflect.Message
func (*AddSettingToBundleResponse) Reset ¶ added in v0.2.0
func (x *AddSettingToBundleResponse) Reset()
func (*AddSettingToBundleResponse) String ¶ added in v0.2.0
func (x *AddSettingToBundleResponse) String() string
func (*AddSettingToBundleResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *AddSettingToBundleResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type AssignRoleToUserRequest ¶ added in v0.2.0
type AssignRoleToUserRequest struct {
AccountUuid string `protobuf:"bytes,1,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
// the role_id is a bundle_id internally
RoleId string `protobuf:"bytes,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// contains filtered or unexported fields
}
func (*AssignRoleToUserRequest) Descriptor
deprecated
added in
v0.2.0
func (*AssignRoleToUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleToUserRequest.ProtoReflect.Descriptor instead.
func (*AssignRoleToUserRequest) GetAccountUuid ¶ added in v0.2.0
func (x *AssignRoleToUserRequest) GetAccountUuid() string
func (*AssignRoleToUserRequest) GetRoleId ¶ added in v0.2.0
func (x *AssignRoleToUserRequest) GetRoleId() string
func (*AssignRoleToUserRequest) MarshalJSON ¶ added in v0.2.0
func (m *AssignRoleToUserRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*AssignRoleToUserRequest) ProtoMessage ¶ added in v0.2.0
func (*AssignRoleToUserRequest) ProtoMessage()
func (*AssignRoleToUserRequest) ProtoReflect ¶ added in v0.2.0
func (x *AssignRoleToUserRequest) ProtoReflect() protoreflect.Message
func (*AssignRoleToUserRequest) Reset ¶ added in v0.2.0
func (x *AssignRoleToUserRequest) Reset()
func (*AssignRoleToUserRequest) String ¶ added in v0.2.0
func (x *AssignRoleToUserRequest) String() string
func (*AssignRoleToUserRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *AssignRoleToUserRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type AssignRoleToUserResponse ¶ added in v0.2.0
type AssignRoleToUserResponse struct {
Assignment *UserRoleAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"`
// contains filtered or unexported fields
}
func (*AssignRoleToUserResponse) Descriptor
deprecated
added in
v0.2.0
func (*AssignRoleToUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleToUserResponse.ProtoReflect.Descriptor instead.
func (*AssignRoleToUserResponse) GetAssignment ¶ added in v0.2.0
func (x *AssignRoleToUserResponse) GetAssignment() *UserRoleAssignment
func (*AssignRoleToUserResponse) MarshalJSON ¶ added in v0.2.0
func (m *AssignRoleToUserResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*AssignRoleToUserResponse) ProtoMessage ¶ added in v0.2.0
func (*AssignRoleToUserResponse) ProtoMessage()
func (*AssignRoleToUserResponse) ProtoReflect ¶ added in v0.2.0
func (x *AssignRoleToUserResponse) ProtoReflect() protoreflect.Message
func (*AssignRoleToUserResponse) Reset ¶ added in v0.2.0
func (x *AssignRoleToUserResponse) Reset()
func (*AssignRoleToUserResponse) String ¶ added in v0.2.0
func (x *AssignRoleToUserResponse) String() string
func (*AssignRoleToUserResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *AssignRoleToUserResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Bool ¶ added in v0.2.0
type Bool struct {
Default bool `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
func (*Bool) Descriptor
deprecated
added in
v0.2.0
func (*Bool) GetDefault ¶ added in v0.2.0
func (*Bool) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Bool) ProtoMessage ¶ added in v0.2.0
func (*Bool) ProtoMessage()
func (*Bool) ProtoReflect ¶ added in v0.2.0
func (x *Bool) ProtoReflect() protoreflect.Message
func (*Bool) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Bundle ¶ added in v0.2.0
type Bundle struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Type Bundle_Type `protobuf:"varint,3,opt,name=type,proto3,enum=proto.Bundle_Type" json:"type,omitempty"`
Extension string `protobuf:"bytes,4,opt,name=extension,proto3" json:"extension,omitempty"`
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Settings []*Setting `protobuf:"bytes,6,rep,name=settings,proto3" json:"settings,omitempty"`
Resource *Resource `protobuf:"bytes,7,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
func (*Bundle) Descriptor
deprecated
added in
v0.2.0
func (*Bundle) GetDisplayName ¶ added in v0.2.0
func (*Bundle) GetExtension ¶ added in v0.2.0
func (*Bundle) GetResource ¶ added in v0.2.0
func (*Bundle) GetSettings ¶ added in v0.2.0
func (*Bundle) GetType ¶ added in v0.2.0
func (x *Bundle) GetType() Bundle_Type
func (*Bundle) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Bundle) ProtoMessage ¶ added in v0.2.0
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶ added in v0.2.0
func (x *Bundle) ProtoReflect() protoreflect.Message
func (*Bundle) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type BundleService ¶
type BundleService interface {
SaveBundle(ctx context.Context, in *SaveBundleRequest, opts ...client.CallOption) (*SaveBundleResponse, error)
GetBundle(ctx context.Context, in *GetBundleRequest, opts ...client.CallOption) (*GetBundleResponse, error)
ListBundles(ctx context.Context, in *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
AddSettingToBundle(ctx context.Context, in *AddSettingToBundleRequest, opts ...client.CallOption) (*AddSettingToBundleResponse, error)
RemoveSettingFromBundle(ctx context.Context, in *RemoveSettingFromBundleRequest, opts ...client.CallOption) (*empty.Empty, error)
}
func NewBundleService ¶
func NewBundleService(name string, c client.Client) BundleService
type BundleServiceHandler ¶
type BundleServiceHandler interface {
SaveBundle(context.Context, *SaveBundleRequest, *SaveBundleResponse) error
GetBundle(context.Context, *GetBundleRequest, *GetBundleResponse) error
ListBundles(context.Context, *ListBundlesRequest, *ListBundlesResponse) error
AddSettingToBundle(context.Context, *AddSettingToBundleRequest, *AddSettingToBundleResponse) error
RemoveSettingFromBundle(context.Context, *RemoveSettingFromBundleRequest, *empty.Empty) error
}
type Bundle_Type ¶ added in v0.2.0
type Bundle_Type int32
const ( Bundle_TYPE_UNKNOWN Bundle_Type = 0 Bundle_TYPE_DEFAULT Bundle_Type = 1 Bundle_TYPE_ROLE Bundle_Type = 2 )
func (Bundle_Type) Descriptor ¶ added in v0.2.0
func (Bundle_Type) Descriptor() protoreflect.EnumDescriptor
func (Bundle_Type) Enum ¶ added in v0.2.0
func (x Bundle_Type) Enum() *Bundle_Type
func (Bundle_Type) EnumDescriptor
deprecated
added in
v0.2.0
func (Bundle_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Bundle_Type.Descriptor instead.
func (Bundle_Type) Number ¶ added in v0.2.0
func (x Bundle_Type) Number() protoreflect.EnumNumber
func (Bundle_Type) String ¶ added in v0.2.0
func (x Bundle_Type) String() string
func (Bundle_Type) Type ¶ added in v0.2.0
func (Bundle_Type) Type() protoreflect.EnumType
type GetBundleRequest ¶ added in v0.2.0
type GetBundleRequest struct {
BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetBundleRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.
func (*GetBundleRequest) GetBundleId ¶ added in v0.2.0
func (x *GetBundleRequest) GetBundleId() string
func (*GetBundleRequest) MarshalJSON ¶ added in v0.2.0
func (m *GetBundleRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetBundleRequest) ProtoMessage ¶ added in v0.2.0
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
func (*GetBundleRequest) Reset ¶ added in v0.2.0
func (x *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶ added in v0.2.0
func (x *GetBundleRequest) String() string
func (*GetBundleRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *GetBundleRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type GetBundleResponse ¶ added in v0.2.0
type GetBundleResponse struct {
Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*GetBundleResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleResponse.ProtoReflect.Descriptor instead.
func (*GetBundleResponse) GetBundle ¶ added in v0.2.0
func (x *GetBundleResponse) GetBundle() *Bundle
func (*GetBundleResponse) MarshalJSON ¶ added in v0.2.0
func (m *GetBundleResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetBundleResponse) ProtoMessage ¶ added in v0.2.0
func (*GetBundleResponse) ProtoMessage()
func (*GetBundleResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetBundleResponse) ProtoReflect() protoreflect.Message
func (*GetBundleResponse) Reset ¶ added in v0.2.0
func (x *GetBundleResponse) Reset()
func (*GetBundleResponse) String ¶ added in v0.2.0
func (x *GetBundleResponse) String() string
func (*GetBundleResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *GetBundleResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type GetValueByUniqueIdentifiersRequest ¶ added in v0.2.0
type GetValueByUniqueIdentifiersRequest struct {
AccountUuid string `protobuf:"bytes,1,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
SettingId string `protobuf:"bytes,2,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetValueByUniqueIdentifiersRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetValueByUniqueIdentifiersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueByUniqueIdentifiersRequest.ProtoReflect.Descriptor instead.
func (*GetValueByUniqueIdentifiersRequest) GetAccountUuid ¶ added in v0.2.0
func (x *GetValueByUniqueIdentifiersRequest) GetAccountUuid() string
func (*GetValueByUniqueIdentifiersRequest) GetSettingId ¶ added in v0.2.0
func (x *GetValueByUniqueIdentifiersRequest) GetSettingId() string
func (*GetValueByUniqueIdentifiersRequest) MarshalJSON ¶ added in v0.2.0
func (m *GetValueByUniqueIdentifiersRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetValueByUniqueIdentifiersRequest) ProtoMessage ¶ added in v0.2.0
func (*GetValueByUniqueIdentifiersRequest) ProtoMessage()
func (*GetValueByUniqueIdentifiersRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetValueByUniqueIdentifiersRequest) ProtoReflect() protoreflect.Message
func (*GetValueByUniqueIdentifiersRequest) Reset ¶ added in v0.2.0
func (x *GetValueByUniqueIdentifiersRequest) Reset()
func (*GetValueByUniqueIdentifiersRequest) String ¶ added in v0.2.0
func (x *GetValueByUniqueIdentifiersRequest) String() string
func (*GetValueByUniqueIdentifiersRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *GetValueByUniqueIdentifiersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type GetValueRequest ¶ added in v0.2.0
type GetValueRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetValueRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.
func (*GetValueRequest) GetId ¶ added in v0.2.0
func (x *GetValueRequest) GetId() string
func (*GetValueRequest) MarshalJSON ¶ added in v0.2.0
func (m *GetValueRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetValueRequest) ProtoMessage ¶ added in v0.2.0
func (*GetValueRequest) ProtoMessage()
func (*GetValueRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetValueRequest) ProtoReflect() protoreflect.Message
func (*GetValueRequest) Reset ¶ added in v0.2.0
func (x *GetValueRequest) Reset()
func (*GetValueRequest) String ¶ added in v0.2.0
func (x *GetValueRequest) String() string
func (*GetValueRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *GetValueRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type GetValueResponse ¶ added in v0.2.0
type GetValueResponse struct {
Value *ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GetValueResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
func (*GetValueResponse) GetValue ¶ added in v0.2.0
func (x *GetValueResponse) GetValue() *ValueWithIdentifier
func (*GetValueResponse) MarshalJSON ¶ added in v0.2.0
func (m *GetValueResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetValueResponse) ProtoMessage ¶ added in v0.2.0
func (*GetValueResponse) ProtoMessage()
func (*GetValueResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetValueResponse) ProtoReflect() protoreflect.Message
func (*GetValueResponse) Reset ¶ added in v0.2.0
func (x *GetValueResponse) Reset()
func (*GetValueResponse) String ¶ added in v0.2.0
func (x *GetValueResponse) String() string
func (*GetValueResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *GetValueResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Identifier ¶
type Identifier struct {
Extension string `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"`
Bundle string `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"`
Setting string `protobuf:"bytes,3,opt,name=setting,proto3" json:"setting,omitempty"`
// contains filtered or unexported fields
}
func (*Identifier) Descriptor
deprecated
func (*Identifier) Descriptor() ([]byte, []int)
Deprecated: Use Identifier.ProtoReflect.Descriptor instead.
func (*Identifier) GetBundle ¶ added in v0.2.0
func (x *Identifier) GetBundle() string
func (*Identifier) GetExtension ¶
func (x *Identifier) GetExtension() string
func (*Identifier) GetSetting ¶ added in v0.2.0
func (x *Identifier) GetSetting() string
func (*Identifier) MarshalJSON ¶
func (m *Identifier) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Identifier) ProtoMessage ¶
func (*Identifier) ProtoMessage()
func (*Identifier) ProtoReflect ¶
func (x *Identifier) ProtoReflect() protoreflect.Message
func (*Identifier) Reset ¶
func (x *Identifier) Reset()
func (*Identifier) String ¶
func (x *Identifier) String() string
func (*Identifier) UnmarshalJSON ¶
func (m *Identifier) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Int ¶ added in v0.2.0
type Int struct {
Default int64 `protobuf:"varint,1,opt,name=default,proto3" json:"default,omitempty"`
Min int64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"`
Max int64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"`
Step int64 `protobuf:"varint,4,opt,name=step,proto3" json:"step,omitempty"`
Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
// contains filtered or unexported fields
}
func (*Int) Descriptor
deprecated
added in
v0.2.0
func (*Int) GetDefault ¶ added in v0.2.0
func (*Int) GetPlaceholder ¶ added in v0.2.0
func (*Int) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Int) ProtoMessage ¶ added in v0.2.0
func (*Int) ProtoMessage()
func (*Int) ProtoReflect ¶ added in v0.2.0
func (x *Int) ProtoReflect() protoreflect.Message
func (*Int) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListBundlesRequest ¶ added in v0.2.0
type ListBundlesRequest struct {
// contains filtered or unexported fields
}
func (*ListBundlesRequest) Descriptor
deprecated
added in
v0.2.0
func (*ListBundlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBundlesRequest.ProtoReflect.Descriptor instead.
func (*ListBundlesRequest) MarshalJSON ¶ added in v0.2.0
func (m *ListBundlesRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListBundlesRequest) ProtoMessage ¶ added in v0.2.0
func (*ListBundlesRequest) ProtoMessage()
func (*ListBundlesRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message
func (*ListBundlesRequest) Reset ¶ added in v0.2.0
func (x *ListBundlesRequest) Reset()
func (*ListBundlesRequest) String ¶ added in v0.2.0
func (x *ListBundlesRequest) String() string
func (*ListBundlesRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *ListBundlesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListBundlesResponse ¶ added in v0.2.0
type ListBundlesResponse struct {
Bundles []*Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"`
// contains filtered or unexported fields
}
func (*ListBundlesResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListBundlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBundlesResponse.ProtoReflect.Descriptor instead.
func (*ListBundlesResponse) GetBundles ¶ added in v0.2.0
func (x *ListBundlesResponse) GetBundles() []*Bundle
func (*ListBundlesResponse) MarshalJSON ¶ added in v0.2.0
func (m *ListBundlesResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListBundlesResponse) ProtoMessage ¶ added in v0.2.0
func (*ListBundlesResponse) ProtoMessage()
func (*ListBundlesResponse) ProtoReflect ¶ added in v0.2.0
func (x *ListBundlesResponse) ProtoReflect() protoreflect.Message
func (*ListBundlesResponse) Reset ¶ added in v0.2.0
func (x *ListBundlesResponse) Reset()
func (*ListBundlesResponse) String ¶ added in v0.2.0
func (x *ListBundlesResponse) String() string
func (*ListBundlesResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *ListBundlesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListOption ¶
type ListOption struct {
Value *ListOptionValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"`
DisplayValue string `protobuf:"bytes,3,opt,name=display_value,json=displayValue,proto3" json:"display_value,omitempty"`
// contains filtered or unexported fields
}
func (*ListOption) Descriptor
deprecated
func (*ListOption) Descriptor() ([]byte, []int)
Deprecated: Use ListOption.ProtoReflect.Descriptor instead.
func (*ListOption) GetDefault ¶
func (x *ListOption) GetDefault() bool
func (*ListOption) GetDisplayValue ¶
func (x *ListOption) GetDisplayValue() string
func (*ListOption) GetValue ¶
func (x *ListOption) GetValue() *ListOptionValue
func (*ListOption) MarshalJSON ¶
func (m *ListOption) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListOption) ProtoMessage ¶
func (*ListOption) ProtoMessage()
func (*ListOption) ProtoReflect ¶
func (x *ListOption) ProtoReflect() protoreflect.Message
func (*ListOption) Reset ¶
func (x *ListOption) Reset()
func (*ListOption) String ¶
func (x *ListOption) String() string
func (*ListOption) UnmarshalJSON ¶
func (m *ListOption) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListOptionValue ¶
type ListOptionValue struct {
// Types that are assignable to Option:
// *ListOptionValue_StringValue
// *ListOptionValue_IntValue
Option isListOptionValue_Option `protobuf_oneof:"option"`
// contains filtered or unexported fields
}
func (*ListOptionValue) Descriptor
deprecated
func (*ListOptionValue) Descriptor() ([]byte, []int)
Deprecated: Use ListOptionValue.ProtoReflect.Descriptor instead.
func (*ListOptionValue) GetIntValue ¶
func (x *ListOptionValue) GetIntValue() int64
func (*ListOptionValue) GetOption ¶
func (m *ListOptionValue) GetOption() isListOptionValue_Option
func (*ListOptionValue) GetStringValue ¶
func (x *ListOptionValue) GetStringValue() string
func (*ListOptionValue) MarshalJSON ¶
func (m *ListOptionValue) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListOptionValue) ProtoMessage ¶
func (*ListOptionValue) ProtoMessage()
func (*ListOptionValue) ProtoReflect ¶
func (x *ListOptionValue) ProtoReflect() protoreflect.Message
func (*ListOptionValue) Reset ¶
func (x *ListOptionValue) Reset()
func (*ListOptionValue) String ¶
func (x *ListOptionValue) String() string
func (*ListOptionValue) UnmarshalJSON ¶
func (m *ListOptionValue) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListOptionValue_IntValue ¶
type ListOptionValue_IntValue struct {
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
type ListOptionValue_StringValue ¶
type ListOptionValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type ListPermissionsByResourceRequest ¶ added in v0.3.0
type ListPermissionsByResourceRequest struct {
Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
RoleIds []string `protobuf:"bytes,2,rep,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
// contains filtered or unexported fields
}
func (*ListPermissionsByResourceRequest) Descriptor
deprecated
added in
v0.3.0
func (*ListPermissionsByResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsByResourceRequest.ProtoReflect.Descriptor instead.
func (*ListPermissionsByResourceRequest) GetResource ¶ added in v0.3.0
func (x *ListPermissionsByResourceRequest) GetResource() *Resource
func (*ListPermissionsByResourceRequest) GetRoleIds ¶ added in v0.3.0
func (x *ListPermissionsByResourceRequest) GetRoleIds() []string
func (*ListPermissionsByResourceRequest) MarshalJSON ¶ added in v0.3.0
func (m *ListPermissionsByResourceRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListPermissionsByResourceRequest) ProtoMessage ¶ added in v0.3.0
func (*ListPermissionsByResourceRequest) ProtoMessage()
func (*ListPermissionsByResourceRequest) ProtoReflect ¶ added in v0.3.0
func (x *ListPermissionsByResourceRequest) ProtoReflect() protoreflect.Message
func (*ListPermissionsByResourceRequest) Reset ¶ added in v0.3.0
func (x *ListPermissionsByResourceRequest) Reset()
func (*ListPermissionsByResourceRequest) String ¶ added in v0.3.0
func (x *ListPermissionsByResourceRequest) String() string
func (*ListPermissionsByResourceRequest) UnmarshalJSON ¶ added in v0.3.0
func (m *ListPermissionsByResourceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListPermissionsByResourceResponse ¶ added in v0.3.0
type ListPermissionsByResourceResponse struct {
Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
// contains filtered or unexported fields
}
func (*ListPermissionsByResourceResponse) Descriptor
deprecated
added in
v0.3.0
func (*ListPermissionsByResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsByResourceResponse.ProtoReflect.Descriptor instead.
func (*ListPermissionsByResourceResponse) GetPermissions ¶ added in v0.3.0
func (x *ListPermissionsByResourceResponse) GetPermissions() []*Permission
func (*ListPermissionsByResourceResponse) MarshalJSON ¶ added in v0.3.0
func (m *ListPermissionsByResourceResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListPermissionsByResourceResponse) ProtoMessage ¶ added in v0.3.0
func (*ListPermissionsByResourceResponse) ProtoMessage()
func (*ListPermissionsByResourceResponse) ProtoReflect ¶ added in v0.3.0
func (x *ListPermissionsByResourceResponse) ProtoReflect() protoreflect.Message
func (*ListPermissionsByResourceResponse) Reset ¶ added in v0.3.0
func (x *ListPermissionsByResourceResponse) Reset()
func (*ListPermissionsByResourceResponse) String ¶ added in v0.3.0
func (x *ListPermissionsByResourceResponse) String() string
func (*ListPermissionsByResourceResponse) UnmarshalJSON ¶ added in v0.3.0
func (m *ListPermissionsByResourceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListRoleAssignmentsRequest ¶ added in v0.2.0
type ListRoleAssignmentsRequest struct {
AccountUuid string `protobuf:"bytes,1,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleAssignmentsRequest) Descriptor
deprecated
added in
v0.2.0
func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsRequest) GetAccountUuid ¶ added in v0.2.0
func (x *ListRoleAssignmentsRequest) GetAccountUuid() string
func (*ListRoleAssignmentsRequest) MarshalJSON ¶ added in v0.2.0
func (m *ListRoleAssignmentsRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListRoleAssignmentsRequest) ProtoMessage ¶ added in v0.2.0
func (*ListRoleAssignmentsRequest) ProtoMessage()
func (*ListRoleAssignmentsRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsRequest) Reset ¶ added in v0.2.0
func (x *ListRoleAssignmentsRequest) Reset()
func (*ListRoleAssignmentsRequest) String ¶ added in v0.2.0
func (x *ListRoleAssignmentsRequest) String() string
func (*ListRoleAssignmentsRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *ListRoleAssignmentsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListRoleAssignmentsResponse ¶ added in v0.2.0
type ListRoleAssignmentsResponse struct {
Assignments []*UserRoleAssignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"`
// contains filtered or unexported fields
}
func (*ListRoleAssignmentsResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsResponse) GetAssignments ¶ added in v0.2.0
func (x *ListRoleAssignmentsResponse) GetAssignments() []*UserRoleAssignment
func (*ListRoleAssignmentsResponse) MarshalJSON ¶ added in v0.2.0
func (m *ListRoleAssignmentsResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListRoleAssignmentsResponse) ProtoMessage ¶ added in v0.2.0
func (*ListRoleAssignmentsResponse) ProtoMessage()
func (*ListRoleAssignmentsResponse) ProtoReflect ¶ added in v0.2.0
func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsResponse) Reset ¶ added in v0.2.0
func (x *ListRoleAssignmentsResponse) Reset()
func (*ListRoleAssignmentsResponse) String ¶ added in v0.2.0
func (x *ListRoleAssignmentsResponse) String() string
func (*ListRoleAssignmentsResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *ListRoleAssignmentsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListValue ¶
type ListValue struct {
Values []*ListOptionValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*ListValue) Descriptor
deprecated
func (*ListValue) GetValues ¶
func (x *ListValue) GetValues() []*ListOptionValue
func (*ListValue) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListValue) ProtoMessage ¶
func (*ListValue) ProtoMessage()
func (*ListValue) ProtoReflect ¶
func (x *ListValue) ProtoReflect() protoreflect.Message
func (*ListValue) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListValuesRequest ¶ added in v0.2.0
type ListValuesRequest struct {
BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
AccountUuid string `protobuf:"bytes,2,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
// contains filtered or unexported fields
}
func (*ListValuesRequest) Descriptor
deprecated
added in
v0.2.0
func (*ListValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead.
func (*ListValuesRequest) GetAccountUuid ¶ added in v0.2.0
func (x *ListValuesRequest) GetAccountUuid() string
func (*ListValuesRequest) GetBundleId ¶ added in v0.2.0
func (x *ListValuesRequest) GetBundleId() string
func (*ListValuesRequest) MarshalJSON ¶ added in v0.2.0
func (m *ListValuesRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListValuesRequest) ProtoMessage ¶ added in v0.2.0
func (*ListValuesRequest) ProtoMessage()
func (*ListValuesRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListValuesRequest) ProtoReflect() protoreflect.Message
func (*ListValuesRequest) Reset ¶ added in v0.2.0
func (x *ListValuesRequest) Reset()
func (*ListValuesRequest) String ¶ added in v0.2.0
func (x *ListValuesRequest) String() string
func (*ListValuesRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *ListValuesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ListValuesResponse ¶ added in v0.2.0
type ListValuesResponse struct {
Values []*ValueWithIdentifier `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*ListValuesResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead.
func (*ListValuesResponse) GetValues ¶ added in v0.2.0
func (x *ListValuesResponse) GetValues() []*ValueWithIdentifier
func (*ListValuesResponse) MarshalJSON ¶ added in v0.2.0
func (m *ListValuesResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ListValuesResponse) ProtoMessage ¶ added in v0.2.0
func (*ListValuesResponse) ProtoMessage()
func (*ListValuesResponse) ProtoReflect ¶ added in v0.2.0
func (x *ListValuesResponse) ProtoReflect() protoreflect.Message
func (*ListValuesResponse) Reset ¶ added in v0.2.0
func (x *ListValuesResponse) Reset()
func (*ListValuesResponse) String ¶ added in v0.2.0
func (x *ListValuesResponse) String() string
func (*ListValuesResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *ListValuesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type MultiChoiceList ¶ added in v0.2.0
type MultiChoiceList struct {
Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*MultiChoiceList) Descriptor
deprecated
added in
v0.2.0
func (*MultiChoiceList) Descriptor() ([]byte, []int)
Deprecated: Use MultiChoiceList.ProtoReflect.Descriptor instead.
func (*MultiChoiceList) GetOptions ¶ added in v0.2.0
func (x *MultiChoiceList) GetOptions() []*ListOption
func (*MultiChoiceList) MarshalJSON ¶ added in v0.2.0
func (m *MultiChoiceList) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*MultiChoiceList) ProtoMessage ¶ added in v0.2.0
func (*MultiChoiceList) ProtoMessage()
func (*MultiChoiceList) ProtoReflect ¶ added in v0.2.0
func (x *MultiChoiceList) ProtoReflect() protoreflect.Message
func (*MultiChoiceList) Reset ¶ added in v0.2.0
func (x *MultiChoiceList) Reset()
func (*MultiChoiceList) String ¶ added in v0.2.0
func (x *MultiChoiceList) String() string
func (*MultiChoiceList) UnmarshalJSON ¶ added in v0.2.0
func (m *MultiChoiceList) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Permission ¶ added in v0.2.0
type Permission struct {
Operation Permission_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=proto.Permission_Operation" json:"operation,omitempty"`
Constraint Permission_Constraint `protobuf:"varint,2,opt,name=constraint,proto3,enum=proto.Permission_Constraint" json:"constraint,omitempty"`
// contains filtered or unexported fields
}
func (*Permission) Descriptor
deprecated
added in
v0.2.0
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetConstraint ¶ added in v0.2.0
func (x *Permission) GetConstraint() Permission_Constraint
func (*Permission) GetOperation ¶ added in v0.2.0
func (x *Permission) GetOperation() Permission_Operation
func (*Permission) MarshalJSON ¶ added in v0.2.0
func (m *Permission) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Permission) ProtoMessage ¶ added in v0.2.0
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶ added in v0.2.0
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶ added in v0.2.0
func (x *Permission) Reset()
func (*Permission) String ¶ added in v0.2.0
func (x *Permission) String() string
func (*Permission) UnmarshalJSON ¶ added in v0.2.0
func (m *Permission) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type PermissionService ¶ added in v0.3.0
type PermissionService interface {
ListPermissionsByResource(ctx context.Context, in *ListPermissionsByResourceRequest, opts ...client.CallOption) (*ListPermissionsByResourceResponse, error)
}
func NewPermissionService ¶ added in v0.3.0
func NewPermissionService(name string, c client.Client) PermissionService
type PermissionServiceHandler ¶ added in v0.3.0
type PermissionServiceHandler interface {
ListPermissionsByResource(context.Context, *ListPermissionsByResourceRequest, *ListPermissionsByResourceResponse) error
}
type Permission_Constraint ¶ added in v0.2.0
type Permission_Constraint int32
const ( Permission_CONSTRAINT_UNKNOWN Permission_Constraint = 0 Permission_CONSTRAINT_OWN Permission_Constraint = 1 Permission_CONSTRAINT_SHARED Permission_Constraint = 2 Permission_CONSTRAINT_ALL Permission_Constraint = 3 )
func (Permission_Constraint) Descriptor ¶ added in v0.2.0
func (Permission_Constraint) Descriptor() protoreflect.EnumDescriptor
func (Permission_Constraint) Enum ¶ added in v0.2.0
func (x Permission_Constraint) Enum() *Permission_Constraint
func (Permission_Constraint) EnumDescriptor
deprecated
added in
v0.2.0
func (Permission_Constraint) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_Constraint.Descriptor instead.
func (Permission_Constraint) Number ¶ added in v0.2.0
func (x Permission_Constraint) Number() protoreflect.EnumNumber
func (Permission_Constraint) String ¶ added in v0.2.0
func (x Permission_Constraint) String() string
func (Permission_Constraint) Type ¶ added in v0.2.0
func (Permission_Constraint) Type() protoreflect.EnumType
type Permission_Operation ¶ added in v0.2.0
type Permission_Operation int32
const ( Permission_OPERATION_UNKNOWN Permission_Operation = 0 Permission_OPERATION_CREATE Permission_Operation = 1 Permission_OPERATION_READ Permission_Operation = 2 Permission_OPERATION_UPDATE Permission_Operation = 3 Permission_OPERATION_DELETE Permission_Operation = 4 Permission_OPERATION_WRITE Permission_Operation = 5 // WRITE is a combination of CREATE and UPDATE Permission_OPERATION_READWRITE Permission_Operation = 6 // READWRITE is a combination of READ and WRITE )
func (Permission_Operation) Descriptor ¶ added in v0.2.0
func (Permission_Operation) Descriptor() protoreflect.EnumDescriptor
func (Permission_Operation) Enum ¶ added in v0.2.0
func (x Permission_Operation) Enum() *Permission_Operation
func (Permission_Operation) EnumDescriptor
deprecated
added in
v0.2.0
func (Permission_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_Operation.Descriptor instead.
func (Permission_Operation) Number ¶ added in v0.2.0
func (x Permission_Operation) Number() protoreflect.EnumNumber
func (Permission_Operation) String ¶ added in v0.2.0
func (x Permission_Operation) String() string
func (Permission_Operation) Type ¶ added in v0.2.0
func (Permission_Operation) Type() protoreflect.EnumType
type RemoveRoleFromUserRequest ¶ added in v0.2.0
type RemoveRoleFromUserRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveRoleFromUserRequest) Descriptor
deprecated
added in
v0.2.0
func (*RemoveRoleFromUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleFromUserRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoleFromUserRequest) GetId ¶ added in v0.2.0
func (x *RemoveRoleFromUserRequest) GetId() string
func (*RemoveRoleFromUserRequest) MarshalJSON ¶ added in v0.2.0
func (m *RemoveRoleFromUserRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*RemoveRoleFromUserRequest) ProtoMessage ¶ added in v0.2.0
func (*RemoveRoleFromUserRequest) ProtoMessage()
func (*RemoveRoleFromUserRequest) ProtoReflect ¶ added in v0.2.0
func (x *RemoveRoleFromUserRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoleFromUserRequest) Reset ¶ added in v0.2.0
func (x *RemoveRoleFromUserRequest) Reset()
func (*RemoveRoleFromUserRequest) String ¶ added in v0.2.0
func (x *RemoveRoleFromUserRequest) String() string
func (*RemoveRoleFromUserRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *RemoveRoleFromUserRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type RemoveSettingFromBundleRequest ¶ added in v0.2.0
type RemoveSettingFromBundleRequest struct {
BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
SettingId string `protobuf:"bytes,2,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveSettingFromBundleRequest) Descriptor
deprecated
added in
v0.2.0
func (*RemoveSettingFromBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSettingFromBundleRequest.ProtoReflect.Descriptor instead.
func (*RemoveSettingFromBundleRequest) GetBundleId ¶ added in v0.2.0
func (x *RemoveSettingFromBundleRequest) GetBundleId() string
func (*RemoveSettingFromBundleRequest) GetSettingId ¶ added in v0.2.0
func (x *RemoveSettingFromBundleRequest) GetSettingId() string
func (*RemoveSettingFromBundleRequest) MarshalJSON ¶ added in v0.2.0
func (m *RemoveSettingFromBundleRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*RemoveSettingFromBundleRequest) ProtoMessage ¶ added in v0.2.0
func (*RemoveSettingFromBundleRequest) ProtoMessage()
func (*RemoveSettingFromBundleRequest) ProtoReflect ¶ added in v0.2.0
func (x *RemoveSettingFromBundleRequest) ProtoReflect() protoreflect.Message
func (*RemoveSettingFromBundleRequest) Reset ¶ added in v0.2.0
func (x *RemoveSettingFromBundleRequest) Reset()
func (*RemoveSettingFromBundleRequest) String ¶ added in v0.2.0
func (x *RemoveSettingFromBundleRequest) String() string
func (*RemoveSettingFromBundleRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *RemoveSettingFromBundleRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Resource ¶ added in v0.2.0
type Resource struct {
Type Resource_Type `protobuf:"varint,1,opt,name=type,proto3,enum=proto.Resource_Type" json:"type,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Resource) Descriptor
deprecated
added in
v0.2.0
func (*Resource) GetType ¶ added in v0.2.0
func (x *Resource) GetType() Resource_Type
func (*Resource) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Resource) ProtoMessage ¶ added in v0.2.0
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v0.2.0
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Resource_Type ¶ added in v0.2.0
type Resource_Type int32
const ( Resource_TYPE_UNKNOWN Resource_Type = 0 Resource_TYPE_SYSTEM Resource_Type = 1 Resource_TYPE_FILE Resource_Type = 2 Resource_TYPE_SHARE Resource_Type = 3 Resource_TYPE_SETTING Resource_Type = 4 Resource_TYPE_BUNDLE Resource_Type = 5 Resource_TYPE_USER Resource_Type = 6 Resource_TYPE_GROUP Resource_Type = 7 )
func (Resource_Type) Descriptor ¶ added in v0.2.0
func (Resource_Type) Descriptor() protoreflect.EnumDescriptor
func (Resource_Type) Enum ¶ added in v0.2.0
func (x Resource_Type) Enum() *Resource_Type
func (Resource_Type) EnumDescriptor
deprecated
added in
v0.2.0
func (Resource_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Resource_Type.Descriptor instead.
func (Resource_Type) Number ¶ added in v0.2.0
func (x Resource_Type) Number() protoreflect.EnumNumber
func (Resource_Type) String ¶ added in v0.2.0
func (x Resource_Type) String() string
func (Resource_Type) Type ¶ added in v0.2.0
func (Resource_Type) Type() protoreflect.EnumType
type RoleService ¶ added in v0.2.0
type RoleService interface {
ListRoles(ctx context.Context, in *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
ListRoleAssignments(ctx context.Context, in *ListRoleAssignmentsRequest, opts ...client.CallOption) (*ListRoleAssignmentsResponse, error)
AssignRoleToUser(ctx context.Context, in *AssignRoleToUserRequest, opts ...client.CallOption) (*AssignRoleToUserResponse, error)
RemoveRoleFromUser(ctx context.Context, in *RemoveRoleFromUserRequest, opts ...client.CallOption) (*empty.Empty, error)
}
func NewRoleService ¶ added in v0.2.0
func NewRoleService(name string, c client.Client) RoleService
type RoleServiceHandler ¶ added in v0.2.0
type RoleServiceHandler interface {
ListRoles(context.Context, *ListBundlesRequest, *ListBundlesResponse) error
ListRoleAssignments(context.Context, *ListRoleAssignmentsRequest, *ListRoleAssignmentsResponse) error
AssignRoleToUser(context.Context, *AssignRoleToUserRequest, *AssignRoleToUserResponse) error
RemoveRoleFromUser(context.Context, *RemoveRoleFromUserRequest, *empty.Empty) error
}
type SaveBundleRequest ¶ added in v0.2.0
type SaveBundleRequest struct {
Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
--- requests and responses for settings bundles ---
func (*SaveBundleRequest) Descriptor
deprecated
added in
v0.2.0
func (*SaveBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveBundleRequest.ProtoReflect.Descriptor instead.
func (*SaveBundleRequest) GetBundle ¶ added in v0.2.0
func (x *SaveBundleRequest) GetBundle() *Bundle
func (*SaveBundleRequest) MarshalJSON ¶ added in v0.2.0
func (m *SaveBundleRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*SaveBundleRequest) ProtoMessage ¶ added in v0.2.0
func (*SaveBundleRequest) ProtoMessage()
func (*SaveBundleRequest) ProtoReflect ¶ added in v0.2.0
func (x *SaveBundleRequest) ProtoReflect() protoreflect.Message
func (*SaveBundleRequest) Reset ¶ added in v0.2.0
func (x *SaveBundleRequest) Reset()
func (*SaveBundleRequest) String ¶ added in v0.2.0
func (x *SaveBundleRequest) String() string
func (*SaveBundleRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *SaveBundleRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type SaveBundleResponse ¶ added in v0.2.0
type SaveBundleResponse struct {
Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
// contains filtered or unexported fields
}
func (*SaveBundleResponse) Descriptor
deprecated
added in
v0.2.0
func (*SaveBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveBundleResponse.ProtoReflect.Descriptor instead.
func (*SaveBundleResponse) GetBundle ¶ added in v0.2.0
func (x *SaveBundleResponse) GetBundle() *Bundle
func (*SaveBundleResponse) MarshalJSON ¶ added in v0.2.0
func (m *SaveBundleResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*SaveBundleResponse) ProtoMessage ¶ added in v0.2.0
func (*SaveBundleResponse) ProtoMessage()
func (*SaveBundleResponse) ProtoReflect ¶ added in v0.2.0
func (x *SaveBundleResponse) ProtoReflect() protoreflect.Message
func (*SaveBundleResponse) Reset ¶ added in v0.2.0
func (x *SaveBundleResponse) Reset()
func (*SaveBundleResponse) String ¶ added in v0.2.0
func (x *SaveBundleResponse) String() string
func (*SaveBundleResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *SaveBundleResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type SaveValueRequest ¶ added in v0.2.0
type SaveValueRequest struct {
Value *Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SaveValueRequest) Descriptor
deprecated
added in
v0.2.0
func (*SaveValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveValueRequest.ProtoReflect.Descriptor instead.
func (*SaveValueRequest) GetValue ¶ added in v0.2.0
func (x *SaveValueRequest) GetValue() *Value
func (*SaveValueRequest) MarshalJSON ¶ added in v0.2.0
func (m *SaveValueRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*SaveValueRequest) ProtoMessage ¶ added in v0.2.0
func (*SaveValueRequest) ProtoMessage()
func (*SaveValueRequest) ProtoReflect ¶ added in v0.2.0
func (x *SaveValueRequest) ProtoReflect() protoreflect.Message
func (*SaveValueRequest) Reset ¶ added in v0.2.0
func (x *SaveValueRequest) Reset()
func (*SaveValueRequest) String ¶ added in v0.2.0
func (x *SaveValueRequest) String() string
func (*SaveValueRequest) UnmarshalJSON ¶ added in v0.2.0
func (m *SaveValueRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type SaveValueResponse ¶ added in v0.2.0
type SaveValueResponse struct {
Value *ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SaveValueResponse) Descriptor
deprecated
added in
v0.2.0
func (*SaveValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveValueResponse.ProtoReflect.Descriptor instead.
func (*SaveValueResponse) GetValue ¶ added in v0.2.0
func (x *SaveValueResponse) GetValue() *ValueWithIdentifier
func (*SaveValueResponse) MarshalJSON ¶ added in v0.2.0
func (m *SaveValueResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*SaveValueResponse) ProtoMessage ¶ added in v0.2.0
func (*SaveValueResponse) ProtoMessage()
func (*SaveValueResponse) ProtoReflect ¶ added in v0.2.0
func (x *SaveValueResponse) ProtoReflect() protoreflect.Message
func (*SaveValueResponse) Reset ¶ added in v0.2.0
func (x *SaveValueResponse) Reset()
func (*SaveValueResponse) String ¶ added in v0.2.0
func (x *SaveValueResponse) String() string
func (*SaveValueResponse) UnmarshalJSON ¶ added in v0.2.0
func (m *SaveValueResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Setting ¶
type Setting struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Types that are assignable to Value:
// *Setting_IntValue
// *Setting_StringValue
// *Setting_BoolValue
// *Setting_SingleChoiceValue
// *Setting_MultiChoiceValue
// *Setting_PermissionValue
Value isSetting_Value `protobuf_oneof:"value"`
Resource *Resource `protobuf:"bytes,11,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
func (*Setting) Descriptor
deprecated
func (*Setting) GetBoolValue ¶
func (*Setting) GetDescription ¶
func (*Setting) GetDisplayName ¶
func (*Setting) GetIntValue ¶
func (*Setting) GetMultiChoiceValue ¶
func (x *Setting) GetMultiChoiceValue() *MultiChoiceList
func (*Setting) GetPermissionValue ¶ added in v0.2.0
func (x *Setting) GetPermissionValue() *Permission
func (*Setting) GetResource ¶ added in v0.2.0
func (*Setting) GetSingleChoiceValue ¶
func (x *Setting) GetSingleChoiceValue() *SingleChoiceList
func (*Setting) GetStringValue ¶
func (*Setting) MarshalJSON ¶
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
func (*Setting) UnmarshalJSON ¶
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Setting_BoolValue ¶
type Setting_BoolValue struct {
BoolValue *Bool `protobuf:"bytes,7,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Setting_IntValue ¶
type Setting_IntValue struct {
IntValue *Int `protobuf:"bytes,5,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Setting_MultiChoiceValue ¶
type Setting_MultiChoiceValue struct {
MultiChoiceValue *MultiChoiceList `protobuf:"bytes,9,opt,name=multi_choice_value,json=multiChoiceValue,proto3,oneof"`
}
type Setting_PermissionValue ¶ added in v0.2.0
type Setting_PermissionValue struct {
PermissionValue *Permission `protobuf:"bytes,10,opt,name=permission_value,json=permissionValue,proto3,oneof"`
}
type Setting_SingleChoiceValue ¶
type Setting_SingleChoiceValue struct {
SingleChoiceValue *SingleChoiceList `protobuf:"bytes,8,opt,name=single_choice_value,json=singleChoiceValue,proto3,oneof"`
}
type Setting_StringValue ¶
type Setting_StringValue struct {
StringValue *String `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type SingleChoiceList ¶ added in v0.2.0
type SingleChoiceList struct {
Options []*ListOption `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*SingleChoiceList) Descriptor
deprecated
added in
v0.2.0
func (*SingleChoiceList) Descriptor() ([]byte, []int)
Deprecated: Use SingleChoiceList.ProtoReflect.Descriptor instead.
func (*SingleChoiceList) GetOptions ¶ added in v0.2.0
func (x *SingleChoiceList) GetOptions() []*ListOption
func (*SingleChoiceList) MarshalJSON ¶ added in v0.2.0
func (m *SingleChoiceList) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*SingleChoiceList) ProtoMessage ¶ added in v0.2.0
func (*SingleChoiceList) ProtoMessage()
func (*SingleChoiceList) ProtoReflect ¶ added in v0.2.0
func (x *SingleChoiceList) ProtoReflect() protoreflect.Message
func (*SingleChoiceList) Reset ¶ added in v0.2.0
func (x *SingleChoiceList) Reset()
func (*SingleChoiceList) String ¶ added in v0.2.0
func (x *SingleChoiceList) String() string
func (*SingleChoiceList) UnmarshalJSON ¶ added in v0.2.0
func (m *SingleChoiceList) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type String ¶ added in v0.2.0
type String struct {
Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"`
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
MinLength int32 `protobuf:"varint,3,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
MaxLength int32 `protobuf:"varint,4,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
// contains filtered or unexported fields
}
func (*String) Descriptor
deprecated
added in
v0.2.0
func (*String) GetDefault ¶ added in v0.2.0
func (*String) GetMaxLength ¶ added in v0.2.0
func (*String) GetMinLength ¶ added in v0.2.0
func (*String) GetPlaceholder ¶ added in v0.2.0
func (*String) GetRequired ¶ added in v0.2.0
func (*String) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*String) ProtoMessage ¶ added in v0.2.0
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶ added in v0.2.0
func (x *String) ProtoReflect() protoreflect.Message
func (*String) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type UserRoleAssignment ¶ added in v0.2.0
type UserRoleAssignment struct {
// id is generated upon saving the assignment
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
AccountUuid string `protobuf:"bytes,2,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
// the role_id is a bundle_id internally
RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
// contains filtered or unexported fields
}
func (*UserRoleAssignment) Descriptor
deprecated
added in
v0.2.0
func (*UserRoleAssignment) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleAssignment.ProtoReflect.Descriptor instead.
func (*UserRoleAssignment) GetAccountUuid ¶ added in v0.2.0
func (x *UserRoleAssignment) GetAccountUuid() string
func (*UserRoleAssignment) GetId ¶ added in v0.2.0
func (x *UserRoleAssignment) GetId() string
func (*UserRoleAssignment) GetRoleId ¶ added in v0.2.0
func (x *UserRoleAssignment) GetRoleId() string
func (*UserRoleAssignment) MarshalJSON ¶ added in v0.2.0
func (m *UserRoleAssignment) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*UserRoleAssignment) ProtoMessage ¶ added in v0.2.0
func (*UserRoleAssignment) ProtoMessage()
func (*UserRoleAssignment) ProtoReflect ¶ added in v0.2.0
func (x *UserRoleAssignment) ProtoReflect() protoreflect.Message
func (*UserRoleAssignment) Reset ¶ added in v0.2.0
func (x *UserRoleAssignment) Reset()
func (*UserRoleAssignment) String ¶ added in v0.2.0
func (x *UserRoleAssignment) String() string
func (*UserRoleAssignment) UnmarshalJSON ¶ added in v0.2.0
func (m *UserRoleAssignment) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Value ¶ added in v0.2.0
type Value struct {
// id is the id of the Value. It is generated on saving it.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
BundleId string `protobuf:"bytes,2,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"`
// setting_id is the id of the setting from within its bundle.
SettingId string `protobuf:"bytes,3,opt,name=setting_id,json=settingId,proto3" json:"setting_id,omitempty"`
AccountUuid string `protobuf:"bytes,4,opt,name=account_uuid,json=accountUuid,proto3" json:"account_uuid,omitempty"`
Resource *Resource `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
// Types that are assignable to Value:
// *Value_BoolValue
// *Value_IntValue
// *Value_StringValue
// *Value_ListValue
Value isValue_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func (*Value) Descriptor
deprecated
added in
v0.2.0
func (*Value) GetAccountUuid ¶ added in v0.2.0
func (*Value) GetBoolValue ¶ added in v0.2.0
func (*Value) GetBundleId ¶ added in v0.2.0
func (*Value) GetIntValue ¶ added in v0.2.0
func (*Value) GetListValue ¶ added in v0.2.0
func (*Value) GetResource ¶ added in v0.2.0
func (*Value) GetSettingId ¶ added in v0.2.0
func (*Value) GetStringValue ¶ added in v0.2.0
func (*Value) MarshalJSON ¶ added in v0.2.0
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*Value) ProtoMessage ¶ added in v0.2.0
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶ added in v0.2.0
func (x *Value) ProtoReflect() protoreflect.Message
func (*Value) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type ValueService ¶
type ValueService interface {
SaveValue(ctx context.Context, in *SaveValueRequest, opts ...client.CallOption) (*SaveValueResponse, error)
GetValue(ctx context.Context, in *GetValueRequest, opts ...client.CallOption) (*GetValueResponse, error)
ListValues(ctx context.Context, in *ListValuesRequest, opts ...client.CallOption) (*ListValuesResponse, error)
GetValueByUniqueIdentifiers(ctx context.Context, in *GetValueByUniqueIdentifiersRequest, opts ...client.CallOption) (*GetValueResponse, error)
}
func NewValueService ¶
func NewValueService(name string, c client.Client) ValueService
type ValueServiceHandler ¶
type ValueServiceHandler interface {
SaveValue(context.Context, *SaveValueRequest, *SaveValueResponse) error
GetValue(context.Context, *GetValueRequest, *GetValueResponse) error
ListValues(context.Context, *ListValuesRequest, *ListValuesResponse) error
GetValueByUniqueIdentifiers(context.Context, *GetValueByUniqueIdentifiersRequest, *GetValueResponse) error
}
type ValueWithIdentifier ¶ added in v0.2.0
type ValueWithIdentifier struct {
Identifier *Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*ValueWithIdentifier) Descriptor
deprecated
added in
v0.2.0
func (*ValueWithIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use ValueWithIdentifier.ProtoReflect.Descriptor instead.
func (*ValueWithIdentifier) GetIdentifier ¶ added in v0.2.0
func (x *ValueWithIdentifier) GetIdentifier() *Identifier
func (*ValueWithIdentifier) GetValue ¶ added in v0.2.0
func (x *ValueWithIdentifier) GetValue() *Value
func (*ValueWithIdentifier) MarshalJSON ¶ added in v0.2.0
func (m *ValueWithIdentifier) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*ValueWithIdentifier) ProtoMessage ¶ added in v0.2.0
func (*ValueWithIdentifier) ProtoMessage()
func (*ValueWithIdentifier) ProtoReflect ¶ added in v0.2.0
func (x *ValueWithIdentifier) ProtoReflect() protoreflect.Message
func (*ValueWithIdentifier) Reset ¶ added in v0.2.0
func (x *ValueWithIdentifier) Reset()
func (*ValueWithIdentifier) String ¶ added in v0.2.0
func (x *ValueWithIdentifier) String() string
func (*ValueWithIdentifier) UnmarshalJSON ¶ added in v0.2.0
func (m *ValueWithIdentifier) UnmarshalJSON(b []byte) error
UnmarshalJSON satisfies the encoding/json Unmarshaler interface. This method uses the more correct jsonpb package to correctly unmarshal the message.
type Value_BoolValue ¶ added in v0.2.0
type Value_BoolValue struct {
BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_IntValue ¶ added in v0.2.0
type Value_IntValue struct {
IntValue int64 `protobuf:"varint,7,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Value_ListValue ¶ added in v0.2.0
type Value_ListValue struct {
ListValue *ListValue `protobuf:"bytes,9,opt,name=list_value,json=listValue,proto3,oneof"`
}
type Value_StringValue ¶ added in v0.2.0
type Value_StringValue struct {
StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,proto3,oneof"`
}