policyv1

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 27 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_cerbos_policy_v1_policy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Condition

type Condition struct {

	// Types that are assignable to Condition:
	//	*Condition_Match
	//	*Condition_Script
	Condition isCondition_Condition `protobuf_oneof:"condition"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

func (*Condition) Descriptor() ([]byte, []int)

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetCondition

func (m *Condition) GetCondition() isCondition_Condition

func (*Condition) GetMatch

func (x *Condition) GetMatch() *Match

func (*Condition) GetScript

func (x *Condition) GetScript() string

func (*Condition) HashPB added in v0.13.0

func (m *Condition) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Condition) MarshalToSizedBufferVT

func (m *Condition) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Condition) MarshalToVT

func (m *Condition) MarshalToVT(dAtA []byte) (int, error)

func (*Condition) MarshalVT

func (m *Condition) MarshalVT() (dAtA []byte, err error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) SizeVT

func (m *Condition) SizeVT() (n int)

func (*Condition) String

func (x *Condition) String() string

func (*Condition) UnmarshalVT

func (m *Condition) UnmarshalVT(dAtA []byte) error

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 added in v0.12.0

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 added in v0.12.0

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 added in v0.12.0

func (m ConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConditionMultiError) Error added in v0.12.0

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 Condition_Match

type Condition_Match struct {
	Match *Match `protobuf:"bytes,1,opt,name=match,proto3,oneof"`
}

func (*Condition_Match) MarshalToSizedBufferVT

func (m *Condition_Match) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Condition_Match) MarshalToVT

func (m *Condition_Match) MarshalToVT(dAtA []byte) (int, error)

func (*Condition_Match) SizeVT

func (m *Condition_Match) SizeVT() (n int)

type Condition_Script

type Condition_Script struct {
	Script string `protobuf:"bytes,2,opt,name=script,proto3,oneof"`
}

func (*Condition_Script) MarshalToSizedBufferVT

func (m *Condition_Script) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Condition_Script) MarshalToVT

func (m *Condition_Script) MarshalToVT(dAtA []byte) (int, error)

func (*Condition_Script) SizeVT

func (m *Condition_Script) SizeVT() (n int)

type DerivedRoles

type DerivedRoles struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Definitions []*RoleDef `protobuf:"bytes,2,rep,name=definitions,proto3" json:"definitions,omitempty"`
	// contains filtered or unexported fields
}

func (*DerivedRoles) Descriptor deprecated

func (*DerivedRoles) Descriptor() ([]byte, []int)

Deprecated: Use DerivedRoles.ProtoReflect.Descriptor instead.

func (*DerivedRoles) GetDefinitions

func (x *DerivedRoles) GetDefinitions() []*RoleDef

func (*DerivedRoles) GetName

func (x *DerivedRoles) GetName() string

func (*DerivedRoles) HashPB added in v0.13.0

func (m *DerivedRoles) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*DerivedRoles) MarshalToSizedBufferVT

func (m *DerivedRoles) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DerivedRoles) MarshalToVT

func (m *DerivedRoles) MarshalToVT(dAtA []byte) (int, error)

func (*DerivedRoles) MarshalVT

func (m *DerivedRoles) MarshalVT() (dAtA []byte, err error)

func (*DerivedRoles) ProtoMessage

func (*DerivedRoles) ProtoMessage()

func (*DerivedRoles) ProtoReflect

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

func (*DerivedRoles) Reset

func (x *DerivedRoles) Reset()

func (*DerivedRoles) SizeVT

func (m *DerivedRoles) SizeVT() (n int)

func (*DerivedRoles) String

func (x *DerivedRoles) String() string

func (*DerivedRoles) UnmarshalVT

func (m *DerivedRoles) UnmarshalVT(dAtA []byte) error

func (*DerivedRoles) Validate

func (m *DerivedRoles) Validate() error

Validate checks the field values on DerivedRoles 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 (*DerivedRoles) ValidateAll added in v0.12.0

func (m *DerivedRoles) ValidateAll() error

ValidateAll checks the field values on DerivedRoles 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 DerivedRolesMultiError, or nil if none found.

type DerivedRolesMultiError added in v0.12.0

type DerivedRolesMultiError []error

DerivedRolesMultiError is an error wrapping multiple validation errors returned by DerivedRoles.ValidateAll() if the designated constraints aren't met.

func (DerivedRolesMultiError) AllErrors added in v0.12.0

func (m DerivedRolesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DerivedRolesMultiError) Error added in v0.12.0

func (m DerivedRolesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DerivedRolesValidationError

type DerivedRolesValidationError struct {
	// contains filtered or unexported fields
}

DerivedRolesValidationError is the validation error returned by DerivedRoles.Validate if the designated constraints aren't met.

func (DerivedRolesValidationError) Cause

Cause function returns cause value.

func (DerivedRolesValidationError) Error

Error satisfies the builtin error interface

func (DerivedRolesValidationError) ErrorName

func (e DerivedRolesValidationError) ErrorName() string

ErrorName returns error name.

func (DerivedRolesValidationError) Field

Field function returns field value.

func (DerivedRolesValidationError) Key

Key function returns key value.

func (DerivedRolesValidationError) Reason

Reason function returns reason value.

type Match

type Match struct {

	// Types that are assignable to Op:
	//	*Match_All
	//	*Match_Any
	//	*Match_None
	//	*Match_Expr
	Op isMatch_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

func (*Match) Descriptor deprecated

func (*Match) Descriptor() ([]byte, []int)

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetAll

func (x *Match) GetAll() *Match_ExprList

func (*Match) GetAny

func (x *Match) GetAny() *Match_ExprList

func (*Match) GetExpr

func (x *Match) GetExpr() string

func (*Match) GetNone

func (x *Match) GetNone() *Match_ExprList

func (*Match) GetOp

func (m *Match) GetOp() isMatch_Op

func (*Match) HashPB added in v0.13.0

func (m *Match) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Match) MarshalToSizedBufferVT

func (m *Match) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match) MarshalToVT

func (m *Match) MarshalToVT(dAtA []byte) (int, error)

func (*Match) MarshalVT

func (m *Match) MarshalVT() (dAtA []byte, err error)

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

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

func (*Match) Reset

func (x *Match) Reset()

func (*Match) SizeVT

func (m *Match) SizeVT() (n int)

func (*Match) String

func (x *Match) String() string

func (*Match) UnmarshalVT

func (m *Match) UnmarshalVT(dAtA []byte) error

func (*Match) Validate

func (m *Match) Validate() error

Validate checks the field values on Match 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 (*Match) ValidateAll added in v0.12.0

func (m *Match) ValidateAll() error

ValidateAll checks the field values on Match 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 MatchMultiError, or nil if none found.

type MatchMultiError added in v0.12.0

type MatchMultiError []error

MatchMultiError is an error wrapping multiple validation errors returned by Match.ValidateAll() if the designated constraints aren't met.

func (MatchMultiError) AllErrors added in v0.12.0

func (m MatchMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MatchMultiError) Error added in v0.12.0

func (m MatchMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MatchValidationError

type MatchValidationError struct {
	// contains filtered or unexported fields
}

MatchValidationError is the validation error returned by Match.Validate if the designated constraints aren't met.

func (MatchValidationError) Cause

func (e MatchValidationError) Cause() error

Cause function returns cause value.

func (MatchValidationError) Error

func (e MatchValidationError) Error() string

Error satisfies the builtin error interface

func (MatchValidationError) ErrorName

func (e MatchValidationError) ErrorName() string

ErrorName returns error name.

func (MatchValidationError) Field

func (e MatchValidationError) Field() string

Field function returns field value.

func (MatchValidationError) Key

func (e MatchValidationError) Key() bool

Key function returns key value.

func (MatchValidationError) Reason

func (e MatchValidationError) Reason() string

Reason function returns reason value.

type Match_All

type Match_All struct {
	All *Match_ExprList `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}

func (*Match_All) MarshalToSizedBufferVT

func (m *Match_All) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match_All) MarshalToVT

func (m *Match_All) MarshalToVT(dAtA []byte) (int, error)

func (*Match_All) SizeVT

func (m *Match_All) SizeVT() (n int)

type Match_Any

type Match_Any struct {
	Any *Match_ExprList `protobuf:"bytes,2,opt,name=any,proto3,oneof"`
}

func (*Match_Any) MarshalToSizedBufferVT

func (m *Match_Any) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match_Any) MarshalToVT

func (m *Match_Any) MarshalToVT(dAtA []byte) (int, error)

func (*Match_Any) SizeVT

func (m *Match_Any) SizeVT() (n int)

type Match_Expr

type Match_Expr struct {
	Expr string `protobuf:"bytes,4,opt,name=expr,proto3,oneof"`
}

func (*Match_Expr) MarshalToSizedBufferVT

func (m *Match_Expr) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match_Expr) MarshalToVT

func (m *Match_Expr) MarshalToVT(dAtA []byte) (int, error)

func (*Match_Expr) SizeVT

func (m *Match_Expr) SizeVT() (n int)

type Match_ExprList

type Match_ExprList struct {
	Of []*Match `protobuf:"bytes,1,rep,name=of,proto3" json:"of,omitempty"`
	// contains filtered or unexported fields
}

func (*Match_ExprList) Descriptor deprecated

func (*Match_ExprList) Descriptor() ([]byte, []int)

Deprecated: Use Match_ExprList.ProtoReflect.Descriptor instead.

func (*Match_ExprList) GetOf

func (x *Match_ExprList) GetOf() []*Match

func (*Match_ExprList) HashPB added in v0.13.0

func (m *Match_ExprList) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Match_ExprList) MarshalToSizedBufferVT

func (m *Match_ExprList) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match_ExprList) MarshalToVT

func (m *Match_ExprList) MarshalToVT(dAtA []byte) (int, error)

func (*Match_ExprList) MarshalVT

func (m *Match_ExprList) MarshalVT() (dAtA []byte, err error)

func (*Match_ExprList) ProtoMessage

func (*Match_ExprList) ProtoMessage()

func (*Match_ExprList) ProtoReflect

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

func (*Match_ExprList) Reset

func (x *Match_ExprList) Reset()

func (*Match_ExprList) SizeVT

func (m *Match_ExprList) SizeVT() (n int)

func (*Match_ExprList) String

