ncproxyttrpc

package
v0.9.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthNetworkconfigproxy = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowNetworkconfigproxy   = fmt.Errorf("proto: integer overflow")
)
View Source
var RequestTypeInternal_name = map[int32]string{
	0: "Setup",
	1: "Teardown",
}
View Source
var RequestTypeInternal_value = map[string]int32{
	"Setup":    0,
	"Teardown": 1,
}

Functions

Types

type ConfigureNetworkingInternalRequest

type ConfigureNetworkingInternalRequest struct {
	ContainerID          string              `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	RequestType          RequestTypeInternal `protobuf:"varint,2,opt,name=request_type,json=requestType,proto3,enum=RequestTypeInternal" json:"request_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ConfigureNetworkingInternalRequest) Descriptor

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

func (*ConfigureNetworkingInternalRequest) Marshal

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

func (*ConfigureNetworkingInternalRequest) MarshalTo

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

func (*ConfigureNetworkingInternalRequest) ProtoMessage

func (*ConfigureNetworkingInternalRequest) ProtoMessage()

func (*ConfigureNetworkingInternalRequest) Reset

func (*ConfigureNetworkingInternalRequest) Size

func (*ConfigureNetworkingInternalRequest) String

func (*ConfigureNetworkingInternalRequest) Unmarshal

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

func (*ConfigureNetworkingInternalRequest) XXX_DiscardUnknown

func (m *ConfigureNetworkingInternalRequest) XXX_DiscardUnknown()

func (*ConfigureNetworkingInternalRequest) XXX_Marshal

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

func (*ConfigureNetworkingInternalRequest) XXX_Merge

func (*ConfigureNetworkingInternalRequest) XXX_Size

func (*ConfigureNetworkingInternalRequest) XXX_Unmarshal

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

type ConfigureNetworkingInternalResponse

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

func (*ConfigureNetworkingInternalResponse) Descriptor

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

func (*ConfigureNetworkingInternalResponse) Marshal

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

func (*ConfigureNetworkingInternalResponse) MarshalTo

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

func (*ConfigureNetworkingInternalResponse) ProtoMessage

func (*ConfigureNetworkingInternalResponse) ProtoMessage()

func (*ConfigureNetworkingInternalResponse) Reset

func (*ConfigureNetworkingInternalResponse) Size

func (*ConfigureNetworkingInternalResponse) String

func (*ConfigureNetworkingInternalResponse) Unmarshal

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

func (*ConfigureNetworkingInternalResponse) XXX_DiscardUnknown

func (m *ConfigureNetworkingInternalResponse) XXX_DiscardUnknown()

func (*ConfigureNetworkingInternalResponse) XXX_Marshal

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

func (*ConfigureNetworkingInternalResponse) XXX_Merge

func (*ConfigureNetworkingInternalResponse) XXX_Size

func (*ConfigureNetworkingInternalResponse) XXX_Unmarshal

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

type NetworkConfigProxyService

type NetworkConfigProxyService interface {
	RegisterComputeAgent(ctx context.Context, req *RegisterComputeAgentRequest) (*RegisterComputeAgentResponse, error)
	ConfigureNetworking(ctx context.Context, req *ConfigureNetworkingInternalRequest) (*ConfigureNetworkingInternalResponse, error)
}

type RegisterComputeAgentRequest

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

func (*RegisterComputeAgentRequest) Descriptor

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

func (*RegisterComputeAgentRequest) Marshal

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

func (*RegisterComputeAgentRequest) MarshalTo

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

func (*RegisterComputeAgentRequest) ProtoMessage

func (*RegisterComputeAgentRequest) ProtoMessage()

func (*RegisterComputeAgentRequest) Reset

func (m *RegisterComputeAgentRequest) Reset()

func (*RegisterComputeAgentRequest) Size

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

func (*RegisterComputeAgentRequest) String

func (this *RegisterComputeAgentRequest) String() string

func (*RegisterComputeAgentRequest) Unmarshal

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

func (*RegisterComputeAgentRequest) XXX_DiscardUnknown

func (m *RegisterComputeAgentRequest) XXX_DiscardUnknown()

func (*RegisterComputeAgentRequest) XXX_Marshal

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

func (*RegisterComputeAgentRequest) XXX_Merge

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

func (*RegisterComputeAgentRequest) XXX_Size

func (m *RegisterComputeAgentRequest) XXX_Size() int

func (*RegisterComputeAgentRequest) XXX_Unmarshal

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

type RegisterComputeAgentResponse

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

func (*RegisterComputeAgentResponse) Descriptor

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

func (*RegisterComputeAgentResponse) Marshal

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

func (*RegisterComputeAgentResponse) MarshalTo

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

func (*RegisterComputeAgentResponse) ProtoMessage

func (*RegisterComputeAgentResponse) ProtoMessage()

func (*RegisterComputeAgentResponse) Reset

func (m *RegisterComputeAgentResponse) Reset()

func (*RegisterComputeAgentResponse) Size

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

func (*RegisterComputeAgentResponse) String

func (this *RegisterComputeAgentResponse) String() string

func (*RegisterComputeAgentResponse) Unmarshal

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

func (*RegisterComputeAgentResponse) XXX_DiscardUnknown

func (m *RegisterComputeAgentResponse) XXX_DiscardUnknown()

func (*RegisterComputeAgentResponse) XXX_Marshal

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

func (*RegisterComputeAgentResponse) XXX_Merge

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

func (*RegisterComputeAgentResponse) XXX_Size

func (m *RegisterComputeAgentResponse) XXX_Size() int

func (*RegisterComputeAgentResponse) XXX_Unmarshal

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

type RequestTypeInternal

type RequestTypeInternal int32
const (
	RequestTypeInternal_Setup    RequestTypeInternal = 0
	RequestTypeInternal_Teardown RequestTypeInternal = 1
)

func (RequestTypeInternal) EnumDescriptor

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

func (RequestTypeInternal) String

func (x RequestTypeInternal) String() string

Jump to

Keyboard shortcuts

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