v1

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package v1 contains the proto and compiled go files for the node network service v1 implementation.

A mock service under `mock` is used for unit testing the various services used for ncproxy.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNodenetsvc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNodenetsvc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupNodenetsvc = fmt.Errorf("proto: unexpected end of group")
)
View Source
var RequestType_name = map[int32]string{
	0: "Setup",
	1: "Teardown",
}
View Source
var RequestType_value = map[string]int32{
	"Setup":    0,
	"Teardown": 1,
}

Functions

func RegisterNodeNetworkServiceServer

func RegisterNodeNetworkServiceServer(s *grpc.Server, srv NodeNetworkServiceServer)

Types

type ConfigureContainerNetworkingRequest

type ConfigureContainerNetworkingRequest struct {
	RequestType          RequestType `` /* 126-byte string literal not displayed */
	ContainerID          string      `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	NetworkNamespaceID   string      `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ConfigureContainerNetworkingRequest) Descriptor

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

func (*ConfigureContainerNetworkingRequest) Marshal added in v0.11.0

func (m *ConfigureContainerNetworkingRequest) Marshal() (dAtA []byte, err error)

func (*ConfigureContainerNetworkingRequest) MarshalTo added in v0.11.0

func (m *ConfigureContainerNetworkingRequest) MarshalTo(dAtA []byte) (int, error)

func (*ConfigureContainerNetworkingRequest) MarshalToSizedBuffer added in v0.11.0

func (m *ConfigureContainerNetworkingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigureContainerNetworkingRequest) ProtoMessage

func (*ConfigureContainerNetworkingRequest) ProtoMessage()

func (*ConfigureContainerNetworkingRequest) Reset

func (*ConfigureContainerNetworkingRequest) Size added in v0.11.0

func (*ConfigureContainerNetworkingRequest) String

func (*ConfigureContainerNetworkingRequest) Unmarshal added in v0.11.0

func (m *ConfigureContainerNetworkingRequest) Unmarshal(dAtA []byte) error

func (*ConfigureContainerNetworkingRequest) XXX_DiscardUnknown added in v0.11.0

func (m *ConfigureContainerNetworkingRequest) XXX_DiscardUnknown()

func (*ConfigureContainerNetworkingRequest) XXX_Marshal added in v0.11.0

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

func (*ConfigureContainerNetworkingRequest) XXX_Merge added in v0.11.0

func (*ConfigureContainerNetworkingRequest) XXX_Size added in v0.11.0

func (*ConfigureContainerNetworkingRequest) XXX_Unmarshal added in v0.11.0

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

type ConfigureContainerNetworkingResponse

type ConfigureContainerNetworkingResponse struct {
	Interfaces           []*ContainerNetworkInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*ConfigureContainerNetworkingResponse) Descriptor

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

func (*ConfigureContainerNetworkingResponse) Marshal added in v0.11.0

func (m *ConfigureContainerNetworkingResponse) Marshal() (dAtA []byte, err error)

func (*ConfigureContainerNetworkingResponse) MarshalTo added in v0.11.0

func (m *ConfigureContainerNetworkingResponse) MarshalTo(dAtA []byte) (int, error)

func (*ConfigureContainerNetworkingResponse) MarshalToSizedBuffer added in v0.11.0

func (m *ConfigureContainerNetworkingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigureContainerNetworkingResponse) ProtoMessage

func (*ConfigureContainerNetworkingResponse) ProtoMessage()

func (*ConfigureContainerNetworkingResponse) Reset

func (*ConfigureContainerNetworkingResponse) Size added in v0.11.0

func (*ConfigureContainerNetworkingResponse) String

func (*ConfigureContainerNetworkingResponse) Unmarshal added in v0.11.0

func (m *ConfigureContainerNetworkingResponse) Unmarshal(dAtA []byte) error

func (*ConfigureContainerNetworkingResponse) XXX_DiscardUnknown added in v0.11.0

func (m *ConfigureContainerNetworkingResponse) XXX_DiscardUnknown()

func (*ConfigureContainerNetworkingResponse) XXX_Marshal added in v0.11.0

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

func (*ConfigureContainerNetworkingResponse) XXX_Merge added in v0.11.0

func (*ConfigureContainerNetworkingResponse) XXX_Size added in v0.11.0

func (*ConfigureContainerNetworkingResponse) XXX_Unmarshal added in v0.11.0

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

type ConfigureNetworkingRequest