func (x *Match_ExprList) String() string

func (*Match_ExprList) UnmarshalVT

func (m *Match_ExprList) UnmarshalVT(dAtA []byte) error

func (*Match_ExprList) Validate

func (m *Match_ExprList) Validate() error

Validate checks the field values on Match_ExprList 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 (*Match_ExprList) ValidateAll added in v0.12.0

func (m *Match_ExprList) ValidateAll() error

ValidateAll checks the field values on Match_ExprList 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 Match_ExprListMultiError, or nil if none found.

type Match_ExprListMultiError added in v0.12.0

type Match_ExprListMultiError []error

Match_ExprListMultiError is an error wrapping multiple validation errors returned by Match_ExprList.ValidateAll() if the designated constraints aren't met.

func (Match_ExprListMultiError) AllErrors added in v0.12.0

func (m Match_ExprListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Match_ExprListMultiError) Error added in v0.12.0

func (m Match_ExprListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Match_ExprListValidationError

type Match_ExprListValidationError struct {
	// contains filtered or unexported fields
}

Match_ExprListValidationError is the validation error returned by Match_ExprList.Validate if the designated constraints aren't met.

func (Match_ExprListValidationError) Cause

Cause function returns cause value.

func (Match_ExprListValidationError) Error

Error satisfies the builtin error interface

func (Match_ExprListValidationError) ErrorName

func (e Match_ExprListValidationError) ErrorName() string

ErrorName returns error name.

func (Match_ExprListValidationError) Field

Field function returns field value.

func (Match_ExprListValidationError) Key

Key function returns key value.

func (Match_ExprListValidationError) Reason

Reason function returns reason value.

type Match_None

type Match_None struct {
	None *Match_ExprList `protobuf:"bytes,3,opt,name=none,proto3,oneof"`
}

func (*Match_None) MarshalToSizedBufferVT

func (m *Match_None) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Match_None) MarshalToVT

func (m *Match_None) MarshalToVT(dAtA []byte) (int, error)

func (*Match_None) SizeVT

func (m *Match_None) SizeVT() (n int)

type Metadata

type Metadata struct {
	SourceFile     string                  `protobuf:"bytes,1,opt,name=source_file,json=sourceFile,proto3" json:"source_file,omitempty"`
	Annotations    map[string]string       `` /* 163-byte string literal not displayed */
	Hash           *wrapperspb.UInt64Value `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	StoreIdentifer string                  `protobuf:"bytes,4,opt,name=store_identifer,json=storeIdentifer,proto3" json:"store_identifer,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAnnotations

func (x *Metadata) GetAnnotations() map[string]string

func (*Metadata) GetHash added in v0.13.0

func (x *Metadata) GetHash() *wrapperspb.UInt64Value

func (*Metadata) GetSourceFile

func (x *Metadata) GetSourceFile() string

func (*Metadata) GetStoreIdentifer added in v0.13.0

func (x *Metadata) GetStoreIdentifer() string

func (*Metadata) HashPB added in v0.13.0

func (m *Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Metadata) MarshalToSizedBufferVT

func (m *Metadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Metadata) MarshalToVT

func (m *Metadata) MarshalToVT(dAtA []byte) (int, error)

func (*Metadata) MarshalVT

func (m *Metadata) MarshalVT() (dAtA []byte, err error)

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) SizeVT

func (m *Metadata) SizeVT() (n int)

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) UnmarshalVT

func (m *Metadata) UnmarshalVT(dAtA []byte) error

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata 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 (*Metadata) ValidateAll added in v0.12.0

func (m *Metadata) ValidateAll() error

ValidateAll checks the field values on Metadata 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 MetadataMultiError, or nil if none found.

type MetadataMultiError added in v0.12.0

type MetadataMultiError []error

MetadataMultiError is an error wrapping multiple validation errors returned by Metadata.ValidateAll() if the designated constraints aren't met.

func (MetadataMultiError) AllErrors added in v0.12.0

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error added in v0.12.0

func (m MetadataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MetadataValidationError

type MetadataValidationError struct {
	// contains filtered or unexported fields
}

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type Policy

type Policy struct {
	ApiVersion  string    `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Disabled    bool      `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	Description string    `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Metadata    *Metadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Types that are assignable to PolicyType:
	//	*Policy_ResourcePolicy
	//	*Policy_PrincipalPolicy
	//	*Policy_DerivedRoles
	PolicyType isPolicy_PolicyType `protobuf_oneof:"policy_type"`
	Variables  map[string]string   `` /* 159-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) GetApiVersion

func (x *Policy) GetApiVersion() string

func (*Policy) GetDerivedRoles

func (x *Policy) GetDerivedRoles() *DerivedRoles

func (*Policy) GetDescription

func (x *Policy) GetDescription() string

func (*Policy) GetDisabled

func (x *Policy) GetDisabled() bool

func (*Policy) GetMetadata

func (x *Policy) GetMetadata() *Metadata

func (*Policy) GetPolicyType

func (m *Policy) GetPolicyType() isPolicy_PolicyType

func (*Policy) GetPrincipalPolicy

func (x *Policy) GetPrincipalPolicy() *PrincipalPolicy

func (*Policy) GetResourcePolicy

func (x *Policy) GetResourcePolicy() *ResourcePolicy

func (*Policy) GetVariables added in v0.9.0

func (x *Policy) GetVariables() map[string]string

func (*Policy) HashPB added in v0.13.0

func (m *Policy) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Policy) MarshalToSizedBufferVT

func (m *Policy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy) MarshalToVT

func (m *Policy) MarshalToVT(dAtA []byte) (int, error)

func (*Policy) MarshalVT

func (m *Policy) MarshalVT() (dAtA []byte, err error)

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) SizeVT

func (m *Policy) SizeVT() (n int)

func (*Policy) String

func (x *Policy) String() string

func (*Policy) UnmarshalVT

func (m *Policy) UnmarshalVT(dAtA []byte) error

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 added in v0.12.0

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 added in v0.12.0

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 added in v0.12.0

func (m PolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PolicyMultiError) Error added in v0.12.0

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 Policy_DerivedRoles

type Policy_DerivedRoles struct {
	DerivedRoles *DerivedRoles `protobuf:"bytes,7,opt,name=derived_roles,json=derivedRoles,proto3,oneof"`
}

func (*Policy_DerivedRoles) MarshalToSizedBufferVT

func (m *Policy_DerivedRoles) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy_DerivedRoles) MarshalToVT

func (m *Policy_DerivedRoles) MarshalToVT(dAtA []byte) (int, error)

func (*Policy_DerivedRoles) SizeVT

func (m *Policy_DerivedRoles) SizeVT() (n int)

type Policy_PrincipalPolicy

type Policy_PrincipalPolicy struct {
	PrincipalPolicy *PrincipalPolicy `protobuf:"bytes,6,opt,name=principal_policy,json=principalPolicy,proto3,oneof"`
}

func (*Policy_PrincipalPolicy) MarshalToSizedBufferVT

func (m *Policy_PrincipalPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy_PrincipalPolicy) MarshalToVT

func (m *Policy_PrincipalPolicy) MarshalToVT(dAtA []byte) (int, error)

func (*Policy_PrincipalPolicy) SizeVT

func (m *Policy_PrincipalPolicy) SizeVT() (n int)

type Policy_ResourcePolicy

type Policy_ResourcePolicy struct {
	ResourcePolicy *ResourcePolicy `protobuf:"bytes,5,opt,name=resource_policy,json=resourcePolicy,proto3,oneof"`
}

func (*Policy_ResourcePolicy) MarshalToSizedBufferVT

func (m *Policy_ResourcePolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Policy_ResourcePolicy) MarshalToVT

func (m *Policy_ResourcePolicy) MarshalToVT(dAtA []byte) (int, error)

func (*Policy_ResourcePolicy) SizeVT

func (m *Policy_ResourcePolicy) SizeVT() (n int)

type PrincipalPolicy

type PrincipalPolicy struct {
	Principal string           `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Version   string           `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Rules     []*PrincipalRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"`
	Scope     string           `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalPolicy) Descriptor deprecated

func (*PrincipalPolicy) Descriptor() ([]byte, []int)

Deprecated: Use PrincipalPolicy.ProtoReflect.Descriptor instead.

func (*PrincipalPolicy) GetPrincipal

func (x *PrincipalPolicy) GetPrincipal() string

func (*PrincipalPolicy) GetRules

func (x *PrincipalPolicy) GetRules() []*PrincipalRule

func (*PrincipalPolicy) GetScope added in v0.9.0

func (x *PrincipalPolicy) GetScope() string

func (*PrincipalPolicy) GetVersion

func (x *PrincipalPolicy) GetVersion() string

func (*PrincipalPolicy) HashPB added in v0.13.0

func (m *PrincipalPolicy) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PrincipalPolicy) MarshalToSizedBufferVT

func (m *PrincipalPolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrincipalPolicy) MarshalToVT

func (m *PrincipalPolicy) MarshalToVT(dAtA []byte) (int, error)

func (*PrincipalPolicy) MarshalVT

func (m *PrincipalPolicy) MarshalVT() (dAtA []byte, err error)

func (*PrincipalPolicy) ProtoMessage

func (*PrincipalPolicy) ProtoMessage()

func (*PrincipalPolicy) ProtoReflect

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

func (*PrincipalPolicy) Reset

func (x *PrincipalPolicy) Reset()

func (*PrincipalPolicy) SizeVT

func (m *PrincipalPolicy) SizeVT() (n int)

func (*PrincipalPolicy) String

func (x *PrincipalPolicy) String() string

func (*PrincipalPolicy) UnmarshalVT

func (m *PrincipalPolicy) UnmarshalVT(dAtA []byte) error

func (*PrincipalPolicy) Validate

func (m *PrincipalPolicy) Validate() error

Validate checks the field values on PrincipalPolicy 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 (*PrincipalPolicy) ValidateAll added in v0.12.0

func (m *PrincipalPolicy) ValidateAll() error

ValidateAll checks the field values on PrincipalPolicy 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 PrincipalPolicyMultiError, or nil if none found.

type PrincipalPolicyMultiError added in v0.12.0

type PrincipalPolicyMultiError []error

PrincipalPolicyMultiError is an error wrapping multiple validation errors returned by PrincipalPolicy.ValidateAll() if the designated constraints aren't met.

func (PrincipalPolicyMultiError) AllErrors added in v0.12.0

func (m PrincipalPolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrincipalPolicyMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type PrincipalPolicyValidationError

type PrincipalPolicyValidationError struct {
	// contains filtered or unexported fields
}

PrincipalPolicyValidationError is the validation error returned by PrincipalPolicy.Validate if the designated constraints aren't met.

func (PrincipalPolicyValidationError) Cause

Cause function returns cause value.

func (PrincipalPolicyValidationError) Error

Error satisfies the builtin error interface

func (PrincipalPolicyValidationError) ErrorName

func (e PrincipalPolicyValidationError) ErrorName() string

ErrorName returns error name.

func (PrincipalPolicyValidationError) Field

Field function returns field value.

func (PrincipalPolicyValidationError) Key

Key function returns key value.

func (PrincipalPolicyValidationError) Reason

Reason function returns reason value.

type PrincipalRule

type PrincipalRule struct {
	Resource string                  `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Actions  []*PrincipalRule_Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalRule) Descriptor deprecated

func (*PrincipalRule) Descriptor() ([]byte, []int)

Deprecated: Use PrincipalRule.ProtoReflect.Descriptor instead.

func (*PrincipalRule) GetActions

func (x *PrincipalRule) GetActions() []*PrincipalRule_Action

func (*PrincipalRule) GetResource

func (x *PrincipalRule) GetResource() string

func (*PrincipalRule) HashPB added in v0.13.0

func (m *PrincipalRule) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PrincipalRule) MarshalToSizedBufferVT

