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() *v0.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() *v0.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() *v0.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 BundleService
- type BundleServiceHandler
- 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() *v0.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 GetPermissionByIDRequest
- func (*GetPermissionByIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionByIDRequest) GetPermissionId() string
- func (m *GetPermissionByIDRequest) MarshalJSON() ([]byte, error)
- func (*GetPermissionByIDRequest) ProtoMessage()
- func (x *GetPermissionByIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetPermissionByIDRequest) Reset()
- func (x *GetPermissionByIDRequest) String() string
- func (m *GetPermissionByIDRequest) UnmarshalJSON(b []byte) error
- type GetPermissionByIDResponse
- func (*GetPermissionByIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPermissionByIDResponse) GetPermission() *v0.Permission
- func (m *GetPermissionByIDResponse) MarshalJSON() ([]byte, error)
- func (*GetPermissionByIDResponse) ProtoMessage()
- func (x *GetPermissionByIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetPermissionByIDResponse) Reset()
- func (x *GetPermissionByIDResponse) String() string
- func (m *GetPermissionByIDResponse) 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() *v0.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 ListBundlesRequest
- func (*ListBundlesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBundlesRequest) GetBundleIds() []string
- 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() []*v0.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 ListPermissionsByResourceRequest
- func (*ListPermissionsByResourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPermissionsByResourceRequest) GetResource() *v0.Resource
- 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() []*v0.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() []*v0.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 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() []*v0.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 MockBundleService
- func (m MockBundleService) AddSettingToBundle(ctx context.Context, req *AddSettingToBundleRequest, opts ...client.CallOption) (*AddSettingToBundleResponse, error)
- func (m MockBundleService) GetBundle(ctx context.Context, req *GetBundleRequest, opts ...client.CallOption) (*GetBundleResponse, error)
- func (m MockBundleService) ListBundles(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
- func (m MockBundleService) RemoveSettingFromBundle(ctx context.Context, req *RemoveSettingFromBundleRequest, ...) (*emptypb.Empty, error)
- func (m MockBundleService) SaveBundle(ctx context.Context, req *SaveBundleRequest, opts ...client.CallOption) (*SaveBundleResponse, error)
- type MockPermissionService
- func (m MockPermissionService) GetPermissionByID(ctx context.Context, req *GetPermissionByIDRequest, opts ...client.CallOption) (*GetPermissionByIDResponse, error)
- func (m MockPermissionService) ListPermissionsByResource(ctx context.Context, req *ListPermissionsByResourceRequest, ...) (*ListPermissionsByResourceResponse, error)
- type MockRoleService
- func (m MockRoleService) AssignRoleToUser(ctx context.Context, req *AssignRoleToUserRequest, opts ...client.CallOption) (*AssignRoleToUserResponse, error)
- func (m MockRoleService) ListRoleAssignments(ctx context.Context, req *ListRoleAssignmentsRequest, ...) (*ListRoleAssignmentsResponse, error)
- func (m MockRoleService) ListRoles(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
- func (m MockRoleService) RemoveRoleFromUser(ctx context.Context, req *RemoveRoleFromUserRequest, opts ...client.CallOption) (*emptypb.Empty, error)
- type MockValueService
- func (m MockValueService) GetValue(ctx context.Context, req *GetValueRequest, opts ...client.CallOption) (*GetValueResponse, error)
- func (m MockValueService) GetValueByUniqueIdentifiers(ctx context.Context, req *GetValueByUniqueIdentifiersRequest, ...) (*GetValueResponse, error)
- func (m MockValueService) ListValues(ctx context.Context, req *ListValuesRequest, opts ...client.CallOption) (*ListValuesResponse, error)
- func (m MockValueService) SaveValue(ctx context.Context, req *SaveValueRequest, opts ...client.CallOption) (*SaveValueResponse, error)
- type PermissionService
- type PermissionServiceHandler
- 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 RoleService
- type RoleServiceHandler
- type SaveBundleRequest
- func (*SaveBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveBundleRequest) GetBundle() *v0.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() *v0.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() *v0.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() *v0.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 ValueService
- type ValueServiceHandler
Constants ¶
This section is empty.
Variables ¶
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 File_ocis_services_settings_v0_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 GetPermissionByIDRequestJSONMarshaler = new(jsonpb.Marshaler)
GetPermissionByIDRequestJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetPermissionByIDRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetPermissionByIDRequestJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetPermissionByIDRequestJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetPermissionByIDRequest. This struct is safe to replace or modify but should not be done so concurrently.
var GetPermissionByIDResponseJSONMarshaler = new(jsonpb.Marshaler)
GetPermissionByIDResponseJSONMarshaler describes the default jsonpb.Marshaler used by all instances of GetPermissionByIDResponse. This struct is safe to replace or modify but should not be done so concurrently.
var GetPermissionByIDResponseJSONUnmarshaler = new(jsonpb.Unmarshaler)
GetPermissionByIDResponseJSONUnmarshaler describes the default jsonpb.Unmarshaler used by all instances of GetPermissionByIDResponse. 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 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 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 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 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 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.
Functions ¶
func NewRoleServiceEndpoints ¶
func RegisterBundleServiceHandler ¶
func RegisterBundleServiceHandler(s server.Server, hdlr BundleServiceHandler, opts ...server.HandlerOption) error
func RegisterBundleServiceWeb ¶
func RegisterBundleServiceWeb(r chi.Router, i BundleServiceHandler, middlewares ...func(http.Handler) http.Handler)
func RegisterPermissionServiceHandler ¶
func RegisterPermissionServiceHandler(s server.Server, hdlr PermissionServiceHandler, opts ...server.HandlerOption) error
func RegisterPermissionServiceWeb ¶
func RegisterPermissionServiceWeb(r chi.Router, i PermissionServiceHandler, middlewares ...func(http.Handler) http.Handler)
func RegisterRoleServiceHandler ¶
func RegisterRoleServiceHandler(s server.Server, hdlr RoleServiceHandler, opts ...server.HandlerOption) error
func RegisterRoleServiceWeb ¶
func RegisterRoleServiceWeb(r chi.Router, i RoleServiceHandler, middlewares ...func(http.Handler) http.Handler)
func RegisterValueServiceHandler ¶
func RegisterValueServiceHandler(s server.Server, hdlr ValueServiceHandler, opts ...server.HandlerOption) error
func RegisterValueServiceWeb ¶
func RegisterValueServiceWeb(r chi.Router, i ValueServiceHandler, middlewares ...func(http.Handler) http.Handler)
Types ¶
type AddSettingToBundleRequest ¶
type AddSettingToBundleRequest struct { BundleId string `protobuf:"bytes,1,opt,name=bundle_id,json=bundleId,proto3" json:"bundle_id,omitempty"` Setting *v0.Setting `protobuf:"bytes,2,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*AddSettingToBundleRequest) Descriptor
deprecated
func (*AddSettingToBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSettingToBundleRequest.ProtoReflect.Descriptor instead.
func (*AddSettingToBundleRequest) GetBundleId ¶
func (x *AddSettingToBundleRequest) GetBundleId() string
func (*AddSettingToBundleRequest) GetSetting ¶
func (x *AddSettingToBundleRequest) GetSetting() *v0.Setting
func (*AddSettingToBundleRequest) MarshalJSON ¶
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 ¶
func (*AddSettingToBundleRequest) ProtoMessage()
func (*AddSettingToBundleRequest) ProtoReflect ¶
func (x *AddSettingToBundleRequest) ProtoReflect() protoreflect.Message
func (*AddSettingToBundleRequest) Reset ¶
func (x *AddSettingToBundleRequest) Reset()
func (*AddSettingToBundleRequest) String ¶
func (x *AddSettingToBundleRequest) String() string
func (*AddSettingToBundleRequest) UnmarshalJSON ¶
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 ¶
type AddSettingToBundleResponse struct { Setting *v0.Setting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"` // contains filtered or unexported fields }
func (*AddSettingToBundleResponse) Descriptor
deprecated
func (*AddSettingToBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddSettingToBundleResponse.ProtoReflect.Descriptor instead.
func (*AddSettingToBundleResponse) GetSetting ¶
func (x *AddSettingToBundleResponse) GetSetting() *v0.Setting
func (*AddSettingToBundleResponse) MarshalJSON ¶
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 ¶
func (*AddSettingToBundleResponse) ProtoMessage()
func (*AddSettingToBundleResponse) ProtoReflect ¶
func (x *AddSettingToBundleResponse) ProtoReflect() protoreflect.Message
func (*AddSettingToBundleResponse) Reset ¶
func (x *AddSettingToBundleResponse) Reset()
func (*AddSettingToBundleResponse) String ¶
func (x *AddSettingToBundleResponse) String() string
func (*AddSettingToBundleResponse) UnmarshalJSON ¶
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 ¶
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
func (*AssignRoleToUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleToUserRequest.ProtoReflect.Descriptor instead.
func (*AssignRoleToUserRequest) GetAccountUuid ¶
func (x *AssignRoleToUserRequest) GetAccountUuid() string
func (*AssignRoleToUserRequest) GetRoleId ¶
func (x *AssignRoleToUserRequest) GetRoleId() string
func (*AssignRoleToUserRequest) MarshalJSON ¶
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 ¶
func (*AssignRoleToUserRequest) ProtoMessage()
func (*AssignRoleToUserRequest) ProtoReflect ¶
func (x *AssignRoleToUserRequest) ProtoReflect() protoreflect.Message
func (*AssignRoleToUserRequest) Reset ¶
func (x *AssignRoleToUserRequest) Reset()
func (*AssignRoleToUserRequest) String ¶
func (x *AssignRoleToUserRequest) String() string
func (*AssignRoleToUserRequest) UnmarshalJSON ¶
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 ¶
type AssignRoleToUserResponse struct { Assignment *v0.UserRoleAssignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` // contains filtered or unexported fields }
func (*AssignRoleToUserResponse) Descriptor
deprecated
func (*AssignRoleToUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignRoleToUserResponse.ProtoReflect.Descriptor instead.
func (*AssignRoleToUserResponse) GetAssignment ¶
func (x *AssignRoleToUserResponse) GetAssignment() *v0.UserRoleAssignment
func (*AssignRoleToUserResponse) MarshalJSON ¶
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 ¶
func (*AssignRoleToUserResponse) ProtoMessage()
func (*AssignRoleToUserResponse) ProtoReflect ¶
func (x *AssignRoleToUserResponse) ProtoReflect() protoreflect.Message
func (*AssignRoleToUserResponse) Reset ¶
func (x *AssignRoleToUserResponse) Reset()
func (*AssignRoleToUserResponse) String ¶
func (x *AssignRoleToUserResponse) String() string
func (*AssignRoleToUserResponse) UnmarshalJSON ¶
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 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) (*emptypb.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, *emptypb.Empty) error }
type GetBundleRequest ¶
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
func (*GetBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleRequest.ProtoReflect.Descriptor instead.
func (*GetBundleRequest) GetBundleId ¶
func (x *GetBundleRequest) GetBundleId() string
func (*GetBundleRequest) MarshalJSON ¶
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 ¶
func (*GetBundleRequest) ProtoMessage()
func (*GetBundleRequest) ProtoReflect ¶
func (x *GetBundleRequest) ProtoReflect() protoreflect.Message
func (*GetBundleRequest) Reset ¶
func (x *GetBundleRequest) Reset()
func (*GetBundleRequest) String ¶
func (x *GetBundleRequest) String() string
func (*GetBundleRequest) UnmarshalJSON ¶
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 ¶
type GetBundleResponse struct { Bundle *v0.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` // contains filtered or unexported fields }
func (*GetBundleResponse) Descriptor
deprecated
func (*GetBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBundleResponse.ProtoReflect.Descriptor instead.
func (*GetBundleResponse) GetBundle ¶
func (x *GetBundleResponse) GetBundle() *v0.Bundle
func (*GetBundleResponse) MarshalJSON ¶
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 ¶
func (*GetBundleResponse) ProtoMessage()
func (*GetBundleResponse) ProtoReflect ¶
func (x *GetBundleResponse) ProtoReflect() protoreflect.Message
func (*GetBundleResponse) Reset ¶
func (x *GetBundleResponse) Reset()
func (*GetBundleResponse) String ¶
func (x *GetBundleResponse) String() string
func (*GetBundleResponse) UnmarshalJSON ¶
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 GetPermissionByIDRequest ¶
type GetPermissionByIDRequest struct { PermissionId string `protobuf:"bytes,1,opt,name=permission_id,json=permissionId,proto3" json:"permission_id,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionByIDRequest) Descriptor
deprecated
func (*GetPermissionByIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionByIDRequest.ProtoReflect.Descriptor instead.
func (*GetPermissionByIDRequest) GetPermissionId ¶
func (x *GetPermissionByIDRequest) GetPermissionId() string
func (*GetPermissionByIDRequest) MarshalJSON ¶
func (m *GetPermissionByIDRequest) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetPermissionByIDRequest) ProtoMessage ¶
func (*GetPermissionByIDRequest) ProtoMessage()
func (*GetPermissionByIDRequest) ProtoReflect ¶
func (x *GetPermissionByIDRequest) ProtoReflect() protoreflect.Message
func (*GetPermissionByIDRequest) Reset ¶
func (x *GetPermissionByIDRequest) Reset()
func (*GetPermissionByIDRequest) String ¶
func (x *GetPermissionByIDRequest) String() string
func (*GetPermissionByIDRequest) UnmarshalJSON ¶
func (m *GetPermissionByIDRequest) 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 GetPermissionByIDResponse ¶
type GetPermissionByIDResponse struct { Permission *v0.Permission `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*GetPermissionByIDResponse) Descriptor
deprecated
func (*GetPermissionByIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPermissionByIDResponse.ProtoReflect.Descriptor instead.
func (*GetPermissionByIDResponse) GetPermission ¶
func (x *GetPermissionByIDResponse) GetPermission() *v0.Permission
func (*GetPermissionByIDResponse) MarshalJSON ¶
func (m *GetPermissionByIDResponse) MarshalJSON() ([]byte, error)
MarshalJSON satisfies the encoding/json Marshaler interface. This method uses the more correct jsonpb package to correctly marshal the message.
func (*GetPermissionByIDResponse) ProtoMessage ¶
func (*GetPermissionByIDResponse) ProtoMessage()
func (*GetPermissionByIDResponse) ProtoReflect ¶
func (x *GetPermissionByIDResponse) ProtoReflect() protoreflect.Message
func (*GetPermissionByIDResponse) Reset ¶
func (x *GetPermissionByIDResponse) Reset()
func (*GetPermissionByIDResponse) String ¶
func (x *GetPermissionByIDResponse) String() string
func (*GetPermissionByIDResponse) UnmarshalJSON ¶
func (m *GetPermissionByIDResponse) 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 ¶
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
func (*GetValueByUniqueIdentifiersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueByUniqueIdentifiersRequest.ProtoReflect.Descriptor instead.
func (*GetValueByUniqueIdentifiersRequest) GetAccountUuid ¶
func (x *GetValueByUniqueIdentifiersRequest) GetAccountUuid() string
func (*GetValueByUniqueIdentifiersRequest) GetSettingId ¶
func (x *GetValueByUniqueIdentifiersRequest) GetSettingId() string
func (*GetValueByUniqueIdentifiersRequest) MarshalJSON ¶
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 ¶
func (*GetValueByUniqueIdentifiersRequest) ProtoMessage()
func (*GetValueByUniqueIdentifiersRequest) ProtoReflect ¶
func (x *GetValueByUniqueIdentifiersRequest) ProtoReflect() protoreflect.Message
func (*GetValueByUniqueIdentifiersRequest) Reset ¶
func (x *GetValueByUniqueIdentifiersRequest) Reset()
func (*GetValueByUniqueIdentifiersRequest) String ¶
func (x *GetValueByUniqueIdentifiersRequest) String() string
func (*GetValueByUniqueIdentifiersRequest) UnmarshalJSON ¶
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 ¶
type GetValueRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetValueRequest) Descriptor
deprecated
func (*GetValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead.
func (*GetValueRequest) GetId ¶
func (x *GetValueRequest) GetId() string
func (*GetValueRequest) MarshalJSON ¶
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 ¶
func (*GetValueRequest) ProtoMessage()
func (*GetValueRequest) ProtoReflect ¶
func (x *GetValueRequest) ProtoReflect() protoreflect.Message
func (*GetValueRequest) Reset ¶
func (x *GetValueRequest) Reset()
func (*GetValueRequest) String ¶
func (x *GetValueRequest) String() string
func (*GetValueRequest) UnmarshalJSON ¶
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 ¶
type GetValueResponse struct { Value *v0.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*GetValueResponse) Descriptor
deprecated
func (*GetValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetValueResponse.ProtoReflect.Descriptor instead.
func (*GetValueResponse) GetValue ¶
func (x *GetValueResponse) GetValue() *v0.ValueWithIdentifier
func (*GetValueResponse) MarshalJSON ¶
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 ¶
func (*GetValueResponse) ProtoMessage()
func (*GetValueResponse) ProtoReflect ¶
func (x *GetValueResponse) ProtoReflect() protoreflect.Message
func (*GetValueResponse) Reset ¶
func (x *GetValueResponse) Reset()
func (*GetValueResponse) String ¶
func (x *GetValueResponse) String() string
func (*GetValueResponse) UnmarshalJSON ¶
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 ListBundlesRequest ¶
type ListBundlesRequest struct { BundleIds []string `protobuf:"bytes,1,rep,name=bundle_ids,json=bundleIds,proto3" json:"bundle_ids,omitempty"` // contains filtered or unexported fields }
func (*ListBundlesRequest) Descriptor
deprecated
func (*ListBundlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBundlesRequest.ProtoReflect.Descriptor instead.
func (*ListBundlesRequest) GetBundleIds ¶
func (x *ListBundlesRequest) GetBundleIds() []string
func (*ListBundlesRequest) MarshalJSON ¶
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 ¶
func (*ListBundlesRequest) ProtoMessage()
func (*ListBundlesRequest) ProtoReflect ¶
func (x *ListBundlesRequest) ProtoReflect() protoreflect.Message
func (*ListBundlesRequest) Reset ¶
func (x *ListBundlesRequest) Reset()
func (*ListBundlesRequest) String ¶
func (x *ListBundlesRequest) String() string
func (*ListBundlesRequest) UnmarshalJSON ¶
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 ¶
type ListBundlesResponse struct { Bundles []*v0.Bundle `protobuf:"bytes,1,rep,name=bundles,proto3" json:"bundles,omitempty"` // contains filtered or unexported fields }
func (*ListBundlesResponse) Descriptor
deprecated
func (*ListBundlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBundlesResponse.ProtoReflect.Descriptor instead.
func (*ListBundlesResponse) GetBundles ¶
func (x *ListBundlesResponse) GetBundles() []*v0.Bundle
func (*ListBundlesResponse) MarshalJSON ¶
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 ¶
func (*ListBundlesResponse) ProtoMessage()
func (*ListBundlesResponse) ProtoReflect ¶
func (x *ListBundlesResponse) ProtoReflect() protoreflect.Message
func (*ListBundlesResponse) Reset ¶
func (x *ListBundlesResponse) Reset()
func (*ListBundlesResponse) String ¶
func (x *ListBundlesResponse) String() string
func (*ListBundlesResponse) UnmarshalJSON ¶
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 ListPermissionsByResourceRequest ¶
type ListPermissionsByResourceRequest struct { Resource *v0.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsByResourceRequest) Descriptor
deprecated
func (*ListPermissionsByResourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsByResourceRequest.ProtoReflect.Descriptor instead.
func (*ListPermissionsByResourceRequest) GetResource ¶
func (x *ListPermissionsByResourceRequest) GetResource() *v0.Resource
func (*ListPermissionsByResourceRequest) MarshalJSON ¶
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 ¶
func (*ListPermissionsByResourceRequest) ProtoMessage()
func (*ListPermissionsByResourceRequest) ProtoReflect ¶
func (x *ListPermissionsByResourceRequest) ProtoReflect() protoreflect.Message
func (*ListPermissionsByResourceRequest) Reset ¶
func (x *ListPermissionsByResourceRequest) Reset()
func (*ListPermissionsByResourceRequest) String ¶
func (x *ListPermissionsByResourceRequest) String() string
func (*ListPermissionsByResourceRequest) UnmarshalJSON ¶
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 ¶
type ListPermissionsByResourceResponse struct { Permissions []*v0.Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*ListPermissionsByResourceResponse) Descriptor
deprecated
func (*ListPermissionsByResourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPermissionsByResourceResponse.ProtoReflect.Descriptor instead.
func (*ListPermissionsByResourceResponse) GetPermissions ¶
func (x *ListPermissionsByResourceResponse) GetPermissions() []*v0.Permission
func (*ListPermissionsByResourceResponse) MarshalJSON ¶
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 ¶
func (*ListPermissionsByResourceResponse) ProtoMessage()
func (*ListPermissionsByResourceResponse) ProtoReflect ¶
func (x *ListPermissionsByResourceResponse) ProtoReflect() protoreflect.Message
func (*ListPermissionsByResourceResponse) Reset ¶
func (x *ListPermissionsByResourceResponse) Reset()
func (*ListPermissionsByResourceResponse) String ¶
func (x *ListPermissionsByResourceResponse) String() string
func (*ListPermissionsByResourceResponse) UnmarshalJSON ¶
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 ¶
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
func (*ListRoleAssignmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsRequest.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsRequest) GetAccountUuid ¶
func (x *ListRoleAssignmentsRequest) GetAccountUuid() string
func (*ListRoleAssignmentsRequest) MarshalJSON ¶
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 ¶
func (*ListRoleAssignmentsRequest) ProtoMessage()
func (*ListRoleAssignmentsRequest) ProtoReflect ¶
func (x *ListRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsRequest) Reset ¶
func (x *ListRoleAssignmentsRequest) Reset()
func (*ListRoleAssignmentsRequest) String ¶
func (x *ListRoleAssignmentsRequest) String() string
func (*ListRoleAssignmentsRequest) UnmarshalJSON ¶
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 ¶
type ListRoleAssignmentsResponse struct { Assignments []*v0.UserRoleAssignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` // contains filtered or unexported fields }
func (*ListRoleAssignmentsResponse) Descriptor
deprecated
func (*ListRoleAssignmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoleAssignmentsResponse.ProtoReflect.Descriptor instead.
func (*ListRoleAssignmentsResponse) GetAssignments ¶
func (x *ListRoleAssignmentsResponse) GetAssignments() []*v0.UserRoleAssignment
func (*ListRoleAssignmentsResponse) MarshalJSON ¶
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 ¶
func (*ListRoleAssignmentsResponse) ProtoMessage()
func (*ListRoleAssignmentsResponse) ProtoReflect ¶
func (x *ListRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
func (*ListRoleAssignmentsResponse) Reset ¶
func (x *ListRoleAssignmentsResponse) Reset()
func (*ListRoleAssignmentsResponse) String ¶
func (x *ListRoleAssignmentsResponse) String() string
func (*ListRoleAssignmentsResponse) UnmarshalJSON ¶
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 ListValuesRequest ¶
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
func (*ListValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesRequest.ProtoReflect.Descriptor instead.
func (*ListValuesRequest) GetAccountUuid ¶
func (x *ListValuesRequest) GetAccountUuid() string
func (*ListValuesRequest) GetBundleId ¶
func (x *ListValuesRequest) GetBundleId() string
func (*ListValuesRequest) MarshalJSON ¶
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 ¶
func (*ListValuesRequest) ProtoMessage()
func (*ListValuesRequest) ProtoReflect ¶
func (x *ListValuesRequest) ProtoReflect() protoreflect.Message
func (*ListValuesRequest) Reset ¶
func (x *ListValuesRequest) Reset()
func (*ListValuesRequest) String ¶
func (x *ListValuesRequest) String() string
func (*ListValuesRequest) UnmarshalJSON ¶
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 ¶
type ListValuesResponse struct { Values []*v0.ValueWithIdentifier `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*ListValuesResponse) Descriptor
deprecated
func (*ListValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListValuesResponse.ProtoReflect.Descriptor instead.
func (*ListValuesResponse) GetValues ¶
func (x *ListValuesResponse) GetValues() []*v0.ValueWithIdentifier
func (*ListValuesResponse) MarshalJSON ¶
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 ¶
func (*ListValuesResponse) ProtoMessage()
func (*ListValuesResponse) ProtoReflect ¶
func (x *ListValuesResponse) ProtoReflect() protoreflect.Message
func (*ListValuesResponse) Reset ¶
func (x *ListValuesResponse) Reset()
func (*ListValuesResponse) String ¶
func (x *ListValuesResponse) String() string
func (*ListValuesResponse) UnmarshalJSON ¶
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 MockBundleService ¶
type MockBundleService struct { ListBundlesFunc func(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error) GetBundleFunc func(ctx context.Context, req *GetBundleRequest, opts ...client.CallOption) (*GetBundleResponse, error) SaveBundleFunc func(ctx context.Context, req *SaveBundleRequest, opts ...client.CallOption) (*SaveBundleResponse, error) AddSettingToBundleFunc func(ctx context.Context, req *AddSettingToBundleRequest, opts ...client.CallOption) (*AddSettingToBundleResponse, error) RemoveSettingFromBundleFunc func(ctx context.Context, req *RemoveSettingFromBundleRequest, opts ...client.CallOption) (*emptypb.Empty, error) }
MockBundleService can be used to write tests against the bundle service.
To create a mock overwrite the functions of an instance like this:
```go
func mockBundleSvc(returnErr bool) proto.BundleService { if returnErr { return &proto.MockBundleService{ ListBundlesFunc: func(ctx context.Context, in *proto.ListBundlesRequest, opts ...client.CallOption) (out *proto.ListBundlesResponse, err error) { return nil, fmt.Errorf("error returned by mockBundleSvc LIST") }, } } return &proto.MockBundleService{ ListBundlesFunc: func(ctx context.Context, in *proto.ListBundlesRequest, opts ...client.CallOption) (out *proto.ListBundlesResponse, err error) { return &proto.ListBundlesResponse{ Bundles: []*proto.Bundle{ { Id: "hello-there", }, }, }, nil }, } }
```
func (MockBundleService) AddSettingToBundle ¶
func (m MockBundleService) AddSettingToBundle(ctx context.Context, req *AddSettingToBundleRequest, opts ...client.CallOption) (*AddSettingToBundleResponse, error)
AddSettingToBundle will panic if the function has been called, but not mocked
func (MockBundleService) GetBundle ¶
func (m MockBundleService) GetBundle(ctx context.Context, req *GetBundleRequest, opts ...client.CallOption) (*GetBundleResponse, error)
GetBundle will panic if the function has been called, but not mocked
func (MockBundleService) ListBundles ¶
func (m MockBundleService) ListBundles(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
ListBundles will panic if the function has been called, but not mocked
func (MockBundleService) RemoveSettingFromBundle ¶
func (m MockBundleService) RemoveSettingFromBundle(ctx context.Context, req *RemoveSettingFromBundleRequest, opts ...client.CallOption) (*emptypb.Empty, error)
RemoveSettingFromBundle will panic if the function has been called, but not mocked
func (MockBundleService) SaveBundle ¶
func (m MockBundleService) SaveBundle(ctx context.Context, req *SaveBundleRequest, opts ...client.CallOption) (*SaveBundleResponse, error)
SaveBundle will panic if the function has been called, but not mocked
type MockPermissionService ¶
type MockPermissionService struct { ListPermissionsByResourceFunc func(ctx context.Context, req *ListPermissionsByResourceRequest, opts ...client.CallOption) (*ListPermissionsByResourceResponse, error) GetPermissionByIDFunc func(ctx context.Context, req *GetPermissionByIDRequest, opts ...client.CallOption) (*GetPermissionByIDResponse, error) }
MockPermissionService will panic if the function has been called, but not mocked
func (MockPermissionService) GetPermissionByID ¶
func (m MockPermissionService) GetPermissionByID(ctx context.Context, req *GetPermissionByIDRequest, opts ...client.CallOption) (*GetPermissionByIDResponse, error)
GetPermissionByID will panic if the function has been called, but not mocked
func (MockPermissionService) ListPermissionsByResource ¶
func (m MockPermissionService) ListPermissionsByResource(ctx context.Context, req *ListPermissionsByResourceRequest, opts ...client.CallOption) (*ListPermissionsByResourceResponse, error)
ListPermissionsByResource will panic if the function has been called, but not mocked
type MockRoleService ¶
type MockRoleService struct { ListRolesFunc func(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error) ListRoleAssignmentsFunc func(ctx context.Context, req *ListRoleAssignmentsRequest, opts ...client.CallOption) (*ListRoleAssignmentsResponse, error) AssignRoleToUserFunc func(ctx context.Context, req *AssignRoleToUserRequest, opts ...client.CallOption) (*AssignRoleToUserResponse, error) RemoveRoleFromUserFunc func(ctx context.Context, req *RemoveRoleFromUserRequest, opts ...client.CallOption) (*emptypb.Empty, error) }
MockRoleService will panic if the function has been called, but not mocked
func (MockRoleService) AssignRoleToUser ¶
func (m MockRoleService) AssignRoleToUser(ctx context.Context, req *AssignRoleToUserRequest, opts ...client.CallOption) (*AssignRoleToUserResponse, error)
AssignRoleToUser will panic if the function has been called, but not mocked
func (MockRoleService) ListRoleAssignments ¶
func (m MockRoleService) ListRoleAssignments(ctx context.Context, req *ListRoleAssignmentsRequest, opts ...client.CallOption) (*ListRoleAssignmentsResponse, error)
ListRoleAssignments will panic if the function has been called, but not mocked
func (MockRoleService) ListRoles ¶
func (m MockRoleService) ListRoles(ctx context.Context, req *ListBundlesRequest, opts ...client.CallOption) (*ListBundlesResponse, error)
ListRoles will panic if the function has been called, but not mocked
func (MockRoleService) RemoveRoleFromUser ¶
func (m MockRoleService) RemoveRoleFromUser(ctx context.Context, req *RemoveRoleFromUserRequest, opts ...client.CallOption) (*emptypb.Empty, error)
RemoveRoleFromUser will panic if the function has been called, but not mocked
type MockValueService ¶
type MockValueService struct { ListValuesFunc func(ctx context.Context, req *ListValuesRequest, opts ...client.CallOption) (*ListValuesResponse, error) GetValueFunc func(ctx context.Context, req *GetValueRequest, opts ...client.CallOption) (*GetValueResponse, error) GetValueByUniqueIdentifiersFunc func(ctx context.Context, req *GetValueByUniqueIdentifiersRequest, opts ...client.CallOption) (*GetValueResponse, error) SaveValueFunc func(ctx context.Context, req *SaveValueRequest, opts ...client.CallOption) (*SaveValueResponse, error) }
MockValueService can be used to write tests against the value service.
func (MockValueService) GetValue ¶
func (m MockValueService) GetValue(ctx context.Context, req *GetValueRequest, opts ...client.CallOption) (*GetValueResponse, error)
GetValue will panic if the function has been called, but not mocked
func (MockValueService) GetValueByUniqueIdentifiers ¶
func (m MockValueService) GetValueByUniqueIdentifiers(ctx context.Context, req *GetValueByUniqueIdentifiersRequest, opts ...client.CallOption) (*GetValueResponse, error)
GetValueByUniqueIdentifiers will panic if the function has been called, but not mocked
func (MockValueService) ListValues ¶
func (m MockValueService) ListValues(ctx context.Context, req *ListValuesRequest, opts ...client.CallOption) (*ListValuesResponse, error)
ListValues will panic if the function has been called, but not mocked
func (MockValueService) SaveValue ¶
func (m MockValueService) SaveValue(ctx context.Context, req *SaveValueRequest, opts ...client.CallOption) (*SaveValueResponse, error)
SaveValue will panic if the function has been called, but not mocked
type PermissionService ¶
type PermissionService interface { ListPermissionsByResource(ctx context.Context, in *ListPermissionsByResourceRequest, opts ...client.CallOption) (*ListPermissionsByResourceResponse, error) GetPermissionByID(ctx context.Context, in *GetPermissionByIDRequest, opts ...client.CallOption) (*GetPermissionByIDResponse, error) }
func NewPermissionService ¶
func NewPermissionService(name string, c client.Client) PermissionService
type PermissionServiceHandler ¶
type PermissionServiceHandler interface { ListPermissionsByResource(context.Context, *ListPermissionsByResourceRequest, *ListPermissionsByResourceResponse) error GetPermissionByID(context.Context, *GetPermissionByIDRequest, *GetPermissionByIDResponse) error }
type RemoveRoleFromUserRequest ¶
type RemoveRoleFromUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RemoveRoleFromUserRequest) Descriptor
deprecated
func (*RemoveRoleFromUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRoleFromUserRequest.ProtoReflect.Descriptor instead.
func (*RemoveRoleFromUserRequest) GetId ¶
func (x *RemoveRoleFromUserRequest) GetId() string
func (*RemoveRoleFromUserRequest) MarshalJSON ¶
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 ¶
func (*RemoveRoleFromUserRequest) ProtoMessage()
func (*RemoveRoleFromUserRequest) ProtoReflect ¶
func (x *RemoveRoleFromUserRequest) ProtoReflect() protoreflect.Message
func (*RemoveRoleFromUserRequest) Reset ¶
func (x *RemoveRoleFromUserRequest) Reset()
func (*RemoveRoleFromUserRequest) String ¶
func (x *RemoveRoleFromUserRequest) String() string
func (*RemoveRoleFromUserRequest) UnmarshalJSON ¶
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 ¶
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
func (*RemoveSettingFromBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveSettingFromBundleRequest.ProtoReflect.Descriptor instead.
func (*RemoveSettingFromBundleRequest) GetBundleId ¶
func (x *RemoveSettingFromBundleRequest) GetBundleId() string
func (*RemoveSettingFromBundleRequest) GetSettingId ¶
func (x *RemoveSettingFromBundleRequest) GetSettingId() string
func (*RemoveSettingFromBundleRequest) MarshalJSON ¶
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 ¶
func (*RemoveSettingFromBundleRequest) ProtoMessage()
func (*RemoveSettingFromBundleRequest) ProtoReflect ¶
func (x *RemoveSettingFromBundleRequest) ProtoReflect() protoreflect.Message
func (*RemoveSettingFromBundleRequest) Reset ¶
func (x *RemoveSettingFromBundleRequest) Reset()
func (*RemoveSettingFromBundleRequest) String ¶
func (x *RemoveSettingFromBundleRequest) String() string
func (*RemoveSettingFromBundleRequest) UnmarshalJSON ¶
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 RoleService ¶
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) (*emptypb.Empty, error) }
func NewRoleService ¶
func NewRoleService(name string, c client.Client) RoleService
type RoleServiceHandler ¶
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, *emptypb.Empty) error }
type SaveBundleRequest ¶
type SaveBundleRequest struct { Bundle *v0.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
func (*SaveBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveBundleRequest.ProtoReflect.Descriptor instead.
func (*SaveBundleRequest) GetBundle ¶
func (x *SaveBundleRequest) GetBundle() *v0.Bundle
func (*SaveBundleRequest) MarshalJSON ¶
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 ¶
func (*SaveBundleRequest) ProtoMessage()
func (*SaveBundleRequest) ProtoReflect ¶
func (x *SaveBundleRequest) ProtoReflect() protoreflect.Message
func (*SaveBundleRequest) Reset ¶
func (x *SaveBundleRequest) Reset()
func (*SaveBundleRequest) String ¶
func (x *SaveBundleRequest) String() string
func (*SaveBundleRequest) UnmarshalJSON ¶
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 ¶
type SaveBundleResponse struct { Bundle *v0.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` // contains filtered or unexported fields }
func (*SaveBundleResponse) Descriptor
deprecated
func (*SaveBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveBundleResponse.ProtoReflect.Descriptor instead.
func (*SaveBundleResponse) GetBundle ¶
func (x *SaveBundleResponse) GetBundle() *v0.Bundle
func (*SaveBundleResponse) MarshalJSON ¶
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 ¶
func (*SaveBundleResponse) ProtoMessage()
func (*SaveBundleResponse) ProtoReflect ¶
func (x *SaveBundleResponse) ProtoReflect() protoreflect.Message
func (*SaveBundleResponse) Reset ¶
func (x *SaveBundleResponse) Reset()
func (*SaveBundleResponse) String ¶
func (x *SaveBundleResponse) String() string
func (*SaveBundleResponse) UnmarshalJSON ¶
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 ¶
type SaveValueRequest struct { Value *v0.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SaveValueRequest) Descriptor
deprecated
func (*SaveValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveValueRequest.ProtoReflect.Descriptor instead.
func (*SaveValueRequest) GetValue ¶
func (x *SaveValueRequest) GetValue() *v0.Value
func (*SaveValueRequest) MarshalJSON ¶
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 ¶
func (*SaveValueRequest) ProtoMessage()
func (*SaveValueRequest) ProtoReflect ¶
func (x *SaveValueRequest) ProtoReflect() protoreflect.Message
func (*SaveValueRequest) Reset ¶
func (x *SaveValueRequest) Reset()
func (*SaveValueRequest) String ¶
func (x *SaveValueRequest) String() string
func (*SaveValueRequest) UnmarshalJSON ¶
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 ¶
type SaveValueResponse struct { Value *v0.ValueWithIdentifier `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SaveValueResponse) Descriptor
deprecated
func (*SaveValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveValueResponse.ProtoReflect.Descriptor instead.
func (*SaveValueResponse) GetValue ¶
func (x *SaveValueResponse) GetValue() *v0.ValueWithIdentifier
func (*SaveValueResponse) MarshalJSON ¶
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 ¶
func (*SaveValueResponse) ProtoMessage()
func (*SaveValueResponse) ProtoReflect ¶
func (x *SaveValueResponse) ProtoReflect() protoreflect.Message
func (*SaveValueResponse) Reset ¶
func (x *SaveValueResponse) Reset()
func (*SaveValueResponse) String ¶
func (x *SaveValueResponse) String() string
func (*SaveValueResponse) UnmarshalJSON ¶
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 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 }