authz

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: MIT Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

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) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetKey

func (x *Attribute) GetKey() string

func (*Attribute) GetValue

func (x *Attribute) GetValue() string

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

func (*Attribute) Validate

func (m *Attribute) Validate() error

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

func (m *Attribute) ValidateAll() error

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

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

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

Cause function returns cause value.

func (AuthenticateRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthenticateRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthenticateRequestValidationError) Field

Field function returns field value.

func (AuthenticateRequestValidationError) Key

Key function returns key value.

func (AuthenticateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AuthenticateResponseValidationError) Error

Error satisfies the builtin error interface

func (AuthenticateResponseValidationError) ErrorName

ErrorName returns error name.

func (AuthenticateResponseValidationError) Field

Field function returns field value.

func (AuthenticateResponseValidationError) Key

Key function returns key value.

func (AuthenticateResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Check.ProtoReflect.Descriptor instead.

func (*Check) GetAction

func (x *Check) GetAction() string

func (*Check) GetPrincipal

func (x *Check) GetPrincipal() string

func (*Check) GetResourceKind

func (x *Check) GetResourceKind() string

func (*Check) GetResourceValue

func (x *Check) GetResourceValue() string

func (*Check) ProtoMessage

func (*Check) ProtoMessage()

func (*Check) ProtoReflect

func (x *Check) ProtoReflect() protoreflect.Message

func (*Check) Reset

func (x *Check) Reset()

func (*Check) String

func (x *Check) String() string

func (*Check) Validate

func (m *Check) Validate() error

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

func (m *Check) ValidateAll() error

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

Cause function returns cause value.

func (CheckAnswerValidationError) Error

Error satisfies the builtin error interface

func (CheckAnswerValidationError) ErrorName

func (e CheckAnswerValidationError) ErrorName() string

ErrorName returns error name.

func (CheckAnswerValidationError) Field

Field function returns field value.

func (CheckAnswerValidationError) Key

Key function returns key value.

func (CheckAnswerValidationError) Reason

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

Cause function returns cause value.

func (CheckRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckRequestValidationError) ErrorName

func (e CheckRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CheckRequestValidationError) Field

Field function returns field value.

func (CheckRequestValidationError) Key

Key function returns key value.

func (CheckRequestValidationError) Reason

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

Cause function returns cause value.

func (CheckResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckResponseValidationError) ErrorName

func (e CheckResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CheckResponseValidationError) Field

Field function returns field value.

func (CheckResponseValidationError) Key

Key function returns key value.

func (CheckResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetActions

func (x *Policy) GetActions() []string

func (*Policy) GetAttributeRules

func (x *Policy) GetAttributeRules() []string

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetResources

func (x *Policy) GetResources() []string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

func (x *Policy) ProtoReflect() protoreflect.Message

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) Validate

func (m *Policy) Validate() error

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

func (m *Policy) ValidateAll() error

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

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

Cause function returns cause value.

func (PolicyCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (PolicyCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (PolicyCreateRequestValidationError) Field

Field function returns field value.

func (PolicyCreateRequestValidationError) Key

Key function returns key value.

func (PolicyCreateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (PolicyCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (PolicyCreateResponseValidationError) Field

Field function returns field value.

func (PolicyCreateResponseValidationError) Key

Key function returns key value.

func (PolicyCreateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (PolicyDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (PolicyDeleteRequestValidationError) Field

Field function returns field value.

func (PolicyDeleteRequestValidationError) Key

Key function returns key value.

func (PolicyDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (PolicyDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (PolicyDeleteResponseValidationError) Field

Field function returns field value.

func (PolicyDeleteResponseValidationError) Key

Key function returns key value.

func (PolicyDeleteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyGetRequestValidationError) Error

Error satisfies the builtin error interface

func (PolicyGetRequestValidationError) ErrorName

ErrorName returns error name.

func (PolicyGetRequestValidationError) Field

Field function returns field value.

func (PolicyGetRequestValidationError) Key

Key function returns key value.

func (PolicyGetRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyGetResponseValidationError) Error

Error satisfies the builtin error interface

func (PolicyGetResponseValidationError) ErrorName

ErrorName returns error name.

func (PolicyGetResponseValidationError) Field

Field function returns field value.

func (PolicyGetResponseValidationError) Key

Key function returns key value.

func (PolicyGetResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyUpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (PolicyUpdateRequestValidationError) ErrorName

ErrorName returns error name.

func (PolicyUpdateRequestValidationError) Field

Field function returns field value.

func (PolicyUpdateRequestValidationError) Key

Key function returns key value.

func (PolicyUpdateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PolicyUpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (PolicyUpdateResponseValidationError) ErrorName

ErrorName returns error name.

func (PolicyUpdateResponseValidationError) Field

Field function returns field value.

func (PolicyUpdateResponseValidationError) Key

Key function returns key value.

func (PolicyUpdateResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Principal.ProtoReflect.Descriptor instead.

func (*Principal) GetAttributes

func (x *Principal) GetAttributes() []*Attribute

func (*Principal) GetId

func (x *Principal) GetId() string

func (*Principal) GetRoles

func (x *Principal) GetRoles() []string

func (*Principal) ProtoMessage

func (*Principal) ProtoMessage()

func (*Principal) ProtoReflect

func (x *Principal) ProtoReflect() protoreflect.Message

func (*Principal) Reset

func (x *Principal) Reset()

func (*Principal) String

func (x *Principal) String() string

func (*Principal) Validate

func (m *Principal) Validate() error

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

func (m *Principal) ValidateAll() error

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

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

Cause function returns cause value.

func (PrincipalCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (PrincipalCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (PrincipalCreateRequestValidationError) Field

Field function returns field value.

func (PrincipalCreateRequestValidationError) Key

Key function returns key value.

func (PrincipalCreateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (PrincipalCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (PrincipalCreateResponseValidationError) Field

Field function returns field value.

func (PrincipalCreateResponseValidationError) Key

Key function returns key value.

func (PrincipalCreateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (PrincipalDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (PrincipalDeleteRequestValidationError) Field

Field function returns field value.

func (PrincipalDeleteRequestValidationError) Key

Key function returns key value.

func (PrincipalDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (PrincipalDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (PrincipalDeleteResponseValidationError) Field

Field function returns field value.

func (PrincipalDeleteResponseValidationError) Key

Key function returns key value.

func (PrincipalDeleteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalGetRequestValidationError) Error

Error satisfies the builtin error interface

func (PrincipalGetRequestValidationError) ErrorName

ErrorName returns error name.

func (PrincipalGetRequestValidationError) Field

Field function returns field value.

func (PrincipalGetRequestValidationError) Key

Key function returns key value.

func (PrincipalGetRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalGetResponseValidationError) Error

Error satisfies the builtin error interface

func (PrincipalGetResponseValidationError) ErrorName

ErrorName returns error name.

func (PrincipalGetResponseValidationError) Field

Field function returns field value.

func (PrincipalGetResponseValidationError) Key

Key function returns key value.

func (PrincipalGetResponseValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalUpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (PrincipalUpdateRequestValidationError) ErrorName

ErrorName returns error name.

func (PrincipalUpdateRequestValidationError) Field

Field function returns field value.

func (PrincipalUpdateRequestValidationError) Key

Key function returns key value.

func (PrincipalUpdateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (PrincipalUpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (PrincipalUpdateResponseValidationError) ErrorName

ErrorName returns error name.

func (PrincipalUpdateResponseValidationError) Field

Field function returns field value.

func (PrincipalUpdateResponseValidationError) Key

Key function returns key value.

func (PrincipalUpdateResponseValidationError) Reason

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAttributes

func (x *Resource) GetAttributes() []*Attribute

func (*Resource) GetId

func (x *Resource) GetId() string

func (*Resource) GetKind

func (x *Resource) GetKind() string

func (*Resource) GetValue

func (x *Resource) GetValue() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

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

func (m *Resource) ValidateAll() error

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

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

Cause function returns cause value.

func (ResourceCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceCreateRequestValidationError) Field

Field function returns field value.

func (ResourceCreateRequestValidationError) Key

Key function returns key value.

func (ResourceCreateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourceCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourceCreateResponseValidationError) Field

Field function returns field value.

func (ResourceCreateResponseValidationError) Key

Key function returns key value.

func (ResourceCreateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceDeleteRequestValidationError) Field

Field function returns field value.

func (ResourceDeleteRequestValidationError) Key

Key function returns key value.

func (ResourceDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourceDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourceDeleteResponseValidationError) Field

Field function returns field value.

func (ResourceDeleteResponseValidationError) Key

Key function returns key value.

func (ResourceDeleteResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceGetRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceGetRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceGetRequestValidationError) Field

Field function returns field value.

func (ResourceGetRequestValidationError) Key

Key function returns key value.

func (ResourceGetRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceGetResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourceGetResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourceGetResponseValidationError) Field

Field function returns field value.

func (ResourceGetResponseValidationError) Key

Key function returns key value.

func (ResourceGetResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceUpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (ResourceUpdateRequestValidationError) ErrorName

ErrorName returns error name.

func (ResourceUpdateRequestValidationError) Field

Field function returns field value.

func (ResourceUpdateRequestValidationError) Key

Key function returns key value.

func (ResourceUpdateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ResourceUpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (ResourceUpdateResponseValidationError) ErrorName

ErrorName returns error name.

func (ResourceUpdateResponseValidationError) Field

Field function returns field value.

func (ResourceUpdateResponseValidationError) Key

Key function returns key value.

func (ResourceUpdateResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetPolicies

func (x *Role) GetPolicies() []string

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

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

func (m *Role) ValidateAll() error

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

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

Cause function returns cause value.

func (RoleCreateRequestValidationError) Error

Error satisfies the builtin error interface

func (RoleCreateRequestValidationError) ErrorName

ErrorName returns error name.

func (RoleCreateRequestValidationError) Field

Field function returns field value.

func (RoleCreateRequestValidationError) Key

Key function returns key value.

func (RoleCreateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RoleCreateResponseValidationError) Error

Error satisfies the builtin error interface

func (RoleCreateResponseValidationError) ErrorName

ErrorName returns error name.

func (RoleCreateResponseValidationError) Field

Field function returns field value.

func (RoleCreateResponseValidationError) Key

Key function returns key value.

func (RoleCreateResponseValidationError) Reason

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

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

Cause function returns cause value.

func (RoleDeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (RoleDeleteRequestValidationError) ErrorName

ErrorName returns error name.

func (RoleDeleteRequestValidationError) Field

Field function returns field value.

func (RoleDeleteRequestValidationError) Key

Key function returns key value.

func (RoleDeleteRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RoleDeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (RoleDeleteResponseValidationError) ErrorName

ErrorName returns error name.

func (RoleDeleteResponseValidationError) Field

Field function returns field value.

func (RoleDeleteResponseValidationError) Key

Key function returns key value.

func (RoleDeleteResponseValidationError) Reason

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

Cause function returns cause value.

func (RoleGetRequestValidationError) Error

Error satisfies the builtin error interface

func (RoleGetRequestValidationError) ErrorName

func (e RoleGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RoleGetRequestValidationError) Field

Field function returns field value.

func (RoleGetRequestValidationError) Key

Key function returns key value.

func (RoleGetRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RoleGetResponseValidationError) Error

Error satisfies the builtin error interface

func (RoleGetResponseValidationError) ErrorName

func (e RoleGetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (RoleGetResponseValidationError) Field

Field function returns field value.

func (RoleGetResponseValidationError) Key

Key function returns key value.

func (RoleGetResponseValidationError) Reason

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

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

Cause function returns cause value.

func (RoleUpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (RoleUpdateRequestValidationError) ErrorName

ErrorName returns error name.

func (RoleUpdateRequestValidationError) Field

Field function returns field value.

func (RoleUpdateRequestValidationError) Key

Key function returns key value.

func (RoleUpdateRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RoleUpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (RoleUpdateResponseValidationError) ErrorName

ErrorName returns error name.

func (RoleUpdateResponseValidationError) Field

Field function returns field value.

func (RoleUpdateResponseValidationError) Key

Key function returns key value.

func (RoleUpdateResponseValidationError) Reason

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) Check

func (UnimplementedApiServer) PolicyCreate

func (UnimplementedApiServer) PolicyDelete

func (UnimplementedApiServer) PolicyGet

func (UnimplementedApiServer) PolicyUpdate

func (UnimplementedApiServer) PrincipalCreate

func (UnimplementedApiServer) PrincipalDelete

func (UnimplementedApiServer) PrincipalGet

func (UnimplementedApiServer) PrincipalUpdate

func (UnimplementedApiServer) ResourceCreate

func (UnimplementedApiServer) ResourceDelete

func (UnimplementedApiServer) ResourceGet

func (UnimplementedApiServer) ResourceUpdate

func (UnimplementedApiServer) RoleCreate

func (UnimplementedApiServer) RoleDelete

func (UnimplementedApiServer) RoleGet

func (UnimplementedApiServer) RoleUpdate

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL