v3

package
v0.0.0-...-555b57e Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 19 Imported by: 57

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResourceLocator_Scheme_name = map[int32]string{
		0: "XDSTP",
		1: "HTTP",
		2: "FILE",
	}
	ResourceLocator_Scheme_value = map[string]int32{
		"XDSTP": 0,
		"HTTP":  1,
		"FILE":  2,
	}
)

Enum value maps for ResourceLocator_Scheme.

View Source
var File_xds_core_v3_authority_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_cidr_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_collection_entry_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_context_params_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_extension_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_resource_locator_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_resource_name_proto protoreflect.FileDescriptor
View Source
var File_xds_core_v3_resource_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Authority

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

func (*Authority) Descriptor deprecated

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

Deprecated: Use Authority.ProtoReflect.Descriptor instead.

func (*Authority) GetName

func (x *Authority) GetName() string

func (*Authority) ProtoMessage

func (*Authority) ProtoMessage()

func (*Authority) ProtoReflect

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

func (*Authority) Reset

func (x *Authority) Reset()

func (*Authority) String

func (x *Authority) String() string

func (*Authority) Validate

func (m *Authority) Validate() error

Validate checks the field values on Authority 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 (*Authority) ValidateAll

func (m *Authority) ValidateAll() error

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

type AuthorityMultiError

type AuthorityMultiError []error

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

func (AuthorityMultiError) AllErrors

func (m AuthorityMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorityMultiError) Error

func (m AuthorityMultiError) Error() string

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

type AuthorityValidationError

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

AuthorityValidationError is the validation error returned by Authority.Validate if the designated constraints aren't met.

func (AuthorityValidationError) Cause

func (e AuthorityValidationError) Cause() error

Cause function returns cause value.

func (AuthorityValidationError) Error

func (e AuthorityValidationError) Error() string

Error satisfies the builtin error interface

func (AuthorityValidationError) ErrorName

func (e AuthorityValidationError) ErrorName() string

ErrorName returns error name.

func (AuthorityValidationError) Field

func (e AuthorityValidationError) Field() string

Field function returns field value.

func (AuthorityValidationError) Key

Key function returns key value.

func (AuthorityValidationError) Reason

func (e AuthorityValidationError) Reason() string

Reason function returns reason value.

type CidrRange

type CidrRange struct {
	AddressPrefix string                  `protobuf:"bytes,1,opt,name=address_prefix,json=addressPrefix,proto3" json:"address_prefix,omitempty"`
	PrefixLen     *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=prefix_len,json=prefixLen,proto3" json:"prefix_len,omitempty"`
	// contains filtered or unexported fields
}

func (*CidrRange) Descriptor deprecated

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

Deprecated: Use CidrRange.ProtoReflect.Descriptor instead.

func (*CidrRange) GetAddressPrefix

func (x *CidrRange) GetAddressPrefix() string

func (*CidrRange) GetPrefixLen

func (x *CidrRange) GetPrefixLen() *wrapperspb.UInt32Value

func (*CidrRange) ProtoMessage

func (*CidrRange) ProtoMessage()

func (*CidrRange) ProtoReflect

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

func (*CidrRange) Reset

func (x *CidrRange) Reset()

func (*CidrRange) String

func (x *CidrRange) String() string

func (*CidrRange) Validate

func (m *CidrRange) Validate() error

Validate checks the field values on CidrRange 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 (*CidrRange) ValidateAll

func (m *CidrRange) ValidateAll() error

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

type CidrRangeMultiError

type CidrRangeMultiError []error

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

func (CidrRangeMultiError) AllErrors

func (m CidrRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CidrRangeMultiError) Error

func (m CidrRangeMultiError) Error() string

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

type CidrRangeValidationError

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

CidrRangeValidationError is the validation error returned by CidrRange.Validate if the designated constraints aren't met.

func (CidrRangeValidationError) Cause

func (e CidrRangeValidationError) Cause() error

Cause function returns cause value.

func (CidrRangeValidationError) Error

func (e CidrRangeValidationError) Error() string

Error satisfies the builtin error interface

func (CidrRangeValidationError) ErrorName

func (e CidrRangeValidationError) ErrorName() string

ErrorName returns error name.

func (CidrRangeValidationError) Field

func (e CidrRangeValidationError) Field() string

Field function returns field value.

func (CidrRangeValidationError) Key

Key function returns key value.

func (CidrRangeValidationError) Reason

func (e CidrRangeValidationError) Reason() string

