pb

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_v1alpha1_client_pb_affiliate_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Affiliate

type Affiliate struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// IPs are encoded using binary marshaling.
	Addresses       [][]byte      `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Hostname        string        `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Nodename        string        `protobuf:"bytes,4,opt,name=nodename,proto3" json:"nodename,omitempty"`
	MachineType     string        `protobuf:"bytes,5,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	OperatingSystem string        `protobuf:"bytes,6,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	Kubespan        *KubeSpan     `protobuf:"bytes,7,opt,name=kubespan,proto3,oneof" json:"kubespan,omitempty"`
	ControlPlane    *ControlPlane `protobuf:"bytes,8,opt,name=control_plane,json=controlPlane,proto3,oneof" json:"control_plane,omitempty"`
	// contains filtered or unexported fields
}

Affiliate protobuf spec, as seen internally in the client code.

Discovery service recieves Affiliate marshaled to protobuf and encrypted.

func (*Affiliate) CloneMessageVT added in v0.1.4

func (m *Affiliate) CloneMessageVT() proto.Message

func (*Affiliate) CloneVT added in v0.1.4

func (m *Affiliate) CloneVT() *Affiliate

func (*Affiliate) Descriptor deprecated

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

Deprecated: Use Affiliate.ProtoReflect.Descriptor instead.

func (*Affiliate) EqualMessageVT added in v0.1.2

func (this *Affiliate) EqualMessageVT(thatMsg proto.Message) bool

func (*Affiliate) EqualVT added in v0.1.2

func (this *Affiliate) EqualVT(that *Affiliate) bool

func (*Affiliate) GetAddresses

func (x *Affiliate) GetAddresses() [][]byte

func (*Affiliate) GetControlPlane added in v0.1.3

func (x *Affiliate) GetControlPlane() *ControlPlane

func (*Affiliate) GetHostname

func (x *Affiliate) GetHostname() string

func (*Affiliate) GetKubespan

func (x *Affiliate) GetKubespan() *KubeSpan

func (*Affiliate) GetMachineType

func (x *Affiliate) GetMachineType() string

func (*Affiliate) GetNodeId

func (x *Affiliate) GetNodeId() string

func (*Affiliate) GetNodename

func (x *Affiliate) GetNodename() string

func (*Affiliate) GetOperatingSystem

func (x *Affiliate) GetOperatingSystem() string

func (*Affiliate) MarshalToSizedBufferVT

func (m *Affiliate) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Affiliate) MarshalToVT

func (m *Affiliate) MarshalToVT(dAtA []byte) (int, error)

func (*Affiliate) MarshalVT

func (m *Affiliate) MarshalVT() (dAtA []byte, err error)

func (*Affiliate) ProtoMessage

func (*Affiliate) ProtoMessage()

func (*Affiliate) ProtoReflect

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

func (*Affiliate) Reset

func (x *Affiliate) Reset()

func (*Affiliate) SizeVT

func (m *Affiliate) SizeVT() (n int)

func (*Affiliate) String

func (x *Affiliate) String() string

func (*Affiliate) UnmarshalVT

func (m *Affiliate) UnmarshalVT(dAtA []byte) error

type ControlPlane added in v0.1.3

type ControlPlane struct {
	ApiServerPort uint32 `protobuf:"varint,1,opt,name=api_server_port,json=apiServerPort,proto3" json:"api_server_port,omitempty"`
	// contains filtered or unexported fields
}

ControlPlane optional configuration.

func (*ControlPlane) CloneMessageVT added in v0.1.4

func (m *ControlPlane) CloneMessageVT() proto.Message

func (*ControlPlane) CloneVT added in v0.1.4

func (m *ControlPlane) CloneVT() *ControlPlane

func (*ControlPlane) Descriptor deprecated added in v0.1.3

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

Deprecated: Use ControlPlane.ProtoReflect.Descriptor instead.

func (*ControlPlane) EqualMessageVT added in v0.1.3

func (this *ControlPlane) EqualMessageVT(thatMsg proto.Message) bool

func (*ControlPlane) EqualVT added in v0.1.3

func (this *ControlPlane) EqualVT(that *ControlPlane) bool

func (*ControlPlane) GetApiServerPort added in v0.1.3

func (x *ControlPlane) GetApiServerPort() uint32

func (*ControlPlane) MarshalToSizedBufferVT added in v0.1.3

func (m *ControlPlane) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ControlPlane) MarshalToVT added in v0.1.3

func (m *ControlPlane) MarshalToVT(dAtA []byte) (int, error)

func (*ControlPlane) MarshalVT added in v0.1.3

func (m *ControlPlane) MarshalVT() (dAtA []byte, err error)

func (*ControlPlane) ProtoMessage added in v0.1.3

func (*ControlPlane) ProtoMessage()

func (*ControlPlane) ProtoReflect added in v0.1.3

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

func (*ControlPlane) Reset added in v0.1.3

func (x *ControlPlane) Reset()

func (*ControlPlane) SizeVT added in v0.1.3

func (m *ControlPlane) SizeVT() (n int)

func (*ControlPlane) String added in v0.1.3

func (x *ControlPlane) String() string

func (*ControlPlane) UnmarshalVT added in v0.1.3

func (m *ControlPlane) UnmarshalVT(dAtA []byte) error

type Endpoint

