v2

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeltaDiscoveryRequest

type DeltaDiscoveryRequest struct {
	Node                     *base.Node        `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	TypeUrl                  string            `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	ResourceNamesSubscribe   []string          `` /* 129-byte string literal not displayed */
	ResourceNamesUnsubscribe []string          `` /* 135-byte string literal not displayed */
	InitialResourceVersions  map[string]string `` /* 220-byte string literal not displayed */
	ResponseNonce            string            `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	ErrorDetail              *status.Status    `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}          `json:"-"`
	XXX_unrecognized         []byte            `json:"-"`
	XXX_sizecache            int32             `json:"-"`
}

func (*DeltaDiscoveryRequest) Descriptor

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

func (*DeltaDiscoveryRequest) GetErrorDetail

func (m *DeltaDiscoveryRequest) GetErrorDetail() *status.Status

func (*DeltaDiscoveryRequest) GetInitialResourceVersions

func (m *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string

func (*DeltaDiscoveryRequest) GetNode

func (m *DeltaDiscoveryRequest) GetNode() *base.Node

func (*DeltaDiscoveryRequest) GetResourceNamesSubscribe

func (m *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string

func (*DeltaDiscoveryRequest) GetResourceNamesUnsubscribe

func (m *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string

func (*DeltaDiscoveryRequest) GetResponseNonce

func (m *DeltaDiscoveryRequest) GetResponseNonce() string

func (*DeltaDiscoveryRequest) GetTypeUrl

func (m *DeltaDiscoveryRequest) GetTypeUrl() string

func (*DeltaDiscoveryRequest) ProtoMessage

func (*DeltaDiscoveryRequest) ProtoMessage()

func (*DeltaDiscoveryRequest) Reset

func (m *DeltaDiscoveryRequest) Reset()

func (*DeltaDiscoveryRequest) String

func (m *DeltaDiscoveryRequest) String() string

func (*DeltaDiscoveryRequest) XXX_DiscardUnknown

func (m *DeltaDiscoveryRequest) XXX_DiscardUnknown()

func (*DeltaDiscoveryRequest) XXX_Marshal

func (m *DeltaDiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeltaDiscoveryRequest) XXX_Merge

func (dst *DeltaDiscoveryRequest) XXX_Merge(src proto.Message)

func (*DeltaDiscoveryRequest) XXX_Size

func (m *DeltaDiscoveryRequest) XXX_Size() int

func (*DeltaDiscoveryRequest) XXX_Unmarshal

func (m *DeltaDiscoveryRequest) XXX_Unmarshal(b []byte) error

type DeltaDiscoveryResponse

type DeltaDiscoveryResponse struct {
	SystemVersionInfo    string      `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"`
	Resources            []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	RemovedResources     []string    `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"`
	Nonce                string      `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DeltaDiscoveryResponse) Descriptor

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

func (*DeltaDiscoveryResponse) GetNonce

func (m *DeltaDiscoveryResponse) GetNonce() string

func (*DeltaDiscoveryResponse) GetRemovedResources

func (m *DeltaDiscoveryResponse) GetRemovedResources() []string

func (*DeltaDiscoveryResponse) GetResources

func (m *DeltaDiscoveryResponse) GetResources() []*Resource

func (*DeltaDiscoveryResponse) GetSystemVersionInfo

func (m *DeltaDiscoveryResponse) GetSystemVersionInfo() string

func (*DeltaDiscoveryResponse) ProtoMessage

func (*DeltaDiscoveryResponse) ProtoMessage()

func (*DeltaDiscoveryResponse) Reset

func (m *DeltaDiscoveryResponse) Reset()

func (*DeltaDiscoveryResponse) String

func (m *DeltaDiscoveryResponse) String() string

func (*DeltaDiscoveryResponse) XXX_DiscardUnknown

func (m *DeltaDiscoveryResponse) XXX_DiscardUnknown()

func (*DeltaDiscoveryResponse) XXX_Marshal

func (m *DeltaDiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeltaDiscoveryResponse) XXX_Merge

func (dst *DeltaDiscoveryResponse) XXX_Merge(src proto.Message)

func (*DeltaDiscoveryResponse) XXX_Size

func (m *DeltaDiscoveryResponse) XXX_Size() int

func (*DeltaDiscoveryResponse) XXX_Unmarshal

func (m *DeltaDiscoveryResponse) XXX_Unmarshal(b []byte) error

type DiscoveryRequest

type DiscoveryRequest struct {
	VersionInfo          string         `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	Node                 *base.Node     `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"`
	ResourceNames        []string       `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
	TypeUrl              string         `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	ResponseNonce        string         `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"`
	ErrorDetail          *status.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DiscoveryRequest) Descriptor

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

func (*DiscoveryRequest) GetErrorDetail

func (m *DiscoveryRequest) GetErrorDetail() *status.Status

func (*DiscoveryRequest) GetNode

func (m *DiscoveryRequest) GetNode() *base.Node

func (*DiscoveryRequest) GetResourceNames

func (m *DiscoveryRequest) GetResourceNames() []string

func (*DiscoveryRequest) GetResponseNonce

func (m *DiscoveryRequest) GetResponseNonce() string

func (*DiscoveryRequest) GetTypeUrl

func (m *DiscoveryRequest) GetTypeUrl() string

func (*DiscoveryRequest) GetVersionInfo

func (m *DiscoveryRequest) GetVersionInfo() string

func (*DiscoveryRequest) ProtoMessage

func (*DiscoveryRequest) ProtoMessage()

func (*DiscoveryRequest) Reset

func (m *DiscoveryRequest) Reset()

func (*DiscoveryRequest) String

func (m *DiscoveryRequest) String() string

func (*DiscoveryRequest) XXX_DiscardUnknown

func (m *DiscoveryRequest) XXX_DiscardUnknown()

func (*DiscoveryRequest) XXX_Marshal

func (m *DiscoveryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveryRequest) XXX_Merge

func (dst *DiscoveryRequest) XXX_Merge(src proto.Message)

func (*DiscoveryRequest) XXX_Size

func (m *DiscoveryRequest) XXX_Size() int

func (*DiscoveryRequest) XXX_Unmarshal

func (m *DiscoveryRequest) XXX_Unmarshal(b []byte) error

type DiscoveryResponse

type DiscoveryResponse struct {
	VersionInfo          string             `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"`
	Resources            []*any.Any         `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	Canary               bool               `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"`
	TypeUrl              string             `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	Nonce                string             `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ControlPlane         *base.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*DiscoveryResponse) Descriptor

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

func (*DiscoveryResponse) GetCanary

func (m *DiscoveryResponse) GetCanary() bool

func (*DiscoveryResponse) GetControlPlane

func (m *DiscoveryResponse) GetControlPlane() *base.ControlPlane

func (*DiscoveryResponse) GetNonce

func (m *DiscoveryResponse) GetNonce() string

func (*DiscoveryResponse) GetResources

func (m *DiscoveryResponse) GetResources() []*any.Any

func (*DiscoveryResponse) GetTypeUrl

func (m *DiscoveryResponse) GetTypeUrl() string

func (*DiscoveryResponse) GetVersionInfo

func (m *DiscoveryResponse) GetVersionInfo() string

func (*DiscoveryResponse) ProtoMessage

func (*DiscoveryResponse) ProtoMessage()

func (*DiscoveryResponse) Reset

func (m *DiscoveryResponse) Reset()

func (*DiscoveryResponse) String

func (m *DiscoveryResponse) String() string

func (*DiscoveryResponse) XXX_DiscardUnknown

func (m *DiscoveryResponse) XXX_DiscardUnknown()

func (*DiscoveryResponse) XXX_Marshal

func (m *DiscoveryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DiscoveryResponse) XXX_Merge

func (dst *DiscoveryResponse) XXX_Merge(src proto.Message)

func (*DiscoveryResponse) XXX_Size

func (m *DiscoveryResponse) XXX_Size() int

func (*DiscoveryResponse) XXX_Unmarshal

func (m *DiscoveryResponse) XXX_Unmarshal(b []byte) error

type Resource

type Resource struct {
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Aliases              []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"`
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Resource             *any.Any `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) GetAliases

func (m *Resource) GetAliases() []string

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetResource

func (m *Resource) GetResource() *any.Any

func (*Resource) GetVersion

func (m *Resource) GetVersion() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (dst *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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