beta

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	KNI_CreateNetwork_FullMethodName     = "/kni.KNI/CreateNetwork"
	KNI_DeleteNetwork_FullMethodName     = "/kni.KNI/DeleteNetwork"
	KNI_AttachInterface_FullMethodName   = "/kni.KNI/AttachInterface"
	KNI_DetachInterface_FullMethodName   = "/kni.KNI/DetachInterface"
	KNI_QueryPodNetwork_FullMethodName   = "/kni.KNI/QueryPodNetwork"
	KNI_SetupNodeNetwork_FullMethodName  = "/kni.KNI/SetupNodeNetwork"
	KNI_QueryNodeNetworks_FullMethodName = "/kni.KNI/QueryNodeNetworks"
)

Variables

View Source
var (
	Protocol_name = map[int32]string{
		0: "TCP",
		1: "UDP",
		2: "SCTP",
	}
	Protocol_value = map[string]int32{
		"TCP":  0,
		"UDP":  1,
		"SCTP": 2,
	}
)

Enum value maps for Protocol.

View Source
var File_pkg_apis_runtime_beta_api_proto protoreflect.FileDescriptor
View Source
var KNI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kni.KNI",
	HandlerType: (*KNIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateNetwork",
			Handler:    _KNI_CreateNetwork_Handler,
		},
		{
			MethodName: "DeleteNetwork",
			Handler:    _KNI_DeleteNetwork_Handler,
		},
		{
			MethodName: "AttachInterface",
			Handler:    _KNI_AttachInterface_Handler,
		},
		{
			MethodName: "DetachInterface",
			Handler:    _KNI_DetachInterface_Handler,
		},
		{
			MethodName: "QueryPodNetwork",
			Handler:    _KNI_QueryPodNetwork_Handler,
		},
		{
			MethodName: "SetupNodeNetwork",
			Handler:    _KNI_SetupNodeNetwork_Handler,
		},
		{
			MethodName: "QueryNodeNetworks",
			Handler:    _KNI_QueryNodeNetworks_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/apis/runtime/beta/api.proto",
}

KNI_ServiceDesc is the grpc.ServiceDesc for KNI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKNIServer

func RegisterKNIServer(s grpc.ServiceRegistrar, srv KNIServer)

Types

type AttachInterfaceRequest added in v0.0.8

type AttachInterfaceRequest struct {
	Name         string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id           string            `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Namespace    string            `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Isolation    *Isolation        `protobuf:"bytes,4,opt,name=isolation,proto3" json:"isolation,omitempty"`
	DnsConfig    *DNSConfig        `protobuf:"bytes,5,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
	PortMappings []*PortMapping    `protobuf:"bytes,6,rep,name=port_mappings,json=portMappings,proto3" json:"port_mappings,omitempty"`
	Labels       map[string]string `` /* 153-byte string literal not displayed */
	Annotations  map[string]string `` /* 163-byte string literal not displayed */
	Extradata    map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AttachInterfaceRequest) Descriptor deprecated added in v0.0.8

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

Deprecated: Use AttachInterfaceRequest.ProtoReflect.Descriptor instead.

func (*AttachInterfaceRequest) GetAnnotations added in v0.0.8

func (x *AttachInterfaceRequest) GetAnnotations() map[string]string

func (*AttachInterfaceRequest) GetDnsConfig added in v0.0.8

func (x *AttachInterfaceRequest) GetDnsConfig() *DNSConfig

func (*AttachInterfaceRequest) GetExtradata added in v0.0.8

func (x *AttachInterfaceRequest) GetExtradata() map[string]string

func (*AttachInterfaceRequest) GetId added in v0.0.8

func (x *AttachInterfaceRequest) GetId() string

func (*AttachInterfaceRequest) GetIsolation added in v0.0.8

func (x *AttachInterfaceRequest) GetIsolation() *Isolation

func (*AttachInterfaceRequest) GetLabels added in v0.0.8

func (x *AttachInterfaceRequest) GetLabels() map[string]string

func (*AttachInterfaceRequest) GetName added in v0.0.8

func (x *AttachInterfaceRequest) GetName() string

func (*AttachInterfaceRequest) GetNamespace added in v0.0.8

func (x *AttachInterfaceRequest) GetNamespace() string

func (*AttachInterfaceRequest) GetPortMappings added in v0.0.8

func (x *AttachInterfaceRequest) GetPortMappings() []*PortMapping

func (*AttachInterfaceRequest) ProtoMessage added in v0.0.8

func (*AttachInterfaceRequest) ProtoMessage()

func (*AttachInterfaceRequest) ProtoReflect added in v0.0.8

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

func (*AttachInterfaceRequest) Reset added in v0.0.8

func (x *AttachInterfaceRequest) Reset()

func (*AttachInterfaceRequest) String added in v0.0.8

func (x *AttachInterfaceRequest) String() string

type AttachInterfaceResponse added in v0.0.8

type AttachInterfaceResponse struct {
	Ipconfigs map[string]*IPConfig `` /* 159-byte string literal not displayed */
	Extradata map[string]string    `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AttachInterfaceResponse) Descriptor deprecated added in v0.0.8

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