Reason function returns reason value.

type CollectionEntry

type CollectionEntry struct {

	// Types that are assignable to ResourceSpecifier:
	//
	//	*CollectionEntry_Locator
	//	*CollectionEntry_InlineEntry_
	ResourceSpecifier isCollectionEntry_ResourceSpecifier `protobuf_oneof:"resource_specifier"`
	// contains filtered or unexported fields
}

func (*CollectionEntry) Descriptor deprecated

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

Deprecated: Use CollectionEntry.ProtoReflect.Descriptor instead.

func (*CollectionEntry) GetInlineEntry

func (x *CollectionEntry) GetInlineEntry() *CollectionEntry_InlineEntry

func (*CollectionEntry) GetLocator

func (x *CollectionEntry) GetLocator() *ResourceLocator

func (*CollectionEntry) GetResourceSpecifier

func (m *CollectionEntry) GetResourceSpecifier() isCollectionEntry_ResourceSpecifier

func (*CollectionEntry) ProtoMessage

func (*CollectionEntry) ProtoMessage()

func (*CollectionEntry) ProtoReflect

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

func (*CollectionEntry) Reset

func (x *CollectionEntry) Reset()

func (*CollectionEntry) String

func (x *CollectionEntry) String() string

func (*CollectionEntry) Validate

func (m *CollectionEntry) Validate() error

Validate checks the field values on CollectionEntry 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 (*CollectionEntry) ValidateAll

func (m *CollectionEntry) ValidateAll() error

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

type CollectionEntryMultiError

type CollectionEntryMultiError []error

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

func (CollectionEntryMultiError) AllErrors

func (m CollectionEntryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CollectionEntryMultiError) Error

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

type CollectionEntryValidationError

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

CollectionEntryValidationError is the validation error returned by CollectionEntry.Validate if the designated constraints aren't met.

func (CollectionEntryValidationError) Cause

Cause function returns cause value.

func (CollectionEntryValidationError) Error

Error satisfies the builtin error interface

func (CollectionEntryValidationError) ErrorName

func (e CollectionEntryValidationError) ErrorName() string

ErrorName returns error name.

func (CollectionEntryValidationError) Field

Field function returns field value.

func (CollectionEntryValidationError) Key

Key function returns key value.

func (CollectionEntryValidationError) Reason

Reason function returns reason value.

type CollectionEntry_InlineEntry

type CollectionEntry_InlineEntry struct {
	Name     string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version  string     `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Resource *anypb.Any `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionEntry_InlineEntry) Descriptor deprecated

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

Deprecated: Use CollectionEntry_InlineEntry.ProtoReflect.Descriptor instead.

func (*CollectionEntry_InlineEntry) GetName

func (x *CollectionEntry_InlineEntry) GetName() string

func (*CollectionEntry_InlineEntry) GetResource

func (x *CollectionEntry_InlineEntry) GetResource() *anypb.Any

func (*CollectionEntry_InlineEntry) GetVersion

func (x *CollectionEntry_InlineEntry) GetVersion() string

func (*CollectionEntry_InlineEntry) ProtoMessage

func (*CollectionEntry_InlineEntry) ProtoMessage()

func (*CollectionEntry_InlineEntry) ProtoReflect

func (*CollectionEntry_InlineEntry) Reset

func (x *CollectionEntry_InlineEntry) Reset()

func (*CollectionEntry_InlineEntry) String

func (x *CollectionEntry_InlineEntry) String() string

func (*CollectionEntry_InlineEntry) Validate

func (m *CollectionEntry_InlineEntry) Validate() error

Validate checks the field values on CollectionEntry_InlineEntry 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 (*CollectionEntry_InlineEntry) ValidateAll

func (m *CollectionEntry_InlineEntry) ValidateAll() error

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

type CollectionEntry_InlineEntryMultiError

type CollectionEntry_InlineEntryMultiError []error

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

func (CollectionEntry_InlineEntryMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CollectionEntry_InlineEntryMultiError) Error

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

type CollectionEntry_InlineEntryValidationError

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

CollectionEntry_InlineEntryValidationError is the validation error returned by CollectionEntry_InlineEntry.Validate if the designated constraints aren't met.

func (CollectionEntry_InlineEntryValidationError) Cause

Cause function returns cause value.

func (CollectionEntry_InlineEntryValidationError) Error

Error satisfies the builtin error interface

func (CollectionEntry_InlineEntryValidationError) ErrorName

ErrorName returns error name.

