Documentation ¶
Index ¶
- Variables
- func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)
- type ApiClient
- type ApiServer
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetKey() string
- func (x *Attribute) GetValue() string
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- func (m *Attribute) Validate() error
- func (m *Attribute) ValidateAll() error
- type AttributeMultiError
- type AttributeValidationError
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetClientId() string
- func (x *AuthenticateRequest) GetClientSecret() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- func (m *AuthenticateRequest) Validate() error
- func (m *AuthenticateRequest) ValidateAll() error
- type AuthenticateRequestMultiError
- type AuthenticateRequestValidationError
- func (e AuthenticateRequestValidationError) Cause() error
- func (e AuthenticateRequestValidationError) Error() string
- func (e AuthenticateRequestValidationError) ErrorName() string
- func (e AuthenticateRequestValidationError) Field() string
- func (e AuthenticateRequestValidationError) Key() bool
- func (e AuthenticateRequestValidationError) Reason() string
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetExpiresIn() int64
- func (x *AuthenticateResponse) GetToken() string
- func (x *AuthenticateResponse) GetType() string
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- func (m *AuthenticateResponse) Validate() error
- func (m *AuthenticateResponse) ValidateAll() error
- type AuthenticateResponseMultiError
- type AuthenticateResponseValidationError
- func (e AuthenticateResponseValidationError) Cause() error
- func (e AuthenticateResponseValidationError) Error() string
- func (e AuthenticateResponseValidationError) ErrorName() string
- func (e AuthenticateResponseValidationError) Field() string
- func (e AuthenticateResponseValidationError) Key() bool
- func (e AuthenticateResponseValidationError) Reason() string
- type Check
- func (*Check) Descriptor() ([]byte, []int)deprecated
- func (x *Check) GetAction() string
- func (x *Check) GetPrincipal() string
- func (x *Check) GetResourceKind() string
- func (x *Check) GetResourceValue() string
- func (*Check) ProtoMessage()
- func (x *Check) ProtoReflect() protoreflect.Message
- func (x *Check) Reset()
- func (x *Check) String() string
- func (m *Check) Validate() error
- func (m *Check) ValidateAll() error
- type CheckAnswer
- func (*CheckAnswer) Descriptor() ([]byte, []int)deprecated
- func (x *CheckAnswer) GetAction() string
- func (x *CheckAnswer) GetIsAllowed() bool
- func (x *CheckAnswer) GetPrincipal() string
- func (x *CheckAnswer) GetResourceKind() string
- func (x *CheckAnswer) GetResourceValue() string
- func (*CheckAnswer) ProtoMessage()
- func (x *CheckAnswer) ProtoReflect() protoreflect.Message
- func (x *CheckAnswer) Reset()
- func (x *CheckAnswer) String() string
- func (m *CheckAnswer) Validate() error
- func (m *CheckAnswer) ValidateAll() error
- type CheckAnswerMultiError
- type CheckAnswerValidationError
- func (e CheckAnswerValidationError) Cause() error
- func (e CheckAnswerValidationError) Error() string
- func (e CheckAnswerValidationError) ErrorName() string
- func (e CheckAnswerValidationError) Field() string
- func (e CheckAnswerValidationError) Key() bool
- func (e CheckAnswerValidationError) Reason() string
- type CheckMultiError
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetChecks() []*Check
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- func (m *CheckRequest) Validate() error
- func (m *CheckRequest) ValidateAll() error
- type CheckRequestMultiError
- type CheckRequestValidationError
- func (e CheckRequestValidationError) Cause() error
- func (e CheckRequestValidationError) Error() string
- func (e CheckRequestValidationError) ErrorName() string
- func (e CheckRequestValidationError) Field() string
- func (e CheckRequestValidationError) Key() bool
- func (e CheckRequestValidationError) Reason() string
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetChecks() []*CheckAnswer
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- func (m *CheckResponse) Validate() error
- func (m *CheckResponse) ValidateAll() error
- type CheckResponseMultiError
- type CheckResponseValidationError
- func (e CheckResponseValidationError) Cause() error
- func (e CheckResponseValidationError) Error() string
- func (e CheckResponseValidationError) ErrorName() string
- func (e CheckResponseValidationError) Field() string
- func (e CheckResponseValidationError) Key() bool
- func (e CheckResponseValidationError) Reason() string
- type CheckValidationError
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetActions() []string
- func (x *Policy) GetAttributeRules() []string
- func (x *Policy) GetId() string
- func (x *Policy) GetResources() []string
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- func (m *Policy) Validate() error
- func (m *Policy) ValidateAll() error
- type PolicyCreateRequest
- func (*PolicyCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyCreateRequest) GetActions() []string
- func (x *PolicyCreateRequest) GetAttributeRules() []string
- func (x *PolicyCreateRequest) GetId() string
- func (x *PolicyCreateRequest) GetResources() []string
- func (*PolicyCreateRequest) ProtoMessage()
- func (x *PolicyCreateRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyCreateRequest) Reset()
- func (x *PolicyCreateRequest) String() string
- func (m *PolicyCreateRequest) Validate() error
- func (m *PolicyCreateRequest) ValidateAll() error
- type PolicyCreateRequestMultiError
- type PolicyCreateRequestValidationError
- func (e PolicyCreateRequestValidationError) Cause() error
- func (e PolicyCreateRequestValidationError) Error() string
- func (e PolicyCreateRequestValidationError) ErrorName() string
- func (e PolicyCreateRequestValidationError) Field() string
- func (e PolicyCreateRequestValidationError) Key() bool
- func (e PolicyCreateRequestValidationError) Reason() string
- type PolicyCreateResponse
- func (*PolicyCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyCreateResponse) GetPolicy() *Policy
- func (*PolicyCreateResponse) ProtoMessage()
- func (x *PolicyCreateResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyCreateResponse) Reset()
- func (x *PolicyCreateResponse) String() string
- func (m *PolicyCreateResponse) Validate() error
- func (m *PolicyCreateResponse) ValidateAll() error
- type PolicyCreateResponseMultiError
- type PolicyCreateResponseValidationError
- func (e PolicyCreateResponseValidationError) Cause() error
- func (e PolicyCreateResponseValidationError) Error() string
- func (e PolicyCreateResponseValidationError) ErrorName() string
- func (e PolicyCreateResponseValidationError) Field() string
- func (e PolicyCreateResponseValidationError) Key() bool
- func (e PolicyCreateResponseValidationError) Reason() string
- type PolicyDeleteRequest
- func (*PolicyDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyDeleteRequest) GetId() string
- func (*PolicyDeleteRequest) ProtoMessage()
- func (x *PolicyDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyDeleteRequest) Reset()
- func (x *PolicyDeleteRequest) String() string
- func (m *PolicyDeleteRequest) Validate() error
- func (m *PolicyDeleteRequest) ValidateAll() error
- type PolicyDeleteRequestMultiError
- type PolicyDeleteRequestValidationError
- func (e PolicyDeleteRequestValidationError) Cause() error
- func (e PolicyDeleteRequestValidationError) Error() string
- func (e PolicyDeleteRequestValidationError) ErrorName() string
- func (e PolicyDeleteRequestValidationError) Field() string
- func (e PolicyDeleteRequestValidationError) Key() bool
- func (e PolicyDeleteRequestValidationError) Reason() string
- type PolicyDeleteResponse
- func (*PolicyDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyDeleteResponse) GetSuccess() bool
- func (*PolicyDeleteResponse) ProtoMessage()
- func (x *PolicyDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyDeleteResponse) Reset()
- func (x *PolicyDeleteResponse) String() string
- func (m *PolicyDeleteResponse) Validate() error
- func (m *PolicyDeleteResponse) ValidateAll() error
- type PolicyDeleteResponseMultiError
- type PolicyDeleteResponseValidationError
- func (e PolicyDeleteResponseValidationError) Cause() error
- func (e PolicyDeleteResponseValidationError) Error() string
- func (e PolicyDeleteResponseValidationError) ErrorName() string
- func (e PolicyDeleteResponseValidationError) Field() string
- func (e PolicyDeleteResponseValidationError) Key() bool
- func (e PolicyDeleteResponseValidationError) Reason() string
- type PolicyGetRequest
- func (*PolicyGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyGetRequest) GetId() string
- func (*PolicyGetRequest) ProtoMessage()
- func (x *PolicyGetRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyGetRequest) Reset()
- func (x *PolicyGetRequest) String() string
- func (m *PolicyGetRequest) Validate() error
- func (m *PolicyGetRequest) ValidateAll() error
- type PolicyGetRequestMultiError
- type PolicyGetRequestValidationError
- func (e PolicyGetRequestValidationError) Cause() error
- func (e PolicyGetRequestValidationError) Error() string
- func (e PolicyGetRequestValidationError) ErrorName() string
- func (e PolicyGetRequestValidationError) Field() string
- func (e PolicyGetRequestValidationError) Key() bool
- func (e PolicyGetRequestValidationError) Reason() string
- type PolicyGetResponse
- func (*PolicyGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyGetResponse) GetPolicy() *Policy
- func (*PolicyGetResponse) ProtoMessage()
- func (x *PolicyGetResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyGetResponse) Reset()
- func (x *PolicyGetResponse) String() string
- func (m *PolicyGetResponse) Validate() error
- func (m *PolicyGetResponse) ValidateAll() error
- type PolicyGetResponseMultiError
- type PolicyGetResponseValidationError
- func (e PolicyGetResponseValidationError) Cause() error
- func (e PolicyGetResponseValidationError) Error() string
- func (e PolicyGetResponseValidationError) ErrorName() string
- func (e PolicyGetResponseValidationError) Field() string
- func (e PolicyGetResponseValidationError) Key() bool
- func (e PolicyGetResponseValidationError) Reason() string
- type PolicyMultiError
- type PolicyUpdateRequest
- func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyUpdateRequest) GetActions() []string
- func (x *PolicyUpdateRequest) GetAttributeRules() []string
- func (x *PolicyUpdateRequest) GetId() string
- func (x *PolicyUpdateRequest) GetResources() []string
- func (*PolicyUpdateRequest) ProtoMessage()
- func (x *PolicyUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *PolicyUpdateRequest) Reset()
- func (x *PolicyUpdateRequest) String() string
- func (m *PolicyUpdateRequest) Validate() error
- func (m *PolicyUpdateRequest) ValidateAll() error
- type PolicyUpdateRequestMultiError
- type PolicyUpdateRequestValidationError
- func (e PolicyUpdateRequestValidationError) Cause() error
- func (e PolicyUpdateRequestValidationError) Error() string
- func (e PolicyUpdateRequestValidationError) ErrorName() string
- func (e PolicyUpdateRequestValidationError) Field() string
- func (e PolicyUpdateRequestValidationError) Key() bool
- func (e PolicyUpdateRequestValidationError) Reason() string
- type PolicyUpdateResponse
- func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyUpdateResponse) GetPolicy() *Policy
- func (*PolicyUpdateResponse) ProtoMessage()
- func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *PolicyUpdateResponse) Reset()
- func (x *PolicyUpdateResponse) String() string
- func (m *PolicyUpdateResponse) Validate() error
- func (m *PolicyUpdateResponse) ValidateAll() error
- type PolicyUpdateResponseMultiError
- type PolicyUpdateResponseValidationError
- func (e PolicyUpdateResponseValidationError) Cause() error
- func (e PolicyUpdateResponseValidationError) Error() string
- func (e PolicyUpdateResponseValidationError) ErrorName() string
- func (e PolicyUpdateResponseValidationError) Field() string
- func (e PolicyUpdateResponseValidationError) Key() bool
- func (e PolicyUpdateResponseValidationError) Reason() string
- type PolicyValidationError
- type Principal
- func (*Principal) Descriptor() ([]byte, []int)deprecated
- func (x *Principal) GetAttributes() []*Attribute
- func (x *Principal) GetId() string
- func (x *Principal) GetRoles() []string
- func (*Principal) ProtoMessage()
- func (x *Principal) ProtoReflect() protoreflect.Message
- func (x *Principal) Reset()
- func (x *Principal) String() string
- func (m *Principal) Validate() error
- func (m *Principal) ValidateAll() error
- type PrincipalCreateRequest
- func (*PrincipalCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalCreateRequest) GetAttributes() []*Attribute
- func (x *PrincipalCreateRequest) GetId() string
- func (x *PrincipalCreateRequest) GetRoles() []string
- func (*PrincipalCreateRequest) ProtoMessage()
- func (x *PrincipalCreateRequest) ProtoReflect() protoreflect.Message
- func (x *PrincipalCreateRequest) Reset()
- func (x *PrincipalCreateRequest) String() string
- func (m *PrincipalCreateRequest) Validate() error
- func (m *PrincipalCreateRequest) ValidateAll() error
- type PrincipalCreateRequestMultiError
- type PrincipalCreateRequestValidationError
- func (e PrincipalCreateRequestValidationError) Cause() error
- func (e PrincipalCreateRequestValidationError) Error() string
- func (e PrincipalCreateRequestValidationError) ErrorName() string
- func (e PrincipalCreateRequestValidationError) Field() string
- func (e PrincipalCreateRequestValidationError) Key() bool
- func (e PrincipalCreateRequestValidationError) Reason() string
- type PrincipalCreateResponse
- func (*PrincipalCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalCreateResponse) GetPrincipal() *Principal
- func (*PrincipalCreateResponse) ProtoMessage()
- func (x *PrincipalCreateResponse) ProtoReflect() protoreflect.Message
- func (x *PrincipalCreateResponse) Reset()
- func (x *PrincipalCreateResponse) String() string
- func (m *PrincipalCreateResponse) Validate() error
- func (m *PrincipalCreateResponse) ValidateAll() error
- type PrincipalCreateResponseMultiError
- type PrincipalCreateResponseValidationError
- func (e PrincipalCreateResponseValidationError) Cause() error
- func (e PrincipalCreateResponseValidationError) Error() string
- func (e PrincipalCreateResponseValidationError) ErrorName() string
- func (e PrincipalCreateResponseValidationError) Field() string
- func (e PrincipalCreateResponseValidationError) Key() bool
- func (e PrincipalCreateResponseValidationError) Reason() string
- type PrincipalDeleteRequest
- func (*PrincipalDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalDeleteRequest) GetId() string
- func (*PrincipalDeleteRequest) ProtoMessage()
- func (x *PrincipalDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *PrincipalDeleteRequest) Reset()
- func (x *PrincipalDeleteRequest) String() string
- func (m *PrincipalDeleteRequest) Validate() error
- func (m *PrincipalDeleteRequest) ValidateAll() error
- type PrincipalDeleteRequestMultiError
- type PrincipalDeleteRequestValidationError
- func (e PrincipalDeleteRequestValidationError) Cause() error
- func (e PrincipalDeleteRequestValidationError) Error() string
- func (e PrincipalDeleteRequestValidationError) ErrorName() string
- func (e PrincipalDeleteRequestValidationError) Field() string
- func (e PrincipalDeleteRequestValidationError) Key() bool
- func (e PrincipalDeleteRequestValidationError) Reason() string
- type PrincipalDeleteResponse
- func (*PrincipalDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalDeleteResponse) GetSuccess() bool
- func (*PrincipalDeleteResponse) ProtoMessage()
- func (x *PrincipalDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *PrincipalDeleteResponse) Reset()
- func (x *PrincipalDeleteResponse) String() string
- func (m *PrincipalDeleteResponse) Validate() error
- func (m *PrincipalDeleteResponse) ValidateAll() error
- type PrincipalDeleteResponseMultiError
- type PrincipalDeleteResponseValidationError
- func (e PrincipalDeleteResponseValidationError) Cause() error
- func (e PrincipalDeleteResponseValidationError) Error() string
- func (e PrincipalDeleteResponseValidationError) ErrorName() string
- func (e PrincipalDeleteResponseValidationError) Field() string
- func (e PrincipalDeleteResponseValidationError) Key() bool
- func (e PrincipalDeleteResponseValidationError) Reason() string
- type PrincipalGetRequest
- func (*PrincipalGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalGetRequest) GetId() string
- func (*PrincipalGetRequest) ProtoMessage()
- func (x *PrincipalGetRequest) ProtoReflect() protoreflect.Message
- func (x *PrincipalGetRequest) Reset()
- func (x *PrincipalGetRequest) String() string
- func (m *PrincipalGetRequest) Validate() error
- func (m *PrincipalGetRequest) ValidateAll() error
- type PrincipalGetRequestMultiError
- type PrincipalGetRequestValidationError
- func (e PrincipalGetRequestValidationError) Cause() error
- func (e PrincipalGetRequestValidationError) Error() string
- func (e PrincipalGetRequestValidationError) ErrorName() string
- func (e PrincipalGetRequestValidationError) Field() string
- func (e PrincipalGetRequestValidationError) Key() bool
- func (e PrincipalGetRequestValidationError) Reason() string
- type PrincipalGetResponse
- func (*PrincipalGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalGetResponse) GetPrincipal() *Principal
- func (*PrincipalGetResponse) ProtoMessage()
- func (x *PrincipalGetResponse) ProtoReflect() protoreflect.Message
- func (x *PrincipalGetResponse) Reset()
- func (x *PrincipalGetResponse) String() string
- func (m *PrincipalGetResponse) Validate() error
- func (m *PrincipalGetResponse) ValidateAll() error
- type PrincipalGetResponseMultiError
- type PrincipalGetResponseValidationError
- func (e PrincipalGetResponseValidationError) Cause() error
- func (e PrincipalGetResponseValidationError) Error() string
- func (e PrincipalGetResponseValidationError) ErrorName() string
- func (e PrincipalGetResponseValidationError) Field() string
- func (e PrincipalGetResponseValidationError) Key() bool
- func (e PrincipalGetResponseValidationError) Reason() string
- type PrincipalMultiError
- type PrincipalUpdateRequest
- func (*PrincipalUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalUpdateRequest) GetAttributes() []*Attribute
- func (x *PrincipalUpdateRequest) GetId() string
- func (x *PrincipalUpdateRequest) GetRoles() []string
- func (*PrincipalUpdateRequest) ProtoMessage()
- func (x *PrincipalUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *PrincipalUpdateRequest) Reset()
- func (x *PrincipalUpdateRequest) String() string
- func (m *PrincipalUpdateRequest) Validate() error
- func (m *PrincipalUpdateRequest) ValidateAll() error
- type PrincipalUpdateRequestMultiError
- type PrincipalUpdateRequestValidationError
- func (e PrincipalUpdateRequestValidationError) Cause() error
- func (e PrincipalUpdateRequestValidationError) Error() string
- func (e PrincipalUpdateRequestValidationError) ErrorName() string
- func (e PrincipalUpdateRequestValidationError) Field() string
- func (e PrincipalUpdateRequestValidationError) Key() bool
- func (e PrincipalUpdateRequestValidationError) Reason() string
- type PrincipalUpdateResponse
- func (*PrincipalUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrincipalUpdateResponse) GetPrincipal() *Principal
- func (*PrincipalUpdateResponse) ProtoMessage()
- func (x *PrincipalUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *PrincipalUpdateResponse) Reset()
- func (x *PrincipalUpdateResponse) String() string
- func (m *PrincipalUpdateResponse) Validate() error
- func (m *PrincipalUpdateResponse) ValidateAll() error
- type PrincipalUpdateResponseMultiError
- type PrincipalUpdateResponseValidationError
- func (e PrincipalUpdateResponseValidationError) Cause() error
- func (e PrincipalUpdateResponseValidationError) Error() string
- func (e PrincipalUpdateResponseValidationError) ErrorName() string
- func (e PrincipalUpdateResponseValidationError) Field() string
- func (e PrincipalUpdateResponseValidationError) Key() bool
- func (e PrincipalUpdateResponseValidationError) Reason() string
- type PrincipalValidationError
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAttributes() []*Attribute
- func (x *Resource) GetId() string
- func (x *Resource) GetKind() string
- func (x *Resource) GetValue() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) Validate() error
- func (m *Resource) ValidateAll() error
- type ResourceCreateRequest
- func (*ResourceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreateRequest) GetAttributes() []*Attribute
- func (x *ResourceCreateRequest) GetId() string
- func (x *ResourceCreateRequest) GetKind() string
- func (x *ResourceCreateRequest) GetValue() string
- func (*ResourceCreateRequest) ProtoMessage()
- func (x *ResourceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceCreateRequest) Reset()
- func (x *ResourceCreateRequest) String() string
- func (m *ResourceCreateRequest) Validate() error
- func (m *ResourceCreateRequest) ValidateAll() error
- type ResourceCreateRequestMultiError
- type ResourceCreateRequestValidationError
- func (e ResourceCreateRequestValidationError) Cause() error
- func (e ResourceCreateRequestValidationError) Error() string
- func (e ResourceCreateRequestValidationError) ErrorName() string
- func (e ResourceCreateRequestValidationError) Field() string
- func (e ResourceCreateRequestValidationError) Key() bool
- func (e ResourceCreateRequestValidationError) Reason() string
- type ResourceCreateResponse
- func (*ResourceCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceCreateResponse) GetResource() *Resource
- func (*ResourceCreateResponse) ProtoMessage()
- func (x *ResourceCreateResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceCreateResponse) Reset()
- func (x *ResourceCreateResponse) String() string
- func (m *ResourceCreateResponse) Validate() error
- func (m *ResourceCreateResponse) ValidateAll() error
- type ResourceCreateResponseMultiError
- type ResourceCreateResponseValidationError
- func (e ResourceCreateResponseValidationError) Cause() error
- func (e ResourceCreateResponseValidationError) Error() string
- func (e ResourceCreateResponseValidationError) ErrorName() string
- func (e ResourceCreateResponseValidationError) Field() string
- func (e ResourceCreateResponseValidationError) Key() bool
- func (e ResourceCreateResponseValidationError) Reason() string
- type ResourceDeleteRequest
- func (*ResourceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDeleteRequest) GetId() string
- func (*ResourceDeleteRequest) ProtoMessage()
- func (x *ResourceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceDeleteRequest) Reset()
- func (x *ResourceDeleteRequest) String() string
- func (m *ResourceDeleteRequest) Validate() error
- func (m *ResourceDeleteRequest) ValidateAll() error
- type ResourceDeleteRequestMultiError
- type ResourceDeleteRequestValidationError
- func (e ResourceDeleteRequestValidationError) Cause() error
- func (e ResourceDeleteRequestValidationError) Error() string
- func (e ResourceDeleteRequestValidationError) ErrorName() string
- func (e ResourceDeleteRequestValidationError) Field() string
- func (e ResourceDeleteRequestValidationError) Key() bool
- func (e ResourceDeleteRequestValidationError) Reason() string
- type ResourceDeleteResponse
- func (*ResourceDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDeleteResponse) GetSuccess() bool
- func (*ResourceDeleteResponse) ProtoMessage()
- func (x *ResourceDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceDeleteResponse) Reset()
- func (x *ResourceDeleteResponse) String() string
- func (m *ResourceDeleteResponse) Validate() error
- func (m *ResourceDeleteResponse) ValidateAll() error
- type ResourceDeleteResponseMultiError
- type ResourceDeleteResponseValidationError
- func (e ResourceDeleteResponseValidationError) Cause() error
- func (e ResourceDeleteResponseValidationError) Error() string
- func (e ResourceDeleteResponseValidationError) ErrorName() string
- func (e ResourceDeleteResponseValidationError) Field() string
- func (e ResourceDeleteResponseValidationError) Key() bool
- func (e ResourceDeleteResponseValidationError) Reason() string
- type ResourceGetRequest
- func (*ResourceGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceGetRequest) GetId() string
- func (*ResourceGetRequest) ProtoMessage()
- func (x *ResourceGetRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceGetRequest) Reset()
- func (x *ResourceGetRequest) String() string
- func (m *ResourceGetRequest) Validate() error
- func (m *ResourceGetRequest) ValidateAll() error
- type ResourceGetRequestMultiError
- type ResourceGetRequestValidationError
- func (e ResourceGetRequestValidationError) Cause() error
- func (e ResourceGetRequestValidationError) Error() string
- func (e ResourceGetRequestValidationError) ErrorName() string
- func (e ResourceGetRequestValidationError) Field() string
- func (e ResourceGetRequestValidationError) Key() bool
- func (e ResourceGetRequestValidationError) Reason() string
- type ResourceGetResponse
- func (*ResourceGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceGetResponse) GetResource() *Resource
- func (*ResourceGetResponse) ProtoMessage()
- func (x *ResourceGetResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceGetResponse) Reset()
- func (x *ResourceGetResponse) String() string
- func (m *ResourceGetResponse) Validate() error
- func (m *ResourceGetResponse) ValidateAll() error
- type ResourceGetResponseMultiError
- type ResourceGetResponseValidationError
- func (e ResourceGetResponseValidationError) Cause() error
- func (e ResourceGetResponseValidationError) Error() string
- func (e ResourceGetResponseValidationError) ErrorName() string
- func (e ResourceGetResponseValidationError) Field() string
- func (e ResourceGetResponseValidationError) Key() bool
- func (e ResourceGetResponseValidationError) Reason() string
- type ResourceMultiError
- type ResourceUpdateRequest
- func (*ResourceUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUpdateRequest) GetAttributes() []*Attribute
- func (x *ResourceUpdateRequest) GetId() string
- func (x *ResourceUpdateRequest) GetKind() string
- func (x *ResourceUpdateRequest) GetValue() string
- func (*ResourceUpdateRequest) ProtoMessage()
- func (x *ResourceUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ResourceUpdateRequest) Reset()
- func (x *ResourceUpdateRequest) String() string
- func (m *ResourceUpdateRequest) Validate() error
- func (m *ResourceUpdateRequest) ValidateAll() error
- type ResourceUpdateRequestMultiError
- type ResourceUpdateRequestValidationError
- func (e ResourceUpdateRequestValidationError) Cause() error
- func (e ResourceUpdateRequestValidationError) Error() string
- func (e ResourceUpdateRequestValidationError) ErrorName() string
- func (e ResourceUpdateRequestValidationError) Field() string
- func (e ResourceUpdateRequestValidationError) Key() bool
- func (e ResourceUpdateRequestValidationError) Reason() string
- type ResourceUpdateResponse
- func (*ResourceUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceUpdateResponse) GetResource() *Resource
- func (*ResourceUpdateResponse) ProtoMessage()
- func (x *ResourceUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceUpdateResponse) Reset()
- func (x *ResourceUpdateResponse) String() string
- func (m *ResourceUpdateResponse) Validate() error
- func (m *ResourceUpdateResponse) ValidateAll() error
- type ResourceUpdateResponseMultiError
- type ResourceUpdateResponseValidationError
- func (e ResourceUpdateResponseValidationError) Cause() error
- func (e ResourceUpdateResponseValidationError) Error() string
- func (e ResourceUpdateResponseValidationError) ErrorName() string
- func (e ResourceUpdateResponseValidationError) Field() string
- func (e ResourceUpdateResponseValidationError) Key() bool
- func (e ResourceUpdateResponseValidationError) Reason() string
- type ResourceValidationError
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetId() string
- func (x *Role) GetPolicies() []string
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleCreateRequest
- func (*RoleCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleCreateRequest) GetId() string
- func (x *RoleCreateRequest) GetPolicies() []string
- func (*RoleCreateRequest) ProtoMessage()
- func (x *RoleCreateRequest) ProtoReflect() protoreflect.Message
- func (x *RoleCreateRequest) Reset()
- func (x *RoleCreateRequest) String() string
- func (m *RoleCreateRequest) Validate() error
- func (m *RoleCreateRequest) ValidateAll() error
- type RoleCreateRequestMultiError
- type RoleCreateRequestValidationError
- func (e RoleCreateRequestValidationError) Cause() error
- func (e RoleCreateRequestValidationError) Error() string
- func (e RoleCreateRequestValidationError) ErrorName() string
- func (e RoleCreateRequestValidationError) Field() string
- func (e RoleCreateRequestValidationError) Key() bool
- func (e RoleCreateRequestValidationError) Reason() string
- type RoleCreateResponse
- func (*RoleCreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleCreateResponse) GetRole() *Role
- func (*RoleCreateResponse) ProtoMessage()
- func (x *RoleCreateResponse) ProtoReflect() protoreflect.Message
- func (x *RoleCreateResponse) Reset()
- func (x *RoleCreateResponse) String() string
- func (m *RoleCreateResponse) Validate() error
- func (m *RoleCreateResponse) ValidateAll() error
- type RoleCreateResponseMultiError
- type RoleCreateResponseValidationError
- func (e RoleCreateResponseValidationError) Cause() error
- func (e RoleCreateResponseValidationError) Error() string
- func (e RoleCreateResponseValidationError) ErrorName() string
- func (e RoleCreateResponseValidationError) Field() string
- func (e RoleCreateResponseValidationError) Key() bool
- func (e RoleCreateResponseValidationError) Reason() string
- type RoleDeleteRequest
- func (*RoleDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleDeleteRequest) GetId() string
- func (*RoleDeleteRequest) ProtoMessage()
- func (x *RoleDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *RoleDeleteRequest) Reset()
- func (x *RoleDeleteRequest) String() string
- func (m *RoleDeleteRequest) Validate() error
- func (m *RoleDeleteRequest) ValidateAll() error
- type RoleDeleteRequestMultiError
- type RoleDeleteRequestValidationError
- func (e RoleDeleteRequestValidationError) Cause() error
- func (e RoleDeleteRequestValidationError) Error() string
- func (e RoleDeleteRequestValidationError) ErrorName() string
- func (e RoleDeleteRequestValidationError) Field() string
- func (e RoleDeleteRequestValidationError) Key() bool
- func (e RoleDeleteRequestValidationError) Reason() string
- type RoleDeleteResponse
- func (*RoleDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleDeleteResponse) GetSuccess() bool
- func (*RoleDeleteResponse) ProtoMessage()
- func (x *RoleDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *RoleDeleteResponse) Reset()
- func (x *RoleDeleteResponse) String() string
- func (m *RoleDeleteResponse) Validate() error
- func (m *RoleDeleteResponse) ValidateAll() error
- type RoleDeleteResponseMultiError
- type RoleDeleteResponseValidationError
- func (e RoleDeleteResponseValidationError) Cause() error
- func (e RoleDeleteResponseValidationError) Error() string
- func (e RoleDeleteResponseValidationError) ErrorName() string
- func (e RoleDeleteResponseValidationError) Field() string
- func (e RoleDeleteResponseValidationError) Key() bool
- func (e RoleDeleteResponseValidationError) Reason() string
- type RoleGetRequest
- func (*RoleGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGetRequest) GetId() string
- func (*RoleGetRequest) ProtoMessage()
- func (x *RoleGetRequest) ProtoReflect() protoreflect.Message
- func (x *RoleGetRequest) Reset()
- func (x *RoleGetRequest) String() string
- func (m *RoleGetRequest) Validate() error
- func (m *RoleGetRequest) ValidateAll() error
- type RoleGetRequestMultiError
- type RoleGetRequestValidationError
- func (e RoleGetRequestValidationError) Cause() error
- func (e RoleGetRequestValidationError) Error() string
- func (e RoleGetRequestValidationError) ErrorName() string
- func (e RoleGetRequestValidationError) Field() string
- func (e RoleGetRequestValidationError) Key() bool
- func (e RoleGetRequestValidationError) Reason() string
- type RoleGetResponse
- func (*RoleGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleGetResponse) GetRole() *Role
- func (*RoleGetResponse) ProtoMessage()
- func (x *RoleGetResponse) ProtoReflect() protoreflect.Message
- func (x *RoleGetResponse) Reset()
- func (x *RoleGetResponse) String() string
- func (m *RoleGetResponse) Validate() error
- func (m *RoleGetResponse) ValidateAll() error
- type RoleGetResponseMultiError
- type RoleGetResponseValidationError
- func (e RoleGetResponseValidationError) Cause() error
- func (e RoleGetResponseValidationError) Error() string
- func (e RoleGetResponseValidationError) ErrorName() string
- func (e RoleGetResponseValidationError) Field() string
- func (e RoleGetResponseValidationError) Key() bool
- func (e RoleGetResponseValidationError) Reason() string
- type RoleMultiError
- type RoleUpdateRequest
- func (*RoleUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RoleUpdateRequest) GetId() string
- func (x *RoleUpdateRequest) GetPolicies() []string
- func (*RoleUpdateRequest) ProtoMessage()
- func (x *RoleUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *RoleUpdateRequest) Reset()
- func (x *RoleUpdateRequest) String() string
- func (m *RoleUpdateRequest) Validate() error
- func (m *RoleUpdateRequest) ValidateAll() error
- type RoleUpdateRequestMultiError
- type RoleUpdateRequestValidationError
- func (e RoleUpdateRequestValidationError) Cause() error
- func (e RoleUpdateRequestValidationError) Error() string
- func (e RoleUpdateRequestValidationError) ErrorName() string
- func (e RoleUpdateRequestValidationError) Field() string
- func (e RoleUpdateRequestValidationError) Key() bool
- func (e RoleUpdateRequestValidationError) Reason() string
- type RoleUpdateResponse
- func (*RoleUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RoleUpdateResponse) GetRole() *Role
- func (*RoleUpdateResponse) ProtoMessage()
- func (x *RoleUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *RoleUpdateResponse) Reset()
- func (x *RoleUpdateResponse) String() string
- func (m *RoleUpdateResponse) Validate() error
- func (m *RoleUpdateResponse) ValidateAll() error
- type RoleUpdateResponseMultiError
- type RoleUpdateResponseValidationError
- func (e RoleUpdateResponseValidationError) Cause() error
- func (e RoleUpdateResponseValidationError) Error() string
- func (e RoleUpdateResponseValidationError) ErrorName() string
- func (e RoleUpdateResponseValidationError) Field() string
- func (e RoleUpdateResponseValidationError) Key() bool
- func (e RoleUpdateResponseValidationError) Reason() string
- type RoleValidationError
- type UnimplementedApiServer
- func (UnimplementedApiServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (UnimplementedApiServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedApiServer) PolicyCreate(context.Context, *PolicyCreateRequest) (*PolicyCreateResponse, error)
- func (UnimplementedApiServer) PolicyDelete(context.Context, *PolicyDeleteRequest) (*PolicyDeleteResponse, error)
- func (UnimplementedApiServer) PolicyGet(context.Context, *PolicyGetRequest) (*PolicyGetResponse, error)
- func (UnimplementedApiServer) PolicyUpdate(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error)
- func (UnimplementedApiServer) PrincipalCreate(context.Context, *PrincipalCreateRequest) (*PrincipalCreateResponse, error)
- func (UnimplementedApiServer) PrincipalDelete(context.Context, *PrincipalDeleteRequest) (*PrincipalDeleteResponse, error)
- func (UnimplementedApiServer) PrincipalGet(context.Context, *PrincipalGetRequest) (*PrincipalGetResponse, error)
- func (UnimplementedApiServer) PrincipalUpdate(context.Context, *PrincipalUpdateRequest) (*PrincipalUpdateResponse, error)
- func (UnimplementedApiServer) ResourceCreate(context.Context, *ResourceCreateRequest) (*ResourceCreateResponse, error)
- func (UnimplementedApiServer) ResourceDelete(context.Context, *ResourceDeleteRequest) (*ResourceDeleteResponse, error)
- func (UnimplementedApiServer) ResourceGet(context.Context, *ResourceGetRequest) (*ResourceGetResponse, error)
- func (UnimplementedApiServer) ResourceUpdate(context.Context, *ResourceUpdateRequest) (*ResourceUpdateResponse, error)
- func (UnimplementedApiServer) RoleCreate(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error)
- func (UnimplementedApiServer) RoleDelete(context.Context, *RoleDeleteRequest) (*RoleDeleteResponse, error)
- func (UnimplementedApiServer) RoleGet(context.Context, *RoleGetRequest) (*RoleGetResponse, error)
- func (UnimplementedApiServer) RoleUpdate(context.Context, *RoleUpdateRequest) (*RoleUpdateResponse, error)
- type UnsafeApiServer
Constants ¶
This section is empty.
Variables ¶
var Api_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authz.Api", HandlerType: (*ApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _Api_Authenticate_Handler, }, { MethodName: "Check", Handler: _Api_Check_Handler, }, { MethodName: "PolicyCreate", Handler: _Api_PolicyCreate_Handler, }, { MethodName: "PolicyGet", Handler: _Api_PolicyGet_Handler, }, { MethodName: "PolicyDelete", Handler: _Api_PolicyDelete_Handler, }, { MethodName: "PolicyUpdate", Handler: _Api_PolicyUpdate_Handler, }, { MethodName: "PrincipalCreate", Handler: _Api_PrincipalCreate_Handler, }, { MethodName: "PrincipalGet", Handler: _Api_PrincipalGet_Handler, }, { MethodName: "PrincipalDelete", Handler: _Api_PrincipalDelete_Handler, }, { MethodName: "PrincipalUpdate", Handler: _Api_PrincipalUpdate_Handler, }, { MethodName: "ResourceCreate", Handler: _Api_ResourceCreate_Handler, }, { MethodName: "ResourceGet", Handler: _Api_ResourceGet_Handler, }, { MethodName: "ResourceDelete", Handler: _Api_ResourceDelete_Handler, }, { MethodName: "ResourceUpdate", Handler: _Api_ResourceUpdate_Handler, }, { MethodName: "RoleCreate", Handler: _Api_RoleCreate_Handler, }, { MethodName: "RoleGet", Handler: _Api_RoleGet_Handler, }, { MethodName: "RoleDelete", Handler: _Api_RoleDelete_Handler, }, { MethodName: "RoleUpdate", Handler: _Api_RoleUpdate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
Api_ServiceDesc is the grpc.ServiceDesc for Api service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterApiServer ¶
func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer)
Types ¶
type ApiClient ¶
type ApiClient interface { Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) PolicyCreate(ctx context.Context, in *PolicyCreateRequest, opts ...grpc.CallOption) (*PolicyCreateResponse, error) PolicyGet(ctx context.Context, in *PolicyGetRequest, opts ...grpc.CallOption) (*PolicyGetResponse, error) PolicyDelete(ctx context.Context, in *PolicyDeleteRequest, opts ...grpc.CallOption) (*PolicyDeleteResponse, error) PolicyUpdate(ctx context.Context, in *PolicyUpdateRequest, opts ...grpc.CallOption) (*PolicyUpdateResponse, error) PrincipalCreate(ctx context.Context, in *PrincipalCreateRequest, opts ...grpc.CallOption) (*PrincipalCreateResponse, error) PrincipalGet(ctx context.Context, in *PrincipalGetRequest, opts ...grpc.CallOption) (*PrincipalGetResponse, error) PrincipalDelete(ctx context.Context, in *PrincipalDeleteRequest, opts ...grpc.CallOption) (*PrincipalDeleteResponse, error) PrincipalUpdate(ctx context.Context, in *PrincipalUpdateRequest, opts ...grpc.CallOption) (*PrincipalUpdateResponse, error) ResourceCreate(ctx context.Context, in *ResourceCreateRequest, opts ...grpc.CallOption) (*ResourceCreateResponse, error) ResourceGet(ctx context.Context, in *ResourceGetRequest, opts ...grpc.CallOption) (*ResourceGetResponse, error) ResourceDelete(ctx context.Context, in *ResourceDeleteRequest, opts ...grpc.CallOption) (*ResourceDeleteResponse, error) ResourceUpdate(ctx context.Context, in *ResourceUpdateRequest, opts ...grpc.CallOption) (*ResourceUpdateResponse, error) RoleCreate(ctx context.Context, in *RoleCreateRequest, opts ...grpc.CallOption) (*RoleCreateResponse, error) RoleGet(ctx context.Context, in *RoleGetRequest, opts ...grpc.CallOption) (*RoleGetResponse, error) RoleDelete(ctx context.Context, in *RoleDeleteRequest, opts ...grpc.CallOption) (*RoleDeleteResponse, error) RoleUpdate(ctx context.Context, in *RoleUpdateRequest, opts ...grpc.CallOption) (*RoleUpdateResponse, error) }
ApiClient is the client API for Api service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewApiClient ¶
func NewApiClient(cc grpc.ClientConnInterface) ApiClient
type ApiServer ¶
type ApiServer interface { Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) Check(context.Context, *CheckRequest) (*CheckResponse, error) PolicyCreate(context.Context, *PolicyCreateRequest) (*PolicyCreateResponse, error) PolicyGet(context.Context, *PolicyGetRequest) (*PolicyGetResponse, error) PolicyDelete(context.Context, *PolicyDeleteRequest) (*PolicyDeleteResponse, error) PolicyUpdate(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error) PrincipalCreate(context.Context, *PrincipalCreateRequest) (*PrincipalCreateResponse, error) PrincipalGet(context.Context, *PrincipalGetRequest) (*PrincipalGetResponse, error) PrincipalDelete(context.Context, *PrincipalDeleteRequest) (*PrincipalDeleteResponse, error) PrincipalUpdate(context.Context, *PrincipalUpdateRequest) (*PrincipalUpdateResponse, error) ResourceCreate(context.Context, *ResourceCreateRequest) (*ResourceCreateResponse, error) ResourceGet(context.Context, *ResourceGetRequest) (*ResourceGetResponse, error) ResourceDelete(context.Context, *ResourceDeleteRequest) (*ResourceDeleteResponse, error) ResourceUpdate(context.Context, *ResourceUpdateRequest) (*ResourceUpdateResponse, error) RoleCreate(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error) RoleGet(context.Context, *RoleGetRequest) (*RoleGetResponse, error) RoleDelete(context.Context, *RoleDeleteRequest) (*RoleDeleteResponse, error) RoleUpdate(context.Context, *RoleUpdateRequest) (*RoleUpdateResponse, error) // contains filtered or unexported methods }
ApiServer is the server API for Api service. All implementations must embed UnimplementedApiServer for forward compatibility
type Attribute ¶
type Attribute struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
func (*Attribute) Validate ¶
Validate checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attribute) ValidateAll ¶
ValidateAll checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttributeMultiError, or nil if none found.
type AttributeMultiError ¶
type AttributeMultiError []error
AttributeMultiError is an error wrapping multiple validation errors returned by Attribute.ValidateAll() if the designated constraints aren't met.
func (AttributeMultiError) AllErrors ¶
func (m AttributeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttributeMultiError) Error ¶
func (m AttributeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttributeValidationError ¶
type AttributeValidationError struct {
// contains filtered or unexported fields
}
AttributeValidationError is the validation error returned by Attribute.Validate if the designated constraints aren't met.
func (AttributeValidationError) Cause ¶
func (e AttributeValidationError) Cause() error
Cause function returns cause value.
func (AttributeValidationError) Error ¶
func (e AttributeValidationError) Error() string
Error satisfies the builtin error interface
func (AttributeValidationError) ErrorName ¶
func (e AttributeValidationError) ErrorName() string
ErrorName returns error name.
func (AttributeValidationError) Field ¶
func (e AttributeValidationError) Field() string
Field function returns field value.
func (AttributeValidationError) Key ¶
func (e AttributeValidationError) Key() bool
Key function returns key value.
func (AttributeValidationError) Reason ¶
func (e AttributeValidationError) Reason() string
Reason function returns reason value.
type AuthenticateRequest ¶
type AuthenticateRequest struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetClientId ¶
func (x *AuthenticateRequest) GetClientId() string
func (*AuthenticateRequest) GetClientSecret ¶
func (x *AuthenticateRequest) GetClientSecret() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
func (*AuthenticateRequest) Validate ¶
func (m *AuthenticateRequest) Validate() error
Validate checks the field values on AuthenticateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthenticateRequest) ValidateAll ¶
func (m *AuthenticateRequest) ValidateAll() error
ValidateAll checks the field values on AuthenticateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticateRequestMultiError, or nil if none found.
type AuthenticateRequestMultiError ¶
type AuthenticateRequestMultiError []error
AuthenticateRequestMultiError is an error wrapping multiple validation errors returned by AuthenticateRequest.ValidateAll() if the designated constraints aren't met.
func (AuthenticateRequestMultiError) AllErrors ¶
func (m AuthenticateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthenticateRequestMultiError) Error ¶
func (m AuthenticateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthenticateRequestValidationError ¶
type AuthenticateRequestValidationError struct {
// contains filtered or unexported fields
}
AuthenticateRequestValidationError is the validation error returned by AuthenticateRequest.Validate if the designated constraints aren't met.
func (AuthenticateRequestValidationError) Cause ¶
func (e AuthenticateRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthenticateRequestValidationError) Error ¶
func (e AuthenticateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticateRequestValidationError) ErrorName ¶
func (e AuthenticateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticateRequestValidationError) Field ¶
func (e AuthenticateRequestValidationError) Field() string
Field function returns field value.
func (AuthenticateRequestValidationError) Key ¶
func (e AuthenticateRequestValidationError) Key() bool
Key function returns key value.
func (AuthenticateRequestValidationError) Reason ¶
func (e AuthenticateRequestValidationError) Reason() string
Reason function returns reason value.
type AuthenticateResponse ¶
type AuthenticateResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetExpiresIn ¶
func (x *AuthenticateResponse) GetExpiresIn() int64
func (*AuthenticateResponse) GetToken ¶
func (x *AuthenticateResponse) GetToken() string
func (*AuthenticateResponse) GetType ¶
func (x *AuthenticateResponse) GetType() string
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (x *AuthenticateResponse) String() string
func (*AuthenticateResponse) Validate ¶
func (m *AuthenticateResponse) Validate() error
Validate checks the field values on AuthenticateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthenticateResponse) ValidateAll ¶
func (m *AuthenticateResponse) ValidateAll() error
ValidateAll checks the field values on AuthenticateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthenticateResponseMultiError, or nil if none found.
type AuthenticateResponseMultiError ¶
type AuthenticateResponseMultiError []error
AuthenticateResponseMultiError is an error wrapping multiple validation errors returned by AuthenticateResponse.ValidateAll() if the designated constraints aren't met.
func (AuthenticateResponseMultiError) AllErrors ¶
func (m AuthenticateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthenticateResponseMultiError) Error ¶
func (m AuthenticateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthenticateResponseValidationError ¶
type AuthenticateResponseValidationError struct {
// contains filtered or unexported fields
}
AuthenticateResponseValidationError is the validation error returned by AuthenticateResponse.Validate if the designated constraints aren't met.
func (AuthenticateResponseValidationError) Cause ¶
func (e AuthenticateResponseValidationError) Cause() error
Cause function returns cause value.
func (AuthenticateResponseValidationError) Error ¶
func (e AuthenticateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AuthenticateResponseValidationError) ErrorName ¶
func (e AuthenticateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AuthenticateResponseValidationError) Field ¶
func (e AuthenticateResponseValidationError) Field() string
Field function returns field value.
func (AuthenticateResponseValidationError) Key ¶
func (e AuthenticateResponseValidationError) Key() bool
Key function returns key value.
func (AuthenticateResponseValidationError) Reason ¶
func (e AuthenticateResponseValidationError) Reason() string
Reason function returns reason value.
type Check ¶
type Check struct { Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` ResourceKind string `protobuf:"bytes,2,opt,name=resource_kind,json=resourceKind,proto3" json:"resource_kind,omitempty"` ResourceValue string `protobuf:"bytes,3,opt,name=resource_value,json=resourceValue,proto3" json:"resource_value,omitempty"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // contains filtered or unexported fields }
func (*Check) Descriptor
deprecated
func (*Check) GetPrincipal ¶
func (*Check) GetResourceKind ¶
func (*Check) GetResourceValue ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
func (*Check) Validate ¶
Validate checks the field values on Check with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Check) ValidateAll ¶
ValidateAll checks the field values on Check with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckMultiError, or nil if none found.
type CheckAnswer ¶
type CheckAnswer struct { Principal string `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` ResourceKind string `protobuf:"bytes,2,opt,name=resource_kind,json=resourceKind,proto3" json:"resource_kind,omitempty"` ResourceValue string `protobuf:"bytes,3,opt,name=resource_value,json=resourceValue,proto3" json:"resource_value,omitempty"` Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` IsAllowed bool `protobuf:"varint,5,opt,name=is_allowed,json=isAllowed,proto3" json:"is_allowed,omitempty"` // contains filtered or unexported fields }
func (*CheckAnswer) Descriptor
deprecated
func (*CheckAnswer) Descriptor() ([]byte, []int)
Deprecated: Use CheckAnswer.ProtoReflect.Descriptor instead.
func (*CheckAnswer) GetAction ¶
func (x *CheckAnswer) GetAction() string
func (*CheckAnswer) GetIsAllowed ¶
func (x *CheckAnswer) GetIsAllowed() bool
func (*CheckAnswer) GetPrincipal ¶
func (x *CheckAnswer) GetPrincipal() string
func (*CheckAnswer) GetResourceKind ¶
func (x *CheckAnswer) GetResourceKind() string
func (*CheckAnswer) GetResourceValue ¶
func (x *CheckAnswer) GetResourceValue() string
func (*CheckAnswer) ProtoMessage ¶
func (*CheckAnswer) ProtoMessage()
func (*CheckAnswer) ProtoReflect ¶
func (x *CheckAnswer) ProtoReflect() protoreflect.Message
func (*CheckAnswer) Reset ¶
func (x *CheckAnswer) Reset()
func (*CheckAnswer) String ¶
func (x *CheckAnswer) String() string
func (*CheckAnswer) Validate ¶
func (m *CheckAnswer) Validate() error
Validate checks the field values on CheckAnswer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckAnswer) ValidateAll ¶
func (m *CheckAnswer) ValidateAll() error
ValidateAll checks the field values on CheckAnswer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckAnswerMultiError, or nil if none found.
type CheckAnswerMultiError ¶
type CheckAnswerMultiError []error
CheckAnswerMultiError is an error wrapping multiple validation errors returned by CheckAnswer.ValidateAll() if the designated constraints aren't met.
func (CheckAnswerMultiError) AllErrors ¶
func (m CheckAnswerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckAnswerMultiError) Error ¶
func (m CheckAnswerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckAnswerValidationError ¶
type CheckAnswerValidationError struct {
// contains filtered or unexported fields
}
CheckAnswerValidationError is the validation error returned by CheckAnswer.Validate if the designated constraints aren't met.
func (CheckAnswerValidationError) Cause ¶
func (e CheckAnswerValidationError) Cause() error
Cause function returns cause value.
func (CheckAnswerValidationError) Error ¶
func (e CheckAnswerValidationError) Error() string
Error satisfies the builtin error interface
func (CheckAnswerValidationError) ErrorName ¶
func (e CheckAnswerValidationError) ErrorName() string
ErrorName returns error name.
func (CheckAnswerValidationError) Field ¶
func (e CheckAnswerValidationError) Field() string
Field function returns field value.
func (CheckAnswerValidationError) Key ¶
func (e CheckAnswerValidationError) Key() bool
Key function returns key value.
func (CheckAnswerValidationError) Reason ¶
func (e CheckAnswerValidationError) Reason() string
Reason function returns reason value.
type CheckMultiError ¶
type CheckMultiError []error
CheckMultiError is an error wrapping multiple validation errors returned by Check.ValidateAll() if the designated constraints aren't met.
func (CheckMultiError) AllErrors ¶
func (m CheckMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckMultiError) Error ¶
func (m CheckMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckRequest ¶
type CheckRequest struct { Checks []*Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetChecks ¶
func (x *CheckRequest) GetChecks() []*Check
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
func (*CheckRequest) Validate ¶
func (m *CheckRequest) Validate() error
Validate checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckRequest) ValidateAll ¶
func (m *CheckRequest) ValidateAll() error
ValidateAll checks the field values on CheckRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckRequestMultiError, or nil if none found.
type CheckRequestMultiError ¶
type CheckRequestMultiError []error
CheckRequestMultiError is an error wrapping multiple validation errors returned by CheckRequest.ValidateAll() if the designated constraints aren't met.
func (CheckRequestMultiError) AllErrors ¶
func (m CheckRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckRequestMultiError) Error ¶
func (m CheckRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckRequestValidationError ¶
type CheckRequestValidationError struct {
// contains filtered or unexported fields
}
CheckRequestValidationError is the validation error returned by CheckRequest.Validate if the designated constraints aren't met.
func (CheckRequestValidationError) Cause ¶
func (e CheckRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckRequestValidationError) Error ¶
func (e CheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckRequestValidationError) ErrorName ¶
func (e CheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckRequestValidationError) Field ¶
func (e CheckRequestValidationError) Field() string
Field function returns field value.
func (CheckRequestValidationError) Key ¶
func (e CheckRequestValidationError) Key() bool
Key function returns key value.
func (CheckRequestValidationError) Reason ¶
func (e CheckRequestValidationError) Reason() string
Reason function returns reason value.
type CheckResponse ¶
type CheckResponse struct { Checks []*CheckAnswer `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetChecks ¶
func (x *CheckResponse) GetChecks() []*CheckAnswer
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
func (*CheckResponse) Validate ¶
func (m *CheckResponse) Validate() error
Validate checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CheckResponse) ValidateAll ¶
func (m *CheckResponse) ValidateAll() error
ValidateAll checks the field values on CheckResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CheckResponseMultiError, or nil if none found.
type CheckResponseMultiError ¶
type CheckResponseMultiError []error
CheckResponseMultiError is an error wrapping multiple validation errors returned by CheckResponse.ValidateAll() if the designated constraints aren't met.
func (CheckResponseMultiError) AllErrors ¶
func (m CheckResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CheckResponseMultiError) Error ¶
func (m CheckResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CheckResponseValidationError ¶
type CheckResponseValidationError struct {
// contains filtered or unexported fields
}
CheckResponseValidationError is the validation error returned by CheckResponse.Validate if the designated constraints aren't met.
func (CheckResponseValidationError) Cause ¶
func (e CheckResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckResponseValidationError) Error ¶
func (e CheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckResponseValidationError) ErrorName ¶
func (e CheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckResponseValidationError) Field ¶
func (e CheckResponseValidationError) Field() string
Field function returns field value.
func (CheckResponseValidationError) Key ¶
func (e CheckResponseValidationError) Key() bool
Key function returns key value.
func (CheckResponseValidationError) Reason ¶
func (e CheckResponseValidationError) Reason() string
Reason function returns reason value.
type CheckValidationError ¶
type CheckValidationError struct {
// contains filtered or unexported fields
}
CheckValidationError is the validation error returned by Check.Validate if the designated constraints aren't met.
func (CheckValidationError) Cause ¶
func (e CheckValidationError) Cause() error
Cause function returns cause value.
func (CheckValidationError) Error ¶
func (e CheckValidationError) Error() string
Error satisfies the builtin error interface
func (CheckValidationError) ErrorName ¶
func (e CheckValidationError) ErrorName() string
ErrorName returns error name.
func (CheckValidationError) Field ¶
func (e CheckValidationError) Field() string
Field function returns field value.
func (CheckValidationError) Key ¶
func (e CheckValidationError) Key() bool
Key function returns key value.
func (CheckValidationError) Reason ¶
func (e CheckValidationError) Reason() string
Reason function returns reason value.
type Policy ¶
type Policy struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` AttributeRules []string `protobuf:"bytes,4,rep,name=attribute_rules,json=attributeRules,proto3" json:"attribute_rules,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetActions ¶
func (*Policy) GetAttributeRules ¶
func (*Policy) GetResources ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
func (*Policy) Validate ¶
Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Policy) ValidateAll ¶
ValidateAll checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyMultiError, or nil if none found.
type PolicyCreateRequest ¶
type PolicyCreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` AttributeRules []string `protobuf:"bytes,4,rep,name=attribute_rules,json=attributeRules,proto3" json:"attribute_rules,omitempty"` // contains filtered or unexported fields }
func (*PolicyCreateRequest) Descriptor
deprecated
func (*PolicyCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyCreateRequest.ProtoReflect.Descriptor instead.
func (*PolicyCreateRequest) GetActions ¶
func (x *PolicyCreateRequest) GetActions() []string
func (*PolicyCreateRequest) GetAttributeRules ¶
func (x *PolicyCreateRequest) GetAttributeRules() []string
func (*PolicyCreateRequest) GetId ¶
func (x *PolicyCreateRequest) GetId() string
func (*PolicyCreateRequest) GetResources ¶
func (x *PolicyCreateRequest) GetResources() []string
func (*PolicyCreateRequest) ProtoMessage ¶
func (*PolicyCreateRequest) ProtoMessage()
func (*PolicyCreateRequest) ProtoReflect ¶
func (x *PolicyCreateRequest) ProtoReflect() protoreflect.Message
func (*PolicyCreateRequest) Reset ¶
func (x *PolicyCreateRequest) Reset()
func (*PolicyCreateRequest) String ¶
func (x *PolicyCreateRequest) String() string
func (*PolicyCreateRequest) Validate ¶
func (m *PolicyCreateRequest) Validate() error
Validate checks the field values on PolicyCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyCreateRequest) ValidateAll ¶
func (m *PolicyCreateRequest) ValidateAll() error
ValidateAll checks the field values on PolicyCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyCreateRequestMultiError, or nil if none found.
type PolicyCreateRequestMultiError ¶
type PolicyCreateRequestMultiError []error
PolicyCreateRequestMultiError is an error wrapping multiple validation errors returned by PolicyCreateRequest.ValidateAll() if the designated constraints aren't met.
func (PolicyCreateRequestMultiError) AllErrors ¶
func (m PolicyCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyCreateRequestMultiError) Error ¶
func (m PolicyCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyCreateRequestValidationError ¶
type PolicyCreateRequestValidationError struct {
// contains filtered or unexported fields
}
PolicyCreateRequestValidationError is the validation error returned by PolicyCreateRequest.Validate if the designated constraints aren't met.
func (PolicyCreateRequestValidationError) Cause ¶
func (e PolicyCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (PolicyCreateRequestValidationError) Error ¶
func (e PolicyCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyCreateRequestValidationError) ErrorName ¶
func (e PolicyCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyCreateRequestValidationError) Field ¶
func (e PolicyCreateRequestValidationError) Field() string
Field function returns field value.
func (PolicyCreateRequestValidationError) Key ¶
func (e PolicyCreateRequestValidationError) Key() bool
Key function returns key value.
func (PolicyCreateRequestValidationError) Reason ¶
func (e PolicyCreateRequestValidationError) Reason() string
Reason function returns reason value.
type PolicyCreateResponse ¶
type PolicyCreateResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*PolicyCreateResponse) Descriptor
deprecated
func (*PolicyCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyCreateResponse.ProtoReflect.Descriptor instead.
func (*PolicyCreateResponse) GetPolicy ¶
func (x *PolicyCreateResponse) GetPolicy() *Policy
func (*PolicyCreateResponse) ProtoMessage ¶
func (*PolicyCreateResponse) ProtoMessage()
func (*PolicyCreateResponse) ProtoReflect ¶
func (x *PolicyCreateResponse) ProtoReflect() protoreflect.Message
func (*PolicyCreateResponse) Reset ¶
func (x *PolicyCreateResponse) Reset()
func (*PolicyCreateResponse) String ¶
func (x *PolicyCreateResponse) String() string
func (*PolicyCreateResponse) Validate ¶
func (m *PolicyCreateResponse) Validate() error
Validate checks the field values on PolicyCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyCreateResponse) ValidateAll ¶
func (m *PolicyCreateResponse) ValidateAll() error
ValidateAll checks the field values on PolicyCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyCreateResponseMultiError, or nil if none found.
type PolicyCreateResponseMultiError ¶
type PolicyCreateResponseMultiError []error
PolicyCreateResponseMultiError is an error wrapping multiple validation errors returned by PolicyCreateResponse.ValidateAll() if the designated constraints aren't met.
func (PolicyCreateResponseMultiError) AllErrors ¶
func (m PolicyCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyCreateResponseMultiError) Error ¶
func (m PolicyCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyCreateResponseValidationError ¶
type PolicyCreateResponseValidationError struct {
// contains filtered or unexported fields
}
PolicyCreateResponseValidationError is the validation error returned by PolicyCreateResponse.Validate if the designated constraints aren't met.
func (PolicyCreateResponseValidationError) Cause ¶
func (e PolicyCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (PolicyCreateResponseValidationError) Error ¶
func (e PolicyCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyCreateResponseValidationError) ErrorName ¶
func (e PolicyCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyCreateResponseValidationError) Field ¶
func (e PolicyCreateResponseValidationError) Field() string
Field function returns field value.
func (PolicyCreateResponseValidationError) Key ¶
func (e PolicyCreateResponseValidationError) Key() bool
Key function returns key value.
func (PolicyCreateResponseValidationError) Reason ¶
func (e PolicyCreateResponseValidationError) Reason() string
Reason function returns reason value.
type PolicyDeleteRequest ¶
type PolicyDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PolicyDeleteRequest) Descriptor
deprecated
func (*PolicyDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyDeleteRequest.ProtoReflect.Descriptor instead.
func (*PolicyDeleteRequest) GetId ¶
func (x *PolicyDeleteRequest) GetId() string
func (*PolicyDeleteRequest) ProtoMessage ¶
func (*PolicyDeleteRequest) ProtoMessage()
func (*PolicyDeleteRequest) ProtoReflect ¶
func (x *PolicyDeleteRequest) ProtoReflect() protoreflect.Message
func (*PolicyDeleteRequest) Reset ¶
func (x *PolicyDeleteRequest) Reset()
func (*PolicyDeleteRequest) String ¶
func (x *PolicyDeleteRequest) String() string
func (*PolicyDeleteRequest) Validate ¶
func (m *PolicyDeleteRequest) Validate() error
Validate checks the field values on PolicyDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyDeleteRequest) ValidateAll ¶
func (m *PolicyDeleteRequest) ValidateAll() error
ValidateAll checks the field values on PolicyDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyDeleteRequestMultiError, or nil if none found.
type PolicyDeleteRequestMultiError ¶
type PolicyDeleteRequestMultiError []error
PolicyDeleteRequestMultiError is an error wrapping multiple validation errors returned by PolicyDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (PolicyDeleteRequestMultiError) AllErrors ¶
func (m PolicyDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyDeleteRequestMultiError) Error ¶
func (m PolicyDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyDeleteRequestValidationError ¶
type PolicyDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
PolicyDeleteRequestValidationError is the validation error returned by PolicyDeleteRequest.Validate if the designated constraints aren't met.
func (PolicyDeleteRequestValidationError) Cause ¶
func (e PolicyDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (PolicyDeleteRequestValidationError) Error ¶
func (e PolicyDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyDeleteRequestValidationError) ErrorName ¶
func (e PolicyDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyDeleteRequestValidationError) Field ¶
func (e PolicyDeleteRequestValidationError) Field() string
Field function returns field value.
func (PolicyDeleteRequestValidationError) Key ¶
func (e PolicyDeleteRequestValidationError) Key() bool
Key function returns key value.
func (PolicyDeleteRequestValidationError) Reason ¶
func (e PolicyDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type PolicyDeleteResponse ¶
type PolicyDeleteResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*PolicyDeleteResponse) Descriptor
deprecated
func (*PolicyDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyDeleteResponse.ProtoReflect.Descriptor instead.
func (*PolicyDeleteResponse) GetSuccess ¶
func (x *PolicyDeleteResponse) GetSuccess() bool
func (*PolicyDeleteResponse) ProtoMessage ¶
func (*PolicyDeleteResponse) ProtoMessage()
func (*PolicyDeleteResponse) ProtoReflect ¶
func (x *PolicyDeleteResponse) ProtoReflect() protoreflect.Message
func (*PolicyDeleteResponse) Reset ¶
func (x *PolicyDeleteResponse) Reset()
func (*PolicyDeleteResponse) String ¶
func (x *PolicyDeleteResponse) String() string
func (*PolicyDeleteResponse) Validate ¶
func (m *PolicyDeleteResponse) Validate() error
Validate checks the field values on PolicyDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyDeleteResponse) ValidateAll ¶
func (m *PolicyDeleteResponse) ValidateAll() error
ValidateAll checks the field values on PolicyDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyDeleteResponseMultiError, or nil if none found.
type PolicyDeleteResponseMultiError ¶
type PolicyDeleteResponseMultiError []error
PolicyDeleteResponseMultiError is an error wrapping multiple validation errors returned by PolicyDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (PolicyDeleteResponseMultiError) AllErrors ¶
func (m PolicyDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyDeleteResponseMultiError) Error ¶
func (m PolicyDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyDeleteResponseValidationError ¶
type PolicyDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
PolicyDeleteResponseValidationError is the validation error returned by PolicyDeleteResponse.Validate if the designated constraints aren't met.
func (PolicyDeleteResponseValidationError) Cause ¶
func (e PolicyDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (PolicyDeleteResponseValidationError) Error ¶
func (e PolicyDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyDeleteResponseValidationError) ErrorName ¶
func (e PolicyDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyDeleteResponseValidationError) Field ¶
func (e PolicyDeleteResponseValidationError) Field() string
Field function returns field value.
func (PolicyDeleteResponseValidationError) Key ¶
func (e PolicyDeleteResponseValidationError) Key() bool
Key function returns key value.
func (PolicyDeleteResponseValidationError) Reason ¶
func (e PolicyDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type PolicyGetRequest ¶
type PolicyGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PolicyGetRequest) Descriptor
deprecated
func (*PolicyGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyGetRequest.ProtoReflect.Descriptor instead.
func (*PolicyGetRequest) GetId ¶
func (x *PolicyGetRequest) GetId() string
func (*PolicyGetRequest) ProtoMessage ¶
func (*PolicyGetRequest) ProtoMessage()
func (*PolicyGetRequest) ProtoReflect ¶
func (x *PolicyGetRequest) ProtoReflect() protoreflect.Message
func (*PolicyGetRequest) Reset ¶
func (x *PolicyGetRequest) Reset()
func (*PolicyGetRequest) String ¶
func (x *PolicyGetRequest) String() string
func (*PolicyGetRequest) Validate ¶
func (m *PolicyGetRequest) Validate() error
Validate checks the field values on PolicyGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyGetRequest) ValidateAll ¶
func (m *PolicyGetRequest) ValidateAll() error
ValidateAll checks the field values on PolicyGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyGetRequestMultiError, or nil if none found.
type PolicyGetRequestMultiError ¶
type PolicyGetRequestMultiError []error
PolicyGetRequestMultiError is an error wrapping multiple validation errors returned by PolicyGetRequest.ValidateAll() if the designated constraints aren't met.
func (PolicyGetRequestMultiError) AllErrors ¶
func (m PolicyGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyGetRequestMultiError) Error ¶
func (m PolicyGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyGetRequestValidationError ¶
type PolicyGetRequestValidationError struct {
// contains filtered or unexported fields
}
PolicyGetRequestValidationError is the validation error returned by PolicyGetRequest.Validate if the designated constraints aren't met.
func (PolicyGetRequestValidationError) Cause ¶
func (e PolicyGetRequestValidationError) Cause() error
Cause function returns cause value.
func (PolicyGetRequestValidationError) Error ¶
func (e PolicyGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyGetRequestValidationError) ErrorName ¶
func (e PolicyGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyGetRequestValidationError) Field ¶
func (e PolicyGetRequestValidationError) Field() string
Field function returns field value.
func (PolicyGetRequestValidationError) Key ¶
func (e PolicyGetRequestValidationError) Key() bool
Key function returns key value.
func (PolicyGetRequestValidationError) Reason ¶
func (e PolicyGetRequestValidationError) Reason() string
Reason function returns reason value.
type PolicyGetResponse ¶
type PolicyGetResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*PolicyGetResponse) Descriptor
deprecated
func (*PolicyGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyGetResponse.ProtoReflect.Descriptor instead.
func (*PolicyGetResponse) GetPolicy ¶
func (x *PolicyGetResponse) GetPolicy() *Policy
func (*PolicyGetResponse) ProtoMessage ¶
func (*PolicyGetResponse) ProtoMessage()
func (*PolicyGetResponse) ProtoReflect ¶
func (x *PolicyGetResponse) ProtoReflect() protoreflect.Message
func (*PolicyGetResponse) Reset ¶
func (x *PolicyGetResponse) Reset()
func (*PolicyGetResponse) String ¶
func (x *PolicyGetResponse) String() string
func (*PolicyGetResponse) Validate ¶
func (m *PolicyGetResponse) Validate() error
Validate checks the field values on PolicyGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyGetResponse) ValidateAll ¶
func (m *PolicyGetResponse) ValidateAll() error
ValidateAll checks the field values on PolicyGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyGetResponseMultiError, or nil if none found.
type PolicyGetResponseMultiError ¶
type PolicyGetResponseMultiError []error
PolicyGetResponseMultiError is an error wrapping multiple validation errors returned by PolicyGetResponse.ValidateAll() if the designated constraints aren't met.
func (PolicyGetResponseMultiError) AllErrors ¶
func (m PolicyGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyGetResponseMultiError) Error ¶
func (m PolicyGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyGetResponseValidationError ¶
type PolicyGetResponseValidationError struct {
// contains filtered or unexported fields
}
PolicyGetResponseValidationError is the validation error returned by PolicyGetResponse.Validate if the designated constraints aren't met.
func (PolicyGetResponseValidationError) Cause ¶
func (e PolicyGetResponseValidationError) Cause() error
Cause function returns cause value.
func (PolicyGetResponseValidationError) Error ¶
func (e PolicyGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyGetResponseValidationError) ErrorName ¶
func (e PolicyGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyGetResponseValidationError) Field ¶
func (e PolicyGetResponseValidationError) Field() string
Field function returns field value.
func (PolicyGetResponseValidationError) Key ¶
func (e PolicyGetResponseValidationError) Key() bool
Key function returns key value.
func (PolicyGetResponseValidationError) Reason ¶
func (e PolicyGetResponseValidationError) Reason() string
Reason function returns reason value.
type PolicyMultiError ¶
type PolicyMultiError []error
PolicyMultiError is an error wrapping multiple validation errors returned by Policy.ValidateAll() if the designated constraints aren't met.
func (PolicyMultiError) AllErrors ¶
func (m PolicyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyMultiError) Error ¶
func (m PolicyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyUpdateRequest ¶
type PolicyUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` AttributeRules []string `protobuf:"bytes,4,rep,name=attribute_rules,json=attributeRules,proto3" json:"attribute_rules,omitempty"` // contains filtered or unexported fields }
func (*PolicyUpdateRequest) Descriptor
deprecated
func (*PolicyUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PolicyUpdateRequest.ProtoReflect.Descriptor instead.
func (*PolicyUpdateRequest) GetActions ¶
func (x *PolicyUpdateRequest) GetActions() []string
func (*PolicyUpdateRequest) GetAttributeRules ¶
func (x *PolicyUpdateRequest) GetAttributeRules() []string
func (*PolicyUpdateRequest) GetId ¶
func (x *PolicyUpdateRequest) GetId() string
func (*PolicyUpdateRequest) GetResources ¶
func (x *PolicyUpdateRequest) GetResources() []string
func (*PolicyUpdateRequest) ProtoMessage ¶
func (*PolicyUpdateRequest) ProtoMessage()
func (*PolicyUpdateRequest) ProtoReflect ¶
func (x *PolicyUpdateRequest) ProtoReflect() protoreflect.Message
func (*PolicyUpdateRequest) Reset ¶
func (x *PolicyUpdateRequest) Reset()
func (*PolicyUpdateRequest) String ¶
func (x *PolicyUpdateRequest) String() string
func (*PolicyUpdateRequest) Validate ¶
func (m *PolicyUpdateRequest) Validate() error
Validate checks the field values on PolicyUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyUpdateRequest) ValidateAll ¶
func (m *PolicyUpdateRequest) ValidateAll() error
ValidateAll checks the field values on PolicyUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyUpdateRequestMultiError, or nil if none found.
type PolicyUpdateRequestMultiError ¶
type PolicyUpdateRequestMultiError []error
PolicyUpdateRequestMultiError is an error wrapping multiple validation errors returned by PolicyUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (PolicyUpdateRequestMultiError) AllErrors ¶
func (m PolicyUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyUpdateRequestMultiError) Error ¶
func (m PolicyUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyUpdateRequestValidationError ¶
type PolicyUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
PolicyUpdateRequestValidationError is the validation error returned by PolicyUpdateRequest.Validate if the designated constraints aren't met.
func (PolicyUpdateRequestValidationError) Cause ¶
func (e PolicyUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (PolicyUpdateRequestValidationError) Error ¶
func (e PolicyUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyUpdateRequestValidationError) ErrorName ¶
func (e PolicyUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyUpdateRequestValidationError) Field ¶
func (e PolicyUpdateRequestValidationError) Field() string
Field function returns field value.
func (PolicyUpdateRequestValidationError) Key ¶
func (e PolicyUpdateRequestValidationError) Key() bool
Key function returns key value.
func (PolicyUpdateRequestValidationError) Reason ¶
func (e PolicyUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type PolicyUpdateResponse ¶
type PolicyUpdateResponse struct { Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*PolicyUpdateResponse) Descriptor
deprecated
func (*PolicyUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PolicyUpdateResponse.ProtoReflect.Descriptor instead.
func (*PolicyUpdateResponse) GetPolicy ¶
func (x *PolicyUpdateResponse) GetPolicy() *Policy
func (*PolicyUpdateResponse) ProtoMessage ¶
func (*PolicyUpdateResponse) ProtoMessage()
func (*PolicyUpdateResponse) ProtoReflect ¶
func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message
func (*PolicyUpdateResponse) Reset ¶
func (x *PolicyUpdateResponse) Reset()
func (*PolicyUpdateResponse) String ¶
func (x *PolicyUpdateResponse) String() string
func (*PolicyUpdateResponse) Validate ¶
func (m *PolicyUpdateResponse) Validate() error
Validate checks the field values on PolicyUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PolicyUpdateResponse) ValidateAll ¶
func (m *PolicyUpdateResponse) ValidateAll() error
ValidateAll checks the field values on PolicyUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyUpdateResponseMultiError, or nil if none found.
type PolicyUpdateResponseMultiError ¶
type PolicyUpdateResponseMultiError []error
PolicyUpdateResponseMultiError is an error wrapping multiple validation errors returned by PolicyUpdateResponse.ValidateAll() if the designated constraints aren't met.
func (PolicyUpdateResponseMultiError) AllErrors ¶
func (m PolicyUpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PolicyUpdateResponseMultiError) Error ¶
func (m PolicyUpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PolicyUpdateResponseValidationError ¶
type PolicyUpdateResponseValidationError struct {
// contains filtered or unexported fields
}
PolicyUpdateResponseValidationError is the validation error returned by PolicyUpdateResponse.Validate if the designated constraints aren't met.
func (PolicyUpdateResponseValidationError) Cause ¶
func (e PolicyUpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (PolicyUpdateResponseValidationError) Error ¶
func (e PolicyUpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyUpdateResponseValidationError) ErrorName ¶
func (e PolicyUpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyUpdateResponseValidationError) Field ¶
func (e PolicyUpdateResponseValidationError) Field() string
Field function returns field value.
func (PolicyUpdateResponseValidationError) Key ¶
func (e PolicyUpdateResponseValidationError) Key() bool
Key function returns key value.
func (PolicyUpdateResponseValidationError) Reason ¶
func (e PolicyUpdateResponseValidationError) Reason() string
Reason function returns reason value.
type PolicyValidationError ¶
type PolicyValidationError struct {
// contains filtered or unexported fields
}
PolicyValidationError is the validation error returned by Policy.Validate if the designated constraints aren't met.
func (PolicyValidationError) Cause ¶
func (e PolicyValidationError) Cause() error
Cause function returns cause value.
func (PolicyValidationError) Error ¶
func (e PolicyValidationError) Error() string
Error satisfies the builtin error interface
func (PolicyValidationError) ErrorName ¶
func (e PolicyValidationError) ErrorName() string
ErrorName returns error name.
func (PolicyValidationError) Field ¶
func (e PolicyValidationError) Field() string
Field function returns field value.
func (PolicyValidationError) Key ¶
func (e PolicyValidationError) Key() bool
Key function returns key value.
func (PolicyValidationError) Reason ¶
func (e PolicyValidationError) Reason() string
Reason function returns reason value.
type Principal ¶
type Principal struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Principal) Descriptor
deprecated
func (*Principal) GetAttributes ¶
func (*Principal) ProtoMessage ¶
func (*Principal) ProtoMessage()
func (*Principal) ProtoReflect ¶
func (x *Principal) ProtoReflect() protoreflect.Message
func (*Principal) Validate ¶
Validate checks the field values on Principal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Principal) ValidateAll ¶
ValidateAll checks the field values on Principal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalMultiError, or nil if none found.
type PrincipalCreateRequest ¶
type PrincipalCreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*PrincipalCreateRequest) Descriptor
deprecated
func (*PrincipalCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalCreateRequest.ProtoReflect.Descriptor instead.
func (*PrincipalCreateRequest) GetAttributes ¶
func (x *PrincipalCreateRequest) GetAttributes() []*Attribute
func (*PrincipalCreateRequest) GetId ¶
func (x *PrincipalCreateRequest) GetId() string
func (*PrincipalCreateRequest) GetRoles ¶
func (x *PrincipalCreateRequest) GetRoles() []string
func (*PrincipalCreateRequest) ProtoMessage ¶
func (*PrincipalCreateRequest) ProtoMessage()
func (*PrincipalCreateRequest) ProtoReflect ¶
func (x *PrincipalCreateRequest) ProtoReflect() protoreflect.Message
func (*PrincipalCreateRequest) Reset ¶
func (x *PrincipalCreateRequest) Reset()
func (*PrincipalCreateRequest) String ¶
func (x *PrincipalCreateRequest) String() string
func (*PrincipalCreateRequest) Validate ¶
func (m *PrincipalCreateRequest) Validate() error
Validate checks the field values on PrincipalCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalCreateRequest) ValidateAll ¶
func (m *PrincipalCreateRequest) ValidateAll() error
ValidateAll checks the field values on PrincipalCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalCreateRequestMultiError, or nil if none found.
type PrincipalCreateRequestMultiError ¶
type PrincipalCreateRequestMultiError []error
PrincipalCreateRequestMultiError is an error wrapping multiple validation errors returned by PrincipalCreateRequest.ValidateAll() if the designated constraints aren't met.
func (PrincipalCreateRequestMultiError) AllErrors ¶
func (m PrincipalCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalCreateRequestMultiError) Error ¶
func (m PrincipalCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalCreateRequestValidationError ¶
type PrincipalCreateRequestValidationError struct {
// contains filtered or unexported fields
}
PrincipalCreateRequestValidationError is the validation error returned by PrincipalCreateRequest.Validate if the designated constraints aren't met.
func (PrincipalCreateRequestValidationError) Cause ¶
func (e PrincipalCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (PrincipalCreateRequestValidationError) Error ¶
func (e PrincipalCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalCreateRequestValidationError) ErrorName ¶
func (e PrincipalCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalCreateRequestValidationError) Field ¶
func (e PrincipalCreateRequestValidationError) Field() string
Field function returns field value.
func (PrincipalCreateRequestValidationError) Key ¶
func (e PrincipalCreateRequestValidationError) Key() bool
Key function returns key value.
func (PrincipalCreateRequestValidationError) Reason ¶
func (e PrincipalCreateRequestValidationError) Reason() string
Reason function returns reason value.
type PrincipalCreateResponse ¶
type PrincipalCreateResponse struct { Principal *Principal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` // contains filtered or unexported fields }
func (*PrincipalCreateResponse) Descriptor
deprecated
func (*PrincipalCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalCreateResponse.ProtoReflect.Descriptor instead.
func (*PrincipalCreateResponse) GetPrincipal ¶
func (x *PrincipalCreateResponse) GetPrincipal() *Principal
func (*PrincipalCreateResponse) ProtoMessage ¶
func (*PrincipalCreateResponse) ProtoMessage()
func (*PrincipalCreateResponse) ProtoReflect ¶
func (x *PrincipalCreateResponse) ProtoReflect() protoreflect.Message
func (*PrincipalCreateResponse) Reset ¶
func (x *PrincipalCreateResponse) Reset()
func (*PrincipalCreateResponse) String ¶
func (x *PrincipalCreateResponse) String() string
func (*PrincipalCreateResponse) Validate ¶
func (m *PrincipalCreateResponse) Validate() error
Validate checks the field values on PrincipalCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalCreateResponse) ValidateAll ¶
func (m *PrincipalCreateResponse) ValidateAll() error
ValidateAll checks the field values on PrincipalCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalCreateResponseMultiError, or nil if none found.
type PrincipalCreateResponseMultiError ¶
type PrincipalCreateResponseMultiError []error
PrincipalCreateResponseMultiError is an error wrapping multiple validation errors returned by PrincipalCreateResponse.ValidateAll() if the designated constraints aren't met.
func (PrincipalCreateResponseMultiError) AllErrors ¶
func (m PrincipalCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalCreateResponseMultiError) Error ¶
func (m PrincipalCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalCreateResponseValidationError ¶
type PrincipalCreateResponseValidationError struct {
// contains filtered or unexported fields
}
PrincipalCreateResponseValidationError is the validation error returned by PrincipalCreateResponse.Validate if the designated constraints aren't met.
func (PrincipalCreateResponseValidationError) Cause ¶
func (e PrincipalCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (PrincipalCreateResponseValidationError) Error ¶
func (e PrincipalCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalCreateResponseValidationError) ErrorName ¶
func (e PrincipalCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalCreateResponseValidationError) Field ¶
func (e PrincipalCreateResponseValidationError) Field() string
Field function returns field value.
func (PrincipalCreateResponseValidationError) Key ¶
func (e PrincipalCreateResponseValidationError) Key() bool
Key function returns key value.
func (PrincipalCreateResponseValidationError) Reason ¶
func (e PrincipalCreateResponseValidationError) Reason() string
Reason function returns reason value.
type PrincipalDeleteRequest ¶
type PrincipalDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PrincipalDeleteRequest) Descriptor
deprecated
func (*PrincipalDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalDeleteRequest.ProtoReflect.Descriptor instead.
func (*PrincipalDeleteRequest) GetId ¶
func (x *PrincipalDeleteRequest) GetId() string
func (*PrincipalDeleteRequest) ProtoMessage ¶
func (*PrincipalDeleteRequest) ProtoMessage()
func (*PrincipalDeleteRequest) ProtoReflect ¶
func (x *PrincipalDeleteRequest) ProtoReflect() protoreflect.Message
func (*PrincipalDeleteRequest) Reset ¶
func (x *PrincipalDeleteRequest) Reset()
func (*PrincipalDeleteRequest) String ¶
func (x *PrincipalDeleteRequest) String() string
func (*PrincipalDeleteRequest) Validate ¶
func (m *PrincipalDeleteRequest) Validate() error
Validate checks the field values on PrincipalDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalDeleteRequest) ValidateAll ¶
func (m *PrincipalDeleteRequest) ValidateAll() error
ValidateAll checks the field values on PrincipalDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalDeleteRequestMultiError, or nil if none found.
type PrincipalDeleteRequestMultiError ¶
type PrincipalDeleteRequestMultiError []error
PrincipalDeleteRequestMultiError is an error wrapping multiple validation errors returned by PrincipalDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (PrincipalDeleteRequestMultiError) AllErrors ¶
func (m PrincipalDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalDeleteRequestMultiError) Error ¶
func (m PrincipalDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalDeleteRequestValidationError ¶
type PrincipalDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
PrincipalDeleteRequestValidationError is the validation error returned by PrincipalDeleteRequest.Validate if the designated constraints aren't met.
func (PrincipalDeleteRequestValidationError) Cause ¶
func (e PrincipalDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (PrincipalDeleteRequestValidationError) Error ¶
func (e PrincipalDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalDeleteRequestValidationError) ErrorName ¶
func (e PrincipalDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalDeleteRequestValidationError) Field ¶
func (e PrincipalDeleteRequestValidationError) Field() string
Field function returns field value.
func (PrincipalDeleteRequestValidationError) Key ¶
func (e PrincipalDeleteRequestValidationError) Key() bool
Key function returns key value.
func (PrincipalDeleteRequestValidationError) Reason ¶
func (e PrincipalDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type PrincipalDeleteResponse ¶
type PrincipalDeleteResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*PrincipalDeleteResponse) Descriptor
deprecated
func (*PrincipalDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalDeleteResponse.ProtoReflect.Descriptor instead.
func (*PrincipalDeleteResponse) GetSuccess ¶
func (x *PrincipalDeleteResponse) GetSuccess() bool
func (*PrincipalDeleteResponse) ProtoMessage ¶
func (*PrincipalDeleteResponse) ProtoMessage()
func (*PrincipalDeleteResponse) ProtoReflect ¶
func (x *PrincipalDeleteResponse) ProtoReflect() protoreflect.Message
func (*PrincipalDeleteResponse) Reset ¶
func (x *PrincipalDeleteResponse) Reset()
func (*PrincipalDeleteResponse) String ¶
func (x *PrincipalDeleteResponse) String() string
func (*PrincipalDeleteResponse) Validate ¶
func (m *PrincipalDeleteResponse) Validate() error
Validate checks the field values on PrincipalDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalDeleteResponse) ValidateAll ¶
func (m *PrincipalDeleteResponse) ValidateAll() error
ValidateAll checks the field values on PrincipalDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalDeleteResponseMultiError, or nil if none found.
type PrincipalDeleteResponseMultiError ¶
type PrincipalDeleteResponseMultiError []error
PrincipalDeleteResponseMultiError is an error wrapping multiple validation errors returned by PrincipalDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (PrincipalDeleteResponseMultiError) AllErrors ¶
func (m PrincipalDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalDeleteResponseMultiError) Error ¶
func (m PrincipalDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalDeleteResponseValidationError ¶
type PrincipalDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
PrincipalDeleteResponseValidationError is the validation error returned by PrincipalDeleteResponse.Validate if the designated constraints aren't met.
func (PrincipalDeleteResponseValidationError) Cause ¶
func (e PrincipalDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (PrincipalDeleteResponseValidationError) Error ¶
func (e PrincipalDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalDeleteResponseValidationError) ErrorName ¶
func (e PrincipalDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalDeleteResponseValidationError) Field ¶
func (e PrincipalDeleteResponseValidationError) Field() string
Field function returns field value.
func (PrincipalDeleteResponseValidationError) Key ¶
func (e PrincipalDeleteResponseValidationError) Key() bool
Key function returns key value.
func (PrincipalDeleteResponseValidationError) Reason ¶
func (e PrincipalDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type PrincipalGetRequest ¶
type PrincipalGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PrincipalGetRequest) Descriptor
deprecated
func (*PrincipalGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalGetRequest.ProtoReflect.Descriptor instead.
func (*PrincipalGetRequest) GetId ¶
func (x *PrincipalGetRequest) GetId() string
func (*PrincipalGetRequest) ProtoMessage ¶
func (*PrincipalGetRequest) ProtoMessage()
func (*PrincipalGetRequest) ProtoReflect ¶
func (x *PrincipalGetRequest) ProtoReflect() protoreflect.Message
func (*PrincipalGetRequest) Reset ¶
func (x *PrincipalGetRequest) Reset()
func (*PrincipalGetRequest) String ¶
func (x *PrincipalGetRequest) String() string
func (*PrincipalGetRequest) Validate ¶
func (m *PrincipalGetRequest) Validate() error
Validate checks the field values on PrincipalGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalGetRequest) ValidateAll ¶
func (m *PrincipalGetRequest) ValidateAll() error
ValidateAll checks the field values on PrincipalGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalGetRequestMultiError, or nil if none found.
type PrincipalGetRequestMultiError ¶
type PrincipalGetRequestMultiError []error
PrincipalGetRequestMultiError is an error wrapping multiple validation errors returned by PrincipalGetRequest.ValidateAll() if the designated constraints aren't met.
func (PrincipalGetRequestMultiError) AllErrors ¶
func (m PrincipalGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalGetRequestMultiError) Error ¶
func (m PrincipalGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalGetRequestValidationError ¶
type PrincipalGetRequestValidationError struct {
// contains filtered or unexported fields
}
PrincipalGetRequestValidationError is the validation error returned by PrincipalGetRequest.Validate if the designated constraints aren't met.
func (PrincipalGetRequestValidationError) Cause ¶
func (e PrincipalGetRequestValidationError) Cause() error
Cause function returns cause value.
func (PrincipalGetRequestValidationError) Error ¶
func (e PrincipalGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalGetRequestValidationError) ErrorName ¶
func (e PrincipalGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalGetRequestValidationError) Field ¶
func (e PrincipalGetRequestValidationError) Field() string
Field function returns field value.
func (PrincipalGetRequestValidationError) Key ¶
func (e PrincipalGetRequestValidationError) Key() bool
Key function returns key value.
func (PrincipalGetRequestValidationError) Reason ¶
func (e PrincipalGetRequestValidationError) Reason() string
Reason function returns reason value.
type PrincipalGetResponse ¶
type PrincipalGetResponse struct { Principal *Principal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` // contains filtered or unexported fields }
func (*PrincipalGetResponse) Descriptor
deprecated
func (*PrincipalGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalGetResponse.ProtoReflect.Descriptor instead.
func (*PrincipalGetResponse) GetPrincipal ¶
func (x *PrincipalGetResponse) GetPrincipal() *Principal
func (*PrincipalGetResponse) ProtoMessage ¶
func (*PrincipalGetResponse) ProtoMessage()
func (*PrincipalGetResponse) ProtoReflect ¶
func (x *PrincipalGetResponse) ProtoReflect() protoreflect.Message
func (*PrincipalGetResponse) Reset ¶
func (x *PrincipalGetResponse) Reset()
func (*PrincipalGetResponse) String ¶
func (x *PrincipalGetResponse) String() string
func (*PrincipalGetResponse) Validate ¶
func (m *PrincipalGetResponse) Validate() error
Validate checks the field values on PrincipalGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalGetResponse) ValidateAll ¶
func (m *PrincipalGetResponse) ValidateAll() error
ValidateAll checks the field values on PrincipalGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalGetResponseMultiError, or nil if none found.
type PrincipalGetResponseMultiError ¶
type PrincipalGetResponseMultiError []error
PrincipalGetResponseMultiError is an error wrapping multiple validation errors returned by PrincipalGetResponse.ValidateAll() if the designated constraints aren't met.
func (PrincipalGetResponseMultiError) AllErrors ¶
func (m PrincipalGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalGetResponseMultiError) Error ¶
func (m PrincipalGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalGetResponseValidationError ¶
type PrincipalGetResponseValidationError struct {
// contains filtered or unexported fields
}
PrincipalGetResponseValidationError is the validation error returned by PrincipalGetResponse.Validate if the designated constraints aren't met.
func (PrincipalGetResponseValidationError) Cause ¶
func (e PrincipalGetResponseValidationError) Cause() error
Cause function returns cause value.
func (PrincipalGetResponseValidationError) Error ¶
func (e PrincipalGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalGetResponseValidationError) ErrorName ¶
func (e PrincipalGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalGetResponseValidationError) Field ¶
func (e PrincipalGetResponseValidationError) Field() string
Field function returns field value.
func (PrincipalGetResponseValidationError) Key ¶
func (e PrincipalGetResponseValidationError) Key() bool
Key function returns key value.
func (PrincipalGetResponseValidationError) Reason ¶
func (e PrincipalGetResponseValidationError) Reason() string
Reason function returns reason value.
type PrincipalMultiError ¶
type PrincipalMultiError []error
PrincipalMultiError is an error wrapping multiple validation errors returned by Principal.ValidateAll() if the designated constraints aren't met.
func (PrincipalMultiError) AllErrors ¶
func (m PrincipalMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalMultiError) Error ¶
func (m PrincipalMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalUpdateRequest ¶
type PrincipalUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"` Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*PrincipalUpdateRequest) Descriptor
deprecated
func (*PrincipalUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalUpdateRequest.ProtoReflect.Descriptor instead.
func (*PrincipalUpdateRequest) GetAttributes ¶
func (x *PrincipalUpdateRequest) GetAttributes() []*Attribute
func (*PrincipalUpdateRequest) GetId ¶
func (x *PrincipalUpdateRequest) GetId() string
func (*PrincipalUpdateRequest) GetRoles ¶
func (x *PrincipalUpdateRequest) GetRoles() []string
func (*PrincipalUpdateRequest) ProtoMessage ¶
func (*PrincipalUpdateRequest) ProtoMessage()
func (*PrincipalUpdateRequest) ProtoReflect ¶
func (x *PrincipalUpdateRequest) ProtoReflect() protoreflect.Message
func (*PrincipalUpdateRequest) Reset ¶
func (x *PrincipalUpdateRequest) Reset()
func (*PrincipalUpdateRequest) String ¶
func (x *PrincipalUpdateRequest) String() string
func (*PrincipalUpdateRequest) Validate ¶
func (m *PrincipalUpdateRequest) Validate() error
Validate checks the field values on PrincipalUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalUpdateRequest) ValidateAll ¶
func (m *PrincipalUpdateRequest) ValidateAll() error
ValidateAll checks the field values on PrincipalUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalUpdateRequestMultiError, or nil if none found.
type PrincipalUpdateRequestMultiError ¶
type PrincipalUpdateRequestMultiError []error
PrincipalUpdateRequestMultiError is an error wrapping multiple validation errors returned by PrincipalUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (PrincipalUpdateRequestMultiError) AllErrors ¶
func (m PrincipalUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalUpdateRequestMultiError) Error ¶
func (m PrincipalUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalUpdateRequestValidationError ¶
type PrincipalUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
PrincipalUpdateRequestValidationError is the validation error returned by PrincipalUpdateRequest.Validate if the designated constraints aren't met.
func (PrincipalUpdateRequestValidationError) Cause ¶
func (e PrincipalUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (PrincipalUpdateRequestValidationError) Error ¶
func (e PrincipalUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalUpdateRequestValidationError) ErrorName ¶
func (e PrincipalUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalUpdateRequestValidationError) Field ¶
func (e PrincipalUpdateRequestValidationError) Field() string
Field function returns field value.
func (PrincipalUpdateRequestValidationError) Key ¶
func (e PrincipalUpdateRequestValidationError) Key() bool
Key function returns key value.
func (PrincipalUpdateRequestValidationError) Reason ¶
func (e PrincipalUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type PrincipalUpdateResponse ¶
type PrincipalUpdateResponse struct { Principal *Principal `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"` // contains filtered or unexported fields }
func (*PrincipalUpdateResponse) Descriptor
deprecated
func (*PrincipalUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrincipalUpdateResponse.ProtoReflect.Descriptor instead.
func (*PrincipalUpdateResponse) GetPrincipal ¶
func (x *PrincipalUpdateResponse) GetPrincipal() *Principal
func (*PrincipalUpdateResponse) ProtoMessage ¶
func (*PrincipalUpdateResponse) ProtoMessage()
func (*PrincipalUpdateResponse) ProtoReflect ¶
func (x *PrincipalUpdateResponse) ProtoReflect() protoreflect.Message
func (*PrincipalUpdateResponse) Reset ¶
func (x *PrincipalUpdateResponse) Reset()
func (*PrincipalUpdateResponse) String ¶
func (x *PrincipalUpdateResponse) String() string
func (*PrincipalUpdateResponse) Validate ¶
func (m *PrincipalUpdateResponse) Validate() error
Validate checks the field values on PrincipalUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PrincipalUpdateResponse) ValidateAll ¶
func (m *PrincipalUpdateResponse) ValidateAll() error
ValidateAll checks the field values on PrincipalUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PrincipalUpdateResponseMultiError, or nil if none found.
type PrincipalUpdateResponseMultiError ¶
type PrincipalUpdateResponseMultiError []error
PrincipalUpdateResponseMultiError is an error wrapping multiple validation errors returned by PrincipalUpdateResponse.ValidateAll() if the designated constraints aren't met.
func (PrincipalUpdateResponseMultiError) AllErrors ¶
func (m PrincipalUpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PrincipalUpdateResponseMultiError) Error ¶
func (m PrincipalUpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PrincipalUpdateResponseValidationError ¶
type PrincipalUpdateResponseValidationError struct {
// contains filtered or unexported fields
}
PrincipalUpdateResponseValidationError is the validation error returned by PrincipalUpdateResponse.Validate if the designated constraints aren't met.
func (PrincipalUpdateResponseValidationError) Cause ¶
func (e PrincipalUpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (PrincipalUpdateResponseValidationError) Error ¶
func (e PrincipalUpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalUpdateResponseValidationError) ErrorName ¶
func (e PrincipalUpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalUpdateResponseValidationError) Field ¶
func (e PrincipalUpdateResponseValidationError) Field() string
Field function returns field value.
func (PrincipalUpdateResponseValidationError) Key ¶
func (e PrincipalUpdateResponseValidationError) Key() bool
Key function returns key value.
func (PrincipalUpdateResponseValidationError) Reason ¶
func (e PrincipalUpdateResponseValidationError) Reason() string
Reason function returns reason value.
type PrincipalValidationError ¶
type PrincipalValidationError struct {
// contains filtered or unexported fields
}
PrincipalValidationError is the validation error returned by Principal.Validate if the designated constraints aren't met.
func (PrincipalValidationError) Cause ¶
func (e PrincipalValidationError) Cause() error
Cause function returns cause value.
func (PrincipalValidationError) Error ¶
func (e PrincipalValidationError) Error() string
Error satisfies the builtin error interface
func (PrincipalValidationError) ErrorName ¶
func (e PrincipalValidationError) ErrorName() string
ErrorName returns error name.
func (PrincipalValidationError) Field ¶
func (e PrincipalValidationError) Field() string
Field function returns field value.
func (PrincipalValidationError) Key ¶
func (e PrincipalValidationError) Key() bool
Key function returns key value.
func (PrincipalValidationError) Reason ¶
func (e PrincipalValidationError) Reason() string
Reason function returns reason value.
type Resource ¶
type Resource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Attributes []*Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetAttributes ¶
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
func (*Resource) Validate ¶
Validate checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Resource) ValidateAll ¶
ValidateAll checks the field values on Resource with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceMultiError, or nil if none found.
type ResourceCreateRequest ¶
type ResourceCreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Attributes []*Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*ResourceCreateRequest) Descriptor
deprecated
func (*ResourceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreateRequest.ProtoReflect.Descriptor instead.
func (*ResourceCreateRequest) GetAttributes ¶
func (x *ResourceCreateRequest) GetAttributes() []*Attribute
func (*ResourceCreateRequest) GetId ¶
func (x *ResourceCreateRequest) GetId() string
func (*ResourceCreateRequest) GetKind ¶
func (x *ResourceCreateRequest) GetKind() string
func (*ResourceCreateRequest) GetValue ¶
func (x *ResourceCreateRequest) GetValue() string
func (*ResourceCreateRequest) ProtoMessage ¶
func (*ResourceCreateRequest) ProtoMessage()
func (*ResourceCreateRequest) ProtoReflect ¶
func (x *ResourceCreateRequest) ProtoReflect() protoreflect.Message
func (*ResourceCreateRequest) Reset ¶
func (x *ResourceCreateRequest) Reset()
func (*ResourceCreateRequest) String ¶
func (x *ResourceCreateRequest) String() string
func (*ResourceCreateRequest) Validate ¶
func (m *ResourceCreateRequest) Validate() error
Validate checks the field values on ResourceCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceCreateRequest) ValidateAll ¶
func (m *ResourceCreateRequest) ValidateAll() error
ValidateAll checks the field values on ResourceCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceCreateRequestMultiError, or nil if none found.
type ResourceCreateRequestMultiError ¶
type ResourceCreateRequestMultiError []error
ResourceCreateRequestMultiError is an error wrapping multiple validation errors returned by ResourceCreateRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceCreateRequestMultiError) AllErrors ¶
func (m ResourceCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceCreateRequestMultiError) Error ¶
func (m ResourceCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceCreateRequestValidationError ¶
type ResourceCreateRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceCreateRequestValidationError is the validation error returned by ResourceCreateRequest.Validate if the designated constraints aren't met.
func (ResourceCreateRequestValidationError) Cause ¶
func (e ResourceCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceCreateRequestValidationError) Error ¶
func (e ResourceCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceCreateRequestValidationError) ErrorName ¶
func (e ResourceCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceCreateRequestValidationError) Field ¶
func (e ResourceCreateRequestValidationError) Field() string
Field function returns field value.
func (ResourceCreateRequestValidationError) Key ¶
func (e ResourceCreateRequestValidationError) Key() bool
Key function returns key value.
func (ResourceCreateRequestValidationError) Reason ¶
func (e ResourceCreateRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceCreateResponse ¶
type ResourceCreateResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourceCreateResponse) Descriptor
deprecated
func (*ResourceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceCreateResponse.ProtoReflect.Descriptor instead.
func (*ResourceCreateResponse) GetResource ¶
func (x *ResourceCreateResponse) GetResource() *Resource
func (*ResourceCreateResponse) ProtoMessage ¶
func (*ResourceCreateResponse) ProtoMessage()
func (*ResourceCreateResponse) ProtoReflect ¶
func (x *ResourceCreateResponse) ProtoReflect() protoreflect.Message
func (*ResourceCreateResponse) Reset ¶
func (x *ResourceCreateResponse) Reset()
func (*ResourceCreateResponse) String ¶
func (x *ResourceCreateResponse) String() string
func (*ResourceCreateResponse) Validate ¶
func (m *ResourceCreateResponse) Validate() error
Validate checks the field values on ResourceCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceCreateResponse) ValidateAll ¶
func (m *ResourceCreateResponse) ValidateAll() error
ValidateAll checks the field values on ResourceCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceCreateResponseMultiError, or nil if none found.
type ResourceCreateResponseMultiError ¶
type ResourceCreateResponseMultiError []error
ResourceCreateResponseMultiError is an error wrapping multiple validation errors returned by ResourceCreateResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceCreateResponseMultiError) AllErrors ¶
func (m ResourceCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceCreateResponseMultiError) Error ¶
func (m ResourceCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceCreateResponseValidationError ¶
type ResourceCreateResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceCreateResponseValidationError is the validation error returned by ResourceCreateResponse.Validate if the designated constraints aren't met.
func (ResourceCreateResponseValidationError) Cause ¶
func (e ResourceCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceCreateResponseValidationError) Error ¶
func (e ResourceCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceCreateResponseValidationError) ErrorName ¶
func (e ResourceCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceCreateResponseValidationError) Field ¶
func (e ResourceCreateResponseValidationError) Field() string
Field function returns field value.
func (ResourceCreateResponseValidationError) Key ¶
func (e ResourceCreateResponseValidationError) Key() bool
Key function returns key value.
func (ResourceCreateResponseValidationError) Reason ¶
func (e ResourceCreateResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceDeleteRequest ¶
type ResourceDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResourceDeleteRequest) Descriptor
deprecated
func (*ResourceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDeleteRequest.ProtoReflect.Descriptor instead.
func (*ResourceDeleteRequest) GetId ¶
func (x *ResourceDeleteRequest) GetId() string
func (*ResourceDeleteRequest) ProtoMessage ¶
func (*ResourceDeleteRequest) ProtoMessage()
func (*ResourceDeleteRequest) ProtoReflect ¶
func (x *ResourceDeleteRequest) ProtoReflect() protoreflect.Message
func (*ResourceDeleteRequest) Reset ¶
func (x *ResourceDeleteRequest) Reset()
func (*ResourceDeleteRequest) String ¶
func (x *ResourceDeleteRequest) String() string
func (*ResourceDeleteRequest) Validate ¶
func (m *ResourceDeleteRequest) Validate() error
Validate checks the field values on ResourceDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceDeleteRequest) ValidateAll ¶
func (m *ResourceDeleteRequest) ValidateAll() error
ValidateAll checks the field values on ResourceDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceDeleteRequestMultiError, or nil if none found.
type ResourceDeleteRequestMultiError ¶
type ResourceDeleteRequestMultiError []error
ResourceDeleteRequestMultiError is an error wrapping multiple validation errors returned by ResourceDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceDeleteRequestMultiError) AllErrors ¶
func (m ResourceDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceDeleteRequestMultiError) Error ¶
func (m ResourceDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceDeleteRequestValidationError ¶
type ResourceDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceDeleteRequestValidationError is the validation error returned by ResourceDeleteRequest.Validate if the designated constraints aren't met.
func (ResourceDeleteRequestValidationError) Cause ¶
func (e ResourceDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceDeleteRequestValidationError) Error ¶
func (e ResourceDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceDeleteRequestValidationError) ErrorName ¶
func (e ResourceDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceDeleteRequestValidationError) Field ¶
func (e ResourceDeleteRequestValidationError) Field() string
Field function returns field value.
func (ResourceDeleteRequestValidationError) Key ¶
func (e ResourceDeleteRequestValidationError) Key() bool
Key function returns key value.
func (ResourceDeleteRequestValidationError) Reason ¶
func (e ResourceDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceDeleteResponse ¶
type ResourceDeleteResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*ResourceDeleteResponse) Descriptor
deprecated
func (*ResourceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDeleteResponse.ProtoReflect.Descriptor instead.
func (*ResourceDeleteResponse) GetSuccess ¶
func (x *ResourceDeleteResponse) GetSuccess() bool
func (*ResourceDeleteResponse) ProtoMessage ¶
func (*ResourceDeleteResponse) ProtoMessage()
func (*ResourceDeleteResponse) ProtoReflect ¶
func (x *ResourceDeleteResponse) ProtoReflect() protoreflect.Message
func (*ResourceDeleteResponse) Reset ¶
func (x *ResourceDeleteResponse) Reset()
func (*ResourceDeleteResponse) String ¶
func (x *ResourceDeleteResponse) String() string
func (*ResourceDeleteResponse) Validate ¶
func (m *ResourceDeleteResponse) Validate() error
Validate checks the field values on ResourceDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceDeleteResponse) ValidateAll ¶
func (m *ResourceDeleteResponse) ValidateAll() error
ValidateAll checks the field values on ResourceDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceDeleteResponseMultiError, or nil if none found.
type ResourceDeleteResponseMultiError ¶
type ResourceDeleteResponseMultiError []error
ResourceDeleteResponseMultiError is an error wrapping multiple validation errors returned by ResourceDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceDeleteResponseMultiError) AllErrors ¶
func (m ResourceDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceDeleteResponseMultiError) Error ¶
func (m ResourceDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceDeleteResponseValidationError ¶
type ResourceDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceDeleteResponseValidationError is the validation error returned by ResourceDeleteResponse.Validate if the designated constraints aren't met.
func (ResourceDeleteResponseValidationError) Cause ¶
func (e ResourceDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceDeleteResponseValidationError) Error ¶
func (e ResourceDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceDeleteResponseValidationError) ErrorName ¶
func (e ResourceDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceDeleteResponseValidationError) Field ¶
func (e ResourceDeleteResponseValidationError) Field() string
Field function returns field value.
func (ResourceDeleteResponseValidationError) Key ¶
func (e ResourceDeleteResponseValidationError) Key() bool
Key function returns key value.
func (ResourceDeleteResponseValidationError) Reason ¶
func (e ResourceDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceGetRequest ¶
type ResourceGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResourceGetRequest) Descriptor
deprecated
func (*ResourceGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceGetRequest.ProtoReflect.Descriptor instead.
func (*ResourceGetRequest) GetId ¶
func (x *ResourceGetRequest) GetId() string
func (*ResourceGetRequest) ProtoMessage ¶
func (*ResourceGetRequest) ProtoMessage()
func (*ResourceGetRequest) ProtoReflect ¶
func (x *ResourceGetRequest) ProtoReflect() protoreflect.Message
func (*ResourceGetRequest) Reset ¶
func (x *ResourceGetRequest) Reset()
func (*ResourceGetRequest) String ¶
func (x *ResourceGetRequest) String() string
func (*ResourceGetRequest) Validate ¶
func (m *ResourceGetRequest) Validate() error
Validate checks the field values on ResourceGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceGetRequest) ValidateAll ¶
func (m *ResourceGetRequest) ValidateAll() error
ValidateAll checks the field values on ResourceGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceGetRequestMultiError, or nil if none found.
type ResourceGetRequestMultiError ¶
type ResourceGetRequestMultiError []error
ResourceGetRequestMultiError is an error wrapping multiple validation errors returned by ResourceGetRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceGetRequestMultiError) AllErrors ¶
func (m ResourceGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceGetRequestMultiError) Error ¶
func (m ResourceGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceGetRequestValidationError ¶
type ResourceGetRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceGetRequestValidationError is the validation error returned by ResourceGetRequest.Validate if the designated constraints aren't met.
func (ResourceGetRequestValidationError) Cause ¶
func (e ResourceGetRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceGetRequestValidationError) Error ¶
func (e ResourceGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceGetRequestValidationError) ErrorName ¶
func (e ResourceGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceGetRequestValidationError) Field ¶
func (e ResourceGetRequestValidationError) Field() string
Field function returns field value.
func (ResourceGetRequestValidationError) Key ¶
func (e ResourceGetRequestValidationError) Key() bool
Key function returns key value.
func (ResourceGetRequestValidationError) Reason ¶
func (e ResourceGetRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceGetResponse ¶
type ResourceGetResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourceGetResponse) Descriptor
deprecated
func (*ResourceGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceGetResponse.ProtoReflect.Descriptor instead.
func (*ResourceGetResponse) GetResource ¶
func (x *ResourceGetResponse) GetResource() *Resource
func (*ResourceGetResponse) ProtoMessage ¶
func (*ResourceGetResponse) ProtoMessage()
func (*ResourceGetResponse) ProtoReflect ¶
func (x *ResourceGetResponse) ProtoReflect() protoreflect.Message
func (*ResourceGetResponse) Reset ¶
func (x *ResourceGetResponse) Reset()
func (*ResourceGetResponse) String ¶
func (x *ResourceGetResponse) String() string
func (*ResourceGetResponse) Validate ¶
func (m *ResourceGetResponse) Validate() error
Validate checks the field values on ResourceGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceGetResponse) ValidateAll ¶
func (m *ResourceGetResponse) ValidateAll() error
ValidateAll checks the field values on ResourceGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceGetResponseMultiError, or nil if none found.
type ResourceGetResponseMultiError ¶
type ResourceGetResponseMultiError []error
ResourceGetResponseMultiError is an error wrapping multiple validation errors returned by ResourceGetResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceGetResponseMultiError) AllErrors ¶
func (m ResourceGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceGetResponseMultiError) Error ¶
func (m ResourceGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceGetResponseValidationError ¶
type ResourceGetResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceGetResponseValidationError is the validation error returned by ResourceGetResponse.Validate if the designated constraints aren't met.
func (ResourceGetResponseValidationError) Cause ¶
func (e ResourceGetResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceGetResponseValidationError) Error ¶
func (e ResourceGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceGetResponseValidationError) ErrorName ¶
func (e ResourceGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceGetResponseValidationError) Field ¶
func (e ResourceGetResponseValidationError) Field() string
Field function returns field value.
func (ResourceGetResponseValidationError) Key ¶
func (e ResourceGetResponseValidationError) Key() bool
Key function returns key value.
func (ResourceGetResponseValidationError) Reason ¶
func (e ResourceGetResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceMultiError ¶
type ResourceMultiError []error
ResourceMultiError is an error wrapping multiple validation errors returned by Resource.ValidateAll() if the designated constraints aren't met.
func (ResourceMultiError) AllErrors ¶
func (m ResourceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceMultiError) Error ¶
func (m ResourceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceUpdateRequest ¶
type ResourceUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Attributes []*Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*ResourceUpdateRequest) Descriptor
deprecated
func (*ResourceUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUpdateRequest.ProtoReflect.Descriptor instead.
func (*ResourceUpdateRequest) GetAttributes ¶
func (x *ResourceUpdateRequest) GetAttributes() []*Attribute
func (*ResourceUpdateRequest) GetId ¶
func (x *ResourceUpdateRequest) GetId() string
func (*ResourceUpdateRequest) GetKind ¶
func (x *ResourceUpdateRequest) GetKind() string
func (*ResourceUpdateRequest) GetValue ¶
func (x *ResourceUpdateRequest) GetValue() string
func (*ResourceUpdateRequest) ProtoMessage ¶
func (*ResourceUpdateRequest) ProtoMessage()
func (*ResourceUpdateRequest) ProtoReflect ¶
func (x *ResourceUpdateRequest) ProtoReflect() protoreflect.Message
func (*ResourceUpdateRequest) Reset ¶
func (x *ResourceUpdateRequest) Reset()
func (*ResourceUpdateRequest) String ¶
func (x *ResourceUpdateRequest) String() string
func (*ResourceUpdateRequest) Validate ¶
func (m *ResourceUpdateRequest) Validate() error
Validate checks the field values on ResourceUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceUpdateRequest) ValidateAll ¶
func (m *ResourceUpdateRequest) ValidateAll() error
ValidateAll checks the field values on ResourceUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceUpdateRequestMultiError, or nil if none found.
type ResourceUpdateRequestMultiError ¶
type ResourceUpdateRequestMultiError []error
ResourceUpdateRequestMultiError is an error wrapping multiple validation errors returned by ResourceUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (ResourceUpdateRequestMultiError) AllErrors ¶
func (m ResourceUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceUpdateRequestMultiError) Error ¶
func (m ResourceUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceUpdateRequestValidationError ¶
type ResourceUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
ResourceUpdateRequestValidationError is the validation error returned by ResourceUpdateRequest.Validate if the designated constraints aren't met.
func (ResourceUpdateRequestValidationError) Cause ¶
func (e ResourceUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (ResourceUpdateRequestValidationError) Error ¶
func (e ResourceUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceUpdateRequestValidationError) ErrorName ¶
func (e ResourceUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceUpdateRequestValidationError) Field ¶
func (e ResourceUpdateRequestValidationError) Field() string
Field function returns field value.
func (ResourceUpdateRequestValidationError) Key ¶
func (e ResourceUpdateRequestValidationError) Key() bool
Key function returns key value.
func (ResourceUpdateRequestValidationError) Reason ¶
func (e ResourceUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type ResourceUpdateResponse ¶
type ResourceUpdateResponse struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourceUpdateResponse) Descriptor
deprecated
func (*ResourceUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUpdateResponse.ProtoReflect.Descriptor instead.
func (*ResourceUpdateResponse) GetResource ¶
func (x *ResourceUpdateResponse) GetResource() *Resource
func (*ResourceUpdateResponse) ProtoMessage ¶
func (*ResourceUpdateResponse) ProtoMessage()
func (*ResourceUpdateResponse) ProtoReflect ¶
func (x *ResourceUpdateResponse) ProtoReflect() protoreflect.Message
func (*ResourceUpdateResponse) Reset ¶
func (x *ResourceUpdateResponse) Reset()
func (*ResourceUpdateResponse) String ¶
func (x *ResourceUpdateResponse) String() string
func (*ResourceUpdateResponse) Validate ¶
func (m *ResourceUpdateResponse) Validate() error
Validate checks the field values on ResourceUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ResourceUpdateResponse) ValidateAll ¶
func (m *ResourceUpdateResponse) ValidateAll() error
ValidateAll checks the field values on ResourceUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ResourceUpdateResponseMultiError, or nil if none found.
type ResourceUpdateResponseMultiError ¶
type ResourceUpdateResponseMultiError []error
ResourceUpdateResponseMultiError is an error wrapping multiple validation errors returned by ResourceUpdateResponse.ValidateAll() if the designated constraints aren't met.
func (ResourceUpdateResponseMultiError) AllErrors ¶
func (m ResourceUpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceUpdateResponseMultiError) Error ¶
func (m ResourceUpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResourceUpdateResponseValidationError ¶
type ResourceUpdateResponseValidationError struct {
// contains filtered or unexported fields
}
ResourceUpdateResponseValidationError is the validation error returned by ResourceUpdateResponse.Validate if the designated constraints aren't met.
func (ResourceUpdateResponseValidationError) Cause ¶
func (e ResourceUpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (ResourceUpdateResponseValidationError) Error ¶
func (e ResourceUpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceUpdateResponseValidationError) ErrorName ¶
func (e ResourceUpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceUpdateResponseValidationError) Field ¶
func (e ResourceUpdateResponseValidationError) Field() string
Field function returns field value.
func (ResourceUpdateResponseValidationError) Key ¶
func (e ResourceUpdateResponseValidationError) Key() bool
Key function returns key value.
func (ResourceUpdateResponseValidationError) Reason ¶
func (e ResourceUpdateResponseValidationError) Reason() string
Reason function returns reason value.
type ResourceValidationError ¶
type ResourceValidationError struct {
// contains filtered or unexported fields
}
ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.
func (ResourceValidationError) Cause ¶
func (e ResourceValidationError) Cause() error
Cause function returns cause value.
func (ResourceValidationError) Error ¶
func (e ResourceValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceValidationError) ErrorName ¶
func (e ResourceValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceValidationError) Field ¶
func (e ResourceValidationError) Field() string
Field function returns field value.
func (ResourceValidationError) Key ¶
func (e ResourceValidationError) Key() bool
Key function returns key value.
func (ResourceValidationError) Reason ¶
func (e ResourceValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Policies []string `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetPolicies ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Role) ValidateAll ¶
ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.
type RoleCreateRequest ¶
type RoleCreateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Policies []string `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*RoleCreateRequest) Descriptor
deprecated
func (*RoleCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleCreateRequest.ProtoReflect.Descriptor instead.
func (*RoleCreateRequest) GetId ¶
func (x *RoleCreateRequest) GetId() string
func (*RoleCreateRequest) GetPolicies ¶
func (x *RoleCreateRequest) GetPolicies() []string
func (*RoleCreateRequest) ProtoMessage ¶
func (*RoleCreateRequest) ProtoMessage()
func (*RoleCreateRequest) ProtoReflect ¶
func (x *RoleCreateRequest) ProtoReflect() protoreflect.Message
func (*RoleCreateRequest) Reset ¶
func (x *RoleCreateRequest) Reset()
func (*RoleCreateRequest) String ¶
func (x *RoleCreateRequest) String() string
func (*RoleCreateRequest) Validate ¶
func (m *RoleCreateRequest) Validate() error
Validate checks the field values on RoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleCreateRequest) ValidateAll ¶
func (m *RoleCreateRequest) ValidateAll() error
ValidateAll checks the field values on RoleCreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleCreateRequestMultiError, or nil if none found.
type RoleCreateRequestMultiError ¶
type RoleCreateRequestMultiError []error
RoleCreateRequestMultiError is an error wrapping multiple validation errors returned by RoleCreateRequest.ValidateAll() if the designated constraints aren't met.
func (RoleCreateRequestMultiError) AllErrors ¶
func (m RoleCreateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleCreateRequestMultiError) Error ¶
func (m RoleCreateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleCreateRequestValidationError ¶
type RoleCreateRequestValidationError struct {
// contains filtered or unexported fields
}
RoleCreateRequestValidationError is the validation error returned by RoleCreateRequest.Validate if the designated constraints aren't met.
func (RoleCreateRequestValidationError) Cause ¶
func (e RoleCreateRequestValidationError) Cause() error
Cause function returns cause value.
func (RoleCreateRequestValidationError) Error ¶
func (e RoleCreateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RoleCreateRequestValidationError) ErrorName ¶
func (e RoleCreateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RoleCreateRequestValidationError) Field ¶
func (e RoleCreateRequestValidationError) Field() string
Field function returns field value.
func (RoleCreateRequestValidationError) Key ¶
func (e RoleCreateRequestValidationError) Key() bool
Key function returns key value.
func (RoleCreateRequestValidationError) Reason ¶
func (e RoleCreateRequestValidationError) Reason() string
Reason function returns reason value.
type RoleCreateResponse ¶
type RoleCreateResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleCreateResponse) Descriptor
deprecated
func (*RoleCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleCreateResponse.ProtoReflect.Descriptor instead.
func (*RoleCreateResponse) GetRole ¶
func (x *RoleCreateResponse) GetRole() *Role
func (*RoleCreateResponse) ProtoMessage ¶
func (*RoleCreateResponse) ProtoMessage()
func (*RoleCreateResponse) ProtoReflect ¶
func (x *RoleCreateResponse) ProtoReflect() protoreflect.Message
func (*RoleCreateResponse) Reset ¶
func (x *RoleCreateResponse) Reset()
func (*RoleCreateResponse) String ¶
func (x *RoleCreateResponse) String() string
func (*RoleCreateResponse) Validate ¶
func (m *RoleCreateResponse) Validate() error
Validate checks the field values on RoleCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleCreateResponse) ValidateAll ¶
func (m *RoleCreateResponse) ValidateAll() error
ValidateAll checks the field values on RoleCreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleCreateResponseMultiError, or nil if none found.
type RoleCreateResponseMultiError ¶
type RoleCreateResponseMultiError []error
RoleCreateResponseMultiError is an error wrapping multiple validation errors returned by RoleCreateResponse.ValidateAll() if the designated constraints aren't met.
func (RoleCreateResponseMultiError) AllErrors ¶
func (m RoleCreateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleCreateResponseMultiError) Error ¶
func (m RoleCreateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleCreateResponseValidationError ¶
type RoleCreateResponseValidationError struct {
// contains filtered or unexported fields
}
RoleCreateResponseValidationError is the validation error returned by RoleCreateResponse.Validate if the designated constraints aren't met.
func (RoleCreateResponseValidationError) Cause ¶
func (e RoleCreateResponseValidationError) Cause() error
Cause function returns cause value.
func (RoleCreateResponseValidationError) Error ¶
func (e RoleCreateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RoleCreateResponseValidationError) ErrorName ¶
func (e RoleCreateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RoleCreateResponseValidationError) Field ¶
func (e RoleCreateResponseValidationError) Field() string
Field function returns field value.
func (RoleCreateResponseValidationError) Key ¶
func (e RoleCreateResponseValidationError) Key() bool
Key function returns key value.
func (RoleCreateResponseValidationError) Reason ¶
func (e RoleCreateResponseValidationError) Reason() string
Reason function returns reason value.
type RoleDeleteRequest ¶
type RoleDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RoleDeleteRequest) Descriptor
deprecated
func (*RoleDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleDeleteRequest.ProtoReflect.Descriptor instead.
func (*RoleDeleteRequest) GetId ¶
func (x *RoleDeleteRequest) GetId() string
func (*RoleDeleteRequest) ProtoMessage ¶
func (*RoleDeleteRequest) ProtoMessage()
func (*RoleDeleteRequest) ProtoReflect ¶
func (x *RoleDeleteRequest) ProtoReflect() protoreflect.Message
func (*RoleDeleteRequest) Reset ¶
func (x *RoleDeleteRequest) Reset()
func (*RoleDeleteRequest) String ¶
func (x *RoleDeleteRequest) String() string
func (*RoleDeleteRequest) Validate ¶
func (m *RoleDeleteRequest) Validate() error
Validate checks the field values on RoleDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleDeleteRequest) ValidateAll ¶
func (m *RoleDeleteRequest) ValidateAll() error
ValidateAll checks the field values on RoleDeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleDeleteRequestMultiError, or nil if none found.
type RoleDeleteRequestMultiError ¶
type RoleDeleteRequestMultiError []error
RoleDeleteRequestMultiError is an error wrapping multiple validation errors returned by RoleDeleteRequest.ValidateAll() if the designated constraints aren't met.
func (RoleDeleteRequestMultiError) AllErrors ¶
func (m RoleDeleteRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleDeleteRequestMultiError) Error ¶
func (m RoleDeleteRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleDeleteRequestValidationError ¶
type RoleDeleteRequestValidationError struct {
// contains filtered or unexported fields
}
RoleDeleteRequestValidationError is the validation error returned by RoleDeleteRequest.Validate if the designated constraints aren't met.
func (RoleDeleteRequestValidationError) Cause ¶
func (e RoleDeleteRequestValidationError) Cause() error
Cause function returns cause value.
func (RoleDeleteRequestValidationError) Error ¶
func (e RoleDeleteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RoleDeleteRequestValidationError) ErrorName ¶
func (e RoleDeleteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RoleDeleteRequestValidationError) Field ¶
func (e RoleDeleteRequestValidationError) Field() string
Field function returns field value.
func (RoleDeleteRequestValidationError) Key ¶
func (e RoleDeleteRequestValidationError) Key() bool
Key function returns key value.
func (RoleDeleteRequestValidationError) Reason ¶
func (e RoleDeleteRequestValidationError) Reason() string
Reason function returns reason value.
type RoleDeleteResponse ¶
type RoleDeleteResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*RoleDeleteResponse) Descriptor
deprecated
func (*RoleDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleDeleteResponse.ProtoReflect.Descriptor instead.
func (*RoleDeleteResponse) GetSuccess ¶
func (x *RoleDeleteResponse) GetSuccess() bool
func (*RoleDeleteResponse) ProtoMessage ¶
func (*RoleDeleteResponse) ProtoMessage()
func (*RoleDeleteResponse) ProtoReflect ¶
func (x *RoleDeleteResponse) ProtoReflect() protoreflect.Message
func (*RoleDeleteResponse) Reset ¶
func (x *RoleDeleteResponse) Reset()
func (*RoleDeleteResponse) String ¶
func (x *RoleDeleteResponse) String() string
func (*RoleDeleteResponse) Validate ¶
func (m *RoleDeleteResponse) Validate() error
Validate checks the field values on RoleDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleDeleteResponse) ValidateAll ¶
func (m *RoleDeleteResponse) ValidateAll() error
ValidateAll checks the field values on RoleDeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleDeleteResponseMultiError, or nil if none found.
type RoleDeleteResponseMultiError ¶
type RoleDeleteResponseMultiError []error
RoleDeleteResponseMultiError is an error wrapping multiple validation errors returned by RoleDeleteResponse.ValidateAll() if the designated constraints aren't met.
func (RoleDeleteResponseMultiError) AllErrors ¶
func (m RoleDeleteResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleDeleteResponseMultiError) Error ¶
func (m RoleDeleteResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleDeleteResponseValidationError ¶
type RoleDeleteResponseValidationError struct {
// contains filtered or unexported fields
}
RoleDeleteResponseValidationError is the validation error returned by RoleDeleteResponse.Validate if the designated constraints aren't met.
func (RoleDeleteResponseValidationError) Cause ¶
func (e RoleDeleteResponseValidationError) Cause() error
Cause function returns cause value.
func (RoleDeleteResponseValidationError) Error ¶
func (e RoleDeleteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RoleDeleteResponseValidationError) ErrorName ¶
func (e RoleDeleteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RoleDeleteResponseValidationError) Field ¶
func (e RoleDeleteResponseValidationError) Field() string
Field function returns field value.
func (RoleDeleteResponseValidationError) Key ¶
func (e RoleDeleteResponseValidationError) Key() bool
Key function returns key value.
func (RoleDeleteResponseValidationError) Reason ¶
func (e RoleDeleteResponseValidationError) Reason() string
Reason function returns reason value.
type RoleGetRequest ¶
type RoleGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RoleGetRequest) Descriptor
deprecated
func (*RoleGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleGetRequest.ProtoReflect.Descriptor instead.
func (*RoleGetRequest) GetId ¶
func (x *RoleGetRequest) GetId() string
func (*RoleGetRequest) ProtoMessage ¶
func (*RoleGetRequest) ProtoMessage()
func (*RoleGetRequest) ProtoReflect ¶
func (x *RoleGetRequest) ProtoReflect() protoreflect.Message
func (*RoleGetRequest) Reset ¶
func (x *RoleGetRequest) Reset()
func (*RoleGetRequest) String ¶
func (x *RoleGetRequest) String() string
func (*RoleGetRequest) Validate ¶
func (m *RoleGetRequest) Validate() error
Validate checks the field values on RoleGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleGetRequest) ValidateAll ¶
func (m *RoleGetRequest) ValidateAll() error
ValidateAll checks the field values on RoleGetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleGetRequestMultiError, or nil if none found.
type RoleGetRequestMultiError ¶
type RoleGetRequestMultiError []error
RoleGetRequestMultiError is an error wrapping multiple validation errors returned by RoleGetRequest.ValidateAll() if the designated constraints aren't met.
func (RoleGetRequestMultiError) AllErrors ¶
func (m RoleGetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleGetRequestMultiError) Error ¶
func (m RoleGetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleGetRequestValidationError ¶
type RoleGetRequestValidationError struct {
// contains filtered or unexported fields
}
RoleGetRequestValidationError is the validation error returned by RoleGetRequest.Validate if the designated constraints aren't met.
func (RoleGetRequestValidationError) Cause ¶
func (e RoleGetRequestValidationError) Cause() error
Cause function returns cause value.
func (RoleGetRequestValidationError) Error ¶
func (e RoleGetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RoleGetRequestValidationError) ErrorName ¶
func (e RoleGetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RoleGetRequestValidationError) Field ¶
func (e RoleGetRequestValidationError) Field() string
Field function returns field value.
func (RoleGetRequestValidationError) Key ¶
func (e RoleGetRequestValidationError) Key() bool
Key function returns key value.
func (RoleGetRequestValidationError) Reason ¶
func (e RoleGetRequestValidationError) Reason() string
Reason function returns reason value.
type RoleGetResponse ¶
type RoleGetResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleGetResponse) Descriptor
deprecated
func (*RoleGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleGetResponse.ProtoReflect.Descriptor instead.
func (*RoleGetResponse) GetRole ¶
func (x *RoleGetResponse) GetRole() *Role
func (*RoleGetResponse) ProtoMessage ¶
func (*RoleGetResponse) ProtoMessage()
func (*RoleGetResponse) ProtoReflect ¶
func (x *RoleGetResponse) ProtoReflect() protoreflect.Message
func (*RoleGetResponse) Reset ¶
func (x *RoleGetResponse) Reset()
func (*RoleGetResponse) String ¶
func (x *RoleGetResponse) String() string
func (*RoleGetResponse) Validate ¶
func (m *RoleGetResponse) Validate() error
Validate checks the field values on RoleGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleGetResponse) ValidateAll ¶
func (m *RoleGetResponse) ValidateAll() error
ValidateAll checks the field values on RoleGetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleGetResponseMultiError, or nil if none found.
type RoleGetResponseMultiError ¶
type RoleGetResponseMultiError []error
RoleGetResponseMultiError is an error wrapping multiple validation errors returned by RoleGetResponse.ValidateAll() if the designated constraints aren't met.
func (RoleGetResponseMultiError) AllErrors ¶
func (m RoleGetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleGetResponseMultiError) Error ¶
func (m RoleGetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleGetResponseValidationError ¶
type RoleGetResponseValidationError struct {
// contains filtered or unexported fields
}
RoleGetResponseValidationError is the validation error returned by RoleGetResponse.Validate if the designated constraints aren't met.
func (RoleGetResponseValidationError) Cause ¶
func (e RoleGetResponseValidationError) Cause() error
Cause function returns cause value.
func (RoleGetResponseValidationError) Error ¶
func (e RoleGetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RoleGetResponseValidationError) ErrorName ¶
func (e RoleGetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RoleGetResponseValidationError) Field ¶
func (e RoleGetResponseValidationError) Field() string
Field function returns field value.
func (RoleGetResponseValidationError) Key ¶
func (e RoleGetResponseValidationError) Key() bool
Key function returns key value.
func (RoleGetResponseValidationError) Reason ¶
func (e RoleGetResponseValidationError) Reason() string
Reason function returns reason value.
type RoleMultiError ¶
type RoleMultiError []error
RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.
func (RoleMultiError) AllErrors ¶
func (m RoleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleMultiError) Error ¶
func (m RoleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleUpdateRequest ¶
type RoleUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Policies []string `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*RoleUpdateRequest) Descriptor
deprecated
func (*RoleUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RoleUpdateRequest.ProtoReflect.Descriptor instead.
func (*RoleUpdateRequest) GetId ¶
func (x *RoleUpdateRequest) GetId() string
func (*RoleUpdateRequest) GetPolicies ¶
func (x *RoleUpdateRequest) GetPolicies() []string
func (*RoleUpdateRequest) ProtoMessage ¶
func (*RoleUpdateRequest) ProtoMessage()
func (*RoleUpdateRequest) ProtoReflect ¶
func (x *RoleUpdateRequest) ProtoReflect() protoreflect.Message
func (*RoleUpdateRequest) Reset ¶
func (x *RoleUpdateRequest) Reset()
func (*RoleUpdateRequest) String ¶
func (x *RoleUpdateRequest) String() string
func (*RoleUpdateRequest) Validate ¶
func (m *RoleUpdateRequest) Validate() error
Validate checks the field values on RoleUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleUpdateRequest) ValidateAll ¶
func (m *RoleUpdateRequest) ValidateAll() error
ValidateAll checks the field values on RoleUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleUpdateRequestMultiError, or nil if none found.
type RoleUpdateRequestMultiError ¶
type RoleUpdateRequestMultiError []error
RoleUpdateRequestMultiError is an error wrapping multiple validation errors returned by RoleUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (RoleUpdateRequestMultiError) AllErrors ¶
func (m RoleUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleUpdateRequestMultiError) Error ¶
func (m RoleUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleUpdateRequestValidationError ¶
type RoleUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
RoleUpdateRequestValidationError is the validation error returned by RoleUpdateRequest.Validate if the designated constraints aren't met.
func (RoleUpdateRequestValidationError) Cause ¶
func (e RoleUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (RoleUpdateRequestValidationError) Error ¶
func (e RoleUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RoleUpdateRequestValidationError) ErrorName ¶
func (e RoleUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RoleUpdateRequestValidationError) Field ¶
func (e RoleUpdateRequestValidationError) Field() string
Field function returns field value.
func (RoleUpdateRequestValidationError) Key ¶
func (e RoleUpdateRequestValidationError) Key() bool
Key function returns key value.
func (RoleUpdateRequestValidationError) Reason ¶
func (e RoleUpdateRequestValidationError) Reason() string
Reason function returns reason value.
type RoleUpdateResponse ¶
type RoleUpdateResponse struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleUpdateResponse) Descriptor
deprecated
func (*RoleUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use RoleUpdateResponse.ProtoReflect.Descriptor instead.
func (*RoleUpdateResponse) GetRole ¶
func (x *RoleUpdateResponse) GetRole() *Role
func (*RoleUpdateResponse) ProtoMessage ¶
func (*RoleUpdateResponse) ProtoMessage()
func (*RoleUpdateResponse) ProtoReflect ¶
func (x *RoleUpdateResponse) ProtoReflect() protoreflect.Message
func (*RoleUpdateResponse) Reset ¶
func (x *RoleUpdateResponse) Reset()
func (*RoleUpdateResponse) String ¶
func (x *RoleUpdateResponse) String() string
func (*RoleUpdateResponse) Validate ¶
func (m *RoleUpdateResponse) Validate() error
Validate checks the field values on RoleUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RoleUpdateResponse) ValidateAll ¶
func (m *RoleUpdateResponse) ValidateAll() error
ValidateAll checks the field values on RoleUpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleUpdateResponseMultiError, or nil if none found.
type RoleUpdateResponseMultiError ¶
type RoleUpdateResponseMultiError []error
RoleUpdateResponseMultiError is an error wrapping multiple validation errors returned by RoleUpdateResponse.ValidateAll() if the designated constraints aren't met.
func (RoleUpdateResponseMultiError) AllErrors ¶
func (m RoleUpdateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RoleUpdateResponseMultiError) Error ¶
func (m RoleUpdateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RoleUpdateResponseValidationError ¶
type RoleUpdateResponseValidationError struct {
// contains filtered or unexported fields
}
RoleUpdateResponseValidationError is the validation error returned by RoleUpdateResponse.Validate if the designated constraints aren't met.
func (RoleUpdateResponseValidationError) Cause ¶
func (e RoleUpdateResponseValidationError) Cause() error
Cause function returns cause value.
func (RoleUpdateResponseValidationError) Error ¶
func (e RoleUpdateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RoleUpdateResponseValidationError) ErrorName ¶
func (e RoleUpdateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RoleUpdateResponseValidationError) Field ¶
func (e RoleUpdateResponseValidationError) Field() string
Field function returns field value.
func (RoleUpdateResponseValidationError) Key ¶
func (e RoleUpdateResponseValidationError) Key() bool
Key function returns key value.
func (RoleUpdateResponseValidationError) Reason ¶
func (e RoleUpdateResponseValidationError) Reason() string
Reason function returns reason value.
type RoleValidationError ¶
type RoleValidationError struct {
// contains filtered or unexported fields
}
RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.
func (RoleValidationError) Cause ¶
func (e RoleValidationError) Cause() error
Cause function returns cause value.
func (RoleValidationError) Error ¶
func (e RoleValidationError) Error() string
Error satisfies the builtin error interface
func (RoleValidationError) ErrorName ¶
func (e RoleValidationError) ErrorName() string
ErrorName returns error name.
func (RoleValidationError) Field ¶
func (e RoleValidationError) Field() string
Field function returns field value.
func (RoleValidationError) Key ¶
func (e RoleValidationError) Key() bool
Key function returns key value.
func (RoleValidationError) Reason ¶
func (e RoleValidationError) Reason() string
Reason function returns reason value.
type UnimplementedApiServer ¶
type UnimplementedApiServer struct { }
UnimplementedApiServer must be embedded to have forward compatible implementations.
func (UnimplementedApiServer) Authenticate ¶
func (UnimplementedApiServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (UnimplementedApiServer) Check ¶
func (UnimplementedApiServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedApiServer) PolicyCreate ¶
func (UnimplementedApiServer) PolicyCreate(context.Context, *PolicyCreateRequest) (*PolicyCreateResponse, error)
func (UnimplementedApiServer) PolicyDelete ¶
func (UnimplementedApiServer) PolicyDelete(context.Context, *PolicyDeleteRequest) (*PolicyDeleteResponse, error)
func (UnimplementedApiServer) PolicyGet ¶
func (UnimplementedApiServer) PolicyGet(context.Context, *PolicyGetRequest) (*PolicyGetResponse, error)
func (UnimplementedApiServer) PolicyUpdate ¶
func (UnimplementedApiServer) PolicyUpdate(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error)
func (UnimplementedApiServer) PrincipalCreate ¶
func (UnimplementedApiServer) PrincipalCreate(context.Context, *PrincipalCreateRequest) (*PrincipalCreateResponse, error)
func (UnimplementedApiServer) PrincipalDelete ¶
func (UnimplementedApiServer) PrincipalDelete(context.Context, *PrincipalDeleteRequest) (*PrincipalDeleteResponse, error)
func (UnimplementedApiServer) PrincipalGet ¶
func (UnimplementedApiServer) PrincipalGet(context.Context, *PrincipalGetRequest) (*PrincipalGetResponse, error)
func (UnimplementedApiServer) PrincipalUpdate ¶
func (UnimplementedApiServer) PrincipalUpdate(context.Context, *PrincipalUpdateRequest) (*PrincipalUpdateResponse, error)
func (UnimplementedApiServer) ResourceCreate ¶
func (UnimplementedApiServer) ResourceCreate(context.Context, *ResourceCreateRequest) (*ResourceCreateResponse, error)
func (UnimplementedApiServer) ResourceDelete ¶
func (UnimplementedApiServer) ResourceDelete(context.Context, *ResourceDeleteRequest) (*ResourceDeleteResponse, error)
func (UnimplementedApiServer) ResourceGet ¶
func (UnimplementedApiServer) ResourceGet(context.Context, *ResourceGetRequest) (*ResourceGetResponse, error)
func (UnimplementedApiServer) ResourceUpdate ¶
func (UnimplementedApiServer) ResourceUpdate(context.Context, *ResourceUpdateRequest) (*ResourceUpdateResponse, error)
func (UnimplementedApiServer) RoleCreate ¶
func (UnimplementedApiServer) RoleCreate(context.Context, *RoleCreateRequest) (*RoleCreateResponse, error)
func (UnimplementedApiServer) RoleDelete ¶
func (UnimplementedApiServer) RoleDelete(context.Context, *RoleDeleteRequest) (*RoleDeleteResponse, error)
func (UnimplementedApiServer) RoleGet ¶
func (UnimplementedApiServer) RoleGet(context.Context, *RoleGetRequest) (*RoleGetResponse, error)
func (UnimplementedApiServer) RoleUpdate ¶
func (UnimplementedApiServer) RoleUpdate(context.Context, *RoleUpdateRequest) (*RoleUpdateResponse, error)
type UnsafeApiServer ¶
type UnsafeApiServer interface {
// contains filtered or unexported methods
}
UnsafeApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiServer will result in compilation errors.