implv1

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RelationMetadata_RelationKind_name = map[int32]string{
		0: "UNKNOWN_KIND",
		1: "RELATION",
		2: "PERMISSION",
	}
	RelationMetadata_RelationKind_value = map[string]int32{
		"UNKNOWN_KIND": 0,
		"RELATION":     1,
		"PERMISSION":   2,
	}
)

Enum value maps for RelationMetadata_RelationKind.

View Source
var File_impl_v1_impl_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DecodedZedToken

type DecodedZedToken struct {

	// Types that are assignable to VersionOneof:
	//	*DecodedZedToken_DeprecatedV1Zookie
	//	*DecodedZedToken_V1
	VersionOneof isDecodedZedToken_VersionOneof `protobuf_oneof:"version_oneof"`
	// contains filtered or unexported fields
}

func (*DecodedZedToken) Descriptor deprecated

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

Deprecated: Use DecodedZedToken.ProtoReflect.Descriptor instead.

func (*DecodedZedToken) GetDeprecatedV1Zookie

func (x *DecodedZedToken) GetDeprecatedV1Zookie() *DecodedZedToken_V1Zookie

func (*DecodedZedToken) GetV1

func (*DecodedZedToken) GetVersionOneof

func (m *DecodedZedToken) GetVersionOneof() isDecodedZedToken_VersionOneof

func (*DecodedZedToken) ProtoMessage

func (*DecodedZedToken) ProtoMessage()

func (*DecodedZedToken) ProtoReflect

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

func (*DecodedZedToken) Reset

func (x *DecodedZedToken) Reset()

func (*DecodedZedToken) String

func (x *DecodedZedToken) String() string

func (*DecodedZedToken) Validate

func (m *DecodedZedToken) Validate() error

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

func (*DecodedZedToken) ValidateAll added in v1.6.0

func (m *DecodedZedToken) ValidateAll() error

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

type DecodedZedTokenMultiError added in v1.6.0

type DecodedZedTokenMultiError []error

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

func (DecodedZedTokenMultiError) AllErrors added in v1.6.0

func (m DecodedZedTokenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecodedZedTokenMultiError) Error added in v1.6.0

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

type DecodedZedTokenValidationError

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

DecodedZedTokenValidationError is the validation error returned by DecodedZedToken.Validate if the designated constraints aren't met.

func (DecodedZedTokenValidationError) Cause

Cause function returns cause value.

func (DecodedZedTokenValidationError) Error

Error satisfies the builtin error interface

func (DecodedZedTokenValidationError) ErrorName

func (e DecodedZedTokenValidationError) ErrorName() string

ErrorName returns error name.

func (DecodedZedTokenValidationError) Field

Field function returns field value.

func (DecodedZedTokenValidationError) Key

Key function returns key value.

func (DecodedZedTokenValidationError) Reason

Reason function returns reason value.

type DecodedZedToken_DeprecatedV1Zookie

type DecodedZedToken_DeprecatedV1Zookie struct {
	DeprecatedV1Zookie *DecodedZedToken_V1Zookie `protobuf:"bytes,2,opt,name=deprecated_v1_zookie,json=deprecatedV1Zookie,proto3,oneof"`
}

type DecodedZedToken_V1

type DecodedZedToken_V1 struct {
	V1 *DecodedZedToken_V1ZedToken `protobuf:"bytes,3,opt,name=v1,proto3,oneof"`
}

type DecodedZedToken_V1ZedToken

type DecodedZedToken_V1ZedToken struct {
	Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedZedToken_V1ZedToken) Descriptor deprecated

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

Deprecated: Use DecodedZedToken_V1ZedToken.ProtoReflect.Descriptor instead.

func (*DecodedZedToken_V1ZedToken) GetRevision

func (x *DecodedZedToken_V1ZedToken) GetRevision() string

func (*DecodedZedToken_V1ZedToken) ProtoMessage

func (*DecodedZedToken_V1ZedToken) ProtoMessage()

func (*DecodedZedToken_V1ZedToken) ProtoReflect

func (*DecodedZedToken_V1ZedToken) Reset

func (x *DecodedZedToken_V1ZedToken) Reset()

func (*DecodedZedToken_V1ZedToken) String

func (x *DecodedZedToken_V1ZedToken) String() string

func (*DecodedZedToken_V1ZedToken) Validate

func (m *DecodedZedToken_V1ZedToken) Validate() error

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

func (*DecodedZedToken_V1ZedToken) ValidateAll added in v1.6.0

func (m *DecodedZedToken_V1ZedToken) ValidateAll() error

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

type DecodedZedToken_V1ZedTokenMultiError added in v1.6.0

type DecodedZedToken_V1ZedTokenMultiError []error

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

func (DecodedZedToken_V1ZedTokenMultiError) AllErrors added in v1.6.0

AllErrors returns a list of validation violation errors.

func (DecodedZedToken_V1ZedTokenMultiError) Error added in v1.6.0

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

type DecodedZedToken_V1ZedTokenValidationError

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

DecodedZedToken_V1ZedTokenValidationError is the validation error returned by DecodedZedToken_V1ZedToken.Validate if the designated constraints aren't met.

func (DecodedZedToken_V1ZedTokenValidationError) Cause

Cause function returns cause value.

func (DecodedZedToken_V1ZedTokenValidationError) Error

Error satisfies the builtin error interface

func (DecodedZedToken_V1ZedTokenValidationError) ErrorName

ErrorName returns error name.

func (DecodedZedToken_V1ZedTokenValidationError) Field

Field function returns field value.

func (DecodedZedToken_V1ZedTokenValidationError) Key

Key function returns key value.

func (DecodedZedToken_V1ZedTokenValidationError) Reason

Reason function returns reason value.

type DecodedZedToken_V1Zookie

type DecodedZedToken_V1Zookie struct {
	Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedZedToken_V1Zookie) Descriptor deprecated

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

Deprecated: Use DecodedZedToken_V1Zookie.ProtoReflect.Descriptor instead.

func (*DecodedZedToken_V1Zookie) GetRevision

func (x *DecodedZedToken_V1Zookie) GetRevision() uint64

func (*DecodedZedToken_V1Zookie) ProtoMessage

func (*DecodedZedToken_V1Zookie) ProtoMessage()

func (*DecodedZedToken_V1Zookie) ProtoReflect

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

func (*DecodedZedToken_V1Zookie) Reset

func (x *DecodedZedToken_V1Zookie) Reset()

func (*DecodedZedToken_V1Zookie) String

func (x *DecodedZedToken_V1Zookie) String() string

func (*DecodedZedToken_V1Zookie) Validate

func (m *DecodedZedToken_V1Zookie) Validate() error

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

func (*DecodedZedToken_V1Zookie) ValidateAll added in v1.6.0

func (m *DecodedZedToken_V1Zookie) ValidateAll() error

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

type DecodedZedToken_V1ZookieMultiError added in v1.6.0

type DecodedZedToken_V1ZookieMultiError []error

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

func (DecodedZedToken_V1ZookieMultiError) AllErrors added in v1.6.0

func (m DecodedZedToken_V1ZookieMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecodedZedToken_V1ZookieMultiError) Error added in v1.6.0

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

type DecodedZedToken_V1ZookieValidationError

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

DecodedZedToken_V1ZookieValidationError is the validation error returned by DecodedZedToken_V1Zookie.Validate if the designated constraints aren't met.

func (DecodedZedToken_V1ZookieValidationError) Cause

Cause function returns cause value.

func (DecodedZedToken_V1ZookieValidationError) Error

Error satisfies the builtin error interface

func (DecodedZedToken_V1ZookieValidationError) ErrorName

ErrorName returns error name.

func (DecodedZedToken_V1ZookieValidationError) Field