Deprecated: Use AttachInterfaceResponse.ProtoReflect.Descriptor instead.

func (*AttachInterfaceResponse) GetExtradata added in v0.0.8

func (x *AttachInterfaceResponse) GetExtradata() map[string]string

func (*AttachInterfaceResponse) GetIpconfigs added in v0.0.8

func (x *AttachInterfaceResponse) GetIpconfigs() map[string]*IPConfig

func (*AttachInterfaceResponse) ProtoMessage added in v0.0.8

func (*AttachInterfaceResponse) ProtoMessage()

func (*AttachInterfaceResponse) ProtoReflect added in v0.0.8

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

func (*AttachInterfaceResponse) Reset added in v0.0.8

func (x *AttachInterfaceResponse) Reset()

func (*AttachInterfaceResponse) String added in v0.0.8

func (x *AttachInterfaceResponse) String() string

type CreateNetworkRequest added in v0.0.8

type CreateNetworkRequest struct {
	Name            string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Uid             string            `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Namespace       string            `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NetnsPathPrefix string            `protobuf:"bytes,4,opt,name=netns_path_prefix,json=netnsPathPrefix,proto3" json:"netns_path_prefix,omitempty"`
	Labels          map[string]string `` /* 153-byte string literal not displayed */
	Annotations     map[string]string `` /* 163-byte string literal not displayed */
	Extradata       map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateNetworkRequest) Descriptor deprecated added in v0.0.8

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

Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.

func (*CreateNetworkRequest) GetAnnotations added in v0.0.8

func (x *CreateNetworkRequest) GetAnnotations() map[string]string

func (*CreateNetworkRequest) GetExtradata added in v0.0.8

func (x *CreateNetworkRequest) GetExtradata() map[string]string

func (*CreateNetworkRequest) GetLabels added in v0.0.8

func (x *CreateNetworkRequest) GetLabels() map[string]string

func (*CreateNetworkRequest) GetName added in v0.0.8

func (x *CreateNetworkRequest) GetName() string

func (*CreateNetworkRequest) GetNamespace added in v0.0.8

func (x *CreateNetworkRequest) GetNamespace() string

func (*CreateNetworkRequest) GetNetnsPathPrefix added in v0.0.8

func (x *CreateNetworkRequest) GetNetnsPathPrefix() string

func (*CreateNetworkRequest) GetUid added in v0.0.8

func (x *CreateNetworkRequest) GetUid() string

func (*CreateNetworkRequest) ProtoMessage added in v0.0.8

func (*CreateNetworkRequest) ProtoMessage()

func (*CreateNetworkRequest) ProtoReflect added in v0.0.8

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

func (*CreateNetworkRequest) Reset added in v0.0.8

func (x *CreateNetworkRequest) Reset()

func (*CreateNetworkRequest) String added in v0.0.8

func (x *CreateNetworkRequest) String() string

type CreateNetworkResponse added in v0.0.8

type CreateNetworkResponse struct {
	NetnsPath string            `protobuf:"bytes,1,opt,name=netns_path,json=netnsPath,proto3" json:"netns_path,omitempty"`
	Extradata map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateNetworkResponse) Descriptor deprecated added in v0.0.8

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

Deprecated: Use CreateNetworkResponse.ProtoReflect.Descriptor instead.

func (*CreateNetworkResponse) GetExtradata added in v0.0.8

func (x *CreateNetworkResponse) GetExtradata() map[string]string

func (*CreateNetworkResponse) GetNetnsPath added in v0.0.8

