Documentation ¶
Index ¶
- Variables
- type Affiliate
- func (*Affiliate) Descriptor() ([]byte, []int)deprecated
- func (this *Affiliate) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Affiliate) EqualVT(that *Affiliate) bool
- func (x *Affiliate) GetAddresses() [][]byte
- func (x *Affiliate) GetControlPlane() *ControlPlane
- func (x *Affiliate) GetHostname() string
- func (x *Affiliate) GetKubespan() *KubeSpan
- func (x *Affiliate) GetMachineType() string
- func (x *Affiliate) GetNodeId() string
- func (x *Affiliate) GetNodename() string
- func (x *Affiliate) GetOperatingSystem() string
- func (m *Affiliate) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Affiliate) MarshalToVT(dAtA []byte) (int, error)
- func (m *Affiliate) MarshalVT() (dAtA []byte, err error)
- func (*Affiliate) ProtoMessage()
- func (x *Affiliate) ProtoReflect() protoreflect.Message
- func (x *Affiliate) Reset()
- func (m *Affiliate) SizeVT() (n int)
- func (x *Affiliate) String() string
- func (m *Affiliate) UnmarshalVT(dAtA []byte) error
- type ControlPlane
- func (*ControlPlane) Descriptor() ([]byte, []int)deprecated
- func (this *ControlPlane) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ControlPlane) EqualVT(that *ControlPlane) bool
- func (x *ControlPlane) GetApiServerPort() uint32
- func (m *ControlPlane) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ControlPlane) MarshalToVT(dAtA []byte) (int, error)
- func (m *ControlPlane) MarshalVT() (dAtA []byte, err error)
- func (*ControlPlane) ProtoMessage()
- func (x *ControlPlane) ProtoReflect() protoreflect.Message
- func (x *ControlPlane) Reset()
- func (m *ControlPlane) SizeVT() (n int)
- func (x *ControlPlane) String() string
- func (m *ControlPlane) UnmarshalVT(dAtA []byte) error
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (this *Endpoint) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Endpoint) EqualVT(that *Endpoint) bool
- func (x *Endpoint) GetIp() []byte
- func (x *Endpoint) GetPort() uint32
- func (m *Endpoint) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Endpoint) MarshalToVT(dAtA []byte) (int, error)
- func (m *Endpoint) MarshalVT() (dAtA []byte, err error)
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (m *Endpoint) SizeVT() (n int)
- func (x *Endpoint) String() string
- func (m *Endpoint) UnmarshalVT(dAtA []byte) error
- type IPPrefix
- func (*IPPrefix) Descriptor() ([]byte, []int)deprecated
- func (this *IPPrefix) EqualMessageVT(thatMsg proto.Message) bool
- func (this *IPPrefix) EqualVT(that *IPPrefix) bool
- func (x *IPPrefix) GetBits() uint32
- func (x *IPPrefix) GetIp() []byte
- func (m *IPPrefix) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *IPPrefix) MarshalToVT(dAtA []byte) (int, error)
- func (m *IPPrefix) MarshalVT() (dAtA []byte, err error)
- func (*IPPrefix) ProtoMessage()
- func (x *IPPrefix) ProtoReflect() protoreflect.Message
- func (x *IPPrefix) Reset()
- func (m *IPPrefix) SizeVT() (n int)
- func (x *IPPrefix) String() string
- func (m *IPPrefix) UnmarshalVT(dAtA []byte) error
- type KubeSpan
- func (*KubeSpan) Descriptor() ([]byte, []int)deprecated
- func (this *KubeSpan) EqualMessageVT(thatMsg proto.Message) bool
- func (this *KubeSpan) EqualVT(that *KubeSpan) bool
- func (x *KubeSpan) GetAdditionalAddresses() []*IPPrefix
- func (x *KubeSpan) GetAddress() []byte
- func (x *KubeSpan) GetPublicKey() string
- func (m *KubeSpan) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *KubeSpan) MarshalToVT(dAtA []byte) (int, error)
- func (m *KubeSpan) MarshalVT() (dAtA []byte, err error)
- func (*KubeSpan) ProtoMessage()
- func (x *KubeSpan) ProtoReflect() protoreflect.Message
- func (x *KubeSpan) Reset()
- func (m *KubeSpan) SizeVT() (n int)
- func (x *KubeSpan) String() string
- func (m *KubeSpan) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
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) Descriptor
deprecated
func (*Affiliate) EqualMessageVT ¶ added in v0.1.2
func (*Affiliate) GetAddresses ¶
func (*Affiliate) GetControlPlane ¶ added in v0.1.3
func (x *Affiliate) GetControlPlane() *ControlPlane
func (*Affiliate) GetHostname ¶
func (*Affiliate) GetKubespan ¶
func (*Affiliate) GetMachineType ¶
func (*Affiliate) GetNodename ¶
func (*Affiliate) GetOperatingSystem ¶
func (*Affiliate) MarshalToSizedBufferVT ¶
func (*Affiliate) ProtoMessage ¶
func (*Affiliate) ProtoMessage()
func (*Affiliate) ProtoReflect ¶
func (x *Affiliate) ProtoReflect() protoreflect.Message
func (*Affiliate) UnmarshalVT ¶
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) 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) Descriptor
deprecated
func (*Endpoint) EqualMessageVT ¶ added in v0.1.2
func (*Endpoint) MarshalToSizedBufferVT ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) UnmarshalVT ¶
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) Descriptor
deprecated
func (*IPPrefix) EqualMessageVT ¶ added in v0.1.2
func (*IPPrefix) MarshalToSizedBufferVT ¶
func (*IPPrefix) ProtoMessage ¶
func (*IPPrefix) ProtoMessage()
func (*IPPrefix) ProtoReflect ¶
func (x *IPPrefix) ProtoReflect() protoreflect.Message
func (*IPPrefix) UnmarshalVT ¶
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) Descriptor
deprecated
func (*KubeSpan) EqualMessageVT ¶ added in v0.1.2
func (*KubeSpan) GetAdditionalAddresses ¶
func (*KubeSpan) GetAddress ¶
func (*KubeSpan) GetPublicKey ¶
func (*KubeSpan) MarshalToSizedBufferVT ¶
func (*KubeSpan) ProtoMessage ¶
func (*KubeSpan) ProtoMessage()
func (*KubeSpan) ProtoReflect ¶
func (x *KubeSpan) ProtoReflect() protoreflect.Message
func (*KubeSpan) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.