Field function returns field value.

func (DecodedZedToken_V1ZookieValidationError) Key

Key function returns key value.

func (DecodedZedToken_V1ZookieValidationError) Reason

Reason function returns reason value.

type DecodedZookie

type DecodedZookie struct {
	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// Types that are assignable to VersionOneof:
	//	*DecodedZookie_V1
	//	*DecodedZookie_V2
	VersionOneof isDecodedZookie_VersionOneof `protobuf_oneof:"version_oneof"`
	// contains filtered or unexported fields
}

func (*DecodedZookie) Descriptor deprecated

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

Deprecated: Use DecodedZookie.ProtoReflect.Descriptor instead.

func (*DecodedZookie) GetV1

func (*DecodedZookie) GetV2

func (*DecodedZookie) GetVersion

func (x *DecodedZookie) GetVersion() uint32

func (*DecodedZookie) GetVersionOneof

func (m *DecodedZookie) GetVersionOneof() isDecodedZookie_VersionOneof

func (*DecodedZookie) ProtoMessage

func (*DecodedZookie) ProtoMessage()

func (*DecodedZookie) ProtoReflect

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

func (*DecodedZookie) Reset

func (x *DecodedZookie) Reset()

func (*DecodedZookie) String

func (x *DecodedZookie) String() string

func (*DecodedZookie) Validate

func (m *DecodedZookie) Validate() error

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

func (*DecodedZookie) ValidateAll added in v1.6.0

func (m *DecodedZookie) ValidateAll() error

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

type DecodedZookieMultiError added in v1.6.0

type DecodedZookieMultiError []error

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

func (DecodedZookieMultiError) AllErrors added in v1.6.0

func (m DecodedZookieMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecodedZookieMultiError) Error added in v1.6.0

func (m DecodedZookieMultiError) Error() string

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

type DecodedZookieValidationError

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

DecodedZookieValidationError is the validation error returned by DecodedZookie.Validate if the designated constraints aren't met.

func (DecodedZookieValidationError) Cause

Cause function returns cause value.

func (DecodedZookieValidationError) Error

Error satisfies the builtin error interface

func (DecodedZookieValidationError) ErrorName

func (e DecodedZookieValidationError) ErrorName() string

ErrorName returns error name.

func (DecodedZookieValidationError) Field

Field function returns field value.

func (DecodedZookieValidationError) Key

Key function returns key value.

func (DecodedZookieValidationError) Reason

Reason function returns reason value.

type DecodedZookie_V1

type DecodedZookie_V1 struct {
	V1 *DecodedZookie_V1Zookie `protobuf:"bytes,2,opt,name=v1,proto3,oneof"`
}

type DecodedZookie_V1Zookie

type DecodedZookie_V1Zookie struct {
	Revision uint64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedZookie_V1Zookie) Descriptor deprecated

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

Deprecated: Use DecodedZookie_V1Zookie.ProtoReflect.Descriptor instead.

func (*DecodedZookie_V1Zookie) GetRevision

func (x *DecodedZookie_V1Zookie) GetRevision() uint64

func (*DecodedZookie_V1Zookie) ProtoMessage

func (*DecodedZookie_V1Zookie) ProtoMessage()

func (*DecodedZookie_V1Zookie) ProtoReflect

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

func (*DecodedZookie_V1Zookie) Reset

func (x *DecodedZookie_V1Zookie) Reset()

func (*DecodedZookie_V1Zookie) String

func (x *DecodedZookie_V1Zookie) String() string

func (*DecodedZookie_V1Zookie) Validate

func (m *DecodedZookie_V1Zookie) Validate() error

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

func (*DecodedZookie_V1Zookie) ValidateAll added in v1.6.0

func (m *DecodedZookie_V1Zookie) ValidateAll() error

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

type DecodedZookie_V1ZookieMultiError added in v1.6.0

type DecodedZookie_V1ZookieMultiError []error

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