func (x *CreateNetworkResponse) GetNetnsPath() string

func (*CreateNetworkResponse) ProtoMessage added in v0.0.8

func (*CreateNetworkResponse) ProtoMessage()

func (*CreateNetworkResponse) ProtoReflect added in v0.0.8

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

func (*CreateNetworkResponse) Reset added in v0.0.8

func (x *CreateNetworkResponse) Reset()

func (*CreateNetworkResponse) String added in v0.0.8

func (x *CreateNetworkResponse) String() string

type DNSConfig added in v0.0.6

type DNSConfig struct {

	// List of DNS servers of the cluster.
	Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"`
	// List of DNS search domains of the cluster.
	Searches []string `protobuf:"bytes,2,rep,name=searches,proto3" json:"searches,omitempty"`
	// List of DNS options. See https://linux.die.net/man/5/resolv.conf
	// for all available options.
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

DNSConfig specifies the DNS servers and search domains of a sandbox.

func (*DNSConfig) Descriptor deprecated added in v0.0.6

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

Deprecated: Use DNSConfig.ProtoReflect.Descriptor instead.

func (*DNSConfig) GetOptions added in v0.0.6

func (x *DNSConfig) GetOptions() []string

func (*DNSConfig) GetSearches added in v0.0.6

func (x *DNSConfig) GetSearches() []string

func (*DNSConfig) GetServers added in v0.0.6

func (x *DNSConfig) GetServers() []string

func (*DNSConfig) ProtoMessage added in v0.0.6

func (*DNSConfig) ProtoMessage()

func (*DNSConfig) ProtoReflect added in v0.0.6

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

func (*DNSConfig) Reset added in v0.0.6

func (x *DNSConfig) Reset()

func (*DNSConfig) String added in v0.0.6

func (x *DNSConfig) String() string

type DeleteNetworkRequest added in v0.0.8

type DeleteNetworkRequest struct {
	Id        string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Namespace string            `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	NetnsPath string            `protobuf:"bytes,4,opt,name=netns_path,json=netnsPath,proto3" json:"netns_path,omitempty"`
	Extradata map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteNetworkRequest) Descriptor deprecated added in v0.0.8

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

Deprecated: Use DeleteNetworkRequest.ProtoReflect.Descriptor instead.

func (*DeleteNetworkRequest) GetExtradata added in v0.0.8

func (x *DeleteNetworkRequest) GetExtradata() map[string]string

func (*DeleteNetworkRequest) GetId added in v0.0.8

func (x *DeleteNetworkRequest) GetId() string

func (*DeleteNetworkRequest) GetName added in v0.0.8

func (x *DeleteNetworkRequest) GetName() string

func (*DeleteNetworkRequest) GetNamespace added in v0.0.8

func (x *DeleteNetworkRequest) GetNamespace() string

func (*DeleteNetworkRequest) GetNetnsPath added in v0.0.8

func (x *DeleteNetworkRequest) GetNetnsPath() string

func (*DeleteNetworkRequest) ProtoMessage added in v0.0.8

func (*DeleteNetworkRequest) ProtoMessage()

func (*DeleteNetworkRequest) ProtoReflect added in v0.0.8

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

func (*DeleteNetworkRequest) Reset added in v0.0.8

func (x *DeleteNetworkRequest) Reset()

func (*DeleteNetworkRequest) String added in v0.0.8

func (x *DeleteNetworkRequest) String() string

type DeleteNetworkResponse added in v0.0.8

type DeleteNetworkResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteNetworkResponse) Descriptor deprecated added in v0.0.8

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

Deprecated: Use DeleteNetworkResponse.ProtoReflect.Descriptor instead.

func (*DeleteNetworkResponse) ProtoMessage added in v0.0.8

func (*DeleteNetworkResponse) ProtoMessage()

func (*DeleteNetworkResponse) ProtoReflect added in v0.0.8

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

func (*DeleteNetworkResponse) Reset added in v0.0.8

func (x *DeleteNetworkResponse) Reset()

func (*DeleteNetworkResponse) String added in v0.0.8

func (x *DeleteNetworkResponse) String() string

type DetachInterfaceRequest added in v0.0.8

type DetachInterfaceRequest struct {
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id          string            `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Namespace   string            `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Isolation   *Isolation        `protobuf:"bytes,4,opt,name=isolation,proto3" json:"isolation,omitempty"`
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	Extradata   map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DetachInterfaceRequest) Descriptor deprecated added in v0.0.8

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

Deprecated: Use DetachInterfaceRequest.ProtoReflect.Descriptor instead.

func (*DetachInterfaceRequest) GetAnnotations added in v0.0.8

func (x *DetachInterfaceRequest) GetAnnotations() map[string]string

func (*DetachInterfaceRequest) GetExtradata added in v0.0.8

func (x *DetachInterfaceRequest) GetExtradata() map[string]string

func (*DetachInterfaceRequest) GetId added in v0.0.8

func (x *DetachInterfaceRequest) GetId() string

func (*DetachInterfaceRequest) GetIsolation added in v0.0.8

func (x *DetachInterfaceRequest) GetIsolation() *Isolation

func (*DetachInterfaceRequest) GetLabels added in v0.0.8

func (x *DetachInterfaceRequest) GetLabels() map[string]string

func (*DetachInterfaceRequest) GetName added in v0.0.8

func (x *DetachInterfaceRequest) GetName() string

func (*DetachInterfaceRequest) GetNamespace added in v0.0.8

func (x *DetachInterfaceRequest) GetNamespace() string

func (*DetachInterfaceRequest) ProtoMessage added in v0.0.8

func (*DetachInterfaceRequest) ProtoMessage()

func (*DetachInterfaceRequest) ProtoReflect added in v0.0.8

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

func (*DetachInterfaceRequest) Reset added in v0.0.8

func (x *DetachInterfaceRequest) Reset()

func (*DetachInterfaceRequest) String added in v0.0.8

func (x *DetachInterfaceRequest) String() string

type DetachInterfaceResponse added in v0.0.8

type DetachInterfaceResponse struct {
	// contains filtered or unexported fields
}

func (*DetachInterfaceResponse) Descriptor deprecated added in v0.0.8

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

Deprecated: Use DetachInterfaceResponse.ProtoReflect.Descriptor instead.

func (*DetachInterfaceResponse) ProtoMessage added in v0.0.8

func (*DetachInterfaceResponse) ProtoMessage()

func (*DetachInterfaceResponse) ProtoReflect added in v0.0.8

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

func (*DetachInterfaceResponse) Reset added in v0.0.8

func (x *DetachInterfaceResponse) Reset()

func (*DetachInterfaceResponse) String added in v0.0.8

func (x *DetachInterfaceResponse) String() string

type IPConfig

type IPConfig struct {
	Ip        []string          `protobuf:"bytes,1,rep,name=ip,proto3" json:"ip,omitempty"`
	Mac       string            `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	Extradata map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*IPConfig) Descriptor deprecated

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

Deprecated: Use IPConfig.ProtoReflect.Descriptor instead.

func (*IPConfig) GetExtradata added in v0.0.5

func (x *IPConfig) GetExtradata() map[string]string

func (*IPConfig) GetIp

func (x *IPConfig) GetIp() []string

func (*IPConfig) GetMac

func (x *IPConfig) GetMac() string

func (*IPConfig) ProtoMessage

func (*IPConfig) ProtoMessage()

func (*IPConfig) ProtoReflect

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

func (*IPConfig) Reset

func (x *IPConfig) Reset()

func (*IPConfig) String

func (x *IPConfig) String() string

type Isolation

type Isolation struct {
	Path      string            `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Type      string            `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` //Network Namespace, kernel, …
	Extradata map[string]string ``                                                              /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Isolation) Descriptor deprecated

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

Deprecated: Use Isolation.ProtoReflect.Descriptor instead.

func (*Isolation) GetExtradata added in v0.0.5

func (x *Isolation) GetExtradata() map[string]string

func (*Isolation) GetPath

func (x *Isolation) GetPath() string

func (*Isolation) GetType

func (x *Isolation) GetType() string

func (*Isolation) ProtoMessage

func (*Isolation) ProtoMessage()

func (*Isolation) ProtoReflect

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

func (*Isolation) Reset

func (x *Isolation) Reset()

func (*Isolation) String

func (x *Isolation) String() string

type KNIClient

KNIClient is the client API for KNI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewKNIClient

func NewKNIClient(cc grpc.ClientConnInterface) KNIClient

type KNIServer

KNIServer is the server API for KNI service. All implementations should embed UnimplementedKNIServer for forward compatibility

type Network

type Network struct {
	Name      string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Ready     bool              `protobuf:"varint,2,opt,name=ready,proto3" json:"ready,omitempty"`
	Extradata map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Network) Descriptor deprecated

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

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetExtradata added in v0.0.5

func (x *Network) GetExtradata() map[string]string

func (*Network) GetName

func (x *Network) GetName() string

func (*Network) GetReady added in v0.0.4

func (x *Network) GetReady() bool

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

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

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

type PortMapping added in v0.0.6

type PortMapping struct {

	// Protocol of the port mapping.
	Protocol Protocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=kni.Protocol" json:"protocol,omitempty"`
	// Port number within the container. Default: 0 (not specified).
	ContainerPort int32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// Port number on the host. Default: 0 (not specified).
	HostPort int32 `protobuf:"varint,3,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
	// Host IP.
	HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
	// contains filtered or unexported fields
}

PortMapping specifies the port mapping configurations of a sandbox.

func (*PortMapping) Descriptor deprecated added in v0.0.6

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

Deprecated: Use PortMapping.ProtoReflect.Descriptor instead.

func (*PortMapping) GetContainerPort added in v0.0.6

func (x *PortMapping) GetContainerPort() int32

func (*PortMapping) GetHostIp added in v0.0.6

func (x *PortMapping) GetHostIp() string

func (*PortMapping) GetHostPort added in v0.0.6

func (x *PortMapping) GetHostPort() int32

func (*PortMapping) GetProtocol added in v0.0.6

func (x *PortMapping) GetProtocol() Protocol

func (*PortMapping) ProtoMessage added in v0.0.6

func (*PortMapping) ProtoMessage()

func (*PortMapping) ProtoReflect added in v0.0.6

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

func (*PortMapping) Reset added in v0.0.6

func (x *PortMapping) Reset()

func (*PortMapping) String added in v0.0.6

func (x *PortMapping) String() string

type Protocol added in v0.0.6

type Protocol int32
const (
	Protocol_TCP  Protocol = 0
	Protocol_UDP  Protocol = 1
	Protocol_SCTP Protocol = 2
)

func (Protocol) Descriptor added in v0.0.6

func (Protocol) Descriptor() protoreflect.EnumDescriptor

func (Protocol) Enum added in v0.0.6

func (x Protocol) Enum() *Protocol

func (Protocol) EnumDescriptor deprecated added in v0.0.6

func (Protocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use Protocol.Descriptor instead.

func (Protocol) Number added in v0.0.6

func (x Protocol) Number() protoreflect.EnumNumber

func (Protocol) String added in v0.0.6

func (x Protocol) String() string

func (Protocol) Type added in v0.0.6

type QueryNodeNetworksRequest

type QueryNodeNetworksRequest struct {
	// contains filtered or unexported fields
}

func (*QueryNodeNetworksRequest) Descriptor deprecated

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

Deprecated: Use QueryNodeNetworksRequest.ProtoReflect.Descriptor instead.

func (*QueryNodeNetworksRequest) ProtoMessage

func (*QueryNodeNetworksRequest) ProtoMessage()

func (*QueryNodeNetworksRequest) ProtoReflect

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

func (*QueryNodeNetworksRequest) Reset

func (x *QueryNodeNetworksRequest) Reset()

func (*QueryNodeNetworksRequest) String

func (x *QueryNodeNetworksRequest) String() string

type QueryNodeNetworksResponse

type QueryNodeNetworksResponse struct {
	Networks  []*Network        `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	Extradata map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryNodeNetworksResponse) Descriptor deprecated

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

Deprecated: Use QueryNodeNetworksResponse.ProtoReflect.Descriptor instead.

func (*QueryNodeNetworksResponse) GetExtradata added in v0.0.5

func (x *QueryNodeNetworksResponse) GetExtradata() map[string]string

func (*QueryNodeNetworksResponse) GetNetworks

func (x *QueryNodeNetworksResponse) GetNetworks() []*Network

func (*QueryNodeNetworksResponse) ProtoMessage

func (*QueryNodeNetworksResponse) ProtoMessage()

func (*QueryNodeNetworksResponse) ProtoReflect

func (*QueryNodeNetworksResponse) Reset

func (x *QueryNodeNetworksResponse) Reset()

func (*QueryNodeNetworksResponse) String

func (x *QueryNodeNetworksResponse) String() string

type QueryPodNetworkRequest

type QueryPodNetworkRequest struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryPodNetworkRequest) Descriptor deprecated

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