func (m *PrincipalRule) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrincipalRule) MarshalToVT

func (m *PrincipalRule) MarshalToVT(dAtA []byte) (int, error)

func (*PrincipalRule) MarshalVT

func (m *PrincipalRule) MarshalVT() (dAtA []byte, err error)

func (*PrincipalRule) ProtoMessage

func (*PrincipalRule) ProtoMessage()

func (*PrincipalRule) ProtoReflect

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

func (*PrincipalRule) Reset

func (x *PrincipalRule) Reset()

func (*PrincipalRule) SizeVT

func (m *PrincipalRule) SizeVT() (n int)

func (*PrincipalRule) String

func (x *PrincipalRule) String() string

func (*PrincipalRule) UnmarshalVT

func (m *PrincipalRule) UnmarshalVT(dAtA []byte) error

func (*PrincipalRule) Validate

func (m *PrincipalRule) Validate() error

Validate checks the field values on PrincipalRule 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 (*PrincipalRule) ValidateAll added in v0.12.0

func (m *PrincipalRule) ValidateAll() error

ValidateAll checks the field values on PrincipalRule 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 PrincipalRuleMultiError, or nil if none found.

type PrincipalRuleMultiError added in v0.12.0

type PrincipalRuleMultiError []error

PrincipalRuleMultiError is an error wrapping multiple validation errors returned by PrincipalRule.ValidateAll() if the designated constraints aren't met.

func (PrincipalRuleMultiError) AllErrors added in v0.12.0

func (m PrincipalRuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrincipalRuleMultiError) Error added in v0.12.0

func (m PrincipalRuleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PrincipalRuleValidationError

type PrincipalRuleValidationError struct {
	// contains filtered or unexported fields
}

PrincipalRuleValidationError is the validation error returned by PrincipalRule.Validate if the designated constraints aren't met.

func (PrincipalRuleValidationError) Cause

Cause function returns cause value.

func (PrincipalRuleValidationError) Error

Error satisfies the builtin error interface

func (PrincipalRuleValidationError) ErrorName

func (e PrincipalRuleValidationError) ErrorName() string

ErrorName returns error name.

func (PrincipalRuleValidationError) Field

Field function returns field value.

func (PrincipalRuleValidationError) Key

Key function returns key value.

func (PrincipalRuleValidationError) Reason

Reason function returns reason value.

type PrincipalRule_Action

type PrincipalRule_Action struct {
	Action    string     `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Condition *Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect    v1.Effect  `protobuf:"varint,3,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Name      string     `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalRule_Action) Descriptor deprecated

func (*PrincipalRule_Action) Descriptor() ([]byte, []int)

Deprecated: Use PrincipalRule_Action.ProtoReflect.Descriptor instead.

func (*PrincipalRule_Action) GetAction

func (x *PrincipalRule_Action) GetAction() string

func (*PrincipalRule_Action) GetCondition

func (x *PrincipalRule_Action) GetCondition() *Condition

func (*PrincipalRule_Action) GetEffect

func (x *PrincipalRule_Action) GetEffect() v1.Effect

func (*PrincipalRule_Action) GetName added in v0.8.0

func (x *PrincipalRule_Action) GetName() string

func (*PrincipalRule_Action) HashPB added in v0.13.0

func (m *PrincipalRule_Action) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*PrincipalRule_Action) MarshalToSizedBufferVT

func (m *PrincipalRule_Action) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PrincipalRule_Action) MarshalToVT

func (m *PrincipalRule_Action) MarshalToVT(dAtA []byte) (int, error)

func (*PrincipalRule_Action) MarshalVT

func (m *PrincipalRule_Action) MarshalVT() (dAtA []byte, err error)

func (*PrincipalRule_Action) ProtoMessage

func (*PrincipalRule_Action) ProtoMessage()

func (*PrincipalRule_Action) ProtoReflect

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

func (*PrincipalRule_Action) Reset

func (x *PrincipalRule_Action) Reset()

func (*PrincipalRule_Action) SizeVT

func (m *PrincipalRule_Action) SizeVT() (n int)

func (*PrincipalRule_Action) String

func (x *PrincipalRule_Action) String() string

func (*PrincipalRule_Action) UnmarshalVT

func (m *PrincipalRule_Action) UnmarshalVT(dAtA []byte) error

func (*PrincipalRule_Action) Validate

func (m *PrincipalRule_Action) Validate() error

Validate checks the field values on PrincipalRule_Action 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 (*PrincipalRule_Action) ValidateAll added in v0.12.0

func (m *PrincipalRule_Action) ValidateAll() error

ValidateAll checks the field values on PrincipalRule_Action 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 PrincipalRule_ActionMultiError, or nil if none found.

type PrincipalRule_ActionMultiError added in v0.12.0

type PrincipalRule_ActionMultiError []error

PrincipalRule_ActionMultiError is an error wrapping multiple validation errors returned by PrincipalRule_Action.ValidateAll() if the designated constraints aren't met.

func (PrincipalRule_ActionMultiError) AllErrors added in v0.12.0

func (m PrincipalRule_ActionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PrincipalRule_ActionMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type PrincipalRule_ActionValidationError

type PrincipalRule_ActionValidationError struct {
	// contains filtered or unexported fields
}

PrincipalRule_ActionValidationError is the validation error returned by PrincipalRule_Action.Validate if the designated constraints aren't met.

func (PrincipalRule_ActionValidationError) Cause

Cause function returns cause value.

func (PrincipalRule_ActionValidationError) Error

Error satisfies the builtin error interface

func (PrincipalRule_ActionValidationError) ErrorName

ErrorName returns error name.

func (PrincipalRule_ActionValidationError) Field

Field function returns field value.

func (PrincipalRule_ActionValidationError) Key

Key function returns key value.

func (PrincipalRule_ActionValidationError) Reason

Reason function returns reason value.

type ResourcePolicy

type ResourcePolicy struct {
	Resource           string          `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Version            string          `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	ImportDerivedRoles []string        `protobuf:"bytes,3,rep,name=import_derived_roles,json=importDerivedRoles,proto3" json:"import_derived_roles,omitempty"`
	Rules              []*ResourceRule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	Scope              string          `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
	Schemas            *Schemas        `protobuf:"bytes,6,opt,name=schemas,proto3" json:"schemas,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePolicy) Descriptor deprecated

func (*ResourcePolicy) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePolicy.ProtoReflect.Descriptor instead.

func (*ResourcePolicy) GetImportDerivedRoles

func (x *ResourcePolicy) GetImportDerivedRoles() []string

func (*ResourcePolicy) GetResource

func (x *ResourcePolicy) GetResource() string

func (*ResourcePolicy) GetRules

func (x *ResourcePolicy) GetRules() []*ResourceRule

func (*ResourcePolicy) GetSchemas added in v0.11.0

func (x *ResourcePolicy) GetSchemas() *Schemas

func (*ResourcePolicy) GetScope added in v0.9.0

func (x *ResourcePolicy) GetScope() string

func (*ResourcePolicy) GetVersion

func (x *ResourcePolicy) GetVersion() string

func (*ResourcePolicy) HashPB added in v0.13.0

func (m *ResourcePolicy) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*ResourcePolicy) MarshalToSizedBufferVT

func (m *ResourcePolicy) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResourcePolicy) MarshalToVT

func (m *ResourcePolicy) MarshalToVT(dAtA []byte) (int, error)

func (*ResourcePolicy) MarshalVT

func (m *ResourcePolicy) MarshalVT() (dAtA []byte, err error)

func (*ResourcePolicy) ProtoMessage

func (*ResourcePolicy) ProtoMessage()

func (*ResourcePolicy) ProtoReflect

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

func (*ResourcePolicy) Reset

func (x *ResourcePolicy) Reset()

func (*ResourcePolicy) SizeVT

func (m *ResourcePolicy) SizeVT() (n int)

func (*ResourcePolicy) String

func (x *ResourcePolicy) String() string

func (*ResourcePolicy) UnmarshalVT

func (m *ResourcePolicy) UnmarshalVT(dAtA []byte) error

func (*ResourcePolicy) Validate

func (m *ResourcePolicy) Validate() error

Validate checks the field values on ResourcePolicy 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 (*ResourcePolicy) ValidateAll added in v0.12.0

func (m *ResourcePolicy) ValidateAll() error

ValidateAll checks the field values on ResourcePolicy 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 ResourcePolicyMultiError, or nil if none found.

type ResourcePolicyMultiError added in v0.12.0

type ResourcePolicyMultiError []error

ResourcePolicyMultiError is an error wrapping multiple validation errors returned by ResourcePolicy.ValidateAll() if the designated constraints aren't met.

func (ResourcePolicyMultiError) AllErrors added in v0.12.0

func (m ResourcePolicyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourcePolicyMultiError) Error added in v0.12.0

func (m ResourcePolicyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResourcePolicyValidationError

type ResourcePolicyValidationError struct {
	// contains filtered or unexported fields
}

ResourcePolicyValidationError is the validation error returned by ResourcePolicy.Validate if the designated constraints aren't met.

func (ResourcePolicyValidationError) Cause

Cause function returns cause value.

func (ResourcePolicyValidationError) Error

Error satisfies the builtin error interface

func (ResourcePolicyValidationError) ErrorName

func (e ResourcePolicyValidationError) ErrorName() string

ErrorName returns error name.

func (ResourcePolicyValidationError) Field

Field function returns field value.

func (ResourcePolicyValidationError) Key

Key function returns key value.

func (ResourcePolicyValidationError) Reason

Reason function returns reason value.

type ResourceRule

type ResourceRule struct {
	Actions      []string   `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	DerivedRoles []string   `protobuf:"bytes,2,rep,name=derived_roles,json=derivedRoles,proto3" json:"derived_roles,omitempty"`
	Roles        []string   `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Condition    *Condition `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect       v1.Effect  `protobuf:"varint,5,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	Name         string     `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceRule) Descriptor deprecated

func (*ResourceRule) Descriptor() ([]byte, []int)

Deprecated: Use ResourceRule.ProtoReflect.Descriptor instead.

func (*ResourceRule) GetActions

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

func (*ResourceRule) GetCondition

func (x *ResourceRule) GetCondition() *Condition

func (*ResourceRule) GetDerivedRoles

func (x *ResourceRule) GetDerivedRoles() []string

func (*ResourceRule) GetEffect

func (x *ResourceRule) GetEffect() v1.Effect

func (*ResourceRule) GetName added in v0.8.0

func (x *ResourceRule) GetName() string

func (*ResourceRule) GetRoles

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

func (*ResourceRule) HashPB added in v0.13.0

func (m *ResourceRule) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*ResourceRule) MarshalToSizedBufferVT

func (m *ResourceRule) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ResourceRule) MarshalToVT

func (m *ResourceRule) MarshalToVT(dAtA []byte) (int, error)

func (*ResourceRule) MarshalVT

func (m *ResourceRule) MarshalVT() (dAtA []byte, err error)

func (*ResourceRule) ProtoMessage

func (*ResourceRule) ProtoMessage()

func (*ResourceRule) ProtoReflect

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

func (*ResourceRule) Reset

func (x *ResourceRule) Reset()

func (*ResourceRule) SizeVT

func (m *ResourceRule) SizeVT() (n int)

func (*ResourceRule) String

func (x *ResourceRule) String() string

func (*ResourceRule) UnmarshalVT

func (m *ResourceRule) UnmarshalVT(dAtA []byte) error

func (*ResourceRule) Validate

func (m *ResourceRule) Validate() error

Validate checks the field values on ResourceRule 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 (*ResourceRule) ValidateAll added in v0.12.0

func (m *ResourceRule) ValidateAll() error

ValidateAll checks the field values on ResourceRule 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 ResourceRuleMultiError, or nil if none found.

type ResourceRuleMultiError added in v0.12.0

type ResourceRuleMultiError []error

ResourceRuleMultiError is an error wrapping multiple validation errors returned by ResourceRule.ValidateAll() if the designated constraints aren't met.

func (ResourceRuleMultiError) AllErrors added in v0.12.0

func (m ResourceRuleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceRuleMultiError) Error added in v0.12.0

func (m ResourceRuleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ResourceRuleValidationError

type ResourceRuleValidationError struct {
	// contains filtered or unexported fields
}

ResourceRuleValidationError is the validation error returned by ResourceRule.Validate if the designated constraints aren't met.

func (ResourceRuleValidationError) Cause

Cause function returns cause value.

func (ResourceRuleValidationError) Error

Error satisfies the builtin error interface

func (ResourceRuleValidationError) ErrorName

func (e ResourceRuleValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceRuleValidationError) Field

Field function returns field value.

func (ResourceRuleValidationError) Key

Key function returns key value.

func (ResourceRuleValidationError) Reason

Reason function returns reason value.

type RoleDef

type RoleDef struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentRoles []string   `protobuf:"bytes,2,rep,name=parent_roles,json=parentRoles,proto3" json:"parent_roles,omitempty"`
	Condition   *Condition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleDef) Descriptor deprecated

func (*RoleDef) Descriptor() ([]byte, []int)

Deprecated: Use RoleDef.ProtoReflect.Descriptor instead.

func (*RoleDef) GetCondition

func (x *RoleDef) GetCondition() *Condition

func (*RoleDef) GetName

func (x *RoleDef) GetName() string

func (*RoleDef) GetParentRoles

func (x *RoleDef) GetParentRoles() []string

func (*RoleDef) HashPB added in v0.13.0

func (m *RoleDef) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RoleDef) MarshalToSizedBufferVT

func (m *RoleDef) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RoleDef) MarshalToVT

func (m *RoleDef) MarshalToVT(dAtA []byte) (int, error)

func (*RoleDef) MarshalVT

func (m *RoleDef) MarshalVT() (dAtA []byte, err error)

func (*RoleDef) ProtoMessage

func (*RoleDef) ProtoMessage()

func (*RoleDef) ProtoReflect

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

func (*RoleDef) Reset

func (x *RoleDef) Reset()

func (*RoleDef) SizeVT

func (m *RoleDef) SizeVT() (n int)

func (*RoleDef) String

func (x *RoleDef) String() string

func (*RoleDef) UnmarshalVT

func (m *RoleDef) UnmarshalVT(dAtA []byte) error

func (*RoleDef) Validate

func (m *RoleDef) Validate() error

Validate checks the field values on RoleDef 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 (*RoleDef) ValidateAll added in v0.12.0

func (m *RoleDef) ValidateAll() error

ValidateAll checks the field values on RoleDef 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 RoleDefMultiError, or nil if none found.

type RoleDefMultiError added in v0.12.0

type RoleDefMultiError []error

RoleDefMultiError is an error wrapping multiple validation errors returned by RoleDef.ValidateAll() if the designated constraints aren't met.

func (RoleDefMultiError) AllErrors added in v0.12.0

func (m RoleDefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleDefMultiError) Error added in v0.12.0

func (m RoleDefMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleDefValidationError

type RoleDefValidationError struct {
	// contains filtered or unexported fields
}

RoleDefValidationError is the validation error returned by RoleDef.Validate if the designated constraints aren't met.

func (RoleDefValidationError) Cause

func (e RoleDefValidationError) Cause() error

Cause function returns cause value.

func (RoleDefValidationError) Error

func (e RoleDefValidationError) Error() string

Error satisfies the builtin error interface

func (RoleDefValidationError) ErrorName

func (e RoleDefValidationError) ErrorName() string

ErrorName returns error name.

func (RoleDefValidationError) Field

func (e RoleDefValidationError) Field() string

Field function returns field value.

func (RoleDefValidationError) Key

func (e RoleDefValidationError) Key() bool

Key function returns key value.

func (RoleDefValidationError) Reason

func (e RoleDefValidationError) Reason() string

Reason function returns reason value.

type Schemas added in v0.11.0

type Schemas struct {
	PrincipalSchema *Schemas_Schema `protobuf:"bytes,1,opt,name=principal_schema,json=principalSchema,proto3" json:"principal_schema,omitempty"`
	ResourceSchema  *Schemas_Schema `protobuf:"bytes,2,opt,name=resource_schema,json=resourceSchema,proto3" json:"resource_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas) Descriptor deprecated added in v0.11.0

func (*Schemas) Descriptor() ([]byte, []int)

Deprecated: Use Schemas.ProtoReflect.Descriptor instead.

func (*Schemas) GetPrincipalSchema added in v0.11.0

func (x *Schemas) GetPrincipalSchema() *Schemas_Schema

func (*Schemas) GetResourceSchema added in v0.11.0

func (x *Schemas) GetResourceSchema() *Schemas_Schema

func (*Schemas) HashPB added in v0.13.0

func (m *Schemas) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Schemas) MarshalToSizedBufferVT added in v0.11.0

func (m *Schemas) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Schemas) MarshalToVT added in v0.11.0

func (m *Schemas) MarshalToVT(dAtA []byte) (int, error)

func (*Schemas) MarshalVT added in v0.11.0

func (m *Schemas) MarshalVT() (dAtA []byte, err error)

func (*Schemas) ProtoMessage added in v0.11.0

func (*Schemas) ProtoMessage()

func (*Schemas) ProtoReflect added in v0.11.0

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

func (*Schemas) Reset added in v0.11.0

func (x *Schemas) Reset()

func (*Schemas) SizeVT added in v0.11.0

func (m *Schemas) SizeVT() (n int)

func (*Schemas) String added in v0.11.0

func (x *Schemas) String() string

func (*Schemas) UnmarshalVT added in v0.11.0

func (m *Schemas) UnmarshalVT(dAtA []byte) error

func (*Schemas) Validate added in v0.11.0

func (m *Schemas) Validate() error

Validate checks the field values on Schemas 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 (*Schemas) ValidateAll added in v0.12.0

func (m *Schemas) ValidateAll() error

ValidateAll checks the field values on Schemas 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 SchemasMultiError, or nil if none found.

type SchemasMultiError added in v0.12.0

type SchemasMultiError []error

SchemasMultiError is an error wrapping multiple validation errors returned by Schemas.ValidateAll() if the designated constraints aren't met.

func (SchemasMultiError) AllErrors added in v0.12.0

func (m SchemasMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SchemasMultiError) Error added in v0.12.0

func (m SchemasMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SchemasValidationError added in v0.11.0

type SchemasValidationError struct {
	// contains filtered or unexported fields
}

SchemasValidationError is the validation error returned by Schemas.Validate if the designated constraints aren't met.

func (SchemasValidationError) Cause added in v0.11.0

func (e SchemasValidationError) Cause() error

Cause function returns cause value.

func (SchemasValidationError) Error added in v0.11.0

func (e SchemasValidationError) Error() string

Error satisfies the builtin error interface

func (SchemasValidationError) ErrorName added in v0.11.0

func (e SchemasValidationError) ErrorName() string

ErrorName returns error name.

func (SchemasValidationError) Field added in v0.11.0

func (e SchemasValidationError) Field() string

Field function returns field value.

func (SchemasValidationError) Key added in v0.11.0

func (e SchemasValidationError) Key() bool

Key function returns key value.

func (SchemasValidationError) Reason added in v0.11.0

func (e SchemasValidationError) Reason() string

Reason function returns reason value.

type Schemas_IgnoreWhen added in v0.12.0

type Schemas_IgnoreWhen struct {
	Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas_IgnoreWhen) Descriptor deprecated added in v0.12.0

func (*Schemas_IgnoreWhen) Descriptor() ([]byte, []int)

Deprecated: Use Schemas_IgnoreWhen.ProtoReflect.Descriptor instead.

func (*Schemas_IgnoreWhen) GetActions added in v0.12.0

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

func (*Schemas_IgnoreWhen) HashPB added in v0.13.0

func (m *Schemas_IgnoreWhen) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Schemas_IgnoreWhen) MarshalToSizedBufferVT added in v0.12.0

func (m *Schemas_IgnoreWhen) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Schemas_IgnoreWhen) MarshalToVT added in v0.12.0

func (m *Schemas_IgnoreWhen) MarshalToVT(dAtA []byte) (int, error)

func (*Schemas_IgnoreWhen) MarshalVT added in v0.12.0

func (m *Schemas_IgnoreWhen) MarshalVT() (dAtA []byte, err error)

func (*Schemas_IgnoreWhen) ProtoMessage added in v0.12.0

func (*Schemas_IgnoreWhen) ProtoMessage()

func (*Schemas_IgnoreWhen) ProtoReflect added in v0.12.0

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

func (*Schemas_IgnoreWhen) Reset added in v0.12.0

func (x *Schemas_IgnoreWhen) Reset()

func (*Schemas_IgnoreWhen) SizeVT added in v0.12.0

func (m *Schemas_IgnoreWhen) SizeVT() (n int)

func (*Schemas_IgnoreWhen) String added in v0.12.0

func (x *Schemas_IgnoreWhen) String() string

func (*Schemas_IgnoreWhen) UnmarshalVT added in v0.12.0

func (m *Schemas_IgnoreWhen) UnmarshalVT(dAtA []byte) error

func (*Schemas_IgnoreWhen) Validate added in v0.12.0

func (m *Schemas_IgnoreWhen) Validate() error

Validate checks the field values on Schemas_IgnoreWhen 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 (*Schemas_IgnoreWhen) ValidateAll added in v0.12.0

func (m *Schemas_IgnoreWhen) ValidateAll() error

ValidateAll checks the field values on Schemas_IgnoreWhen 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 Schemas_IgnoreWhenMultiError, or nil if none found.

type Schemas_IgnoreWhenMultiError added in v0.12.0

type Schemas_IgnoreWhenMultiError []error

Schemas_IgnoreWhenMultiError is an error wrapping multiple validation errors returned by Schemas_IgnoreWhen.ValidateAll() if the designated constraints aren't met.

func (Schemas_IgnoreWhenMultiError) AllErrors added in v0.12.0

func (m Schemas_IgnoreWhenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Schemas_IgnoreWhenMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type Schemas_IgnoreWhenValidationError added in v0.12.0

type Schemas_IgnoreWhenValidationError struct {
	// contains filtered or unexported fields
}

Schemas_IgnoreWhenValidationError is the validation error returned by Schemas_IgnoreWhen.Validate if the designated constraints aren't met.

func (Schemas_IgnoreWhenValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (Schemas_IgnoreWhenValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (Schemas_IgnoreWhenValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (Schemas_IgnoreWhenValidationError) Field added in v0.12.0

Field function returns field value.

func (Schemas_IgnoreWhenValidationError) Key added in v0.12.0

Key function returns key value.

func (Schemas_IgnoreWhenValidationError) Reason added in v0.12.0

Reason function returns reason value.

type Schemas_Schema added in v0.11.0

type Schemas_Schema struct {
	Ref        string              `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	IgnoreWhen *Schemas_IgnoreWhen `protobuf:"bytes,2,opt,name=ignore_when,json=ignoreWhen,proto3" json:"ignore_when,omitempty"`
	// contains filtered or unexported fields
}

func (*Schemas_Schema) Descriptor deprecated added in v0.11.0

func (*Schemas_Schema) Descriptor() ([]byte, []int)

Deprecated: Use Schemas_Schema.ProtoReflect.Descriptor instead.

func (*Schemas_Schema) GetIgnoreWhen added in v0.12.0

func (x *Schemas_Schema) GetIgnoreWhen() *Schemas_IgnoreWhen

func (*Schemas_Schema) GetRef added in v0.11.0

func (x *Schemas_Schema) GetRef() string

func (*Schemas_Schema) HashPB added in v0.13.0

func (m *Schemas_Schema) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Schemas_Schema) MarshalToSizedBufferVT added in v0.11.0

func (m *Schemas_Schema) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Schemas_Schema) MarshalToVT added in v0.11.0

func (m *Schemas_Schema) MarshalToVT(dAtA []byte) (int, error)

func (*Schemas_Schema) MarshalVT added in v0.11.0

func (m *Schemas_Schema) MarshalVT() (dAtA []byte, err error)

func (*Schemas_Schema) ProtoMessage added in v0.11.0

func (*Schemas_Schema) ProtoMessage()

func (*Schemas_Schema) ProtoReflect added in v0.11.0

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

func (*Schemas_Schema) Reset added in v0.11.0

func (x *Schemas_Schema) Reset()

func (*Schemas_Schema) SizeVT added in v0.11.0

func (m *Schemas_Schema) SizeVT() (n int)

func (*Schemas_Schema) String added in v0.11.0

func (x *Schemas_Schema) String() string

func (*Schemas_Schema) UnmarshalVT added in v0.11.0

func (m *Schemas_Schema) UnmarshalVT(dAtA []byte) error

func (*Schemas_Schema) Validate added in v0.11.0

func (m *Schemas_Schema) Validate() error

Validate checks the field values on Schemas_Schema 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 (*Schemas_Schema) ValidateAll added in v0.12.0

func (m *Schemas_Schema) ValidateAll() error

ValidateAll checks the field values on Schemas_Schema 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 Schemas_SchemaMultiError, or nil if none found.

type Schemas_SchemaMultiError added in v0.12.0

type Schemas_SchemaMultiError []error

Schemas_SchemaMultiError is an error wrapping multiple validation errors returned by Schemas_Schema.ValidateAll() if the designated constraints aren't met.

func (Schemas_SchemaMultiError) AllErrors added in v0.12.0

func (m Schemas_SchemaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Schemas_SchemaMultiError) Error added in v0.12.0

func (m Schemas_SchemaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Schemas_SchemaValidationError added in v0.11.0

type Schemas_SchemaValidationError struct {
	// contains filtered or unexported fields
}

Schemas_SchemaValidationError is the validation error returned by Schemas_Schema.Validate if the designated constraints aren't met.

func (Schemas_SchemaValidationError) Cause added in v0.11.0

Cause function returns cause value.

func (Schemas_SchemaValidationError) Error added in v0.11.0

Error satisfies the builtin error interface

func (Schemas_SchemaValidationError) ErrorName added in v0.11.0

func (e Schemas_SchemaValidationError) ErrorName() string

ErrorName returns error name.

func (Schemas_SchemaValidationError) Field added in v0.11.0

Field function returns field value.

func (Schemas_SchemaValidationError) Key added in v0.11.0

Key function returns key value.

func (Schemas_SchemaValidationError) Reason added in v0.11.0

Reason function returns reason value.

type Test

type Test struct {
	Name        *Test_TestName       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip        bool                 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason  string               `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Input       *v11.CheckInput      `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Expected    map[string]v1.Effect `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

func (*Test) Descriptor() ([]byte, []int)

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetDescription

func (x *Test) GetDescription() string

func (*Test) GetExpected

func (x *Test) GetExpected() map[string]v1.Effect

func (*Test) GetInput

func (x *Test) GetInput() *v11.CheckInput

func (*Test) GetName

func (x *Test) GetName() *Test_TestName

func (*Test) GetSkip

func (x *Test) GetSkip() bool

func (*Test) GetSkipReason

func (x *Test) GetSkipReason() string

func (*Test) HashPB added in v0.13.0

func (m *Test) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Test) MarshalToSizedBufferVT

func (m *Test) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Test) MarshalToVT

func (m *Test) MarshalToVT(dAtA []byte) (int, error)

func (*Test) MarshalVT

func (m *Test) MarshalVT() (dAtA []byte, err error)

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) SizeVT

func (m *Test) SizeVT() (n int)

func (*Test) String

func (x *Test) String() string

func (*Test) UnmarshalVT

func (m *Test) UnmarshalVT(dAtA []byte) error

func (*Test) Validate

func (m *Test) Validate() error

Validate checks the field values on Test 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 (*Test) ValidateAll added in v0.12.0

func (m *Test) ValidateAll() error

ValidateAll checks the field values on Test 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 TestMultiError, or nil if none found.

type TestFixture added in v0.7.0

type TestFixture struct {
	// contains filtered or unexported fields
}

func (*TestFixture) Descriptor deprecated added in v0.7.0

func (*TestFixture) Descriptor() ([]byte, []int)

Deprecated: Use TestFixture.ProtoReflect.Descriptor instead.

func (*TestFixture) MarshalToSizedBufferVT added in v0.7.0

func (m *TestFixture) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestFixture) MarshalToVT added in v0.7.0

func (m *TestFixture) MarshalToVT(dAtA []byte) (int, error)

func (*TestFixture) MarshalVT added in v0.7.0

func (m *TestFixture) MarshalVT() (dAtA []byte, err error)

func (*TestFixture) ProtoMessage added in v0.7.0

func (*TestFixture) ProtoMessage()

func (*TestFixture) ProtoReflect added in v0.7.0

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

func (*TestFixture) Reset added in v0.7.0

func (x *TestFixture) Reset()

func (*TestFixture) SizeVT added in v0.7.0

func (m *TestFixture) SizeVT() (n int)

func (*TestFixture) String added in v0.7.0

func (x *TestFixture) String() string

func (*TestFixture) UnmarshalVT added in v0.7.0

func (m *TestFixture) UnmarshalVT(dAtA []byte) error

func (*TestFixture) Validate added in v0.7.0

func (m *TestFixture) Validate() error

Validate checks the field values on TestFixture 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 (*TestFixture) ValidateAll added in v0.12.0

func (m *TestFixture) ValidateAll() error

ValidateAll checks the field values on TestFixture 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 TestFixtureMultiError, or nil if none found.

type TestFixtureMultiError added in v0.12.0

type TestFixtureMultiError []error

TestFixtureMultiError is an error wrapping multiple validation errors returned by TestFixture.ValidateAll() if the designated constraints aren't met.

func (TestFixtureMultiError) AllErrors added in v0.12.0

func (m TestFixtureMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestFixtureMultiError) Error added in v0.12.0

func (m TestFixtureMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TestFixtureValidationError added in v0.7.0

type TestFixtureValidationError struct {
	// contains filtered or unexported fields
}

TestFixtureValidationError is the validation error returned by TestFixture.Validate if the designated constraints aren't met.

func (TestFixtureValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (TestFixtureValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (TestFixtureValidationError) ErrorName added in v0.7.0

func (e TestFixtureValidationError) ErrorName() string

ErrorName returns error name.

func (TestFixtureValidationError) Field added in v0.7.0

Field function returns field value.

func (TestFixtureValidationError) Key added in v0.7.0

Key function returns key value.

func (TestFixtureValidationError) Reason added in v0.7.0

Reason function returns reason value.

type TestFixture_AuxData added in v0.12.0

type TestFixture_AuxData struct {
	AuxData map[string]*v11.AuxData `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestFixture_AuxData) Descriptor deprecated added in v0.12.0

func (*TestFixture_AuxData) Descriptor() ([]byte, []int)

Deprecated: Use TestFixture_AuxData.ProtoReflect.Descriptor instead.

func (*TestFixture_AuxData) GetAuxData added in v0.12.0

func (x *TestFixture_AuxData) GetAuxData() map[string]*v11.AuxData

func (*TestFixture_AuxData) MarshalToSizedBufferVT added in v0.12.0

func (m *TestFixture_AuxData) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestFixture_AuxData) MarshalToVT added in v0.12.0