func (CollectionEntry_InlineEntryValidationError) Field

Field function returns field value.

func (CollectionEntry_InlineEntryValidationError) Key

Key function returns key value.

func (CollectionEntry_InlineEntryValidationError) Reason

Reason function returns reason value.

type CollectionEntry_InlineEntry_

type CollectionEntry_InlineEntry_ struct {
	InlineEntry *CollectionEntry_InlineEntry `protobuf:"bytes,2,opt,name=inline_entry,json=inlineEntry,proto3,oneof"`
}

type CollectionEntry_Locator

type CollectionEntry_Locator struct {
	Locator *ResourceLocator `protobuf:"bytes,1,opt,name=locator,proto3,oneof"`
}

type ContextParams

type ContextParams struct {
	Params map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ContextParams) Descriptor deprecated

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

Deprecated: Use ContextParams.ProtoReflect.Descriptor instead.

func (*ContextParams) GetParams

func (x *ContextParams) GetParams() map[string]string

func (*ContextParams) ProtoMessage

func (*ContextParams) ProtoMessage()

func (*ContextParams) ProtoReflect

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

func (*ContextParams) Reset

func (x *ContextParams) Reset()

func (*ContextParams) String

func (x *ContextParams) String() string

func (*ContextParams) Validate

func (m *ContextParams) Validate() error

Validate checks the field values on ContextParams 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 (*ContextParams) ValidateAll

func (m *ContextParams) ValidateAll() error

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

type ContextParamsMultiError

type ContextParamsMultiError []error

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

func (ContextParamsMultiError) AllErrors

func (m ContextParamsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ContextParamsMultiError) Error

func (m ContextParamsMultiError) Error() string

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

type ContextParamsValidationError

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

ContextParamsValidationError is the validation error returned by ContextParams.Validate if the designated constraints aren't met.

func (ContextParamsValidationError) Cause

Cause function returns cause value.

func (ContextParamsValidationError) Error

Error satisfies the builtin error interface

func (ContextParamsValidationError) ErrorName

func (e ContextParamsValidationError) ErrorName() string

ErrorName returns error name.

func (ContextParamsValidationError) Field

Field function returns field value.

func (ContextParamsValidationError) Key

Key function returns key value.

func (ContextParamsValidationError) Reason

Reason function returns reason value.

type Resource