func (DecodedZookie_V1ZookieMultiError) AllErrors added in v1.6.0

func (m DecodedZookie_V1ZookieMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecodedZookie_V1ZookieMultiError) Error added in v1.6.0

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

type DecodedZookie_V1ZookieValidationError

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

DecodedZookie_V1ZookieValidationError is the validation error returned by DecodedZookie_V1Zookie.Validate if the designated constraints aren't met.

func (DecodedZookie_V1ZookieValidationError) Cause

Cause function returns cause value.

func (DecodedZookie_V1ZookieValidationError) Error

Error satisfies the builtin error interface

func (DecodedZookie_V1ZookieValidationError) ErrorName

ErrorName returns error name.

func (DecodedZookie_V1ZookieValidationError) Field

Field function returns field value.

func (DecodedZookie_V1ZookieValidationError) Key

Key function returns key value.

func (DecodedZookie_V1ZookieValidationError) Reason

Reason function returns reason value.

type DecodedZookie_V2

type DecodedZookie_V2 struct {
	V2 *DecodedZookie_V2Zookie `protobuf:"bytes,3,opt,name=v2,proto3,oneof"`
}

type DecodedZookie_V2Zookie

type DecodedZookie_V2Zookie struct {
	Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*DecodedZookie_V2Zookie) Descriptor deprecated

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

Deprecated: Use DecodedZookie_V2Zookie.ProtoReflect.Descriptor instead.

func (*DecodedZookie_V2Zookie) GetRevision

func (x *DecodedZookie_V2Zookie) GetRevision() string

func (*DecodedZookie_V2Zookie) ProtoMessage

func (*DecodedZookie_V2Zookie) ProtoMessage()

func (*DecodedZookie_V2Zookie) ProtoReflect

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

func (*DecodedZookie_V2Zookie) Reset

func (x *DecodedZookie_V2Zookie) Reset()

func (*DecodedZookie_V2Zookie) String

func (x *DecodedZookie_V2Zookie) String() string

func (*DecodedZookie_V2Zookie) Validate

func (m *DecodedZookie_V2Zookie) Validate() error

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

func (*DecodedZookie_V2Zookie) ValidateAll added in v1.6.0

func (m *DecodedZookie_V2Zookie) ValidateAll() error

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

type DecodedZookie_V2ZookieMultiError added in v1.6.0

type DecodedZookie_V2ZookieMultiError []error

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

func (DecodedZookie_V2ZookieMultiError) AllErrors added in v1.6.0

func (m DecodedZookie_V2ZookieMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DecodedZookie_V2ZookieMultiError) Error added in v1.6.0

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

type DecodedZookie_V2ZookieValidationError

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

DecodedZookie_V2ZookieValidationError is the validation error returned by DecodedZookie_V2Zookie.Validate if the designated constraints aren't met.

func (DecodedZookie_V2ZookieValidationError) Cause

Cause function returns cause value.

func (DecodedZookie_V2ZookieValidationError) Error

Error satisfies the builtin error interface

func (DecodedZookie_V2ZookieValidationError) ErrorName

ErrorName returns error name.

func (DecodedZookie_V2ZookieValidationError) Field

Field function returns field value.

func (DecodedZookie_V2ZookieValidationError) Key

Key function returns key value.

func (DecodedZookie_V2ZookieValidationError) Reason

Reason function returns reason value.

type DocComment

