corev3

package
v1.28.1-20230607214312... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 4

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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