type Resource struct {
	Name     *ResourceName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version  string        `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Resource *anypb.Any    `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetName

func (x *Resource) GetName() *ResourceName

func (*Resource) GetResource

func (x *Resource) GetResource() *anypb.Any

func (*Resource) GetVersion

func (x *Resource) GetVersion() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate

func (m *Resource) Validate() error

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

func (*Resource) ValidateAll

func (m *Resource) ValidateAll() error

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

type ResourceLocator

type ResourceLocator struct {
	Scheme       ResourceLocator_Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=xds.core.v3.ResourceLocator_Scheme" json:"scheme,omitempty"`
	Id           string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Authority    string                 `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
	ResourceType string                 `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// Types that are assignable to ContextParamSpecifier:
	//
	//	*ResourceLocator_ExactContext
	ContextParamSpecifier isResourceLocator_ContextParamSpecifier `protobuf_oneof:"context_param_specifier"`
	Directives            []*ResourceLocator_Directive            `protobuf:"bytes,6,rep,name=directives,proto3" json:"directives,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceLocator) Descriptor deprecated

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

Deprecated: Use ResourceLocator.ProtoReflect.Descriptor instead.

func (*ResourceLocator) GetAuthority

func (x *ResourceLocator) GetAuthority() string

func (*ResourceLocator) GetContextParamSpecifier

func (m *ResourceLocator) GetContextParamSpecifier() isResourceLocator_ContextParamSpecifier

func (*ResourceLocator) GetDirectives

func (x *ResourceLocator) GetDirectives() []*ResourceLocator_Directive

func (*ResourceLocator) GetExactContext

func (x *ResourceLocator) GetExactContext() *ContextParams

func (*ResourceLocator) GetId

func (x *ResourceLocator) GetId() string

func (*ResourceLocator) GetResourceType

func (x *ResourceLocator) GetResourceType() string

func (*ResourceLocator) GetScheme

func (x *ResourceLocator) GetScheme() ResourceLocator_Scheme

func (*ResourceLocator) ProtoMessage

func (*ResourceLocator) ProtoMessage()

func (*ResourceLocator) ProtoReflect

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

func (*ResourceLocator) Reset

func (x *ResourceLocator) Reset()

func (*ResourceLocator) String

func (x *ResourceLocator) String() string

func (*ResourceLocator) Validate

func (m *ResourceLocator) Validate() error

Validate checks the field values on ResourceLocator 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 (*ResourceLocator) ValidateAll

func (m *ResourceLocator) ValidateAll() error

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

type ResourceLocatorMultiError

type ResourceLocatorMultiError []error

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

func (ResourceLocatorMultiError) AllErrors

func (m ResourceLocatorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceLocatorMultiError) Error

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

type ResourceLocatorValidationError

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

ResourceLocatorValidationError is the validation error returned by ResourceLocator.Validate if the designated constraints aren't met.

func (ResourceLocatorValidationError) Cause

Cause function returns cause value.

func (ResourceLocatorValidationError) Error

Error satisfies the builtin error interface

func (ResourceLocatorValidationError) ErrorName

func (e ResourceLocatorValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceLocatorValidationError) Field

Field function returns field value.

func (ResourceLocatorValidationError) Key

Key function returns key value.

func (ResourceLocatorValidationError) Reason

Reason function returns reason value.

type ResourceLocator_Directive

type ResourceLocator_Directive struct {

	// Types that are assignable to Directive:
	//
	//	*ResourceLocator_Directive_Alt
	//	*ResourceLocator_Directive_Entry
	Directive isResourceLocator_Directive_Directive `protobuf_oneof:"directive"`
	// contains filtered or unexported fields
}

func (*ResourceLocator_Directive) Descriptor deprecated

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

Deprecated: Use ResourceLocator_Directive.ProtoReflect.Descriptor instead.

func (*ResourceLocator_Directive) GetAlt

func (*ResourceLocator_Directive) GetDirective

func (m *ResourceLocator_Directive) GetDirective() isResourceLocator_Directive_Directive

func (*ResourceLocator_Directive) GetEntry

func (x *ResourceLocator_Directive) GetEntry() string

func (*ResourceLocator_Directive) ProtoMessage

func (*ResourceLocator_Directive) ProtoMessage()

func (*ResourceLocator_Directive) ProtoReflect

func (*ResourceLocator_Directive) Reset

func (x *ResourceLocator_Directive) Reset()

func (*ResourceLocator_Directive) String

func (x *ResourceLocator_Directive) String() string

func (*ResourceLocator_Directive) Validate

func (m *ResourceLocator_Directive) Validate() error

Validate checks the field values on ResourceLocator_Directive 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 (*ResourceLocator_Directive) ValidateAll

func (m *ResourceLocator_Directive) ValidateAll() error

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

type ResourceLocator_DirectiveMultiError

type ResourceLocator_DirectiveMultiError []error

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

func (ResourceLocator_DirectiveMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ResourceLocator_DirectiveMultiError) Error

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

type ResourceLocator_DirectiveValidationError

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

ResourceLocator_DirectiveValidationError is the validation error returned by ResourceLocator_Directive.Validate if the designated constraints aren't met.

func (ResourceLocator_DirectiveValidationError) Cause

Cause function returns cause value.

func (ResourceLocator_DirectiveValidationError) Error

Error satisfies the builtin error interface

func (ResourceLocator_DirectiveValidationError) ErrorName

ErrorName returns error name.

func (ResourceLocator_DirectiveValidationError) Field

Field function returns field value.

func (ResourceLocator_DirectiveValidationError) Key

Key function returns key value.

func (ResourceLocator_DirectiveValidationError) Reason

Reason function returns reason value.

type ResourceLocator_Directive_Alt

type ResourceLocator_Directive_Alt struct {
	Alt *ResourceLocator `protobuf:"bytes,1,opt,name=alt,proto3,oneof"`
}

type ResourceLocator_Directive_Entry

type ResourceLocator_Directive_Entry struct {
	Entry string `protobuf:"bytes,2,opt,name=entry,proto3,oneof"`
}

type ResourceLocator_ExactContext

type ResourceLocator_ExactContext struct {
	ExactContext *ContextParams `protobuf:"bytes,5,opt,name=exact_context,json=exactContext,proto3,oneof"`
}

type ResourceLocator_Scheme

type ResourceLocator_Scheme int32
const (
	ResourceLocator_XDSTP ResourceLocator_Scheme = 0
	ResourceLocator_HTTP  ResourceLocator_Scheme = 1
	ResourceLocator_FILE  ResourceLocator_Scheme = 2
)

func (ResourceLocator_Scheme) Descriptor

func (ResourceLocator_Scheme) Enum

func (ResourceLocator_Scheme) EnumDescriptor deprecated

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

Deprecated: Use ResourceLocator_Scheme.Descriptor instead.

func (ResourceLocator_Scheme) Number

func (ResourceLocator_Scheme) String

func (x ResourceLocator_Scheme) String() string

func (ResourceLocator_Scheme) Type

type ResourceMultiError

type ResourceMultiError []error

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

func (ResourceMultiError) AllErrors

func (m ResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceMultiError) Error

func (m ResourceMultiError) Error() string

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

type ResourceName

type ResourceName struct {
	Id           string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Authority    string         `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
	ResourceType string         `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	Context      *ContextParams `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceName) Descriptor deprecated

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

Deprecated: Use ResourceName.ProtoReflect.Descriptor instead.

func (*ResourceName) GetAuthority

func (x *ResourceName) GetAuthority() string

func (*ResourceName) GetContext

func (x *ResourceName) GetContext() *ContextParams

func (*ResourceName) GetId

func (x *ResourceName) GetId() string

func (*ResourceName) GetResourceType

func (x *ResourceName) GetResourceType() string

func (*ResourceName) ProtoMessage

func (*ResourceName) ProtoMessage()

func (*ResourceName) ProtoReflect

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

func (*ResourceName) Reset

func (x *ResourceName) Reset()

func (*ResourceName) String

func (x *ResourceName) String() string

func (*ResourceName) Validate

func (m *ResourceName) Validate() error

Validate checks the field values on ResourceName 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 (*ResourceName) ValidateAll

func (m *ResourceName) ValidateAll() error

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

type ResourceNameMultiError

type ResourceNameMultiError []error

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

func (ResourceNameMultiError) AllErrors

func (m ResourceNameMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceNameMultiError) Error

func (m ResourceNameMultiError) Error() string

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

type ResourceNameValidationError

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

ResourceNameValidationError is the validation error returned by ResourceName.Validate if the designated constraints aren't met.

func (ResourceNameValidationError) Cause

Cause function returns cause value.

func (ResourceNameValidationError) Error

Error satisfies the builtin error interface

func (ResourceNameValidationError) ErrorName

func (e ResourceNameValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceNameValidationError) Field

Field function returns field value.

func (ResourceNameValidationError) Key

Key function returns key value.

func (ResourceNameValidationError) Reason

Reason function returns reason value.

type ResourceValidationError

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type TypedExtensionConfig

type TypedExtensionConfig struct {
	Name        string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"`
	// contains filtered or unexported fields
}

func (*TypedExtensionConfig) Descriptor deprecated

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

Deprecated: Use TypedExtensionConfig.ProtoReflect.Descriptor instead.

func (*TypedExtensionConfig) GetName

func (x *TypedExtensionConfig) GetName() string

func (*TypedExtensionConfig) GetTypedConfig

func (x *TypedExtensionConfig) GetTypedConfig() *anypb.Any

func (*TypedExtensionConfig) ProtoMessage

func (*TypedExtensionConfig) ProtoMessage()

func (*TypedExtensionConfig) ProtoReflect

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

func (*TypedExtensionConfig) Reset

func (x *TypedExtensionConfig) Reset()

func (*TypedExtensionConfig) String

func (x *TypedExtensionConfig) String() string

func (*TypedExtensionConfig) Validate

func (m *TypedExtensionConfig) Validate() error

Validate checks the field values on TypedExtensionConfig 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 (*TypedExtensionConfig) ValidateAll

func (m *TypedExtensionConfig) ValidateAll() error

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

type TypedExtensionConfigMultiError

type TypedExtensionConfigMultiError []error

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

func (TypedExtensionConfigMultiError) AllErrors

func (m TypedExtensionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TypedExtensionConfigMultiError) Error

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

type TypedExtensionConfigValidationError

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

TypedExtensionConfigValidationError is the validation error returned by TypedExtensionConfig.Validate if the designated constraints aren't met.

func (TypedExtensionConfigValidationError) Cause

Cause function returns cause value.

func (TypedExtensionConfigValidationError) Error

Error satisfies the builtin error interface

func (TypedExtensionConfigValidationError) ErrorName

ErrorName returns error name.

func (TypedExtensionConfigValidationError) Field

Field function returns field value.

func (TypedExtensionConfigValidationError) Key

Key function returns key value.

func (TypedExtensionConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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