type DocComment struct {
	Comment string `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*DocComment) Descriptor deprecated

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

Deprecated: Use DocComment.ProtoReflect.Descriptor instead.

func (*DocComment) GetComment

func (x *DocComment) GetComment() string

func (*DocComment) ProtoMessage

func (*DocComment) ProtoMessage()

func (*DocComment) ProtoReflect

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

func (*DocComment) Reset

func (x *DocComment) Reset()

func (*DocComment) String

func (x *DocComment) String() string

func (*DocComment) Validate

func (m *DocComment) Validate() error

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

func (*DocComment) ValidateAll added in v1.6.0

func (m *DocComment) ValidateAll() error

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

type DocCommentMultiError added in v1.6.0

type DocCommentMultiError []error

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

func (DocCommentMultiError) AllErrors added in v1.6.0

func (m DocCommentMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DocCommentMultiError) Error added in v1.6.0

func (m DocCommentMultiError) Error() string

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

type DocCommentValidationError

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

DocCommentValidationError is the validation error returned by DocComment.Validate if the designated constraints aren't met.

func (DocCommentValidationError) Cause

func (e DocCommentValidationError) Cause() error

Cause function returns cause value.

func (DocCommentValidationError) Error

Error satisfies the builtin error interface

func (DocCommentValidationError) ErrorName

func (e DocCommentValidationError) ErrorName() string

ErrorName returns error name.

func (DocCommentValidationError) Field

Field function returns field value.

func (DocCommentValidationError) Key

Key function returns key value.

func (DocCommentValidationError) Reason

func (e DocCommentValidationError) Reason() string

Reason function returns reason value.

type NamespaceAndRevision

type NamespaceAndRevision struct {
	NamespaceName string `protobuf:"bytes,1,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"`
	Revision      string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceAndRevision) Descriptor deprecated

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

Deprecated: Use NamespaceAndRevision.ProtoReflect.Descriptor instead.

func (*NamespaceAndRevision) GetNamespaceName

func (x *NamespaceAndRevision) GetNamespaceName() string

func (*NamespaceAndRevision) GetRevision

func (x *NamespaceAndRevision) GetRevision() string

func (*NamespaceAndRevision) ProtoMessage

func (*NamespaceAndRevision) ProtoMessage()

func (*NamespaceAndRevision) ProtoReflect

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

func (*NamespaceAndRevision) Reset

func (x *NamespaceAndRevision) Reset()

func (*NamespaceAndRevision) String

func (x *NamespaceAndRevision) String() string

func (*NamespaceAndRevision) Validate

func (m *NamespaceAndRevision) Validate() error

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

func (*NamespaceAndRevision) ValidateAll added in v1.6.0

func (m *NamespaceAndRevision) ValidateAll() error

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

type NamespaceAndRevisionMultiError added in v1.6.0

type NamespaceAndRevisionMultiError []error

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

func (NamespaceAndRevisionMultiError) AllErrors added in v1.6.0

func (m NamespaceAndRevisionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (NamespaceAndRevisionMultiError) Error added in v1.6.0

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

type NamespaceAndRevisionValidationError

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

NamespaceAndRevisionValidationError is the validation error returned by NamespaceAndRevision.Validate if the designated constraints aren't met.

func (NamespaceAndRevisionValidationError) Cause

Cause function returns cause value.

func (NamespaceAndRevisionValidationError) Error

Error satisfies the builtin error interface

func (NamespaceAndRevisionValidationError) ErrorName

ErrorName returns error name.

func (NamespaceAndRevisionValidationError) Field

Field function returns field value.

func (NamespaceAndRevisionValidationError) Key

Key function returns key value.

func (NamespaceAndRevisionValidationError) Reason

Reason function returns reason value.

type RelationMetadata

type RelationMetadata struct {
	Kind RelationMetadata_RelationKind `protobuf:"varint,1,opt,name=kind,proto3,enum=impl.v1.RelationMetadata_RelationKind" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationMetadata) Descriptor deprecated

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

Deprecated: Use RelationMetadata.ProtoReflect.Descriptor instead.

func (*RelationMetadata) GetKind

func (*RelationMetadata) ProtoMessage

func (*RelationMetadata) ProtoMessage()

func (*RelationMetadata) ProtoReflect

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

func (*RelationMetadata) Reset

func (x *RelationMetadata) Reset()

func (*RelationMetadata) String

func (x *RelationMetadata) String() string

func (*RelationMetadata) Validate

