authz

package
v0.0.0-...-b678ec0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: Apache-2.0 Imports: 24 Imported by: 11

Documentation

Overview

Package authz is a generated GoMock package.

Package authz is a generated GoMock package.

Index

Constants

This section is empty.

Variables

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

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

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

View Source
var (
	ProjectRuleTypes_name = map[int32]string{
		0: "NODE",
		1: "EVENT",
	}
	ProjectRuleTypes_value = map[string]int32{
		"NODE":  0,
		"EVENT": 1,
	}
)

Enum value maps for ProjectRuleTypes.

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

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

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

View Source
var File_interservice_authz_authz_proto protoreflect.FileDescriptor
View Source
var File_interservice_authz_policy_proto protoreflect.FileDescriptor
View Source
var File_interservice_authz_project_proto protoreflect.FileDescriptor
View Source
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

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

Cause function returns cause value.

func (AddPolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (AddPolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (AddPolicyMembersReqValidationError) Field

Field function returns field value.

func (AddPolicyMembersReqValidationError) Key

Key function returns key value.

func (AddPolicyMembersReqValidationError) Reason

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

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

Cause function returns cause value.

func (AddPolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (AddPolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (AddPolicyMembersRespValidationError) Field

Field function returns field value.

func (AddPolicyMembersRespValidationError) Key

Key function returns key value.

func (AddPolicyMembersRespValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesCancelReqValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesCancelReqValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesCancelReqValidationError) Field

Field function returns field value.

func (ApplyRulesCancelReqValidationError) Key

Key function returns key value.

func (ApplyRulesCancelReqValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesCancelRespValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesCancelRespValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesCancelRespValidationError) Field

Field function returns field value.

func (ApplyRulesCancelRespValidationError) Key

Key function returns key value.

func (ApplyRulesCancelRespValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesStartReqValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesStartReqValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesStartReqValidationError) Field

Field function returns field value.

func (ApplyRulesStartReqValidationError) Key

Key function returns key value.

func (ApplyRulesStartReqValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesStartRespValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesStartRespValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesStartRespValidationError) Field

Field function returns field value.

func (ApplyRulesStartRespValidationError) Key

Key function returns key value.

func (ApplyRulesStartRespValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesStatusReqValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesStatusReqValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesStatusReqValidationError) Field

Field function returns field value.

func (ApplyRulesStatusReqValidationError) Key

Key function returns key value.

func (ApplyRulesStatusReqValidationError) Reason

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

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

Cause function returns cause value.

func (ApplyRulesStatusRespValidationError) Error

Error satisfies the builtin error interface

func (ApplyRulesStatusRespValidationError) ErrorName

ErrorName returns error name.

func (ApplyRulesStatusRespValidationError) Field

Field function returns field value.

func (ApplyRulesStatusRespValidationError) Key

Key function returns key value.

func (ApplyRulesStatusRespValidationError) Reason

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.

type AuthorizationServiceServer

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 (*AuthorizationServiceServerMock) FilterAuthorizedProjects

func (*AuthorizationServiceServerMock) GetVersion

func (*AuthorizationServiceServerMock) ProjectsAuthorized

func (*AuthorizationServiceServerMock) Reset

func (m *AuthorizationServiceServerMock) Reset()

Reset resets all overridden functions

func (*AuthorizationServiceServerMock) ValidateProjectAssignment

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetAttribute

func (x *Condition) GetAttribute() ProjectRuleConditionAttributes

func (*Condition) GetOperator

func (x *Condition) GetOperator() ProjectRuleConditionOperators

func (*Condition) GetValues

func (x *Condition) GetValues() []string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

func (*Condition) Validate

func (m *Condition) Validate() error

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

func (m *Condition) ValidateAll() error

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

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

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

Cause function returns cause value.

func (CreatePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (CreatePolicyReqValidationError) ErrorName

func (e CreatePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreatePolicyReqValidationError) Field

Field function returns field value.

func (CreatePolicyReqValidationError) Key

Key function returns key value.

func (CreatePolicyReqValidationError) Reason

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

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

Cause function returns cause value.

func (CreateProjectReqValidationError) Error

Error satisfies the builtin error interface

func (CreateProjectReqValidationError) ErrorName

ErrorName returns error name.

func (CreateProjectReqValidationError) Field

Field function returns field value.

func (CreateProjectReqValidationError) Key

Key function returns key value.

func (CreateProjectReqValidationError) Reason

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

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

Cause function returns cause value.

func (CreateProjectRespValidationError) Error

Error satisfies the builtin error interface

func (CreateProjectRespValidationError) ErrorName

ErrorName returns error name.

func (CreateProjectRespValidationError) Field

Field function returns field value.

func (CreateProjectRespValidationError) Key

Key function returns key value.

func (CreateProjectRespValidationError) Reason

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

Cause function returns cause value.

func (CreateRoleReqValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleReqValidationError) ErrorName

func (e CreateRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRoleReqValidationError) Field

Field function returns field value.

func (CreateRoleReqValidationError) Key

Key function returns key value.

func (CreateRoleReqValidationError) Reason

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

Cause function returns cause value.

func (CreateRuleReqValidationError) Error

Error satisfies the builtin error interface

func (CreateRuleReqValidationError) ErrorName

func (e CreateRuleReqValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRuleReqValidationError) Field

Field function returns field value.

func (CreateRuleReqValidationError) Key

Key function returns key value.

func (CreateRuleReqValidationError) Reason

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

Cause function returns cause value.

func (CreateRuleRespValidationError) Error

Error satisfies the builtin error interface

func (CreateRuleRespValidationError) ErrorName

func (e CreateRuleRespValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRuleRespValidationError) Field

Field function returns field value.

func (CreateRuleRespValidationError) Key

Key function returns key value.

func (CreateRuleRespValidationError) Reason

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

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

Cause function returns cause value.

func (DeletePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (DeletePolicyReqValidationError) ErrorName

func (e DeletePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeletePolicyReqValidationError) Field

Field function returns field value.

func (DeletePolicyReqValidationError) Key

Key function returns key value.

func (DeletePolicyReqValidationError) Reason

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

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

Cause function returns cause value.

func (DeletePolicyRespValidationError) Error

Error satisfies the builtin error interface

func (DeletePolicyRespValidationError) ErrorName

ErrorName returns error name.

func (DeletePolicyRespValidationError) Field

Field function returns field value.

func (DeletePolicyRespValidationError) Key

Key function returns key value.

func (DeletePolicyRespValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteProjectReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectReqValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectReqValidationError) Field

Field function returns field value.

func (DeleteProjectReqValidationError) Key

Key function returns key value.

func (DeleteProjectReqValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteProjectRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteProjectRespValidationError) ErrorName

ErrorName returns error name.

func (DeleteProjectRespValidationError) Field

Field function returns field value.

func (DeleteProjectRespValidationError) Key

Key function returns key value.

func (DeleteProjectRespValidationError) Reason

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

Cause function returns cause value.

func (DeleteRoleReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleReqValidationError) ErrorName

func (e DeleteRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRoleReqValidationError) Field

Field function returns field value.

func (DeleteRoleReqValidationError) Key

Key function returns key value.

func (DeleteRoleReqValidationError) Reason

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

Cause function returns cause value.

func (DeleteRoleRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleRespValidationError) ErrorName

func (e DeleteRoleRespValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRoleRespValidationError) Field

Field function returns field value.

func (DeleteRoleRespValidationError) Key

Key function returns key value.

func (DeleteRoleRespValidationError) Reason

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

Cause function returns cause value.

func (DeleteRuleReqValidationError) Error

Error satisfies the builtin error interface

func (DeleteRuleReqValidationError) ErrorName

func (e DeleteRuleReqValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRuleReqValidationError) Field

Field function returns field value.

func (DeleteRuleReqValidationError) Key

Key function returns key value.

func (DeleteRuleReqValidationError) Reason

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

Cause function returns cause value.

func (DeleteRuleRespValidationError) Error

Error satisfies the builtin error interface

func (DeleteRuleRespValidationError) ErrorName

func (e DeleteRuleRespValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRuleRespValidationError) Field

Field function returns field value.

func (DeleteRuleRespValidationError) Key

Key function returns key value.

func (DeleteRuleRespValidationError) Reason

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

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

Cause function returns cause value.

func (FilterAuthorizedPairsReqValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedPairsReqValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedPairsReqValidationError) Field

Field function returns field value.

func (FilterAuthorizedPairsReqValidationError) Key

Key function returns key value.

func (FilterAuthorizedPairsReqValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (FilterAuthorizedPairsRespMultiError) Error

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

Cause function returns cause value.

func (FilterAuthorizedPairsRespValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedPairsRespValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedPairsRespValidationError) Field

Field function returns field value.

func (FilterAuthorizedPairsRespValidationError) Key

Key function returns key value.

func (FilterAuthorizedPairsRespValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (FilterAuthorizedProjectsReqMultiError) Error

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

Cause function returns cause value.

func (FilterAuthorizedProjectsReqValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedProjectsReqValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedProjectsReqValidationError) Field

Field function returns field value.

func (FilterAuthorizedProjectsReqValidationError) Key

Key function returns key value.

func (FilterAuthorizedProjectsReqValidationError) Reason

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 (*FilterAuthorizedProjectsResp) Reset

func (x *FilterAuthorizedProjectsResp) Reset()

func (*FilterAuthorizedProjectsResp) 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

AllErrors returns a list of validation violation errors.

func (FilterAuthorizedProjectsRespMultiError) Error

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

Cause function returns cause value.

func (FilterAuthorizedProjectsRespValidationError) Error

Error satisfies the builtin error interface

func (FilterAuthorizedProjectsRespValidationError) ErrorName

ErrorName returns error name.

func (FilterAuthorizedProjectsRespValidationError) Field

Field function returns field value.

func (FilterAuthorizedProjectsRespValidationError) Key

Key function returns key value.

func (FilterAuthorizedProjectsRespValidationError) Reason

Reason function returns reason value.

type Flag

type Flag int32
const (
	Flag_VERSION_2_0 Flag = 0
	Flag_VERSION_2_1 Flag = 1
)

func (Flag) Descriptor

func (Flag) Descriptor() protoreflect.EnumDescriptor

func (Flag) Enum

func (x Flag) Enum() *Flag

func (Flag) EnumDescriptor deprecated

func (Flag) EnumDescriptor() ([]byte, []int)

Deprecated: Use Flag.Descriptor instead.

func (Flag) Number

func (x Flag) Number() protoreflect.EnumNumber

func (Flag) String

func (x Flag) String() string

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

Cause function returns cause value.

func (GetPolicyReqValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyReqValidationError) ErrorName

func (e GetPolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetPolicyReqValidationError) Field

Field function returns field value.

func (GetPolicyReqValidationError) Key

Key function returns key value.

func (GetPolicyReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetPolicyVersionReqValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyVersionReqValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyVersionReqValidationError) Field

Field function returns field value.

func (GetPolicyVersionReqValidationError) Key

Key function returns key value.

func (GetPolicyVersionReqValidationError) Reason

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

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

Cause function returns cause value.

func (GetPolicyVersionRespValidationError) Error

Error satisfies the builtin error interface

func (GetPolicyVersionRespValidationError) ErrorName

ErrorName returns error name.

func (GetPolicyVersionRespValidationError) Field

Field function returns field value.

func (GetPolicyVersionRespValidationError) Key

Key function returns key value.

func (GetPolicyVersionRespValidationError) Reason

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

Cause function returns cause value.

func (GetProjectReqValidationError) Error

Error satisfies the builtin error interface

func (GetProjectReqValidationError) ErrorName

func (e GetProjectReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetProjectReqValidationError) Field

Field function returns field value.

func (GetProjectReqValidationError) Key

Key function returns key value.

func (GetProjectReqValidationError) Reason

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

Cause function returns cause value.

func (GetProjectRespValidationError) Error

Error satisfies the builtin error interface

func (GetProjectRespValidationError) ErrorName

func (e GetProjectRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetProjectRespValidationError) Field

Field function returns field value.

func (GetProjectRespValidationError) Key

Key function returns key value.

func (GetProjectRespValidationError) Reason

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

Error satisfies the builtin error interface

func (GetRoleReqValidationError) ErrorName

func (e GetRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleReqValidationError) Field

Field function returns field value.

func (GetRoleReqValidationError) Key

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

Error satisfies the builtin error interface

func (GetRuleReqValidationError) ErrorName

func (e GetRuleReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetRuleReqValidationError) Field

Field function returns field value.

func (GetRuleReqValidationError) Key

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

Cause function returns cause value.

func (GetRuleRespValidationError) Error

Error satisfies the builtin error interface

func (GetRuleRespValidationError) ErrorName

func (e GetRuleRespValidationError) ErrorName() string

ErrorName returns error name.

func (GetRuleRespValidationError) Field

Field function returns field value.

func (GetRuleRespValidationError) Key

Key function returns key value.

func (GetRuleRespValidationError) Reason

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

Cause function returns cause value.

func (GetVersionReqValidationError) Error

Error satisfies the builtin error interface

func (GetVersionReqValidationError) ErrorName

func (e GetVersionReqValidationError) ErrorName() string

ErrorName returns error name.

func (GetVersionReqValidationError) Field

Field function returns field value.

func (GetVersionReqValidationError) Key

Key function returns key value.

func (GetVersionReqValidationError) Reason

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

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

Cause function returns cause value.

func (IsAuthorizedReqValidationError) Error

Error satisfies the builtin error interface

func (IsAuthorizedReqValidationError) ErrorName

func (e IsAuthorizedReqValidationError) ErrorName() string

ErrorName returns error name.

func (IsAuthorizedReqValidationError) Field

Field function returns field value.

func (IsAuthorizedReqValidationError) Key

Key function returns key value.

func (IsAuthorizedReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListPoliciesReqValidationError) Error

Error satisfies the builtin error interface

func (ListPoliciesReqValidationError) ErrorName

func (e ListPoliciesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListPoliciesReqValidationError) Field

Field function returns field value.

func (ListPoliciesReqValidationError) Key

Key function returns key value.

func (ListPoliciesReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListPoliciesRespValidationError) Error

Error satisfies the builtin error interface

func (ListPoliciesRespValidationError) ErrorName

ErrorName returns error name.

func (ListPoliciesRespValidationError) Field

Field function returns field value.

func (ListPoliciesRespValidationError) Key

Key function returns key value.

func (ListPoliciesRespValidationError) Reason

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

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

Cause function returns cause value.

func (ListPolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (ListPolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (ListPolicyMembersReqValidationError) Field

Field function returns field value.

func (ListPolicyMembersReqValidationError) Key

Key function returns key value.

func (ListPolicyMembersReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListPolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (ListPolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (ListPolicyMembersRespValidationError) Field

Field function returns field value.

func (ListPolicyMembersRespValidationError) Key

Key function returns key value.

func (ListPolicyMembersRespValidationError) Reason

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

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

Cause function returns cause value.

func (ListProjectsReqValidationError) Error

Error satisfies the builtin error interface

func (ListProjectsReqValidationError) ErrorName

func (e ListProjectsReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListProjectsReqValidationError) Field

Field function returns field value.

func (ListProjectsReqValidationError) Key

Key function returns key value.

func (ListProjectsReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListProjectsRespValidationError) Error

Error satisfies the builtin error interface

func (ListProjectsRespValidationError) ErrorName

ErrorName returns error name.

func (ListProjectsRespValidationError) Field

Field function returns field value.

func (ListProjectsRespValidationError) Key

Key function returns key value.

func (ListProjectsRespValidationError) Reason

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

Cause function returns cause value.

func (ListRolesReqValidationError) Error

Error satisfies the builtin error interface

func (ListRolesReqValidationError) ErrorName

func (e ListRolesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesReqValidationError) Field

Field function returns field value.

func (ListRolesReqValidationError) Key

Key function returns key value.

func (ListRolesReqValidationError) Reason

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

Cause function returns cause value.

func (ListRolesRespValidationError) Error

Error satisfies the builtin error interface

func (ListRolesRespValidationError) ErrorName

func (e ListRolesRespValidationError) ErrorName() string

ErrorName returns error name.

func (ListRolesRespValidationError) Field

Field function returns field value.

func (ListRolesRespValidationError) Key

Key function returns key value.

func (ListRolesRespValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ListRulesForAllProjectsReqMultiError) Error

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

Cause function returns cause value.

func (ListRulesForAllProjectsReqValidationError) Error

Error satisfies the builtin error interface

func (ListRulesForAllProjectsReqValidationError) ErrorName

ErrorName returns error name.

func (ListRulesForAllProjectsReqValidationError) Field

Field function returns field value.

func (ListRulesForAllProjectsReqValidationError) Key

Key function returns key value.

func (ListRulesForAllProjectsReqValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (ListRulesForAllProjectsRespMultiError) Error

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

Cause function returns cause value.

func (ListRulesForAllProjectsRespValidationError) Error

Error satisfies the builtin error interface

func (ListRulesForAllProjectsRespValidationError) ErrorName

ErrorName returns error name.

func (ListRulesForAllProjectsRespValidationError) Field

Field function returns field value.

func (ListRulesForAllProjectsRespValidationError) Key

Key function returns key value.

func (ListRulesForAllProjectsRespValidationError) Reason

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

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

Cause function returns cause value.

func (ListRulesForProjectReqValidationError) Error

Error satisfies the builtin error interface

func (ListRulesForProjectReqValidationError) ErrorName

ErrorName returns error name.

func (ListRulesForProjectReqValidationError) Field

Field function returns field value.

func (ListRulesForProjectReqValidationError) Key

Key function returns key value.

func (ListRulesForProjectReqValidationError) Reason

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

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

Cause function returns cause value.

func (ListRulesForProjectRespValidationError) Error

Error satisfies the builtin error interface

func (ListRulesForProjectRespValidationError) ErrorName

ErrorName returns error name.

func (ListRulesForProjectRespValidationError) Field

Field function returns field value.

func (ListRulesForProjectRespValidationError) Key

Key function returns key value.

func (ListRulesForProjectRespValidationError) Reason

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

Cause function returns cause value.

func (ListRulesReqValidationError) Error

Error satisfies the builtin error interface

func (ListRulesReqValidationError) ErrorName

func (e ListRulesReqValidationError) ErrorName() string

ErrorName returns error name.

func (ListRulesReqValidationError) Field

Field function returns field value.

func (ListRulesReqValidationError) Key

Key function returns key value.

func (ListRulesReqValidationError) Reason

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

Cause function returns cause value.

func (ListRulesRespValidationError) Error

Error satisfies the builtin error interface

func (ListRulesRespValidationError) ErrorName

func (e ListRulesRespValidationError) ErrorName() string

ErrorName returns error name.

func (ListRulesRespValidationError) Field

Field function returns field value.

func (ListRulesRespValidationError) Key

Key function returns key value.

func (ListRulesRespValidationError) Reason

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

Cause function returns cause value.

func (MigrateToV2ReqValidationError) Error

Error satisfies the builtin error interface

func (MigrateToV2ReqValidationError) ErrorName

func (e MigrateToV2ReqValidationError) ErrorName() string

ErrorName returns error name.

func (MigrateToV2ReqValidationError) Field

Field function returns field value.

func (MigrateToV2ReqValidationError) Key

Key function returns key value.

func (MigrateToV2ReqValidationError) Reason

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

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

Cause function returns cause value.

func (MigrateToV2RespValidationError) Error

Error satisfies the builtin error interface

func (MigrateToV2RespValidationError) ErrorName

func (e MigrateToV2RespValidationError) ErrorName() string

ErrorName returns error name.

func (MigrateToV2RespValidationError) Field

Field function returns field value.

func (MigrateToV2RespValidationError) Key

Key function returns key value.

func (MigrateToV2RespValidationError) Reason

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorizationServiceClient) FilterAuthorizedPairs

FilterAuthorizedPairs mocks base method.

func (*MockAuthorizationServiceClient) FilterAuthorizedProjects

FilterAuthorizedProjects mocks base method.

func (*MockAuthorizationServiceClient) GetVersion

GetVersion mocks base method.

func (*MockAuthorizationServiceClient) ProjectsAuthorized

ProjectsAuthorized mocks base method.

func (*MockAuthorizationServiceClient) ValidateProjectAssignment

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorizationServiceServer) FilterAuthorizedPairs

FilterAuthorizedPairs mocks base method.

func (*MockAuthorizationServiceServer) FilterAuthorizedProjects

FilterAuthorizedProjects mocks base method.

func (*MockAuthorizationServiceServer) GetVersion

GetVersion mocks base method.

func (*MockAuthorizationServiceServer) ProjectsAuthorized

ProjectsAuthorized mocks base method.

func (*MockAuthorizationServiceServer) ValidateProjectAssignment

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

ApplyRulesCancel mocks base method.

func (*MockProjectsServiceClient) ApplyRulesStart

ApplyRulesStart mocks base method.

func (*MockProjectsServiceClient) ApplyRulesStatus

ApplyRulesStatus mocks base method.

func (*MockProjectsServiceClient) CreateProject

CreateProject mocks base method.

func (*MockProjectsServiceClient) CreateRule

CreateRule mocks base method.

func (*MockProjectsServiceClient) DeleteProject

DeleteProject mocks base method.

func (*MockProjectsServiceClient) DeleteRule

DeleteRule mocks base method.

func (*MockProjectsServiceClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProjectsServiceClient) GetProject

GetProject mocks base method.

func (*MockProjectsServiceClient) GetRule

GetRule mocks base method.

func (*MockProjectsServiceClient) ListProjects

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

ListRules mocks base method.

func (*MockProjectsServiceClient) ListRulesForAllProjects

ListRulesForAllProjects mocks base method.

func (*MockProjectsServiceClient) ListRulesForProject

ListRulesForProject mocks base method.

func (*MockProjectsServiceClient) UpdateProject

UpdateProject mocks base method.

func (*MockProjectsServiceClient) UpdateRule

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

ApplyRulesCancel mocks base method.

func (*MockProjectsServiceServer) ApplyRulesStart

ApplyRulesStart mocks base method.

func (*MockProjectsServiceServer) ApplyRulesStatus

ApplyRulesStatus mocks base method.

func (*MockProjectsServiceServer) CreateProject

CreateProject mocks base method.

func (*MockProjectsServiceServer) CreateRule

CreateRule mocks base method.

func (*MockProjectsServiceServer) DeleteProject

DeleteProject mocks base method.

func (*MockProjectsServiceServer) DeleteRule

DeleteRule mocks base method.

func (*MockProjectsServiceServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProjectsServiceServer) GetProject

GetProject mocks base method.

func (*MockProjectsServiceServer) GetRule

GetRule mocks base method.

func (*MockProjectsServiceServer) ListProjects

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

ListRules mocks base method.

func (*MockProjectsServiceServer) ListRulesForAllProjects

ListRulesForAllProjects mocks base method.

func (*MockProjectsServiceServer) ListRulesForProject

ListRulesForProject mocks base method.

func (*MockProjectsServiceServer) UpdateProject

UpdateProject mocks base method.

func (*MockProjectsServiceServer) UpdateRule

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

Deprecated: Use Pair.ProtoReflect.Descriptor instead.

func (*Pair) GetAction

func (x *Pair) GetAction() string

func (*Pair) GetResource

func (x *Pair) GetResource() string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) ProtoReflect

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

func (*Pair) Reset

func (x *Pair) Reset()

func (*Pair) String

func (x *Pair) String() string

func (*Pair) Validate

func (m *Pair) Validate() error

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

func (m *Pair) ValidateAll() error

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.

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 (*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 (*PoliciesServiceServerMock) DeleteRole

func (*PoliciesServiceServerMock) GetPolicy

func (m *PoliciesServiceServerMock) GetPolicy(ctx context.Context, req *GetPolicyReq) (*Policy, error)

func (*PoliciesServiceServerMock) GetPolicyVersion

func (*PoliciesServiceServerMock) GetRole

func (m *PoliciesServiceServerMock) GetRole(ctx context.Context, req *GetRoleReq) (*Role, error)

func (*PoliciesServiceServerMock) ListPolicies

func (*PoliciesServiceServerMock) ListPolicyMembers

func (*PoliciesServiceServerMock) ListRoles

func (*PoliciesServiceServerMock) PurgeSubjectFromPolicies

func (*PoliciesServiceServerMock) RemovePolicyMembers

func (*PoliciesServiceServerMock) ReplacePolicyMembers

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetMembers

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

func (*Policy) GetName

func (x *Policy) GetName() string

func (*Policy) GetProjects

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

func (*Policy) GetStatements

func (x *Policy) GetStatements() []*Statement

func (*Policy) GetType

func (x *Policy) GetType() Type

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

func (*Policy) Validate

func (m *Policy) Validate() error

Validate checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Policy) ValidateAll

func (m *Policy) ValidateAll() error

ValidateAll checks the field values on Policy with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PolicyMultiError, or nil if none found.

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetStatus

func (x *Project) GetStatus() string

func (*Project) GetType

func (x *Project) GetType() Type

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

func (*Project) Validate

func (m *Project) Validate() error

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

func (m *Project) ValidateAll() error

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

func (ProjectRuleConditionAttributes) EnumDescriptor deprecated

func (ProjectRuleConditionAttributes) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProjectRuleConditionAttributes.Descriptor instead.

func (ProjectRuleConditionAttributes) Number

func (ProjectRuleConditionAttributes) String

func (ProjectRuleConditionAttributes) Type

type ProjectRuleConditionOperators

type ProjectRuleConditionOperators int32
const (
	ProjectRuleConditionOperators_MEMBER_OF ProjectRuleConditionOperators = 0
	ProjectRuleConditionOperators_EQUALS    ProjectRuleConditionOperators = 1
)

func (ProjectRuleConditionOperators) Descriptor

func (ProjectRuleConditionOperators) Enum

func (ProjectRuleConditionOperators) EnumDescriptor deprecated

func (ProjectRuleConditionOperators) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProjectRuleConditionOperators.Descriptor instead.

func (ProjectRuleConditionOperators) Number

func (ProjectRuleConditionOperators) String

func (ProjectRuleConditionOperators) Type

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

func (ProjectRuleTypes) EnumDescriptor deprecated

func (ProjectRuleTypes) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProjectRuleTypes.Descriptor instead.

func (ProjectRuleTypes) Number

func (ProjectRuleTypes) String

func (x ProjectRuleTypes) String() string

func (ProjectRuleTypes) Type

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

Cause function returns cause value.

func (ProjectRuleValidationError) Error

Error satisfies the builtin error interface

func (ProjectRuleValidationError) ErrorName

func (e ProjectRuleValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectRuleValidationError) Field

Field function returns field value.

func (ProjectRuleValidationError) Key

Key function returns key value.

func (ProjectRuleValidationError) Reason

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

Cause function returns cause value.

func (ProjectRulesValidationError) Error

Error satisfies the builtin error interface

func (ProjectRulesValidationError) ErrorName

func (e ProjectRulesValidationError) ErrorName() string

ErrorName returns error name.

func (ProjectRulesValidationError) Field

Field function returns field value.

func (ProjectRulesValidationError) Key

Key function returns key value.

func (ProjectRulesValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectsAuthorizedReqValidationError) Error

Error satisfies the builtin error interface

func (ProjectsAuthorizedReqValidationError) ErrorName

ErrorName returns error name.

func (ProjectsAuthorizedReqValidationError) Field

Field function returns field value.

func (ProjectsAuthorizedReqValidationError) Key

Key function returns key value.

func (ProjectsAuthorizedReqValidationError) Reason

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

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

Cause function returns cause value.

func (ProjectsAuthorizedRespValidationError) Error

Error satisfies the builtin error interface

func (ProjectsAuthorizedRespValidationError) ErrorName

ErrorName returns error name.

func (ProjectsAuthorizedRespValidationError) Field

Field function returns field value.

func (ProjectsAuthorizedRespValidationError) Key

Key function returns key value.

func (ProjectsAuthorizedRespValidationError) Reason

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.

type ProjectsServiceServer

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 (*ProjectsServiceServerMock) ApplyRulesStart

func (*ProjectsServiceServerMock) ApplyRulesStatus

func (*ProjectsServiceServerMock) CreateProject

func (*ProjectsServiceServerMock) CreateRule

func (*ProjectsServiceServerMock) DeleteProject

func (*ProjectsServiceServerMock) DeleteRule

func (*ProjectsServiceServerMock) GetProject

func (*ProjectsServiceServerMock) GetRule

func (*ProjectsServiceServerMock) ListProjects

func (*ProjectsServiceServerMock) ListProjectsForIntrospection

func (m *ProjectsServiceServerMock) ListProjectsForIntrospection(ctx context.Context, req *ListProjectsReq) (*ListProjectsResp, error)

func (*ProjectsServiceServerMock) ListRules

func (*ProjectsServiceServerMock) ListRulesForAllProjects

func (*ProjectsServiceServerMock) ListRulesForProject

func (*ProjectsServiceServerMock) Reset

func (m *ProjectsServiceServerMock) Reset()

Reset resets all overridden functions

func (*ProjectsServiceServerMock) UpdateProject

func (*ProjectsServiceServerMock) UpdateRule

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 (*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

AllErrors returns a list of validation violation errors.

func (PurgeSubjectFromPoliciesReqMultiError) Error

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

Cause function returns cause value.

func (PurgeSubjectFromPoliciesReqValidationError) Error

Error satisfies the builtin error interface

func (PurgeSubjectFromPoliciesReqValidationError) ErrorName

ErrorName returns error name.

func (PurgeSubjectFromPoliciesReqValidationError) Field

Field function returns field value.

func (PurgeSubjectFromPoliciesReqValidationError) Key

Key function returns key value.

func (PurgeSubjectFromPoliciesReqValidationError) Reason

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 (*PurgeSubjectFromPoliciesResp) Reset

func (x *PurgeSubjectFromPoliciesResp) Reset()

func (*PurgeSubjectFromPoliciesResp) 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

AllErrors returns a list of validation violation errors.

func (PurgeSubjectFromPoliciesRespMultiError) Error

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

Cause function returns cause value.

func (PurgeSubjectFromPoliciesRespValidationError) Error

Error satisfies the builtin error interface

func (PurgeSubjectFromPoliciesRespValidationError) ErrorName

ErrorName returns error name.

func (PurgeSubjectFromPoliciesRespValidationError) Field

Field function returns field value.

func (PurgeSubjectFromPoliciesRespValidationError) Key

Key function returns key value.

func (PurgeSubjectFromPoliciesRespValidationError) Reason

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

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

Cause function returns cause value.

func (RemovePolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (RemovePolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (RemovePolicyMembersReqValidationError) Field

Field function returns field value.

func (RemovePolicyMembersReqValidationError) Key

Key function returns key value.

func (RemovePolicyMembersReqValidationError) Reason

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

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

Cause function returns cause value.

func (RemovePolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (RemovePolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (RemovePolicyMembersRespValidationError) Field

Field function returns field value.

func (RemovePolicyMembersRespValidationError) Key

Key function returns key value.

func (RemovePolicyMembersRespValidationError) Reason

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

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

Cause function returns cause value.

func (ReplacePolicyMembersReqValidationError) Error

Error satisfies the builtin error interface

func (ReplacePolicyMembersReqValidationError) ErrorName

ErrorName returns error name.

func (ReplacePolicyMembersReqValidationError) Field

Field function returns field value.

func (ReplacePolicyMembersReqValidationError) Key

Key function returns key value.

func (ReplacePolicyMembersReqValidationError) Reason

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

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

Cause function returns cause value.

func (ReplacePolicyMembersRespValidationError) Error

Error satisfies the builtin error interface

func (ReplacePolicyMembersRespValidationError) ErrorName

ErrorName returns error name.

func (ReplacePolicyMembersRespValidationError) Field

Field function returns field value.

func (ReplacePolicyMembersRespValidationError) Key

Key function returns key value.

func (ReplacePolicyMembersRespValidationError) Reason

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

Cause function returns cause value.

func (ResetToV1ReqValidationError) Error

Error satisfies the builtin error interface

func (ResetToV1ReqValidationError) ErrorName

func (e ResetToV1ReqValidationError) ErrorName() string

ErrorName returns error name.

func (ResetToV1ReqValidationError) Field

Field function returns field value.

func (ResetToV1ReqValidationError) Key

Key function returns key value.

func (ResetToV1ReqValidationError) Reason

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

Cause function returns cause value.

func (ResetToV1RespValidationError) Error

Error satisfies the builtin error interface

func (ResetToV1RespValidationError) ErrorName

func (e ResetToV1RespValidationError) ErrorName() string

ErrorName returns error name.

func (ResetToV1RespValidationError) Field

Field function returns field value.

func (ResetToV1RespValidationError) Key

Key function returns key value.

func (ResetToV1RespValidationError) Reason

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetActions

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

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetProjects

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

func (*Role) GetType

func (x *Role) GetType() Type

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate

func (m *Role) Validate() error

Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Role) ValidateAll

func (m *Role) ValidateAll() error

ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.

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

Deprecated: Use Statement.ProtoReflect.Descriptor instead.

func (*Statement) GetActions

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

func (*Statement) GetEffect

func (x *Statement) GetEffect() Statement_Effect

func (*Statement) GetProjects

func (x *Statement) GetProjects() []string

func (*Statement) GetResources

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

func (*Statement) GetRole

func (x *Statement) GetRole() string

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) ProtoReflect

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

func (*Statement) Reset

func (x *Statement) Reset()

func (*Statement) String

func (x *Statement) String() string

func (*Statement) Validate

func (m *Statement) Validate() error

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

func (m *Statement) ValidateAll() error

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

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

func (Statement_Effect) EnumDescriptor deprecated

func (Statement_Effect) EnumDescriptor() ([]byte, []int)

Deprecated: Use Statement_Effect.Descriptor instead.

func (Statement_Effect) Number

func (Statement_Effect) String

func (x Statement_Effect) String() string

func (Statement_Effect) Type

type Type

type Type int32
const (
	Type_CHEF_MANAGED Type = 0
	Type_CUSTOM       Type = 1
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

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

func (*UnimplementedAuthorizationServiceServer) GetVersion

func (*UnimplementedAuthorizationServiceServer) ProjectsAuthorized

func (*UnimplementedAuthorizationServiceServer) ValidateProjectAssignment

type UnimplementedPoliciesServiceServer

type UnimplementedPoliciesServiceServer struct {
}

UnimplementedPoliciesServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPoliciesServiceServer) AddPolicyMembers

func (*UnimplementedPoliciesServiceServer) CreatePolicy

func (*UnimplementedPoliciesServiceServer) CreateRole

func (*UnimplementedPoliciesServiceServer) DeletePolicy

func (*UnimplementedPoliciesServiceServer) DeleteRole

func (*UnimplementedPoliciesServiceServer) GetPolicy

func (*UnimplementedPoliciesServiceServer) GetPolicyVersion

func (*UnimplementedPoliciesServiceServer) GetRole

func (*UnimplementedPoliciesServiceServer) ListPolicies

func (*UnimplementedPoliciesServiceServer) ListPolicyMembers

func (*UnimplementedPoliciesServiceServer) ListRoles

func (*UnimplementedPoliciesServiceServer) PurgeSubjectFromPolicies

func (*UnimplementedPoliciesServiceServer) RemovePolicyMembers

func (*UnimplementedPoliciesServiceServer) ReplacePolicyMembers

func (*UnimplementedPoliciesServiceServer) UpdatePolicy

func (*UnimplementedPoliciesServiceServer) UpdateRole

type UnimplementedProjectsServiceServer

type UnimplementedProjectsServiceServer struct {
}

UnimplementedProjectsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedProjectsServiceServer) ApplyRulesCancel

func (*UnimplementedProjectsServiceServer) ApplyRulesStart

func (*UnimplementedProjectsServiceServer) ApplyRulesStatus

func (*UnimplementedProjectsServiceServer) CreateProject

func (*UnimplementedProjectsServiceServer) CreateRule

func (*UnimplementedProjectsServiceServer) DeleteProject

func (*UnimplementedProjectsServiceServer) DeleteRule

func (*UnimplementedProjectsServiceServer) GetProject

func (*UnimplementedProjectsServiceServer) GetRule

func (*UnimplementedProjectsServiceServer) ListProjects

func (*UnimplementedProjectsServiceServer) ListProjectsForIntrospection

func (*UnimplementedProjectsServiceServer) ListRules

func (*UnimplementedProjectsServiceServer) ListRulesForAllProjects

func (*UnimplementedProjectsServiceServer) ListRulesForProject

func (*UnimplementedProjectsServiceServer) UpdateProject

func (*UnimplementedProjectsServiceServer) UpdateRule

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

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

Cause function returns cause value.

func (UpdatePolicyReqValidationError) Error

Error satisfies the builtin error interface

func (UpdatePolicyReqValidationError) ErrorName

func (e UpdatePolicyReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdatePolicyReqValidationError) Field

Field function returns field value.

func (UpdatePolicyReqValidationError) Key

Key function returns key value.

func (UpdatePolicyReqValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateProjectReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateProjectReqValidationError) ErrorName

ErrorName returns error name.

func (UpdateProjectReqValidationError) Field

Field function returns field value.

func (UpdateProjectReqValidationError) Key

Key function returns key value.

func (UpdateProjectReqValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateProjectRespValidationError) Error

Error satisfies the builtin error interface

func (UpdateProjectRespValidationError) ErrorName

ErrorName returns error name.

func (UpdateProjectRespValidationError) Field

Field function returns field value.

func (UpdateProjectRespValidationError) Key

Key function returns key value.

func (UpdateProjectRespValidationError) Reason

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

Cause function returns cause value.

func (UpdateRoleReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleReqValidationError) ErrorName

func (e UpdateRoleReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRoleReqValidationError) Field

Field function returns field value.

func (UpdateRoleReqValidationError) Key

Key function returns key value.

func (UpdateRoleReqValidationError) Reason

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

Cause function returns cause value.

func (UpdateRuleReqValidationError) Error

Error satisfies the builtin error interface

func (UpdateRuleReqValidationError) ErrorName

func (e UpdateRuleReqValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRuleReqValidationError) Field

Field function returns field value.

func (UpdateRuleReqValidationError) Key

Key function returns key value.

func (UpdateRuleReqValidationError) Reason

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

Cause function returns cause value.

func (UpdateRuleRespValidationError) Error

Error satisfies the builtin error interface

func (UpdateRuleRespValidationError) ErrorName

func (e UpdateRuleRespValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRuleRespValidationError) Field

Field function returns field value.

func (UpdateRuleRespValidationError) Key

Key function returns key value.

func (UpdateRuleRespValidationError) Reason

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 (*ValidateProjectAssignmentReq) Reset

func (x *ValidateProjectAssignmentReq) Reset()

func (*ValidateProjectAssignmentReq) 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

AllErrors returns a list of validation violation errors.

func (ValidateProjectAssignmentReqMultiError) Error

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

Cause function returns cause value.

func (ValidateProjectAssignmentReqValidationError) Error

Error satisfies the builtin error interface

func (ValidateProjectAssignmentReqValidationError) ErrorName

ErrorName returns error name.

func (ValidateProjectAssignmentReqValidationError) Field

Field function returns field value.

func (ValidateProjectAssignmentReqValidationError) Key

Key function returns key value.

func (ValidateProjectAssignmentReqValidationError) Reason

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 (*ValidateProjectAssignmentResp) Reset

func (x *ValidateProjectAssignmentResp) Reset()

func (*ValidateProjectAssignmentResp) 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

AllErrors returns a list of validation violation errors.

func (ValidateProjectAssignmentRespMultiError) Error

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

Cause function returns cause value.

func (ValidateProjectAssignmentRespValidationError) Error

Error satisfies the builtin error interface

func (ValidateProjectAssignmentRespValidationError) ErrorName

ErrorName returns error name.

func (ValidateProjectAssignmentRespValidationError) Field

Field function returns field value.

func (ValidateProjectAssignmentRespValidationError) Key

Key function returns key value.

func (ValidateProjectAssignmentRespValidationError) Reason

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

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

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

func (*Version) Validate

func (m *Version) Validate() error

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

func (m *Version) ValidateAll() error

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

func (Version_VersionNumber) EnumDescriptor deprecated

func (Version_VersionNumber) EnumDescriptor() ([]byte, []int)

Deprecated: Use Version_VersionNumber.Descriptor instead.

func (Version_VersionNumber) Number

func (Version_VersionNumber) String

func (x Version_VersionNumber) String() string

func (Version_VersionNumber) Type

Jump to

Keyboard shortcuts

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