func (m *TestFixture_AuxData) MarshalToVT(dAtA []byte) (int, error)

func (*TestFixture_AuxData) MarshalVT added in v0.12.0

func (m *TestFixture_AuxData) MarshalVT() (dAtA []byte, err error)

func (*TestFixture_AuxData) ProtoMessage added in v0.12.0

func (*TestFixture_AuxData) ProtoMessage()

func (*TestFixture_AuxData) ProtoReflect added in v0.12.0

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

func (*TestFixture_AuxData) Reset added in v0.12.0

func (x *TestFixture_AuxData) Reset()

func (*TestFixture_AuxData) SizeVT added in v0.12.0

func (m *TestFixture_AuxData) SizeVT() (n int)

func (*TestFixture_AuxData) String added in v0.12.0

func (x *TestFixture_AuxData) String() string

func (*TestFixture_AuxData) UnmarshalVT added in v0.12.0

func (m *TestFixture_AuxData) UnmarshalVT(dAtA []byte) error

func (*TestFixture_AuxData) Validate added in v0.12.0

func (m *TestFixture_AuxData) Validate() error

Validate checks the field values on TestFixture_AuxData 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 (*TestFixture_AuxData) ValidateAll added in v0.12.0

func (m *TestFixture_AuxData) ValidateAll() error

ValidateAll checks the field values on TestFixture_AuxData 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 TestFixture_AuxDataMultiError, or nil if none found.

type TestFixture_AuxDataMultiError added in v0.12.0

type TestFixture_AuxDataMultiError []error

TestFixture_AuxDataMultiError is an error wrapping multiple validation errors returned by TestFixture_AuxData.ValidateAll() if the designated constraints aren't met.

func (TestFixture_AuxDataMultiError) AllErrors added in v0.12.0

func (m TestFixture_AuxDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestFixture_AuxDataMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type TestFixture_AuxDataValidationError added in v0.12.0

type TestFixture_AuxDataValidationError struct {
	// contains filtered or unexported fields
}

TestFixture_AuxDataValidationError is the validation error returned by TestFixture_AuxData.Validate if the designated constraints aren't met.

func (TestFixture_AuxDataValidationError) Cause added in v0.12.0

Cause function returns cause value.

func (TestFixture_AuxDataValidationError) Error added in v0.12.0

Error satisfies the builtin error interface

func (TestFixture_AuxDataValidationError) ErrorName added in v0.12.0

ErrorName returns error name.

func (TestFixture_AuxDataValidationError) Field added in v0.12.0

Field function returns field value.

func (TestFixture_AuxDataValidationError) Key added in v0.12.0

Key function returns key value.

func (TestFixture_AuxDataValidationError) Reason added in v0.12.0

Reason function returns reason value.

type TestFixture_Principals added in v0.7.0

type TestFixture_Principals struct {
	Principals map[string]*v11.Principal `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestFixture_Principals) Descriptor deprecated added in v0.7.0

func (*TestFixture_Principals) Descriptor() ([]byte, []int)

Deprecated: Use TestFixture_Principals.ProtoReflect.Descriptor instead.

func (*TestFixture_Principals) GetPrincipals added in v0.7.0

func (x *TestFixture_Principals) GetPrincipals() map[string]*v11.Principal

func (*TestFixture_Principals) MarshalToSizedBufferVT added in v0.7.0

func (m *TestFixture_Principals) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestFixture_Principals) MarshalToVT added in v0.7.0

func (m *TestFixture_Principals) MarshalToVT(dAtA []byte) (int, error)

func (*TestFixture_Principals) MarshalVT added in v0.7.0

func (m *TestFixture_Principals) MarshalVT() (dAtA []byte, err error)

func (*TestFixture_Principals) ProtoMessage added in v0.7.0

func (*TestFixture_Principals) ProtoMessage()

func (*TestFixture_Principals) ProtoReflect added in v0.7.0

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

func (*TestFixture_Principals) Reset added in v0.7.0

func (x *TestFixture_Principals) Reset()

func (*TestFixture_Principals) SizeVT added in v0.7.0

func (m *TestFixture_Principals) SizeVT() (n int)

func (*TestFixture_Principals) String added in v0.7.0

func (x *TestFixture_Principals) String() string

func (*TestFixture_Principals) UnmarshalVT added in v0.7.0

func (m *TestFixture_Principals) UnmarshalVT(dAtA []byte) error

func (*TestFixture_Principals) Validate added in v0.7.0

func (m *TestFixture_Principals) Validate() error

Validate checks the field values on TestFixture_Principals 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 (*TestFixture_Principals) ValidateAll added in v0.12.0

func (m *TestFixture_Principals) ValidateAll() error

ValidateAll checks the field values on TestFixture_Principals 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 TestFixture_PrincipalsMultiError, or nil if none found.

type TestFixture_PrincipalsMultiError added in v0.12.0

type TestFixture_PrincipalsMultiError []error

TestFixture_PrincipalsMultiError is an error wrapping multiple validation errors returned by TestFixture_Principals.ValidateAll() if the designated constraints aren't met.

func (TestFixture_PrincipalsMultiError) AllErrors added in v0.12.0

func (m TestFixture_PrincipalsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestFixture_PrincipalsMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type TestFixture_PrincipalsValidationError added in v0.7.0

type TestFixture_PrincipalsValidationError struct {
	// contains filtered or unexported fields
}

TestFixture_PrincipalsValidationError is the validation error returned by TestFixture_Principals.Validate if the designated constraints aren't met.

func (TestFixture_PrincipalsValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (TestFixture_PrincipalsValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (TestFixture_PrincipalsValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (TestFixture_PrincipalsValidationError) Field added in v0.7.0

Field function returns field value.

func (TestFixture_PrincipalsValidationError) Key added in v0.7.0

Key function returns key value.

func (TestFixture_PrincipalsValidationError) Reason added in v0.7.0

Reason function returns reason value.

type TestFixture_Resources added in v0.7.0

type TestFixture_Resources struct {
	Resources map[string]*v11.Resource `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestFixture_Resources) Descriptor deprecated added in v0.7.0

func (*TestFixture_Resources) Descriptor() ([]byte, []int)

Deprecated: Use TestFixture_Resources.ProtoReflect.Descriptor instead.

func (*TestFixture_Resources) GetResources added in v0.7.0

func (x *TestFixture_Resources) GetResources() map[string]*v11.Resource

func (*TestFixture_Resources) MarshalToSizedBufferVT added in v0.7.0

func (m *TestFixture_Resources) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestFixture_Resources) MarshalToVT added in v0.7.0

func (m *TestFixture_Resources) MarshalToVT(dAtA []byte) (int, error)

func (*TestFixture_Resources) MarshalVT added in v0.7.0

func (m *TestFixture_Resources) MarshalVT() (dAtA []byte, err error)

func (*TestFixture_Resources) ProtoMessage added in v0.7.0

func (*TestFixture_Resources) ProtoMessage()

func (*TestFixture_Resources) ProtoReflect added in v0.7.0

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

func (*TestFixture_Resources) Reset added in v0.7.0

func (x *TestFixture_Resources) Reset()

func (*TestFixture_Resources) SizeVT added in v0.7.0

func (m *TestFixture_Resources) SizeVT() (n int)

func (*TestFixture_Resources) String added in v0.7.0

func (x *TestFixture_Resources) String() string

func (*TestFixture_Resources) UnmarshalVT added in v0.7.0

func (m *TestFixture_Resources) UnmarshalVT(dAtA []byte) error

func (*TestFixture_Resources) Validate added in v0.7.0

func (m *TestFixture_Resources) Validate() error

Validate checks the field values on TestFixture_Resources 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 (*TestFixture_Resources) ValidateAll added in v0.12.0

func (m *TestFixture_Resources) ValidateAll() error

ValidateAll checks the field values on TestFixture_Resources 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 TestFixture_ResourcesMultiError, or nil if none found.

type TestFixture_ResourcesMultiError added in v0.12.0

type TestFixture_ResourcesMultiError []error

TestFixture_ResourcesMultiError is an error wrapping multiple validation errors returned by TestFixture_Resources.ValidateAll() if the designated constraints aren't met.