func (m *RelationMetadata) Validate() error

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

func (*RelationMetadata) ValidateAll added in v1.6.0

func (m *RelationMetadata) ValidateAll() error

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

type RelationMetadataMultiError added in v1.6.0

type RelationMetadataMultiError []error

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

func (RelationMetadataMultiError) AllErrors added in v1.6.0

func (m RelationMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationMetadataMultiError) Error added in v1.6.0

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

type RelationMetadataValidationError

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

RelationMetadataValidationError is the validation error returned by RelationMetadata.Validate if the designated constraints aren't met.

func (RelationMetadataValidationError) Cause

Cause function returns cause value.

func (RelationMetadataValidationError) Error

Error satisfies the builtin error interface

func (RelationMetadataValidationError) ErrorName

ErrorName returns error name.

func (RelationMetadataValidationError) Field

Field function returns field value.

func (RelationMetadataValidationError) Key

Key function returns key value.

func (RelationMetadataValidationError) Reason

Reason function returns reason value.

type RelationMetadata_RelationKind

type RelationMetadata_RelationKind int32
const (
	RelationMetadata_UNKNOWN_KIND RelationMetadata_RelationKind = 0
	RelationMetadata_RELATION     RelationMetadata_RelationKind = 1
	RelationMetadata_PERMISSION   RelationMetadata_RelationKind = 2
)

func (RelationMetadata_RelationKind) Descriptor

func (RelationMetadata_RelationKind) Enum

func (RelationMetadata_RelationKind) EnumDescriptor deprecated

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

Deprecated: Use RelationMetadata_RelationKind.Descriptor instead.

func (RelationMetadata_RelationKind) Number

func (RelationMetadata_RelationKind) String

func (RelationMetadata_RelationKind) Type

type V1Alpha1Revision

type V1Alpha1Revision struct {
	NsRevisions []*NamespaceAndRevision `protobuf:"bytes,1,rep,name=ns_revisions,json=nsRevisions,proto3" json:"ns_revisions,omitempty"`
	// contains filtered or unexported fields
}

func (*V1Alpha1Revision) Descriptor deprecated

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

Deprecated: Use V1Alpha1Revision.ProtoReflect.Descriptor instead.

func (*V1Alpha1Revision) GetNsRevisions

func (x *V1Alpha1Revision) GetNsRevisions() []*NamespaceAndRevision

func (*V1Alpha1Revision) ProtoMessage

func (*V1Alpha1Revision) ProtoMessage()

func (*V1Alpha1Revision) ProtoReflect

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

func (*V1Alpha1Revision) Reset

func (x *V1Alpha1Revision) Reset()

func (*V1Alpha1Revision) String

func (x *V1Alpha1Revision) String() string

func (*V1Alpha1Revision) Validate

func (m *V1Alpha1Revision) Validate() error

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

func (*V1Alpha1Revision) ValidateAll added in v1.6.0

func (m *V1Alpha1Revision) ValidateAll() error

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

type V1Alpha1RevisionMultiError added in v1.6.0

type V1Alpha1RevisionMultiError []error

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

func (V1Alpha1RevisionMultiError) AllErrors added in v1.6.0

func (m V1Alpha1RevisionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (V1Alpha1RevisionMultiError) Error added in v1.6.0

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

type V1Alpha1RevisionValidationError

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

V1Alpha1RevisionValidationError is the validation error returned by V1Alpha1Revision.Validate if the designated constraints aren't met.

func (V1Alpha1RevisionValidationError) Cause

Cause function returns cause value.

func (V1Alpha1RevisionValidationError) Error

Error satisfies the builtin error interface

func (V1Alpha1RevisionValidationError) ErrorName

ErrorName returns error name.

func (V1Alpha1RevisionValidationError) Field

Field function returns field value.

func (V1Alpha1RevisionValidationError) Key

Key function returns key value.

func (V1Alpha1RevisionValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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