type ConfigureNetworkingRequest struct {
	ContainerID          string      `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	RequestType          RequestType `` /* 126-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ConfigureNetworkingRequest) Descriptor

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

func (*ConfigureNetworkingRequest) Marshal added in v0.11.0

func (m *ConfigureNetworkingRequest) Marshal() (dAtA []byte, err error)

func (*ConfigureNetworkingRequest) MarshalTo added in v0.11.0

func (m *ConfigureNetworkingRequest) MarshalTo(dAtA []byte) (int, error)

func (*ConfigureNetworkingRequest) MarshalToSizedBuffer added in v0.11.0

func (m *ConfigureNetworkingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigureNetworkingRequest) ProtoMessage

func (*ConfigureNetworkingRequest) ProtoMessage()

func (*ConfigureNetworkingRequest) Reset

func (m *ConfigureNetworkingRequest) Reset()

func (*ConfigureNetworkingRequest) Size added in v0.11.0

func (m *ConfigureNetworkingRequest) Size() (n int)

func (*ConfigureNetworkingRequest) String

func (this *ConfigureNetworkingRequest) String() string

func (*ConfigureNetworkingRequest) Unmarshal added in v0.11.0

func (m *ConfigureNetworkingRequest) Unmarshal(dAtA []byte) error

func (*ConfigureNetworkingRequest) XXX_DiscardUnknown added in v0.11.0

func (m *ConfigureNetworkingRequest) XXX_DiscardUnknown()

func (*ConfigureNetworkingRequest) XXX_Marshal added in v0.11.0

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

func (*ConfigureNetworkingRequest) XXX_Merge added in v0.11.0

func (m *ConfigureNetworkingRequest) XXX_Merge(src proto.Message)

func (*ConfigureNetworkingRequest) XXX_Size added in v0.11.0

func (m *ConfigureNetworkingRequest) XXX_Size() int

func (*ConfigureNetworkingRequest) XXX_Unmarshal added in v0.11.0

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

type ConfigureNetworkingResponse

type ConfigureNetworkingResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConfigureNetworkingResponse) Descriptor

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

func (*ConfigureNetworkingResponse) Marshal added in v0.11.0

func (m *ConfigureNetworkingResponse) Marshal() (dAtA []byte, err error)

func (*ConfigureNetworkingResponse) MarshalTo added in v0.11.0

func (m *ConfigureNetworkingResponse) MarshalTo(dAtA []byte) (int, error)

func (*ConfigureNetworkingResponse) MarshalToSizedBuffer added in v0.11.0

func (m *ConfigureNetworkingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigureNetworkingResponse) ProtoMessage

func (*ConfigureNetworkingResponse) ProtoMessage()

func (*ConfigureNetworkingResponse) Reset

func (m *ConfigureNetworkingResponse) Reset()

func (*ConfigureNetworkingResponse) Size added in v0.11.0

func (m *ConfigureNetworkingResponse) Size() (n int)

func (*ConfigureNetworkingResponse) String

func (this *ConfigureNetworkingResponse) String() string

func (*ConfigureNetworkingResponse) Unmarshal added in v0.11.0

func (m *ConfigureNetworkingResponse) Unmarshal(dAtA []byte) error

func (*ConfigureNetworkingResponse) XXX_DiscardUnknown added in v0.11.0

func (m *ConfigureNetworkingResponse) XXX_DiscardUnknown()

func (*ConfigureNetworkingResponse) XXX_Marshal added in v0.11.0

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

func (*ConfigureNetworkingResponse) XXX_Merge added in v0.11.0

func (m *ConfigureNetworkingResponse) XXX_Merge(src proto.Message)

func (*ConfigureNetworkingResponse) XXX_Size added in v0.11.0

func (m *ConfigureNetworkingResponse) XXX_Size() int

func (*ConfigureNetworkingResponse) XXX_Unmarshal added in v0.11.0

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

type ContainerIPAddress

type ContainerIPAddress struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Ip                   string   `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	PrefixLength         string   `protobuf:"bytes,4,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"`
	DefaultGateway       string   `protobuf:"bytes,5,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerIPAddress) Descriptor

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

func (*ContainerIPAddress) Marshal added in v0.11.0

func (m *ContainerIPAddress) Marshal() (dAtA []byte, err error)

func (*ContainerIPAddress) MarshalTo added in v0.11.0

func (m *ContainerIPAddress) MarshalTo(dAtA []byte) (int, error)

func (*ContainerIPAddress) MarshalToSizedBuffer added in v0.11.0

func (m *ContainerIPAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerIPAddress) ProtoMessage

func (*ContainerIPAddress) ProtoMessage()

func (*ContainerIPAddress) Reset

func (m *ContainerIPAddress) Reset()

func (*ContainerIPAddress) Size added in v0.11.0

func (m *ContainerIPAddress) Size() (n int)

func (*ContainerIPAddress) String

func (this *ContainerIPAddress) String() string

func (*ContainerIPAddress) Unmarshal added in v0.11.0

func (m *ContainerIPAddress) Unmarshal(dAtA []byte) error

func (*ContainerIPAddress) XXX_DiscardUnknown added in v0.11.0

func (m *ContainerIPAddress) XXX_DiscardUnknown()

func (*ContainerIPAddress) XXX_Marshal added in v0.11.0

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

func (*ContainerIPAddress) XXX_Merge added in v0.11.0

func (m *ContainerIPAddress) XXX_Merge(src proto.Message)

func (*ContainerIPAddress) XXX_Size added in v0.11.0

func (m *ContainerIPAddress) XXX_Size() int

func (*ContainerIPAddress) XXX_Unmarshal added in v0.11.0

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

type ContainerNetworkInterface

type ContainerNetworkInterface struct {
	Name                 string                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MacAddress           string                `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`
	NetworkNamespaceID   string                `protobuf:"bytes,3,opt,name=network_namespace_id,json=networkNamespaceId,proto3" json:"network_namespace_id,omitempty"`
	Ipaddresses          []*ContainerIPAddress `protobuf:"bytes,4,rep,name=ipaddresses,proto3" json:"ipaddresses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ContainerNetworkInterface) Descriptor

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

func (*ContainerNetworkInterface) Marshal added in v0.11.0

func (m *ContainerNetworkInterface) Marshal() (dAtA []byte, err error)

func (*ContainerNetworkInterface) MarshalTo added in v0.11.0

func (m *ContainerNetworkInterface) MarshalTo(dAtA []byte) (int, error)

func (*ContainerNetworkInterface) MarshalToSizedBuffer added in v0.11.0

func (m *ContainerNetworkInterface) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContainerNetworkInterface) ProtoMessage

