Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterKNIServer(s grpc.ServiceRegistrar, srv KNIServer)
- type AttachNetworkRequest
- func (*AttachNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachNetworkRequest) GetAnnotations() map[string]string
- func (x *AttachNetworkRequest) GetDnsConfig() *DNSConfig
- func (x *AttachNetworkRequest) GetExtradata() map[string]string
- func (x *AttachNetworkRequest) GetId() string
- func (x *AttachNetworkRequest) GetIsolation() *Isolation
- func (x *AttachNetworkRequest) GetLabels() map[string]string
- func (x *AttachNetworkRequest) GetName() string
- func (x *AttachNetworkRequest) GetNamespace() string
- func (x *AttachNetworkRequest) GetPortMappings() []*PortMapping
- func (*AttachNetworkRequest) ProtoMessage()
- func (x *AttachNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *AttachNetworkRequest) Reset()
- func (x *AttachNetworkRequest) String() string
- type AttachNetworkResponse
- func (*AttachNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachNetworkResponse) GetExtradata() map[string]string
- func (x *AttachNetworkResponse) GetIpconfigs() map[string]*IPConfig
- func (*AttachNetworkResponse) ProtoMessage()
- func (x *AttachNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *AttachNetworkResponse) Reset()
- func (x *AttachNetworkResponse) String() string
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DNSConfig) GetOptions() []string
- func (x *DNSConfig) GetSearches() []string
- func (x *DNSConfig) GetServers() []string
- func (*DNSConfig) ProtoMessage()
- func (x *DNSConfig) ProtoReflect() protoreflect.Message
- func (x *DNSConfig) Reset()
- func (x *DNSConfig) String() string
- type DetachNetworkRequest
- func (*DetachNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachNetworkRequest) GetAnnotations() map[string]string
- func (x *DetachNetworkRequest) GetExtradata() map[string]string
- func (x *DetachNetworkRequest) GetId() string
- func (x *DetachNetworkRequest) GetIsolation() *Isolation
- func (x *DetachNetworkRequest) GetLabels() map[string]string
- func (x *DetachNetworkRequest) GetName() string
- func (x *DetachNetworkRequest) GetNamespace() string
- func (*DetachNetworkRequest) ProtoMessage()
- func (x *DetachNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *DetachNetworkRequest) Reset()
- func (x *DetachNetworkRequest) String() string
- type DetachNetworkResponse
- type IPConfig
- func (*IPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IPConfig) GetExtradata() map[string]string
- func (x *IPConfig) GetIp() []string
- func (x *IPConfig) GetMac() string
- func (*IPConfig) ProtoMessage()
- func (x *IPConfig) ProtoReflect() protoreflect.Message
- func (x *IPConfig) Reset()
- func (x *IPConfig) String() string
- type Isolation
- func (*Isolation) Descriptor() ([]byte, []int)deprecated
- func (x *Isolation) GetExtradata() map[string]string
- func (x *Isolation) GetPath() string
- func (x *Isolation) GetType() string
- func (*Isolation) ProtoMessage()
- func (x *Isolation) ProtoReflect() protoreflect.Message
- func (x *Isolation) Reset()
- func (x *Isolation) String() string
- type KNIClient
- type KNIServer
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetExtradata() map[string]string
- func (x *Network) GetName() string
- func (x *Network) GetReady() bool
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type PortMapping
- func (*PortMapping) Descriptor() ([]byte, []int)deprecated
- func (x *PortMapping) GetContainerPort() int32
- func (x *PortMapping) GetHostIp() string
- func (x *PortMapping) GetHostPort() int32
- func (x *PortMapping) GetProtocol() Protocol
- func (*PortMapping) ProtoMessage()
- func (x *PortMapping) ProtoReflect() protoreflect.Message
- func (x *PortMapping) Reset()
- func (x *PortMapping) String() string
- type Protocol
- type QueryNodeNetworksRequest
- type QueryNodeNetworksResponse
- func (*QueryNodeNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryNodeNetworksResponse) GetExtradata() map[string]string
- func (x *QueryNodeNetworksResponse) GetNetworks() []*Network
- func (*QueryNodeNetworksResponse) ProtoMessage()
- func (x *QueryNodeNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *QueryNodeNetworksResponse) Reset()
- func (x *QueryNodeNetworksResponse) String() string
- type QueryPodNetworkRequest
- func (*QueryPodNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPodNetworkRequest) GetId() string
- func (x *QueryPodNetworkRequest) GetName() string
- func (x *QueryPodNetworkRequest) GetNamespace() string
- func (*QueryPodNetworkRequest) ProtoMessage()
- func (x *QueryPodNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *QueryPodNetworkRequest) Reset()
- func (x *QueryPodNetworkRequest) String() string
- type QueryPodNetworkResponse
- func (*QueryPodNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPodNetworkResponse) GetExtradata() map[string]string
- func (x *QueryPodNetworkResponse) GetIpconfigs() map[string]*IPConfig
- func (*QueryPodNetworkResponse) ProtoMessage()
- func (x *QueryPodNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *QueryPodNetworkResponse) Reset()
- func (x *QueryPodNetworkResponse) String() string
- type SetupNodeNetworkRequest
- type SetupNodeNetworkResponse
- type UnimplementedKNIServer
- func (UnimplementedKNIServer) AttachNetwork(context.Context, *AttachNetworkRequest) (*AttachNetworkResponse, error)
- func (UnimplementedKNIServer) DetachNetwork(context.Context, *DetachNetworkRequest) (*DetachNetworkResponse, error)
- func (UnimplementedKNIServer) QueryNodeNetworks(context.Context, *QueryNodeNetworksRequest) (*QueryNodeNetworksResponse, error)
- func (UnimplementedKNIServer) QueryPodNetwork(context.Context, *QueryPodNetworkRequest) (*QueryPodNetworkResponse, error)
- func (UnimplementedKNIServer) SetupNodeNetwork(context.Context, *SetupNodeNetworkRequest) (*SetupNodeNetworkResponse, error)
- type UnsafeKNIServer
Constants ¶
const ( KNI_AttachNetwork_FullMethodName = "/kni.KNI/AttachNetwork" KNI_DetachNetwork_FullMethodName = "/kni.KNI/DetachNetwork" KNI_QueryPodNetwork_FullMethodName = "/kni.KNI/QueryPodNetwork" KNI_SetupNodeNetwork_FullMethodName = "/kni.KNI/SetupNodeNetwork" KNI_QueryNodeNetworks_FullMethodName = "/kni.KNI/QueryNodeNetworks" )
Variables ¶
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.
var File_pkg_apis_runtime_beta_api_proto protoreflect.FileDescriptor
var KNI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kni.KNI", HandlerType: (*KNIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AttachNetwork", Handler: _KNI_AttachNetwork_Handler, }, { MethodName: "DetachNetwork", Handler: _KNI_DetachNetwork_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 AttachNetworkRequest ¶
type AttachNetworkRequest 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 (*AttachNetworkRequest) Descriptor
deprecated
func (*AttachNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachNetworkRequest.ProtoReflect.Descriptor instead.
func (*AttachNetworkRequest) GetAnnotations ¶
func (x *AttachNetworkRequest) GetAnnotations() map[string]string
func (*AttachNetworkRequest) GetDnsConfig ¶ added in v0.0.6
func (x *AttachNetworkRequest) GetDnsConfig() *DNSConfig
func (*AttachNetworkRequest) GetExtradata ¶ added in v0.0.5
func (x *AttachNetworkRequest) GetExtradata() map[string]string
func (*AttachNetworkRequest) GetId ¶
func (x *AttachNetworkRequest) GetId() string
func (*AttachNetworkRequest) GetIsolation ¶
func (x *AttachNetworkRequest) GetIsolation() *Isolation
func (*AttachNetworkRequest) GetLabels ¶
func (x *AttachNetworkRequest) GetLabels() map[string]string
func (*AttachNetworkRequest) GetName ¶
func (x *AttachNetworkRequest) GetName() string
func (*AttachNetworkRequest) GetNamespace ¶
func (x *AttachNetworkRequest) GetNamespace() string
func (*AttachNetworkRequest) GetPortMappings ¶ added in v0.0.6
func (x *AttachNetworkRequest) GetPortMappings() []*PortMapping
func (*AttachNetworkRequest) ProtoMessage ¶
func (*AttachNetworkRequest) ProtoMessage()
func (*AttachNetworkRequest) ProtoReflect ¶
func (x *AttachNetworkRequest) ProtoReflect() protoreflect.Message
func (*AttachNetworkRequest) Reset ¶
func (x *AttachNetworkRequest) Reset()
func (*AttachNetworkRequest) String ¶
func (x *AttachNetworkRequest) String() string
type AttachNetworkResponse ¶
type AttachNetworkResponse 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 (*AttachNetworkResponse) Descriptor
deprecated
func (*AttachNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachNetworkResponse.ProtoReflect.Descriptor instead.
func (*AttachNetworkResponse) GetExtradata ¶ added in v0.0.5
func (x *AttachNetworkResponse) GetExtradata() map[string]string
func (*AttachNetworkResponse) GetIpconfigs ¶
func (x *AttachNetworkResponse) GetIpconfigs() map[string]*IPConfig
func (*AttachNetworkResponse) ProtoMessage ¶
func (*AttachNetworkResponse) ProtoMessage()
func (*AttachNetworkResponse) ProtoReflect ¶
func (x *AttachNetworkResponse) ProtoReflect() protoreflect.Message
func (*AttachNetworkResponse) Reset ¶
func (x *AttachNetworkResponse) Reset()
func (*AttachNetworkResponse) String ¶
func (x *AttachNetworkResponse) 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) GetOptions ¶ added in v0.0.6
func (*DNSConfig) GetSearches ¶ added in v0.0.6
func (*DNSConfig) GetServers ¶ added in v0.0.6
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
type DetachNetworkRequest ¶
type DetachNetworkRequest 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 (*DetachNetworkRequest) Descriptor
deprecated
func (*DetachNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachNetworkRequest.ProtoReflect.Descriptor instead.
func (*DetachNetworkRequest) GetAnnotations ¶
func (x *DetachNetworkRequest) GetAnnotations() map[string]string
func (*DetachNetworkRequest) GetExtradata ¶ added in v0.0.5
func (x *DetachNetworkRequest) GetExtradata() map[string]string
func (*DetachNetworkRequest) GetId ¶
func (x *DetachNetworkRequest) GetId() string
func (*DetachNetworkRequest) GetIsolation ¶
func (x *DetachNetworkRequest) GetIsolation() *Isolation
func (*DetachNetworkRequest) GetLabels ¶
func (x *DetachNetworkRequest) GetLabels() map[string]string
func (*DetachNetworkRequest) GetName ¶
func (x *DetachNetworkRequest) GetName() string
func (*DetachNetworkRequest) GetNamespace ¶
func (x *DetachNetworkRequest) GetNamespace() string
func (*DetachNetworkRequest) ProtoMessage ¶
func (*DetachNetworkRequest) ProtoMessage()
func (*DetachNetworkRequest) ProtoReflect ¶
func (x *DetachNetworkRequest) ProtoReflect() protoreflect.Message
func (*DetachNetworkRequest) Reset ¶
func (x *DetachNetworkRequest) Reset()
func (*DetachNetworkRequest) String ¶
func (x *DetachNetworkRequest) String() string
type DetachNetworkResponse ¶
type DetachNetworkResponse struct {
// contains filtered or unexported fields
}
func (*DetachNetworkResponse) Descriptor
deprecated
func (*DetachNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetachNetworkResponse.ProtoReflect.Descriptor instead.
func (*DetachNetworkResponse) ProtoMessage ¶
func (*DetachNetworkResponse) ProtoMessage()
func (*DetachNetworkResponse) ProtoReflect ¶
func (x *DetachNetworkResponse) ProtoReflect() protoreflect.Message
func (*DetachNetworkResponse) Reset ¶
func (x *DetachNetworkResponse) Reset()
func (*DetachNetworkResponse) String ¶
func (x *DetachNetworkResponse) 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) GetExtradata ¶ added in v0.0.5
func (*IPConfig) ProtoMessage ¶
func (*IPConfig) ProtoMessage()
func (*IPConfig) ProtoReflect ¶
func (x *IPConfig) ProtoReflect() protoreflect.Message
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) GetExtradata ¶ added in v0.0.5
func (*Isolation) ProtoMessage ¶
func (*Isolation) ProtoMessage()
func (*Isolation) ProtoReflect ¶
func (x *Isolation) ProtoReflect() protoreflect.Message
type KNIClient ¶
type KNIClient interface { AttachNetwork(ctx context.Context, in *AttachNetworkRequest, opts ...grpc.CallOption) (*AttachNetworkResponse, error) DetachNetwork(ctx context.Context, in *DetachNetworkRequest, opts ...grpc.CallOption) (*DetachNetworkResponse, error) QueryPodNetwork(ctx context.Context, in *QueryPodNetworkRequest, opts ...grpc.CallOption) (*QueryPodNetworkResponse, error) SetupNodeNetwork(ctx context.Context, in *SetupNodeNetworkRequest, opts ...grpc.CallOption) (*SetupNodeNetworkResponse, error) QueryNodeNetworks(ctx context.Context, in *QueryNodeNetworksRequest, opts ...grpc.CallOption) (*QueryNodeNetworksResponse, error) }
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 ¶
type KNIServer interface { AttachNetwork(context.Context, *AttachNetworkRequest) (*AttachNetworkResponse, error) DetachNetwork(context.Context, *DetachNetworkRequest) (*DetachNetworkResponse, error) QueryPodNetwork(context.Context, *QueryPodNetworkRequest) (*QueryPodNetworkResponse, error) SetupNodeNetwork(context.Context, *SetupNodeNetworkRequest) (*SetupNodeNetworkResponse, error) QueryNodeNetworks(context.Context, *QueryNodeNetworksRequest) (*QueryNodeNetworksResponse, error) }
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) GetExtradata ¶ added in v0.0.5
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
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
func (Protocol) Descriptor ¶ added in v0.0.6
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) EnumDescriptor
deprecated
added in
v0.0.6
func (Protocol) Number ¶ added in v0.0.6
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶ added in v0.0.6
func (Protocol) Type() protoreflect.EnumType
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 (x *QueryNodeNetworksResponse) ProtoReflect() protoreflect.Message
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) AttachNetwork ¶
func (UnimplementedKNIServer) AttachNetwork(context.Context, *AttachNetworkRequest) (*AttachNetworkResponse, error)
func (UnimplementedKNIServer) DetachNetwork ¶
func (UnimplementedKNIServer) DetachNetwork(context.Context, *DetachNetworkRequest) (*DetachNetworkResponse, error)
func (UnimplementedKNIServer) QueryNodeNetworks ¶
func (UnimplementedKNIServer) QueryNodeNetworks(context.Context, *QueryNodeNetworksRequest) (*QueryNodeNetworksResponse, error)
func (UnimplementedKNIServer) QueryPodNetwork ¶
func (UnimplementedKNIServer) QueryPodNetwork(context.Context, *QueryPodNetworkRequest) (*QueryPodNetworkResponse, error)
func (UnimplementedKNIServer) SetupNodeNetwork ¶
func (UnimplementedKNIServer) SetupNodeNetwork(context.Context, *SetupNodeNetworkRequest) (*SetupNodeNetworkResponse, error)
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.