func (TestFixture_ResourcesMultiError) AllErrors added in v0.12.0

func (m TestFixture_ResourcesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestFixture_ResourcesMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type TestFixture_ResourcesValidationError added in v0.7.0

type TestFixture_ResourcesValidationError struct {
	// contains filtered or unexported fields
}

TestFixture_ResourcesValidationError is the validation error returned by TestFixture_Resources.Validate if the designated constraints aren't met.

func (TestFixture_ResourcesValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (TestFixture_ResourcesValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (TestFixture_ResourcesValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (TestFixture_ResourcesValidationError) Field added in v0.7.0

Field function returns field value.

func (TestFixture_ResourcesValidationError) Key added in v0.7.0

Key function returns key value.

func (TestFixture_ResourcesValidationError) Reason added in v0.7.0

Reason function returns reason value.

type TestMultiError added in v0.12.0

type TestMultiError []error

TestMultiError is an error wrapping multiple validation errors returned by Test.ValidateAll() if the designated constraints aren't met.

func (TestMultiError) AllErrors added in v0.12.0

func (m TestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestMultiError) Error added in v0.12.0

func (m TestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TestSuite

type TestSuite struct {
	Name        string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip        bool                      `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason  string                    `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Tests       []*TestTable              `protobuf:"bytes,5,rep,name=tests,proto3" json:"tests,omitempty"`
	Principals  map[string]*v11.Principal `` /* 161-byte string literal not displayed */
	Resources   map[string]*v11.Resource  `` /* 159-byte string literal not displayed */
	AuxData     map[string]*v11.AuxData   `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestSuite) Descriptor deprecated

func (*TestSuite) Descriptor() ([]byte, []int)

Deprecated: Use TestSuite.ProtoReflect.Descriptor instead.

func (*TestSuite) GetAuxData added in v0.12.0

func (x *TestSuite) GetAuxData() map[string]*v11.AuxData

func (*TestSuite) GetDescription

func (x *TestSuite) GetDescription() string

func (*TestSuite) GetName

func (x *TestSuite) GetName() string

func (*TestSuite) GetPrincipals added in v0.7.0

func (x *TestSuite) GetPrincipals() map[string]*v11.Principal

func (*TestSuite) GetResources added in v0.7.0

func (x *TestSuite) GetResources() map[string]*v11.Resource

func (*TestSuite) GetSkip

func (x *TestSuite) GetSkip() bool

func (*TestSuite) GetSkipReason

func (x *TestSuite) GetSkipReason() string

func (*TestSuite) GetTests

func (x *TestSuite) GetTests() []*TestTable

func (*TestSuite) HashPB added in v0.13.0

func (m *TestSuite) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*TestSuite) MarshalToSizedBufferVT

func (m *TestSuite) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestSuite) MarshalToVT

func (m *TestSuite) MarshalToVT(dAtA []byte) (int, error)

func (*TestSuite) MarshalVT

func (m *TestSuite) MarshalVT() (dAtA []byte, err error)

func (*TestSuite) ProtoMessage

func (*TestSuite) ProtoMessage()

func (*TestSuite) ProtoReflect

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

func (*TestSuite) Reset

func (x *TestSuite) Reset()

func (*TestSuite) SizeVT

func (m *TestSuite) SizeVT() (n int)

func (*TestSuite) String

func (x *TestSuite) String() string

func (*TestSuite) UnmarshalVT

func (m *TestSuite) UnmarshalVT(dAtA []byte) error

func (*TestSuite) Validate

func (m *TestSuite) Validate() error

Validate checks the field values on TestSuite 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 (*TestSuite) ValidateAll added in v0.12.0

func (m *TestSuite) ValidateAll() error

ValidateAll checks the field values on TestSuite 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 TestSuiteMultiError, or nil if none found.

type TestSuiteMultiError added in v0.12.0

type TestSuiteMultiError []error

TestSuiteMultiError is an error wrapping multiple validation errors returned by TestSuite.ValidateAll() if the designated constraints aren't met.

func (TestSuiteMultiError) AllErrors added in v0.12.0

func (m TestSuiteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestSuiteMultiError) Error added in v0.12.0

func (m TestSuiteMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TestSuiteValidationError

type TestSuiteValidationError struct {
	// contains filtered or unexported fields
}

TestSuiteValidationError is the validation error returned by TestSuite.Validate if the designated constraints aren't met.

func (TestSuiteValidationError) Cause

func (e TestSuiteValidationError) Cause() error

Cause function returns cause value.

func (TestSuiteValidationError) Error

func (e TestSuiteValidationError) Error() string

Error satisfies the builtin error interface

func (TestSuiteValidationError) ErrorName

func (e TestSuiteValidationError) ErrorName() string

ErrorName returns error name.

func (TestSuiteValidationError) Field

func (e TestSuiteValidationError) Field() string

Field function returns field value.

func (TestSuiteValidationError) Key

Key function returns key value.

func (TestSuiteValidationError) Reason

func (e TestSuiteValidationError) Reason() string

Reason function returns reason value.

type TestTable added in v0.7.0

type TestTable struct {
	Name        string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string                    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Skip        bool                      `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
	SkipReason  string                    `protobuf:"bytes,4,opt,name=skip_reason,json=skipReason,proto3" json:"skip_reason,omitempty"`
	Input       *TestTable_CheckInput     `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Expected    []*TestTable_ExpectedItem `protobuf:"bytes,6,rep,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable) Descriptor deprecated added in v0.7.0

func (*TestTable) Descriptor() ([]byte, []int)

Deprecated: Use TestTable.ProtoReflect.Descriptor instead.

func (*TestTable) GetDescription added in v0.7.0

func (x *TestTable) GetDescription() string

func (*TestTable) GetExpected added in v0.7.0

func (x *TestTable) GetExpected() []*TestTable_ExpectedItem

func (*TestTable) GetInput added in v0.7.0

func (x *TestTable) GetInput() *TestTable_CheckInput

func (*TestTable) GetName added in v0.7.0

func (x *TestTable) GetName() string

func (*TestTable) GetSkip added in v0.7.0

func (x *TestTable) GetSkip() bool

func (*TestTable) GetSkipReason added in v0.7.0

func (x *TestTable) GetSkipReason() string

func (*TestTable) HashPB added in v0.13.0

func (m *TestTable) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*TestTable) MarshalToSizedBufferVT added in v0.7.0

func (m *TestTable) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestTable) MarshalToVT added in v0.7.0

func (m *TestTable) MarshalToVT(dAtA []byte) (int, error)

func (*TestTable) MarshalVT added in v0.7.0

func (m *TestTable) MarshalVT() (dAtA []byte, err error)

func (*TestTable) ProtoMessage added in v0.7.0

func (*TestTable) ProtoMessage()

func (*TestTable) ProtoReflect added in v0.7.0

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

func (*TestTable) Reset added in v0.7.0

func (x *TestTable) Reset()

func (*TestTable) SizeVT added in v0.7.0

func (m *TestTable) SizeVT() (n int)

func (*TestTable) String added in v0.7.0

func (x *TestTable) String() string

func (*TestTable) UnmarshalVT added in v0.7.0

func (m *TestTable) UnmarshalVT(dAtA []byte) error

func (*TestTable) Validate added in v0.7.0

func (m *TestTable) Validate() error

Validate checks the field values on TestTable 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 (*TestTable) ValidateAll added in v0.12.0

func (m *TestTable) ValidateAll() error

ValidateAll checks the field values on TestTable 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 TestTableMultiError, or nil if none found.

type TestTableMultiError added in v0.12.0

type TestTableMultiError []error

TestTableMultiError is an error wrapping multiple validation errors returned by TestTable.ValidateAll() if the designated constraints aren't met.

func (TestTableMultiError) AllErrors added in v0.12.0

func (m TestTableMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestTableMultiError) Error added in v0.12.0

func (m TestTableMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TestTableValidationError added in v0.7.0

type TestTableValidationError struct {
	// contains filtered or unexported fields
}

TestTableValidationError is the validation error returned by TestTable.Validate if the designated constraints aren't met.

func (TestTableValidationError) Cause added in v0.7.0

func (e TestTableValidationError) Cause() error

Cause function returns cause value.

func (TestTableValidationError) Error added in v0.7.0

func (e TestTableValidationError) Error() string

Error satisfies the builtin error interface

func (TestTableValidationError) ErrorName added in v0.7.0

func (e TestTableValidationError) ErrorName() string

ErrorName returns error name.

func (TestTableValidationError) Field added in v0.7.0

func (e TestTableValidationError) Field() string

Field function returns field value.

func (TestTableValidationError) Key added in v0.7.0

Key function returns key value.

func (TestTableValidationError) Reason added in v0.7.0

func (e TestTableValidationError) Reason() string

Reason function returns reason value.

type TestTable_CheckInput added in v0.7.0

type TestTable_CheckInput struct {
	RequestId string   `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	Resource  string   `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Actions   []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	AuxData   string   `protobuf:"bytes,4,opt,name=aux_data,json=auxData,proto3" json:"aux_data,omitempty"`
	// contains filtered or unexported fields
}

func (*TestTable_CheckInput) Descriptor deprecated added in v0.7.0

func (*TestTable_CheckInput) Descriptor() ([]byte, []int)

Deprecated: Use TestTable_CheckInput.ProtoReflect.Descriptor instead.

func (*TestTable_CheckInput) GetActions added in v0.7.0

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

func (*TestTable_CheckInput) GetAuxData added in v0.12.0

func (x *TestTable_CheckInput) GetAuxData() string

func (*TestTable_CheckInput) GetRequestId added in v0.7.0

func (x *TestTable_CheckInput) GetRequestId() string

func (*TestTable_CheckInput) GetResource added in v0.7.0

func (x *TestTable_CheckInput) GetResource() string

func (*TestTable_CheckInput) HashPB added in v0.13.0

func (m *TestTable_CheckInput) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*TestTable_CheckInput) MarshalToSizedBufferVT added in v0.7.0

func (m *TestTable_CheckInput) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestTable_CheckInput) MarshalToVT added in v0.7.0

func (m *TestTable_CheckInput) MarshalToVT(dAtA []byte) (int, error)

func (*TestTable_CheckInput) MarshalVT added in v0.7.0

func (m *TestTable_CheckInput) MarshalVT() (dAtA []byte, err error)

func (*TestTable_CheckInput) ProtoMessage added in v0.7.0

func (*TestTable_CheckInput) ProtoMessage()

func (*TestTable_CheckInput) ProtoReflect added in v0.7.0

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

func (*TestTable_CheckInput) Reset added in v0.7.0

func (x *TestTable_CheckInput) Reset()

func (*TestTable_CheckInput) SizeVT added in v0.7.0

func (m *TestTable_CheckInput) SizeVT() (n int)

func (*TestTable_CheckInput) String added in v0.7.0

func (x *TestTable_CheckInput) String() string

func (*TestTable_CheckInput) UnmarshalVT added in v0.7.0

func (m *TestTable_CheckInput) UnmarshalVT(dAtA []byte) error

func (*TestTable_CheckInput) Validate added in v0.7.0

func (m *TestTable_CheckInput) Validate() error

Validate checks the field values on TestTable_CheckInput 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 (*TestTable_CheckInput) ValidateAll added in v0.12.0

func (m *TestTable_CheckInput) ValidateAll() error

ValidateAll checks the field values on TestTable_CheckInput 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 TestTable_CheckInputMultiError, or nil if none found.

type TestTable_CheckInputMultiError added in v0.12.0

type TestTable_CheckInputMultiError []error

TestTable_CheckInputMultiError is an error wrapping multiple validation errors returned by TestTable_CheckInput.ValidateAll() if the designated constraints aren't met.

func (TestTable_CheckInputMultiError) AllErrors added in v0.12.0

func (m TestTable_CheckInputMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestTable_CheckInputMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type TestTable_CheckInputValidationError added in v0.7.0

type TestTable_CheckInputValidationError struct {
	// contains filtered or unexported fields
}

TestTable_CheckInputValidationError is the validation error returned by TestTable_CheckInput.Validate if the designated constraints aren't met.

func (TestTable_CheckInputValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (TestTable_CheckInputValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (TestTable_CheckInputValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (TestTable_CheckInputValidationError) Field added in v0.7.0

Field function returns field value.

func (TestTable_CheckInputValidationError) Key added in v0.7.0

Key function returns key value.

func (TestTable_CheckInputValidationError) Reason added in v0.7.0

Reason function returns reason value.

type TestTable_ExpectedItem added in v0.7.0

type TestTable_ExpectedItem struct {
	Principal string               `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Actions   map[string]v1.Effect `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestTable_ExpectedItem) Descriptor deprecated added in v0.7.0

func (*TestTable_ExpectedItem) Descriptor() ([]byte, []int)

Deprecated: Use TestTable_ExpectedItem.ProtoReflect.Descriptor instead.

func (*TestTable_ExpectedItem) GetActions added in v0.7.0

func (x *TestTable_ExpectedItem) GetActions() map[string]v1.Effect

func (*TestTable_ExpectedItem) GetPrincipal added in v0.7.0

func (x *TestTable_ExpectedItem) GetPrincipal() string

func (*TestTable_ExpectedItem) HashPB added in v0.13.0

func (m *TestTable_ExpectedItem) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*TestTable_ExpectedItem) MarshalToSizedBufferVT added in v0.7.0

func (m *TestTable_ExpectedItem) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TestTable_ExpectedItem) MarshalToVT added in v0.7.0

func (m *TestTable_ExpectedItem) MarshalToVT(dAtA []byte) (int, error)

func (*TestTable_ExpectedItem) MarshalVT added in v0.7.0

func (m *TestTable_ExpectedItem) MarshalVT() (dAtA []byte, err error)

func (*TestTable_ExpectedItem) ProtoMessage added in v0.7.0

func (*TestTable_ExpectedItem) ProtoMessage()

func (*TestTable_ExpectedItem) ProtoReflect added in v0.7.0

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

func (*TestTable_ExpectedItem) Reset added in v0.7.0

func (x *TestTable_ExpectedItem) Reset()

func (*TestTable_ExpectedItem) SizeVT added in v0.7.0

func (m *TestTable_ExpectedItem) SizeVT() (n int)

func (*TestTable_ExpectedItem) String added in v0.7.0

func (x *TestTable_ExpectedItem) String() string

func (*TestTable_ExpectedItem) UnmarshalVT added in v0.7.0

func (m *TestTable_ExpectedItem) UnmarshalVT(dAtA []byte) error

func (*TestTable_ExpectedItem) Validate added in v0.7.0

func (m *TestTable_ExpectedItem) Validate() error

Validate checks the field values on TestTable_ExpectedItem 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 (*TestTable_ExpectedItem) ValidateAll added in v0.12.0

func (m *TestTable_ExpectedItem) ValidateAll() error

ValidateAll checks the field values on TestTable_ExpectedItem 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 TestTable_ExpectedItemMultiError, or nil if none found.

type TestTable_ExpectedItemMultiError added in v0.12.0

type TestTable_ExpectedItemMultiError []error

TestTable_ExpectedItemMultiError is an error wrapping multiple validation errors returned by TestTable_ExpectedItem.ValidateAll() if the designated constraints aren't met.

func (TestTable_ExpectedItemMultiError) AllErrors added in v0.12.0

func (m TestTable_ExpectedItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestTable_ExpectedItemMultiError) Error added in v0.12.0

Error returns a concatenation of all the error messages it wraps.

type TestTable_ExpectedItemValidationError added in v0.7.0

type TestTable_ExpectedItemValidationError struct {
	// contains filtered or unexported fields
}

TestTable_ExpectedItemValidationError is the validation error returned by TestTable_ExpectedItem.Validate if the designated constraints aren't met.

func (TestTable_ExpectedItemValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (TestTable_ExpectedItemValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (TestTable_ExpectedItemValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (TestTable_ExpectedItemValidationError) Field added in v0.7.0

Field function returns field value.

func (TestTable_ExpectedItemValidationError) Key added in v0.7.0

Key function returns key value.

func (TestTable_ExpectedItemValidationError) Reason added in v0.7.0

Reason function returns reason value.

type TestValidationError

type TestValidationError struct {
	// contains filtered or unexported fields
}

TestValidationError is the validation error returned by Test.Validate if the designated constraints aren't met.

func (TestValidationError) Cause

func (e TestValidationError) Cause() error

Cause function returns cause value.

func (TestValidationError) Error

func (e TestValidationError) Error() string

Error satisfies the builtin error interface

func (TestValidationError) ErrorName

func (e TestValidationError) ErrorName() string

ErrorName returns error name.

func (TestValidationError) Field

func (e TestValidationError) Field() string

Field function returns field value.

func (TestValidationError) Key

func (e TestValidationError) Key() bool

Key function returns key value.

func (TestValidationError) Reason

func (e TestValidationError) Reason() string

Reason function returns reason value.

type Test_TestName added in v0.7.0

type Test_TestName struct {
	TestTableName string `protobuf:"bytes,1,opt,name=test_table_name,json=testTableName,proto3" json:"test_table_name,omitempty"`
	PrincipalKey  string `protobuf:"bytes,2,opt,name=principal_key,json=principalKey,proto3" json:"principal_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Test_TestName) Descriptor deprecated added in v0.7.0

func (*Test_TestName) Descriptor() ([]byte, []int)

Deprecated: Use Test_TestName.ProtoReflect.Descriptor instead.

func (*Test_TestName) GetPrincipalKey added in v0.7.0

func (x *Test_TestName) GetPrincipalKey() string

func (*Test_TestName) GetTestTableName added in v0.7.0

func (x *Test_TestName) GetTestTableName() string

func (*Test_TestName) HashPB added in v0.13.0

func (m *Test_TestName) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Test_TestName) MarshalToSizedBufferVT added in v0.7.0

func (m *Test_TestName) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Test_TestName) MarshalToVT added in v0.7.0

func (m *Test_TestName) MarshalToVT(dAtA []byte) (int, error)

func (*Test_TestName) MarshalVT added in v0.7.0

func (m *Test_TestName) MarshalVT() (dAtA []byte, err error)

func (*Test_TestName) ProtoMessage added in v0.7.0

func (*Test_TestName) ProtoMessage()

func (*Test_TestName) ProtoReflect added in v0.7.0

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

func (*Test_TestName) Reset added in v0.7.0

func (x *Test_TestName) Reset()

func (*Test_TestName) SizeVT added in v0.7.0

func (m *Test_TestName) SizeVT() (n int)

func (*Test_TestName) String added in v0.7.0

func (x *Test_TestName) String() string

func (*Test_TestName) UnmarshalVT added in v0.7.0

func (m *Test_TestName) UnmarshalVT(dAtA []byte) error

func (*Test_TestName) Validate added in v0.7.0

func (m *Test_TestName) Validate() error

Validate checks the field values on Test_TestName 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 (*Test_TestName) ValidateAll added in v0.12.0

func (m *Test_TestName) ValidateAll() error

ValidateAll checks the field values on Test_TestName 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 Test_TestNameMultiError, or nil if none found.

type Test_TestNameMultiError added in v0.12.0

type Test_TestNameMultiError []error

Test_TestNameMultiError is an error wrapping multiple validation errors returned by Test_TestName.ValidateAll() if the designated constraints aren't met.

func (Test_TestNameMultiError) AllErrors added in v0.12.0

func (m Test_TestNameMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Test_TestNameMultiError) Error added in v0.12.0

func (m Test_TestNameMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Test_TestNameValidationError added in v0.7.0

type Test_TestNameValidationError struct {
	// contains filtered or unexported fields
}

Test_TestNameValidationError is the validation error returned by Test_TestName.Validate if the designated constraints aren't met.

func (Test_TestNameValidationError) Cause added in v0.7.0

Cause function returns cause value.

func (Test_TestNameValidationError) Error added in v0.7.0

Error satisfies the builtin error interface

func (Test_TestNameValidationError) ErrorName added in v0.7.0

func (e Test_TestNameValidationError) ErrorName() string

ErrorName returns error name.

func (Test_TestNameValidationError) Field added in v0.7.0

Field function returns field value.

func (Test_TestNameValidationError) Key added in v0.7.0

Key function returns key value.

func (Test_TestNameValidationError) Reason added in v0.7.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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