type Endpoint struct {

	// IPs are encoded using binary marshaling.
	Ip   []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Endpoint for the Affiliate KubeSpan spec as seen internally in the client code.

Discovery service receives Affiliate marshaled to protobuf and encrypted.

func (*Endpoint) CloneMessageVT added in v0.1.4

func (m *Endpoint) CloneMessageVT() proto.Message

func (*Endpoint) CloneVT added in v0.1.4

func (m *Endpoint) CloneVT() *Endpoint

func (*Endpoint) Descriptor deprecated

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

Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.

func (*Endpoint) EqualMessageVT added in v0.1.2

func (this *Endpoint) EqualMessageVT(thatMsg proto.Message) bool

func (*Endpoint) EqualVT added in v0.1.2

func (this *Endpoint) EqualVT(that *Endpoint) bool

func (*Endpoint) GetIp

func (x *Endpoint) GetIp() []byte

func (*Endpoint) GetPort

func (x *Endpoint) GetPort() uint32

func (*Endpoint) MarshalToSizedBufferVT

func (m *Endpoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Endpoint) MarshalToVT

func (m *Endpoint) MarshalToVT(dAtA []byte) (int, error)

func (*Endpoint) MarshalVT

func (m *Endpoint) MarshalVT() (dAtA []byte, err error)

func (*Endpoint) ProtoMessage

func (*Endpoint) ProtoMessage()

func (*Endpoint) ProtoReflect

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

func (*Endpoint) Reset

func (x *Endpoint) Reset()

func (*Endpoint) SizeVT

func (m *Endpoint) SizeVT() (n int)

func (*Endpoint) String

func (x *Endpoint) String() string

func (*Endpoint) UnmarshalVT

func (m *Endpoint) UnmarshalVT(dAtA []byte) error

type IPPrefix

type IPPrefix struct {

	// IPs are encoded using binary marshaling.
	Ip   []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Bits uint32 `protobuf:"varint,2,opt,name=bits,proto3" json:"bits,omitempty"`
	// contains filtered or unexported fields
}

IPPrefix contains CIDR.

func (*IPPrefix) CloneMessageVT added in v0.1.4

func (m *IPPrefix) CloneMessageVT() proto.Message

func (*IPPrefix) CloneVT added in v0.1.4

func (m *IPPrefix) CloneVT() *IPPrefix

func (*IPPrefix) Descriptor deprecated

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

Deprecated: Use IPPrefix.ProtoReflect.Descriptor instead.

func (*IPPrefix) EqualMessageVT added in v0.1.2

func (this *IPPrefix) EqualMessageVT(thatMsg proto.Message) bool

func (*IPPrefix) EqualVT added in v0.1.2

func (this *IPPrefix) EqualVT(that *IPPrefix) bool

func (*IPPrefix) GetBits

func (x *IPPrefix) GetBits() uint32

func (*IPPrefix) GetIp

func (x *IPPrefix) GetIp() []byte

func (*IPPrefix) MarshalToSizedBufferVT

func (m *IPPrefix) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*IPPrefix) MarshalToVT

func (m *IPPrefix) MarshalToVT(dAtA []byte) (int, error)

func (*IPPrefix) MarshalVT

func (m *IPPrefix) MarshalVT() (dAtA []byte, err error)

func (*IPPrefix) ProtoMessage

func (*IPPrefix) ProtoMessage()

func (*IPPrefix) ProtoReflect

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

func (*IPPrefix) Reset

func (x *IPPrefix) Reset()

func (*IPPrefix) SizeVT

func (m *IPPrefix) SizeVT() (n int)

func (*IPPrefix) String

func (x *IPPrefix) String() string

func (*IPPrefix) UnmarshalVT

func (m *IPPrefix) UnmarshalVT(dAtA []byte) error

type KubeSpan

type KubeSpan struct {
	PublicKey           string      `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Address             []byte      `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	AdditionalAddresses []*IPPrefix `protobuf:"bytes,3,rep,name=additional_addresses,json=additionalAddresses,proto3" json:"additional_addresses,omitempty"`
	// contains filtered or unexported fields
}

KubeSpan optional configuration.

func (*KubeSpan) CloneMessageVT added in v0.1.4

func (m *KubeSpan) CloneMessageVT() proto.Message

func (*KubeSpan) CloneVT added in v0.1.4

func (m *KubeSpan) CloneVT() *KubeSpan

func (*KubeSpan) Descriptor deprecated

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

Deprecated: Use KubeSpan.ProtoReflect.Descriptor instead.

func (*KubeSpan) EqualMessageVT added in v0.1.2

func (this *KubeSpan) EqualMessageVT(thatMsg proto.Message) bool

func (*KubeSpan) EqualVT added in v0.1.2

func (this *KubeSpan) EqualVT(that *KubeSpan) bool

func (*KubeSpan) GetAdditionalAddresses

func (x *KubeSpan) GetAdditionalAddresses() []*IPPrefix

func (*KubeSpan) GetAddress

func (x *KubeSpan) GetAddress() []byte

func (*KubeSpan) GetPublicKey

func (x *KubeSpan) GetPublicKey() string

func (*KubeSpan) MarshalToSizedBufferVT

func (m *KubeSpan) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KubeSpan) MarshalToVT

func (m *KubeSpan) MarshalToVT(dAtA []byte) (int, error)

func (*KubeSpan) MarshalVT

func (m *KubeSpan) MarshalVT() (dAtA []byte, err error)

func (*KubeSpan) ProtoMessage

func (*KubeSpan) ProtoMessage()

func (*KubeSpan) ProtoReflect

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

func (*KubeSpan) Reset

func (x *KubeSpan) Reset()

func (*KubeSpan) SizeVT

func (m *KubeSpan) SizeVT() (n int)

func (*KubeSpan) String

func (x *KubeSpan) String() string

func (*KubeSpan) UnmarshalVT

func (m *KubeSpan) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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