Deprecated: Use QueryPodNetworkRequest.ProtoReflect.Descriptor instead.

func (*QueryPodNetworkRequest) GetId

func (x *QueryPodNetworkRequest) GetId() string

func (*QueryPodNetworkRequest) GetName

func (x *QueryPodNetworkRequest) GetName() string

func (*QueryPodNetworkRequest) GetNamespace

func (x *QueryPodNetworkRequest) GetNamespace() string

func (*QueryPodNetworkRequest) ProtoMessage

func (*QueryPodNetworkRequest) ProtoMessage()

func (*QueryPodNetworkRequest) ProtoReflect

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

func (*QueryPodNetworkRequest) Reset

func (x *QueryPodNetworkRequest) Reset()

func (*QueryPodNetworkRequest) String

func (x *QueryPodNetworkRequest) String() string

type QueryPodNetworkResponse

type QueryPodNetworkResponse struct {
	Ipconfigs map[string]*IPConfig `` /* 159-byte string literal not displayed */
	Extradata map[string]string    `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryPodNetworkResponse) Descriptor deprecated

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

Deprecated: Use QueryPodNetworkResponse.ProtoReflect.Descriptor instead.

func (*QueryPodNetworkResponse) GetExtradata added in v0.0.5

func (x *QueryPodNetworkResponse) GetExtradata() map[string]string

func (*QueryPodNetworkResponse) GetIpconfigs

func (x *QueryPodNetworkResponse) GetIpconfigs() map[string]*IPConfig

func (*QueryPodNetworkResponse) ProtoMessage

func (*QueryPodNetworkResponse) ProtoMessage()

func (*QueryPodNetworkResponse) ProtoReflect

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

func (*QueryPodNetworkResponse) Reset

func (x *QueryPodNetworkResponse) Reset()

func (*QueryPodNetworkResponse) String

func (x *QueryPodNetworkResponse) String() string

type SetupNodeNetworkRequest

type SetupNodeNetworkRequest struct {
	// contains filtered or unexported fields
}

func (*SetupNodeNetworkRequest) Descriptor deprecated

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

Deprecated: Use SetupNodeNetworkRequest.ProtoReflect.Descriptor instead.

func (*SetupNodeNetworkRequest) ProtoMessage

func (*SetupNodeNetworkRequest) ProtoMessage()

func (*SetupNodeNetworkRequest) ProtoReflect

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

func (*SetupNodeNetworkRequest) Reset

func (x *SetupNodeNetworkRequest) Reset()

func (*SetupNodeNetworkRequest) String

func (x *SetupNodeNetworkRequest) String() string

type SetupNodeNetworkResponse

type SetupNodeNetworkResponse struct {
	// contains filtered or unexported fields
}

func (*SetupNodeNetworkResponse) Descriptor deprecated

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

Deprecated: Use SetupNodeNetworkResponse.ProtoReflect.Descriptor instead.

func (*SetupNodeNetworkResponse) ProtoMessage

func (*SetupNodeNetworkResponse) ProtoMessage()

func (*SetupNodeNetworkResponse) ProtoReflect

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

func (*SetupNodeNetworkResponse) Reset

func (x *SetupNodeNetworkResponse) Reset()

func (*SetupNodeNetworkResponse) String

func (x *SetupNodeNetworkResponse) String() string

type UnimplementedKNIServer

type UnimplementedKNIServer struct {
}

UnimplementedKNIServer should be embedded to have forward compatible implementations.

func (UnimplementedKNIServer) AttachInterface added in v0.0.8

func (UnimplementedKNIServer) CreateNetwork added in v0.0.8

func (UnimplementedKNIServer) DeleteNetwork added in v0.0.8

func (UnimplementedKNIServer) DetachInterface added in v0.0.8

func (UnimplementedKNIServer) QueryPodNetwork

type UnsafeKNIServer

type UnsafeKNIServer interface {
	// contains filtered or unexported methods
}

UnsafeKNIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KNIServer will result in compilation errors.

Jump to

Keyboard shortcuts

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