package v3
import "github.com/cncf/xds/go/xds/core/v3"
Index ¶
- Variables
- type Authority
- func (*Authority) Descriptor() ([]byte, []int)
- func (x *Authority) GetName() string
- func (*Authority) ProtoMessage()
- func (x *Authority) ProtoReflect() protoreflect.Message
- func (x *Authority) Reset()
- func (x *Authority) String() string
- func (m *Authority) Validate() error
- func (m *Authority) ValidateAll() error
- type AuthorityMultiError
- type AuthorityValidationError
- func (e AuthorityValidationError) Cause() error
- func (e AuthorityValidationError) Error() string
- func (e AuthorityValidationError) ErrorName() string
- func (e AuthorityValidationError) Field() string
- func (e AuthorityValidationError) Key() bool
- func (e AuthorityValidationError) Reason() string
- type CidrRange
- func (*CidrRange) Descriptor() ([]byte, []int)
- func (x *CidrRange) GetAddressPrefix() string
- func (x *CidrRange) GetPrefixLen() *wrapperspb.UInt32Value
- func (*CidrRange) ProtoMessage()
- func (x *CidrRange) ProtoReflect() protoreflect.Message
- func (x *CidrRange) Reset()
- func (x *CidrRange) String() string
- func (m *CidrRange) Validate() error
- func (m *CidrRange) ValidateAll() error
- type CidrRangeMultiError
- type CidrRangeValidationError
- func (e CidrRangeValidationError) Cause() error
- func (e CidrRangeValidationError) Error() string
- func (e CidrRangeValidationError) ErrorName() string
- func (e CidrRangeValidationError) Field() string
- func (e CidrRangeValidationError) Key() bool
- func (e CidrRangeValidationError) Reason() string
- type CollectionEntry
- func (*CollectionEntry) Descriptor() ([]byte, []int)
- func (x *CollectionEntry) GetInlineEntry() *CollectionEntry_InlineEntry
- func (x *CollectionEntry) GetLocator() *ResourceLocator
- func (m *CollectionEntry) GetResourceSpecifier() isCollectionEntry_ResourceSpecifier
- func (*CollectionEntry) ProtoMessage()
- func (x *CollectionEntry) ProtoReflect() protoreflect.Message
- func (x *CollectionEntry) Reset()
- func (x *CollectionEntry) String() string
- func (m *CollectionEntry) Validate() error
- func (m *CollectionEntry) ValidateAll() error
- type CollectionEntryMultiError
- func (m CollectionEntryMultiError) AllErrors() []error
- func (m CollectionEntryMultiError) Error() string
- type CollectionEntryValidationError
- func (e CollectionEntryValidationError) Cause() error
- func (e CollectionEntryValidationError) Error() string
- func (e CollectionEntryValidationError) ErrorName() string
- func (e CollectionEntryValidationError) Field() string
- func (e CollectionEntryValidationError) Key() bool
- func (e CollectionEntryValidationError) Reason() string
- type CollectionEntry_InlineEntry
- func (*CollectionEntry_InlineEntry) Descriptor() ([]byte, []int)
- func (x *CollectionEntry_InlineEntry) GetName() string
- func (x *CollectionEntry_InlineEntry) GetResource() *anypb.Any
- func (x *CollectionEntry_InlineEntry) GetVersion() string
- func (*CollectionEntry_InlineEntry) ProtoMessage()
- func (x *CollectionEntry_InlineEntry) ProtoReflect() protoreflect.Message
- func (x *CollectionEntry_InlineEntry) Reset()
- func (x *CollectionEntry_InlineEntry) String() string
- func (m *CollectionEntry_InlineEntry) Validate() error
- func (m *CollectionEntry_InlineEntry) ValidateAll() error
- type CollectionEntry_InlineEntryMultiError
- func (m CollectionEntry_InlineEntryMultiError) AllErrors() []error
- func (m CollectionEntry_InlineEntryMultiError) Error() string
- type CollectionEntry_InlineEntryValidationError
- func (e CollectionEntry_InlineEntryValidationError) Cause() error
- func (e CollectionEntry_InlineEntryValidationError) Error() string
- func (e CollectionEntry_InlineEntryValidationError) ErrorName() string
- func (e CollectionEntry_InlineEntryValidationError) Field() string
- func (e CollectionEntry_InlineEntryValidationError) Key() bool
- func (e CollectionEntry_InlineEntryValidationError) Reason() string
- type CollectionEntry_InlineEntry_
- type CollectionEntry_Locator
- type ContextParams
- func (*ContextParams) Descriptor() ([]byte, []int)
- func (x *ContextParams) GetParams() map[string]string
- func (*ContextParams) ProtoMessage()
- func (x *ContextParams) ProtoReflect() protoreflect.Message
- func (x *ContextParams) Reset()
- func (x *ContextParams) String() string
- func (m *ContextParams) Validate() error
- func (m *ContextParams) ValidateAll() error
- type ContextParamsMultiError
- func (m ContextParamsMultiError) AllErrors() []error
- func (m ContextParamsMultiError) Error() string
- type ContextParamsValidationError
- func (e ContextParamsValidationError) Cause() error
- func (e ContextParamsValidationError) Error() string
- func (e ContextParamsValidationError) ErrorName() string
- func (e ContextParamsValidationError) Field() string
- func (e ContextParamsValidationError) Key() bool
- func (e ContextParamsValidationError) Reason() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (x *Resource) GetName() *ResourceName
- func (x *Resource) GetResource() *anypb.Any
- func (x *Resource) GetVersion() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- func (m *Resource) Validate() error
- func (m *Resource) ValidateAll() error
- type ResourceLocator
- func (*ResourceLocator) Descriptor() ([]byte, []int)
- func (x *ResourceLocator) GetAuthority() string
- func (m *ResourceLocator) GetContextParamSpecifier() isResourceLocator_ContextParamSpecifier
- func (x *ResourceLocator) GetDirectives() []*ResourceLocator_Directive
- func (x *ResourceLocator) GetExactContext() *ContextParams
- func (x *ResourceLocator) GetId() string
- func (x *ResourceLocator) GetResourceType() string
- func (x *ResourceLocator) GetScheme() ResourceLocator_Scheme
- func (*ResourceLocator) ProtoMessage()
- func (x *ResourceLocator) ProtoReflect() protoreflect.Message
- func (x *ResourceLocator) Reset()
- func (x *ResourceLocator) String() string
- func (m *ResourceLocator) Validate() error
- func (m *ResourceLocator) ValidateAll() error
- type ResourceLocatorMultiError
- func (m ResourceLocatorMultiError) AllErrors() []error
- func (m ResourceLocatorMultiError) Error() string
- type ResourceLocatorValidationError
- func (e ResourceLocatorValidationError) Cause() error
- func (e ResourceLocatorValidationError) Error() string
- func (e ResourceLocatorValidationError) ErrorName() string
- func (e ResourceLocatorValidationError) Field() string
- func (e ResourceLocatorValidationError) Key() bool
- func (e ResourceLocatorValidationError) Reason() string
- type ResourceLocator_Directive
- func (*ResourceLocator_Directive) Descriptor() ([]byte, []int)
- func (x *ResourceLocator_Directive) GetAlt() *ResourceLocator
- func (m *ResourceLocator_Directive) GetDirective() isResourceLocator_Directive_Directive
- func (x *ResourceLocator_Directive) GetEntry() string
- func (*ResourceLocator_Directive) ProtoMessage()
- func (x *ResourceLocator_Directive) ProtoReflect() protoreflect.Message
- func (x *ResourceLocator_Directive) Reset()
- func (x *ResourceLocator_Directive) String() string
- func (m *ResourceLocator_Directive) Validate() error
- func (m *ResourceLocator_Directive) ValidateAll() error
- type ResourceLocator_DirectiveMultiError
- func (m ResourceLocator_DirectiveMultiError) AllErrors() []error
- func (m ResourceLocator_DirectiveMultiError) Error() string
- type ResourceLocator_DirectiveValidationError
- func (e ResourceLocator_DirectiveValidationError) Cause() error
- func (e ResourceLocator_DirectiveValidationError) Error() string
- func (e ResourceLocator_DirectiveValidationError) ErrorName() string
- func (e ResourceLocator_DirectiveValidationError) Field() string
- func (e ResourceLocator_DirectiveValidationError) Key() bool
- func (e ResourceLocator_DirectiveValidationError) Reason() string
- type ResourceLocator_Directive_Alt
- type ResourceLocator_Directive_Entry
- type ResourceLocator_ExactContext
- type ResourceLocator_Scheme
- func (ResourceLocator_Scheme) Descriptor() protoreflect.EnumDescriptor
- func (x ResourceLocator_Scheme) Enum() *ResourceLocator_Scheme
- func (ResourceLocator_Scheme) EnumDescriptor() ([]byte, []int)
- func (x ResourceLocator_Scheme) Number() protoreflect.EnumNumber
- func (x ResourceLocator_Scheme) String() string
- func (ResourceLocator_Scheme) Type() protoreflect.EnumType
- type ResourceMultiError
- type ResourceName
- func (*ResourceName) Descriptor() ([]byte, []int)
- func (x *ResourceName) GetAuthority() string
- func (x *ResourceName) GetContext() *ContextParams
- func (x *ResourceName) GetId() string
- func (x *ResourceName) GetResourceType() string
- func (*ResourceName) ProtoMessage()
- func (x *ResourceName) ProtoReflect() protoreflect.Message
- func (x *ResourceName) Reset()
- func (x *ResourceName) String() string
- func (m *ResourceName) Validate() error
- func (m *ResourceName) ValidateAll() error
- type ResourceNameMultiError
- type ResourceNameValidationError
- func (e ResourceNameValidationError) Cause() error
- func (e ResourceNameValidationError) Error() string
- func (e ResourceNameValidationError) ErrorName() string
- func (e ResourceNameValidationError) Field() string
- func (e ResourceNameValidationError) Key() bool
- func (e ResourceNameValidationError) Reason() string
- type ResourceValidationError
- func (e ResourceValidationError) Cause() error
- func (e ResourceValidationError) Error() string
- func (e ResourceValidationError) ErrorName() string
- func (e ResourceValidationError) Field() string
- func (e ResourceValidationError) Key() bool
- func (e ResourceValidationError) Reason() string
- type TypedExtensionConfig
- func (*TypedExtensionConfig) Descriptor() ([]byte, []int)
- func (x *TypedExtensionConfig) GetName() string
- func (x *TypedExtensionConfig) GetTypedConfig() *anypb.Any
- func (*TypedExtensionConfig) ProtoMessage()
- func (x *TypedExtensionConfig) ProtoReflect() protoreflect.Message
- func (x *TypedExtensionConfig) Reset()
- func (x *TypedExtensionConfig) String() string
- func (m *TypedExtensionConfig) Validate() error
- func (m *TypedExtensionConfig) ValidateAll() error
- type TypedExtensionConfigMultiError
- func (m TypedExtensionConfigMultiError) AllErrors() []error
- func (m TypedExtensionConfigMultiError) Error() string
- type TypedExtensionConfigValidationError
- func (e TypedExtensionConfigValidationError) Cause() error
- func (e TypedExtensionConfigValidationError) Error() string
- func (e TypedExtensionConfigValidationError) ErrorName() string
- func (e TypedExtensionConfigValidationError) Field() string
- func (e TypedExtensionConfigValidationError) Key() bool
- func (e TypedExtensionConfigValidationError) Reason() string
Variables ¶
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.
var File_xds_core_v3_cidr_proto protoreflect.FileDescriptor
var File_xds_core_v3_collection_entry_proto protoreflect.FileDescriptor
var File_xds_core_v3_context_params_proto protoreflect.FileDescriptor
var File_xds_core_v3_extension_proto protoreflect.FileDescriptor
var File_xds_core_v3_resource_locator_proto protoreflect.FileDescriptor
var File_xds_core_v3_resource_name_proto protoreflect.FileDescriptor
var File_xds_core_v3_resource_proto protoreflect.FileDescriptor
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: Use Authority.ProtoReflect.Descriptor instead.
func (*Authority) GetName ¶
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 (*Authority) Validate ¶
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 ¶
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 ¶
func (e AuthorityValidationError) Key() bool
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: Use CidrRange.ProtoReflect.Descriptor instead.
func (*CidrRange) GetAddressPrefix ¶
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 (*CidrRange) Validate ¶
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 ¶
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 ¶
func (e CidrRangeValidationError) Key() bool
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 ¶
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 ¶
func (m CollectionEntryMultiError) Error() string
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 ¶
func (e CollectionEntryValidationError) Cause() error
Cause function returns cause value.
func (CollectionEntryValidationError) Error ¶
func (e CollectionEntryValidationError) Error() string
Error satisfies the builtin error interface
func (CollectionEntryValidationError) ErrorName ¶
func (e CollectionEntryValidationError) ErrorName() string
ErrorName returns error name.
func (CollectionEntryValidationError) Field ¶
func (e CollectionEntryValidationError) Field() string
Field function returns field value.
func (CollectionEntryValidationError) Key ¶
func (e CollectionEntryValidationError) Key() bool
Key function returns key value.
func (CollectionEntryValidationError) Reason ¶
func (e CollectionEntryValidationError) Reason() string
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 ¶
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 (x *CollectionEntry_InlineEntry) ProtoReflect() protoreflect.Message
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 ¶
func (m CollectionEntry_InlineEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CollectionEntry_InlineEntryMultiError) Error ¶
func (m CollectionEntry_InlineEntryMultiError) Error() string
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 ¶
func (e CollectionEntry_InlineEntryValidationError) Cause() error
Cause function returns cause value.
func (CollectionEntry_InlineEntryValidationError) Error ¶
func (e CollectionEntry_InlineEntryValidationError) Error() string
Error satisfies the builtin error interface
func (CollectionEntry_InlineEntryValidationError) ErrorName ¶
func (e CollectionEntry_InlineEntryValidationError) ErrorName() string
ErrorName returns error name.
func (CollectionEntry_InlineEntryValidationError) Field ¶
func (e CollectionEntry_InlineEntryValidationError) Field() string
Field function returns field value.
func (CollectionEntry_InlineEntryValidationError) Key ¶
func (e CollectionEntry_InlineEntryValidationError) Key() bool
Key function returns key value.
func (CollectionEntry_InlineEntryValidationError) Reason ¶
func (e CollectionEntry_InlineEntryValidationError) Reason() string
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 `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*ContextParams) Descriptor ¶
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 ¶
func (e ContextParamsValidationError) Cause() error
Cause function returns cause value.
func (ContextParamsValidationError) Error ¶
func (e ContextParamsValidationError) Error() string
Error satisfies the builtin error interface
func (ContextParamsValidationError) ErrorName ¶
func (e ContextParamsValidationError) ErrorName() string
ErrorName returns error name.
func (ContextParamsValidationError) Field ¶
func (e ContextParamsValidationError) Field() string
Field function returns field value.
func (ContextParamsValidationError) Key ¶
func (e ContextParamsValidationError) Key() bool
Key function returns key value.
func (ContextParamsValidationError) Reason ¶
func (e ContextParamsValidationError) Reason() string
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: Use Resource.ProtoReflect.Descriptor instead.
func (*Resource) GetName ¶
func (x *Resource) GetName() *ResourceName
func (*Resource) GetResource ¶
func (*Resource) GetVersion ¶
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 (*Resource) Validate ¶
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 ¶
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 ¶
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 ¶
func (m ResourceLocatorMultiError) Error() string
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 ¶
func (e ResourceLocatorValidationError) Cause() error
Cause function returns cause value.
func (ResourceLocatorValidationError) Error ¶
func (e ResourceLocatorValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceLocatorValidationError) ErrorName ¶
func (e ResourceLocatorValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceLocatorValidationError) Field ¶
func (e ResourceLocatorValidationError) Field() string
Field function returns field value.
func (ResourceLocatorValidationError) Key ¶
func (e ResourceLocatorValidationError) Key() bool
Key function returns key value.
func (ResourceLocatorValidationError) Reason ¶
func (e ResourceLocatorValidationError) Reason() string
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 ¶
func (*ResourceLocator_Directive) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLocator_Directive.ProtoReflect.Descriptor instead.
func (*ResourceLocator_Directive) GetAlt ¶
func (x *ResourceLocator_Directive) GetAlt() *ResourceLocator
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 (x *ResourceLocator_Directive) ProtoReflect() protoreflect.Message
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 ¶
func (m ResourceLocator_DirectiveMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResourceLocator_DirectiveMultiError) Error ¶
func (m ResourceLocator_DirectiveMultiError) Error() string
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 ¶
func (e ResourceLocator_DirectiveValidationError) Cause() error
Cause function returns cause value.
func (ResourceLocator_DirectiveValidationError) Error ¶
func (e ResourceLocator_DirectiveValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceLocator_DirectiveValidationError) ErrorName ¶
func (e ResourceLocator_DirectiveValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceLocator_DirectiveValidationError) Field ¶
func (e ResourceLocator_DirectiveValidationError) Field() string
Field function returns field value.
func (ResourceLocator_DirectiveValidationError) Key ¶
func (e ResourceLocator_DirectiveValidationError) Key() bool
Key function returns key value.
func (ResourceLocator_DirectiveValidationError) Reason ¶
func (e ResourceLocator_DirectiveValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
func (ResourceLocator_Scheme) Enum ¶
func (x ResourceLocator_Scheme) Enum() *ResourceLocator_Scheme
func (ResourceLocator_Scheme) EnumDescriptor ¶
func (ResourceLocator_Scheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceLocator_Scheme.Descriptor instead.
func (ResourceLocator_Scheme) Number ¶
func (x ResourceLocator_Scheme) Number() protoreflect.EnumNumber
func (ResourceLocator_Scheme) String ¶
func (x ResourceLocator_Scheme) String() string
func (ResourceLocator_Scheme) Type ¶
func (ResourceLocator_Scheme) Type() protoreflect.EnumType
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 ¶
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 ¶
func (e ResourceNameValidationError) Cause() error
Cause function returns cause value.
func (ResourceNameValidationError) Error ¶
func (e ResourceNameValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceNameValidationError) ErrorName ¶
func (e ResourceNameValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceNameValidationError) Field ¶
func (e ResourceNameValidationError) Field() string
Field function returns field value.
func (ResourceNameValidationError) Key ¶
func (e ResourceNameValidationError) Key() bool
Key function returns key value.
func (ResourceNameValidationError) Reason ¶
func (e ResourceNameValidationError) Reason() string
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 ¶
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 ¶
func (m TypedExtensionConfigMultiError) Error() string
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 ¶
func (e TypedExtensionConfigValidationError) Cause() error
Cause function returns cause value.
func (TypedExtensionConfigValidationError) Error ¶
func (e TypedExtensionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TypedExtensionConfigValidationError) ErrorName ¶
func (e TypedExtensionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TypedExtensionConfigValidationError) Field ¶
func (e TypedExtensionConfigValidationError) Field() string
Field function returns field value.
func (TypedExtensionConfigValidationError) Key ¶
func (e TypedExtensionConfigValidationError) Key() bool
Key function returns key value.
func (TypedExtensionConfigValidationError) Reason ¶
func (e TypedExtensionConfigValidationError) Reason() string
Reason function returns reason value.
Source Files ¶
authority.pb.go authority.pb.validate.go cidr.pb.go cidr.pb.validate.go collection_entry.pb.go collection_entry.pb.validate.go context_params.pb.go context_params.pb.validate.go extension.pb.go extension.pb.validate.go resource.pb.go resource.pb.validate.go resource_locator.pb.go resource_locator.pb.validate.go resource_name.pb.go resource_name.pb.validate.go
- Version
- v0.0.0-20250121191232-2f005788dc42 (latest)
- Published
- Jan 21, 2025
- Platform
- linux/amd64
- Imports
- 19 packages
- Last checked
- 5 days ago –
Tools for package owners.