Documentation
¶
Overview ¶
Package authz is a generated GoMock package.
Package authz is a generated GoMock package.
Index ¶
- Variables
- func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
- func RegisterPoliciesServiceServer(s *grpc.Server, srv PoliciesServiceServer)
- func RegisterProjectsServiceServer(s *grpc.Server, srv ProjectsServiceServer)
- type AddPolicyMembersReq
- func (*AddPolicyMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *AddPolicyMembersReq) GetId() string
- func (x *AddPolicyMembersReq) GetMembers() []string
- func (*AddPolicyMembersReq) ProtoMessage()
- func (x *AddPolicyMembersReq) ProtoReflect() protoreflect.Message
- func (x *AddPolicyMembersReq) Reset()
- func (x *AddPolicyMembersReq) String() string
- func (m *AddPolicyMembersReq) Validate() error
- func (m *AddPolicyMembersReq) ValidateAll() error
- type AddPolicyMembersReqMultiError
- type AddPolicyMembersReqValidationError
- func (e AddPolicyMembersReqValidationError) Cause() error
- func (e AddPolicyMembersReqValidationError) Error() string
- func (e AddPolicyMembersReqValidationError) ErrorName() string
- func (e AddPolicyMembersReqValidationError) Field() string
- func (e AddPolicyMembersReqValidationError) Key() bool
- func (e AddPolicyMembersReqValidationError) Reason() string
- type AddPolicyMembersResp
- func (*AddPolicyMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *AddPolicyMembersResp) GetMembers() []string
- func (*AddPolicyMembersResp) ProtoMessage()
- func (x *AddPolicyMembersResp) ProtoReflect() protoreflect.Message
- func (x *AddPolicyMembersResp) Reset()
- func (x *AddPolicyMembersResp) String() string
- func (m *AddPolicyMembersResp) Validate() error
- func (m *AddPolicyMembersResp) ValidateAll() error
- type AddPolicyMembersRespMultiError
- type AddPolicyMembersRespValidationError
- func (e AddPolicyMembersRespValidationError) Cause() error
- func (e AddPolicyMembersRespValidationError) Error() string
- func (e AddPolicyMembersRespValidationError) ErrorName() string
- func (e AddPolicyMembersRespValidationError) Field() string
- func (e AddPolicyMembersRespValidationError) Key() bool
- func (e AddPolicyMembersRespValidationError) Reason() string
- type ApplyRulesCancelReq
- func (*ApplyRulesCancelReq) Descriptor() ([]byte, []int)deprecated
- func (*ApplyRulesCancelReq) ProtoMessage()
- func (x *ApplyRulesCancelReq) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesCancelReq) Reset()
- func (x *ApplyRulesCancelReq) String() string
- func (m *ApplyRulesCancelReq) Validate() error
- func (m *ApplyRulesCancelReq) ValidateAll() error
- type ApplyRulesCancelReqMultiError
- type ApplyRulesCancelReqValidationError
- func (e ApplyRulesCancelReqValidationError) Cause() error
- func (e ApplyRulesCancelReqValidationError) Error() string
- func (e ApplyRulesCancelReqValidationError) ErrorName() string
- func (e ApplyRulesCancelReqValidationError) Field() string
- func (e ApplyRulesCancelReqValidationError) Key() bool
- func (e ApplyRulesCancelReqValidationError) Reason() string
- type ApplyRulesCancelResp
- func (*ApplyRulesCancelResp) Descriptor() ([]byte, []int)deprecated
- func (*ApplyRulesCancelResp) ProtoMessage()
- func (x *ApplyRulesCancelResp) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesCancelResp) Reset()
- func (x *ApplyRulesCancelResp) String() string
- func (m *ApplyRulesCancelResp) Validate() error
- func (m *ApplyRulesCancelResp) ValidateAll() error
- type ApplyRulesCancelRespMultiError
- type ApplyRulesCancelRespValidationError
- func (e ApplyRulesCancelRespValidationError) Cause() error
- func (e ApplyRulesCancelRespValidationError) Error() string
- func (e ApplyRulesCancelRespValidationError) ErrorName() string
- func (e ApplyRulesCancelRespValidationError) Field() string
- func (e ApplyRulesCancelRespValidationError) Key() bool
- func (e ApplyRulesCancelRespValidationError) Reason() string
- type ApplyRulesStartReq
- func (*ApplyRulesStartReq) Descriptor() ([]byte, []int)deprecated
- func (*ApplyRulesStartReq) ProtoMessage()
- func (x *ApplyRulesStartReq) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesStartReq) Reset()
- func (x *ApplyRulesStartReq) String() string
- func (m *ApplyRulesStartReq) Validate() error
- func (m *ApplyRulesStartReq) ValidateAll() error
- type ApplyRulesStartReqMultiError
- type ApplyRulesStartReqValidationError
- func (e ApplyRulesStartReqValidationError) Cause() error
- func (e ApplyRulesStartReqValidationError) Error() string
- func (e ApplyRulesStartReqValidationError) ErrorName() string
- func (e ApplyRulesStartReqValidationError) Field() string
- func (e ApplyRulesStartReqValidationError) Key() bool
- func (e ApplyRulesStartReqValidationError) Reason() string
- type ApplyRulesStartResp
- func (*ApplyRulesStartResp) Descriptor() ([]byte, []int)deprecated
- func (*ApplyRulesStartResp) ProtoMessage()
- func (x *ApplyRulesStartResp) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesStartResp) Reset()
- func (x *ApplyRulesStartResp) String() string
- func (m *ApplyRulesStartResp) Validate() error
- func (m *ApplyRulesStartResp) ValidateAll() error
- type ApplyRulesStartRespMultiError
- type ApplyRulesStartRespValidationError
- func (e ApplyRulesStartRespValidationError) Cause() error
- func (e ApplyRulesStartRespValidationError) Error() string
- func (e ApplyRulesStartRespValidationError) ErrorName() string
- func (e ApplyRulesStartRespValidationError) Field() string
- func (e ApplyRulesStartRespValidationError) Key() bool
- func (e ApplyRulesStartRespValidationError) Reason() string
- type ApplyRulesStatusReq
- func (*ApplyRulesStatusReq) Descriptor() ([]byte, []int)deprecated
- func (*ApplyRulesStatusReq) ProtoMessage()
- func (x *ApplyRulesStatusReq) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesStatusReq) Reset()
- func (x *ApplyRulesStatusReq) String() string
- func (m *ApplyRulesStatusReq) Validate() error
- func (m *ApplyRulesStatusReq) ValidateAll() error
- type ApplyRulesStatusReqMultiError
- type ApplyRulesStatusReqValidationError
- func (e ApplyRulesStatusReqValidationError) Cause() error
- func (e ApplyRulesStatusReqValidationError) Error() string
- func (e ApplyRulesStatusReqValidationError) ErrorName() string
- func (e ApplyRulesStatusReqValidationError) Field() string
- func (e ApplyRulesStatusReqValidationError) Key() bool
- func (e ApplyRulesStatusReqValidationError) Reason() string
- type ApplyRulesStatusResp
- func (*ApplyRulesStatusResp) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyRulesStatusResp) GetCancelled() bool
- func (x *ApplyRulesStatusResp) GetEstimatedTimeComplete() *timestamppb.Timestamp
- func (x *ApplyRulesStatusResp) GetFailed() bool
- func (x *ApplyRulesStatusResp) GetFailureMessage() string
- func (x *ApplyRulesStatusResp) GetPercentageComplete() float32
- func (x *ApplyRulesStatusResp) GetState() string
- func (*ApplyRulesStatusResp) ProtoMessage()
- func (x *ApplyRulesStatusResp) ProtoReflect() protoreflect.Message
- func (x *ApplyRulesStatusResp) Reset()
- func (x *ApplyRulesStatusResp) String() string
- func (m *ApplyRulesStatusResp) Validate() error
- func (m *ApplyRulesStatusResp) ValidateAll() error
- type ApplyRulesStatusRespMultiError
- type ApplyRulesStatusRespValidationError
- func (e ApplyRulesStatusRespValidationError) Cause() error
- func (e ApplyRulesStatusRespValidationError) Error() string
- func (e ApplyRulesStatusRespValidationError) ErrorName() string
- func (e ApplyRulesStatusRespValidationError) Field() string
- func (e ApplyRulesStatusRespValidationError) Key() bool
- func (e ApplyRulesStatusRespValidationError) Reason() string
- type AuthorizationServiceClient
- type AuthorizationServiceServer
- type AuthorizationServiceServerMock
- func (m *AuthorizationServiceServerMock) FilterAuthorizedPairs(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
- func (m *AuthorizationServiceServerMock) FilterAuthorizedProjects(ctx context.Context, req *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
- func (m *AuthorizationServiceServerMock) GetVersion(ctx context.Context, req *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (m *AuthorizationServiceServerMock) ProjectsAuthorized(ctx context.Context, req *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
- func (m *AuthorizationServiceServerMock) Reset()
- func (m *AuthorizationServiceServerMock) ValidateProjectAssignment(ctx context.Context, req *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetAttribute() ProjectRuleConditionAttributes
- func (x *Condition) GetOperator() ProjectRuleConditionOperators
- func (x *Condition) GetValues() []string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- func (m *Condition) Validate() error
- func (m *Condition) ValidateAll() error
- type ConditionMultiError
- type ConditionValidationError
- type CreatePolicyReq
- func (*CreatePolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyReq) GetId() string
- func (x *CreatePolicyReq) GetMembers() []string
- func (x *CreatePolicyReq) GetName() string
- func (x *CreatePolicyReq) GetProjects() []string
- func (x *CreatePolicyReq) GetStatements() []*Statement
- func (*CreatePolicyReq) ProtoMessage()
- func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyReq) Reset()
- func (x *CreatePolicyReq) String() string
- func (m *CreatePolicyReq) Validate() error
- func (m *CreatePolicyReq) ValidateAll() error
- type CreatePolicyReqMultiError
- type CreatePolicyReqValidationError
- func (e CreatePolicyReqValidationError) Cause() error
- func (e CreatePolicyReqValidationError) Error() string
- func (e CreatePolicyReqValidationError) ErrorName() string
- func (e CreatePolicyReqValidationError) Field() string
- func (e CreatePolicyReqValidationError) Key() bool
- func (e CreatePolicyReqValidationError) Reason() string
- type CreateProjectReq
- func (*CreateProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectReq) GetId() string
- func (x *CreateProjectReq) GetName() string
- func (x *CreateProjectReq) GetSkipPolicies() bool
- func (*CreateProjectReq) ProtoMessage()
- func (x *CreateProjectReq) ProtoReflect() protoreflect.Message
- func (x *CreateProjectReq) Reset()
- func (x *CreateProjectReq) String() string
- func (m *CreateProjectReq) Validate() error
- func (m *CreateProjectReq) ValidateAll() error
- type CreateProjectReqMultiError
- type CreateProjectReqValidationError
- func (e CreateProjectReqValidationError) Cause() error
- func (e CreateProjectReqValidationError) Error() string
- func (e CreateProjectReqValidationError) ErrorName() string
- func (e CreateProjectReqValidationError) Field() string
- func (e CreateProjectReqValidationError) Key() bool
- func (e CreateProjectReqValidationError) Reason() string
- type CreateProjectResp
- func (*CreateProjectResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectResp) GetProject() *Project
- func (*CreateProjectResp) ProtoMessage()
- func (x *CreateProjectResp) ProtoReflect() protoreflect.Message
- func (x *CreateProjectResp) Reset()
- func (x *CreateProjectResp) String() string
- func (m *CreateProjectResp) Validate() error
- func (m *CreateProjectResp) ValidateAll() error
- type CreateProjectRespMultiError
- type CreateProjectRespValidationError
- func (e CreateProjectRespValidationError) Cause() error
- func (e CreateProjectRespValidationError) Error() string
- func (e CreateProjectRespValidationError) ErrorName() string
- func (e CreateProjectRespValidationError) Field() string
- func (e CreateProjectRespValidationError) Key() bool
- func (e CreateProjectRespValidationError) Reason() string
- type CreateRoleReq
- func (*CreateRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoleReq) GetActions() []string
- func (x *CreateRoleReq) GetId() string
- func (x *CreateRoleReq) GetName() string
- func (x *CreateRoleReq) GetProjects() []string
- func (*CreateRoleReq) ProtoMessage()
- func (x *CreateRoleReq) ProtoReflect() protoreflect.Message
- func (x *CreateRoleReq) Reset()
- func (x *CreateRoleReq) String() string
- func (m *CreateRoleReq) Validate() error
- func (m *CreateRoleReq) ValidateAll() error
- type CreateRoleReqMultiError
- type CreateRoleReqValidationError
- func (e CreateRoleReqValidationError) Cause() error
- func (e CreateRoleReqValidationError) Error() string
- func (e CreateRoleReqValidationError) ErrorName() string
- func (e CreateRoleReqValidationError) Field() string
- func (e CreateRoleReqValidationError) Key() bool
- func (e CreateRoleReqValidationError) Reason() string
- type CreateRuleReq
- func (*CreateRuleReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRuleReq) GetConditions() []*Condition
- func (x *CreateRuleReq) GetId() string
- func (x *CreateRuleReq) GetName() string
- func (x *CreateRuleReq) GetProjectId() string
- func (x *CreateRuleReq) GetType() ProjectRuleTypes
- func (*CreateRuleReq) ProtoMessage()
- func (x *CreateRuleReq) ProtoReflect() protoreflect.Message
- func (x *CreateRuleReq) Reset()
- func (x *CreateRuleReq) String() string
- func (m *CreateRuleReq) Validate() error
- func (m *CreateRuleReq) ValidateAll() error
- type CreateRuleReqMultiError
- type CreateRuleReqValidationError
- func (e CreateRuleReqValidationError) Cause() error
- func (e CreateRuleReqValidationError) Error() string
- func (e CreateRuleReqValidationError) ErrorName() string
- func (e CreateRuleReqValidationError) Field() string
- func (e CreateRuleReqValidationError) Key() bool
- func (e CreateRuleReqValidationError) Reason() string
- type CreateRuleResp
- func (*CreateRuleResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRuleResp) GetRule() *ProjectRule
- func (*CreateRuleResp) ProtoMessage()
- func (x *CreateRuleResp) ProtoReflect() protoreflect.Message
- func (x *CreateRuleResp) Reset()
- func (x *CreateRuleResp) String() string
- func (m *CreateRuleResp) Validate() error
- func (m *CreateRuleResp) ValidateAll() error
- type CreateRuleRespMultiError
- type CreateRuleRespValidationError
- func (e CreateRuleRespValidationError) Cause() error
- func (e CreateRuleRespValidationError) Error() string
- func (e CreateRuleRespValidationError) ErrorName() string
- func (e CreateRuleRespValidationError) Field() string
- func (e CreateRuleRespValidationError) Key() bool
- func (e CreateRuleRespValidationError) Reason() string
- type DeletePolicyReq
- func (*DeletePolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyReq) GetId() string
- func (*DeletePolicyReq) ProtoMessage()
- func (x *DeletePolicyReq) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyReq) Reset()
- func (x *DeletePolicyReq) String() string
- func (m *DeletePolicyReq) Validate() error
- func (m *DeletePolicyReq) ValidateAll() error
- type DeletePolicyReqMultiError
- type DeletePolicyReqValidationError
- func (e DeletePolicyReqValidationError) Cause() error
- func (e DeletePolicyReqValidationError) Error() string
- func (e DeletePolicyReqValidationError) ErrorName() string
- func (e DeletePolicyReqValidationError) Field() string
- func (e DeletePolicyReqValidationError) Key() bool
- func (e DeletePolicyReqValidationError) Reason() string
- type DeletePolicyResp
- func (*DeletePolicyResp) Descriptor() ([]byte, []int)deprecated
- func (*DeletePolicyResp) ProtoMessage()
- func (x *DeletePolicyResp) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyResp) Reset()
- func (x *DeletePolicyResp) String() string
- func (m *DeletePolicyResp) Validate() error
- func (m *DeletePolicyResp) ValidateAll() error
- type DeletePolicyRespMultiError
- type DeletePolicyRespValidationError
- func (e DeletePolicyRespValidationError) Cause() error
- func (e DeletePolicyRespValidationError) Error() string
- func (e DeletePolicyRespValidationError) ErrorName() string
- func (e DeletePolicyRespValidationError) Field() string
- func (e DeletePolicyRespValidationError) Key() bool
- func (e DeletePolicyRespValidationError) Reason() string
- type DeleteProjectReq
- func (*DeleteProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectReq) GetId() string
- func (*DeleteProjectReq) ProtoMessage()
- func (x *DeleteProjectReq) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectReq) Reset()
- func (x *DeleteProjectReq) String() string
- func (m *DeleteProjectReq) Validate() error
- func (m *DeleteProjectReq) ValidateAll() error
- type DeleteProjectReqMultiError
- type DeleteProjectReqValidationError
- func (e DeleteProjectReqValidationError) Cause() error
- func (e DeleteProjectReqValidationError) Error() string
- func (e DeleteProjectReqValidationError) ErrorName() string
- func (e DeleteProjectReqValidationError) Field() string
- func (e DeleteProjectReqValidationError) Key() bool
- func (e DeleteProjectReqValidationError) Reason() string
- type DeleteProjectResp
- func (*DeleteProjectResp) Descriptor() ([]byte, []int)deprecated
- func (*DeleteProjectResp) ProtoMessage()
- func (x *DeleteProjectResp) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectResp) Reset()
- func (x *DeleteProjectResp) String() string
- func (m *DeleteProjectResp) Validate() error
- func (m *DeleteProjectResp) ValidateAll() error
- type DeleteProjectRespMultiError
- type DeleteProjectRespValidationError
- func (e DeleteProjectRespValidationError) Cause() error
- func (e DeleteProjectRespValidationError) Error() string
- func (e DeleteProjectRespValidationError) ErrorName() string
- func (e DeleteProjectRespValidationError) Field() string
- func (e DeleteProjectRespValidationError) Key() bool
- func (e DeleteProjectRespValidationError) Reason() string
- type DeleteRoleReq
- func (*DeleteRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRoleReq) GetId() string
- func (*DeleteRoleReq) ProtoMessage()
- func (x *DeleteRoleReq) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleReq) Reset()
- func (x *DeleteRoleReq) String() string
- func (m *DeleteRoleReq) Validate() error
- func (m *DeleteRoleReq) ValidateAll() error
- type DeleteRoleReqMultiError
- type DeleteRoleReqValidationError
- func (e DeleteRoleReqValidationError) Cause() error
- func (e DeleteRoleReqValidationError) Error() string
- func (e DeleteRoleReqValidationError) ErrorName() string
- func (e DeleteRoleReqValidationError) Field() string
- func (e DeleteRoleReqValidationError) Key() bool
- func (e DeleteRoleReqValidationError) Reason() string
- type DeleteRoleResp
- func (*DeleteRoleResp) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRoleResp) ProtoMessage()
- func (x *DeleteRoleResp) ProtoReflect() protoreflect.Message
- func (x *DeleteRoleResp) Reset()
- func (x *DeleteRoleResp) String() string
- func (m *DeleteRoleResp) Validate() error
- func (m *DeleteRoleResp) ValidateAll() error
- type DeleteRoleRespMultiError
- type DeleteRoleRespValidationError
- func (e DeleteRoleRespValidationError) Cause() error
- func (e DeleteRoleRespValidationError) Error() string
- func (e DeleteRoleRespValidationError) ErrorName() string
- func (e DeleteRoleRespValidationError) Field() string
- func (e DeleteRoleRespValidationError) Key() bool
- func (e DeleteRoleRespValidationError) Reason() string
- type DeleteRuleReq
- func (*DeleteRuleReq) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRuleReq) GetId() string
- func (x *DeleteRuleReq) GetProjectId() string
- func (*DeleteRuleReq) ProtoMessage()
- func (x *DeleteRuleReq) ProtoReflect() protoreflect.Message
- func (x *DeleteRuleReq) Reset()
- func (x *DeleteRuleReq) String() string
- func (m *DeleteRuleReq) Validate() error
- func (m *DeleteRuleReq) ValidateAll() error
- type DeleteRuleReqMultiError
- type DeleteRuleReqValidationError
- func (e DeleteRuleReqValidationError) Cause() error
- func (e DeleteRuleReqValidationError) Error() string
- func (e DeleteRuleReqValidationError) ErrorName() string
- func (e DeleteRuleReqValidationError) Field() string
- func (e DeleteRuleReqValidationError) Key() bool
- func (e DeleteRuleReqValidationError) Reason() string
- type DeleteRuleResp
- func (*DeleteRuleResp) Descriptor() ([]byte, []int)deprecated
- func (*DeleteRuleResp) ProtoMessage()
- func (x *DeleteRuleResp) ProtoReflect() protoreflect.Message
- func (x *DeleteRuleResp) Reset()
- func (x *DeleteRuleResp) String() string
- func (m *DeleteRuleResp) Validate() error
- func (m *DeleteRuleResp) ValidateAll() error
- type DeleteRuleRespMultiError
- type DeleteRuleRespValidationError
- func (e DeleteRuleRespValidationError) Cause() error
- func (e DeleteRuleRespValidationError) Error() string
- func (e DeleteRuleRespValidationError) ErrorName() string
- func (e DeleteRuleRespValidationError) Field() string
- func (e DeleteRuleRespValidationError) Key() bool
- func (e DeleteRuleRespValidationError) Reason() string
- type FilterAuthorizedPairsReq
- func (*FilterAuthorizedPairsReq) Descriptor() ([]byte, []int)deprecated
- func (x *FilterAuthorizedPairsReq) GetPairs() []*Pair
- func (x *FilterAuthorizedPairsReq) GetSubjects() []string
- func (*FilterAuthorizedPairsReq) ProtoMessage()
- func (x *FilterAuthorizedPairsReq) ProtoReflect() protoreflect.Message
- func (x *FilterAuthorizedPairsReq) Reset()
- func (x *FilterAuthorizedPairsReq) String() string
- func (m *FilterAuthorizedPairsReq) Validate() error
- func (m *FilterAuthorizedPairsReq) ValidateAll() error
- type FilterAuthorizedPairsReqMultiError
- type FilterAuthorizedPairsReqValidationError
- func (e FilterAuthorizedPairsReqValidationError) Cause() error
- func (e FilterAuthorizedPairsReqValidationError) Error() string
- func (e FilterAuthorizedPairsReqValidationError) ErrorName() string
- func (e FilterAuthorizedPairsReqValidationError) Field() string
- func (e FilterAuthorizedPairsReqValidationError) Key() bool
- func (e FilterAuthorizedPairsReqValidationError) Reason() string
- type FilterAuthorizedPairsResp
- func (*FilterAuthorizedPairsResp) Descriptor() ([]byte, []int)deprecated
- func (x *FilterAuthorizedPairsResp) GetPairs() []*Pair
- func (*FilterAuthorizedPairsResp) ProtoMessage()
- func (x *FilterAuthorizedPairsResp) ProtoReflect() protoreflect.Message
- func (x *FilterAuthorizedPairsResp) Reset()
- func (x *FilterAuthorizedPairsResp) String() string
- func (m *FilterAuthorizedPairsResp) Validate() error
- func (m *FilterAuthorizedPairsResp) ValidateAll() error
- type FilterAuthorizedPairsRespMultiError
- type FilterAuthorizedPairsRespValidationError
- func (e FilterAuthorizedPairsRespValidationError) Cause() error
- func (e FilterAuthorizedPairsRespValidationError) Error() string
- func (e FilterAuthorizedPairsRespValidationError) ErrorName() string
- func (e FilterAuthorizedPairsRespValidationError) Field() string
- func (e FilterAuthorizedPairsRespValidationError) Key() bool
- func (e FilterAuthorizedPairsRespValidationError) Reason() string
- type FilterAuthorizedProjectsReq
- func (*FilterAuthorizedProjectsReq) Descriptor() ([]byte, []int)deprecated
- func (x *FilterAuthorizedProjectsReq) GetSubjects() []string
- func (*FilterAuthorizedProjectsReq) ProtoMessage()
- func (x *FilterAuthorizedProjectsReq) ProtoReflect() protoreflect.Message
- func (x *FilterAuthorizedProjectsReq) Reset()
- func (x *FilterAuthorizedProjectsReq) String() string
- func (m *FilterAuthorizedProjectsReq) Validate() error
- func (m *FilterAuthorizedProjectsReq) ValidateAll() error
- type FilterAuthorizedProjectsReqMultiError
- type FilterAuthorizedProjectsReqValidationError
- func (e FilterAuthorizedProjectsReqValidationError) Cause() error
- func (e FilterAuthorizedProjectsReqValidationError) Error() string
- func (e FilterAuthorizedProjectsReqValidationError) ErrorName() string
- func (e FilterAuthorizedProjectsReqValidationError) Field() string
- func (e FilterAuthorizedProjectsReqValidationError) Key() bool
- func (e FilterAuthorizedProjectsReqValidationError) Reason() string
- type FilterAuthorizedProjectsResp
- func (*FilterAuthorizedProjectsResp) Descriptor() ([]byte, []int)deprecated
- func (x *FilterAuthorizedProjectsResp) GetProjects() []string
- func (*FilterAuthorizedProjectsResp) ProtoMessage()
- func (x *FilterAuthorizedProjectsResp) ProtoReflect() protoreflect.Message
- func (x *FilterAuthorizedProjectsResp) Reset()
- func (x *FilterAuthorizedProjectsResp) String() string
- func (m *FilterAuthorizedProjectsResp) Validate() error
- func (m *FilterAuthorizedProjectsResp) ValidateAll() error
- type FilterAuthorizedProjectsRespMultiError
- type FilterAuthorizedProjectsRespValidationError
- func (e FilterAuthorizedProjectsRespValidationError) Cause() error
- func (e FilterAuthorizedProjectsRespValidationError) Error() string
- func (e FilterAuthorizedProjectsRespValidationError) ErrorName() string
- func (e FilterAuthorizedProjectsRespValidationError) Field() string
- func (e FilterAuthorizedProjectsRespValidationError) Key() bool
- func (e FilterAuthorizedProjectsRespValidationError) Reason() string
- type Flag
- type GetPolicyReq
- func (*GetPolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyReq) GetId() string
- func (*GetPolicyReq) ProtoMessage()
- func (x *GetPolicyReq) ProtoReflect() protoreflect.Message
- func (x *GetPolicyReq) Reset()
- func (x *GetPolicyReq) String() string
- func (m *GetPolicyReq) Validate() error
- func (m *GetPolicyReq) ValidateAll() error
- type GetPolicyReqMultiError
- type GetPolicyReqValidationError
- func (e GetPolicyReqValidationError) Cause() error
- func (e GetPolicyReqValidationError) Error() string
- func (e GetPolicyReqValidationError) ErrorName() string
- func (e GetPolicyReqValidationError) Field() string
- func (e GetPolicyReqValidationError) Key() bool
- func (e GetPolicyReqValidationError) Reason() string
- type GetPolicyVersionReq
- func (*GetPolicyVersionReq) Descriptor() ([]byte, []int)deprecated
- func (*GetPolicyVersionReq) ProtoMessage()
- func (x *GetPolicyVersionReq) ProtoReflect() protoreflect.Message
- func (x *GetPolicyVersionReq) Reset()
- func (x *GetPolicyVersionReq) String() string
- func (m *GetPolicyVersionReq) Validate() error
- func (m *GetPolicyVersionReq) ValidateAll() error
- type GetPolicyVersionReqMultiError
- type GetPolicyVersionReqValidationError
- func (e GetPolicyVersionReqValidationError) Cause() error
- func (e GetPolicyVersionReqValidationError) Error() string
- func (e GetPolicyVersionReqValidationError) ErrorName() string
- func (e GetPolicyVersionReqValidationError) Field() string
- func (e GetPolicyVersionReqValidationError) Key() bool
- func (e GetPolicyVersionReqValidationError) Reason() string
- type GetPolicyVersionResp
- func (*GetPolicyVersionResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyVersionResp) GetVersion() *Version
- func (*GetPolicyVersionResp) ProtoMessage()
- func (x *GetPolicyVersionResp) ProtoReflect() protoreflect.Message
- func (x *GetPolicyVersionResp) Reset()
- func (x *GetPolicyVersionResp) String() string
- func (m *GetPolicyVersionResp) Validate() error
- func (m *GetPolicyVersionResp) ValidateAll() error
- type GetPolicyVersionRespMultiError
- type GetPolicyVersionRespValidationError
- func (e GetPolicyVersionRespValidationError) Cause() error
- func (e GetPolicyVersionRespValidationError) Error() string
- func (e GetPolicyVersionRespValidationError) ErrorName() string
- func (e GetPolicyVersionRespValidationError) Field() string
- func (e GetPolicyVersionRespValidationError) Key() bool
- func (e GetPolicyVersionRespValidationError) Reason() string
- type GetProjectReq
- func (*GetProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectReq) GetId() string
- func (*GetProjectReq) ProtoMessage()
- func (x *GetProjectReq) ProtoReflect() protoreflect.Message
- func (x *GetProjectReq) Reset()
- func (x *GetProjectReq) String() string
- func (m *GetProjectReq) Validate() error
- func (m *GetProjectReq) ValidateAll() error
- type GetProjectReqMultiError
- type GetProjectReqValidationError
- func (e GetProjectReqValidationError) Cause() error
- func (e GetProjectReqValidationError) Error() string
- func (e GetProjectReqValidationError) ErrorName() string
- func (e GetProjectReqValidationError) Field() string
- func (e GetProjectReqValidationError) Key() bool
- func (e GetProjectReqValidationError) Reason() string
- type GetProjectResp
- func (*GetProjectResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectResp) GetProject() *Project
- func (*GetProjectResp) ProtoMessage()
- func (x *GetProjectResp) ProtoReflect() protoreflect.Message
- func (x *GetProjectResp) Reset()
- func (x *GetProjectResp) String() string
- func (m *GetProjectResp) Validate() error
- func (m *GetProjectResp) ValidateAll() error
- type GetProjectRespMultiError
- type GetProjectRespValidationError
- func (e GetProjectRespValidationError) Cause() error
- func (e GetProjectRespValidationError) Error() string
- func (e GetProjectRespValidationError) ErrorName() string
- func (e GetProjectRespValidationError) Field() string
- func (e GetProjectRespValidationError) Key() bool
- func (e GetProjectRespValidationError) Reason() string
- type GetRoleReq
- func (*GetRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoleReq) GetId() string
- func (*GetRoleReq) ProtoMessage()
- func (x *GetRoleReq) ProtoReflect() protoreflect.Message
- func (x *GetRoleReq) Reset()
- func (x *GetRoleReq) String() string
- func (m *GetRoleReq) Validate() error
- func (m *GetRoleReq) ValidateAll() error
- type GetRoleReqMultiError
- type GetRoleReqValidationError
- type GetRuleReq
- func (*GetRuleReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleReq) GetId() string
- func (x *GetRuleReq) GetProjectId() string
- func (*GetRuleReq) ProtoMessage()
- func (x *GetRuleReq) ProtoReflect() protoreflect.Message
- func (x *GetRuleReq) Reset()
- func (x *GetRuleReq) String() string
- func (m *GetRuleReq) Validate() error
- func (m *GetRuleReq) ValidateAll() error
- type GetRuleReqMultiError
- type GetRuleReqValidationError
- type GetRuleResp
- func (*GetRuleResp) Descriptor() ([]byte, []int)deprecated
- func (x *GetRuleResp) GetRule() *ProjectRule
- func (*GetRuleResp) ProtoMessage()
- func (x *GetRuleResp) ProtoReflect() protoreflect.Message
- func (x *GetRuleResp) Reset()
- func (x *GetRuleResp) String() string
- func (m *GetRuleResp) Validate() error
- func (m *GetRuleResp) ValidateAll() error
- type GetRuleRespMultiError
- type GetRuleRespValidationError
- func (e GetRuleRespValidationError) Cause() error
- func (e GetRuleRespValidationError) Error() string
- func (e GetRuleRespValidationError) ErrorName() string
- func (e GetRuleRespValidationError) Field() string
- func (e GetRuleRespValidationError) Key() bool
- func (e GetRuleRespValidationError) Reason() string
- type GetVersionReq
- func (*GetVersionReq) Descriptor() ([]byte, []int)deprecated
- func (*GetVersionReq) ProtoMessage()
- func (x *GetVersionReq) ProtoReflect() protoreflect.Message
- func (x *GetVersionReq) Reset()
- func (x *GetVersionReq) String() string
- func (m *GetVersionReq) Validate() error
- func (m *GetVersionReq) ValidateAll() error
- type GetVersionReqMultiError
- type GetVersionReqValidationError
- func (e GetVersionReqValidationError) Cause() error
- func (e GetVersionReqValidationError) Error() string
- func (e GetVersionReqValidationError) ErrorName() string
- func (e GetVersionReqValidationError) Field() string
- func (e GetVersionReqValidationError) Key() bool
- func (e GetVersionReqValidationError) Reason() string
- type IsAuthorizedReq
- func (*IsAuthorizedReq) Descriptor() ([]byte, []int)deprecated
- func (x *IsAuthorizedReq) GetAction() string
- func (x *IsAuthorizedReq) GetResource() string
- func (x *IsAuthorizedReq) GetSubjects() []string
- func (*IsAuthorizedReq) ProtoMessage()
- func (x *IsAuthorizedReq) ProtoReflect() protoreflect.Message
- func (x *IsAuthorizedReq) Reset()
- func (x *IsAuthorizedReq) String() string
- func (m *IsAuthorizedReq) Validate() error
- func (m *IsAuthorizedReq) ValidateAll() error
- type IsAuthorizedReqMultiError
- type IsAuthorizedReqValidationError
- func (e IsAuthorizedReqValidationError) Cause() error
- func (e IsAuthorizedReqValidationError) Error() string
- func (e IsAuthorizedReqValidationError) ErrorName() string
- func (e IsAuthorizedReqValidationError) Field() string
- func (e IsAuthorizedReqValidationError) Key() bool
- func (e IsAuthorizedReqValidationError) Reason() string
- type ListPoliciesReq
- func (*ListPoliciesReq) Descriptor() ([]byte, []int)deprecated
- func (*ListPoliciesReq) ProtoMessage()
- func (x *ListPoliciesReq) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesReq) Reset()
- func (x *ListPoliciesReq) String() string
- func (m *ListPoliciesReq) Validate() error
- func (m *ListPoliciesReq) ValidateAll() error
- type ListPoliciesReqMultiError
- type ListPoliciesReqValidationError
- func (e ListPoliciesReqValidationError) Cause() error
- func (e ListPoliciesReqValidationError) Error() string
- func (e ListPoliciesReqValidationError) ErrorName() string
- func (e ListPoliciesReqValidationError) Field() string
- func (e ListPoliciesReqValidationError) Key() bool
- func (e ListPoliciesReqValidationError) Reason() string
- type ListPoliciesResp
- func (*ListPoliciesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesResp) GetPolicies() []*Policy
- func (*ListPoliciesResp) ProtoMessage()
- func (x *ListPoliciesResp) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesResp) Reset()
- func (x *ListPoliciesResp) String() string
- func (m *ListPoliciesResp) Validate() error
- func (m *ListPoliciesResp) ValidateAll() error
- type ListPoliciesRespMultiError
- type ListPoliciesRespValidationError
- func (e ListPoliciesRespValidationError) Cause() error
- func (e ListPoliciesRespValidationError) Error() string
- func (e ListPoliciesRespValidationError) ErrorName() string
- func (e ListPoliciesRespValidationError) Field() string
- func (e ListPoliciesRespValidationError) Key() bool
- func (e ListPoliciesRespValidationError) Reason() string
- type ListPolicyMembersReq
- func (*ListPolicyMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyMembersReq) GetId() string
- func (*ListPolicyMembersReq) ProtoMessage()
- func (x *ListPolicyMembersReq) ProtoReflect() protoreflect.Message
- func (x *ListPolicyMembersReq) Reset()
- func (x *ListPolicyMembersReq) String() string
- func (m *ListPolicyMembersReq) Validate() error
- func (m *ListPolicyMembersReq) ValidateAll() error
- type ListPolicyMembersReqMultiError
- type ListPolicyMembersReqValidationError
- func (e ListPolicyMembersReqValidationError) Cause() error
- func (e ListPolicyMembersReqValidationError) Error() string
- func (e ListPolicyMembersReqValidationError) ErrorName() string
- func (e ListPolicyMembersReqValidationError) Field() string
- func (e ListPolicyMembersReqValidationError) Key() bool
- func (e ListPolicyMembersReqValidationError) Reason() string
- type ListPolicyMembersResp
- func (*ListPolicyMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyMembersResp) GetMembers() []string
- func (*ListPolicyMembersResp) ProtoMessage()
- func (x *ListPolicyMembersResp) ProtoReflect() protoreflect.Message
- func (x *ListPolicyMembersResp) Reset()
- func (x *ListPolicyMembersResp) String() string
- func (m *ListPolicyMembersResp) Validate() error
- func (m *ListPolicyMembersResp) ValidateAll() error
- type ListPolicyMembersRespMultiError
- type ListPolicyMembersRespValidationError
- func (e ListPolicyMembersRespValidationError) Cause() error
- func (e ListPolicyMembersRespValidationError) Error() string
- func (e ListPolicyMembersRespValidationError) ErrorName() string
- func (e ListPolicyMembersRespValidationError) Field() string
- func (e ListPolicyMembersRespValidationError) Key() bool
- func (e ListPolicyMembersRespValidationError) Reason() string
- type ListProjectsReq
- func (*ListProjectsReq) Descriptor() ([]byte, []int)deprecated
- func (*ListProjectsReq) ProtoMessage()
- func (x *ListProjectsReq) ProtoReflect() protoreflect.Message
- func (x *ListProjectsReq) Reset()
- func (x *ListProjectsReq) String() string
- func (m *ListProjectsReq) Validate() error
- func (m *ListProjectsReq) ValidateAll() error
- type ListProjectsReqMultiError
- type ListProjectsReqValidationError
- func (e ListProjectsReqValidationError) Cause() error
- func (e ListProjectsReqValidationError) Error() string
- func (e ListProjectsReqValidationError) ErrorName() string
- func (e ListProjectsReqValidationError) Field() string
- func (e ListProjectsReqValidationError) Key() bool
- func (e ListProjectsReqValidationError) Reason() string
- type ListProjectsResp
- func (*ListProjectsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectsResp) GetProjects() []*Project
- func (*ListProjectsResp) ProtoMessage()
- func (x *ListProjectsResp) ProtoReflect() protoreflect.Message
- func (x *ListProjectsResp) Reset()
- func (x *ListProjectsResp) String() string
- func (m *ListProjectsResp) Validate() error
- func (m *ListProjectsResp) ValidateAll() error
- type ListProjectsRespMultiError
- type ListProjectsRespValidationError
- func (e ListProjectsRespValidationError) Cause() error
- func (e ListProjectsRespValidationError) Error() string
- func (e ListProjectsRespValidationError) ErrorName() string
- func (e ListProjectsRespValidationError) Field() string
- func (e ListProjectsRespValidationError) Key() bool
- func (e ListProjectsRespValidationError) Reason() string
- type ListRolesReq
- func (*ListRolesReq) Descriptor() ([]byte, []int)deprecated
- func (*ListRolesReq) ProtoMessage()
- func (x *ListRolesReq) ProtoReflect() protoreflect.Message
- func (x *ListRolesReq) Reset()
- func (x *ListRolesReq) String() string
- func (m *ListRolesReq) Validate() error
- func (m *ListRolesReq) ValidateAll() error
- type ListRolesReqMultiError
- type ListRolesReqValidationError
- func (e ListRolesReqValidationError) Cause() error
- func (e ListRolesReqValidationError) Error() string
- func (e ListRolesReqValidationError) ErrorName() string
- func (e ListRolesReqValidationError) Field() string
- func (e ListRolesReqValidationError) Key() bool
- func (e ListRolesReqValidationError) Reason() string
- type ListRolesResp
- func (*ListRolesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListRolesResp) GetRoles() []*Role
- func (*ListRolesResp) ProtoMessage()
- func (x *ListRolesResp) ProtoReflect() protoreflect.Message
- func (x *ListRolesResp) Reset()
- func (x *ListRolesResp) String() string
- func (m *ListRolesResp) Validate() error
- func (m *ListRolesResp) ValidateAll() error
- type ListRolesRespMultiError
- type ListRolesRespValidationError
- func (e ListRolesRespValidationError) Cause() error
- func (e ListRolesRespValidationError) Error() string
- func (e ListRolesRespValidationError) ErrorName() string
- func (e ListRolesRespValidationError) Field() string
- func (e ListRolesRespValidationError) Key() bool
- func (e ListRolesRespValidationError) Reason() string
- type ListRulesForAllProjectsReq
- func (*ListRulesForAllProjectsReq) Descriptor() ([]byte, []int)deprecated
- func (*ListRulesForAllProjectsReq) ProtoMessage()
- func (x *ListRulesForAllProjectsReq) ProtoReflect() protoreflect.Message
- func (x *ListRulesForAllProjectsReq) Reset()
- func (x *ListRulesForAllProjectsReq) String() string
- func (m *ListRulesForAllProjectsReq) Validate() error
- func (m *ListRulesForAllProjectsReq) ValidateAll() error
- type ListRulesForAllProjectsReqMultiError
- type ListRulesForAllProjectsReqValidationError
- func (e ListRulesForAllProjectsReqValidationError) Cause() error
- func (e ListRulesForAllProjectsReqValidationError) Error() string
- func (e ListRulesForAllProjectsReqValidationError) ErrorName() string
- func (e ListRulesForAllProjectsReqValidationError) Field() string
- func (e ListRulesForAllProjectsReqValidationError) Key() bool
- func (e ListRulesForAllProjectsReqValidationError) Reason() string
- type ListRulesForAllProjectsResp
- func (*ListRulesForAllProjectsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesForAllProjectsResp) GetProjectRules() map[string]*ProjectRules
- func (*ListRulesForAllProjectsResp) ProtoMessage()
- func (x *ListRulesForAllProjectsResp) ProtoReflect() protoreflect.Message
- func (x *ListRulesForAllProjectsResp) Reset()
- func (x *ListRulesForAllProjectsResp) String() string
- func (m *ListRulesForAllProjectsResp) Validate() error
- func (m *ListRulesForAllProjectsResp) ValidateAll() error
- type ListRulesForAllProjectsRespMultiError
- type ListRulesForAllProjectsRespValidationError
- func (e ListRulesForAllProjectsRespValidationError) Cause() error
- func (e ListRulesForAllProjectsRespValidationError) Error() string
- func (e ListRulesForAllProjectsRespValidationError) ErrorName() string
- func (e ListRulesForAllProjectsRespValidationError) Field() string
- func (e ListRulesForAllProjectsRespValidationError) Key() bool
- func (e ListRulesForAllProjectsRespValidationError) Reason() string
- type ListRulesForProjectReq
- func (*ListRulesForProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesForProjectReq) GetId() string
- func (*ListRulesForProjectReq) ProtoMessage()
- func (x *ListRulesForProjectReq) ProtoReflect() protoreflect.Message
- func (x *ListRulesForProjectReq) Reset()
- func (x *ListRulesForProjectReq) String() string
- func (m *ListRulesForProjectReq) Validate() error
- func (m *ListRulesForProjectReq) ValidateAll() error
- type ListRulesForProjectReqMultiError
- type ListRulesForProjectReqValidationError
- func (e ListRulesForProjectReqValidationError) Cause() error
- func (e ListRulesForProjectReqValidationError) Error() string
- func (e ListRulesForProjectReqValidationError) ErrorName() string
- func (e ListRulesForProjectReqValidationError) Field() string
- func (e ListRulesForProjectReqValidationError) Key() bool
- func (e ListRulesForProjectReqValidationError) Reason() string
- type ListRulesForProjectResp
- func (*ListRulesForProjectResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesForProjectResp) GetRules() []*ProjectRule
- func (x *ListRulesForProjectResp) GetStatus() string
- func (*ListRulesForProjectResp) ProtoMessage()
- func (x *ListRulesForProjectResp) ProtoReflect() protoreflect.Message
- func (x *ListRulesForProjectResp) Reset()
- func (x *ListRulesForProjectResp) String() string
- func (m *ListRulesForProjectResp) Validate() error
- func (m *ListRulesForProjectResp) ValidateAll() error
- type ListRulesForProjectRespMultiError
- type ListRulesForProjectRespValidationError
- func (e ListRulesForProjectRespValidationError) Cause() error
- func (e ListRulesForProjectRespValidationError) Error() string
- func (e ListRulesForProjectRespValidationError) ErrorName() string
- func (e ListRulesForProjectRespValidationError) Field() string
- func (e ListRulesForProjectRespValidationError) Key() bool
- func (e ListRulesForProjectRespValidationError) Reason() string
- type ListRulesReq
- func (*ListRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesReq) GetIncludeStaged() bool
- func (*ListRulesReq) ProtoMessage()
- func (x *ListRulesReq) ProtoReflect() protoreflect.Message
- func (x *ListRulesReq) Reset()
- func (x *ListRulesReq) String() string
- func (m *ListRulesReq) Validate() error
- func (m *ListRulesReq) ValidateAll() error
- type ListRulesReqMultiError
- type ListRulesReqValidationError
- func (e ListRulesReqValidationError) Cause() error
- func (e ListRulesReqValidationError) Error() string
- func (e ListRulesReqValidationError) ErrorName() string
- func (e ListRulesReqValidationError) Field() string
- func (e ListRulesReqValidationError) Key() bool
- func (e ListRulesReqValidationError) Reason() string
- type ListRulesResp
- func (*ListRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListRulesResp) GetRules() []*ProjectRule
- func (*ListRulesResp) ProtoMessage()
- func (x *ListRulesResp) ProtoReflect() protoreflect.Message
- func (x *ListRulesResp) Reset()
- func (x *ListRulesResp) String() string
- func (m *ListRulesResp) Validate() error
- func (m *ListRulesResp) ValidateAll() error
- type ListRulesRespMultiError
- type ListRulesRespValidationError
- func (e ListRulesRespValidationError) Cause() error
- func (e ListRulesRespValidationError) Error() string
- func (e ListRulesRespValidationError) ErrorName() string
- func (e ListRulesRespValidationError) Field() string
- func (e ListRulesRespValidationError) Key() bool
- func (e ListRulesRespValidationError) Reason() string
- type MigrateToV2Req
- func (*MigrateToV2Req) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateToV2Req) GetFlag() Flag
- func (x *MigrateToV2Req) GetSkipV1Policies() bool
- func (*MigrateToV2Req) ProtoMessage()
- func (x *MigrateToV2Req) ProtoReflect() protoreflect.Message
- func (x *MigrateToV2Req) Reset()
- func (x *MigrateToV2Req) String() string
- func (m *MigrateToV2Req) Validate() error
- func (m *MigrateToV2Req) ValidateAll() error
- type MigrateToV2ReqMultiError
- type MigrateToV2ReqValidationError
- func (e MigrateToV2ReqValidationError) Cause() error
- func (e MigrateToV2ReqValidationError) Error() string
- func (e MigrateToV2ReqValidationError) ErrorName() string
- func (e MigrateToV2ReqValidationError) Field() string
- func (e MigrateToV2ReqValidationError) Key() bool
- func (e MigrateToV2ReqValidationError) Reason() string
- type MigrateToV2Resp
- func (*MigrateToV2Resp) Descriptor() ([]byte, []int)deprecated
- func (x *MigrateToV2Resp) GetReports() []string
- func (*MigrateToV2Resp) ProtoMessage()
- func (x *MigrateToV2Resp) ProtoReflect() protoreflect.Message
- func (x *MigrateToV2Resp) Reset()
- func (x *MigrateToV2Resp) String() string
- func (m *MigrateToV2Resp) Validate() error
- func (m *MigrateToV2Resp) ValidateAll() error
- type MigrateToV2RespMultiError
- type MigrateToV2RespValidationError
- func (e MigrateToV2RespValidationError) Cause() error
- func (e MigrateToV2RespValidationError) Error() string
- func (e MigrateToV2RespValidationError) ErrorName() string
- func (e MigrateToV2RespValidationError) Field() string
- func (e MigrateToV2RespValidationError) Key() bool
- func (e MigrateToV2RespValidationError) Reason() string
- type MockAuthorizationServiceClient
- func (m *MockAuthorizationServiceClient) EXPECT() *MockAuthorizationServiceClientMockRecorder
- func (m *MockAuthorizationServiceClient) FilterAuthorizedPairs(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedPairsResp, error)
- func (m *MockAuthorizationServiceClient) FilterAuthorizedProjects(ctx context.Context, in *FilterAuthorizedProjectsReq, opts ...grpc.CallOption) (*FilterAuthorizedProjectsResp, error)
- func (m *MockAuthorizationServiceClient) GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, error)
- func (m *MockAuthorizationServiceClient) ProjectsAuthorized(ctx context.Context, in *ProjectsAuthorizedReq, opts ...grpc.CallOption) (*ProjectsAuthorizedResp, error)
- func (m *MockAuthorizationServiceClient) ValidateProjectAssignment(ctx context.Context, in *ValidateProjectAssignmentReq, opts ...grpc.CallOption) (*ValidateProjectAssignmentResp, error)
- type MockAuthorizationServiceClientMockRecorder
- func (mr *MockAuthorizationServiceClientMockRecorder) FilterAuthorizedPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceClientMockRecorder) FilterAuthorizedProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceClientMockRecorder) GetVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceClientMockRecorder) ProjectsAuthorized(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceClientMockRecorder) ValidateProjectAssignment(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockAuthorizationServiceServer
- func (m *MockAuthorizationServiceServer) EXPECT() *MockAuthorizationServiceServerMockRecorder
- func (m *MockAuthorizationServiceServer) FilterAuthorizedPairs(arg0 context.Context, arg1 *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
- func (m *MockAuthorizationServiceServer) FilterAuthorizedProjects(arg0 context.Context, arg1 *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
- func (m *MockAuthorizationServiceServer) GetVersion(arg0 context.Context, arg1 *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (m *MockAuthorizationServiceServer) ProjectsAuthorized(arg0 context.Context, arg1 *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
- func (m *MockAuthorizationServiceServer) ValidateProjectAssignment(arg0 context.Context, arg1 *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
- type MockAuthorizationServiceServerMockRecorder
- func (mr *MockAuthorizationServiceServerMockRecorder) FilterAuthorizedPairs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceServerMockRecorder) FilterAuthorizedProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceServerMockRecorder) GetVersion(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceServerMockRecorder) ProjectsAuthorized(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthorizationServiceServerMockRecorder) ValidateProjectAssignment(arg0, arg1 interface{}) *gomock.Call
- type MockProjectsServiceClient
- func (m *MockProjectsServiceClient) ApplyRulesCancel(ctx context.Context, in *ApplyRulesCancelReq, opts ...grpc.CallOption) (*ApplyRulesCancelResp, error)
- func (m *MockProjectsServiceClient) ApplyRulesStart(ctx context.Context, in *ApplyRulesStartReq, opts ...grpc.CallOption) (*ApplyRulesStartResp, error)
- func (m *MockProjectsServiceClient) ApplyRulesStatus(ctx context.Context, in *ApplyRulesStatusReq, opts ...grpc.CallOption) (*ApplyRulesStatusResp, error)
- func (m *MockProjectsServiceClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)
- func (m *MockProjectsServiceClient) CreateRule(ctx context.Context, in *CreateRuleReq, opts ...grpc.CallOption) (*CreateRuleResp, error)
- func (m *MockProjectsServiceClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)
- func (m *MockProjectsServiceClient) DeleteRule(ctx context.Context, in *DeleteRuleReq, opts ...grpc.CallOption) (*DeleteRuleResp, error)
- func (m *MockProjectsServiceClient) EXPECT() *MockProjectsServiceClientMockRecorder
- func (m *MockProjectsServiceClient) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)
- func (m *MockProjectsServiceClient) GetRule(ctx context.Context, in *GetRuleReq, opts ...grpc.CallOption) (*GetRuleResp, error)
- func (m *MockProjectsServiceClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
- func (m *MockProjectsServiceClient) ListProjectsForIntrospection(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
- func (m *MockProjectsServiceClient) ListRules(ctx context.Context, in *ListRulesReq, opts ...grpc.CallOption) (*ListRulesResp, error)
- func (m *MockProjectsServiceClient) ListRulesForAllProjects(ctx context.Context, in *ListRulesForAllProjectsReq, opts ...grpc.CallOption) (*ListRulesForAllProjectsResp, error)
- func (m *MockProjectsServiceClient) ListRulesForProject(ctx context.Context, in *ListRulesForProjectReq, opts ...grpc.CallOption) (*ListRulesForProjectResp, error)
- func (m *MockProjectsServiceClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)
- func (m *MockProjectsServiceClient) UpdateRule(ctx context.Context, in *UpdateRuleReq, opts ...grpc.CallOption) (*UpdateRuleResp, error)
- type MockProjectsServiceClientMockRecorder
- func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesStart(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) CreateRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) DeleteProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) DeleteRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) GetRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ListProjectsForIntrospection(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ListRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ListRulesForAllProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) ListRulesForProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectsServiceClientMockRecorder) UpdateRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockProjectsServiceServer
- func (m *MockProjectsServiceServer) ApplyRulesCancel(arg0 context.Context, arg1 *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
- func (m *MockProjectsServiceServer) ApplyRulesStart(arg0 context.Context, arg1 *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
- func (m *MockProjectsServiceServer) ApplyRulesStatus(arg0 context.Context, arg1 *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
- func (m *MockProjectsServiceServer) CreateProject(arg0 context.Context, arg1 *CreateProjectReq) (*CreateProjectResp, error)
- func (m *MockProjectsServiceServer) CreateRule(arg0 context.Context, arg1 *CreateRuleReq) (*CreateRuleResp, error)
- func (m *MockProjectsServiceServer) DeleteProject(arg0 context.Context, arg1 *DeleteProjectReq) (*DeleteProjectResp, error)
- func (m *MockProjectsServiceServer) DeleteRule(arg0 context.Context, arg1 *DeleteRuleReq) (*DeleteRuleResp, error)
- func (m *MockProjectsServiceServer) EXPECT() *MockProjectsServiceServerMockRecorder
- func (m *MockProjectsServiceServer) GetProject(arg0 context.Context, arg1 *GetProjectReq) (*GetProjectResp, error)
- func (m *MockProjectsServiceServer) GetRule(arg0 context.Context, arg1 *GetRuleReq) (*GetRuleResp, error)
- func (m *MockProjectsServiceServer) ListProjects(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
- func (m *MockProjectsServiceServer) ListProjectsForIntrospection(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
- func (m *MockProjectsServiceServer) ListRules(arg0 context.Context, arg1 *ListRulesReq) (*ListRulesResp, error)
- func (m *MockProjectsServiceServer) ListRulesForAllProjects(arg0 context.Context, arg1 *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
- func (m *MockProjectsServiceServer) ListRulesForProject(arg0 context.Context, arg1 *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
- func (m *MockProjectsServiceServer) UpdateProject(arg0 context.Context, arg1 *UpdateProjectReq) (*UpdateProjectResp, error)
- func (m *MockProjectsServiceServer) UpdateRule(arg0 context.Context, arg1 *UpdateRuleReq) (*UpdateRuleResp, error)
- type MockProjectsServiceServerMockRecorder
- func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesCancel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesStart(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) CreateRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) DeleteRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) GetRule(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ListProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ListProjectsForIntrospection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ListRules(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ListRulesForAllProjects(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) ListRulesForProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProjectsServiceServerMockRecorder) UpdateRule(arg0, arg1 interface{}) *gomock.Call
- type Pair
- func (*Pair) Descriptor() ([]byte, []int)deprecated
- func (x *Pair) GetAction() string
- func (x *Pair) GetResource() string
- func (*Pair) ProtoMessage()
- func (x *Pair) ProtoReflect() protoreflect.Message
- func (x *Pair) Reset()
- func (x *Pair) String() string
- func (m *Pair) Validate() error
- func (m *Pair) ValidateAll() error
- type PairMultiError
- type PairValidationError
- type PoliciesServiceClient
- type PoliciesServiceServer
- type PoliciesServiceServerMock
- func (m *PoliciesServiceServerMock) AddPolicyMembers(ctx context.Context, req *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
- func (m *PoliciesServiceServerMock) CreatePolicy(ctx context.Context, req *CreatePolicyReq) (*Policy, error)
- func (m *PoliciesServiceServerMock) CreateRole(ctx context.Context, req *CreateRoleReq) (*Role, error)
- func (m *PoliciesServiceServerMock) DeletePolicy(ctx context.Context, req *DeletePolicyReq) (*DeletePolicyResp, error)
- func (m *PoliciesServiceServerMock) DeleteRole(ctx context.Context, req *DeleteRoleReq) (*DeleteRoleResp, error)
- func (m *PoliciesServiceServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)
- func (m *PoliciesServiceServerMock) GetPolicyVersion(ctx context.Context, req *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
- func (m *PoliciesServiceServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)
- func (m *PoliciesServiceServerMock) ListPolicies(ctx context.Context, req *ListPoliciesReq) (*ListPoliciesResp, error)
- func (m *PoliciesServiceServerMock) ListPolicyMembers(ctx context.Context, req *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
- func (m *PoliciesServiceServerMock) ListRoles(ctx context.Context, req *ListRolesReq) (*ListRolesResp, error)
- func (m *PoliciesServiceServerMock) PurgeSubjectFromPolicies(ctx context.Context, req *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
- func (m *PoliciesServiceServerMock) RemovePolicyMembers(ctx context.Context, req *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
- func (m *PoliciesServiceServerMock) ReplacePolicyMembers(ctx context.Context, req *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
- func (m *PoliciesServiceServerMock) Reset()
- func (m *PoliciesServiceServerMock) UpdatePolicy(ctx context.Context, req *UpdatePolicyReq) (*Policy, error)
- func (m *PoliciesServiceServerMock) UpdateRole(ctx context.Context, req *UpdateRoleReq) (*Role, error)
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetId() string
- func (x *Policy) GetMembers() []string
- func (x *Policy) GetName() string
- func (x *Policy) GetProjects() []string
- func (x *Policy) GetStatements() []*Statement
- func (x *Policy) GetType() Type
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- func (m *Policy) Validate() error
- func (m *Policy) ValidateAll() error
- type PolicyMultiError
- type PolicyValidationError
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetId() string
- func (x *Project) GetName() string
- func (x *Project) GetStatus() string
- func (x *Project) GetType() Type
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- func (m *Project) Validate() error
- func (m *Project) ValidateAll() error
- type ProjectMultiError
- type ProjectRule
- func (*ProjectRule) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectRule) GetConditions() []*Condition
- func (x *ProjectRule) GetDeleted() bool
- func (x *ProjectRule) GetId() string
- func (x *ProjectRule) GetName() string
- func (x *ProjectRule) GetProjectId() string
- func (x *ProjectRule) GetStatus() string
- func (x *ProjectRule) GetType() ProjectRuleTypes
- func (*ProjectRule) ProtoMessage()
- func (x *ProjectRule) ProtoReflect() protoreflect.Message
- func (x *ProjectRule) Reset()
- func (x *ProjectRule) String() string
- func (m *ProjectRule) Validate() error
- func (m *ProjectRule) ValidateAll() error
- type ProjectRuleConditionAttributes
- func (ProjectRuleConditionAttributes) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRuleConditionAttributes) Enum() *ProjectRuleConditionAttributes
- func (ProjectRuleConditionAttributes) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRuleConditionAttributes) Number() protoreflect.EnumNumber
- func (x ProjectRuleConditionAttributes) String() string
- func (ProjectRuleConditionAttributes) Type() protoreflect.EnumType
- type ProjectRuleConditionOperators
- func (ProjectRuleConditionOperators) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRuleConditionOperators) Enum() *ProjectRuleConditionOperators
- func (ProjectRuleConditionOperators) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRuleConditionOperators) Number() protoreflect.EnumNumber
- func (x ProjectRuleConditionOperators) String() string
- func (ProjectRuleConditionOperators) Type() protoreflect.EnumType
- type ProjectRuleMultiError
- type ProjectRuleTypes
- func (ProjectRuleTypes) Descriptor() protoreflect.EnumDescriptor
- func (x ProjectRuleTypes) Enum() *ProjectRuleTypes
- func (ProjectRuleTypes) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProjectRuleTypes) Number() protoreflect.EnumNumber
- func (x ProjectRuleTypes) String() string
- func (ProjectRuleTypes) Type() protoreflect.EnumType
- type ProjectRuleValidationError
- func (e ProjectRuleValidationError) Cause() error
- func (e ProjectRuleValidationError) Error() string
- func (e ProjectRuleValidationError) ErrorName() string
- func (e ProjectRuleValidationError) Field() string
- func (e ProjectRuleValidationError) Key() bool
- func (e ProjectRuleValidationError) Reason() string
- type ProjectRules
- func (*ProjectRules) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectRules) GetRules() []*ProjectRule
- func (*ProjectRules) ProtoMessage()
- func (x *ProjectRules) ProtoReflect() protoreflect.Message
- func (x *ProjectRules) Reset()
- func (x *ProjectRules) String() string
- func (m *ProjectRules) Validate() error
- func (m *ProjectRules) ValidateAll() error
- type ProjectRulesMultiError
- type ProjectRulesValidationError
- func (e ProjectRulesValidationError) Cause() error
- func (e ProjectRulesValidationError) Error() string
- func (e ProjectRulesValidationError) ErrorName() string
- func (e ProjectRulesValidationError) Field() string
- func (e ProjectRulesValidationError) Key() bool
- func (e ProjectRulesValidationError) Reason() string
- type ProjectValidationError
- type ProjectsAuthorizedReq
- func (*ProjectsAuthorizedReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectsAuthorizedReq) GetAction() string
- func (x *ProjectsAuthorizedReq) GetProjectsFilter() []string
- func (x *ProjectsAuthorizedReq) GetResource() string
- func (x *ProjectsAuthorizedReq) GetSubjects() []string
- func (*ProjectsAuthorizedReq) ProtoMessage()
- func (x *ProjectsAuthorizedReq) ProtoReflect() protoreflect.Message
- func (x *ProjectsAuthorizedReq) Reset()
- func (x *ProjectsAuthorizedReq) String() string
- func (m *ProjectsAuthorizedReq) Validate() error
- func (m *ProjectsAuthorizedReq) ValidateAll() error
- type ProjectsAuthorizedReqMultiError
- type ProjectsAuthorizedReqValidationError
- func (e ProjectsAuthorizedReqValidationError) Cause() error
- func (e ProjectsAuthorizedReqValidationError) Error() string
- func (e ProjectsAuthorizedReqValidationError) ErrorName() string
- func (e ProjectsAuthorizedReqValidationError) Field() string
- func (e ProjectsAuthorizedReqValidationError) Key() bool
- func (e ProjectsAuthorizedReqValidationError) Reason() string
- type ProjectsAuthorizedResp
- func (*ProjectsAuthorizedResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectsAuthorizedResp) GetProjects() []string
- func (*ProjectsAuthorizedResp) ProtoMessage()
- func (x *ProjectsAuthorizedResp) ProtoReflect() protoreflect.Message
- func (x *ProjectsAuthorizedResp) Reset()
- func (x *ProjectsAuthorizedResp) String() string
- func (m *ProjectsAuthorizedResp) Validate() error
- func (m *ProjectsAuthorizedResp) ValidateAll() error
- type ProjectsAuthorizedRespMultiError
- type ProjectsAuthorizedRespValidationError
- func (e ProjectsAuthorizedRespValidationError) Cause() error
- func (e ProjectsAuthorizedRespValidationError) Error() string
- func (e ProjectsAuthorizedRespValidationError) ErrorName() string
- func (e ProjectsAuthorizedRespValidationError) Field() string
- func (e ProjectsAuthorizedRespValidationError) Key() bool
- func (e ProjectsAuthorizedRespValidationError) Reason() string
- type ProjectsServiceClient
- type ProjectsServiceServer
- type ProjectsServiceServerMock
- func (m *ProjectsServiceServerMock) ApplyRulesCancel(ctx context.Context, req *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
- func (m *ProjectsServiceServerMock) ApplyRulesStart(ctx context.Context, req *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
- func (m *ProjectsServiceServerMock) ApplyRulesStatus(ctx context.Context, req *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
- func (m *ProjectsServiceServerMock) CreateProject(ctx context.Context, req *CreateProjectReq) (*CreateProjectResp, error)
- func (m *ProjectsServiceServerMock) CreateRule(ctx context.Context, req *CreateRuleReq) (*CreateRuleResp, error)
- func (m *ProjectsServiceServerMock) DeleteProject(ctx context.Context, req *DeleteProjectReq) (*DeleteProjectResp, error)
- func (m *ProjectsServiceServerMock) DeleteRule(ctx context.Context, req *DeleteRuleReq) (*DeleteRuleResp, error)
- func (m *ProjectsServiceServerMock) GetProject(ctx context.Context, req *GetProjectReq) (*GetProjectResp, error)
- func (m *ProjectsServiceServerMock) GetRule(ctx context.Context, req *GetRuleReq) (*GetRuleResp, error)
- func (m *ProjectsServiceServerMock) ListProjects(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
- func (m *ProjectsServiceServerMock) ListProjectsForIntrospection(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
- func (m *ProjectsServiceServerMock) ListRules(ctx context.Context, req *ListRulesReq) (*ListRulesResp, error)
- func (m *ProjectsServiceServerMock) ListRulesForAllProjects(ctx context.Context, req *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
- func (m *ProjectsServiceServerMock) ListRulesForProject(ctx context.Context, req *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
- func (m *ProjectsServiceServerMock) Reset()
- func (m *ProjectsServiceServerMock) UpdateProject(ctx context.Context, req *UpdateProjectReq) (*UpdateProjectResp, error)
- func (m *ProjectsServiceServerMock) UpdateRule(ctx context.Context, req *UpdateRuleReq) (*UpdateRuleResp, error)
- type PurgeSubjectFromPoliciesReq
- func (*PurgeSubjectFromPoliciesReq) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeSubjectFromPoliciesReq) GetSubject() string
- func (*PurgeSubjectFromPoliciesReq) ProtoMessage()
- func (x *PurgeSubjectFromPoliciesReq) ProtoReflect() protoreflect.Message
- func (x *PurgeSubjectFromPoliciesReq) Reset()
- func (x *PurgeSubjectFromPoliciesReq) String() string
- func (m *PurgeSubjectFromPoliciesReq) Validate() error
- func (m *PurgeSubjectFromPoliciesReq) ValidateAll() error
- type PurgeSubjectFromPoliciesReqMultiError
- type PurgeSubjectFromPoliciesReqValidationError
- func (e PurgeSubjectFromPoliciesReqValidationError) Cause() error
- func (e PurgeSubjectFromPoliciesReqValidationError) Error() string
- func (e PurgeSubjectFromPoliciesReqValidationError) ErrorName() string
- func (e PurgeSubjectFromPoliciesReqValidationError) Field() string
- func (e PurgeSubjectFromPoliciesReqValidationError) Key() bool
- func (e PurgeSubjectFromPoliciesReqValidationError) Reason() string
- type PurgeSubjectFromPoliciesResp
- func (*PurgeSubjectFromPoliciesResp) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeSubjectFromPoliciesResp) GetIds() []string
- func (*PurgeSubjectFromPoliciesResp) ProtoMessage()
- func (x *PurgeSubjectFromPoliciesResp) ProtoReflect() protoreflect.Message
- func (x *PurgeSubjectFromPoliciesResp) Reset()
- func (x *PurgeSubjectFromPoliciesResp) String() string
- func (m *PurgeSubjectFromPoliciesResp) Validate() error
- func (m *PurgeSubjectFromPoliciesResp) ValidateAll() error
- type PurgeSubjectFromPoliciesRespMultiError
- type PurgeSubjectFromPoliciesRespValidationError
- func (e PurgeSubjectFromPoliciesRespValidationError) Cause() error
- func (e PurgeSubjectFromPoliciesRespValidationError) Error() string
- func (e PurgeSubjectFromPoliciesRespValidationError) ErrorName() string
- func (e PurgeSubjectFromPoliciesRespValidationError) Field() string
- func (e PurgeSubjectFromPoliciesRespValidationError) Key() bool
- func (e PurgeSubjectFromPoliciesRespValidationError) Reason() string
- type RemovePolicyMembersReq
- func (*RemovePolicyMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePolicyMembersReq) GetId() string
- func (x *RemovePolicyMembersReq) GetMembers() []string
- func (*RemovePolicyMembersReq) ProtoMessage()
- func (x *RemovePolicyMembersReq) ProtoReflect() protoreflect.Message
- func (x *RemovePolicyMembersReq) Reset()
- func (x *RemovePolicyMembersReq) String() string
- func (m *RemovePolicyMembersReq) Validate() error
- func (m *RemovePolicyMembersReq) ValidateAll() error
- type RemovePolicyMembersReqMultiError
- type RemovePolicyMembersReqValidationError
- func (e RemovePolicyMembersReqValidationError) Cause() error
- func (e RemovePolicyMembersReqValidationError) Error() string
- func (e RemovePolicyMembersReqValidationError) ErrorName() string
- func (e RemovePolicyMembersReqValidationError) Field() string
- func (e RemovePolicyMembersReqValidationError) Key() bool
- func (e RemovePolicyMembersReqValidationError) Reason() string
- type RemovePolicyMembersResp
- func (*RemovePolicyMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePolicyMembersResp) GetMembers() []string
- func (*RemovePolicyMembersResp) ProtoMessage()
- func (x *RemovePolicyMembersResp) ProtoReflect() protoreflect.Message
- func (x *RemovePolicyMembersResp) Reset()
- func (x *RemovePolicyMembersResp) String() string
- func (m *RemovePolicyMembersResp) Validate() error
- func (m *RemovePolicyMembersResp) ValidateAll() error
- type RemovePolicyMembersRespMultiError
- type RemovePolicyMembersRespValidationError
- func (e RemovePolicyMembersRespValidationError) Cause() error
- func (e RemovePolicyMembersRespValidationError) Error() string
- func (e RemovePolicyMembersRespValidationError) ErrorName() string
- func (e RemovePolicyMembersRespValidationError) Field() string
- func (e RemovePolicyMembersRespValidationError) Key() bool
- func (e RemovePolicyMembersRespValidationError) Reason() string
- type ReplacePolicyMembersReq
- func (*ReplacePolicyMembersReq) Descriptor() ([]byte, []int)deprecated
- func (x *ReplacePolicyMembersReq) GetId() string
- func (x *ReplacePolicyMembersReq) GetMembers() []string
- func (*ReplacePolicyMembersReq) ProtoMessage()
- func (x *ReplacePolicyMembersReq) ProtoReflect() protoreflect.Message
- func (x *ReplacePolicyMembersReq) Reset()
- func (x *ReplacePolicyMembersReq) String() string
- func (m *ReplacePolicyMembersReq) Validate() error
- func (m *ReplacePolicyMembersReq) ValidateAll() error
- type ReplacePolicyMembersReqMultiError
- type ReplacePolicyMembersReqValidationError
- func (e ReplacePolicyMembersReqValidationError) Cause() error
- func (e ReplacePolicyMembersReqValidationError) Error() string
- func (e ReplacePolicyMembersReqValidationError) ErrorName() string
- func (e ReplacePolicyMembersReqValidationError) Field() string
- func (e ReplacePolicyMembersReqValidationError) Key() bool
- func (e ReplacePolicyMembersReqValidationError) Reason() string
- type ReplacePolicyMembersResp
- func (*ReplacePolicyMembersResp) Descriptor() ([]byte, []int)deprecated
- func (x *ReplacePolicyMembersResp) GetMembers() []string
- func (*ReplacePolicyMembersResp) ProtoMessage()
- func (x *ReplacePolicyMembersResp) ProtoReflect() protoreflect.Message
- func (x *ReplacePolicyMembersResp) Reset()
- func (x *ReplacePolicyMembersResp) String() string
- func (m *ReplacePolicyMembersResp) Validate() error
- func (m *ReplacePolicyMembersResp) ValidateAll() error
- type ReplacePolicyMembersRespMultiError
- type ReplacePolicyMembersRespValidationError
- func (e ReplacePolicyMembersRespValidationError) Cause() error
- func (e ReplacePolicyMembersRespValidationError) Error() string
- func (e ReplacePolicyMembersRespValidationError) ErrorName() string
- func (e ReplacePolicyMembersRespValidationError) Field() string
- func (e ReplacePolicyMembersRespValidationError) Key() bool
- func (e ReplacePolicyMembersRespValidationError) Reason() string
- type ResetToV1Req
- func (*ResetToV1Req) Descriptor() ([]byte, []int)deprecated
- func (*ResetToV1Req) ProtoMessage()
- func (x *ResetToV1Req) ProtoReflect() protoreflect.Message
- func (x *ResetToV1Req) Reset()
- func (x *ResetToV1Req) String() string
- func (m *ResetToV1Req) Validate() error
- func (m *ResetToV1Req) ValidateAll() error
- type ResetToV1ReqMultiError
- type ResetToV1ReqValidationError
- func (e ResetToV1ReqValidationError) Cause() error
- func (e ResetToV1ReqValidationError) Error() string
- func (e ResetToV1ReqValidationError) ErrorName() string
- func (e ResetToV1ReqValidationError) Field() string
- func (e ResetToV1ReqValidationError) Key() bool
- func (e ResetToV1ReqValidationError) Reason() string
- type ResetToV1Resp
- func (*ResetToV1Resp) Descriptor() ([]byte, []int)deprecated
- func (*ResetToV1Resp) ProtoMessage()
- func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message
- func (x *ResetToV1Resp) Reset()
- func (x *ResetToV1Resp) String() string
- func (m *ResetToV1Resp) Validate() error
- func (m *ResetToV1Resp) ValidateAll() error
- type ResetToV1RespMultiError
- type ResetToV1RespValidationError
- func (e ResetToV1RespValidationError) Cause() error
- func (e ResetToV1RespValidationError) Error() string
- func (e ResetToV1RespValidationError) ErrorName() string
- func (e ResetToV1RespValidationError) Field() string
- func (e ResetToV1RespValidationError) Key() bool
- func (e ResetToV1RespValidationError) Reason() string
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetActions() []string
- func (x *Role) GetId() string
- func (x *Role) GetName() string
- func (x *Role) GetProjects() []string
- func (x *Role) GetType() Type
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- func (m *Role) Validate() error
- func (m *Role) ValidateAll() error
- type RoleMultiError
- type RoleValidationError
- type Statement
- func (*Statement) Descriptor() ([]byte, []int)deprecated
- func (x *Statement) GetActions() []string
- func (x *Statement) GetEffect() Statement_Effect
- func (x *Statement) GetProjects() []string
- func (x *Statement) GetResources() []string
- func (x *Statement) GetRole() string
- func (*Statement) ProtoMessage()
- func (x *Statement) ProtoReflect() protoreflect.Message
- func (x *Statement) Reset()
- func (x *Statement) String() string
- func (m *Statement) Validate() error
- func (m *Statement) ValidateAll() error
- type StatementMultiError
- type StatementValidationError
- type Statement_Effect
- func (Statement_Effect) Descriptor() protoreflect.EnumDescriptor
- func (x Statement_Effect) Enum() *Statement_Effect
- func (Statement_Effect) EnumDescriptor() ([]byte, []int)deprecated
- func (x Statement_Effect) Number() protoreflect.EnumNumber
- func (x Statement_Effect) String() string
- func (Statement_Effect) Type() protoreflect.EnumType
- type Type
- type UnimplementedAuthorizationServiceServer
- func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedPairs(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
- func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedProjects(context.Context, *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
- func (*UnimplementedAuthorizationServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
- func (*UnimplementedAuthorizationServiceServer) ProjectsAuthorized(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
- func (*UnimplementedAuthorizationServiceServer) ValidateProjectAssignment(context.Context, *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
- type UnimplementedPoliciesServiceServer
- func (*UnimplementedPoliciesServiceServer) AddPolicyMembers(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
- func (*UnimplementedPoliciesServiceServer) CreatePolicy(context.Context, *CreatePolicyReq) (*Policy, error)
- func (*UnimplementedPoliciesServiceServer) CreateRole(context.Context, *CreateRoleReq) (*Role, error)
- func (*UnimplementedPoliciesServiceServer) DeletePolicy(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error)
- func (*UnimplementedPoliciesServiceServer) DeleteRole(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error)
- func (*UnimplementedPoliciesServiceServer) GetPolicy(context.Context, *GetPolicyReq) (*Policy, error)
- func (*UnimplementedPoliciesServiceServer) GetPolicyVersion(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
- func (*UnimplementedPoliciesServiceServer) GetRole(context.Context, *GetRoleReq) (*Role, error)
- func (*UnimplementedPoliciesServiceServer) ListPolicies(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error)
- func (*UnimplementedPoliciesServiceServer) ListPolicyMembers(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
- func (*UnimplementedPoliciesServiceServer) ListRoles(context.Context, *ListRolesReq) (*ListRolesResp, error)
- func (*UnimplementedPoliciesServiceServer) PurgeSubjectFromPolicies(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
- func (*UnimplementedPoliciesServiceServer) RemovePolicyMembers(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
- func (*UnimplementedPoliciesServiceServer) ReplacePolicyMembers(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
- func (*UnimplementedPoliciesServiceServer) UpdatePolicy(context.Context, *UpdatePolicyReq) (*Policy, error)
- func (*UnimplementedPoliciesServiceServer) UpdateRole(context.Context, *UpdateRoleReq) (*Role, error)
- type UnimplementedProjectsServiceServer
- func (*UnimplementedProjectsServiceServer) ApplyRulesCancel(context.Context, *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
- func (*UnimplementedProjectsServiceServer) ApplyRulesStart(context.Context, *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
- func (*UnimplementedProjectsServiceServer) ApplyRulesStatus(context.Context, *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
- func (*UnimplementedProjectsServiceServer) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectResp, error)
- func (*UnimplementedProjectsServiceServer) CreateRule(context.Context, *CreateRuleReq) (*CreateRuleResp, error)
- func (*UnimplementedProjectsServiceServer) DeleteProject(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error)
- func (*UnimplementedProjectsServiceServer) DeleteRule(context.Context, *DeleteRuleReq) (*DeleteRuleResp, error)
- func (*UnimplementedProjectsServiceServer) GetProject(context.Context, *GetProjectReq) (*GetProjectResp, error)
- func (*UnimplementedProjectsServiceServer) GetRule(context.Context, *GetRuleReq) (*GetRuleResp, error)
- func (*UnimplementedProjectsServiceServer) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
- func (*UnimplementedProjectsServiceServer) ListProjectsForIntrospection(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
- func (*UnimplementedProjectsServiceServer) ListRules(context.Context, *ListRulesReq) (*ListRulesResp, error)
- func (*UnimplementedProjectsServiceServer) ListRulesForAllProjects(context.Context, *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
- func (*UnimplementedProjectsServiceServer) ListRulesForProject(context.Context, *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
- func (*UnimplementedProjectsServiceServer) UpdateProject(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error)
- func (*UnimplementedProjectsServiceServer) UpdateRule(context.Context, *UpdateRuleReq) (*UpdateRuleResp, error)
- type UpdatePolicyReq
- func (*UpdatePolicyReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyReq) GetId() string
- func (x *UpdatePolicyReq) GetMembers() []string
- func (x *UpdatePolicyReq) GetName() string
- func (x *UpdatePolicyReq) GetProjects() []string
- func (x *UpdatePolicyReq) GetStatements() []*Statement
- func (*UpdatePolicyReq) ProtoMessage()
- func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyReq) Reset()
- func (x *UpdatePolicyReq) String() string
- func (m *UpdatePolicyReq) Validate() error
- func (m *UpdatePolicyReq) ValidateAll() error
- type UpdatePolicyReqMultiError
- type UpdatePolicyReqValidationError
- func (e UpdatePolicyReqValidationError) Cause() error
- func (e UpdatePolicyReqValidationError) Error() string
- func (e UpdatePolicyReqValidationError) ErrorName() string
- func (e UpdatePolicyReqValidationError) Field() string
- func (e UpdatePolicyReqValidationError) Key() bool
- func (e UpdatePolicyReqValidationError) Reason() string
- type UpdateProjectReq
- func (*UpdateProjectReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectReq) GetId() string
- func (x *UpdateProjectReq) GetName() string
- func (*UpdateProjectReq) ProtoMessage()
- func (x *UpdateProjectReq) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectReq) Reset()
- func (x *UpdateProjectReq) String() string
- func (m *UpdateProjectReq) Validate() error
- func (m *UpdateProjectReq) ValidateAll() error
- type UpdateProjectReqMultiError
- type UpdateProjectReqValidationError
- func (e UpdateProjectReqValidationError) Cause() error
- func (e UpdateProjectReqValidationError) Error() string
- func (e UpdateProjectReqValidationError) ErrorName() string
- func (e UpdateProjectReqValidationError) Field() string
- func (e UpdateProjectReqValidationError) Key() bool
- func (e UpdateProjectReqValidationError) Reason() string
- type UpdateProjectResp
- func (*UpdateProjectResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProjectResp) GetProject() *Project
- func (*UpdateProjectResp) ProtoMessage()
- func (x *UpdateProjectResp) ProtoReflect() protoreflect.Message
- func (x *UpdateProjectResp) Reset()
- func (x *UpdateProjectResp) String() string
- func (m *UpdateProjectResp) Validate() error
- func (m *UpdateProjectResp) ValidateAll() error
- type UpdateProjectRespMultiError
- type UpdateProjectRespValidationError
- func (e UpdateProjectRespValidationError) Cause() error
- func (e UpdateProjectRespValidationError) Error() string
- func (e UpdateProjectRespValidationError) ErrorName() string
- func (e UpdateProjectRespValidationError) Field() string
- func (e UpdateProjectRespValidationError) Key() bool
- func (e UpdateProjectRespValidationError) Reason() string
- type UpdateRoleReq
- func (*UpdateRoleReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoleReq) GetActions() []string
- func (x *UpdateRoleReq) GetId() string
- func (x *UpdateRoleReq) GetName() string
- func (x *UpdateRoleReq) GetProjects() []string
- func (*UpdateRoleReq) ProtoMessage()
- func (x *UpdateRoleReq) ProtoReflect() protoreflect.Message
- func (x *UpdateRoleReq) Reset()
- func (x *UpdateRoleReq) String() string
- func (m *UpdateRoleReq) Validate() error
- func (m *UpdateRoleReq) ValidateAll() error
- type UpdateRoleReqMultiError
- type UpdateRoleReqValidationError
- func (e UpdateRoleReqValidationError) Cause() error
- func (e UpdateRoleReqValidationError) Error() string
- func (e UpdateRoleReqValidationError) ErrorName() string
- func (e UpdateRoleReqValidationError) Field() string
- func (e UpdateRoleReqValidationError) Key() bool
- func (e UpdateRoleReqValidationError) Reason() string
- type UpdateRuleReq
- func (*UpdateRuleReq) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleReq) GetConditions() []*Condition
- func (x *UpdateRuleReq) GetId() string
- func (x *UpdateRuleReq) GetName() string
- func (x *UpdateRuleReq) GetProjectId() string
- func (x *UpdateRuleReq) GetType() ProjectRuleTypes
- func (*UpdateRuleReq) ProtoMessage()
- func (x *UpdateRuleReq) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleReq) Reset()
- func (x *UpdateRuleReq) String() string
- func (m *UpdateRuleReq) Validate() error
- func (m *UpdateRuleReq) ValidateAll() error
- type UpdateRuleReqMultiError
- type UpdateRuleReqValidationError
- func (e UpdateRuleReqValidationError) Cause() error
- func (e UpdateRuleReqValidationError) Error() string
- func (e UpdateRuleReqValidationError) ErrorName() string
- func (e UpdateRuleReqValidationError) Field() string
- func (e UpdateRuleReqValidationError) Key() bool
- func (e UpdateRuleReqValidationError) Reason() string
- type UpdateRuleResp
- func (*UpdateRuleResp) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRuleResp) GetRule() *ProjectRule
- func (*UpdateRuleResp) ProtoMessage()
- func (x *UpdateRuleResp) ProtoReflect() protoreflect.Message
- func (x *UpdateRuleResp) Reset()
- func (x *UpdateRuleResp) String() string
- func (m *UpdateRuleResp) Validate() error
- func (m *UpdateRuleResp) ValidateAll() error
- type UpdateRuleRespMultiError
- type UpdateRuleRespValidationError
- func (e UpdateRuleRespValidationError) Cause() error
- func (e UpdateRuleRespValidationError) Error() string
- func (e UpdateRuleRespValidationError) ErrorName() string
- func (e UpdateRuleRespValidationError) Field() string
- func (e UpdateRuleRespValidationError) Key() bool
- func (e UpdateRuleRespValidationError) Reason() string
- type ValidateProjectAssignmentReq
- func (*ValidateProjectAssignmentReq) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateProjectAssignmentReq) GetIsUpdateRequest() bool
- func (x *ValidateProjectAssignmentReq) GetNewProjects() []string
- func (x *ValidateProjectAssignmentReq) GetOldProjects() []string
- func (x *ValidateProjectAssignmentReq) GetSubjects() []string
- func (*ValidateProjectAssignmentReq) ProtoMessage()
- func (x *ValidateProjectAssignmentReq) ProtoReflect() protoreflect.Message
- func (x *ValidateProjectAssignmentReq) Reset()
- func (x *ValidateProjectAssignmentReq) String() string
- func (m *ValidateProjectAssignmentReq) Validate() error
- func (m *ValidateProjectAssignmentReq) ValidateAll() error
- type ValidateProjectAssignmentReqMultiError
- type ValidateProjectAssignmentReqValidationError
- func (e ValidateProjectAssignmentReqValidationError) Cause() error
- func (e ValidateProjectAssignmentReqValidationError) Error() string
- func (e ValidateProjectAssignmentReqValidationError) ErrorName() string
- func (e ValidateProjectAssignmentReqValidationError) Field() string
- func (e ValidateProjectAssignmentReqValidationError) Key() bool
- func (e ValidateProjectAssignmentReqValidationError) Reason() string
- type ValidateProjectAssignmentResp
- func (*ValidateProjectAssignmentResp) Descriptor() ([]byte, []int)deprecated
- func (*ValidateProjectAssignmentResp) ProtoMessage()
- func (x *ValidateProjectAssignmentResp) ProtoReflect() protoreflect.Message
- func (x *ValidateProjectAssignmentResp) Reset()
- func (x *ValidateProjectAssignmentResp) String() string
- func (m *ValidateProjectAssignmentResp) Validate() error
- func (m *ValidateProjectAssignmentResp) ValidateAll() error
- type ValidateProjectAssignmentRespMultiError
- type ValidateProjectAssignmentRespValidationError
- func (e ValidateProjectAssignmentRespValidationError) Cause() error
- func (e ValidateProjectAssignmentRespValidationError) Error() string
- func (e ValidateProjectAssignmentRespValidationError) ErrorName() string
- func (e ValidateProjectAssignmentRespValidationError) Field() string
- func (e ValidateProjectAssignmentRespValidationError) Key() bool
- func (e ValidateProjectAssignmentRespValidationError) Reason() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)deprecated
- func (x *Version) GetMajor() Version_VersionNumber
- func (x *Version) GetMinor() Version_VersionNumber
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- func (m *Version) Validate() error
- func (m *Version) ValidateAll() error
- type VersionMultiError
- type VersionValidationError
- type Version_VersionNumber
- func (Version_VersionNumber) Descriptor() protoreflect.EnumDescriptor
- func (x Version_VersionNumber) Enum() *Version_VersionNumber
- func (Version_VersionNumber) EnumDescriptor() ([]byte, []int)deprecated
- func (x Version_VersionNumber) Number() protoreflect.EnumNumber
- func (x Version_VersionNumber) String() string
- func (Version_VersionNumber) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Flag_name = map[int32]string{ 0: "VERSION_2_0", 1: "VERSION_2_1", } Flag_value = map[string]int32{ "VERSION_2_0": 0, "VERSION_2_1": 1, } )
Enum value maps for Flag.
var ( Statement_Effect_name = map[int32]string{ 0: "ALLOW", 1: "DENY", } Statement_Effect_value = map[string]int32{ "ALLOW": 0, "DENY": 1, } )
Enum value maps for Statement_Effect.
var ( Version_VersionNumber_name = map[int32]string{ 0: "V0", 1: "V1", 2: "V2", } Version_VersionNumber_value = map[string]int32{ "V0": 0, "V1": 1, "V2": 2, } )
Enum value maps for Version_VersionNumber.
var ( ProjectRuleTypes_name = map[int32]string{ 0: "NODE", 1: "EVENT", } ProjectRuleTypes_value = map[string]int32{ "NODE": 0, "EVENT": 1, } )
Enum value maps for ProjectRuleTypes.
var ( ProjectRuleConditionAttributes_name = map[int32]string{ 0: "CHEF_SERVER", 1: "CHEF_ORGANIZATION", 2: "ENVIRONMENT", 3: "CHEF_ROLE", 4: "CHEF_TAG", 5: "CHEF_POLICY_GROUP", 6: "CHEF_POLICY_NAME", } ProjectRuleConditionAttributes_value = map[string]int32{ "CHEF_SERVER": 0, "CHEF_ORGANIZATION": 1, "ENVIRONMENT": 2, "CHEF_ROLE": 3, "CHEF_TAG": 4, "CHEF_POLICY_GROUP": 5, "CHEF_POLICY_NAME": 6, } )
Enum value maps for ProjectRuleConditionAttributes.
var ( ProjectRuleConditionOperators_name = map[int32]string{ 0: "MEMBER_OF", 1: "EQUALS", } ProjectRuleConditionOperators_value = map[string]int32{ "MEMBER_OF": 0, "EQUALS": 1, } )
Enum value maps for ProjectRuleConditionOperators.
var ( Type_name = map[int32]string{ 0: "CHEF_MANAGED", 1: "CUSTOM", } Type_value = map[string]int32{ "CHEF_MANAGED": 0, "CUSTOM": 1, } )
Enum value maps for Type.
var File_interservice_authz_authz_proto protoreflect.FileDescriptor
var File_interservice_authz_policy_proto protoreflect.FileDescriptor
var File_interservice_authz_project_proto protoreflect.FileDescriptor
var File_interservice_authz_type_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthorizationServiceServer ¶
func RegisterAuthorizationServiceServer(s *grpc.Server, srv AuthorizationServiceServer)
func RegisterPoliciesServiceServer ¶
func RegisterPoliciesServiceServer(s *grpc.Server, srv PoliciesServiceServer)
func RegisterProjectsServiceServer ¶
func RegisterProjectsServiceServer(s *grpc.Server, srv ProjectsServiceServer)
Types ¶
type AddPolicyMembersReq ¶
type AddPolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*AddPolicyMembersReq) Descriptor
deprecated
func (*AddPolicyMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use AddPolicyMembersReq.ProtoReflect.Descriptor instead.
func (*AddPolicyMembersReq) GetId ¶
func (x *AddPolicyMembersReq) GetId() string
func (*AddPolicyMembersReq) GetMembers ¶
func (x *AddPolicyMembersReq) GetMembers() []string
func (*AddPolicyMembersReq) ProtoMessage ¶
func (*AddPolicyMembersReq) ProtoMessage()
func (*AddPolicyMembersReq) ProtoReflect ¶
func (x *AddPolicyMembersReq) ProtoReflect() protoreflect.Message
func (*AddPolicyMembersReq) Reset ¶
func (x *AddPolicyMembersReq) Reset()
func (*AddPolicyMembersReq) String ¶
func (x *AddPolicyMembersReq) String() string
func (*AddPolicyMembersReq) Validate ¶
func (m *AddPolicyMembersReq) Validate() error
Validate checks the field values on AddPolicyMembersReq 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 (*AddPolicyMembersReq) ValidateAll ¶
func (m *AddPolicyMembersReq) ValidateAll() error
ValidateAll checks the field values on AddPolicyMembersReq 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 AddPolicyMembersReqMultiError, or nil if none found.
type AddPolicyMembersReqMultiError ¶
type AddPolicyMembersReqMultiError []error
AddPolicyMembersReqMultiError is an error wrapping multiple validation errors returned by AddPolicyMembersReq.ValidateAll() if the designated constraints aren't met.
func (AddPolicyMembersReqMultiError) AllErrors ¶
func (m AddPolicyMembersReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddPolicyMembersReqMultiError) Error ¶
func (m AddPolicyMembersReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddPolicyMembersReqValidationError ¶
type AddPolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
AddPolicyMembersReqValidationError is the validation error returned by AddPolicyMembersReq.Validate if the designated constraints aren't met.
func (AddPolicyMembersReqValidationError) Cause ¶
func (e AddPolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (AddPolicyMembersReqValidationError) Error ¶
func (e AddPolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (AddPolicyMembersReqValidationError) ErrorName ¶
func (e AddPolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (AddPolicyMembersReqValidationError) Field ¶
func (e AddPolicyMembersReqValidationError) Field() string
Field function returns field value.
func (AddPolicyMembersReqValidationError) Key ¶
func (e AddPolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (AddPolicyMembersReqValidationError) Reason ¶
func (e AddPolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type AddPolicyMembersResp ¶
type AddPolicyMembersResp struct { Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*AddPolicyMembersResp) Descriptor
deprecated
func (*AddPolicyMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use AddPolicyMembersResp.ProtoReflect.Descriptor instead.
func (*AddPolicyMembersResp) GetMembers ¶
func (x *AddPolicyMembersResp) GetMembers() []string
func (*AddPolicyMembersResp) ProtoMessage ¶
func (*AddPolicyMembersResp) ProtoMessage()
func (*AddPolicyMembersResp) ProtoReflect ¶
func (x *AddPolicyMembersResp) ProtoReflect() protoreflect.Message
func (*AddPolicyMembersResp) Reset ¶
func (x *AddPolicyMembersResp) Reset()
func (*AddPolicyMembersResp) String ¶
func (x *AddPolicyMembersResp) String() string
func (*AddPolicyMembersResp) Validate ¶
func (m *AddPolicyMembersResp) Validate() error
Validate checks the field values on AddPolicyMembersResp 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 (*AddPolicyMembersResp) ValidateAll ¶
func (m *AddPolicyMembersResp) ValidateAll() error
ValidateAll checks the field values on AddPolicyMembersResp 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 AddPolicyMembersRespMultiError, or nil if none found.
type AddPolicyMembersRespMultiError ¶
type AddPolicyMembersRespMultiError []error
AddPolicyMembersRespMultiError is an error wrapping multiple validation errors returned by AddPolicyMembersResp.ValidateAll() if the designated constraints aren't met.
func (AddPolicyMembersRespMultiError) AllErrors ¶
func (m AddPolicyMembersRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddPolicyMembersRespMultiError) Error ¶
func (m AddPolicyMembersRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddPolicyMembersRespValidationError ¶
type AddPolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
AddPolicyMembersRespValidationError is the validation error returned by AddPolicyMembersResp.Validate if the designated constraints aren't met.
func (AddPolicyMembersRespValidationError) Cause ¶
func (e AddPolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (AddPolicyMembersRespValidationError) Error ¶
func (e AddPolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (AddPolicyMembersRespValidationError) ErrorName ¶
func (e AddPolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (AddPolicyMembersRespValidationError) Field ¶
func (e AddPolicyMembersRespValidationError) Field() string
Field function returns field value.
func (AddPolicyMembersRespValidationError) Key ¶
func (e AddPolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (AddPolicyMembersRespValidationError) Reason ¶
func (e AddPolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesCancelReq ¶
type ApplyRulesCancelReq struct {
// contains filtered or unexported fields
}
func (*ApplyRulesCancelReq) Descriptor
deprecated
func (*ApplyRulesCancelReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesCancelReq.ProtoReflect.Descriptor instead.
func (*ApplyRulesCancelReq) ProtoMessage ¶
func (*ApplyRulesCancelReq) ProtoMessage()
func (*ApplyRulesCancelReq) ProtoReflect ¶
func (x *ApplyRulesCancelReq) ProtoReflect() protoreflect.Message
func (*ApplyRulesCancelReq) Reset ¶
func (x *ApplyRulesCancelReq) Reset()
func (*ApplyRulesCancelReq) String ¶
func (x *ApplyRulesCancelReq) String() string
func (*ApplyRulesCancelReq) Validate ¶
func (m *ApplyRulesCancelReq) Validate() error
Validate checks the field values on ApplyRulesCancelReq 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 (*ApplyRulesCancelReq) ValidateAll ¶
func (m *ApplyRulesCancelReq) ValidateAll() error
ValidateAll checks the field values on ApplyRulesCancelReq 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 ApplyRulesCancelReqMultiError, or nil if none found.
type ApplyRulesCancelReqMultiError ¶
type ApplyRulesCancelReqMultiError []error
ApplyRulesCancelReqMultiError is an error wrapping multiple validation errors returned by ApplyRulesCancelReq.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesCancelReqMultiError) AllErrors ¶
func (m ApplyRulesCancelReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesCancelReqMultiError) Error ¶
func (m ApplyRulesCancelReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesCancelReqValidationError ¶
type ApplyRulesCancelReqValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesCancelReqValidationError is the validation error returned by ApplyRulesCancelReq.Validate if the designated constraints aren't met.
func (ApplyRulesCancelReqValidationError) Cause ¶
func (e ApplyRulesCancelReqValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesCancelReqValidationError) Error ¶
func (e ApplyRulesCancelReqValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesCancelReqValidationError) ErrorName ¶
func (e ApplyRulesCancelReqValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesCancelReqValidationError) Field ¶
func (e ApplyRulesCancelReqValidationError) Field() string
Field function returns field value.
func (ApplyRulesCancelReqValidationError) Key ¶
func (e ApplyRulesCancelReqValidationError) Key() bool
Key function returns key value.
func (ApplyRulesCancelReqValidationError) Reason ¶
func (e ApplyRulesCancelReqValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesCancelResp ¶
type ApplyRulesCancelResp struct {
// contains filtered or unexported fields
}
func (*ApplyRulesCancelResp) Descriptor
deprecated
func (*ApplyRulesCancelResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesCancelResp.ProtoReflect.Descriptor instead.
func (*ApplyRulesCancelResp) ProtoMessage ¶
func (*ApplyRulesCancelResp) ProtoMessage()
func (*ApplyRulesCancelResp) ProtoReflect ¶
func (x *ApplyRulesCancelResp) ProtoReflect() protoreflect.Message
func (*ApplyRulesCancelResp) Reset ¶
func (x *ApplyRulesCancelResp) Reset()
func (*ApplyRulesCancelResp) String ¶
func (x *ApplyRulesCancelResp) String() string
func (*ApplyRulesCancelResp) Validate ¶
func (m *ApplyRulesCancelResp) Validate() error
Validate checks the field values on ApplyRulesCancelResp 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 (*ApplyRulesCancelResp) ValidateAll ¶
func (m *ApplyRulesCancelResp) ValidateAll() error
ValidateAll checks the field values on ApplyRulesCancelResp 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 ApplyRulesCancelRespMultiError, or nil if none found.
type ApplyRulesCancelRespMultiError ¶
type ApplyRulesCancelRespMultiError []error
ApplyRulesCancelRespMultiError is an error wrapping multiple validation errors returned by ApplyRulesCancelResp.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesCancelRespMultiError) AllErrors ¶
func (m ApplyRulesCancelRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesCancelRespMultiError) Error ¶
func (m ApplyRulesCancelRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesCancelRespValidationError ¶
type ApplyRulesCancelRespValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesCancelRespValidationError is the validation error returned by ApplyRulesCancelResp.Validate if the designated constraints aren't met.
func (ApplyRulesCancelRespValidationError) Cause ¶
func (e ApplyRulesCancelRespValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesCancelRespValidationError) Error ¶
func (e ApplyRulesCancelRespValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesCancelRespValidationError) ErrorName ¶
func (e ApplyRulesCancelRespValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesCancelRespValidationError) Field ¶
func (e ApplyRulesCancelRespValidationError) Field() string
Field function returns field value.
func (ApplyRulesCancelRespValidationError) Key ¶
func (e ApplyRulesCancelRespValidationError) Key() bool
Key function returns key value.
func (ApplyRulesCancelRespValidationError) Reason ¶
func (e ApplyRulesCancelRespValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesStartReq ¶
type ApplyRulesStartReq struct {
// contains filtered or unexported fields
}
func (*ApplyRulesStartReq) Descriptor
deprecated
func (*ApplyRulesStartReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesStartReq.ProtoReflect.Descriptor instead.
func (*ApplyRulesStartReq) ProtoMessage ¶
func (*ApplyRulesStartReq) ProtoMessage()
func (*ApplyRulesStartReq) ProtoReflect ¶
func (x *ApplyRulesStartReq) ProtoReflect() protoreflect.Message
func (*ApplyRulesStartReq) Reset ¶
func (x *ApplyRulesStartReq) Reset()
func (*ApplyRulesStartReq) String ¶
func (x *ApplyRulesStartReq) String() string
func (*ApplyRulesStartReq) Validate ¶
func (m *ApplyRulesStartReq) Validate() error
Validate checks the field values on ApplyRulesStartReq 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 (*ApplyRulesStartReq) ValidateAll ¶
func (m *ApplyRulesStartReq) ValidateAll() error
ValidateAll checks the field values on ApplyRulesStartReq 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 ApplyRulesStartReqMultiError, or nil if none found.
type ApplyRulesStartReqMultiError ¶
type ApplyRulesStartReqMultiError []error
ApplyRulesStartReqMultiError is an error wrapping multiple validation errors returned by ApplyRulesStartReq.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesStartReqMultiError) AllErrors ¶
func (m ApplyRulesStartReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesStartReqMultiError) Error ¶
func (m ApplyRulesStartReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesStartReqValidationError ¶
type ApplyRulesStartReqValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesStartReqValidationError is the validation error returned by ApplyRulesStartReq.Validate if the designated constraints aren't met.
func (ApplyRulesStartReqValidationError) Cause ¶
func (e ApplyRulesStartReqValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesStartReqValidationError) Error ¶
func (e ApplyRulesStartReqValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesStartReqValidationError) ErrorName ¶
func (e ApplyRulesStartReqValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesStartReqValidationError) Field ¶
func (e ApplyRulesStartReqValidationError) Field() string
Field function returns field value.
func (ApplyRulesStartReqValidationError) Key ¶
func (e ApplyRulesStartReqValidationError) Key() bool
Key function returns key value.
func (ApplyRulesStartReqValidationError) Reason ¶
func (e ApplyRulesStartReqValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesStartResp ¶
type ApplyRulesStartResp struct {
// contains filtered or unexported fields
}
func (*ApplyRulesStartResp) Descriptor
deprecated
func (*ApplyRulesStartResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesStartResp.ProtoReflect.Descriptor instead.
func (*ApplyRulesStartResp) ProtoMessage ¶
func (*ApplyRulesStartResp) ProtoMessage()
func (*ApplyRulesStartResp) ProtoReflect ¶
func (x *ApplyRulesStartResp) ProtoReflect() protoreflect.Message
func (*ApplyRulesStartResp) Reset ¶
func (x *ApplyRulesStartResp) Reset()
func (*ApplyRulesStartResp) String ¶
func (x *ApplyRulesStartResp) String() string
func (*ApplyRulesStartResp) Validate ¶
func (m *ApplyRulesStartResp) Validate() error
Validate checks the field values on ApplyRulesStartResp 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 (*ApplyRulesStartResp) ValidateAll ¶
func (m *ApplyRulesStartResp) ValidateAll() error
ValidateAll checks the field values on ApplyRulesStartResp 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 ApplyRulesStartRespMultiError, or nil if none found.
type ApplyRulesStartRespMultiError ¶
type ApplyRulesStartRespMultiError []error
ApplyRulesStartRespMultiError is an error wrapping multiple validation errors returned by ApplyRulesStartResp.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesStartRespMultiError) AllErrors ¶
func (m ApplyRulesStartRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesStartRespMultiError) Error ¶
func (m ApplyRulesStartRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesStartRespValidationError ¶
type ApplyRulesStartRespValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesStartRespValidationError is the validation error returned by ApplyRulesStartResp.Validate if the designated constraints aren't met.
func (ApplyRulesStartRespValidationError) Cause ¶
func (e ApplyRulesStartRespValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesStartRespValidationError) Error ¶
func (e ApplyRulesStartRespValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesStartRespValidationError) ErrorName ¶
func (e ApplyRulesStartRespValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesStartRespValidationError) Field ¶
func (e ApplyRulesStartRespValidationError) Field() string
Field function returns field value.
func (ApplyRulesStartRespValidationError) Key ¶
func (e ApplyRulesStartRespValidationError) Key() bool
Key function returns key value.
func (ApplyRulesStartRespValidationError) Reason ¶
func (e ApplyRulesStartRespValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesStatusReq ¶
type ApplyRulesStatusReq struct {
// contains filtered or unexported fields
}
func (*ApplyRulesStatusReq) Descriptor
deprecated
func (*ApplyRulesStatusReq) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesStatusReq.ProtoReflect.Descriptor instead.
func (*ApplyRulesStatusReq) ProtoMessage ¶
func (*ApplyRulesStatusReq) ProtoMessage()
func (*ApplyRulesStatusReq) ProtoReflect ¶
func (x *ApplyRulesStatusReq) ProtoReflect() protoreflect.Message
func (*ApplyRulesStatusReq) Reset ¶
func (x *ApplyRulesStatusReq) Reset()
func (*ApplyRulesStatusReq) String ¶
func (x *ApplyRulesStatusReq) String() string
func (*ApplyRulesStatusReq) Validate ¶
func (m *ApplyRulesStatusReq) Validate() error
Validate checks the field values on ApplyRulesStatusReq 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 (*ApplyRulesStatusReq) ValidateAll ¶
func (m *ApplyRulesStatusReq) ValidateAll() error
ValidateAll checks the field values on ApplyRulesStatusReq 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 ApplyRulesStatusReqMultiError, or nil if none found.
type ApplyRulesStatusReqMultiError ¶
type ApplyRulesStatusReqMultiError []error
ApplyRulesStatusReqMultiError is an error wrapping multiple validation errors returned by ApplyRulesStatusReq.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesStatusReqMultiError) AllErrors ¶
func (m ApplyRulesStatusReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesStatusReqMultiError) Error ¶
func (m ApplyRulesStatusReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesStatusReqValidationError ¶
type ApplyRulesStatusReqValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesStatusReqValidationError is the validation error returned by ApplyRulesStatusReq.Validate if the designated constraints aren't met.
func (ApplyRulesStatusReqValidationError) Cause ¶
func (e ApplyRulesStatusReqValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesStatusReqValidationError) Error ¶
func (e ApplyRulesStatusReqValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesStatusReqValidationError) ErrorName ¶
func (e ApplyRulesStatusReqValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesStatusReqValidationError) Field ¶
func (e ApplyRulesStatusReqValidationError) Field() string
Field function returns field value.
func (ApplyRulesStatusReqValidationError) Key ¶
func (e ApplyRulesStatusReqValidationError) Key() bool
Key function returns key value.
func (ApplyRulesStatusReqValidationError) Reason ¶
func (e ApplyRulesStatusReqValidationError) Reason() string
Reason function returns reason value.
type ApplyRulesStatusResp ¶
type ApplyRulesStatusResp struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty" toml:"state,omitempty" mapstructure:"state,omitempty"` EstimatedTimeComplete *timestamppb.Timestamp `` /* 216-byte string literal not displayed */ PercentageComplete float32 `` /* 199-byte string literal not displayed */ Failed bool `protobuf:"varint,4,opt,name=failed,proto3" json:"failed,omitempty" toml:"failed,omitempty" mapstructure:"failed,omitempty"` FailureMessage string `` /* 177-byte string literal not displayed */ Cancelled bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ApplyRulesStatusResp) Descriptor
deprecated
func (*ApplyRulesStatusResp) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRulesStatusResp.ProtoReflect.Descriptor instead.
func (*ApplyRulesStatusResp) GetCancelled ¶
func (x *ApplyRulesStatusResp) GetCancelled() bool
func (*ApplyRulesStatusResp) GetEstimatedTimeComplete ¶
func (x *ApplyRulesStatusResp) GetEstimatedTimeComplete() *timestamppb.Timestamp
func (*ApplyRulesStatusResp) GetFailed ¶
func (x *ApplyRulesStatusResp) GetFailed() bool
func (*ApplyRulesStatusResp) GetFailureMessage ¶
func (x *ApplyRulesStatusResp) GetFailureMessage() string
func (*ApplyRulesStatusResp) GetPercentageComplete ¶
func (x *ApplyRulesStatusResp) GetPercentageComplete() float32
func (*ApplyRulesStatusResp) GetState ¶
func (x *ApplyRulesStatusResp) GetState() string
func (*ApplyRulesStatusResp) ProtoMessage ¶
func (*ApplyRulesStatusResp) ProtoMessage()
func (*ApplyRulesStatusResp) ProtoReflect ¶
func (x *ApplyRulesStatusResp) ProtoReflect() protoreflect.Message
func (*ApplyRulesStatusResp) Reset ¶
func (x *ApplyRulesStatusResp) Reset()
func (*ApplyRulesStatusResp) String ¶
func (x *ApplyRulesStatusResp) String() string
func (*ApplyRulesStatusResp) Validate ¶
func (m *ApplyRulesStatusResp) Validate() error
Validate checks the field values on ApplyRulesStatusResp 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 (*ApplyRulesStatusResp) ValidateAll ¶
func (m *ApplyRulesStatusResp) ValidateAll() error
ValidateAll checks the field values on ApplyRulesStatusResp 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 ApplyRulesStatusRespMultiError, or nil if none found.
type ApplyRulesStatusRespMultiError ¶
type ApplyRulesStatusRespMultiError []error
ApplyRulesStatusRespMultiError is an error wrapping multiple validation errors returned by ApplyRulesStatusResp.ValidateAll() if the designated constraints aren't met.
func (ApplyRulesStatusRespMultiError) AllErrors ¶
func (m ApplyRulesStatusRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApplyRulesStatusRespMultiError) Error ¶
func (m ApplyRulesStatusRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApplyRulesStatusRespValidationError ¶
type ApplyRulesStatusRespValidationError struct {
// contains filtered or unexported fields
}
ApplyRulesStatusRespValidationError is the validation error returned by ApplyRulesStatusResp.Validate if the designated constraints aren't met.
func (ApplyRulesStatusRespValidationError) Cause ¶
func (e ApplyRulesStatusRespValidationError) Cause() error
Cause function returns cause value.
func (ApplyRulesStatusRespValidationError) Error ¶
func (e ApplyRulesStatusRespValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyRulesStatusRespValidationError) ErrorName ¶
func (e ApplyRulesStatusRespValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyRulesStatusRespValidationError) Field ¶
func (e ApplyRulesStatusRespValidationError) Field() string
Field function returns field value.
func (ApplyRulesStatusRespValidationError) Key ¶
func (e ApplyRulesStatusRespValidationError) Key() bool
Key function returns key value.
func (ApplyRulesStatusRespValidationError) Reason ¶
func (e ApplyRulesStatusRespValidationError) Reason() string
Reason function returns reason value.
type AuthorizationServiceClient ¶
type AuthorizationServiceClient interface { GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, error) FilterAuthorizedPairs(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjects(ctx context.Context, in *FilterAuthorizedProjectsReq, opts ...grpc.CallOption) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorized(ctx context.Context, in *ProjectsAuthorizedReq, opts ...grpc.CallOption) (*ProjectsAuthorizedResp, error) ValidateProjectAssignment(ctx context.Context, in *ValidateProjectAssignmentReq, opts ...grpc.CallOption) (*ValidateProjectAssignmentResp, error) }
AuthorizationServiceClient is the client API for AuthorizationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizationServiceClient ¶
func NewAuthorizationServiceClient(cc grpc.ClientConnInterface) AuthorizationServiceClient
type AuthorizationServiceServer ¶
type AuthorizationServiceServer interface { GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error) FilterAuthorizedPairs(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjects(context.Context, *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorized(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error) ValidateProjectAssignment(context.Context, *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error) }
AuthorizationServiceServer is the server API for AuthorizationService service.
type AuthorizationServiceServerMock ¶
type AuthorizationServiceServerMock struct { GetVersionFunc func(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error) FilterAuthorizedPairsFunc func(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error) FilterAuthorizedProjectsFunc func(context.Context, *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error) ProjectsAuthorizedFunc func(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error) ValidateProjectAssignmentFunc func(context.Context, *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error) // contains filtered or unexported fields }
AuthorizationServiceServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewAuthorizationServiceServerMock ¶
func NewAuthorizationServiceServerMock() *AuthorizationServiceServerMock
NewAuthorizationServiceServerMock gives you a fresh instance of AuthorizationServiceServerMock.
func NewAuthorizationServiceServerMockWithoutValidation ¶
func NewAuthorizationServiceServerMockWithoutValidation() *AuthorizationServiceServerMock
NewAuthorizationServiceServerMockWithoutValidation gives you a fresh instance of AuthorizationServiceServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*AuthorizationServiceServerMock) FilterAuthorizedPairs ¶
func (m *AuthorizationServiceServerMock) FilterAuthorizedPairs(ctx context.Context, req *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
func (*AuthorizationServiceServerMock) FilterAuthorizedProjects ¶
func (m *AuthorizationServiceServerMock) FilterAuthorizedProjects(ctx context.Context, req *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
func (*AuthorizationServiceServerMock) GetVersion ¶
func (m *AuthorizationServiceServerMock) GetVersion(ctx context.Context, req *version.VersionInfoRequest) (*version.VersionInfo, error)
func (*AuthorizationServiceServerMock) ProjectsAuthorized ¶
func (m *AuthorizationServiceServerMock) ProjectsAuthorized(ctx context.Context, req *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
func (*AuthorizationServiceServerMock) Reset ¶
func (m *AuthorizationServiceServerMock) Reset()
Reset resets all overridden functions
func (*AuthorizationServiceServerMock) ValidateProjectAssignment ¶
func (m *AuthorizationServiceServerMock) ValidateProjectAssignment(ctx context.Context, req *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
type Condition ¶
type Condition struct { Attribute ProjectRuleConditionAttributes `` /* 197-byte string literal not displayed */ Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty" toml:"values,omitempty" mapstructure:"values,omitempty"` Operator ProjectRuleConditionOperators `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Condition) Descriptor
deprecated
func (*Condition) GetAttribute ¶
func (x *Condition) GetAttribute() ProjectRuleConditionAttributes
func (*Condition) GetOperator ¶
func (x *Condition) GetOperator() ProjectRuleConditionOperators
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) Validate ¶
Validate checks the field values on Condition 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 (*Condition) ValidateAll ¶
ValidateAll checks the field values on Condition 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 ConditionMultiError, or nil if none found.
type ConditionMultiError ¶
type ConditionMultiError []error
ConditionMultiError is an error wrapping multiple validation errors returned by Condition.ValidateAll() if the designated constraints aren't met.
func (ConditionMultiError) AllErrors ¶
func (m ConditionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionMultiError) Error ¶
func (m ConditionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionValidationError ¶
type ConditionValidationError struct {
// contains filtered or unexported fields
}
ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.
func (ConditionValidationError) Cause ¶
func (e ConditionValidationError) Cause() error
Cause function returns cause value.
func (ConditionValidationError) Error ¶
func (e ConditionValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionValidationError) ErrorName ¶
func (e ConditionValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionValidationError) Field ¶
func (e ConditionValidationError) Field() string
Field function returns field value.
func (ConditionValidationError) Key ¶
func (e ConditionValidationError) Key() bool
Key function returns key value.
func (ConditionValidationError) Reason ¶
func (e ConditionValidationError) Reason() string
Reason function returns reason value.
type CreatePolicyReq ¶
type CreatePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Members []string `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreatePolicyReq) Descriptor
deprecated
func (*CreatePolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyReq.ProtoReflect.Descriptor instead.
func (*CreatePolicyReq) GetId ¶
func (x *CreatePolicyReq) GetId() string
func (*CreatePolicyReq) GetMembers ¶
func (x *CreatePolicyReq) GetMembers() []string
func (*CreatePolicyReq) GetName ¶
func (x *CreatePolicyReq) GetName() string
func (*CreatePolicyReq) GetProjects ¶
func (x *CreatePolicyReq) GetProjects() []string
func (*CreatePolicyReq) GetStatements ¶
func (x *CreatePolicyReq) GetStatements() []*Statement
func (*CreatePolicyReq) ProtoMessage ¶
func (*CreatePolicyReq) ProtoMessage()
func (*CreatePolicyReq) ProtoReflect ¶
func (x *CreatePolicyReq) ProtoReflect() protoreflect.Message
func (*CreatePolicyReq) Reset ¶
func (x *CreatePolicyReq) Reset()
func (*CreatePolicyReq) String ¶
func (x *CreatePolicyReq) String() string
func (*CreatePolicyReq) Validate ¶
func (m *CreatePolicyReq) Validate() error
Validate checks the field values on CreatePolicyReq 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 (*CreatePolicyReq) ValidateAll ¶
func (m *CreatePolicyReq) ValidateAll() error
ValidateAll checks the field values on CreatePolicyReq 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 CreatePolicyReqMultiError, or nil if none found.
type CreatePolicyReqMultiError ¶
type CreatePolicyReqMultiError []error
CreatePolicyReqMultiError is an error wrapping multiple validation errors returned by CreatePolicyReq.ValidateAll() if the designated constraints aren't met.
func (CreatePolicyReqMultiError) AllErrors ¶
func (m CreatePolicyReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePolicyReqMultiError) Error ¶
func (m CreatePolicyReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePolicyReqValidationError ¶
type CreatePolicyReqValidationError struct {
// contains filtered or unexported fields
}
CreatePolicyReqValidationError is the validation error returned by CreatePolicyReq.Validate if the designated constraints aren't met.
func (CreatePolicyReqValidationError) Cause ¶
func (e CreatePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (CreatePolicyReqValidationError) Error ¶
func (e CreatePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePolicyReqValidationError) ErrorName ¶
func (e CreatePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePolicyReqValidationError) Field ¶
func (e CreatePolicyReqValidationError) Field() string
Field function returns field value.
func (CreatePolicyReqValidationError) Key ¶
func (e CreatePolicyReqValidationError) Key() bool
Key function returns key value.
func (CreatePolicyReqValidationError) Reason ¶
func (e CreatePolicyReqValidationError) Reason() string
Reason function returns reason value.
type CreateProjectReq ¶
type CreateProjectReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` SkipPolicies bool `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
Projects, unlike all other resources allowing 64 characters, are restricted to 48 because the id serves as a base for generated policies and teams.
func (*CreateProjectReq) Descriptor
deprecated
func (*CreateProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectReq.ProtoReflect.Descriptor instead.
func (*CreateProjectReq) GetId ¶
func (x *CreateProjectReq) GetId() string
func (*CreateProjectReq) GetName ¶
func (x *CreateProjectReq) GetName() string
func (*CreateProjectReq) GetSkipPolicies ¶
func (x *CreateProjectReq) GetSkipPolicies() bool
func (*CreateProjectReq) ProtoMessage ¶
func (*CreateProjectReq) ProtoMessage()
func (*CreateProjectReq) ProtoReflect ¶
func (x *CreateProjectReq) ProtoReflect() protoreflect.Message
func (*CreateProjectReq) Reset ¶
func (x *CreateProjectReq) Reset()
func (*CreateProjectReq) String ¶
func (x *CreateProjectReq) String() string
func (*CreateProjectReq) Validate ¶
func (m *CreateProjectReq) Validate() error
Validate checks the field values on CreateProjectReq 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 (*CreateProjectReq) ValidateAll ¶
func (m *CreateProjectReq) ValidateAll() error
ValidateAll checks the field values on CreateProjectReq 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 CreateProjectReqMultiError, or nil if none found.
type CreateProjectReqMultiError ¶
type CreateProjectReqMultiError []error
CreateProjectReqMultiError is an error wrapping multiple validation errors returned by CreateProjectReq.ValidateAll() if the designated constraints aren't met.
func (CreateProjectReqMultiError) AllErrors ¶
func (m CreateProjectReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProjectReqMultiError) Error ¶
func (m CreateProjectReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProjectReqValidationError ¶
type CreateProjectReqValidationError struct {
// contains filtered or unexported fields
}
CreateProjectReqValidationError is the validation error returned by CreateProjectReq.Validate if the designated constraints aren't met.
func (CreateProjectReqValidationError) Cause ¶
func (e CreateProjectReqValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectReqValidationError) Error ¶
func (e CreateProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectReqValidationError) ErrorName ¶
func (e CreateProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectReqValidationError) Field ¶
func (e CreateProjectReqValidationError) Field() string
Field function returns field value.
func (CreateProjectReqValidationError) Key ¶
func (e CreateProjectReqValidationError) Key() bool
Key function returns key value.
func (CreateProjectReqValidationError) Reason ¶
func (e CreateProjectReqValidationError) Reason() string
Reason function returns reason value.
type CreateProjectResp ¶
type CreateProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectResp) Descriptor
deprecated
func (*CreateProjectResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectResp.ProtoReflect.Descriptor instead.
func (*CreateProjectResp) GetProject ¶
func (x *CreateProjectResp) GetProject() *Project
func (*CreateProjectResp) ProtoMessage ¶
func (*CreateProjectResp) ProtoMessage()
func (*CreateProjectResp) ProtoReflect ¶
func (x *CreateProjectResp) ProtoReflect() protoreflect.Message
func (*CreateProjectResp) Reset ¶
func (x *CreateProjectResp) Reset()
func (*CreateProjectResp) String ¶
func (x *CreateProjectResp) String() string
func (*CreateProjectResp) Validate ¶
func (m *CreateProjectResp) Validate() error
Validate checks the field values on CreateProjectResp 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 (*CreateProjectResp) ValidateAll ¶
func (m *CreateProjectResp) ValidateAll() error
ValidateAll checks the field values on CreateProjectResp 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 CreateProjectRespMultiError, or nil if none found.
type CreateProjectRespMultiError ¶
type CreateProjectRespMultiError []error
CreateProjectRespMultiError is an error wrapping multiple validation errors returned by CreateProjectResp.ValidateAll() if the designated constraints aren't met.
func (CreateProjectRespMultiError) AllErrors ¶
func (m CreateProjectRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProjectRespMultiError) Error ¶
func (m CreateProjectRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProjectRespValidationError ¶
type CreateProjectRespValidationError struct {
// contains filtered or unexported fields
}
CreateProjectRespValidationError is the validation error returned by CreateProjectResp.Validate if the designated constraints aren't met.
func (CreateProjectRespValidationError) Cause ¶
func (e CreateProjectRespValidationError) Cause() error
Cause function returns cause value.
func (CreateProjectRespValidationError) Error ¶
func (e CreateProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProjectRespValidationError) ErrorName ¶
func (e CreateProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProjectRespValidationError) Field ¶
func (e CreateProjectRespValidationError) Field() string
Field function returns field value.
func (CreateProjectRespValidationError) Key ¶
func (e CreateProjectRespValidationError) Key() bool
Key function returns key value.
func (CreateProjectRespValidationError) Reason ¶
func (e CreateProjectRespValidationError) Reason() string
Reason function returns reason value.
type CreateRoleReq ¶
type CreateRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateRoleReq) Descriptor
deprecated
func (*CreateRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoleReq.ProtoReflect.Descriptor instead.
func (*CreateRoleReq) GetActions ¶
func (x *CreateRoleReq) GetActions() []string
func (*CreateRoleReq) GetId ¶
func (x *CreateRoleReq) GetId() string
func (*CreateRoleReq) GetName ¶
func (x *CreateRoleReq) GetName() string
func (*CreateRoleReq) GetProjects ¶
func (x *CreateRoleReq) GetProjects() []string
func (*CreateRoleReq) ProtoMessage ¶
func (*CreateRoleReq) ProtoMessage()
func (*CreateRoleReq) ProtoReflect ¶
func (x *CreateRoleReq) ProtoReflect() protoreflect.Message
func (*CreateRoleReq) Reset ¶
func (x *CreateRoleReq) Reset()
func (*CreateRoleReq) String ¶
func (x *CreateRoleReq) String() string
func (*CreateRoleReq) Validate ¶
func (m *CreateRoleReq) Validate() error
Validate checks the field values on CreateRoleReq 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 (*CreateRoleReq) ValidateAll ¶
func (m *CreateRoleReq) ValidateAll() error
ValidateAll checks the field values on CreateRoleReq 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 CreateRoleReqMultiError, or nil if none found.
type CreateRoleReqMultiError ¶
type CreateRoleReqMultiError []error
CreateRoleReqMultiError is an error wrapping multiple validation errors returned by CreateRoleReq.ValidateAll() if the designated constraints aren't met.
func (CreateRoleReqMultiError) AllErrors ¶
func (m CreateRoleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRoleReqMultiError) Error ¶
func (m CreateRoleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRoleReqValidationError ¶
type CreateRoleReqValidationError struct {
// contains filtered or unexported fields
}
CreateRoleReqValidationError is the validation error returned by CreateRoleReq.Validate if the designated constraints aren't met.
func (CreateRoleReqValidationError) Cause ¶
func (e CreateRoleReqValidationError) Cause() error
Cause function returns cause value.
func (CreateRoleReqValidationError) Error ¶
func (e CreateRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRoleReqValidationError) ErrorName ¶
func (e CreateRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRoleReqValidationError) Field ¶
func (e CreateRoleReqValidationError) Field() string
Field function returns field value.
func (CreateRoleReqValidationError) Key ¶
func (e CreateRoleReqValidationError) Key() bool
Key function returns key value.
func (CreateRoleReqValidationError) Reason ¶
func (e CreateRoleReqValidationError) Reason() string
Reason function returns reason value.
type CreateRuleReq ¶
type CreateRuleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ProjectId string `` /* 152-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Type ProjectRuleTypes `` /* 163-byte string literal not displayed */ Conditions []*Condition `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
CreateRuleReq is ProjectRule, so the input is just one JSON object. Also adds basic validation.
func (*CreateRuleReq) Descriptor
deprecated
func (*CreateRuleReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleReq.ProtoReflect.Descriptor instead.
func (*CreateRuleReq) GetConditions ¶
func (x *CreateRuleReq) GetConditions() []*Condition
func (*CreateRuleReq) GetId ¶
func (x *CreateRuleReq) GetId() string
func (*CreateRuleReq) GetName ¶
func (x *CreateRuleReq) GetName() string
func (*CreateRuleReq) GetProjectId ¶
func (x *CreateRuleReq) GetProjectId() string
func (*CreateRuleReq) GetType ¶
func (x *CreateRuleReq) GetType() ProjectRuleTypes
func (*CreateRuleReq) ProtoMessage ¶
func (*CreateRuleReq) ProtoMessage()
func (*CreateRuleReq) ProtoReflect ¶
func (x *CreateRuleReq) ProtoReflect() protoreflect.Message
func (*CreateRuleReq) Reset ¶
func (x *CreateRuleReq) Reset()
func (*CreateRuleReq) String ¶
func (x *CreateRuleReq) String() string
func (*CreateRuleReq) Validate ¶
func (m *CreateRuleReq) Validate() error
Validate checks the field values on CreateRuleReq 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 (*CreateRuleReq) ValidateAll ¶
func (m *CreateRuleReq) ValidateAll() error
ValidateAll checks the field values on CreateRuleReq 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 CreateRuleReqMultiError, or nil if none found.
type CreateRuleReqMultiError ¶
type CreateRuleReqMultiError []error
CreateRuleReqMultiError is an error wrapping multiple validation errors returned by CreateRuleReq.ValidateAll() if the designated constraints aren't met.
func (CreateRuleReqMultiError) AllErrors ¶
func (m CreateRuleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRuleReqMultiError) Error ¶
func (m CreateRuleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRuleReqValidationError ¶
type CreateRuleReqValidationError struct {
// contains filtered or unexported fields
}
CreateRuleReqValidationError is the validation error returned by CreateRuleReq.Validate if the designated constraints aren't met.
func (CreateRuleReqValidationError) Cause ¶
func (e CreateRuleReqValidationError) Cause() error
Cause function returns cause value.
func (CreateRuleReqValidationError) Error ¶
func (e CreateRuleReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRuleReqValidationError) ErrorName ¶
func (e CreateRuleReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRuleReqValidationError) Field ¶
func (e CreateRuleReqValidationError) Field() string
Field function returns field value.
func (CreateRuleReqValidationError) Key ¶
func (e CreateRuleReqValidationError) Key() bool
Key function returns key value.
func (CreateRuleReqValidationError) Reason ¶
func (e CreateRuleReqValidationError) Reason() string
Reason function returns reason value.
type CreateRuleResp ¶
type CreateRuleResp struct { Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` // contains filtered or unexported fields }
func (*CreateRuleResp) Descriptor
deprecated
func (*CreateRuleResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateRuleResp.ProtoReflect.Descriptor instead.
func (*CreateRuleResp) GetRule ¶
func (x *CreateRuleResp) GetRule() *ProjectRule
func (*CreateRuleResp) ProtoMessage ¶
func (*CreateRuleResp) ProtoMessage()
func (*CreateRuleResp) ProtoReflect ¶
func (x *CreateRuleResp) ProtoReflect() protoreflect.Message
func (*CreateRuleResp) Reset ¶
func (x *CreateRuleResp) Reset()
func (*CreateRuleResp) String ¶
func (x *CreateRuleResp) String() string
func (*CreateRuleResp) Validate ¶
func (m *CreateRuleResp) Validate() error
Validate checks the field values on CreateRuleResp 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 (*CreateRuleResp) ValidateAll ¶
func (m *CreateRuleResp) ValidateAll() error
ValidateAll checks the field values on CreateRuleResp 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 CreateRuleRespMultiError, or nil if none found.
type CreateRuleRespMultiError ¶
type CreateRuleRespMultiError []error
CreateRuleRespMultiError is an error wrapping multiple validation errors returned by CreateRuleResp.ValidateAll() if the designated constraints aren't met.
func (CreateRuleRespMultiError) AllErrors ¶
func (m CreateRuleRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRuleRespMultiError) Error ¶
func (m CreateRuleRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRuleRespValidationError ¶
type CreateRuleRespValidationError struct {
// contains filtered or unexported fields
}
CreateRuleRespValidationError is the validation error returned by CreateRuleResp.Validate if the designated constraints aren't met.
func (CreateRuleRespValidationError) Cause ¶
func (e CreateRuleRespValidationError) Cause() error
Cause function returns cause value.
func (CreateRuleRespValidationError) Error ¶
func (e CreateRuleRespValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRuleRespValidationError) ErrorName ¶
func (e CreateRuleRespValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRuleRespValidationError) Field ¶
func (e CreateRuleRespValidationError) Field() string
Field function returns field value.
func (CreateRuleRespValidationError) Key ¶
func (e CreateRuleRespValidationError) Key() bool
Key function returns key value.
func (CreateRuleRespValidationError) Reason ¶
func (e CreateRuleRespValidationError) Reason() string
Reason function returns reason value.
type DeletePolicyReq ¶
type DeletePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyReq) Descriptor
deprecated
func (*DeletePolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyReq.ProtoReflect.Descriptor instead.
func (*DeletePolicyReq) GetId ¶
func (x *DeletePolicyReq) GetId() string
func (*DeletePolicyReq) ProtoMessage ¶
func (*DeletePolicyReq) ProtoMessage()
func (*DeletePolicyReq) ProtoReflect ¶
func (x *DeletePolicyReq) ProtoReflect() protoreflect.Message
func (*DeletePolicyReq) Reset ¶
func (x *DeletePolicyReq) Reset()
func (*DeletePolicyReq) String ¶
func (x *DeletePolicyReq) String() string
func (*DeletePolicyReq) Validate ¶
func (m *DeletePolicyReq) Validate() error
Validate checks the field values on DeletePolicyReq 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 (*DeletePolicyReq) ValidateAll ¶
func (m *DeletePolicyReq) ValidateAll() error
ValidateAll checks the field values on DeletePolicyReq 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 DeletePolicyReqMultiError, or nil if none found.
type DeletePolicyReqMultiError ¶
type DeletePolicyReqMultiError []error
DeletePolicyReqMultiError is an error wrapping multiple validation errors returned by DeletePolicyReq.ValidateAll() if the designated constraints aren't met.
func (DeletePolicyReqMultiError) AllErrors ¶
func (m DeletePolicyReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePolicyReqMultiError) Error ¶
func (m DeletePolicyReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePolicyReqValidationError ¶
type DeletePolicyReqValidationError struct {
// contains filtered or unexported fields
}
DeletePolicyReqValidationError is the validation error returned by DeletePolicyReq.Validate if the designated constraints aren't met.
func (DeletePolicyReqValidationError) Cause ¶
func (e DeletePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicyReqValidationError) Error ¶
func (e DeletePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicyReqValidationError) ErrorName ¶
func (e DeletePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicyReqValidationError) Field ¶
func (e DeletePolicyReqValidationError) Field() string
Field function returns field value.
func (DeletePolicyReqValidationError) Key ¶
func (e DeletePolicyReqValidationError) Key() bool
Key function returns key value.
func (DeletePolicyReqValidationError) Reason ¶
func (e DeletePolicyReqValidationError) Reason() string
Reason function returns reason value.
type DeletePolicyResp ¶
type DeletePolicyResp struct {
// contains filtered or unexported fields
}
func (*DeletePolicyResp) Descriptor
deprecated
func (*DeletePolicyResp) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyResp.ProtoReflect.Descriptor instead.
func (*DeletePolicyResp) ProtoMessage ¶
func (*DeletePolicyResp) ProtoMessage()
func (*DeletePolicyResp) ProtoReflect ¶
func (x *DeletePolicyResp) ProtoReflect() protoreflect.Message
func (*DeletePolicyResp) Reset ¶
func (x *DeletePolicyResp) Reset()
func (*DeletePolicyResp) String ¶
func (x *DeletePolicyResp) String() string
func (*DeletePolicyResp) Validate ¶
func (m *DeletePolicyResp) Validate() error
Validate checks the field values on DeletePolicyResp 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 (*DeletePolicyResp) ValidateAll ¶
func (m *DeletePolicyResp) ValidateAll() error
ValidateAll checks the field values on DeletePolicyResp 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 DeletePolicyRespMultiError, or nil if none found.
type DeletePolicyRespMultiError ¶
type DeletePolicyRespMultiError []error
DeletePolicyRespMultiError is an error wrapping multiple validation errors returned by DeletePolicyResp.ValidateAll() if the designated constraints aren't met.
func (DeletePolicyRespMultiError) AllErrors ¶
func (m DeletePolicyRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePolicyRespMultiError) Error ¶
func (m DeletePolicyRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePolicyRespValidationError ¶
type DeletePolicyRespValidationError struct {
// contains filtered or unexported fields
}
DeletePolicyRespValidationError is the validation error returned by DeletePolicyResp.Validate if the designated constraints aren't met.
func (DeletePolicyRespValidationError) Cause ¶
func (e DeletePolicyRespValidationError) Cause() error
Cause function returns cause value.
func (DeletePolicyRespValidationError) Error ¶
func (e DeletePolicyRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePolicyRespValidationError) ErrorName ¶
func (e DeletePolicyRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePolicyRespValidationError) Field ¶
func (e DeletePolicyRespValidationError) Field() string
Field function returns field value.
func (DeletePolicyRespValidationError) Key ¶
func (e DeletePolicyRespValidationError) Key() bool
Key function returns key value.
func (DeletePolicyRespValidationError) Reason ¶
func (e DeletePolicyRespValidationError) Reason() string
Reason function returns reason value.
type DeleteProjectReq ¶
type DeleteProjectReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectReq) Descriptor
deprecated
func (*DeleteProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectReq.ProtoReflect.Descriptor instead.
func (*DeleteProjectReq) GetId ¶
func (x *DeleteProjectReq) GetId() string
func (*DeleteProjectReq) ProtoMessage ¶
func (*DeleteProjectReq) ProtoMessage()
func (*DeleteProjectReq) ProtoReflect ¶
func (x *DeleteProjectReq) ProtoReflect() protoreflect.Message
func (*DeleteProjectReq) Reset ¶
func (x *DeleteProjectReq) Reset()
func (*DeleteProjectReq) String ¶
func (x *DeleteProjectReq) String() string
func (*DeleteProjectReq) Validate ¶
func (m *DeleteProjectReq) Validate() error
Validate checks the field values on DeleteProjectReq 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 (*DeleteProjectReq) ValidateAll ¶
func (m *DeleteProjectReq) ValidateAll() error
ValidateAll checks the field values on DeleteProjectReq 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 DeleteProjectReqMultiError, or nil if none found.
type DeleteProjectReqMultiError ¶
type DeleteProjectReqMultiError []error
DeleteProjectReqMultiError is an error wrapping multiple validation errors returned by DeleteProjectReq.ValidateAll() if the designated constraints aren't met.
func (DeleteProjectReqMultiError) AllErrors ¶
func (m DeleteProjectReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProjectReqMultiError) Error ¶
func (m DeleteProjectReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProjectReqValidationError ¶
type DeleteProjectReqValidationError struct {
// contains filtered or unexported fields
}
DeleteProjectReqValidationError is the validation error returned by DeleteProjectReq.Validate if the designated constraints aren't met.
func (DeleteProjectReqValidationError) Cause ¶
func (e DeleteProjectReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteProjectReqValidationError) Error ¶
func (e DeleteProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProjectReqValidationError) ErrorName ¶
func (e DeleteProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProjectReqValidationError) Field ¶
func (e DeleteProjectReqValidationError) Field() string
Field function returns field value.
func (DeleteProjectReqValidationError) Key ¶
func (e DeleteProjectReqValidationError) Key() bool
Key function returns key value.
func (DeleteProjectReqValidationError) Reason ¶
func (e DeleteProjectReqValidationError) Reason() string
Reason function returns reason value.
type DeleteProjectResp ¶
type DeleteProjectResp struct {
// contains filtered or unexported fields
}
func (*DeleteProjectResp) Descriptor
deprecated
func (*DeleteProjectResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectResp.ProtoReflect.Descriptor instead.
func (*DeleteProjectResp) ProtoMessage ¶
func (*DeleteProjectResp) ProtoMessage()
func (*DeleteProjectResp) ProtoReflect ¶
func (x *DeleteProjectResp) ProtoReflect() protoreflect.Message
func (*DeleteProjectResp) Reset ¶
func (x *DeleteProjectResp) Reset()
func (*DeleteProjectResp) String ¶
func (x *DeleteProjectResp) String() string
func (*DeleteProjectResp) Validate ¶
func (m *DeleteProjectResp) Validate() error
Validate checks the field values on DeleteProjectResp 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 (*DeleteProjectResp) ValidateAll ¶
func (m *DeleteProjectResp) ValidateAll() error
ValidateAll checks the field values on DeleteProjectResp 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 DeleteProjectRespMultiError, or nil if none found.
type DeleteProjectRespMultiError ¶
type DeleteProjectRespMultiError []error
DeleteProjectRespMultiError is an error wrapping multiple validation errors returned by DeleteProjectResp.ValidateAll() if the designated constraints aren't met.
func (DeleteProjectRespMultiError) AllErrors ¶
func (m DeleteProjectRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteProjectRespMultiError) Error ¶
func (m DeleteProjectRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteProjectRespValidationError ¶
type DeleteProjectRespValidationError struct {
// contains filtered or unexported fields
}
DeleteProjectRespValidationError is the validation error returned by DeleteProjectResp.Validate if the designated constraints aren't met.
func (DeleteProjectRespValidationError) Cause ¶
func (e DeleteProjectRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteProjectRespValidationError) Error ¶
func (e DeleteProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProjectRespValidationError) ErrorName ¶
func (e DeleteProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProjectRespValidationError) Field ¶
func (e DeleteProjectRespValidationError) Field() string
Field function returns field value.
func (DeleteProjectRespValidationError) Key ¶
func (e DeleteProjectRespValidationError) Key() bool
Key function returns key value.
func (DeleteProjectRespValidationError) Reason ¶
func (e DeleteProjectRespValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleReq ¶
type DeleteRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoleReq) Descriptor
deprecated
func (*DeleteRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleReq.ProtoReflect.Descriptor instead.
func (*DeleteRoleReq) GetId ¶
func (x *DeleteRoleReq) GetId() string
func (*DeleteRoleReq) ProtoMessage ¶
func (*DeleteRoleReq) ProtoMessage()
func (*DeleteRoleReq) ProtoReflect ¶
func (x *DeleteRoleReq) ProtoReflect() protoreflect.Message
func (*DeleteRoleReq) Reset ¶
func (x *DeleteRoleReq) Reset()
func (*DeleteRoleReq) String ¶
func (x *DeleteRoleReq) String() string
func (*DeleteRoleReq) Validate ¶
func (m *DeleteRoleReq) Validate() error
Validate checks the field values on DeleteRoleReq 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 (*DeleteRoleReq) ValidateAll ¶
func (m *DeleteRoleReq) ValidateAll() error
ValidateAll checks the field values on DeleteRoleReq 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 DeleteRoleReqMultiError, or nil if none found.
type DeleteRoleReqMultiError ¶
type DeleteRoleReqMultiError []error
DeleteRoleReqMultiError is an error wrapping multiple validation errors returned by DeleteRoleReq.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleReqMultiError) AllErrors ¶
func (m DeleteRoleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleReqMultiError) Error ¶
func (m DeleteRoleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleReqValidationError ¶
type DeleteRoleReqValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleReqValidationError is the validation error returned by DeleteRoleReq.Validate if the designated constraints aren't met.
func (DeleteRoleReqValidationError) Cause ¶
func (e DeleteRoleReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleReqValidationError) Error ¶
func (e DeleteRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleReqValidationError) ErrorName ¶
func (e DeleteRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleReqValidationError) Field ¶
func (e DeleteRoleReqValidationError) Field() string
Field function returns field value.
func (DeleteRoleReqValidationError) Key ¶
func (e DeleteRoleReqValidationError) Key() bool
Key function returns key value.
func (DeleteRoleReqValidationError) Reason ¶
func (e DeleteRoleReqValidationError) Reason() string
Reason function returns reason value.
type DeleteRoleResp ¶
type DeleteRoleResp struct {
// contains filtered or unexported fields
}
func (*DeleteRoleResp) Descriptor
deprecated
func (*DeleteRoleResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoleResp.ProtoReflect.Descriptor instead.
func (*DeleteRoleResp) ProtoMessage ¶
func (*DeleteRoleResp) ProtoMessage()
func (*DeleteRoleResp) ProtoReflect ¶
func (x *DeleteRoleResp) ProtoReflect() protoreflect.Message
func (*DeleteRoleResp) Reset ¶
func (x *DeleteRoleResp) Reset()
func (*DeleteRoleResp) String ¶
func (x *DeleteRoleResp) String() string
func (*DeleteRoleResp) Validate ¶
func (m *DeleteRoleResp) Validate() error
Validate checks the field values on DeleteRoleResp 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 (*DeleteRoleResp) ValidateAll ¶
func (m *DeleteRoleResp) ValidateAll() error
ValidateAll checks the field values on DeleteRoleResp 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 DeleteRoleRespMultiError, or nil if none found.
type DeleteRoleRespMultiError ¶
type DeleteRoleRespMultiError []error
DeleteRoleRespMultiError is an error wrapping multiple validation errors returned by DeleteRoleResp.ValidateAll() if the designated constraints aren't met.
func (DeleteRoleRespMultiError) AllErrors ¶
func (m DeleteRoleRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRoleRespMultiError) Error ¶
func (m DeleteRoleRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRoleRespValidationError ¶
type DeleteRoleRespValidationError struct {
// contains filtered or unexported fields
}
DeleteRoleRespValidationError is the validation error returned by DeleteRoleResp.Validate if the designated constraints aren't met.
func (DeleteRoleRespValidationError) Cause ¶
func (e DeleteRoleRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteRoleRespValidationError) Error ¶
func (e DeleteRoleRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRoleRespValidationError) ErrorName ¶
func (e DeleteRoleRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRoleRespValidationError) Field ¶
func (e DeleteRoleRespValidationError) Field() string
Field function returns field value.
func (DeleteRoleRespValidationError) Key ¶
func (e DeleteRoleRespValidationError) Key() bool
Key function returns key value.
func (DeleteRoleRespValidationError) Reason ¶
func (e DeleteRoleRespValidationError) Reason() string
Reason function returns reason value.
type DeleteRuleReq ¶
type DeleteRuleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ProjectId string `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeleteRuleReq) Descriptor
deprecated
func (*DeleteRuleReq) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleReq.ProtoReflect.Descriptor instead.
func (*DeleteRuleReq) GetId ¶
func (x *DeleteRuleReq) GetId() string
func (*DeleteRuleReq) GetProjectId ¶
func (x *DeleteRuleReq) GetProjectId() string
func (*DeleteRuleReq) ProtoMessage ¶
func (*DeleteRuleReq) ProtoMessage()
func (*DeleteRuleReq) ProtoReflect ¶
func (x *DeleteRuleReq) ProtoReflect() protoreflect.Message
func (*DeleteRuleReq) Reset ¶
func (x *DeleteRuleReq) Reset()
func (*DeleteRuleReq) String ¶
func (x *DeleteRuleReq) String() string
func (*DeleteRuleReq) Validate ¶
func (m *DeleteRuleReq) Validate() error
Validate checks the field values on DeleteRuleReq 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 (*DeleteRuleReq) ValidateAll ¶
func (m *DeleteRuleReq) ValidateAll() error
ValidateAll checks the field values on DeleteRuleReq 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 DeleteRuleReqMultiError, or nil if none found.
type DeleteRuleReqMultiError ¶
type DeleteRuleReqMultiError []error
DeleteRuleReqMultiError is an error wrapping multiple validation errors returned by DeleteRuleReq.ValidateAll() if the designated constraints aren't met.
func (DeleteRuleReqMultiError) AllErrors ¶
func (m DeleteRuleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRuleReqMultiError) Error ¶
func (m DeleteRuleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRuleReqValidationError ¶
type DeleteRuleReqValidationError struct {
// contains filtered or unexported fields
}
DeleteRuleReqValidationError is the validation error returned by DeleteRuleReq.Validate if the designated constraints aren't met.
func (DeleteRuleReqValidationError) Cause ¶
func (e DeleteRuleReqValidationError) Cause() error
Cause function returns cause value.
func (DeleteRuleReqValidationError) Error ¶
func (e DeleteRuleReqValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRuleReqValidationError) ErrorName ¶
func (e DeleteRuleReqValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRuleReqValidationError) Field ¶
func (e DeleteRuleReqValidationError) Field() string
Field function returns field value.
func (DeleteRuleReqValidationError) Key ¶
func (e DeleteRuleReqValidationError) Key() bool
Key function returns key value.
func (DeleteRuleReqValidationError) Reason ¶
func (e DeleteRuleReqValidationError) Reason() string
Reason function returns reason value.
type DeleteRuleResp ¶
type DeleteRuleResp struct {
// contains filtered or unexported fields
}
func (*DeleteRuleResp) Descriptor
deprecated
func (*DeleteRuleResp) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRuleResp.ProtoReflect.Descriptor instead.
func (*DeleteRuleResp) ProtoMessage ¶
func (*DeleteRuleResp) ProtoMessage()
func (*DeleteRuleResp) ProtoReflect ¶
func (x *DeleteRuleResp) ProtoReflect() protoreflect.Message
func (*DeleteRuleResp) Reset ¶
func (x *DeleteRuleResp) Reset()
func (*DeleteRuleResp) String ¶
func (x *DeleteRuleResp) String() string
func (*DeleteRuleResp) Validate ¶
func (m *DeleteRuleResp) Validate() error
Validate checks the field values on DeleteRuleResp 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 (*DeleteRuleResp) ValidateAll ¶
func (m *DeleteRuleResp) ValidateAll() error
ValidateAll checks the field values on DeleteRuleResp 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 DeleteRuleRespMultiError, or nil if none found.
type DeleteRuleRespMultiError ¶
type DeleteRuleRespMultiError []error
DeleteRuleRespMultiError is an error wrapping multiple validation errors returned by DeleteRuleResp.ValidateAll() if the designated constraints aren't met.
func (DeleteRuleRespMultiError) AllErrors ¶
func (m DeleteRuleRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRuleRespMultiError) Error ¶
func (m DeleteRuleRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRuleRespValidationError ¶
type DeleteRuleRespValidationError struct {
// contains filtered or unexported fields
}
DeleteRuleRespValidationError is the validation error returned by DeleteRuleResp.Validate if the designated constraints aren't met.
func (DeleteRuleRespValidationError) Cause ¶
func (e DeleteRuleRespValidationError) Cause() error
Cause function returns cause value.
func (DeleteRuleRespValidationError) Error ¶
func (e DeleteRuleRespValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRuleRespValidationError) ErrorName ¶
func (e DeleteRuleRespValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRuleRespValidationError) Field ¶
func (e DeleteRuleRespValidationError) Field() string
Field function returns field value.
func (DeleteRuleRespValidationError) Key ¶
func (e DeleteRuleRespValidationError) Key() bool
Key function returns key value.
func (DeleteRuleRespValidationError) Reason ¶
func (e DeleteRuleRespValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedPairsReq ¶
type FilterAuthorizedPairsReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Pairs []*Pair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` // contains filtered or unexported fields }
func (*FilterAuthorizedPairsReq) Descriptor
deprecated
func (*FilterAuthorizedPairsReq) Descriptor() ([]byte, []int)
Deprecated: Use FilterAuthorizedPairsReq.ProtoReflect.Descriptor instead.
func (*FilterAuthorizedPairsReq) GetPairs ¶
func (x *FilterAuthorizedPairsReq) GetPairs() []*Pair
func (*FilterAuthorizedPairsReq) GetSubjects ¶
func (x *FilterAuthorizedPairsReq) GetSubjects() []string
func (*FilterAuthorizedPairsReq) ProtoMessage ¶
func (*FilterAuthorizedPairsReq) ProtoMessage()
func (*FilterAuthorizedPairsReq) ProtoReflect ¶
func (x *FilterAuthorizedPairsReq) ProtoReflect() protoreflect.Message
func (*FilterAuthorizedPairsReq) Reset ¶
func (x *FilterAuthorizedPairsReq) Reset()
func (*FilterAuthorizedPairsReq) String ¶
func (x *FilterAuthorizedPairsReq) String() string
func (*FilterAuthorizedPairsReq) Validate ¶
func (m *FilterAuthorizedPairsReq) Validate() error
Validate checks the field values on FilterAuthorizedPairsReq 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 (*FilterAuthorizedPairsReq) ValidateAll ¶
func (m *FilterAuthorizedPairsReq) ValidateAll() error
ValidateAll checks the field values on FilterAuthorizedPairsReq 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 FilterAuthorizedPairsReqMultiError, or nil if none found.
type FilterAuthorizedPairsReqMultiError ¶
type FilterAuthorizedPairsReqMultiError []error
FilterAuthorizedPairsReqMultiError is an error wrapping multiple validation errors returned by FilterAuthorizedPairsReq.ValidateAll() if the designated constraints aren't met.
func (FilterAuthorizedPairsReqMultiError) AllErrors ¶
func (m FilterAuthorizedPairsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterAuthorizedPairsReqMultiError) Error ¶
func (m FilterAuthorizedPairsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterAuthorizedPairsReqValidationError ¶
type FilterAuthorizedPairsReqValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedPairsReqValidationError is the validation error returned by FilterAuthorizedPairsReq.Validate if the designated constraints aren't met.
func (FilterAuthorizedPairsReqValidationError) Cause ¶
func (e FilterAuthorizedPairsReqValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedPairsReqValidationError) Error ¶
func (e FilterAuthorizedPairsReqValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedPairsReqValidationError) ErrorName ¶
func (e FilterAuthorizedPairsReqValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedPairsReqValidationError) Field ¶
func (e FilterAuthorizedPairsReqValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedPairsReqValidationError) Key ¶
func (e FilterAuthorizedPairsReqValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedPairsReqValidationError) Reason ¶
func (e FilterAuthorizedPairsReqValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedPairsResp ¶
type FilterAuthorizedPairsResp struct { Pairs []*Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty" toml:"pairs,omitempty" mapstructure:"pairs,omitempty"` // contains filtered or unexported fields }
func (*FilterAuthorizedPairsResp) Descriptor
deprecated
func (*FilterAuthorizedPairsResp) Descriptor() ([]byte, []int)
Deprecated: Use FilterAuthorizedPairsResp.ProtoReflect.Descriptor instead.
func (*FilterAuthorizedPairsResp) GetPairs ¶
func (x *FilterAuthorizedPairsResp) GetPairs() []*Pair
func (*FilterAuthorizedPairsResp) ProtoMessage ¶
func (*FilterAuthorizedPairsResp) ProtoMessage()
func (*FilterAuthorizedPairsResp) ProtoReflect ¶
func (x *FilterAuthorizedPairsResp) ProtoReflect() protoreflect.Message
func (*FilterAuthorizedPairsResp) Reset ¶
func (x *FilterAuthorizedPairsResp) Reset()
func (*FilterAuthorizedPairsResp) String ¶
func (x *FilterAuthorizedPairsResp) String() string
func (*FilterAuthorizedPairsResp) Validate ¶
func (m *FilterAuthorizedPairsResp) Validate() error
Validate checks the field values on FilterAuthorizedPairsResp 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 (*FilterAuthorizedPairsResp) ValidateAll ¶
func (m *FilterAuthorizedPairsResp) ValidateAll() error
ValidateAll checks the field values on FilterAuthorizedPairsResp 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 FilterAuthorizedPairsRespMultiError, or nil if none found.
type FilterAuthorizedPairsRespMultiError ¶
type FilterAuthorizedPairsRespMultiError []error
FilterAuthorizedPairsRespMultiError is an error wrapping multiple validation errors returned by FilterAuthorizedPairsResp.ValidateAll() if the designated constraints aren't met.
func (FilterAuthorizedPairsRespMultiError) AllErrors ¶
func (m FilterAuthorizedPairsRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterAuthorizedPairsRespMultiError) Error ¶
func (m FilterAuthorizedPairsRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterAuthorizedPairsRespValidationError ¶
type FilterAuthorizedPairsRespValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedPairsRespValidationError is the validation error returned by FilterAuthorizedPairsResp.Validate if the designated constraints aren't met.
func (FilterAuthorizedPairsRespValidationError) Cause ¶
func (e FilterAuthorizedPairsRespValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedPairsRespValidationError) Error ¶
func (e FilterAuthorizedPairsRespValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedPairsRespValidationError) ErrorName ¶
func (e FilterAuthorizedPairsRespValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedPairsRespValidationError) Field ¶
func (e FilterAuthorizedPairsRespValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedPairsRespValidationError) Key ¶
func (e FilterAuthorizedPairsRespValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedPairsRespValidationError) Reason ¶
func (e FilterAuthorizedPairsRespValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedProjectsReq ¶
type FilterAuthorizedProjectsReq struct { Subjects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FilterAuthorizedProjectsReq) Descriptor
deprecated
func (*FilterAuthorizedProjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use FilterAuthorizedProjectsReq.ProtoReflect.Descriptor instead.
func (*FilterAuthorizedProjectsReq) GetSubjects ¶
func (x *FilterAuthorizedProjectsReq) GetSubjects() []string
func (*FilterAuthorizedProjectsReq) ProtoMessage ¶
func (*FilterAuthorizedProjectsReq) ProtoMessage()
func (*FilterAuthorizedProjectsReq) ProtoReflect ¶
func (x *FilterAuthorizedProjectsReq) ProtoReflect() protoreflect.Message
func (*FilterAuthorizedProjectsReq) Reset ¶
func (x *FilterAuthorizedProjectsReq) Reset()
func (*FilterAuthorizedProjectsReq) String ¶
func (x *FilterAuthorizedProjectsReq) String() string
func (*FilterAuthorizedProjectsReq) Validate ¶
func (m *FilterAuthorizedProjectsReq) Validate() error
Validate checks the field values on FilterAuthorizedProjectsReq 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 (*FilterAuthorizedProjectsReq) ValidateAll ¶
func (m *FilterAuthorizedProjectsReq) ValidateAll() error
ValidateAll checks the field values on FilterAuthorizedProjectsReq 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 FilterAuthorizedProjectsReqMultiError, or nil if none found.
type FilterAuthorizedProjectsReqMultiError ¶
type FilterAuthorizedProjectsReqMultiError []error
FilterAuthorizedProjectsReqMultiError is an error wrapping multiple validation errors returned by FilterAuthorizedProjectsReq.ValidateAll() if the designated constraints aren't met.
func (FilterAuthorizedProjectsReqMultiError) AllErrors ¶
func (m FilterAuthorizedProjectsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterAuthorizedProjectsReqMultiError) Error ¶
func (m FilterAuthorizedProjectsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterAuthorizedProjectsReqValidationError ¶
type FilterAuthorizedProjectsReqValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedProjectsReqValidationError is the validation error returned by FilterAuthorizedProjectsReq.Validate if the designated constraints aren't met.
func (FilterAuthorizedProjectsReqValidationError) Cause ¶
func (e FilterAuthorizedProjectsReqValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedProjectsReqValidationError) Error ¶
func (e FilterAuthorizedProjectsReqValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedProjectsReqValidationError) ErrorName ¶
func (e FilterAuthorizedProjectsReqValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedProjectsReqValidationError) Field ¶
func (e FilterAuthorizedProjectsReqValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedProjectsReqValidationError) Key ¶
func (e FilterAuthorizedProjectsReqValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedProjectsReqValidationError) Reason ¶
func (e FilterAuthorizedProjectsReqValidationError) Reason() string
Reason function returns reason value.
type FilterAuthorizedProjectsResp ¶
type FilterAuthorizedProjectsResp struct { Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*FilterAuthorizedProjectsResp) Descriptor
deprecated
func (*FilterAuthorizedProjectsResp) Descriptor() ([]byte, []int)
Deprecated: Use FilterAuthorizedProjectsResp.ProtoReflect.Descriptor instead.
func (*FilterAuthorizedProjectsResp) GetProjects ¶
func (x *FilterAuthorizedProjectsResp) GetProjects() []string
func (*FilterAuthorizedProjectsResp) ProtoMessage ¶
func (*FilterAuthorizedProjectsResp) ProtoMessage()
func (*FilterAuthorizedProjectsResp) ProtoReflect ¶
func (x *FilterAuthorizedProjectsResp) ProtoReflect() protoreflect.Message
func (*FilterAuthorizedProjectsResp) Reset ¶
func (x *FilterAuthorizedProjectsResp) Reset()
func (*FilterAuthorizedProjectsResp) String ¶
func (x *FilterAuthorizedProjectsResp) String() string
func (*FilterAuthorizedProjectsResp) Validate ¶
func (m *FilterAuthorizedProjectsResp) Validate() error
Validate checks the field values on FilterAuthorizedProjectsResp 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 (*FilterAuthorizedProjectsResp) ValidateAll ¶
func (m *FilterAuthorizedProjectsResp) ValidateAll() error
ValidateAll checks the field values on FilterAuthorizedProjectsResp 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 FilterAuthorizedProjectsRespMultiError, or nil if none found.
type FilterAuthorizedProjectsRespMultiError ¶
type FilterAuthorizedProjectsRespMultiError []error
FilterAuthorizedProjectsRespMultiError is an error wrapping multiple validation errors returned by FilterAuthorizedProjectsResp.ValidateAll() if the designated constraints aren't met.
func (FilterAuthorizedProjectsRespMultiError) AllErrors ¶
func (m FilterAuthorizedProjectsRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilterAuthorizedProjectsRespMultiError) Error ¶
func (m FilterAuthorizedProjectsRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilterAuthorizedProjectsRespValidationError ¶
type FilterAuthorizedProjectsRespValidationError struct {
// contains filtered or unexported fields
}
FilterAuthorizedProjectsRespValidationError is the validation error returned by FilterAuthorizedProjectsResp.Validate if the designated constraints aren't met.
func (FilterAuthorizedProjectsRespValidationError) Cause ¶
func (e FilterAuthorizedProjectsRespValidationError) Cause() error
Cause function returns cause value.
func (FilterAuthorizedProjectsRespValidationError) Error ¶
func (e FilterAuthorizedProjectsRespValidationError) Error() string
Error satisfies the builtin error interface
func (FilterAuthorizedProjectsRespValidationError) ErrorName ¶
func (e FilterAuthorizedProjectsRespValidationError) ErrorName() string
ErrorName returns error name.
func (FilterAuthorizedProjectsRespValidationError) Field ¶
func (e FilterAuthorizedProjectsRespValidationError) Field() string
Field function returns field value.
func (FilterAuthorizedProjectsRespValidationError) Key ¶
func (e FilterAuthorizedProjectsRespValidationError) Key() bool
Key function returns key value.
func (FilterAuthorizedProjectsRespValidationError) Reason ¶
func (e FilterAuthorizedProjectsRespValidationError) Reason() string
Reason function returns reason value.
type Flag ¶
type Flag int32
func (Flag) Descriptor ¶
func (Flag) Descriptor() protoreflect.EnumDescriptor
func (Flag) EnumDescriptor
deprecated
func (Flag) Number ¶
func (x Flag) Number() protoreflect.EnumNumber
func (Flag) Type ¶
func (Flag) Type() protoreflect.EnumType
type GetPolicyReq ¶
type GetPolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyReq) Descriptor
deprecated
func (*GetPolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyReq.ProtoReflect.Descriptor instead.
func (*GetPolicyReq) GetId ¶
func (x *GetPolicyReq) GetId() string
func (*GetPolicyReq) ProtoMessage ¶
func (*GetPolicyReq) ProtoMessage()
func (*GetPolicyReq) ProtoReflect ¶
func (x *GetPolicyReq) ProtoReflect() protoreflect.Message
func (*GetPolicyReq) Reset ¶
func (x *GetPolicyReq) Reset()
func (*GetPolicyReq) String ¶
func (x *GetPolicyReq) String() string
func (*GetPolicyReq) Validate ¶
func (m *GetPolicyReq) Validate() error
Validate checks the field values on GetPolicyReq 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 (*GetPolicyReq) ValidateAll ¶
func (m *GetPolicyReq) ValidateAll() error
ValidateAll checks the field values on GetPolicyReq 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 GetPolicyReqMultiError, or nil if none found.
type GetPolicyReqMultiError ¶
type GetPolicyReqMultiError []error
GetPolicyReqMultiError is an error wrapping multiple validation errors returned by GetPolicyReq.ValidateAll() if the designated constraints aren't met.
func (GetPolicyReqMultiError) AllErrors ¶
func (m GetPolicyReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPolicyReqMultiError) Error ¶
func (m GetPolicyReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPolicyReqValidationError ¶
type GetPolicyReqValidationError struct {
// contains filtered or unexported fields
}
GetPolicyReqValidationError is the validation error returned by GetPolicyReq.Validate if the designated constraints aren't met.
func (GetPolicyReqValidationError) Cause ¶
func (e GetPolicyReqValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyReqValidationError) Error ¶
func (e GetPolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyReqValidationError) ErrorName ¶
func (e GetPolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyReqValidationError) Field ¶
func (e GetPolicyReqValidationError) Field() string
Field function returns field value.
func (GetPolicyReqValidationError) Key ¶
func (e GetPolicyReqValidationError) Key() bool
Key function returns key value.
func (GetPolicyReqValidationError) Reason ¶
func (e GetPolicyReqValidationError) Reason() string
Reason function returns reason value.
type GetPolicyVersionReq ¶
type GetPolicyVersionReq struct {
// contains filtered or unexported fields
}
func (*GetPolicyVersionReq) Descriptor
deprecated
func (*GetPolicyVersionReq) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyVersionReq.ProtoReflect.Descriptor instead.
func (*GetPolicyVersionReq) ProtoMessage ¶
func (*GetPolicyVersionReq) ProtoMessage()
func (*GetPolicyVersionReq) ProtoReflect ¶
func (x *GetPolicyVersionReq) ProtoReflect() protoreflect.Message
func (*GetPolicyVersionReq) Reset ¶
func (x *GetPolicyVersionReq) Reset()
func (*GetPolicyVersionReq) String ¶
func (x *GetPolicyVersionReq) String() string
func (*GetPolicyVersionReq) Validate ¶
func (m *GetPolicyVersionReq) Validate() error
Validate checks the field values on GetPolicyVersionReq 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 (*GetPolicyVersionReq) ValidateAll ¶
func (m *GetPolicyVersionReq) ValidateAll() error
ValidateAll checks the field values on GetPolicyVersionReq 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 GetPolicyVersionReqMultiError, or nil if none found.
type GetPolicyVersionReqMultiError ¶
type GetPolicyVersionReqMultiError []error
GetPolicyVersionReqMultiError is an error wrapping multiple validation errors returned by GetPolicyVersionReq.ValidateAll() if the designated constraints aren't met.
func (GetPolicyVersionReqMultiError) AllErrors ¶
func (m GetPolicyVersionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPolicyVersionReqMultiError) Error ¶
func (m GetPolicyVersionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPolicyVersionReqValidationError ¶
type GetPolicyVersionReqValidationError struct {
// contains filtered or unexported fields
}
GetPolicyVersionReqValidationError is the validation error returned by GetPolicyVersionReq.Validate if the designated constraints aren't met.
func (GetPolicyVersionReqValidationError) Cause ¶
func (e GetPolicyVersionReqValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyVersionReqValidationError) Error ¶
func (e GetPolicyVersionReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyVersionReqValidationError) ErrorName ¶
func (e GetPolicyVersionReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyVersionReqValidationError) Field ¶
func (e GetPolicyVersionReqValidationError) Field() string
Field function returns field value.
func (GetPolicyVersionReqValidationError) Key ¶
func (e GetPolicyVersionReqValidationError) Key() bool
Key function returns key value.
func (GetPolicyVersionReqValidationError) Reason ¶
func (e GetPolicyVersionReqValidationError) Reason() string
Reason function returns reason value.
type GetPolicyVersionResp ¶
type GetPolicyVersionResp struct { Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" mapstructure:"version,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyVersionResp) Descriptor
deprecated
func (*GetPolicyVersionResp) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyVersionResp.ProtoReflect.Descriptor instead.
func (*GetPolicyVersionResp) GetVersion ¶
func (x *GetPolicyVersionResp) GetVersion() *Version
func (*GetPolicyVersionResp) ProtoMessage ¶
func (*GetPolicyVersionResp) ProtoMessage()
func (*GetPolicyVersionResp) ProtoReflect ¶
func (x *GetPolicyVersionResp) ProtoReflect() protoreflect.Message
func (*GetPolicyVersionResp) Reset ¶
func (x *GetPolicyVersionResp) Reset()
func (*GetPolicyVersionResp) String ¶
func (x *GetPolicyVersionResp) String() string
func (*GetPolicyVersionResp) Validate ¶
func (m *GetPolicyVersionResp) Validate() error
Validate checks the field values on GetPolicyVersionResp 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 (*GetPolicyVersionResp) ValidateAll ¶
func (m *GetPolicyVersionResp) ValidateAll() error
ValidateAll checks the field values on GetPolicyVersionResp 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 GetPolicyVersionRespMultiError, or nil if none found.
type GetPolicyVersionRespMultiError ¶
type GetPolicyVersionRespMultiError []error
GetPolicyVersionRespMultiError is an error wrapping multiple validation errors returned by GetPolicyVersionResp.ValidateAll() if the designated constraints aren't met.
func (GetPolicyVersionRespMultiError) AllErrors ¶
func (m GetPolicyVersionRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetPolicyVersionRespMultiError) Error ¶
func (m GetPolicyVersionRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetPolicyVersionRespValidationError ¶
type GetPolicyVersionRespValidationError struct {
// contains filtered or unexported fields
}
GetPolicyVersionRespValidationError is the validation error returned by GetPolicyVersionResp.Validate if the designated constraints aren't met.
func (GetPolicyVersionRespValidationError) Cause ¶
func (e GetPolicyVersionRespValidationError) Cause() error
Cause function returns cause value.
func (GetPolicyVersionRespValidationError) Error ¶
func (e GetPolicyVersionRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetPolicyVersionRespValidationError) ErrorName ¶
func (e GetPolicyVersionRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetPolicyVersionRespValidationError) Field ¶
func (e GetPolicyVersionRespValidationError) Field() string
Field function returns field value.
func (GetPolicyVersionRespValidationError) Key ¶
func (e GetPolicyVersionRespValidationError) Key() bool
Key function returns key value.
func (GetPolicyVersionRespValidationError) Reason ¶
func (e GetPolicyVersionRespValidationError) Reason() string
Reason function returns reason value.
type GetProjectReq ¶
type GetProjectReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*GetProjectReq) Descriptor
deprecated
func (*GetProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectReq.ProtoReflect.Descriptor instead.
func (*GetProjectReq) GetId ¶
func (x *GetProjectReq) GetId() string
func (*GetProjectReq) ProtoMessage ¶
func (*GetProjectReq) ProtoMessage()
func (*GetProjectReq) ProtoReflect ¶
func (x *GetProjectReq) ProtoReflect() protoreflect.Message
func (*GetProjectReq) Reset ¶
func (x *GetProjectReq) Reset()
func (*GetProjectReq) String ¶
func (x *GetProjectReq) String() string
func (*GetProjectReq) Validate ¶
func (m *GetProjectReq) Validate() error
Validate checks the field values on GetProjectReq 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 (*GetProjectReq) ValidateAll ¶
func (m *GetProjectReq) ValidateAll() error
ValidateAll checks the field values on GetProjectReq 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 GetProjectReqMultiError, or nil if none found.
type GetProjectReqMultiError ¶
type GetProjectReqMultiError []error
GetProjectReqMultiError is an error wrapping multiple validation errors returned by GetProjectReq.ValidateAll() if the designated constraints aren't met.
func (GetProjectReqMultiError) AllErrors ¶
func (m GetProjectReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProjectReqMultiError) Error ¶
func (m GetProjectReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProjectReqValidationError ¶
type GetProjectReqValidationError struct {
// contains filtered or unexported fields
}
GetProjectReqValidationError is the validation error returned by GetProjectReq.Validate if the designated constraints aren't met.
func (GetProjectReqValidationError) Cause ¶
func (e GetProjectReqValidationError) Cause() error
Cause function returns cause value.
func (GetProjectReqValidationError) Error ¶
func (e GetProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectReqValidationError) ErrorName ¶
func (e GetProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectReqValidationError) Field ¶
func (e GetProjectReqValidationError) Field() string
Field function returns field value.
func (GetProjectReqValidationError) Key ¶
func (e GetProjectReqValidationError) Key() bool
Key function returns key value.
func (GetProjectReqValidationError) Reason ¶
func (e GetProjectReqValidationError) Reason() string
Reason function returns reason value.
type GetProjectResp ¶
type GetProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` // contains filtered or unexported fields }
func (*GetProjectResp) Descriptor
deprecated
func (*GetProjectResp) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectResp.ProtoReflect.Descriptor instead.
func (*GetProjectResp) GetProject ¶
func (x *GetProjectResp) GetProject() *Project
func (*GetProjectResp) ProtoMessage ¶
func (*GetProjectResp) ProtoMessage()
func (*GetProjectResp) ProtoReflect ¶
func (x *GetProjectResp) ProtoReflect() protoreflect.Message
func (*GetProjectResp) Reset ¶
func (x *GetProjectResp) Reset()
func (*GetProjectResp) String ¶
func (x *GetProjectResp) String() string
func (*GetProjectResp) Validate ¶
func (m *GetProjectResp) Validate() error
Validate checks the field values on GetProjectResp 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 (*GetProjectResp) ValidateAll ¶
func (m *GetProjectResp) ValidateAll() error
ValidateAll checks the field values on GetProjectResp 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 GetProjectRespMultiError, or nil if none found.
type GetProjectRespMultiError ¶
type GetProjectRespMultiError []error
GetProjectRespMultiError is an error wrapping multiple validation errors returned by GetProjectResp.ValidateAll() if the designated constraints aren't met.
func (GetProjectRespMultiError) AllErrors ¶
func (m GetProjectRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetProjectRespMultiError) Error ¶
func (m GetProjectRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetProjectRespValidationError ¶
type GetProjectRespValidationError struct {
// contains filtered or unexported fields
}
GetProjectRespValidationError is the validation error returned by GetProjectResp.Validate if the designated constraints aren't met.
func (GetProjectRespValidationError) Cause ¶
func (e GetProjectRespValidationError) Cause() error
Cause function returns cause value.
func (GetProjectRespValidationError) Error ¶
func (e GetProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectRespValidationError) ErrorName ¶
func (e GetProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectRespValidationError) Field ¶
func (e GetProjectRespValidationError) Field() string
Field function returns field value.
func (GetProjectRespValidationError) Key ¶
func (e GetProjectRespValidationError) Key() bool
Key function returns key value.
func (GetProjectRespValidationError) Reason ¶
func (e GetProjectRespValidationError) Reason() string
Reason function returns reason value.
type GetRoleReq ¶
type GetRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRoleReq) Descriptor
deprecated
func (*GetRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use GetRoleReq.ProtoReflect.Descriptor instead.
func (*GetRoleReq) GetId ¶
func (x *GetRoleReq) GetId() string
func (*GetRoleReq) ProtoMessage ¶
func (*GetRoleReq) ProtoMessage()
func (*GetRoleReq) ProtoReflect ¶
func (x *GetRoleReq) ProtoReflect() protoreflect.Message
func (*GetRoleReq) Reset ¶
func (x *GetRoleReq) Reset()
func (*GetRoleReq) String ¶
func (x *GetRoleReq) String() string
func (*GetRoleReq) Validate ¶
func (m *GetRoleReq) Validate() error
Validate checks the field values on GetRoleReq 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 (*GetRoleReq) ValidateAll ¶
func (m *GetRoleReq) ValidateAll() error
ValidateAll checks the field values on GetRoleReq 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 GetRoleReqMultiError, or nil if none found.
type GetRoleReqMultiError ¶
type GetRoleReqMultiError []error
GetRoleReqMultiError is an error wrapping multiple validation errors returned by GetRoleReq.ValidateAll() if the designated constraints aren't met.
func (GetRoleReqMultiError) AllErrors ¶
func (m GetRoleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRoleReqMultiError) Error ¶
func (m GetRoleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRoleReqValidationError ¶
type GetRoleReqValidationError struct {
// contains filtered or unexported fields
}
GetRoleReqValidationError is the validation error returned by GetRoleReq.Validate if the designated constraints aren't met.
func (GetRoleReqValidationError) Cause ¶
func (e GetRoleReqValidationError) Cause() error
Cause function returns cause value.
func (GetRoleReqValidationError) Error ¶
func (e GetRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetRoleReqValidationError) ErrorName ¶
func (e GetRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetRoleReqValidationError) Field ¶
func (e GetRoleReqValidationError) Field() string
Field function returns field value.
func (GetRoleReqValidationError) Key ¶
func (e GetRoleReqValidationError) Key() bool
Key function returns key value.
func (GetRoleReqValidationError) Reason ¶
func (e GetRoleReqValidationError) Reason() string
Reason function returns reason value.
type GetRuleReq ¶
type GetRuleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ProjectId string `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetRuleReq) Descriptor
deprecated
func (*GetRuleReq) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleReq.ProtoReflect.Descriptor instead.
func (*GetRuleReq) GetId ¶
func (x *GetRuleReq) GetId() string
func (*GetRuleReq) GetProjectId ¶
func (x *GetRuleReq) GetProjectId() string
func (*GetRuleReq) ProtoMessage ¶
func (*GetRuleReq) ProtoMessage()
func (*GetRuleReq) ProtoReflect ¶
func (x *GetRuleReq) ProtoReflect() protoreflect.Message
func (*GetRuleReq) Reset ¶
func (x *GetRuleReq) Reset()
func (*GetRuleReq) String ¶
func (x *GetRuleReq) String() string
func (*GetRuleReq) Validate ¶
func (m *GetRuleReq) Validate() error
Validate checks the field values on GetRuleReq 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 (*GetRuleReq) ValidateAll ¶
func (m *GetRuleReq) ValidateAll() error
ValidateAll checks the field values on GetRuleReq 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 GetRuleReqMultiError, or nil if none found.
type GetRuleReqMultiError ¶
type GetRuleReqMultiError []error
GetRuleReqMultiError is an error wrapping multiple validation errors returned by GetRuleReq.ValidateAll() if the designated constraints aren't met.
func (GetRuleReqMultiError) AllErrors ¶
func (m GetRuleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRuleReqMultiError) Error ¶
func (m GetRuleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRuleReqValidationError ¶
type GetRuleReqValidationError struct {
// contains filtered or unexported fields
}
GetRuleReqValidationError is the validation error returned by GetRuleReq.Validate if the designated constraints aren't met.
func (GetRuleReqValidationError) Cause ¶
func (e GetRuleReqValidationError) Cause() error
Cause function returns cause value.
func (GetRuleReqValidationError) Error ¶
func (e GetRuleReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetRuleReqValidationError) ErrorName ¶
func (e GetRuleReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetRuleReqValidationError) Field ¶
func (e GetRuleReqValidationError) Field() string
Field function returns field value.
func (GetRuleReqValidationError) Key ¶
func (e GetRuleReqValidationError) Key() bool
Key function returns key value.
func (GetRuleReqValidationError) Reason ¶
func (e GetRuleReqValidationError) Reason() string
Reason function returns reason value.
type GetRuleResp ¶
type GetRuleResp struct { Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` // contains filtered or unexported fields }
func (*GetRuleResp) Descriptor
deprecated
func (*GetRuleResp) Descriptor() ([]byte, []int)
Deprecated: Use GetRuleResp.ProtoReflect.Descriptor instead.
func (*GetRuleResp) GetRule ¶
func (x *GetRuleResp) GetRule() *ProjectRule
func (*GetRuleResp) ProtoMessage ¶
func (*GetRuleResp) ProtoMessage()
func (*GetRuleResp) ProtoReflect ¶
func (x *GetRuleResp) ProtoReflect() protoreflect.Message
func (*GetRuleResp) Reset ¶
func (x *GetRuleResp) Reset()
func (*GetRuleResp) String ¶
func (x *GetRuleResp) String() string
func (*GetRuleResp) Validate ¶
func (m *GetRuleResp) Validate() error
Validate checks the field values on GetRuleResp 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 (*GetRuleResp) ValidateAll ¶
func (m *GetRuleResp) ValidateAll() error
ValidateAll checks the field values on GetRuleResp 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 GetRuleRespMultiError, or nil if none found.
type GetRuleRespMultiError ¶
type GetRuleRespMultiError []error
GetRuleRespMultiError is an error wrapping multiple validation errors returned by GetRuleResp.ValidateAll() if the designated constraints aren't met.
func (GetRuleRespMultiError) AllErrors ¶
func (m GetRuleRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetRuleRespMultiError) Error ¶
func (m GetRuleRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetRuleRespValidationError ¶
type GetRuleRespValidationError struct {
// contains filtered or unexported fields
}
GetRuleRespValidationError is the validation error returned by GetRuleResp.Validate if the designated constraints aren't met.
func (GetRuleRespValidationError) Cause ¶
func (e GetRuleRespValidationError) Cause() error
Cause function returns cause value.
func (GetRuleRespValidationError) Error ¶
func (e GetRuleRespValidationError) Error() string
Error satisfies the builtin error interface
func (GetRuleRespValidationError) ErrorName ¶
func (e GetRuleRespValidationError) ErrorName() string
ErrorName returns error name.
func (GetRuleRespValidationError) Field ¶
func (e GetRuleRespValidationError) Field() string
Field function returns field value.
func (GetRuleRespValidationError) Key ¶
func (e GetRuleRespValidationError) Key() bool
Key function returns key value.
func (GetRuleRespValidationError) Reason ¶
func (e GetRuleRespValidationError) Reason() string
Reason function returns reason value.
type GetVersionReq ¶
type GetVersionReq struct {
// contains filtered or unexported fields
}
func (*GetVersionReq) Descriptor
deprecated
func (*GetVersionReq) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionReq.ProtoReflect.Descriptor instead.
func (*GetVersionReq) ProtoMessage ¶
func (*GetVersionReq) ProtoMessage()
func (*GetVersionReq) ProtoReflect ¶
func (x *GetVersionReq) ProtoReflect() protoreflect.Message
func (*GetVersionReq) Reset ¶
func (x *GetVersionReq) Reset()
func (*GetVersionReq) String ¶
func (x *GetVersionReq) String() string
func (*GetVersionReq) Validate ¶
func (m *GetVersionReq) Validate() error
Validate checks the field values on GetVersionReq 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 (*GetVersionReq) ValidateAll ¶
func (m *GetVersionReq) ValidateAll() error
ValidateAll checks the field values on GetVersionReq 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 GetVersionReqMultiError, or nil if none found.
type GetVersionReqMultiError ¶
type GetVersionReqMultiError []error
GetVersionReqMultiError is an error wrapping multiple validation errors returned by GetVersionReq.ValidateAll() if the designated constraints aren't met.
func (GetVersionReqMultiError) AllErrors ¶
func (m GetVersionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetVersionReqMultiError) Error ¶
func (m GetVersionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetVersionReqValidationError ¶
type GetVersionReqValidationError struct {
// contains filtered or unexported fields
}
GetVersionReqValidationError is the validation error returned by GetVersionReq.Validate if the designated constraints aren't met.
func (GetVersionReqValidationError) Cause ¶
func (e GetVersionReqValidationError) Cause() error
Cause function returns cause value.
func (GetVersionReqValidationError) Error ¶
func (e GetVersionReqValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionReqValidationError) ErrorName ¶
func (e GetVersionReqValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionReqValidationError) Field ¶
func (e GetVersionReqValidationError) Field() string
Field function returns field value.
func (GetVersionReqValidationError) Key ¶
func (e GetVersionReqValidationError) Key() bool
Key function returns key value.
func (GetVersionReqValidationError) Reason ¶
func (e GetVersionReqValidationError) Reason() string
Reason function returns reason value.
type IsAuthorizedReq ¶
type IsAuthorizedReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` // contains filtered or unexported fields }
TODO (tc): Keeping this around for the validation used in protoc-gen-policy/policy.go
func (*IsAuthorizedReq) Descriptor
deprecated
func (*IsAuthorizedReq) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedReq.ProtoReflect.Descriptor instead.
func (*IsAuthorizedReq) GetAction ¶
func (x *IsAuthorizedReq) GetAction() string
func (*IsAuthorizedReq) GetResource ¶
func (x *IsAuthorizedReq) GetResource() string
func (*IsAuthorizedReq) GetSubjects ¶
func (x *IsAuthorizedReq) GetSubjects() []string
func (*IsAuthorizedReq) ProtoMessage ¶
func (*IsAuthorizedReq) ProtoMessage()
func (*IsAuthorizedReq) ProtoReflect ¶
func (x *IsAuthorizedReq) ProtoReflect() protoreflect.Message
func (*IsAuthorizedReq) Reset ¶
func (x *IsAuthorizedReq) Reset()
func (*IsAuthorizedReq) String ¶
func (x *IsAuthorizedReq) String() string
func (*IsAuthorizedReq) Validate ¶
func (m *IsAuthorizedReq) Validate() error
Validate checks the field values on IsAuthorizedReq 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 (*IsAuthorizedReq) ValidateAll ¶
func (m *IsAuthorizedReq) ValidateAll() error
ValidateAll checks the field values on IsAuthorizedReq 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 IsAuthorizedReqMultiError, or nil if none found.
type IsAuthorizedReqMultiError ¶
type IsAuthorizedReqMultiError []error
IsAuthorizedReqMultiError is an error wrapping multiple validation errors returned by IsAuthorizedReq.ValidateAll() if the designated constraints aren't met.
func (IsAuthorizedReqMultiError) AllErrors ¶
func (m IsAuthorizedReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IsAuthorizedReqMultiError) Error ¶
func (m IsAuthorizedReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IsAuthorizedReqValidationError ¶
type IsAuthorizedReqValidationError struct {
// contains filtered or unexported fields
}
IsAuthorizedReqValidationError is the validation error returned by IsAuthorizedReq.Validate if the designated constraints aren't met.
func (IsAuthorizedReqValidationError) Cause ¶
func (e IsAuthorizedReqValidationError) Cause() error
Cause function returns cause value.
func (IsAuthorizedReqValidationError) Error ¶
func (e IsAuthorizedReqValidationError) Error() string
Error satisfies the builtin error interface
func (IsAuthorizedReqValidationError) ErrorName ¶
func (e IsAuthorizedReqValidationError) ErrorName() string
ErrorName returns error name.
func (IsAuthorizedReqValidationError) Field ¶
func (e IsAuthorizedReqValidationError) Field() string
Field function returns field value.
func (IsAuthorizedReqValidationError) Key ¶
func (e IsAuthorizedReqValidationError) Key() bool
Key function returns key value.
func (IsAuthorizedReqValidationError) Reason ¶
func (e IsAuthorizedReqValidationError) Reason() string
Reason function returns reason value.
type ListPoliciesReq ¶
type ListPoliciesReq struct {
// contains filtered or unexported fields
}
func (*ListPoliciesReq) Descriptor
deprecated
func (*ListPoliciesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesReq.ProtoReflect.Descriptor instead.
func (*ListPoliciesReq) ProtoMessage ¶
func (*ListPoliciesReq) ProtoMessage()
func (*ListPoliciesReq) ProtoReflect ¶
func (x *ListPoliciesReq) ProtoReflect() protoreflect.Message
func (*ListPoliciesReq) Reset ¶
func (x *ListPoliciesReq) Reset()
func (*ListPoliciesReq) String ¶
func (x *ListPoliciesReq) String() string
func (*ListPoliciesReq) Validate ¶
func (m *ListPoliciesReq) Validate() error
Validate checks the field values on ListPoliciesReq 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 (*ListPoliciesReq) ValidateAll ¶
func (m *ListPoliciesReq) ValidateAll() error
ValidateAll checks the field values on ListPoliciesReq 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 ListPoliciesReqMultiError, or nil if none found.
type ListPoliciesReqMultiError ¶
type ListPoliciesReqMultiError []error
ListPoliciesReqMultiError is an error wrapping multiple validation errors returned by ListPoliciesReq.ValidateAll() if the designated constraints aren't met.
func (ListPoliciesReqMultiError) AllErrors ¶
func (m ListPoliciesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPoliciesReqMultiError) Error ¶
func (m ListPoliciesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPoliciesReqValidationError ¶
type ListPoliciesReqValidationError struct {
// contains filtered or unexported fields
}
ListPoliciesReqValidationError is the validation error returned by ListPoliciesReq.Validate if the designated constraints aren't met.
func (ListPoliciesReqValidationError) Cause ¶
func (e ListPoliciesReqValidationError) Cause() error
Cause function returns cause value.
func (ListPoliciesReqValidationError) Error ¶
func (e ListPoliciesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListPoliciesReqValidationError) ErrorName ¶
func (e ListPoliciesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListPoliciesReqValidationError) Field ¶
func (e ListPoliciesReqValidationError) Field() string
Field function returns field value.
func (ListPoliciesReqValidationError) Key ¶
func (e ListPoliciesReqValidationError) Key() bool
Key function returns key value.
func (ListPoliciesReqValidationError) Reason ¶
func (e ListPoliciesReqValidationError) Reason() string
Reason function returns reason value.
type ListPoliciesResp ¶
type ListPoliciesResp struct { Policies []*Policy `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListPoliciesResp) Descriptor
deprecated
func (*ListPoliciesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesResp.ProtoReflect.Descriptor instead.
func (*ListPoliciesResp) GetPolicies ¶
func (x *ListPoliciesResp) GetPolicies() []*Policy
func (*ListPoliciesResp) ProtoMessage ¶
func (*ListPoliciesResp) ProtoMessage()
func (*ListPoliciesResp) ProtoReflect ¶
func (x *ListPoliciesResp) ProtoReflect() protoreflect.Message
func (*ListPoliciesResp) Reset ¶
func (x *ListPoliciesResp) Reset()
func (*ListPoliciesResp) String ¶
func (x *ListPoliciesResp) String() string
func (*ListPoliciesResp) Validate ¶
func (m *ListPoliciesResp) Validate() error
Validate checks the field values on ListPoliciesResp 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 (*ListPoliciesResp) ValidateAll ¶
func (m *ListPoliciesResp) ValidateAll() error
ValidateAll checks the field values on ListPoliciesResp 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 ListPoliciesRespMultiError, or nil if none found.
type ListPoliciesRespMultiError ¶
type ListPoliciesRespMultiError []error
ListPoliciesRespMultiError is an error wrapping multiple validation errors returned by ListPoliciesResp.ValidateAll() if the designated constraints aren't met.
func (ListPoliciesRespMultiError) AllErrors ¶
func (m ListPoliciesRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPoliciesRespMultiError) Error ¶
func (m ListPoliciesRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPoliciesRespValidationError ¶
type ListPoliciesRespValidationError struct {
// contains filtered or unexported fields
}
ListPoliciesRespValidationError is the validation error returned by ListPoliciesResp.Validate if the designated constraints aren't met.
func (ListPoliciesRespValidationError) Cause ¶
func (e ListPoliciesRespValidationError) Cause() error
Cause function returns cause value.
func (ListPoliciesRespValidationError) Error ¶
func (e ListPoliciesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListPoliciesRespValidationError) ErrorName ¶
func (e ListPoliciesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListPoliciesRespValidationError) Field ¶
func (e ListPoliciesRespValidationError) Field() string
Field function returns field value.
func (ListPoliciesRespValidationError) Key ¶
func (e ListPoliciesRespValidationError) Key() bool
Key function returns key value.
func (ListPoliciesRespValidationError) Reason ¶
func (e ListPoliciesRespValidationError) Reason() string
Reason function returns reason value.
type ListPolicyMembersReq ¶
type ListPolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyMembersReq) Descriptor
deprecated
func (*ListPolicyMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyMembersReq.ProtoReflect.Descriptor instead.
func (*ListPolicyMembersReq) GetId ¶
func (x *ListPolicyMembersReq) GetId() string
func (*ListPolicyMembersReq) ProtoMessage ¶
func (*ListPolicyMembersReq) ProtoMessage()
func (*ListPolicyMembersReq) ProtoReflect ¶
func (x *ListPolicyMembersReq) ProtoReflect() protoreflect.Message
func (*ListPolicyMembersReq) Reset ¶
func (x *ListPolicyMembersReq) Reset()
func (*ListPolicyMembersReq) String ¶
func (x *ListPolicyMembersReq) String() string
func (*ListPolicyMembersReq) Validate ¶
func (m *ListPolicyMembersReq) Validate() error
Validate checks the field values on ListPolicyMembersReq 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 (*ListPolicyMembersReq) ValidateAll ¶
func (m *ListPolicyMembersReq) ValidateAll() error
ValidateAll checks the field values on ListPolicyMembersReq 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 ListPolicyMembersReqMultiError, or nil if none found.
type ListPolicyMembersReqMultiError ¶
type ListPolicyMembersReqMultiError []error
ListPolicyMembersReqMultiError is an error wrapping multiple validation errors returned by ListPolicyMembersReq.ValidateAll() if the designated constraints aren't met.
func (ListPolicyMembersReqMultiError) AllErrors ¶
func (m ListPolicyMembersReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPolicyMembersReqMultiError) Error ¶
func (m ListPolicyMembersReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPolicyMembersReqValidationError ¶
type ListPolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
ListPolicyMembersReqValidationError is the validation error returned by ListPolicyMembersReq.Validate if the designated constraints aren't met.
func (ListPolicyMembersReqValidationError) Cause ¶
func (e ListPolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (ListPolicyMembersReqValidationError) Error ¶
func (e ListPolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicyMembersReqValidationError) ErrorName ¶
func (e ListPolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicyMembersReqValidationError) Field ¶
func (e ListPolicyMembersReqValidationError) Field() string
Field function returns field value.
func (ListPolicyMembersReqValidationError) Key ¶
func (e ListPolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (ListPolicyMembersReqValidationError) Reason ¶
func (e ListPolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type ListPolicyMembersResp ¶
type ListPolicyMembersResp struct { Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyMembersResp) Descriptor
deprecated
func (*ListPolicyMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyMembersResp.ProtoReflect.Descriptor instead.
func (*ListPolicyMembersResp) GetMembers ¶
func (x *ListPolicyMembersResp) GetMembers() []string
func (*ListPolicyMembersResp) ProtoMessage ¶
func (*ListPolicyMembersResp) ProtoMessage()
func (*ListPolicyMembersResp) ProtoReflect ¶
func (x *ListPolicyMembersResp) ProtoReflect() protoreflect.Message
func (*ListPolicyMembersResp) Reset ¶
func (x *ListPolicyMembersResp) Reset()
func (*ListPolicyMembersResp) String ¶
func (x *ListPolicyMembersResp) String() string
func (*ListPolicyMembersResp) Validate ¶
func (m *ListPolicyMembersResp) Validate() error
Validate checks the field values on ListPolicyMembersResp 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 (*ListPolicyMembersResp) ValidateAll ¶
func (m *ListPolicyMembersResp) ValidateAll() error
ValidateAll checks the field values on ListPolicyMembersResp 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 ListPolicyMembersRespMultiError, or nil if none found.
type ListPolicyMembersRespMultiError ¶
type ListPolicyMembersRespMultiError []error
ListPolicyMembersRespMultiError is an error wrapping multiple validation errors returned by ListPolicyMembersResp.ValidateAll() if the designated constraints aren't met.
func (ListPolicyMembersRespMultiError) AllErrors ¶
func (m ListPolicyMembersRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListPolicyMembersRespMultiError) Error ¶
func (m ListPolicyMembersRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListPolicyMembersRespValidationError ¶
type ListPolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
ListPolicyMembersRespValidationError is the validation error returned by ListPolicyMembersResp.Validate if the designated constraints aren't met.
func (ListPolicyMembersRespValidationError) Cause ¶
func (e ListPolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (ListPolicyMembersRespValidationError) Error ¶
func (e ListPolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListPolicyMembersRespValidationError) ErrorName ¶
func (e ListPolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListPolicyMembersRespValidationError) Field ¶
func (e ListPolicyMembersRespValidationError) Field() string
Field function returns field value.
func (ListPolicyMembersRespValidationError) Key ¶
func (e ListPolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (ListPolicyMembersRespValidationError) Reason ¶
func (e ListPolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ListProjectsReq ¶
type ListProjectsReq struct {
// contains filtered or unexported fields
}
func (*ListProjectsReq) Descriptor
deprecated
func (*ListProjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsReq.ProtoReflect.Descriptor instead.
func (*ListProjectsReq) ProtoMessage ¶
func (*ListProjectsReq) ProtoMessage()
func (*ListProjectsReq) ProtoReflect ¶
func (x *ListProjectsReq) ProtoReflect() protoreflect.Message
func (*ListProjectsReq) Reset ¶
func (x *ListProjectsReq) Reset()
func (*ListProjectsReq) String ¶
func (x *ListProjectsReq) String() string
func (*ListProjectsReq) Validate ¶
func (m *ListProjectsReq) Validate() error
Validate checks the field values on ListProjectsReq 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 (*ListProjectsReq) ValidateAll ¶
func (m *ListProjectsReq) ValidateAll() error
ValidateAll checks the field values on ListProjectsReq 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 ListProjectsReqMultiError, or nil if none found.
type ListProjectsReqMultiError ¶
type ListProjectsReqMultiError []error
ListProjectsReqMultiError is an error wrapping multiple validation errors returned by ListProjectsReq.ValidateAll() if the designated constraints aren't met.
func (ListProjectsReqMultiError) AllErrors ¶
func (m ListProjectsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProjectsReqMultiError) Error ¶
func (m ListProjectsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProjectsReqValidationError ¶
type ListProjectsReqValidationError struct {
// contains filtered or unexported fields
}
ListProjectsReqValidationError is the validation error returned by ListProjectsReq.Validate if the designated constraints aren't met.
func (ListProjectsReqValidationError) Cause ¶
func (e ListProjectsReqValidationError) Cause() error
Cause function returns cause value.
func (ListProjectsReqValidationError) Error ¶
func (e ListProjectsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectsReqValidationError) ErrorName ¶
func (e ListProjectsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectsReqValidationError) Field ¶
func (e ListProjectsReqValidationError) Field() string
Field function returns field value.
func (ListProjectsReqValidationError) Key ¶
func (e ListProjectsReqValidationError) Key() bool
Key function returns key value.
func (ListProjectsReqValidationError) Reason ¶
func (e ListProjectsReqValidationError) Reason() string
Reason function returns reason value.
type ListProjectsResp ¶
type ListProjectsResp struct { Projects []*Project `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListProjectsResp) Descriptor
deprecated
func (*ListProjectsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectsResp.ProtoReflect.Descriptor instead.
func (*ListProjectsResp) GetProjects ¶
func (x *ListProjectsResp) GetProjects() []*Project
func (*ListProjectsResp) ProtoMessage ¶
func (*ListProjectsResp) ProtoMessage()
func (*ListProjectsResp) ProtoReflect ¶
func (x *ListProjectsResp) ProtoReflect() protoreflect.Message
func (*ListProjectsResp) Reset ¶
func (x *ListProjectsResp) Reset()
func (*ListProjectsResp) String ¶
func (x *ListProjectsResp) String() string
func (*ListProjectsResp) Validate ¶
func (m *ListProjectsResp) Validate() error
Validate checks the field values on ListProjectsResp 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 (*ListProjectsResp) ValidateAll ¶
func (m *ListProjectsResp) ValidateAll() error
ValidateAll checks the field values on ListProjectsResp 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 ListProjectsRespMultiError, or nil if none found.
type ListProjectsRespMultiError ¶
type ListProjectsRespMultiError []error
ListProjectsRespMultiError is an error wrapping multiple validation errors returned by ListProjectsResp.ValidateAll() if the designated constraints aren't met.
func (ListProjectsRespMultiError) AllErrors ¶
func (m ListProjectsRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProjectsRespMultiError) Error ¶
func (m ListProjectsRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProjectsRespValidationError ¶
type ListProjectsRespValidationError struct {
// contains filtered or unexported fields
}
ListProjectsRespValidationError is the validation error returned by ListProjectsResp.Validate if the designated constraints aren't met.
func (ListProjectsRespValidationError) Cause ¶
func (e ListProjectsRespValidationError) Cause() error
Cause function returns cause value.
func (ListProjectsRespValidationError) Error ¶
func (e ListProjectsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListProjectsRespValidationError) ErrorName ¶
func (e ListProjectsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListProjectsRespValidationError) Field ¶
func (e ListProjectsRespValidationError) Field() string
Field function returns field value.
func (ListProjectsRespValidationError) Key ¶
func (e ListProjectsRespValidationError) Key() bool
Key function returns key value.
func (ListProjectsRespValidationError) Reason ¶
func (e ListProjectsRespValidationError) Reason() string
Reason function returns reason value.
type ListRolesReq ¶
type ListRolesReq struct {
// contains filtered or unexported fields
}
func (*ListRolesReq) Descriptor
deprecated
func (*ListRolesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesReq.ProtoReflect.Descriptor instead.
func (*ListRolesReq) ProtoMessage ¶
func (*ListRolesReq) ProtoMessage()
func (*ListRolesReq) ProtoReflect ¶
func (x *ListRolesReq) ProtoReflect() protoreflect.Message
func (*ListRolesReq) Reset ¶
func (x *ListRolesReq) Reset()
func (*ListRolesReq) String ¶
func (x *ListRolesReq) String() string
func (*ListRolesReq) Validate ¶
func (m *ListRolesReq) Validate() error
Validate checks the field values on ListRolesReq 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 (*ListRolesReq) ValidateAll ¶
func (m *ListRolesReq) ValidateAll() error
ValidateAll checks the field values on ListRolesReq 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 ListRolesReqMultiError, or nil if none found.
type ListRolesReqMultiError ¶
type ListRolesReqMultiError []error
ListRolesReqMultiError is an error wrapping multiple validation errors returned by ListRolesReq.ValidateAll() if the designated constraints aren't met.
func (ListRolesReqMultiError) AllErrors ¶
func (m ListRolesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRolesReqMultiError) Error ¶
func (m ListRolesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRolesReqValidationError ¶
type ListRolesReqValidationError struct {
// contains filtered or unexported fields
}
ListRolesReqValidationError is the validation error returned by ListRolesReq.Validate if the designated constraints aren't met.
func (ListRolesReqValidationError) Cause ¶
func (e ListRolesReqValidationError) Cause() error
Cause function returns cause value.
func (ListRolesReqValidationError) Error ¶
func (e ListRolesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesReqValidationError) ErrorName ¶
func (e ListRolesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesReqValidationError) Field ¶
func (e ListRolesReqValidationError) Field() string
Field function returns field value.
func (ListRolesReqValidationError) Key ¶
func (e ListRolesReqValidationError) Key() bool
Key function returns key value.
func (ListRolesReqValidationError) Reason ¶
func (e ListRolesReqValidationError) Reason() string
Reason function returns reason value.
type ListRolesResp ¶
type ListRolesResp struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty" toml:"roles,omitempty" mapstructure:"roles,omitempty"` // contains filtered or unexported fields }
func (*ListRolesResp) Descriptor
deprecated
func (*ListRolesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListRolesResp.ProtoReflect.Descriptor instead.
func (*ListRolesResp) GetRoles ¶
func (x *ListRolesResp) GetRoles() []*Role
func (*ListRolesResp) ProtoMessage ¶
func (*ListRolesResp) ProtoMessage()
func (*ListRolesResp) ProtoReflect ¶
func (x *ListRolesResp) ProtoReflect() protoreflect.Message
func (*ListRolesResp) Reset ¶
func (x *ListRolesResp) Reset()
func (*ListRolesResp) String ¶
func (x *ListRolesResp) String() string
func (*ListRolesResp) Validate ¶
func (m *ListRolesResp) Validate() error
Validate checks the field values on ListRolesResp 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 (*ListRolesResp) ValidateAll ¶
func (m *ListRolesResp) ValidateAll() error
ValidateAll checks the field values on ListRolesResp 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 ListRolesRespMultiError, or nil if none found.
type ListRolesRespMultiError ¶
type ListRolesRespMultiError []error
ListRolesRespMultiError is an error wrapping multiple validation errors returned by ListRolesResp.ValidateAll() if the designated constraints aren't met.
func (ListRolesRespMultiError) AllErrors ¶
func (m ListRolesRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRolesRespMultiError) Error ¶
func (m ListRolesRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRolesRespValidationError ¶
type ListRolesRespValidationError struct {
// contains filtered or unexported fields
}
ListRolesRespValidationError is the validation error returned by ListRolesResp.Validate if the designated constraints aren't met.
func (ListRolesRespValidationError) Cause ¶
func (e ListRolesRespValidationError) Cause() error
Cause function returns cause value.
func (ListRolesRespValidationError) Error ¶
func (e ListRolesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListRolesRespValidationError) ErrorName ¶
func (e ListRolesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListRolesRespValidationError) Field ¶
func (e ListRolesRespValidationError) Field() string
Field function returns field value.
func (ListRolesRespValidationError) Key ¶
func (e ListRolesRespValidationError) Key() bool
Key function returns key value.
func (ListRolesRespValidationError) Reason ¶
func (e ListRolesRespValidationError) Reason() string
Reason function returns reason value.
type ListRulesForAllProjectsReq ¶
type ListRulesForAllProjectsReq struct {
// contains filtered or unexported fields
}
func (*ListRulesForAllProjectsReq) Descriptor
deprecated
func (*ListRulesForAllProjectsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesForAllProjectsReq.ProtoReflect.Descriptor instead.
func (*ListRulesForAllProjectsReq) ProtoMessage ¶
func (*ListRulesForAllProjectsReq) ProtoMessage()
func (*ListRulesForAllProjectsReq) ProtoReflect ¶
func (x *ListRulesForAllProjectsReq) ProtoReflect() protoreflect.Message
func (*ListRulesForAllProjectsReq) Reset ¶
func (x *ListRulesForAllProjectsReq) Reset()
func (*ListRulesForAllProjectsReq) String ¶
func (x *ListRulesForAllProjectsReq) String() string
func (*ListRulesForAllProjectsReq) Validate ¶
func (m *ListRulesForAllProjectsReq) Validate() error
Validate checks the field values on ListRulesForAllProjectsReq 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 (*ListRulesForAllProjectsReq) ValidateAll ¶
func (m *ListRulesForAllProjectsReq) ValidateAll() error
ValidateAll checks the field values on ListRulesForAllProjectsReq 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 ListRulesForAllProjectsReqMultiError, or nil if none found.
type ListRulesForAllProjectsReqMultiError ¶
type ListRulesForAllProjectsReqMultiError []error
ListRulesForAllProjectsReqMultiError is an error wrapping multiple validation errors returned by ListRulesForAllProjectsReq.ValidateAll() if the designated constraints aren't met.
func (ListRulesForAllProjectsReqMultiError) AllErrors ¶
func (m ListRulesForAllProjectsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesForAllProjectsReqMultiError) Error ¶
func (m ListRulesForAllProjectsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesForAllProjectsReqValidationError ¶
type ListRulesForAllProjectsReqValidationError struct {
// contains filtered or unexported fields
}
ListRulesForAllProjectsReqValidationError is the validation error returned by ListRulesForAllProjectsReq.Validate if the designated constraints aren't met.
func (ListRulesForAllProjectsReqValidationError) Cause ¶
func (e ListRulesForAllProjectsReqValidationError) Cause() error
Cause function returns cause value.
func (ListRulesForAllProjectsReqValidationError) Error ¶
func (e ListRulesForAllProjectsReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesForAllProjectsReqValidationError) ErrorName ¶
func (e ListRulesForAllProjectsReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesForAllProjectsReqValidationError) Field ¶
func (e ListRulesForAllProjectsReqValidationError) Field() string
Field function returns field value.
func (ListRulesForAllProjectsReqValidationError) Key ¶
func (e ListRulesForAllProjectsReqValidationError) Key() bool
Key function returns key value.
func (ListRulesForAllProjectsReqValidationError) Reason ¶
func (e ListRulesForAllProjectsReqValidationError) Reason() string
Reason function returns reason value.
type ListRulesForAllProjectsResp ¶
type ListRulesForAllProjectsResp struct { ProjectRules map[string]*ProjectRules `` /* 241-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListRulesForAllProjectsResp) Descriptor
deprecated
func (*ListRulesForAllProjectsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesForAllProjectsResp.ProtoReflect.Descriptor instead.
func (*ListRulesForAllProjectsResp) GetProjectRules ¶
func (x *ListRulesForAllProjectsResp) GetProjectRules() map[string]*ProjectRules
func (*ListRulesForAllProjectsResp) ProtoMessage ¶
func (*ListRulesForAllProjectsResp) ProtoMessage()
func (*ListRulesForAllProjectsResp) ProtoReflect ¶
func (x *ListRulesForAllProjectsResp) ProtoReflect() protoreflect.Message
func (*ListRulesForAllProjectsResp) Reset ¶
func (x *ListRulesForAllProjectsResp) Reset()
func (*ListRulesForAllProjectsResp) String ¶
func (x *ListRulesForAllProjectsResp) String() string
func (*ListRulesForAllProjectsResp) Validate ¶
func (m *ListRulesForAllProjectsResp) Validate() error
Validate checks the field values on ListRulesForAllProjectsResp 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 (*ListRulesForAllProjectsResp) ValidateAll ¶
func (m *ListRulesForAllProjectsResp) ValidateAll() error
ValidateAll checks the field values on ListRulesForAllProjectsResp 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 ListRulesForAllProjectsRespMultiError, or nil if none found.
type ListRulesForAllProjectsRespMultiError ¶
type ListRulesForAllProjectsRespMultiError []error
ListRulesForAllProjectsRespMultiError is an error wrapping multiple validation errors returned by ListRulesForAllProjectsResp.ValidateAll() if the designated constraints aren't met.
func (ListRulesForAllProjectsRespMultiError) AllErrors ¶
func (m ListRulesForAllProjectsRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesForAllProjectsRespMultiError) Error ¶
func (m ListRulesForAllProjectsRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesForAllProjectsRespValidationError ¶
type ListRulesForAllProjectsRespValidationError struct {
// contains filtered or unexported fields
}
ListRulesForAllProjectsRespValidationError is the validation error returned by ListRulesForAllProjectsResp.Validate if the designated constraints aren't met.
func (ListRulesForAllProjectsRespValidationError) Cause ¶
func (e ListRulesForAllProjectsRespValidationError) Cause() error
Cause function returns cause value.
func (ListRulesForAllProjectsRespValidationError) Error ¶
func (e ListRulesForAllProjectsRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesForAllProjectsRespValidationError) ErrorName ¶
func (e ListRulesForAllProjectsRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesForAllProjectsRespValidationError) Field ¶
func (e ListRulesForAllProjectsRespValidationError) Field() string
Field function returns field value.
func (ListRulesForAllProjectsRespValidationError) Key ¶
func (e ListRulesForAllProjectsRespValidationError) Key() bool
Key function returns key value.
func (ListRulesForAllProjectsRespValidationError) Reason ¶
func (e ListRulesForAllProjectsRespValidationError) Reason() string
Reason function returns reason value.
type ListRulesForProjectReq ¶
type ListRulesForProjectReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*ListRulesForProjectReq) Descriptor
deprecated
func (*ListRulesForProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesForProjectReq.ProtoReflect.Descriptor instead.
func (*ListRulesForProjectReq) GetId ¶
func (x *ListRulesForProjectReq) GetId() string
func (*ListRulesForProjectReq) ProtoMessage ¶
func (*ListRulesForProjectReq) ProtoMessage()
func (*ListRulesForProjectReq) ProtoReflect ¶
func (x *ListRulesForProjectReq) ProtoReflect() protoreflect.Message
func (*ListRulesForProjectReq) Reset ¶
func (x *ListRulesForProjectReq) Reset()
func (*ListRulesForProjectReq) String ¶
func (x *ListRulesForProjectReq) String() string
func (*ListRulesForProjectReq) Validate ¶
func (m *ListRulesForProjectReq) Validate() error
Validate checks the field values on ListRulesForProjectReq 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 (*ListRulesForProjectReq) ValidateAll ¶
func (m *ListRulesForProjectReq) ValidateAll() error
ValidateAll checks the field values on ListRulesForProjectReq 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 ListRulesForProjectReqMultiError, or nil if none found.
type ListRulesForProjectReqMultiError ¶
type ListRulesForProjectReqMultiError []error
ListRulesForProjectReqMultiError is an error wrapping multiple validation errors returned by ListRulesForProjectReq.ValidateAll() if the designated constraints aren't met.
func (ListRulesForProjectReqMultiError) AllErrors ¶
func (m ListRulesForProjectReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesForProjectReqMultiError) Error ¶
func (m ListRulesForProjectReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesForProjectReqValidationError ¶
type ListRulesForProjectReqValidationError struct {
// contains filtered or unexported fields
}
ListRulesForProjectReqValidationError is the validation error returned by ListRulesForProjectReq.Validate if the designated constraints aren't met.
func (ListRulesForProjectReqValidationError) Cause ¶
func (e ListRulesForProjectReqValidationError) Cause() error
Cause function returns cause value.
func (ListRulesForProjectReqValidationError) Error ¶
func (e ListRulesForProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesForProjectReqValidationError) ErrorName ¶
func (e ListRulesForProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesForProjectReqValidationError) Field ¶
func (e ListRulesForProjectReqValidationError) Field() string
Field function returns field value.
func (ListRulesForProjectReqValidationError) Key ¶
func (e ListRulesForProjectReqValidationError) Key() bool
Key function returns key value.
func (ListRulesForProjectReqValidationError) Reason ¶
func (e ListRulesForProjectReqValidationError) Reason() string
Reason function returns reason value.
type ListRulesForProjectResp ¶
type ListRulesForProjectResp struct { Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` // contains filtered or unexported fields }
func (*ListRulesForProjectResp) Descriptor
deprecated
func (*ListRulesForProjectResp) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesForProjectResp.ProtoReflect.Descriptor instead.
func (*ListRulesForProjectResp) GetRules ¶
func (x *ListRulesForProjectResp) GetRules() []*ProjectRule
func (*ListRulesForProjectResp) GetStatus ¶
func (x *ListRulesForProjectResp) GetStatus() string
func (*ListRulesForProjectResp) ProtoMessage ¶
func (*ListRulesForProjectResp) ProtoMessage()
func (*ListRulesForProjectResp) ProtoReflect ¶
func (x *ListRulesForProjectResp) ProtoReflect() protoreflect.Message
func (*ListRulesForProjectResp) Reset ¶
func (x *ListRulesForProjectResp) Reset()
func (*ListRulesForProjectResp) String ¶
func (x *ListRulesForProjectResp) String() string
func (*ListRulesForProjectResp) Validate ¶
func (m *ListRulesForProjectResp) Validate() error
Validate checks the field values on ListRulesForProjectResp 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 (*ListRulesForProjectResp) ValidateAll ¶
func (m *ListRulesForProjectResp) ValidateAll() error
ValidateAll checks the field values on ListRulesForProjectResp 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 ListRulesForProjectRespMultiError, or nil if none found.
type ListRulesForProjectRespMultiError ¶
type ListRulesForProjectRespMultiError []error
ListRulesForProjectRespMultiError is an error wrapping multiple validation errors returned by ListRulesForProjectResp.ValidateAll() if the designated constraints aren't met.
func (ListRulesForProjectRespMultiError) AllErrors ¶
func (m ListRulesForProjectRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesForProjectRespMultiError) Error ¶
func (m ListRulesForProjectRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesForProjectRespValidationError ¶
type ListRulesForProjectRespValidationError struct {
// contains filtered or unexported fields
}
ListRulesForProjectRespValidationError is the validation error returned by ListRulesForProjectResp.Validate if the designated constraints aren't met.
func (ListRulesForProjectRespValidationError) Cause ¶
func (e ListRulesForProjectRespValidationError) Cause() error
Cause function returns cause value.
func (ListRulesForProjectRespValidationError) Error ¶
func (e ListRulesForProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesForProjectRespValidationError) ErrorName ¶
func (e ListRulesForProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesForProjectRespValidationError) Field ¶
func (e ListRulesForProjectRespValidationError) Field() string
Field function returns field value.
func (ListRulesForProjectRespValidationError) Key ¶
func (e ListRulesForProjectRespValidationError) Key() bool
Key function returns key value.
func (ListRulesForProjectRespValidationError) Reason ¶
func (e ListRulesForProjectRespValidationError) Reason() string
Reason function returns reason value.
type ListRulesReq ¶
type ListRulesReq struct { IncludeStaged bool `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListRulesReq) Descriptor
deprecated
func (*ListRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesReq.ProtoReflect.Descriptor instead.
func (*ListRulesReq) GetIncludeStaged ¶
func (x *ListRulesReq) GetIncludeStaged() bool
func (*ListRulesReq) ProtoMessage ¶
func (*ListRulesReq) ProtoMessage()
func (*ListRulesReq) ProtoReflect ¶
func (x *ListRulesReq) ProtoReflect() protoreflect.Message
func (*ListRulesReq) Reset ¶
func (x *ListRulesReq) Reset()
func (*ListRulesReq) String ¶
func (x *ListRulesReq) String() string
func (*ListRulesReq) Validate ¶
func (m *ListRulesReq) Validate() error
Validate checks the field values on ListRulesReq 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 (*ListRulesReq) ValidateAll ¶
func (m *ListRulesReq) ValidateAll() error
ValidateAll checks the field values on ListRulesReq 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 ListRulesReqMultiError, or nil if none found.
type ListRulesReqMultiError ¶
type ListRulesReqMultiError []error
ListRulesReqMultiError is an error wrapping multiple validation errors returned by ListRulesReq.ValidateAll() if the designated constraints aren't met.
func (ListRulesReqMultiError) AllErrors ¶
func (m ListRulesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesReqMultiError) Error ¶
func (m ListRulesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesReqValidationError ¶
type ListRulesReqValidationError struct {
// contains filtered or unexported fields
}
ListRulesReqValidationError is the validation error returned by ListRulesReq.Validate if the designated constraints aren't met.
func (ListRulesReqValidationError) Cause ¶
func (e ListRulesReqValidationError) Cause() error
Cause function returns cause value.
func (ListRulesReqValidationError) Error ¶
func (e ListRulesReqValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesReqValidationError) ErrorName ¶
func (e ListRulesReqValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesReqValidationError) Field ¶
func (e ListRulesReqValidationError) Field() string
Field function returns field value.
func (ListRulesReqValidationError) Key ¶
func (e ListRulesReqValidationError) Key() bool
Key function returns key value.
func (ListRulesReqValidationError) Reason ¶
func (e ListRulesReqValidationError) Reason() string
Reason function returns reason value.
type ListRulesResp ¶
type ListRulesResp struct { Rules []*ProjectRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` // contains filtered or unexported fields }
func (*ListRulesResp) Descriptor
deprecated
func (*ListRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListRulesResp.ProtoReflect.Descriptor instead.
func (*ListRulesResp) GetRules ¶
func (x *ListRulesResp) GetRules() []*ProjectRule
func (*ListRulesResp) ProtoMessage ¶
func (*ListRulesResp) ProtoMessage()
func (*ListRulesResp) ProtoReflect ¶
func (x *ListRulesResp) ProtoReflect() protoreflect.Message
func (*ListRulesResp) Reset ¶
func (x *ListRulesResp) Reset()
func (*ListRulesResp) String ¶
func (x *ListRulesResp) String() string
func (*ListRulesResp) Validate ¶
func (m *ListRulesResp) Validate() error
Validate checks the field values on ListRulesResp 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 (*ListRulesResp) ValidateAll ¶
func (m *ListRulesResp) ValidateAll() error
ValidateAll checks the field values on ListRulesResp 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 ListRulesRespMultiError, or nil if none found.
type ListRulesRespMultiError ¶
type ListRulesRespMultiError []error
ListRulesRespMultiError is an error wrapping multiple validation errors returned by ListRulesResp.ValidateAll() if the designated constraints aren't met.
func (ListRulesRespMultiError) AllErrors ¶
func (m ListRulesRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRulesRespMultiError) Error ¶
func (m ListRulesRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRulesRespValidationError ¶
type ListRulesRespValidationError struct {
// contains filtered or unexported fields
}
ListRulesRespValidationError is the validation error returned by ListRulesResp.Validate if the designated constraints aren't met.
func (ListRulesRespValidationError) Cause ¶
func (e ListRulesRespValidationError) Cause() error
Cause function returns cause value.
func (ListRulesRespValidationError) Error ¶
func (e ListRulesRespValidationError) Error() string
Error satisfies the builtin error interface
func (ListRulesRespValidationError) ErrorName ¶
func (e ListRulesRespValidationError) ErrorName() string
ErrorName returns error name.
func (ListRulesRespValidationError) Field ¶
func (e ListRulesRespValidationError) Field() string
Field function returns field value.
func (ListRulesRespValidationError) Key ¶
func (e ListRulesRespValidationError) Key() bool
Key function returns key value.
func (ListRulesRespValidationError) Reason ¶
func (e ListRulesRespValidationError) Reason() string
Reason function returns reason value.
type MigrateToV2Req ¶
type MigrateToV2Req struct { Flag Flag `` /* 151-byte string literal not displayed */ SkipV1Policies bool `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MigrateToV2Req) Descriptor
deprecated
func (*MigrateToV2Req) Descriptor() ([]byte, []int)
Deprecated: Use MigrateToV2Req.ProtoReflect.Descriptor instead.
func (*MigrateToV2Req) GetFlag ¶
func (x *MigrateToV2Req) GetFlag() Flag
func (*MigrateToV2Req) GetSkipV1Policies ¶
func (x *MigrateToV2Req) GetSkipV1Policies() bool
func (*MigrateToV2Req) ProtoMessage ¶
func (*MigrateToV2Req) ProtoMessage()
func (*MigrateToV2Req) ProtoReflect ¶
func (x *MigrateToV2Req) ProtoReflect() protoreflect.Message
func (*MigrateToV2Req) Reset ¶
func (x *MigrateToV2Req) Reset()
func (*MigrateToV2Req) String ¶
func (x *MigrateToV2Req) String() string
func (*MigrateToV2Req) Validate ¶
func (m *MigrateToV2Req) Validate() error
Validate checks the field values on MigrateToV2Req 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 (*MigrateToV2Req) ValidateAll ¶
func (m *MigrateToV2Req) ValidateAll() error
ValidateAll checks the field values on MigrateToV2Req 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 MigrateToV2ReqMultiError, or nil if none found.
type MigrateToV2ReqMultiError ¶
type MigrateToV2ReqMultiError []error
MigrateToV2ReqMultiError is an error wrapping multiple validation errors returned by MigrateToV2Req.ValidateAll() if the designated constraints aren't met.
func (MigrateToV2ReqMultiError) AllErrors ¶
func (m MigrateToV2ReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrateToV2ReqMultiError) Error ¶
func (m MigrateToV2ReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrateToV2ReqValidationError ¶
type MigrateToV2ReqValidationError struct {
// contains filtered or unexported fields
}
MigrateToV2ReqValidationError is the validation error returned by MigrateToV2Req.Validate if the designated constraints aren't met.
func (MigrateToV2ReqValidationError) Cause ¶
func (e MigrateToV2ReqValidationError) Cause() error
Cause function returns cause value.
func (MigrateToV2ReqValidationError) Error ¶
func (e MigrateToV2ReqValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateToV2ReqValidationError) ErrorName ¶
func (e MigrateToV2ReqValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateToV2ReqValidationError) Field ¶
func (e MigrateToV2ReqValidationError) Field() string
Field function returns field value.
func (MigrateToV2ReqValidationError) Key ¶
func (e MigrateToV2ReqValidationError) Key() bool
Key function returns key value.
func (MigrateToV2ReqValidationError) Reason ¶
func (e MigrateToV2ReqValidationError) Reason() string
Reason function returns reason value.
type MigrateToV2Resp ¶
type MigrateToV2Resp struct { Reports []string `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty" toml:"reports,omitempty" mapstructure:"reports,omitempty"` // contains filtered or unexported fields }
func (*MigrateToV2Resp) Descriptor
deprecated
func (*MigrateToV2Resp) Descriptor() ([]byte, []int)
Deprecated: Use MigrateToV2Resp.ProtoReflect.Descriptor instead.
func (*MigrateToV2Resp) GetReports ¶
func (x *MigrateToV2Resp) GetReports() []string
func (*MigrateToV2Resp) ProtoMessage ¶
func (*MigrateToV2Resp) ProtoMessage()
func (*MigrateToV2Resp) ProtoReflect ¶
func (x *MigrateToV2Resp) ProtoReflect() protoreflect.Message
func (*MigrateToV2Resp) Reset ¶
func (x *MigrateToV2Resp) Reset()
func (*MigrateToV2Resp) String ¶
func (x *MigrateToV2Resp) String() string
func (*MigrateToV2Resp) Validate ¶
func (m *MigrateToV2Resp) Validate() error
Validate checks the field values on MigrateToV2Resp 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 (*MigrateToV2Resp) ValidateAll ¶
func (m *MigrateToV2Resp) ValidateAll() error
ValidateAll checks the field values on MigrateToV2Resp 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 MigrateToV2RespMultiError, or nil if none found.
type MigrateToV2RespMultiError ¶
type MigrateToV2RespMultiError []error
MigrateToV2RespMultiError is an error wrapping multiple validation errors returned by MigrateToV2Resp.ValidateAll() if the designated constraints aren't met.
func (MigrateToV2RespMultiError) AllErrors ¶
func (m MigrateToV2RespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrateToV2RespMultiError) Error ¶
func (m MigrateToV2RespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrateToV2RespValidationError ¶
type MigrateToV2RespValidationError struct {
// contains filtered or unexported fields
}
MigrateToV2RespValidationError is the validation error returned by MigrateToV2Resp.Validate if the designated constraints aren't met.
func (MigrateToV2RespValidationError) Cause ¶
func (e MigrateToV2RespValidationError) Cause() error
Cause function returns cause value.
func (MigrateToV2RespValidationError) Error ¶
func (e MigrateToV2RespValidationError) Error() string
Error satisfies the builtin error interface
func (MigrateToV2RespValidationError) ErrorName ¶
func (e MigrateToV2RespValidationError) ErrorName() string
ErrorName returns error name.
func (MigrateToV2RespValidationError) Field ¶
func (e MigrateToV2RespValidationError) Field() string
Field function returns field value.
func (MigrateToV2RespValidationError) Key ¶
func (e MigrateToV2RespValidationError) Key() bool
Key function returns key value.
func (MigrateToV2RespValidationError) Reason ¶
func (e MigrateToV2RespValidationError) Reason() string
Reason function returns reason value.
type MockAuthorizationServiceClient ¶
type MockAuthorizationServiceClient struct {
// contains filtered or unexported fields
}
MockAuthorizationServiceClient is a mock of AuthorizationServiceClient interface.
func NewMockAuthorizationServiceClient ¶
func NewMockAuthorizationServiceClient(ctrl *gomock.Controller) *MockAuthorizationServiceClient
NewMockAuthorizationServiceClient creates a new mock instance.
func (*MockAuthorizationServiceClient) EXPECT ¶
func (m *MockAuthorizationServiceClient) EXPECT() *MockAuthorizationServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizationServiceClient) FilterAuthorizedPairs ¶
func (m *MockAuthorizationServiceClient) FilterAuthorizedPairs(ctx context.Context, in *FilterAuthorizedPairsReq, opts ...grpc.CallOption) (*FilterAuthorizedPairsResp, error)
FilterAuthorizedPairs mocks base method.
func (*MockAuthorizationServiceClient) FilterAuthorizedProjects ¶
func (m *MockAuthorizationServiceClient) FilterAuthorizedProjects(ctx context.Context, in *FilterAuthorizedProjectsReq, opts ...grpc.CallOption) (*FilterAuthorizedProjectsResp, error)
FilterAuthorizedProjects mocks base method.
func (*MockAuthorizationServiceClient) GetVersion ¶
func (m *MockAuthorizationServiceClient) GetVersion(ctx context.Context, in *version.VersionInfoRequest, opts ...grpc.CallOption) (*version.VersionInfo, error)
GetVersion mocks base method.
func (*MockAuthorizationServiceClient) ProjectsAuthorized ¶
func (m *MockAuthorizationServiceClient) ProjectsAuthorized(ctx context.Context, in *ProjectsAuthorizedReq, opts ...grpc.CallOption) (*ProjectsAuthorizedResp, error)
ProjectsAuthorized mocks base method.
func (*MockAuthorizationServiceClient) ValidateProjectAssignment ¶
func (m *MockAuthorizationServiceClient) ValidateProjectAssignment(ctx context.Context, in *ValidateProjectAssignmentReq, opts ...grpc.CallOption) (*ValidateProjectAssignmentResp, error)
ValidateProjectAssignment mocks base method.
type MockAuthorizationServiceClientMockRecorder ¶
type MockAuthorizationServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationServiceClientMockRecorder is the mock recorder for MockAuthorizationServiceClient.
func (*MockAuthorizationServiceClientMockRecorder) FilterAuthorizedPairs ¶
func (mr *MockAuthorizationServiceClientMockRecorder) FilterAuthorizedPairs(ctx, in interface{}, opts ...interface{}) *gomock.Call
FilterAuthorizedPairs indicates an expected call of FilterAuthorizedPairs.
func (*MockAuthorizationServiceClientMockRecorder) FilterAuthorizedProjects ¶
func (mr *MockAuthorizationServiceClientMockRecorder) FilterAuthorizedProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
FilterAuthorizedProjects indicates an expected call of FilterAuthorizedProjects.
func (*MockAuthorizationServiceClientMockRecorder) GetVersion ¶
func (mr *MockAuthorizationServiceClientMockRecorder) GetVersion(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockAuthorizationServiceClientMockRecorder) ProjectsAuthorized ¶
func (mr *MockAuthorizationServiceClientMockRecorder) ProjectsAuthorized(ctx, in interface{}, opts ...interface{}) *gomock.Call
ProjectsAuthorized indicates an expected call of ProjectsAuthorized.
func (*MockAuthorizationServiceClientMockRecorder) ValidateProjectAssignment ¶
func (mr *MockAuthorizationServiceClientMockRecorder) ValidateProjectAssignment(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateProjectAssignment indicates an expected call of ValidateProjectAssignment.
type MockAuthorizationServiceServer ¶
type MockAuthorizationServiceServer struct {
// contains filtered or unexported fields
}
MockAuthorizationServiceServer is a mock of AuthorizationServiceServer interface.
func NewMockAuthorizationServiceServer ¶
func NewMockAuthorizationServiceServer(ctrl *gomock.Controller) *MockAuthorizationServiceServer
NewMockAuthorizationServiceServer creates a new mock instance.
func (*MockAuthorizationServiceServer) EXPECT ¶
func (m *MockAuthorizationServiceServer) EXPECT() *MockAuthorizationServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizationServiceServer) FilterAuthorizedPairs ¶
func (m *MockAuthorizationServiceServer) FilterAuthorizedPairs(arg0 context.Context, arg1 *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
FilterAuthorizedPairs mocks base method.
func (*MockAuthorizationServiceServer) FilterAuthorizedProjects ¶
func (m *MockAuthorizationServiceServer) FilterAuthorizedProjects(arg0 context.Context, arg1 *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
FilterAuthorizedProjects mocks base method.
func (*MockAuthorizationServiceServer) GetVersion ¶
func (m *MockAuthorizationServiceServer) GetVersion(arg0 context.Context, arg1 *version.VersionInfoRequest) (*version.VersionInfo, error)
GetVersion mocks base method.
func (*MockAuthorizationServiceServer) ProjectsAuthorized ¶
func (m *MockAuthorizationServiceServer) ProjectsAuthorized(arg0 context.Context, arg1 *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
ProjectsAuthorized mocks base method.
func (*MockAuthorizationServiceServer) ValidateProjectAssignment ¶
func (m *MockAuthorizationServiceServer) ValidateProjectAssignment(arg0 context.Context, arg1 *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
ValidateProjectAssignment mocks base method.
type MockAuthorizationServiceServerMockRecorder ¶
type MockAuthorizationServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationServiceServerMockRecorder is the mock recorder for MockAuthorizationServiceServer.
func (*MockAuthorizationServiceServerMockRecorder) FilterAuthorizedPairs ¶
func (mr *MockAuthorizationServiceServerMockRecorder) FilterAuthorizedPairs(arg0, arg1 interface{}) *gomock.Call
FilterAuthorizedPairs indicates an expected call of FilterAuthorizedPairs.
func (*MockAuthorizationServiceServerMockRecorder) FilterAuthorizedProjects ¶
func (mr *MockAuthorizationServiceServerMockRecorder) FilterAuthorizedProjects(arg0, arg1 interface{}) *gomock.Call
FilterAuthorizedProjects indicates an expected call of FilterAuthorizedProjects.
func (*MockAuthorizationServiceServerMockRecorder) GetVersion ¶
func (mr *MockAuthorizationServiceServerMockRecorder) GetVersion(arg0, arg1 interface{}) *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockAuthorizationServiceServerMockRecorder) ProjectsAuthorized ¶
func (mr *MockAuthorizationServiceServerMockRecorder) ProjectsAuthorized(arg0, arg1 interface{}) *gomock.Call
ProjectsAuthorized indicates an expected call of ProjectsAuthorized.
func (*MockAuthorizationServiceServerMockRecorder) ValidateProjectAssignment ¶
func (mr *MockAuthorizationServiceServerMockRecorder) ValidateProjectAssignment(arg0, arg1 interface{}) *gomock.Call
ValidateProjectAssignment indicates an expected call of ValidateProjectAssignment.
type MockProjectsServiceClient ¶
type MockProjectsServiceClient struct {
// contains filtered or unexported fields
}
MockProjectsServiceClient is a mock of ProjectsServiceClient interface.
func NewMockProjectsServiceClient ¶
func NewMockProjectsServiceClient(ctrl *gomock.Controller) *MockProjectsServiceClient
NewMockProjectsServiceClient creates a new mock instance.
func (*MockProjectsServiceClient) ApplyRulesCancel ¶
func (m *MockProjectsServiceClient) ApplyRulesCancel(ctx context.Context, in *ApplyRulesCancelReq, opts ...grpc.CallOption) (*ApplyRulesCancelResp, error)
ApplyRulesCancel mocks base method.
func (*MockProjectsServiceClient) ApplyRulesStart ¶
func (m *MockProjectsServiceClient) ApplyRulesStart(ctx context.Context, in *ApplyRulesStartReq, opts ...grpc.CallOption) (*ApplyRulesStartResp, error)
ApplyRulesStart mocks base method.
func (*MockProjectsServiceClient) ApplyRulesStatus ¶
func (m *MockProjectsServiceClient) ApplyRulesStatus(ctx context.Context, in *ApplyRulesStatusReq, opts ...grpc.CallOption) (*ApplyRulesStatusResp, error)
ApplyRulesStatus mocks base method.
func (*MockProjectsServiceClient) CreateProject ¶
func (m *MockProjectsServiceClient) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error)
CreateProject mocks base method.
func (*MockProjectsServiceClient) CreateRule ¶
func (m *MockProjectsServiceClient) CreateRule(ctx context.Context, in *CreateRuleReq, opts ...grpc.CallOption) (*CreateRuleResp, error)
CreateRule mocks base method.
func (*MockProjectsServiceClient) DeleteProject ¶
func (m *MockProjectsServiceClient) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error)
DeleteProject mocks base method.
func (*MockProjectsServiceClient) DeleteRule ¶
func (m *MockProjectsServiceClient) DeleteRule(ctx context.Context, in *DeleteRuleReq, opts ...grpc.CallOption) (*DeleteRuleResp, error)
DeleteRule mocks base method.
func (*MockProjectsServiceClient) EXPECT ¶
func (m *MockProjectsServiceClient) EXPECT() *MockProjectsServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectsServiceClient) GetProject ¶
func (m *MockProjectsServiceClient) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error)
GetProject mocks base method.
func (*MockProjectsServiceClient) GetRule ¶
func (m *MockProjectsServiceClient) GetRule(ctx context.Context, in *GetRuleReq, opts ...grpc.CallOption) (*GetRuleResp, error)
GetRule mocks base method.
func (*MockProjectsServiceClient) ListProjects ¶
func (m *MockProjectsServiceClient) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
ListProjects mocks base method.
func (*MockProjectsServiceClient) ListProjectsForIntrospection ¶
func (m *MockProjectsServiceClient) ListProjectsForIntrospection(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error)
ListProjectsForIntrospection mocks base method.
func (*MockProjectsServiceClient) ListRules ¶
func (m *MockProjectsServiceClient) ListRules(ctx context.Context, in *ListRulesReq, opts ...grpc.CallOption) (*ListRulesResp, error)
ListRules mocks base method.
func (*MockProjectsServiceClient) ListRulesForAllProjects ¶
func (m *MockProjectsServiceClient) ListRulesForAllProjects(ctx context.Context, in *ListRulesForAllProjectsReq, opts ...grpc.CallOption) (*ListRulesForAllProjectsResp, error)
ListRulesForAllProjects mocks base method.
func (*MockProjectsServiceClient) ListRulesForProject ¶
func (m *MockProjectsServiceClient) ListRulesForProject(ctx context.Context, in *ListRulesForProjectReq, opts ...grpc.CallOption) (*ListRulesForProjectResp, error)
ListRulesForProject mocks base method.
func (*MockProjectsServiceClient) UpdateProject ¶
func (m *MockProjectsServiceClient) UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error)
UpdateProject mocks base method.
func (*MockProjectsServiceClient) UpdateRule ¶
func (m *MockProjectsServiceClient) UpdateRule(ctx context.Context, in *UpdateRuleReq, opts ...grpc.CallOption) (*UpdateRuleResp, error)
UpdateRule mocks base method.
type MockProjectsServiceClientMockRecorder ¶
type MockProjectsServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServiceClientMockRecorder is the mock recorder for MockProjectsServiceClient.
func (*MockProjectsServiceClientMockRecorder) ApplyRulesCancel ¶
func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesCancel(ctx, in interface{}, opts ...interface{}) *gomock.Call
ApplyRulesCancel indicates an expected call of ApplyRulesCancel.
func (*MockProjectsServiceClientMockRecorder) ApplyRulesStart ¶
func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesStart(ctx, in interface{}, opts ...interface{}) *gomock.Call
ApplyRulesStart indicates an expected call of ApplyRulesStart.
func (*MockProjectsServiceClientMockRecorder) ApplyRulesStatus ¶
func (mr *MockProjectsServiceClientMockRecorder) ApplyRulesStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
ApplyRulesStatus indicates an expected call of ApplyRulesStatus.
func (*MockProjectsServiceClientMockRecorder) CreateProject ¶
func (mr *MockProjectsServiceClientMockRecorder) CreateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockProjectsServiceClientMockRecorder) CreateRule ¶
func (mr *MockProjectsServiceClientMockRecorder) CreateRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateRule indicates an expected call of CreateRule.
func (*MockProjectsServiceClientMockRecorder) DeleteProject ¶
func (mr *MockProjectsServiceClientMockRecorder) DeleteProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject.
func (*MockProjectsServiceClientMockRecorder) DeleteRule ¶
func (mr *MockProjectsServiceClientMockRecorder) DeleteRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteRule indicates an expected call of DeleteRule.
func (*MockProjectsServiceClientMockRecorder) GetProject ¶
func (mr *MockProjectsServiceClientMockRecorder) GetProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockProjectsServiceClientMockRecorder) GetRule ¶
func (mr *MockProjectsServiceClientMockRecorder) GetRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetRule indicates an expected call of GetRule.
func (*MockProjectsServiceClientMockRecorder) ListProjects ¶
func (mr *MockProjectsServiceClientMockRecorder) ListProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockProjectsServiceClientMockRecorder) ListProjectsForIntrospection ¶
func (mr *MockProjectsServiceClientMockRecorder) ListProjectsForIntrospection(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListProjectsForIntrospection indicates an expected call of ListProjectsForIntrospection.
func (*MockProjectsServiceClientMockRecorder) ListRules ¶
func (mr *MockProjectsServiceClientMockRecorder) ListRules(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListRules indicates an expected call of ListRules.
func (*MockProjectsServiceClientMockRecorder) ListRulesForAllProjects ¶
func (mr *MockProjectsServiceClientMockRecorder) ListRulesForAllProjects(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListRulesForAllProjects indicates an expected call of ListRulesForAllProjects.
func (*MockProjectsServiceClientMockRecorder) ListRulesForProject ¶
func (mr *MockProjectsServiceClientMockRecorder) ListRulesForProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListRulesForProject indicates an expected call of ListRulesForProject.
func (*MockProjectsServiceClientMockRecorder) UpdateProject ¶
func (mr *MockProjectsServiceClientMockRecorder) UpdateProject(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject.
func (*MockProjectsServiceClientMockRecorder) UpdateRule ¶
func (mr *MockProjectsServiceClientMockRecorder) UpdateRule(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateRule indicates an expected call of UpdateRule.
type MockProjectsServiceServer ¶
type MockProjectsServiceServer struct {
// contains filtered or unexported fields
}
MockProjectsServiceServer is a mock of ProjectsServiceServer interface.
func NewMockProjectsServiceServer ¶
func NewMockProjectsServiceServer(ctrl *gomock.Controller) *MockProjectsServiceServer
NewMockProjectsServiceServer creates a new mock instance.
func (*MockProjectsServiceServer) ApplyRulesCancel ¶
func (m *MockProjectsServiceServer) ApplyRulesCancel(arg0 context.Context, arg1 *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
ApplyRulesCancel mocks base method.
func (*MockProjectsServiceServer) ApplyRulesStart ¶
func (m *MockProjectsServiceServer) ApplyRulesStart(arg0 context.Context, arg1 *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
ApplyRulesStart mocks base method.
func (*MockProjectsServiceServer) ApplyRulesStatus ¶
func (m *MockProjectsServiceServer) ApplyRulesStatus(arg0 context.Context, arg1 *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
ApplyRulesStatus mocks base method.
func (*MockProjectsServiceServer) CreateProject ¶
func (m *MockProjectsServiceServer) CreateProject(arg0 context.Context, arg1 *CreateProjectReq) (*CreateProjectResp, error)
CreateProject mocks base method.
func (*MockProjectsServiceServer) CreateRule ¶
func (m *MockProjectsServiceServer) CreateRule(arg0 context.Context, arg1 *CreateRuleReq) (*CreateRuleResp, error)
CreateRule mocks base method.
func (*MockProjectsServiceServer) DeleteProject ¶
func (m *MockProjectsServiceServer) DeleteProject(arg0 context.Context, arg1 *DeleteProjectReq) (*DeleteProjectResp, error)
DeleteProject mocks base method.
func (*MockProjectsServiceServer) DeleteRule ¶
func (m *MockProjectsServiceServer) DeleteRule(arg0 context.Context, arg1 *DeleteRuleReq) (*DeleteRuleResp, error)
DeleteRule mocks base method.
func (*MockProjectsServiceServer) EXPECT ¶
func (m *MockProjectsServiceServer) EXPECT() *MockProjectsServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectsServiceServer) GetProject ¶
func (m *MockProjectsServiceServer) GetProject(arg0 context.Context, arg1 *GetProjectReq) (*GetProjectResp, error)
GetProject mocks base method.
func (*MockProjectsServiceServer) GetRule ¶
func (m *MockProjectsServiceServer) GetRule(arg0 context.Context, arg1 *GetRuleReq) (*GetRuleResp, error)
GetRule mocks base method.
func (*MockProjectsServiceServer) ListProjects ¶
func (m *MockProjectsServiceServer) ListProjects(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
ListProjects mocks base method.
func (*MockProjectsServiceServer) ListProjectsForIntrospection ¶
func (m *MockProjectsServiceServer) ListProjectsForIntrospection(arg0 context.Context, arg1 *ListProjectsReq) (*ListProjectsResp, error)
ListProjectsForIntrospection mocks base method.
func (*MockProjectsServiceServer) ListRules ¶
func (m *MockProjectsServiceServer) ListRules(arg0 context.Context, arg1 *ListRulesReq) (*ListRulesResp, error)
ListRules mocks base method.
func (*MockProjectsServiceServer) ListRulesForAllProjects ¶
func (m *MockProjectsServiceServer) ListRulesForAllProjects(arg0 context.Context, arg1 *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
ListRulesForAllProjects mocks base method.
func (*MockProjectsServiceServer) ListRulesForProject ¶
func (m *MockProjectsServiceServer) ListRulesForProject(arg0 context.Context, arg1 *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
ListRulesForProject mocks base method.
func (*MockProjectsServiceServer) UpdateProject ¶
func (m *MockProjectsServiceServer) UpdateProject(arg0 context.Context, arg1 *UpdateProjectReq) (*UpdateProjectResp, error)
UpdateProject mocks base method.
func (*MockProjectsServiceServer) UpdateRule ¶
func (m *MockProjectsServiceServer) UpdateRule(arg0 context.Context, arg1 *UpdateRuleReq) (*UpdateRuleResp, error)
UpdateRule mocks base method.
type MockProjectsServiceServerMockRecorder ¶
type MockProjectsServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServiceServerMockRecorder is the mock recorder for MockProjectsServiceServer.
func (*MockProjectsServiceServerMockRecorder) ApplyRulesCancel ¶
func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesCancel(arg0, arg1 interface{}) *gomock.Call
ApplyRulesCancel indicates an expected call of ApplyRulesCancel.
func (*MockProjectsServiceServerMockRecorder) ApplyRulesStart ¶
func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesStart(arg0, arg1 interface{}) *gomock.Call
ApplyRulesStart indicates an expected call of ApplyRulesStart.
func (*MockProjectsServiceServerMockRecorder) ApplyRulesStatus ¶
func (mr *MockProjectsServiceServerMockRecorder) ApplyRulesStatus(arg0, arg1 interface{}) *gomock.Call
ApplyRulesStatus indicates an expected call of ApplyRulesStatus.
func (*MockProjectsServiceServerMockRecorder) CreateProject ¶
func (mr *MockProjectsServiceServerMockRecorder) CreateProject(arg0, arg1 interface{}) *gomock.Call
CreateProject indicates an expected call of CreateProject.
func (*MockProjectsServiceServerMockRecorder) CreateRule ¶
func (mr *MockProjectsServiceServerMockRecorder) CreateRule(arg0, arg1 interface{}) *gomock.Call
CreateRule indicates an expected call of CreateRule.
func (*MockProjectsServiceServerMockRecorder) DeleteProject ¶
func (mr *MockProjectsServiceServerMockRecorder) DeleteProject(arg0, arg1 interface{}) *gomock.Call
DeleteProject indicates an expected call of DeleteProject.
func (*MockProjectsServiceServerMockRecorder) DeleteRule ¶
func (mr *MockProjectsServiceServerMockRecorder) DeleteRule(arg0, arg1 interface{}) *gomock.Call
DeleteRule indicates an expected call of DeleteRule.
func (*MockProjectsServiceServerMockRecorder) GetProject ¶
func (mr *MockProjectsServiceServerMockRecorder) GetProject(arg0, arg1 interface{}) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockProjectsServiceServerMockRecorder) GetRule ¶
func (mr *MockProjectsServiceServerMockRecorder) GetRule(arg0, arg1 interface{}) *gomock.Call
GetRule indicates an expected call of GetRule.
func (*MockProjectsServiceServerMockRecorder) ListProjects ¶
func (mr *MockProjectsServiceServerMockRecorder) ListProjects(arg0, arg1 interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockProjectsServiceServerMockRecorder) ListProjectsForIntrospection ¶
func (mr *MockProjectsServiceServerMockRecorder) ListProjectsForIntrospection(arg0, arg1 interface{}) *gomock.Call
ListProjectsForIntrospection indicates an expected call of ListProjectsForIntrospection.
func (*MockProjectsServiceServerMockRecorder) ListRules ¶
func (mr *MockProjectsServiceServerMockRecorder) ListRules(arg0, arg1 interface{}) *gomock.Call
ListRules indicates an expected call of ListRules.
func (*MockProjectsServiceServerMockRecorder) ListRulesForAllProjects ¶
func (mr *MockProjectsServiceServerMockRecorder) ListRulesForAllProjects(arg0, arg1 interface{}) *gomock.Call
ListRulesForAllProjects indicates an expected call of ListRulesForAllProjects.
func (*MockProjectsServiceServerMockRecorder) ListRulesForProject ¶
func (mr *MockProjectsServiceServerMockRecorder) ListRulesForProject(arg0, arg1 interface{}) *gomock.Call
ListRulesForProject indicates an expected call of ListRulesForProject.
func (*MockProjectsServiceServerMockRecorder) UpdateProject ¶
func (mr *MockProjectsServiceServerMockRecorder) UpdateProject(arg0, arg1 interface{}) *gomock.Call
UpdateProject indicates an expected call of UpdateProject.
func (*MockProjectsServiceServerMockRecorder) UpdateRule ¶
func (mr *MockProjectsServiceServerMockRecorder) UpdateRule(arg0, arg1 interface{}) *gomock.Call
UpdateRule indicates an expected call of UpdateRule.
type Pair ¶
type Pair struct { Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` // contains filtered or unexported fields }
func (*Pair) Descriptor
deprecated
func (*Pair) GetResource ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) ProtoReflect ¶
func (x *Pair) ProtoReflect() protoreflect.Message
func (*Pair) Validate ¶
Validate checks the field values on Pair 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 (*Pair) ValidateAll ¶
ValidateAll checks the field values on Pair 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 PairMultiError, or nil if none found.
type PairMultiError ¶
type PairMultiError []error
PairMultiError is an error wrapping multiple validation errors returned by Pair.ValidateAll() if the designated constraints aren't met.
func (PairMultiError) AllErrors ¶
func (m PairMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PairMultiError) Error ¶
func (m PairMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PairValidationError ¶
type PairValidationError struct {
// contains filtered or unexported fields
}
PairValidationError is the validation error returned by Pair.Validate if the designated constraints aren't met.
func (PairValidationError) Cause ¶
func (e PairValidationError) Cause() error
Cause function returns cause value.
func (PairValidationError) Error ¶
func (e PairValidationError) Error() string
Error satisfies the builtin error interface
func (PairValidationError) ErrorName ¶
func (e PairValidationError) ErrorName() string
ErrorName returns error name.
func (PairValidationError) Field ¶
func (e PairValidationError) Field() string
Field function returns field value.
func (PairValidationError) Key ¶
func (e PairValidationError) Key() bool
Key function returns key value.
func (PairValidationError) Reason ¶
func (e PairValidationError) Reason() string
Reason function returns reason value.
type PoliciesServiceClient ¶
type PoliciesServiceClient interface { ReplacePolicyMembers(ctx context.Context, in *ReplacePolicyMembersReq, opts ...grpc.CallOption) (*ReplacePolicyMembersResp, error) CreatePolicy(ctx context.Context, in *CreatePolicyReq, opts ...grpc.CallOption) (*Policy, error) DeletePolicy(ctx context.Context, in *DeletePolicyReq, opts ...grpc.CallOption) (*DeletePolicyResp, error) ListPolicies(ctx context.Context, in *ListPoliciesReq, opts ...grpc.CallOption) (*ListPoliciesResp, error) GetPolicy(ctx context.Context, in *GetPolicyReq, opts ...grpc.CallOption) (*Policy, error) UpdatePolicy(ctx context.Context, in *UpdatePolicyReq, opts ...grpc.CallOption) (*Policy, error) GetPolicyVersion(ctx context.Context, in *GetPolicyVersionReq, opts ...grpc.CallOption) (*GetPolicyVersionResp, error) CreateRole(ctx context.Context, in *CreateRoleReq, opts ...grpc.CallOption) (*Role, error) ListRoles(ctx context.Context, in *ListRolesReq, opts ...grpc.CallOption) (*ListRolesResp, error) GetRole(ctx context.Context, in *GetRoleReq, opts ...grpc.CallOption) (*Role, error) DeleteRole(ctx context.Context, in *DeleteRoleReq, opts ...grpc.CallOption) (*DeleteRoleResp, error) UpdateRole(ctx context.Context, in *UpdateRoleReq, opts ...grpc.CallOption) (*Role, error) ListPolicyMembers(ctx context.Context, in *ListPolicyMembersReq, opts ...grpc.CallOption) (*ListPolicyMembersResp, error) RemovePolicyMembers(ctx context.Context, in *RemovePolicyMembersReq, opts ...grpc.CallOption) (*RemovePolicyMembersResp, error) AddPolicyMembers(ctx context.Context, in *AddPolicyMembersReq, opts ...grpc.CallOption) (*AddPolicyMembersResp, error) PurgeSubjectFromPolicies(ctx context.Context, in *PurgeSubjectFromPoliciesReq, opts ...grpc.CallOption) (*PurgeSubjectFromPoliciesResp, error) }
PoliciesServiceClient is the client API for PoliciesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPoliciesServiceClient ¶
func NewPoliciesServiceClient(cc grpc.ClientConnInterface) PoliciesServiceClient
type PoliciesServiceServer ¶
type PoliciesServiceServer interface { ReplacePolicyMembers(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error) CreatePolicy(context.Context, *CreatePolicyReq) (*Policy, error) DeletePolicy(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error) ListPolicies(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error) GetPolicy(context.Context, *GetPolicyReq) (*Policy, error) UpdatePolicy(context.Context, *UpdatePolicyReq) (*Policy, error) GetPolicyVersion(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error) CreateRole(context.Context, *CreateRoleReq) (*Role, error) ListRoles(context.Context, *ListRolesReq) (*ListRolesResp, error) GetRole(context.Context, *GetRoleReq) (*Role, error) DeleteRole(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error) UpdateRole(context.Context, *UpdateRoleReq) (*Role, error) ListPolicyMembers(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error) RemovePolicyMembers(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error) AddPolicyMembers(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error) PurgeSubjectFromPolicies(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error) }
PoliciesServiceServer is the server API for PoliciesService service.
type PoliciesServiceServerMock ¶
type PoliciesServiceServerMock struct { ReplacePolicyMembersFunc func(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error) CreatePolicyFunc func(context.Context, *CreatePolicyReq) (*Policy, error) DeletePolicyFunc func(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error) ListPoliciesFunc func(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error) GetPolicyFunc func(context.Context, *GetPolicyReq) (*Policy, error) UpdatePolicyFunc func(context.Context, *UpdatePolicyReq) (*Policy, error) GetPolicyVersionFunc func(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error) CreateRoleFunc func(context.Context, *CreateRoleReq) (*Role, error) ListRolesFunc func(context.Context, *ListRolesReq) (*ListRolesResp, error) GetRoleFunc func(context.Context, *GetRoleReq) (*Role, error) DeleteRoleFunc func(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error) UpdateRoleFunc func(context.Context, *UpdateRoleReq) (*Role, error) ListPolicyMembersFunc func(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error) RemovePolicyMembersFunc func(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error) AddPolicyMembersFunc func(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error) PurgeSubjectFromPoliciesFunc func(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error) // contains filtered or unexported fields }
PoliciesServiceServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewPoliciesServiceServerMock ¶
func NewPoliciesServiceServerMock() *PoliciesServiceServerMock
NewPoliciesServiceServerMock gives you a fresh instance of PoliciesServiceServerMock.
func NewPoliciesServiceServerMockWithoutValidation ¶
func NewPoliciesServiceServerMockWithoutValidation() *PoliciesServiceServerMock
NewPoliciesServiceServerMockWithoutValidation gives you a fresh instance of PoliciesServiceServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*PoliciesServiceServerMock) AddPolicyMembers ¶
func (m *PoliciesServiceServerMock) AddPolicyMembers(ctx context.Context, req *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
func (*PoliciesServiceServerMock) CreatePolicy ¶
func (m *PoliciesServiceServerMock) CreatePolicy(ctx context.Context, req *CreatePolicyReq) (*Policy, error)
func (*PoliciesServiceServerMock) CreateRole ¶
func (m *PoliciesServiceServerMock) CreateRole(ctx context.Context, req *CreateRoleReq) (*Role, error)
func (*PoliciesServiceServerMock) DeletePolicy ¶
func (m *PoliciesServiceServerMock) DeletePolicy(ctx context.Context, req *DeletePolicyReq) (*DeletePolicyResp, error)
func (*PoliciesServiceServerMock) DeleteRole ¶
func (m *PoliciesServiceServerMock) DeleteRole(ctx context.Context, req *DeleteRoleReq) (*DeleteRoleResp, error)
func (*PoliciesServiceServerMock) GetPolicy ¶
func (m *PoliciesServiceServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)
func (*PoliciesServiceServerMock) GetPolicyVersion ¶
func (m *PoliciesServiceServerMock) GetPolicyVersion(ctx context.Context, req *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
func (*PoliciesServiceServerMock) GetRole ¶
func (m *PoliciesServiceServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)
func (*PoliciesServiceServerMock) ListPolicies ¶
func (m *PoliciesServiceServerMock) ListPolicies(ctx context.Context, req *ListPoliciesReq) (*ListPoliciesResp, error)
func (*PoliciesServiceServerMock) ListPolicyMembers ¶
func (m *PoliciesServiceServerMock) ListPolicyMembers(ctx context.Context, req *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
func (*PoliciesServiceServerMock) ListRoles ¶
func (m *PoliciesServiceServerMock) ListRoles(ctx context.Context, req *ListRolesReq) (*ListRolesResp, error)
func (*PoliciesServiceServerMock) PurgeSubjectFromPolicies ¶
func (m *PoliciesServiceServerMock) PurgeSubjectFromPolicies(ctx context.Context, req *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
func (*PoliciesServiceServerMock) RemovePolicyMembers ¶
func (m *PoliciesServiceServerMock) RemovePolicyMembers(ctx context.Context, req *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
func (*PoliciesServiceServerMock) ReplacePolicyMembers ¶
func (m *PoliciesServiceServerMock) ReplacePolicyMembers(ctx context.Context, req *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
func (*PoliciesServiceServerMock) Reset ¶
func (m *PoliciesServiceServerMock) Reset()
Reset resets all overridden functions
func (*PoliciesServiceServerMock) UpdatePolicy ¶
func (m *PoliciesServiceServerMock) UpdatePolicy(ctx context.Context, req *UpdatePolicyReq) (*Policy, error)
func (*PoliciesServiceServerMock) UpdateRole ¶
func (m *PoliciesServiceServerMock) UpdateRole(ctx context.Context, req *UpdateRoleReq) (*Role, error)
type Policy ¶
type Policy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 151-byte string literal not displayed */ Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetMembers ¶
func (*Policy) GetProjects ¶
func (*Policy) GetStatements ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
func (*Policy) Validate ¶
Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Policy) ValidateAll ¶
ValidateAll checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyMultiError, or nil if none found.
type 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 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 Project ¶
type Project struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 151-byte string literal not displayed */ Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) Validate ¶
Validate checks the field values on Project 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 (*Project) ValidateAll ¶
ValidateAll checks the field values on Project 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 ProjectMultiError, or nil if none found.
type ProjectMultiError ¶
type ProjectMultiError []error
ProjectMultiError is an error wrapping multiple validation errors returned by Project.ValidateAll() if the designated constraints aren't met.
func (ProjectMultiError) AllErrors ¶
func (m ProjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectMultiError) Error ¶
func (m ProjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectRule ¶
type ProjectRule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ProjectId string `` /* 152-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Type ProjectRuleTypes `` /* 163-byte string literal not displayed */ Conditions []*Condition `` /* 137-byte string literal not displayed */ Deleted bool `` /* 126-byte string literal not displayed */ Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty" toml:"status,omitempty" mapstructure:"status,omitempty"` // contains filtered or unexported fields }
func (*ProjectRule) Descriptor
deprecated
func (*ProjectRule) Descriptor() ([]byte, []int)
Deprecated: Use ProjectRule.ProtoReflect.Descriptor instead.
func (*ProjectRule) GetConditions ¶
func (x *ProjectRule) GetConditions() []*Condition
func (*ProjectRule) GetDeleted ¶
func (x *ProjectRule) GetDeleted() bool
func (*ProjectRule) GetId ¶
func (x *ProjectRule) GetId() string
func (*ProjectRule) GetName ¶
func (x *ProjectRule) GetName() string
func (*ProjectRule) GetProjectId ¶
func (x *ProjectRule) GetProjectId() string
func (*ProjectRule) GetStatus ¶
func (x *ProjectRule) GetStatus() string
func (*ProjectRule) GetType ¶
func (x *ProjectRule) GetType() ProjectRuleTypes
func (*ProjectRule) ProtoMessage ¶
func (*ProjectRule) ProtoMessage()
func (*ProjectRule) ProtoReflect ¶
func (x *ProjectRule) ProtoReflect() protoreflect.Message
func (*ProjectRule) Reset ¶
func (x *ProjectRule) Reset()
func (*ProjectRule) String ¶
func (x *ProjectRule) String() string
func (*ProjectRule) Validate ¶
func (m *ProjectRule) Validate() error
Validate checks the field values on ProjectRule 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 (*ProjectRule) ValidateAll ¶
func (m *ProjectRule) ValidateAll() error
ValidateAll checks the field values on ProjectRule 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 ProjectRuleMultiError, or nil if none found.
type ProjectRuleConditionAttributes ¶
type ProjectRuleConditionAttributes int32
const ( ProjectRuleConditionAttributes_CHEF_SERVER ProjectRuleConditionAttributes = 0 ProjectRuleConditionAttributes_CHEF_ORGANIZATION ProjectRuleConditionAttributes = 1 ProjectRuleConditionAttributes_ENVIRONMENT ProjectRuleConditionAttributes = 2 ProjectRuleConditionAttributes_CHEF_ROLE ProjectRuleConditionAttributes = 3 ProjectRuleConditionAttributes_CHEF_TAG ProjectRuleConditionAttributes = 4 ProjectRuleConditionAttributes_CHEF_POLICY_GROUP ProjectRuleConditionAttributes = 5 ProjectRuleConditionAttributes_CHEF_POLICY_NAME ProjectRuleConditionAttributes = 6 )
func (ProjectRuleConditionAttributes) Descriptor ¶
func (ProjectRuleConditionAttributes) Descriptor() protoreflect.EnumDescriptor
func (ProjectRuleConditionAttributes) Enum ¶
func (x ProjectRuleConditionAttributes) Enum() *ProjectRuleConditionAttributes
func (ProjectRuleConditionAttributes) EnumDescriptor
deprecated
func (ProjectRuleConditionAttributes) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRuleConditionAttributes.Descriptor instead.
func (ProjectRuleConditionAttributes) Number ¶
func (x ProjectRuleConditionAttributes) Number() protoreflect.EnumNumber
func (ProjectRuleConditionAttributes) String ¶
func (x ProjectRuleConditionAttributes) String() string
func (ProjectRuleConditionAttributes) Type ¶
func (ProjectRuleConditionAttributes) Type() protoreflect.EnumType
type ProjectRuleConditionOperators ¶
type ProjectRuleConditionOperators int32
const ( ProjectRuleConditionOperators_MEMBER_OF ProjectRuleConditionOperators = 0 ProjectRuleConditionOperators_EQUALS ProjectRuleConditionOperators = 1 )
func (ProjectRuleConditionOperators) Descriptor ¶
func (ProjectRuleConditionOperators) Descriptor() protoreflect.EnumDescriptor
func (ProjectRuleConditionOperators) Enum ¶
func (x ProjectRuleConditionOperators) Enum() *ProjectRuleConditionOperators
func (ProjectRuleConditionOperators) EnumDescriptor
deprecated
func (ProjectRuleConditionOperators) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRuleConditionOperators.Descriptor instead.
func (ProjectRuleConditionOperators) Number ¶
func (x ProjectRuleConditionOperators) Number() protoreflect.EnumNumber
func (ProjectRuleConditionOperators) String ¶
func (x ProjectRuleConditionOperators) String() string
func (ProjectRuleConditionOperators) Type ¶
func (ProjectRuleConditionOperators) Type() protoreflect.EnumType
type ProjectRuleMultiError ¶
type ProjectRuleMultiError []error
ProjectRuleMultiError is an error wrapping multiple validation errors returned by ProjectRule.ValidateAll() if the designated constraints aren't met.
func (ProjectRuleMultiError) AllErrors ¶
func (m ProjectRuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectRuleMultiError) Error ¶
func (m ProjectRuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectRuleTypes ¶
type ProjectRuleTypes int32
const ( ProjectRuleTypes_NODE ProjectRuleTypes = 0 ProjectRuleTypes_EVENT ProjectRuleTypes = 1 )
func (ProjectRuleTypes) Descriptor ¶
func (ProjectRuleTypes) Descriptor() protoreflect.EnumDescriptor
func (ProjectRuleTypes) Enum ¶
func (x ProjectRuleTypes) Enum() *ProjectRuleTypes
func (ProjectRuleTypes) EnumDescriptor
deprecated
func (ProjectRuleTypes) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProjectRuleTypes.Descriptor instead.
func (ProjectRuleTypes) Number ¶
func (x ProjectRuleTypes) Number() protoreflect.EnumNumber
func (ProjectRuleTypes) String ¶
func (x ProjectRuleTypes) String() string
func (ProjectRuleTypes) Type ¶
func (ProjectRuleTypes) Type() protoreflect.EnumType
type ProjectRuleValidationError ¶
type ProjectRuleValidationError struct {
// contains filtered or unexported fields
}
ProjectRuleValidationError is the validation error returned by ProjectRule.Validate if the designated constraints aren't met.
func (ProjectRuleValidationError) Cause ¶
func (e ProjectRuleValidationError) Cause() error
Cause function returns cause value.
func (ProjectRuleValidationError) Error ¶
func (e ProjectRuleValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectRuleValidationError) ErrorName ¶
func (e ProjectRuleValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectRuleValidationError) Field ¶
func (e ProjectRuleValidationError) Field() string
Field function returns field value.
func (ProjectRuleValidationError) Key ¶
func (e ProjectRuleValidationError) Key() bool
Key function returns key value.
func (ProjectRuleValidationError) Reason ¶
func (e ProjectRuleValidationError) Reason() string
Reason function returns reason value.
type ProjectRules ¶
type ProjectRules struct { Rules []*ProjectRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty" toml:"rules,omitempty" mapstructure:"rules,omitempty"` // contains filtered or unexported fields }
func (*ProjectRules) Descriptor
deprecated
func (*ProjectRules) Descriptor() ([]byte, []int)
Deprecated: Use ProjectRules.ProtoReflect.Descriptor instead.
func (*ProjectRules) GetRules ¶
func (x *ProjectRules) GetRules() []*ProjectRule
func (*ProjectRules) ProtoMessage ¶
func (*ProjectRules) ProtoMessage()
func (*ProjectRules) ProtoReflect ¶
func (x *ProjectRules) ProtoReflect() protoreflect.Message
func (*ProjectRules) Reset ¶
func (x *ProjectRules) Reset()
func (*ProjectRules) String ¶
func (x *ProjectRules) String() string
func (*ProjectRules) Validate ¶
func (m *ProjectRules) Validate() error
Validate checks the field values on ProjectRules 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 (*ProjectRules) ValidateAll ¶
func (m *ProjectRules) ValidateAll() error
ValidateAll checks the field values on ProjectRules 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 ProjectRulesMultiError, or nil if none found.
type ProjectRulesMultiError ¶
type ProjectRulesMultiError []error
ProjectRulesMultiError is an error wrapping multiple validation errors returned by ProjectRules.ValidateAll() if the designated constraints aren't met.
func (ProjectRulesMultiError) AllErrors ¶
func (m ProjectRulesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectRulesMultiError) Error ¶
func (m ProjectRulesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectRulesValidationError ¶
type ProjectRulesValidationError struct {
// contains filtered or unexported fields
}
ProjectRulesValidationError is the validation error returned by ProjectRules.Validate if the designated constraints aren't met.
func (ProjectRulesValidationError) Cause ¶
func (e ProjectRulesValidationError) Cause() error
Cause function returns cause value.
func (ProjectRulesValidationError) Error ¶
func (e ProjectRulesValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectRulesValidationError) ErrorName ¶
func (e ProjectRulesValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectRulesValidationError) Field ¶
func (e ProjectRulesValidationError) Field() string
Field function returns field value.
func (ProjectRulesValidationError) Key ¶
func (e ProjectRulesValidationError) Key() bool
Key function returns key value.
func (ProjectRulesValidationError) Reason ¶
func (e ProjectRulesValidationError) Reason() string
Reason function returns reason value.
type ProjectValidationError ¶
type ProjectValidationError struct {
// contains filtered or unexported fields
}
ProjectValidationError is the validation error returned by Project.Validate if the designated constraints aren't met.
func (ProjectValidationError) Cause ¶
func (e ProjectValidationError) Cause() error
Cause function returns cause value.
func (ProjectValidationError) Error ¶
func (e ProjectValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectValidationError) ErrorName ¶
func (e ProjectValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectValidationError) Field ¶
func (e ProjectValidationError) Field() string
Field function returns field value.
func (ProjectValidationError) Key ¶
func (e ProjectValidationError) Key() bool
Key function returns key value.
func (ProjectValidationError) Reason ¶
func (e ProjectValidationError) Reason() string
Reason function returns reason value.
type ProjectsAuthorizedReq ¶
type ProjectsAuthorizedReq struct { Subjects []string `` /* 129-byte string literal not displayed */ Resource string `` /* 129-byte string literal not displayed */ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" mapstructure:"action,omitempty"` ProjectsFilter []string `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProjectsAuthorizedReq) Descriptor
deprecated
func (*ProjectsAuthorizedReq) Descriptor() ([]byte, []int)
Deprecated: Use ProjectsAuthorizedReq.ProtoReflect.Descriptor instead.
func (*ProjectsAuthorizedReq) GetAction ¶
func (x *ProjectsAuthorizedReq) GetAction() string
func (*ProjectsAuthorizedReq) GetProjectsFilter ¶
func (x *ProjectsAuthorizedReq) GetProjectsFilter() []string
func (*ProjectsAuthorizedReq) GetResource ¶
func (x *ProjectsAuthorizedReq) GetResource() string
func (*ProjectsAuthorizedReq) GetSubjects ¶
func (x *ProjectsAuthorizedReq) GetSubjects() []string
func (*ProjectsAuthorizedReq) ProtoMessage ¶
func (*ProjectsAuthorizedReq) ProtoMessage()
func (*ProjectsAuthorizedReq) ProtoReflect ¶
func (x *ProjectsAuthorizedReq) ProtoReflect() protoreflect.Message
func (*ProjectsAuthorizedReq) Reset ¶
func (x *ProjectsAuthorizedReq) Reset()
func (*ProjectsAuthorizedReq) String ¶
func (x *ProjectsAuthorizedReq) String() string
func (*ProjectsAuthorizedReq) Validate ¶
func (m *ProjectsAuthorizedReq) Validate() error
Validate checks the field values on ProjectsAuthorizedReq 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 (*ProjectsAuthorizedReq) ValidateAll ¶
func (m *ProjectsAuthorizedReq) ValidateAll() error
ValidateAll checks the field values on ProjectsAuthorizedReq 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 ProjectsAuthorizedReqMultiError, or nil if none found.
type ProjectsAuthorizedReqMultiError ¶
type ProjectsAuthorizedReqMultiError []error
ProjectsAuthorizedReqMultiError is an error wrapping multiple validation errors returned by ProjectsAuthorizedReq.ValidateAll() if the designated constraints aren't met.
func (ProjectsAuthorizedReqMultiError) AllErrors ¶
func (m ProjectsAuthorizedReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectsAuthorizedReqMultiError) Error ¶
func (m ProjectsAuthorizedReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectsAuthorizedReqValidationError ¶
type ProjectsAuthorizedReqValidationError struct {
// contains filtered or unexported fields
}
ProjectsAuthorizedReqValidationError is the validation error returned by ProjectsAuthorizedReq.Validate if the designated constraints aren't met.
func (ProjectsAuthorizedReqValidationError) Cause ¶
func (e ProjectsAuthorizedReqValidationError) Cause() error
Cause function returns cause value.
func (ProjectsAuthorizedReqValidationError) Error ¶
func (e ProjectsAuthorizedReqValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectsAuthorizedReqValidationError) ErrorName ¶
func (e ProjectsAuthorizedReqValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectsAuthorizedReqValidationError) Field ¶
func (e ProjectsAuthorizedReqValidationError) Field() string
Field function returns field value.
func (ProjectsAuthorizedReqValidationError) Key ¶
func (e ProjectsAuthorizedReqValidationError) Key() bool
Key function returns key value.
func (ProjectsAuthorizedReqValidationError) Reason ¶
func (e ProjectsAuthorizedReqValidationError) Reason() string
Reason function returns reason value.
type ProjectsAuthorizedResp ¶
type ProjectsAuthorizedResp struct { Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProjectsAuthorizedResp) Descriptor
deprecated
func (*ProjectsAuthorizedResp) Descriptor() ([]byte, []int)
Deprecated: Use ProjectsAuthorizedResp.ProtoReflect.Descriptor instead.
func (*ProjectsAuthorizedResp) GetProjects ¶
func (x *ProjectsAuthorizedResp) GetProjects() []string
func (*ProjectsAuthorizedResp) ProtoMessage ¶
func (*ProjectsAuthorizedResp) ProtoMessage()
func (*ProjectsAuthorizedResp) ProtoReflect ¶
func (x *ProjectsAuthorizedResp) ProtoReflect() protoreflect.Message
func (*ProjectsAuthorizedResp) Reset ¶
func (x *ProjectsAuthorizedResp) Reset()
func (*ProjectsAuthorizedResp) String ¶
func (x *ProjectsAuthorizedResp) String() string
func (*ProjectsAuthorizedResp) Validate ¶
func (m *ProjectsAuthorizedResp) Validate() error
Validate checks the field values on ProjectsAuthorizedResp 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 (*ProjectsAuthorizedResp) ValidateAll ¶
func (m *ProjectsAuthorizedResp) ValidateAll() error
ValidateAll checks the field values on ProjectsAuthorizedResp 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 ProjectsAuthorizedRespMultiError, or nil if none found.
type ProjectsAuthorizedRespMultiError ¶
type ProjectsAuthorizedRespMultiError []error
ProjectsAuthorizedRespMultiError is an error wrapping multiple validation errors returned by ProjectsAuthorizedResp.ValidateAll() if the designated constraints aren't met.
func (ProjectsAuthorizedRespMultiError) AllErrors ¶
func (m ProjectsAuthorizedRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProjectsAuthorizedRespMultiError) Error ¶
func (m ProjectsAuthorizedRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProjectsAuthorizedRespValidationError ¶
type ProjectsAuthorizedRespValidationError struct {
// contains filtered or unexported fields
}
ProjectsAuthorizedRespValidationError is the validation error returned by ProjectsAuthorizedResp.Validate if the designated constraints aren't met.
func (ProjectsAuthorizedRespValidationError) Cause ¶
func (e ProjectsAuthorizedRespValidationError) Cause() error
Cause function returns cause value.
func (ProjectsAuthorizedRespValidationError) Error ¶
func (e ProjectsAuthorizedRespValidationError) Error() string
Error satisfies the builtin error interface
func (ProjectsAuthorizedRespValidationError) ErrorName ¶
func (e ProjectsAuthorizedRespValidationError) ErrorName() string
ErrorName returns error name.
func (ProjectsAuthorizedRespValidationError) Field ¶
func (e ProjectsAuthorizedRespValidationError) Field() string
Field function returns field value.
func (ProjectsAuthorizedRespValidationError) Key ¶
func (e ProjectsAuthorizedRespValidationError) Key() bool
Key function returns key value.
func (ProjectsAuthorizedRespValidationError) Reason ¶
func (e ProjectsAuthorizedRespValidationError) Reason() string
Reason function returns reason value.
type ProjectsServiceClient ¶
type ProjectsServiceClient interface { UpdateProject(ctx context.Context, in *UpdateProjectReq, opts ...grpc.CallOption) (*UpdateProjectResp, error) CreateProject(ctx context.Context, in *CreateProjectReq, opts ...grpc.CallOption) (*CreateProjectResp, error) GetProject(ctx context.Context, in *GetProjectReq, opts ...grpc.CallOption) (*GetProjectResp, error) DeleteProject(ctx context.Context, in *DeleteProjectReq, opts ...grpc.CallOption) (*DeleteProjectResp, error) ListProjects(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error) ListProjectsForIntrospection(ctx context.Context, in *ListProjectsReq, opts ...grpc.CallOption) (*ListProjectsResp, error) ApplyRulesStart(ctx context.Context, in *ApplyRulesStartReq, opts ...grpc.CallOption) (*ApplyRulesStartResp, error) ApplyRulesCancel(ctx context.Context, in *ApplyRulesCancelReq, opts ...grpc.CallOption) (*ApplyRulesCancelResp, error) ApplyRulesStatus(ctx context.Context, in *ApplyRulesStatusReq, opts ...grpc.CallOption) (*ApplyRulesStatusResp, error) // "proper" methods go here (and the ones above will be phased out eventually) CreateRule(ctx context.Context, in *CreateRuleReq, opts ...grpc.CallOption) (*CreateRuleResp, error) UpdateRule(ctx context.Context, in *UpdateRuleReq, opts ...grpc.CallOption) (*UpdateRuleResp, error) GetRule(ctx context.Context, in *GetRuleReq, opts ...grpc.CallOption) (*GetRuleResp, error) ListRules(ctx context.Context, in *ListRulesReq, opts ...grpc.CallOption) (*ListRulesResp, error) ListRulesForProject(ctx context.Context, in *ListRulesForProjectReq, opts ...grpc.CallOption) (*ListRulesForProjectResp, error) DeleteRule(ctx context.Context, in *DeleteRuleReq, opts ...grpc.CallOption) (*DeleteRuleResp, error) ListRulesForAllProjects(ctx context.Context, in *ListRulesForAllProjectsReq, opts ...grpc.CallOption) (*ListRulesForAllProjectsResp, error) }
ProjectsServiceClient is the client API for ProjectsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProjectsServiceClient ¶
func NewProjectsServiceClient(cc grpc.ClientConnInterface) ProjectsServiceClient
type ProjectsServiceServer ¶
type ProjectsServiceServer interface { UpdateProject(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectResp, error) GetProject(context.Context, *GetProjectReq) (*GetProjectResp, error) DeleteProject(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsResp, error) ListProjectsForIntrospection(context.Context, *ListProjectsReq) (*ListProjectsResp, error) ApplyRulesStart(context.Context, *ApplyRulesStartReq) (*ApplyRulesStartResp, error) ApplyRulesCancel(context.Context, *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error) ApplyRulesStatus(context.Context, *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error) // "proper" methods go here (and the ones above will be phased out eventually) CreateRule(context.Context, *CreateRuleReq) (*CreateRuleResp, error) UpdateRule(context.Context, *UpdateRuleReq) (*UpdateRuleResp, error) GetRule(context.Context, *GetRuleReq) (*GetRuleResp, error) ListRules(context.Context, *ListRulesReq) (*ListRulesResp, error) ListRulesForProject(context.Context, *ListRulesForProjectReq) (*ListRulesForProjectResp, error) DeleteRule(context.Context, *DeleteRuleReq) (*DeleteRuleResp, error) ListRulesForAllProjects(context.Context, *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error) }
ProjectsServiceServer is the server API for ProjectsService service.
type ProjectsServiceServerMock ¶
type ProjectsServiceServerMock struct { UpdateProjectFunc func(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error) CreateProjectFunc func(context.Context, *CreateProjectReq) (*CreateProjectResp, error) GetProjectFunc func(context.Context, *GetProjectReq) (*GetProjectResp, error) DeleteProjectFunc func(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error) ListProjectsFunc func(context.Context, *ListProjectsReq) (*ListProjectsResp, error) ListProjectsForIntrospectionFunc func(context.Context, *ListProjectsReq) (*ListProjectsResp, error) ApplyRulesStartFunc func(context.Context, *ApplyRulesStartReq) (*ApplyRulesStartResp, error) ApplyRulesCancelFunc func(context.Context, *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error) ApplyRulesStatusFunc func(context.Context, *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error) CreateRuleFunc func(context.Context, *CreateRuleReq) (*CreateRuleResp, error) UpdateRuleFunc func(context.Context, *UpdateRuleReq) (*UpdateRuleResp, error) GetRuleFunc func(context.Context, *GetRuleReq) (*GetRuleResp, error) ListRulesFunc func(context.Context, *ListRulesReq) (*ListRulesResp, error) ListRulesForProjectFunc func(context.Context, *ListRulesForProjectReq) (*ListRulesForProjectResp, error) DeleteRuleFunc func(context.Context, *DeleteRuleReq) (*DeleteRuleResp, error) ListRulesForAllProjectsFunc func(context.Context, *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error) // contains filtered or unexported fields }
ProjectsServiceServerMock is the mock-what-you-want struct that stubs all not-overridden methods with "not implemented" returns
func NewProjectsServiceServerMock ¶
func NewProjectsServiceServerMock() *ProjectsServiceServerMock
NewProjectsServiceServerMock gives you a fresh instance of ProjectsServiceServerMock.
func NewProjectsServiceServerMockWithoutValidation ¶
func NewProjectsServiceServerMockWithoutValidation() *ProjectsServiceServerMock
NewProjectsServiceServerMockWithoutValidation gives you a fresh instance of ProjectsServiceServerMock which does not attempt to validate requests before passing them to their respective '*Func'.
func (*ProjectsServiceServerMock) ApplyRulesCancel ¶
func (m *ProjectsServiceServerMock) ApplyRulesCancel(ctx context.Context, req *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
func (*ProjectsServiceServerMock) ApplyRulesStart ¶
func (m *ProjectsServiceServerMock) ApplyRulesStart(ctx context.Context, req *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
func (*ProjectsServiceServerMock) ApplyRulesStatus ¶
func (m *ProjectsServiceServerMock) ApplyRulesStatus(ctx context.Context, req *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
func (*ProjectsServiceServerMock) CreateProject ¶
func (m *ProjectsServiceServerMock) CreateProject(ctx context.Context, req *CreateProjectReq) (*CreateProjectResp, error)
func (*ProjectsServiceServerMock) CreateRule ¶
func (m *ProjectsServiceServerMock) CreateRule(ctx context.Context, req *CreateRuleReq) (*CreateRuleResp, error)
func (*ProjectsServiceServerMock) DeleteProject ¶
func (m *ProjectsServiceServerMock) DeleteProject(ctx context.Context, req *DeleteProjectReq) (*DeleteProjectResp, error)
func (*ProjectsServiceServerMock) DeleteRule ¶
func (m *ProjectsServiceServerMock) DeleteRule(ctx context.Context, req *DeleteRuleReq) (*DeleteRuleResp, error)
func (*ProjectsServiceServerMock) GetProject ¶
func (m *ProjectsServiceServerMock) GetProject(ctx context.Context, req *GetProjectReq) (*GetProjectResp, error)
func (*ProjectsServiceServerMock) GetRule ¶
func (m *ProjectsServiceServerMock) GetRule(ctx context.Context, req *GetRuleReq) (*GetRuleResp, error)
func (*ProjectsServiceServerMock) ListProjects ¶
func (m *ProjectsServiceServerMock) ListProjects(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
func (*ProjectsServiceServerMock) ListProjectsForIntrospection ¶
func (m *ProjectsServiceServerMock) ListProjectsForIntrospection(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)
func (*ProjectsServiceServerMock) ListRules ¶
func (m *ProjectsServiceServerMock) ListRules(ctx context.Context, req *ListRulesReq) (*ListRulesResp, error)
func (*ProjectsServiceServerMock) ListRulesForAllProjects ¶
func (m *ProjectsServiceServerMock) ListRulesForAllProjects(ctx context.Context, req *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
func (*ProjectsServiceServerMock) ListRulesForProject ¶
func (m *ProjectsServiceServerMock) ListRulesForProject(ctx context.Context, req *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
func (*ProjectsServiceServerMock) Reset ¶
func (m *ProjectsServiceServerMock) Reset()
Reset resets all overridden functions
func (*ProjectsServiceServerMock) UpdateProject ¶
func (m *ProjectsServiceServerMock) UpdateProject(ctx context.Context, req *UpdateProjectReq) (*UpdateProjectResp, error)
func (*ProjectsServiceServerMock) UpdateRule ¶
func (m *ProjectsServiceServerMock) UpdateRule(ctx context.Context, req *UpdateRuleReq) (*UpdateRuleResp, error)
type PurgeSubjectFromPoliciesReq ¶
type PurgeSubjectFromPoliciesReq struct { // Q: Right now, this allows purging subject wildcards (like "user:*"). // -- Do we want to restrict this to only complete subjects? Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty" toml:"subject,omitempty" mapstructure:"subject,omitempty"` // contains filtered or unexported fields }
func (*PurgeSubjectFromPoliciesReq) Descriptor
deprecated
func (*PurgeSubjectFromPoliciesReq) Descriptor() ([]byte, []int)
Deprecated: Use PurgeSubjectFromPoliciesReq.ProtoReflect.Descriptor instead.
func (*PurgeSubjectFromPoliciesReq) GetSubject ¶
func (x *PurgeSubjectFromPoliciesReq) GetSubject() string
func (*PurgeSubjectFromPoliciesReq) ProtoMessage ¶
func (*PurgeSubjectFromPoliciesReq) ProtoMessage()
func (*PurgeSubjectFromPoliciesReq) ProtoReflect ¶
func (x *PurgeSubjectFromPoliciesReq) ProtoReflect() protoreflect.Message
func (*PurgeSubjectFromPoliciesReq) Reset ¶
func (x *PurgeSubjectFromPoliciesReq) Reset()
func (*PurgeSubjectFromPoliciesReq) String ¶
func (x *PurgeSubjectFromPoliciesReq) String() string
func (*PurgeSubjectFromPoliciesReq) Validate ¶
func (m *PurgeSubjectFromPoliciesReq) Validate() error
Validate checks the field values on PurgeSubjectFromPoliciesReq 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 (*PurgeSubjectFromPoliciesReq) ValidateAll ¶
func (m *PurgeSubjectFromPoliciesReq) ValidateAll() error
ValidateAll checks the field values on PurgeSubjectFromPoliciesReq 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 PurgeSubjectFromPoliciesReqMultiError, or nil if none found.
type PurgeSubjectFromPoliciesReqMultiError ¶
type PurgeSubjectFromPoliciesReqMultiError []error
PurgeSubjectFromPoliciesReqMultiError is an error wrapping multiple validation errors returned by PurgeSubjectFromPoliciesReq.ValidateAll() if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesReqMultiError) AllErrors ¶
func (m PurgeSubjectFromPoliciesReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurgeSubjectFromPoliciesReqMultiError) Error ¶
func (m PurgeSubjectFromPoliciesReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurgeSubjectFromPoliciesReqValidationError ¶
type PurgeSubjectFromPoliciesReqValidationError struct {
// contains filtered or unexported fields
}
PurgeSubjectFromPoliciesReqValidationError is the validation error returned by PurgeSubjectFromPoliciesReq.Validate if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesReqValidationError) Cause ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Cause() error
Cause function returns cause value.
func (PurgeSubjectFromPoliciesReqValidationError) Error ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeSubjectFromPoliciesReqValidationError) ErrorName ¶
func (e PurgeSubjectFromPoliciesReqValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeSubjectFromPoliciesReqValidationError) Field ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Field() string
Field function returns field value.
func (PurgeSubjectFromPoliciesReqValidationError) Key ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Key() bool
Key function returns key value.
func (PurgeSubjectFromPoliciesReqValidationError) Reason ¶
func (e PurgeSubjectFromPoliciesReqValidationError) Reason() string
Reason function returns reason value.
type PurgeSubjectFromPoliciesResp ¶
type PurgeSubjectFromPoliciesResp struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty" toml:"ids,omitempty" mapstructure:"ids,omitempty"` // ids is IDs of modified policies // contains filtered or unexported fields }
func (*PurgeSubjectFromPoliciesResp) Descriptor
deprecated
func (*PurgeSubjectFromPoliciesResp) Descriptor() ([]byte, []int)
Deprecated: Use PurgeSubjectFromPoliciesResp.ProtoReflect.Descriptor instead.
func (*PurgeSubjectFromPoliciesResp) GetIds ¶
func (x *PurgeSubjectFromPoliciesResp) GetIds() []string
func (*PurgeSubjectFromPoliciesResp) ProtoMessage ¶
func (*PurgeSubjectFromPoliciesResp) ProtoMessage()
func (*PurgeSubjectFromPoliciesResp) ProtoReflect ¶
func (x *PurgeSubjectFromPoliciesResp) ProtoReflect() protoreflect.Message
func (*PurgeSubjectFromPoliciesResp) Reset ¶
func (x *PurgeSubjectFromPoliciesResp) Reset()
func (*PurgeSubjectFromPoliciesResp) String ¶
func (x *PurgeSubjectFromPoliciesResp) String() string
func (*PurgeSubjectFromPoliciesResp) Validate ¶
func (m *PurgeSubjectFromPoliciesResp) Validate() error
Validate checks the field values on PurgeSubjectFromPoliciesResp 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 (*PurgeSubjectFromPoliciesResp) ValidateAll ¶
func (m *PurgeSubjectFromPoliciesResp) ValidateAll() error
ValidateAll checks the field values on PurgeSubjectFromPoliciesResp 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 PurgeSubjectFromPoliciesRespMultiError, or nil if none found.
type PurgeSubjectFromPoliciesRespMultiError ¶
type PurgeSubjectFromPoliciesRespMultiError []error
PurgeSubjectFromPoliciesRespMultiError is an error wrapping multiple validation errors returned by PurgeSubjectFromPoliciesResp.ValidateAll() if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesRespMultiError) AllErrors ¶
func (m PurgeSubjectFromPoliciesRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PurgeSubjectFromPoliciesRespMultiError) Error ¶
func (m PurgeSubjectFromPoliciesRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PurgeSubjectFromPoliciesRespValidationError ¶
type PurgeSubjectFromPoliciesRespValidationError struct {
// contains filtered or unexported fields
}
PurgeSubjectFromPoliciesRespValidationError is the validation error returned by PurgeSubjectFromPoliciesResp.Validate if the designated constraints aren't met.
func (PurgeSubjectFromPoliciesRespValidationError) Cause ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Cause() error
Cause function returns cause value.
func (PurgeSubjectFromPoliciesRespValidationError) Error ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Error() string
Error satisfies the builtin error interface
func (PurgeSubjectFromPoliciesRespValidationError) ErrorName ¶
func (e PurgeSubjectFromPoliciesRespValidationError) ErrorName() string
ErrorName returns error name.
func (PurgeSubjectFromPoliciesRespValidationError) Field ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Field() string
Field function returns field value.
func (PurgeSubjectFromPoliciesRespValidationError) Key ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Key() bool
Key function returns key value.
func (PurgeSubjectFromPoliciesRespValidationError) Reason ¶
func (e PurgeSubjectFromPoliciesRespValidationError) Reason() string
Reason function returns reason value.
type RemovePolicyMembersReq ¶
type RemovePolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*RemovePolicyMembersReq) Descriptor
deprecated
func (*RemovePolicyMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use RemovePolicyMembersReq.ProtoReflect.Descriptor instead.
func (*RemovePolicyMembersReq) GetId ¶
func (x *RemovePolicyMembersReq) GetId() string
func (*RemovePolicyMembersReq) GetMembers ¶
func (x *RemovePolicyMembersReq) GetMembers() []string
func (*RemovePolicyMembersReq) ProtoMessage ¶
func (*RemovePolicyMembersReq) ProtoMessage()
func (*RemovePolicyMembersReq) ProtoReflect ¶
func (x *RemovePolicyMembersReq) ProtoReflect() protoreflect.Message
func (*RemovePolicyMembersReq) Reset ¶
func (x *RemovePolicyMembersReq) Reset()
func (*RemovePolicyMembersReq) String ¶
func (x *RemovePolicyMembersReq) String() string
func (*RemovePolicyMembersReq) Validate ¶
func (m *RemovePolicyMembersReq) Validate() error
Validate checks the field values on RemovePolicyMembersReq 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 (*RemovePolicyMembersReq) ValidateAll ¶
func (m *RemovePolicyMembersReq) ValidateAll() error
ValidateAll checks the field values on RemovePolicyMembersReq 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 RemovePolicyMembersReqMultiError, or nil if none found.
type RemovePolicyMembersReqMultiError ¶
type RemovePolicyMembersReqMultiError []error
RemovePolicyMembersReqMultiError is an error wrapping multiple validation errors returned by RemovePolicyMembersReq.ValidateAll() if the designated constraints aren't met.
func (RemovePolicyMembersReqMultiError) AllErrors ¶
func (m RemovePolicyMembersReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePolicyMembersReqMultiError) Error ¶
func (m RemovePolicyMembersReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemovePolicyMembersReqValidationError ¶
type RemovePolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
RemovePolicyMembersReqValidationError is the validation error returned by RemovePolicyMembersReq.Validate if the designated constraints aren't met.
func (RemovePolicyMembersReqValidationError) Cause ¶
func (e RemovePolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (RemovePolicyMembersReqValidationError) Error ¶
func (e RemovePolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePolicyMembersReqValidationError) ErrorName ¶
func (e RemovePolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePolicyMembersReqValidationError) Field ¶
func (e RemovePolicyMembersReqValidationError) Field() string
Field function returns field value.
func (RemovePolicyMembersReqValidationError) Key ¶
func (e RemovePolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (RemovePolicyMembersReqValidationError) Reason ¶
func (e RemovePolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type RemovePolicyMembersResp ¶
type RemovePolicyMembersResp struct { Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*RemovePolicyMembersResp) Descriptor
deprecated
func (*RemovePolicyMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use RemovePolicyMembersResp.ProtoReflect.Descriptor instead.
func (*RemovePolicyMembersResp) GetMembers ¶
func (x *RemovePolicyMembersResp) GetMembers() []string
func (*RemovePolicyMembersResp) ProtoMessage ¶
func (*RemovePolicyMembersResp) ProtoMessage()
func (*RemovePolicyMembersResp) ProtoReflect ¶
func (x *RemovePolicyMembersResp) ProtoReflect() protoreflect.Message
func (*RemovePolicyMembersResp) Reset ¶
func (x *RemovePolicyMembersResp) Reset()
func (*RemovePolicyMembersResp) String ¶
func (x *RemovePolicyMembersResp) String() string
func (*RemovePolicyMembersResp) Validate ¶
func (m *RemovePolicyMembersResp) Validate() error
Validate checks the field values on RemovePolicyMembersResp 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 (*RemovePolicyMembersResp) ValidateAll ¶
func (m *RemovePolicyMembersResp) ValidateAll() error
ValidateAll checks the field values on RemovePolicyMembersResp 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 RemovePolicyMembersRespMultiError, or nil if none found.
type RemovePolicyMembersRespMultiError ¶
type RemovePolicyMembersRespMultiError []error
RemovePolicyMembersRespMultiError is an error wrapping multiple validation errors returned by RemovePolicyMembersResp.ValidateAll() if the designated constraints aren't met.
func (RemovePolicyMembersRespMultiError) AllErrors ¶
func (m RemovePolicyMembersRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemovePolicyMembersRespMultiError) Error ¶
func (m RemovePolicyMembersRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemovePolicyMembersRespValidationError ¶
type RemovePolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
RemovePolicyMembersRespValidationError is the validation error returned by RemovePolicyMembersResp.Validate if the designated constraints aren't met.
func (RemovePolicyMembersRespValidationError) Cause ¶
func (e RemovePolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (RemovePolicyMembersRespValidationError) Error ¶
func (e RemovePolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (RemovePolicyMembersRespValidationError) ErrorName ¶
func (e RemovePolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (RemovePolicyMembersRespValidationError) Field ¶
func (e RemovePolicyMembersRespValidationError) Field() string
Field function returns field value.
func (RemovePolicyMembersRespValidationError) Key ¶
func (e RemovePolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (RemovePolicyMembersRespValidationError) Reason ¶
func (e RemovePolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ReplacePolicyMembersReq ¶
type ReplacePolicyMembersReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*ReplacePolicyMembersReq) Descriptor
deprecated
func (*ReplacePolicyMembersReq) Descriptor() ([]byte, []int)
Deprecated: Use ReplacePolicyMembersReq.ProtoReflect.Descriptor instead.
func (*ReplacePolicyMembersReq) GetId ¶
func (x *ReplacePolicyMembersReq) GetId() string
func (*ReplacePolicyMembersReq) GetMembers ¶
func (x *ReplacePolicyMembersReq) GetMembers() []string
func (*ReplacePolicyMembersReq) ProtoMessage ¶
func (*ReplacePolicyMembersReq) ProtoMessage()
func (*ReplacePolicyMembersReq) ProtoReflect ¶
func (x *ReplacePolicyMembersReq) ProtoReflect() protoreflect.Message
func (*ReplacePolicyMembersReq) Reset ¶
func (x *ReplacePolicyMembersReq) Reset()
func (*ReplacePolicyMembersReq) String ¶
func (x *ReplacePolicyMembersReq) String() string
func (*ReplacePolicyMembersReq) Validate ¶
func (m *ReplacePolicyMembersReq) Validate() error
Validate checks the field values on ReplacePolicyMembersReq 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 (*ReplacePolicyMembersReq) ValidateAll ¶
func (m *ReplacePolicyMembersReq) ValidateAll() error
ValidateAll checks the field values on ReplacePolicyMembersReq 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 ReplacePolicyMembersReqMultiError, or nil if none found.
type ReplacePolicyMembersReqMultiError ¶
type ReplacePolicyMembersReqMultiError []error
ReplacePolicyMembersReqMultiError is an error wrapping multiple validation errors returned by ReplacePolicyMembersReq.ValidateAll() if the designated constraints aren't met.
func (ReplacePolicyMembersReqMultiError) AllErrors ¶
func (m ReplacePolicyMembersReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReplacePolicyMembersReqMultiError) Error ¶
func (m ReplacePolicyMembersReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReplacePolicyMembersReqValidationError ¶
type ReplacePolicyMembersReqValidationError struct {
// contains filtered or unexported fields
}
ReplacePolicyMembersReqValidationError is the validation error returned by ReplacePolicyMembersReq.Validate if the designated constraints aren't met.
func (ReplacePolicyMembersReqValidationError) Cause ¶
func (e ReplacePolicyMembersReqValidationError) Cause() error
Cause function returns cause value.
func (ReplacePolicyMembersReqValidationError) Error ¶
func (e ReplacePolicyMembersReqValidationError) Error() string
Error satisfies the builtin error interface
func (ReplacePolicyMembersReqValidationError) ErrorName ¶
func (e ReplacePolicyMembersReqValidationError) ErrorName() string
ErrorName returns error name.
func (ReplacePolicyMembersReqValidationError) Field ¶
func (e ReplacePolicyMembersReqValidationError) Field() string
Field function returns field value.
func (ReplacePolicyMembersReqValidationError) Key ¶
func (e ReplacePolicyMembersReqValidationError) Key() bool
Key function returns key value.
func (ReplacePolicyMembersReqValidationError) Reason ¶
func (e ReplacePolicyMembersReqValidationError) Reason() string
Reason function returns reason value.
type ReplacePolicyMembersResp ¶
type ReplacePolicyMembersResp struct { Members []string `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` // contains filtered or unexported fields }
func (*ReplacePolicyMembersResp) Descriptor
deprecated
func (*ReplacePolicyMembersResp) Descriptor() ([]byte, []int)
Deprecated: Use ReplacePolicyMembersResp.ProtoReflect.Descriptor instead.
func (*ReplacePolicyMembersResp) GetMembers ¶
func (x *ReplacePolicyMembersResp) GetMembers() []string
func (*ReplacePolicyMembersResp) ProtoMessage ¶
func (*ReplacePolicyMembersResp) ProtoMessage()
func (*ReplacePolicyMembersResp) ProtoReflect ¶
func (x *ReplacePolicyMembersResp) ProtoReflect() protoreflect.Message
func (*ReplacePolicyMembersResp) Reset ¶
func (x *ReplacePolicyMembersResp) Reset()
func (*ReplacePolicyMembersResp) String ¶
func (x *ReplacePolicyMembersResp) String() string
func (*ReplacePolicyMembersResp) Validate ¶
func (m *ReplacePolicyMembersResp) Validate() error
Validate checks the field values on ReplacePolicyMembersResp 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 (*ReplacePolicyMembersResp) ValidateAll ¶
func (m *ReplacePolicyMembersResp) ValidateAll() error
ValidateAll checks the field values on ReplacePolicyMembersResp 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 ReplacePolicyMembersRespMultiError, or nil if none found.
type ReplacePolicyMembersRespMultiError ¶
type ReplacePolicyMembersRespMultiError []error
ReplacePolicyMembersRespMultiError is an error wrapping multiple validation errors returned by ReplacePolicyMembersResp.ValidateAll() if the designated constraints aren't met.
func (ReplacePolicyMembersRespMultiError) AllErrors ¶
func (m ReplacePolicyMembersRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReplacePolicyMembersRespMultiError) Error ¶
func (m ReplacePolicyMembersRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReplacePolicyMembersRespValidationError ¶
type ReplacePolicyMembersRespValidationError struct {
// contains filtered or unexported fields
}
ReplacePolicyMembersRespValidationError is the validation error returned by ReplacePolicyMembersResp.Validate if the designated constraints aren't met.
func (ReplacePolicyMembersRespValidationError) Cause ¶
func (e ReplacePolicyMembersRespValidationError) Cause() error
Cause function returns cause value.
func (ReplacePolicyMembersRespValidationError) Error ¶
func (e ReplacePolicyMembersRespValidationError) Error() string
Error satisfies the builtin error interface
func (ReplacePolicyMembersRespValidationError) ErrorName ¶
func (e ReplacePolicyMembersRespValidationError) ErrorName() string
ErrorName returns error name.
func (ReplacePolicyMembersRespValidationError) Field ¶
func (e ReplacePolicyMembersRespValidationError) Field() string
Field function returns field value.
func (ReplacePolicyMembersRespValidationError) Key ¶
func (e ReplacePolicyMembersRespValidationError) Key() bool
Key function returns key value.
func (ReplacePolicyMembersRespValidationError) Reason ¶
func (e ReplacePolicyMembersRespValidationError) Reason() string
Reason function returns reason value.
type ResetToV1Req ¶
type ResetToV1Req struct {
// contains filtered or unexported fields
}
func (*ResetToV1Req) Descriptor
deprecated
func (*ResetToV1Req) Descriptor() ([]byte, []int)
Deprecated: Use ResetToV1Req.ProtoReflect.Descriptor instead.
func (*ResetToV1Req) ProtoMessage ¶
func (*ResetToV1Req) ProtoMessage()
func (*ResetToV1Req) ProtoReflect ¶
func (x *ResetToV1Req) ProtoReflect() protoreflect.Message
func (*ResetToV1Req) Reset ¶
func (x *ResetToV1Req) Reset()
func (*ResetToV1Req) String ¶
func (x *ResetToV1Req) String() string
func (*ResetToV1Req) Validate ¶
func (m *ResetToV1Req) Validate() error
Validate checks the field values on ResetToV1Req 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 (*ResetToV1Req) ValidateAll ¶
func (m *ResetToV1Req) ValidateAll() error
ValidateAll checks the field values on ResetToV1Req 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 ResetToV1ReqMultiError, or nil if none found.
type ResetToV1ReqMultiError ¶
type ResetToV1ReqMultiError []error
ResetToV1ReqMultiError is an error wrapping multiple validation errors returned by ResetToV1Req.ValidateAll() if the designated constraints aren't met.
func (ResetToV1ReqMultiError) AllErrors ¶
func (m ResetToV1ReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetToV1ReqMultiError) Error ¶
func (m ResetToV1ReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetToV1ReqValidationError ¶
type ResetToV1ReqValidationError struct {
// contains filtered or unexported fields
}
ResetToV1ReqValidationError is the validation error returned by ResetToV1Req.Validate if the designated constraints aren't met.
func (ResetToV1ReqValidationError) Cause ¶
func (e ResetToV1ReqValidationError) Cause() error
Cause function returns cause value.
func (ResetToV1ReqValidationError) Error ¶
func (e ResetToV1ReqValidationError) Error() string
Error satisfies the builtin error interface
func (ResetToV1ReqValidationError) ErrorName ¶
func (e ResetToV1ReqValidationError) ErrorName() string
ErrorName returns error name.
func (ResetToV1ReqValidationError) Field ¶
func (e ResetToV1ReqValidationError) Field() string
Field function returns field value.
func (ResetToV1ReqValidationError) Key ¶
func (e ResetToV1ReqValidationError) Key() bool
Key function returns key value.
func (ResetToV1ReqValidationError) Reason ¶
func (e ResetToV1ReqValidationError) Reason() string
Reason function returns reason value.
type ResetToV1Resp ¶
type ResetToV1Resp struct {
// contains filtered or unexported fields
}
func (*ResetToV1Resp) Descriptor
deprecated
func (*ResetToV1Resp) Descriptor() ([]byte, []int)
Deprecated: Use ResetToV1Resp.ProtoReflect.Descriptor instead.
func (*ResetToV1Resp) ProtoMessage ¶
func (*ResetToV1Resp) ProtoMessage()
func (*ResetToV1Resp) ProtoReflect ¶
func (x *ResetToV1Resp) ProtoReflect() protoreflect.Message
func (*ResetToV1Resp) Reset ¶
func (x *ResetToV1Resp) Reset()
func (*ResetToV1Resp) String ¶
func (x *ResetToV1Resp) String() string
func (*ResetToV1Resp) Validate ¶
func (m *ResetToV1Resp) Validate() error
Validate checks the field values on ResetToV1Resp 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 (*ResetToV1Resp) ValidateAll ¶
func (m *ResetToV1Resp) ValidateAll() error
ValidateAll checks the field values on ResetToV1Resp 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 ResetToV1RespMultiError, or nil if none found.
type ResetToV1RespMultiError ¶
type ResetToV1RespMultiError []error
ResetToV1RespMultiError is an error wrapping multiple validation errors returned by ResetToV1Resp.ValidateAll() if the designated constraints aren't met.
func (ResetToV1RespMultiError) AllErrors ¶
func (m ResetToV1RespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResetToV1RespMultiError) Error ¶
func (m ResetToV1RespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResetToV1RespValidationError ¶
type ResetToV1RespValidationError struct {
// contains filtered or unexported fields
}
ResetToV1RespValidationError is the validation error returned by ResetToV1Resp.Validate if the designated constraints aren't met.
func (ResetToV1RespValidationError) Cause ¶
func (e ResetToV1RespValidationError) Cause() error
Cause function returns cause value.
func (ResetToV1RespValidationError) Error ¶
func (e ResetToV1RespValidationError) Error() string
Error satisfies the builtin error interface
func (ResetToV1RespValidationError) ErrorName ¶
func (e ResetToV1RespValidationError) ErrorName() string
ErrorName returns error name.
func (ResetToV1RespValidationError) Field ¶
func (e ResetToV1RespValidationError) Field() string
Field function returns field value.
func (ResetToV1RespValidationError) Key ¶
func (e ResetToV1RespValidationError) Key() bool
Key function returns key value.
func (ResetToV1RespValidationError) Reason ¶
func (e ResetToV1RespValidationError) Reason() string
Reason function returns reason value.
type Role ¶
type Role struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Type Type `` /* 151-byte string literal not displayed */ Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
func (*Role) GetActions ¶
func (*Role) GetProjects ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
func (*Role) Validate ¶
Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Role) ValidateAll ¶
ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.
type 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 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 Statement ¶
type Statement struct { Effect Statement_Effect `` /* 171-byte string literal not displayed */ // inline definitions Resources []string `` /* 133-byte string literal not displayed */ // this RE means: * OR *:verb OR svc:type:verb OR svc:* OR svc:*:verb OR svc:type:* Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` // references Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty" toml:"role,omitempty" mapstructure:"role,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Statement) Descriptor
deprecated
func (*Statement) GetActions ¶
func (*Statement) GetEffect ¶
func (x *Statement) GetEffect() Statement_Effect
func (*Statement) GetProjects ¶
func (*Statement) GetResources ¶
func (*Statement) ProtoMessage ¶
func (*Statement) ProtoMessage()
func (*Statement) ProtoReflect ¶
func (x *Statement) ProtoReflect() protoreflect.Message
func (*Statement) Validate ¶
Validate checks the field values on Statement 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 (*Statement) ValidateAll ¶
ValidateAll checks the field values on Statement 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 StatementMultiError, or nil if none found.
type StatementMultiError ¶
type StatementMultiError []error
StatementMultiError is an error wrapping multiple validation errors returned by Statement.ValidateAll() if the designated constraints aren't met.
func (StatementMultiError) AllErrors ¶
func (m StatementMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatementMultiError) Error ¶
func (m StatementMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatementValidationError ¶
type StatementValidationError struct {
// contains filtered or unexported fields
}
StatementValidationError is the validation error returned by Statement.Validate if the designated constraints aren't met.
func (StatementValidationError) Cause ¶
func (e StatementValidationError) Cause() error
Cause function returns cause value.
func (StatementValidationError) Error ¶
func (e StatementValidationError) Error() string
Error satisfies the builtin error interface
func (StatementValidationError) ErrorName ¶
func (e StatementValidationError) ErrorName() string
ErrorName returns error name.
func (StatementValidationError) Field ¶
func (e StatementValidationError) Field() string
Field function returns field value.
func (StatementValidationError) Key ¶
func (e StatementValidationError) Key() bool
Key function returns key value.
func (StatementValidationError) Reason ¶
func (e StatementValidationError) Reason() string
Reason function returns reason value.
type Statement_Effect ¶
type Statement_Effect int32
const ( Statement_ALLOW Statement_Effect = 0 Statement_DENY Statement_Effect = 1 )
func (Statement_Effect) Descriptor ¶
func (Statement_Effect) Descriptor() protoreflect.EnumDescriptor
func (Statement_Effect) Enum ¶
func (x Statement_Effect) Enum() *Statement_Effect
func (Statement_Effect) EnumDescriptor
deprecated
func (Statement_Effect) EnumDescriptor() ([]byte, []int)
Deprecated: Use Statement_Effect.Descriptor instead.
func (Statement_Effect) Number ¶
func (x Statement_Effect) Number() protoreflect.EnumNumber
func (Statement_Effect) String ¶
func (x Statement_Effect) String() string
func (Statement_Effect) Type ¶
func (Statement_Effect) Type() protoreflect.EnumType
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedAuthorizationServiceServer ¶
type UnimplementedAuthorizationServiceServer struct { }
UnimplementedAuthorizationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedPairs ¶
func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedPairs(context.Context, *FilterAuthorizedPairsReq) (*FilterAuthorizedPairsResp, error)
func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedProjects ¶
func (*UnimplementedAuthorizationServiceServer) FilterAuthorizedProjects(context.Context, *FilterAuthorizedProjectsReq) (*FilterAuthorizedProjectsResp, error)
func (*UnimplementedAuthorizationServiceServer) GetVersion ¶
func (*UnimplementedAuthorizationServiceServer) GetVersion(context.Context, *version.VersionInfoRequest) (*version.VersionInfo, error)
func (*UnimplementedAuthorizationServiceServer) ProjectsAuthorized ¶
func (*UnimplementedAuthorizationServiceServer) ProjectsAuthorized(context.Context, *ProjectsAuthorizedReq) (*ProjectsAuthorizedResp, error)
func (*UnimplementedAuthorizationServiceServer) ValidateProjectAssignment ¶
func (*UnimplementedAuthorizationServiceServer) ValidateProjectAssignment(context.Context, *ValidateProjectAssignmentReq) (*ValidateProjectAssignmentResp, error)
type UnimplementedPoliciesServiceServer ¶
type UnimplementedPoliciesServiceServer struct { }
UnimplementedPoliciesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPoliciesServiceServer) AddPolicyMembers ¶
func (*UnimplementedPoliciesServiceServer) AddPolicyMembers(context.Context, *AddPolicyMembersReq) (*AddPolicyMembersResp, error)
func (*UnimplementedPoliciesServiceServer) CreatePolicy ¶
func (*UnimplementedPoliciesServiceServer) CreatePolicy(context.Context, *CreatePolicyReq) (*Policy, error)
func (*UnimplementedPoliciesServiceServer) CreateRole ¶
func (*UnimplementedPoliciesServiceServer) CreateRole(context.Context, *CreateRoleReq) (*Role, error)
func (*UnimplementedPoliciesServiceServer) DeletePolicy ¶
func (*UnimplementedPoliciesServiceServer) DeletePolicy(context.Context, *DeletePolicyReq) (*DeletePolicyResp, error)
func (*UnimplementedPoliciesServiceServer) DeleteRole ¶
func (*UnimplementedPoliciesServiceServer) DeleteRole(context.Context, *DeleteRoleReq) (*DeleteRoleResp, error)
func (*UnimplementedPoliciesServiceServer) GetPolicy ¶
func (*UnimplementedPoliciesServiceServer) GetPolicy(context.Context, *GetPolicyReq) (*Policy, error)
func (*UnimplementedPoliciesServiceServer) GetPolicyVersion ¶
func (*UnimplementedPoliciesServiceServer) GetPolicyVersion(context.Context, *GetPolicyVersionReq) (*GetPolicyVersionResp, error)
func (*UnimplementedPoliciesServiceServer) GetRole ¶
func (*UnimplementedPoliciesServiceServer) GetRole(context.Context, *GetRoleReq) (*Role, error)
func (*UnimplementedPoliciesServiceServer) ListPolicies ¶
func (*UnimplementedPoliciesServiceServer) ListPolicies(context.Context, *ListPoliciesReq) (*ListPoliciesResp, error)
func (*UnimplementedPoliciesServiceServer) ListPolicyMembers ¶
func (*UnimplementedPoliciesServiceServer) ListPolicyMembers(context.Context, *ListPolicyMembersReq) (*ListPolicyMembersResp, error)
func (*UnimplementedPoliciesServiceServer) ListRoles ¶
func (*UnimplementedPoliciesServiceServer) ListRoles(context.Context, *ListRolesReq) (*ListRolesResp, error)
func (*UnimplementedPoliciesServiceServer) PurgeSubjectFromPolicies ¶
func (*UnimplementedPoliciesServiceServer) PurgeSubjectFromPolicies(context.Context, *PurgeSubjectFromPoliciesReq) (*PurgeSubjectFromPoliciesResp, error)
func (*UnimplementedPoliciesServiceServer) RemovePolicyMembers ¶
func (*UnimplementedPoliciesServiceServer) RemovePolicyMembers(context.Context, *RemovePolicyMembersReq) (*RemovePolicyMembersResp, error)
func (*UnimplementedPoliciesServiceServer) ReplacePolicyMembers ¶
func (*UnimplementedPoliciesServiceServer) ReplacePolicyMembers(context.Context, *ReplacePolicyMembersReq) (*ReplacePolicyMembersResp, error)
func (*UnimplementedPoliciesServiceServer) UpdatePolicy ¶
func (*UnimplementedPoliciesServiceServer) UpdatePolicy(context.Context, *UpdatePolicyReq) (*Policy, error)
func (*UnimplementedPoliciesServiceServer) UpdateRole ¶
func (*UnimplementedPoliciesServiceServer) UpdateRole(context.Context, *UpdateRoleReq) (*Role, error)
type UnimplementedProjectsServiceServer ¶
type UnimplementedProjectsServiceServer struct { }
UnimplementedProjectsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProjectsServiceServer) ApplyRulesCancel ¶
func (*UnimplementedProjectsServiceServer) ApplyRulesCancel(context.Context, *ApplyRulesCancelReq) (*ApplyRulesCancelResp, error)
func (*UnimplementedProjectsServiceServer) ApplyRulesStart ¶
func (*UnimplementedProjectsServiceServer) ApplyRulesStart(context.Context, *ApplyRulesStartReq) (*ApplyRulesStartResp, error)
func (*UnimplementedProjectsServiceServer) ApplyRulesStatus ¶
func (*UnimplementedProjectsServiceServer) ApplyRulesStatus(context.Context, *ApplyRulesStatusReq) (*ApplyRulesStatusResp, error)
func (*UnimplementedProjectsServiceServer) CreateProject ¶
func (*UnimplementedProjectsServiceServer) CreateProject(context.Context, *CreateProjectReq) (*CreateProjectResp, error)
func (*UnimplementedProjectsServiceServer) CreateRule ¶
func (*UnimplementedProjectsServiceServer) CreateRule(context.Context, *CreateRuleReq) (*CreateRuleResp, error)
func (*UnimplementedProjectsServiceServer) DeleteProject ¶
func (*UnimplementedProjectsServiceServer) DeleteProject(context.Context, *DeleteProjectReq) (*DeleteProjectResp, error)
func (*UnimplementedProjectsServiceServer) DeleteRule ¶
func (*UnimplementedProjectsServiceServer) DeleteRule(context.Context, *DeleteRuleReq) (*DeleteRuleResp, error)
func (*UnimplementedProjectsServiceServer) GetProject ¶
func (*UnimplementedProjectsServiceServer) GetProject(context.Context, *GetProjectReq) (*GetProjectResp, error)
func (*UnimplementedProjectsServiceServer) GetRule ¶
func (*UnimplementedProjectsServiceServer) GetRule(context.Context, *GetRuleReq) (*GetRuleResp, error)
func (*UnimplementedProjectsServiceServer) ListProjects ¶
func (*UnimplementedProjectsServiceServer) ListProjects(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
func (*UnimplementedProjectsServiceServer) ListProjectsForIntrospection ¶
func (*UnimplementedProjectsServiceServer) ListProjectsForIntrospection(context.Context, *ListProjectsReq) (*ListProjectsResp, error)
func (*UnimplementedProjectsServiceServer) ListRules ¶
func (*UnimplementedProjectsServiceServer) ListRules(context.Context, *ListRulesReq) (*ListRulesResp, error)
func (*UnimplementedProjectsServiceServer) ListRulesForAllProjects ¶
func (*UnimplementedProjectsServiceServer) ListRulesForAllProjects(context.Context, *ListRulesForAllProjectsReq) (*ListRulesForAllProjectsResp, error)
func (*UnimplementedProjectsServiceServer) ListRulesForProject ¶
func (*UnimplementedProjectsServiceServer) ListRulesForProject(context.Context, *ListRulesForProjectReq) (*ListRulesForProjectResp, error)
func (*UnimplementedProjectsServiceServer) UpdateProject ¶
func (*UnimplementedProjectsServiceServer) UpdateProject(context.Context, *UpdateProjectReq) (*UpdateProjectResp, error)
func (*UnimplementedProjectsServiceServer) UpdateRule ¶
func (*UnimplementedProjectsServiceServer) UpdateRule(context.Context, *UpdateRuleReq) (*UpdateRuleResp, error)
type UpdatePolicyReq ¶
type UpdatePolicyReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty" toml:"members,omitempty" mapstructure:"members,omitempty"` Statements []*Statement `` /* 137-byte string literal not displayed */ Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Note that update does not accept a type since users can only create custom type policies.
func (*UpdatePolicyReq) Descriptor
deprecated
func (*UpdatePolicyReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyReq.ProtoReflect.Descriptor instead.
func (*UpdatePolicyReq) GetId ¶
func (x *UpdatePolicyReq) GetId() string
func (*UpdatePolicyReq) GetMembers ¶
func (x *UpdatePolicyReq) GetMembers() []string
func (*UpdatePolicyReq) GetName ¶
func (x *UpdatePolicyReq) GetName() string
func (*UpdatePolicyReq) GetProjects ¶
func (x *UpdatePolicyReq) GetProjects() []string
func (*UpdatePolicyReq) GetStatements ¶
func (x *UpdatePolicyReq) GetStatements() []*Statement
func (*UpdatePolicyReq) ProtoMessage ¶
func (*UpdatePolicyReq) ProtoMessage()
func (*UpdatePolicyReq) ProtoReflect ¶
func (x *UpdatePolicyReq) ProtoReflect() protoreflect.Message
func (*UpdatePolicyReq) Reset ¶
func (x *UpdatePolicyReq) Reset()
func (*UpdatePolicyReq) String ¶
func (x *UpdatePolicyReq) String() string
func (*UpdatePolicyReq) Validate ¶
func (m *UpdatePolicyReq) Validate() error
Validate checks the field values on UpdatePolicyReq 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 (*UpdatePolicyReq) ValidateAll ¶
func (m *UpdatePolicyReq) ValidateAll() error
ValidateAll checks the field values on UpdatePolicyReq 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 UpdatePolicyReqMultiError, or nil if none found.
type UpdatePolicyReqMultiError ¶
type UpdatePolicyReqMultiError []error
UpdatePolicyReqMultiError is an error wrapping multiple validation errors returned by UpdatePolicyReq.ValidateAll() if the designated constraints aren't met.
func (UpdatePolicyReqMultiError) AllErrors ¶
func (m UpdatePolicyReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePolicyReqMultiError) Error ¶
func (m UpdatePolicyReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePolicyReqValidationError ¶
type UpdatePolicyReqValidationError struct {
// contains filtered or unexported fields
}
UpdatePolicyReqValidationError is the validation error returned by UpdatePolicyReq.Validate if the designated constraints aren't met.
func (UpdatePolicyReqValidationError) Cause ¶
func (e UpdatePolicyReqValidationError) Cause() error
Cause function returns cause value.
func (UpdatePolicyReqValidationError) Error ¶
func (e UpdatePolicyReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePolicyReqValidationError) ErrorName ¶
func (e UpdatePolicyReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePolicyReqValidationError) Field ¶
func (e UpdatePolicyReqValidationError) Field() string
Field function returns field value.
func (UpdatePolicyReqValidationError) Key ¶
func (e UpdatePolicyReqValidationError) Key() bool
Key function returns key value.
func (UpdatePolicyReqValidationError) Reason ¶
func (e UpdatePolicyReqValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectReq ¶
type UpdateProjectReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectReq) Descriptor
deprecated
func (*UpdateProjectReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectReq.ProtoReflect.Descriptor instead.
func (*UpdateProjectReq) GetId ¶
func (x *UpdateProjectReq) GetId() string
func (*UpdateProjectReq) GetName ¶
func (x *UpdateProjectReq) GetName() string
func (*UpdateProjectReq) ProtoMessage ¶
func (*UpdateProjectReq) ProtoMessage()
func (*UpdateProjectReq) ProtoReflect ¶
func (x *UpdateProjectReq) ProtoReflect() protoreflect.Message
func (*UpdateProjectReq) Reset ¶
func (x *UpdateProjectReq) Reset()
func (*UpdateProjectReq) String ¶
func (x *UpdateProjectReq) String() string
func (*UpdateProjectReq) Validate ¶
func (m *UpdateProjectReq) Validate() error
Validate checks the field values on UpdateProjectReq 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 (*UpdateProjectReq) ValidateAll ¶
func (m *UpdateProjectReq) ValidateAll() error
ValidateAll checks the field values on UpdateProjectReq 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 UpdateProjectReqMultiError, or nil if none found.
type UpdateProjectReqMultiError ¶
type UpdateProjectReqMultiError []error
UpdateProjectReqMultiError is an error wrapping multiple validation errors returned by UpdateProjectReq.ValidateAll() if the designated constraints aren't met.
func (UpdateProjectReqMultiError) AllErrors ¶
func (m UpdateProjectReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProjectReqMultiError) Error ¶
func (m UpdateProjectReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProjectReqValidationError ¶
type UpdateProjectReqValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectReqValidationError is the validation error returned by UpdateProjectReq.Validate if the designated constraints aren't met.
func (UpdateProjectReqValidationError) Cause ¶
func (e UpdateProjectReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectReqValidationError) Error ¶
func (e UpdateProjectReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectReqValidationError) ErrorName ¶
func (e UpdateProjectReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectReqValidationError) Field ¶
func (e UpdateProjectReqValidationError) Field() string
Field function returns field value.
func (UpdateProjectReqValidationError) Key ¶
func (e UpdateProjectReqValidationError) Key() bool
Key function returns key value.
func (UpdateProjectReqValidationError) Reason ¶
func (e UpdateProjectReqValidationError) Reason() string
Reason function returns reason value.
type UpdateProjectResp ¶
type UpdateProjectResp struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" toml:"project,omitempty" mapstructure:"project,omitempty"` // contains filtered or unexported fields }
func (*UpdateProjectResp) Descriptor
deprecated
func (*UpdateProjectResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProjectResp.ProtoReflect.Descriptor instead.
func (*UpdateProjectResp) GetProject ¶
func (x *UpdateProjectResp) GetProject() *Project
func (*UpdateProjectResp) ProtoMessage ¶
func (*UpdateProjectResp) ProtoMessage()
func (*UpdateProjectResp) ProtoReflect ¶
func (x *UpdateProjectResp) ProtoReflect() protoreflect.Message
func (*UpdateProjectResp) Reset ¶
func (x *UpdateProjectResp) Reset()
func (*UpdateProjectResp) String ¶
func (x *UpdateProjectResp) String() string
func (*UpdateProjectResp) Validate ¶
func (m *UpdateProjectResp) Validate() error
Validate checks the field values on UpdateProjectResp 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 (*UpdateProjectResp) ValidateAll ¶
func (m *UpdateProjectResp) ValidateAll() error
ValidateAll checks the field values on UpdateProjectResp 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 UpdateProjectRespMultiError, or nil if none found.
type UpdateProjectRespMultiError ¶
type UpdateProjectRespMultiError []error
UpdateProjectRespMultiError is an error wrapping multiple validation errors returned by UpdateProjectResp.ValidateAll() if the designated constraints aren't met.
func (UpdateProjectRespMultiError) AllErrors ¶
func (m UpdateProjectRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateProjectRespMultiError) Error ¶
func (m UpdateProjectRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateProjectRespValidationError ¶
type UpdateProjectRespValidationError struct {
// contains filtered or unexported fields
}
UpdateProjectRespValidationError is the validation error returned by UpdateProjectResp.Validate if the designated constraints aren't met.
func (UpdateProjectRespValidationError) Cause ¶
func (e UpdateProjectRespValidationError) Cause() error
Cause function returns cause value.
func (UpdateProjectRespValidationError) Error ¶
func (e UpdateProjectRespValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProjectRespValidationError) ErrorName ¶
func (e UpdateProjectRespValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProjectRespValidationError) Field ¶
func (e UpdateProjectRespValidationError) Field() string
Field function returns field value.
func (UpdateProjectRespValidationError) Key ¶
func (e UpdateProjectRespValidationError) Key() bool
Key function returns key value.
func (UpdateProjectRespValidationError) Reason ¶
func (e UpdateProjectRespValidationError) Reason() string
Reason function returns reason value.
type UpdateRoleReq ¶
type UpdateRoleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty" toml:"actions,omitempty" mapstructure:"actions,omitempty"` Projects []string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRoleReq) Descriptor
deprecated
func (*UpdateRoleReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoleReq.ProtoReflect.Descriptor instead.
func (*UpdateRoleReq) GetActions ¶
func (x *UpdateRoleReq) GetActions() []string
func (*UpdateRoleReq) GetId ¶
func (x *UpdateRoleReq) GetId() string
func (*UpdateRoleReq) GetName ¶
func (x *UpdateRoleReq) GetName() string
func (*UpdateRoleReq) GetProjects ¶
func (x *UpdateRoleReq) GetProjects() []string
func (*UpdateRoleReq) ProtoMessage ¶
func (*UpdateRoleReq) ProtoMessage()
func (*UpdateRoleReq) ProtoReflect ¶
func (x *UpdateRoleReq) ProtoReflect() protoreflect.Message
func (*UpdateRoleReq) Reset ¶
func (x *UpdateRoleReq) Reset()
func (*UpdateRoleReq) String ¶
func (x *UpdateRoleReq) String() string
func (*UpdateRoleReq) Validate ¶
func (m *UpdateRoleReq) Validate() error
Validate checks the field values on UpdateRoleReq 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 (*UpdateRoleReq) ValidateAll ¶
func (m *UpdateRoleReq) ValidateAll() error
ValidateAll checks the field values on UpdateRoleReq 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 UpdateRoleReqMultiError, or nil if none found.
type UpdateRoleReqMultiError ¶
type UpdateRoleReqMultiError []error
UpdateRoleReqMultiError is an error wrapping multiple validation errors returned by UpdateRoleReq.ValidateAll() if the designated constraints aren't met.
func (UpdateRoleReqMultiError) AllErrors ¶
func (m UpdateRoleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRoleReqMultiError) Error ¶
func (m UpdateRoleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRoleReqValidationError ¶
type UpdateRoleReqValidationError struct {
// contains filtered or unexported fields
}
UpdateRoleReqValidationError is the validation error returned by UpdateRoleReq.Validate if the designated constraints aren't met.
func (UpdateRoleReqValidationError) Cause ¶
func (e UpdateRoleReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateRoleReqValidationError) Error ¶
func (e UpdateRoleReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRoleReqValidationError) ErrorName ¶
func (e UpdateRoleReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRoleReqValidationError) Field ¶
func (e UpdateRoleReqValidationError) Field() string
Field function returns field value.
func (UpdateRoleReqValidationError) Key ¶
func (e UpdateRoleReqValidationError) Key() bool
Key function returns key value.
func (UpdateRoleReqValidationError) Reason ¶
func (e UpdateRoleReqValidationError) Reason() string
Reason function returns reason value.
type UpdateRuleReq ¶
type UpdateRuleReq struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" mapstructure:"id,omitempty"` ProjectId string `` /* 152-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"` Type ProjectRuleTypes `` /* 163-byte string literal not displayed */ Conditions []*Condition `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateRuleReq) Descriptor
deprecated
func (*UpdateRuleReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleReq.ProtoReflect.Descriptor instead.
func (*UpdateRuleReq) GetConditions ¶
func (x *UpdateRuleReq) GetConditions() []*Condition
func (*UpdateRuleReq) GetId ¶
func (x *UpdateRuleReq) GetId() string
func (*UpdateRuleReq) GetName ¶
func (x *UpdateRuleReq) GetName() string
func (*UpdateRuleReq) GetProjectId ¶
func (x *UpdateRuleReq) GetProjectId() string
func (*UpdateRuleReq) GetType ¶
func (x *UpdateRuleReq) GetType() ProjectRuleTypes
func (*UpdateRuleReq) ProtoMessage ¶
func (*UpdateRuleReq) ProtoMessage()
func (*UpdateRuleReq) ProtoReflect ¶
func (x *UpdateRuleReq) ProtoReflect() protoreflect.Message
func (*UpdateRuleReq) Reset ¶
func (x *UpdateRuleReq) Reset()
func (*UpdateRuleReq) String ¶
func (x *UpdateRuleReq) String() string
func (*UpdateRuleReq) Validate ¶
func (m *UpdateRuleReq) Validate() error
Validate checks the field values on UpdateRuleReq 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 (*UpdateRuleReq) ValidateAll ¶
func (m *UpdateRuleReq) ValidateAll() error
ValidateAll checks the field values on UpdateRuleReq 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 UpdateRuleReqMultiError, or nil if none found.
type UpdateRuleReqMultiError ¶
type UpdateRuleReqMultiError []error
UpdateRuleReqMultiError is an error wrapping multiple validation errors returned by UpdateRuleReq.ValidateAll() if the designated constraints aren't met.
func (UpdateRuleReqMultiError) AllErrors ¶
func (m UpdateRuleReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRuleReqMultiError) Error ¶
func (m UpdateRuleReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRuleReqValidationError ¶
type UpdateRuleReqValidationError struct {
// contains filtered or unexported fields
}
UpdateRuleReqValidationError is the validation error returned by UpdateRuleReq.Validate if the designated constraints aren't met.
func (UpdateRuleReqValidationError) Cause ¶
func (e UpdateRuleReqValidationError) Cause() error
Cause function returns cause value.
func (UpdateRuleReqValidationError) Error ¶
func (e UpdateRuleReqValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRuleReqValidationError) ErrorName ¶
func (e UpdateRuleReqValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRuleReqValidationError) Field ¶
func (e UpdateRuleReqValidationError) Field() string
Field function returns field value.
func (UpdateRuleReqValidationError) Key ¶
func (e UpdateRuleReqValidationError) Key() bool
Key function returns key value.
func (UpdateRuleReqValidationError) Reason ¶
func (e UpdateRuleReqValidationError) Reason() string
Reason function returns reason value.
type UpdateRuleResp ¶
type UpdateRuleResp struct { Rule *ProjectRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty" toml:"rule,omitempty" mapstructure:"rule,omitempty"` // contains filtered or unexported fields }
func (*UpdateRuleResp) Descriptor
deprecated
func (*UpdateRuleResp) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRuleResp.ProtoReflect.Descriptor instead.
func (*UpdateRuleResp) GetRule ¶
func (x *UpdateRuleResp) GetRule() *ProjectRule
func (*UpdateRuleResp) ProtoMessage ¶
func (*UpdateRuleResp) ProtoMessage()
func (*UpdateRuleResp) ProtoReflect ¶
func (x *UpdateRuleResp) ProtoReflect() protoreflect.Message
func (*UpdateRuleResp) Reset ¶
func (x *UpdateRuleResp) Reset()
func (*UpdateRuleResp) String ¶
func (x *UpdateRuleResp) String() string
func (*UpdateRuleResp) Validate ¶
func (m *UpdateRuleResp) Validate() error
Validate checks the field values on UpdateRuleResp 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 (*UpdateRuleResp) ValidateAll ¶
func (m *UpdateRuleResp) ValidateAll() error
ValidateAll checks the field values on UpdateRuleResp 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 UpdateRuleRespMultiError, or nil if none found.
type UpdateRuleRespMultiError ¶
type UpdateRuleRespMultiError []error
UpdateRuleRespMultiError is an error wrapping multiple validation errors returned by UpdateRuleResp.ValidateAll() if the designated constraints aren't met.
func (UpdateRuleRespMultiError) AllErrors ¶
func (m UpdateRuleRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateRuleRespMultiError) Error ¶
func (m UpdateRuleRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateRuleRespValidationError ¶
type UpdateRuleRespValidationError struct {
// contains filtered or unexported fields
}
UpdateRuleRespValidationError is the validation error returned by UpdateRuleResp.Validate if the designated constraints aren't met.
func (UpdateRuleRespValidationError) Cause ¶
func (e UpdateRuleRespValidationError) Cause() error
Cause function returns cause value.
func (UpdateRuleRespValidationError) Error ¶
func (e UpdateRuleRespValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateRuleRespValidationError) ErrorName ¶
func (e UpdateRuleRespValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateRuleRespValidationError) Field ¶
func (e UpdateRuleRespValidationError) Field() string
Field function returns field value.
func (UpdateRuleRespValidationError) Key ¶
func (e UpdateRuleRespValidationError) Key() bool
Key function returns key value.
func (UpdateRuleRespValidationError) Reason ¶
func (e UpdateRuleRespValidationError) Reason() string
Reason function returns reason value.
type ValidateProjectAssignmentReq ¶
type ValidateProjectAssignmentReq struct { Subjects []string `` /* 129-byte string literal not displayed */ OldProjects []string `` /* 162-byte string literal not displayed */ NewProjects []string `` /* 162-byte string literal not displayed */ IsUpdateRequest bool `` /* 187-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ValidateProjectAssignmentReq) Descriptor
deprecated
func (*ValidateProjectAssignmentReq) Descriptor() ([]byte, []int)
Deprecated: Use ValidateProjectAssignmentReq.ProtoReflect.Descriptor instead.
func (*ValidateProjectAssignmentReq) GetIsUpdateRequest ¶
func (x *ValidateProjectAssignmentReq) GetIsUpdateRequest() bool
func (*ValidateProjectAssignmentReq) GetNewProjects ¶
func (x *ValidateProjectAssignmentReq) GetNewProjects() []string
func (*ValidateProjectAssignmentReq) GetOldProjects ¶
func (x *ValidateProjectAssignmentReq) GetOldProjects() []string
func (*ValidateProjectAssignmentReq) GetSubjects ¶
func (x *ValidateProjectAssignmentReq) GetSubjects() []string
func (*ValidateProjectAssignmentReq) ProtoMessage ¶
func (*ValidateProjectAssignmentReq) ProtoMessage()
func (*ValidateProjectAssignmentReq) ProtoReflect ¶
func (x *ValidateProjectAssignmentReq) ProtoReflect() protoreflect.Message
func (*ValidateProjectAssignmentReq) Reset ¶
func (x *ValidateProjectAssignmentReq) Reset()
func (*ValidateProjectAssignmentReq) String ¶
func (x *ValidateProjectAssignmentReq) String() string
func (*ValidateProjectAssignmentReq) Validate ¶
func (m *ValidateProjectAssignmentReq) Validate() error
Validate checks the field values on ValidateProjectAssignmentReq 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 (*ValidateProjectAssignmentReq) ValidateAll ¶
func (m *ValidateProjectAssignmentReq) ValidateAll() error
ValidateAll checks the field values on ValidateProjectAssignmentReq 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 ValidateProjectAssignmentReqMultiError, or nil if none found.
type ValidateProjectAssignmentReqMultiError ¶
type ValidateProjectAssignmentReqMultiError []error
ValidateProjectAssignmentReqMultiError is an error wrapping multiple validation errors returned by ValidateProjectAssignmentReq.ValidateAll() if the designated constraints aren't met.
func (ValidateProjectAssignmentReqMultiError) AllErrors ¶
func (m ValidateProjectAssignmentReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateProjectAssignmentReqMultiError) Error ¶
func (m ValidateProjectAssignmentReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateProjectAssignmentReqValidationError ¶
type ValidateProjectAssignmentReqValidationError struct {
// contains filtered or unexported fields
}
ValidateProjectAssignmentReqValidationError is the validation error returned by ValidateProjectAssignmentReq.Validate if the designated constraints aren't met.
func (ValidateProjectAssignmentReqValidationError) Cause ¶
func (e ValidateProjectAssignmentReqValidationError) Cause() error
Cause function returns cause value.
func (ValidateProjectAssignmentReqValidationError) Error ¶
func (e ValidateProjectAssignmentReqValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateProjectAssignmentReqValidationError) ErrorName ¶
func (e ValidateProjectAssignmentReqValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateProjectAssignmentReqValidationError) Field ¶
func (e ValidateProjectAssignmentReqValidationError) Field() string
Field function returns field value.
func (ValidateProjectAssignmentReqValidationError) Key ¶
func (e ValidateProjectAssignmentReqValidationError) Key() bool
Key function returns key value.
func (ValidateProjectAssignmentReqValidationError) Reason ¶
func (e ValidateProjectAssignmentReqValidationError) Reason() string
Reason function returns reason value.
type ValidateProjectAssignmentResp ¶
type ValidateProjectAssignmentResp struct {
// contains filtered or unexported fields
}
func (*ValidateProjectAssignmentResp) Descriptor
deprecated
func (*ValidateProjectAssignmentResp) Descriptor() ([]byte, []int)
Deprecated: Use ValidateProjectAssignmentResp.ProtoReflect.Descriptor instead.
func (*ValidateProjectAssignmentResp) ProtoMessage ¶
func (*ValidateProjectAssignmentResp) ProtoMessage()
func (*ValidateProjectAssignmentResp) ProtoReflect ¶
func (x *ValidateProjectAssignmentResp) ProtoReflect() protoreflect.Message
func (*ValidateProjectAssignmentResp) Reset ¶
func (x *ValidateProjectAssignmentResp) Reset()
func (*ValidateProjectAssignmentResp) String ¶
func (x *ValidateProjectAssignmentResp) String() string
func (*ValidateProjectAssignmentResp) Validate ¶
func (m *ValidateProjectAssignmentResp) Validate() error
Validate checks the field values on ValidateProjectAssignmentResp 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 (*ValidateProjectAssignmentResp) ValidateAll ¶
func (m *ValidateProjectAssignmentResp) ValidateAll() error
ValidateAll checks the field values on ValidateProjectAssignmentResp 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 ValidateProjectAssignmentRespMultiError, or nil if none found.
type ValidateProjectAssignmentRespMultiError ¶
type ValidateProjectAssignmentRespMultiError []error
ValidateProjectAssignmentRespMultiError is an error wrapping multiple validation errors returned by ValidateProjectAssignmentResp.ValidateAll() if the designated constraints aren't met.
func (ValidateProjectAssignmentRespMultiError) AllErrors ¶
func (m ValidateProjectAssignmentRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidateProjectAssignmentRespMultiError) Error ¶
func (m ValidateProjectAssignmentRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidateProjectAssignmentRespValidationError ¶
type ValidateProjectAssignmentRespValidationError struct {
// contains filtered or unexported fields
}
ValidateProjectAssignmentRespValidationError is the validation error returned by ValidateProjectAssignmentResp.Validate if the designated constraints aren't met.
func (ValidateProjectAssignmentRespValidationError) Cause ¶
func (e ValidateProjectAssignmentRespValidationError) Cause() error
Cause function returns cause value.
func (ValidateProjectAssignmentRespValidationError) Error ¶
func (e ValidateProjectAssignmentRespValidationError) Error() string
Error satisfies the builtin error interface
func (ValidateProjectAssignmentRespValidationError) ErrorName ¶
func (e ValidateProjectAssignmentRespValidationError) ErrorName() string
ErrorName returns error name.
func (ValidateProjectAssignmentRespValidationError) Field ¶
func (e ValidateProjectAssignmentRespValidationError) Field() string
Field function returns field value.
func (ValidateProjectAssignmentRespValidationError) Key ¶
func (e ValidateProjectAssignmentRespValidationError) Key() bool
Key function returns key value.
func (ValidateProjectAssignmentRespValidationError) Reason ¶
func (e ValidateProjectAssignmentRespValidationError) Reason() string
Reason function returns reason value.
type Version ¶
type Version struct { Major Version_VersionNumber `` /* 172-byte string literal not displayed */ Minor Version_VersionNumber `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
the only values that may be returned by GetPolicyVersion
func (*Version) Descriptor
deprecated
func (*Version) GetMajor ¶
func (x *Version) GetMajor() Version_VersionNumber
func (*Version) GetMinor ¶
func (x *Version) GetMinor() Version_VersionNumber
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) Validate ¶
Validate checks the field values on Version 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 (*Version) ValidateAll ¶
ValidateAll checks the field values on Version 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 VersionMultiError, or nil if none found.
type VersionMultiError ¶
type VersionMultiError []error
VersionMultiError is an error wrapping multiple validation errors returned by Version.ValidateAll() if the designated constraints aren't met.
func (VersionMultiError) AllErrors ¶
func (m VersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VersionMultiError) Error ¶
func (m VersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VersionValidationError ¶
type VersionValidationError struct {
// contains filtered or unexported fields
}
VersionValidationError is the validation error returned by Version.Validate if the designated constraints aren't met.
func (VersionValidationError) Cause ¶
func (e VersionValidationError) Cause() error
Cause function returns cause value.
func (VersionValidationError) Error ¶
func (e VersionValidationError) Error() string
Error satisfies the builtin error interface
func (VersionValidationError) ErrorName ¶
func (e VersionValidationError) ErrorName() string
ErrorName returns error name.
func (VersionValidationError) Field ¶
func (e VersionValidationError) Field() string
Field function returns field value.
func (VersionValidationError) Key ¶
func (e VersionValidationError) Key() bool
Key function returns key value.
func (VersionValidationError) Reason ¶
func (e VersionValidationError) Reason() string
Reason function returns reason value.
type Version_VersionNumber ¶
type Version_VersionNumber int32
const ( Version_V0 Version_VersionNumber = 0 Version_V1 Version_VersionNumber = 1 Version_V2 Version_VersionNumber = 2 )
func (Version_VersionNumber) Descriptor ¶
func (Version_VersionNumber) Descriptor() protoreflect.EnumDescriptor
func (Version_VersionNumber) Enum ¶
func (x Version_VersionNumber) Enum() *Version_VersionNumber
func (Version_VersionNumber) EnumDescriptor
deprecated
func (Version_VersionNumber) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_VersionNumber.Descriptor instead.
func (Version_VersionNumber) Number ¶
func (x Version_VersionNumber) Number() protoreflect.EnumNumber
func (Version_VersionNumber) String ¶
func (x Version_VersionNumber) String() string
func (Version_VersionNumber) Type ¶
func (Version_VersionNumber) Type() protoreflect.EnumType