func (*ContainerNetworkInterface) ProtoMessage()

func (*ContainerNetworkInterface) Reset

func (m *ContainerNetworkInterface) Reset()

func (*ContainerNetworkInterface) Size added in v0.11.0

func (m *ContainerNetworkInterface) Size() (n int)

func (*ContainerNetworkInterface) String

func (this *ContainerNetworkInterface) String() string

func (*ContainerNetworkInterface) Unmarshal added in v0.11.0

func (m *ContainerNetworkInterface) Unmarshal(dAtA []byte) error

func (*ContainerNetworkInterface) XXX_DiscardUnknown added in v0.11.0

func (m *ContainerNetworkInterface) XXX_DiscardUnknown()

func (*ContainerNetworkInterface) XXX_Marshal added in v0.11.0

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

func (*ContainerNetworkInterface) XXX_Merge added in v0.11.0

func (m *ContainerNetworkInterface) XXX_Merge(src proto.Message)

func (*ContainerNetworkInterface) XXX_Size added in v0.11.0

func (m *ContainerNetworkInterface) XXX_Size() int

func (*ContainerNetworkInterface) XXX_Unmarshal added in v0.11.0

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

type GetHostLocalIpAddressRequest

type GetHostLocalIpAddressRequest struct {
	ContainerID          string   `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetHostLocalIpAddressRequest) Descriptor

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

func (*GetHostLocalIpAddressRequest) Marshal added in v0.11.0

func (m *GetHostLocalIpAddressRequest) Marshal() (dAtA []byte, err error)

func (*GetHostLocalIpAddressRequest) MarshalTo added in v0.11.0

func (m *GetHostLocalIpAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetHostLocalIpAddressRequest) MarshalToSizedBuffer added in v0.11.0

func (m *GetHostLocalIpAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetHostLocalIpAddressRequest) ProtoMessage

func (*GetHostLocalIpAddressRequest) ProtoMessage()

func (*GetHostLocalIpAddressRequest) Reset

func (m *GetHostLocalIpAddressRequest) Reset()

func (*GetHostLocalIpAddressRequest) Size added in v0.11.0

func (m *GetHostLocalIpAddressRequest) Size() (n int)

func (*GetHostLocalIpAddressRequest) String

func (this *GetHostLocalIpAddressRequest) String() string

func (*GetHostLocalIpAddressRequest) Unmarshal added in v0.11.0

func (m *GetHostLocalIpAddressRequest) Unmarshal(dAtA []byte) error

func (*GetHostLocalIpAddressRequest) XXX_DiscardUnknown added in v0.11.0

func (m *GetHostLocalIpAddressRequest) XXX_DiscardUnknown()

func (*GetHostLocalIpAddressRequest) XXX_Marshal added in v0.11.0

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

func (*GetHostLocalIpAddressRequest) XXX_Merge added in v0.11.0

func (m *GetHostLocalIpAddressRequest) XXX_Merge(src proto.Message)

func (*GetHostLocalIpAddressRequest) XXX_Size added in v0.11.0

func (m *GetHostLocalIpAddressRequest) XXX_Size() int

func (*GetHostLocalIpAddressRequest) XXX_Unmarshal added in v0.11.0

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

type GetHostLocalIpAddressResponse

type GetHostLocalIpAddressResponse struct {
	IpAddr               string   `protobuf:"bytes,1,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetHostLocalIpAddressResponse) Descriptor

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

func (*GetHostLocalIpAddressResponse) Marshal added in v0.11.0

func (m *GetHostLocalIpAddressResponse) Marshal() (dAtA []byte, err error)

func (*GetHostLocalIpAddressResponse) MarshalTo added in v0.11.0

func (m *GetHostLocalIpAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetHostLocalIpAddressResponse) MarshalToSizedBuffer added in v0.11.0

func (m *GetHostLocalIpAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetHostLocalIpAddressResponse) ProtoMessage

func (*GetHostLocalIpAddressResponse) ProtoMessage()

func (*GetHostLocalIpAddressResponse) Reset

func (m *GetHostLocalIpAddressResponse) Reset()

func (*GetHostLocalIpAddressResponse) Size added in v0.11.0

func (m *GetHostLocalIpAddressResponse) Size() (n int)

func (*GetHostLocalIpAddressResponse) String

func (this *GetHostLocalIpAddressResponse) String() string

func (*GetHostLocalIpAddressResponse) Unmarshal added in v0.11.0

func (m *GetHostLocalIpAddressResponse) Unmarshal(dAtA []byte) error

func (*GetHostLocalIpAddressResponse) XXX_DiscardUnknown added in v0.11.0

func (m *GetHostLocalIpAddressResponse) XXX_DiscardUnknown()

func (*GetHostLocalIpAddressResponse) XXX_Marshal added in v0.11.0

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

func (*GetHostLocalIpAddressResponse) XXX_Merge added in v0.11.0

func (m *GetHostLocalIpAddressResponse) XXX_Merge(src proto.Message)

func (*GetHostLocalIpAddressResponse) XXX_Size added in v0.11.0

func (m *GetHostLocalIpAddressResponse) XXX_Size() int

func (*GetHostLocalIpAddressResponse) XXX_Unmarshal added in v0.11.0

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

type NodeNetworkServiceClient

type NodeNetworkServiceClient interface {
	ConfigureNetworking(ctx context.Context, in *ConfigureNetworkingRequest, opts ...grpc.CallOption) (*ConfigureNetworkingResponse, error)
	ConfigureContainerNetworking(ctx context.Context, in *ConfigureContainerNetworkingRequest, opts ...grpc.CallOption) (*ConfigureContainerNetworkingResponse, error)
	PingNodeNetworkService(ctx context.Context, in *PingNodeNetworkServiceRequest, opts ...grpc.CallOption) (*PingNodeNetworkServiceResponse, error)
	GetHostLocalIpAddress(ctx context.Context, in *GetHostLocalIpAddressRequest, opts ...grpc.CallOption) (*GetHostLocalIpAddressResponse, error)
}

NodeNetworkServiceClient is the client API for NodeNetworkService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNodeNetworkServiceClient

func NewNodeNetworkServiceClient(cc *grpc.ClientConn) NodeNetworkServiceClient

type NodeNetworkServiceServer

NodeNetworkServiceServer is the server API for NodeNetworkService service.

type PingNodeNetworkServiceRequest

type PingNodeNetworkServiceRequest struct {
	PingRequestMessage   string   `protobuf:"bytes,1,opt,name=ping_request_message,json=pingRequestMessage,proto3" json:"ping_request_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingNodeNetworkServiceRequest) Descriptor

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

func (*PingNodeNetworkServiceRequest) Marshal added in v0.11.0

func (m *PingNodeNetworkServiceRequest) Marshal() (dAtA []byte, err error)

func (*PingNodeNetworkServiceRequest) MarshalTo added in v0.11.0

func (m *PingNodeNetworkServiceRequest) MarshalTo(dAtA []byte) (int, error)

func (*PingNodeNetworkServiceRequest) MarshalToSizedBuffer added in v0.11.0

func (m *PingNodeNetworkServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PingNodeNetworkServiceRequest) ProtoMessage

func (*PingNodeNetworkServiceRequest) ProtoMessage()

func (*PingNodeNetworkServiceRequest) Reset

func (m *PingNodeNetworkServiceRequest) Reset()

func (*PingNodeNetworkServiceRequest) Size added in v0.11.0

func (m *PingNodeNetworkServiceRequest) Size() (n int)

func (*PingNodeNetworkServiceRequest) String

func (this *PingNodeNetworkServiceRequest) String() string

func (*PingNodeNetworkServiceRequest) Unmarshal added in v0.11.0

func (m *PingNodeNetworkServiceRequest) Unmarshal(dAtA []byte) error

func (*PingNodeNetworkServiceRequest) XXX_DiscardUnknown added in v0.11.0

func (m *PingNodeNetworkServiceRequest) XXX_DiscardUnknown()

func (*PingNodeNetworkServiceRequest) XXX_Marshal added in v0.11.0

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

func (*PingNodeNetworkServiceRequest) XXX_Merge added in v0.11.0

func (m *PingNodeNetworkServiceRequest) XXX_Merge(src proto.Message)

func (*PingNodeNetworkServiceRequest) XXX_Size added in v0.11.0

func (m *PingNodeNetworkServiceRequest) XXX_Size() int

func (*PingNodeNetworkServiceRequest) XXX_Unmarshal added in v0.11.0

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

type PingNodeNetworkServiceResponse

type PingNodeNetworkServiceResponse struct {
	PingResponseMessage  string   `protobuf:"bytes,1,opt,name=ping_response_message,json=pingResponseMessage,proto3" json:"ping_response_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingNodeNetworkServiceResponse) Descriptor

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

func (*PingNodeNetworkServiceResponse) Marshal added in v0.11.0

func (m *PingNodeNetworkServiceResponse) Marshal() (dAtA []byte, err error)

func (*PingNodeNetworkServiceResponse) MarshalTo added in v0.11.0

func (m *PingNodeNetworkServiceResponse) MarshalTo(dAtA []byte) (int, error)

func (*PingNodeNetworkServiceResponse) MarshalToSizedBuffer added in v0.11.0

func (m *PingNodeNetworkServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PingNodeNetworkServiceResponse) ProtoMessage

func (*PingNodeNetworkServiceResponse) ProtoMessage()

func (*PingNodeNetworkServiceResponse) Reset

func (m *PingNodeNetworkServiceResponse) Reset()

func (*PingNodeNetworkServiceResponse) Size added in v0.11.0

func (m *PingNodeNetworkServiceResponse) Size() (n int)

func (*PingNodeNetworkServiceResponse) String

func (this *PingNodeNetworkServiceResponse) String() string

func (*PingNodeNetworkServiceResponse) Unmarshal added in v0.11.0

func (m *PingNodeNetworkServiceResponse) Unmarshal(dAtA []byte) error

func (*PingNodeNetworkServiceResponse) XXX_DiscardUnknown added in v0.11.0

func (m *PingNodeNetworkServiceResponse) XXX_DiscardUnknown()

func (*PingNodeNetworkServiceResponse) XXX_Marshal added in v0.11.0

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

func (*PingNodeNetworkServiceResponse) XXX_Merge added in v0.11.0

func (m *PingNodeNetworkServiceResponse) XXX_Merge(src proto.Message)

func (*PingNodeNetworkServiceResponse) XXX_Size added in v0.11.0

func (m *PingNodeNetworkServiceResponse) XXX_Size() int

func (*PingNodeNetworkServiceResponse) XXX_Unmarshal added in v0.11.0

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

type RequestType

type RequestType int32
const (
	RequestType_Setup    RequestType = 0
	RequestType_Teardown RequestType = 1
)

func (RequestType) EnumDescriptor

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

func (RequestType) String

func (x RequestType) String() string

type UnimplementedNodeNetworkServiceServer

type UnimplementedNodeNetworkServiceServer struct {
}

UnimplementedNodeNetworkServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNodeNetworkServiceServer) ConfigureContainerNetworking

func (*UnimplementedNodeNetworkServiceServer) ConfigureNetworking

func (*UnimplementedNodeNetworkServiceServer) GetHostLocalIpAddress

func (*UnimplementedNodeNetworkServiceServer) PingNodeNetworkService

Directories

Path Synopsis
Package nodenetsvc_v1_mock is a generated GoMock package.
Package nodenetsvc_v1_mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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