v1

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCircuitServer

func RegisterCircuitServer(s *grpc.Server, srv CircuitServer)

func RegisterClusterServer added in v1.3.1

func RegisterClusterServer(s *grpc.Server, srv ClusterServer)

Types

type CircuitClient

type CircuitClient interface {
	CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*types.Empty, error)
	ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error)
	GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error)
	DeleteNetwork(ctx context.Context, in *DeleteNetworkRequest, opts ...grpc.CallOption) (*types.Empty, error)
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*ConnectResponse, error)
	Disconnect(ctx context.Context, in *DisconnectRequest, opts ...grpc.CallOption) (*types.Empty, error)
	GetContainerIPs(ctx context.Context, in *GetContainerIPsRequest, opts ...grpc.CallOption) (*GetContainerIPsResponse, error)
}

CircuitClient is the client API for Circuit service.

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

func NewCircuitClient

func NewCircuitClient(cc *grpc.ClientConn) CircuitClient

type CircuitServer

CircuitServer is the server API for Circuit service.

type ClusterClient added in v1.3.1

type ClusterClient interface {
	Nodes(ctx context.Context, in *NodesRequest, opts ...grpc.CallOption) (*NodesResponse, error)
}

ClusterClient is the client API for Cluster service.

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

func NewClusterClient added in v1.3.1

func NewClusterClient(cc *grpc.ClientConn) ClusterClient

type ClusterRequest added in v1.5.1

type ClusterRequest struct {
	Channel              string     `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Request              *types.Any `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

ClusterRequest is used to send requests through the cluster

func (*ClusterRequest) Descriptor added in v1.5.1

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

func (*ClusterRequest) GetChannel added in v1.5.1

func (m *ClusterRequest) GetChannel() string

func (*ClusterRequest) GetRequest added in v1.5.1

func (m *ClusterRequest) GetRequest() *types.Any

func (*ClusterRequest) ProtoMessage added in v1.5.1

func (*ClusterRequest) ProtoMessage()

func (*ClusterRequest) Reset added in v1.5.1

func (m *ClusterRequest) Reset()

func (*ClusterRequest) String added in v1.5.1

func (m *ClusterRequest) String() string

func (*ClusterRequest) XXX_DiscardUnknown added in v1.5.1

func (m *ClusterRequest) XXX_DiscardUnknown()

func (*ClusterRequest) XXX_Marshal added in v1.5.1

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

func (*ClusterRequest) XXX_Merge added in v1.5.1

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

func (*ClusterRequest) XXX_Size added in v1.5.1

func (m *ClusterRequest) XXX_Size() int

func (*ClusterRequest) XXX_Unmarshal added in v1.5.1

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

type ClusterServer added in v1.3.1

type ClusterServer interface {
	Nodes(context.Context, *NodesRequest) (*NodesResponse, error)
}

ClusterServer is the server API for Cluster service.

type ConnectRequest

type ConnectRequest struct {
	Container            string   `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	Network              string   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectRequest) Descriptor

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

func (*ConnectRequest) GetContainer

func (m *ConnectRequest) GetContainer() string

func (*ConnectRequest) GetNetwork

func (m *ConnectRequest) GetNetwork() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) Reset

func (m *ConnectRequest) Reset()

func (*ConnectRequest) String

func (m *ConnectRequest) String() string

func (*ConnectRequest) XXX_DiscardUnknown

func (m *ConnectRequest) XXX_DiscardUnknown()

func (*ConnectRequest) XXX_Marshal

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

func (*ConnectRequest) XXX_Merge

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

func (*ConnectRequest) XXX_Size

func (m *ConnectRequest) XXX_Size() int

func (*ConnectRequest) XXX_Unmarshal

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

type ConnectResponse

type ConnectResponse struct {
	IP                   string   `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ConnectResponse) Descriptor

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

func (*ConnectResponse) GetIP

func (m *ConnectResponse) GetIP() string

func (*ConnectResponse) ProtoMessage

func (*ConnectResponse) ProtoMessage()

func (*ConnectResponse) Reset

func (m *ConnectResponse) Reset()

func (*ConnectResponse) String

func (m *ConnectResponse) String() string

func (*ConnectResponse) XXX_DiscardUnknown

func (m *ConnectResponse) XXX_DiscardUnknown()

func (*ConnectResponse) XXX_Marshal

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

func (*ConnectResponse) XXX_Merge

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

func (*ConnectResponse) XXX_Size

func (m *ConnectResponse) XXX_Size() int

func (*ConnectResponse) XXX_Unmarshal

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

type ContainerIP

type ContainerIP struct {
	Network              string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	IP                   string   `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Interface            string   `protobuf:"bytes,3,opt,name=interface,proto3" json:"interface,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerIP) Descriptor

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

func (*ContainerIP) GetIP

func (m *ContainerIP) GetIP() string

func (*ContainerIP) GetInterface

func (m *ContainerIP) GetInterface() string

func (*ContainerIP) GetNetwork

func (m *ContainerIP) GetNetwork() string

func (*ContainerIP) ProtoMessage

func (*ContainerIP) ProtoMessage()

func (*ContainerIP) Reset

func (m *ContainerIP) Reset()

func (*ContainerIP) String

func (m *ContainerIP) String() string

func (*ContainerIP) XXX_DiscardUnknown

func (m *ContainerIP) XXX_DiscardUnknown()

func (*ContainerIP) XXX_Marshal

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

func (*ContainerIP) XXX_Merge

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

func (*ContainerIP) XXX_Size

func (m *ContainerIP) XXX_Size() int

func (*ContainerIP) XXX_Unmarshal

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

type ContainerIPQuery added in v1.3.1

type ContainerIPQuery struct {
	Channel              string   `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	Container            string   `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerIPQuery) Descriptor added in v1.3.1

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

func (*ContainerIPQuery) GetChannel added in v1.5.1

func (m *ContainerIPQuery) GetChannel() string

func (*ContainerIPQuery) GetContainer added in v1.3.1

func (m *ContainerIPQuery) GetContainer() string

func (*ContainerIPQuery) ProtoMessage added in v1.3.1

func (*ContainerIPQuery) ProtoMessage()

func (*ContainerIPQuery) Reset added in v1.3.1

func (m *ContainerIPQuery) Reset()

func (*ContainerIPQuery) String added in v1.3.1

func (m *ContainerIPQuery) String() string

func (*ContainerIPQuery) XXX_DiscardUnknown added in v1.3.1

func (m *ContainerIPQuery) XXX_DiscardUnknown()

func (*ContainerIPQuery) XXX_Marshal added in v1.3.1

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

func (*ContainerIPQuery) XXX_Merge added in v1.3.1

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

func (*ContainerIPQuery) XXX_Size added in v1.3.1

func (m *ContainerIPQuery) XXX_Size() int

func (*ContainerIPQuery) XXX_Unmarshal added in v1.3.1

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

type ContainerNetworkConfig

type ContainerNetworkConfig struct {
	Interface            string   `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"`
	IP                   string   `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerNetworkConfig) Descriptor

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

func (*ContainerNetworkConfig) GetIP

func (m *ContainerNetworkConfig) GetIP() string

func (*ContainerNetworkConfig) GetInterface

func (m *ContainerNetworkConfig) GetInterface() string

func (*ContainerNetworkConfig) ProtoMessage

func (*ContainerNetworkConfig) ProtoMessage()

func (*ContainerNetworkConfig) Reset

func (m *ContainerNetworkConfig) Reset()

func (*ContainerNetworkConfig) String

func (m *ContainerNetworkConfig) String() string

func (*ContainerNetworkConfig) XXX_DiscardUnknown

func (m *ContainerNetworkConfig) XXX_DiscardUnknown()

func (*ContainerNetworkConfig) XXX_Marshal

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

func (*ContainerNetworkConfig) XXX_Merge

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

func (*ContainerNetworkConfig) XXX_Size

func (m *ContainerNetworkConfig) XXX_Size() int

func (*ContainerNetworkConfig) XXX_Unmarshal

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

type CreateNetworkRequest

type CreateNetworkRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateNetworkRequest) Descriptor

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

func (*CreateNetworkRequest) GetData

func (m *CreateNetworkRequest) GetData() []byte

func (*CreateNetworkRequest) GetName

func (m *CreateNetworkRequest) GetName() string

func (*CreateNetworkRequest) ProtoMessage

func (*CreateNetworkRequest) ProtoMessage()

func (*CreateNetworkRequest) Reset

func (m *CreateNetworkRequest) Reset()

func (*CreateNetworkRequest) String

func (m *CreateNetworkRequest) String() string

func (*CreateNetworkRequest) XXX_DiscardUnknown

func (m *CreateNetworkRequest) XXX_DiscardUnknown()

func (*CreateNetworkRequest) XXX_Marshal

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

func (*CreateNetworkRequest) XXX_Merge

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

func (*CreateNetworkRequest) XXX_Size

func (m *CreateNetworkRequest) XXX_Size() int

func (*CreateNetworkRequest) XXX_Unmarshal

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

type DeleteNetworkRequest

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

func (*DeleteNetworkRequest) Descriptor

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

func (*DeleteNetworkRequest) GetName

func (m *DeleteNetworkRequest) GetName() string

func (*DeleteNetworkRequest) ProtoMessage

func (*DeleteNetworkRequest) ProtoMessage()

func (*DeleteNetworkRequest) Reset

func (m *DeleteNetworkRequest) Reset()

func (*DeleteNetworkRequest) String

func (m *DeleteNetworkRequest) String() string

func (*DeleteNetworkRequest) XXX_DiscardUnknown

func (m *DeleteNetworkRequest) XXX_DiscardUnknown()

func (*DeleteNetworkRequest) XXX_Marshal

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

func (*DeleteNetworkRequest) XXX_Merge

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

func (*DeleteNetworkRequest) XXX_Size

func (m *DeleteNetworkRequest) XXX_Size() int

func (*DeleteNetworkRequest) XXX_Unmarshal

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

type DisconnectRequest

type DisconnectRequest struct {
	Network              string   `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Container            string   `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DisconnectRequest) Descriptor

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

func (*DisconnectRequest) GetContainer

func (m *DisconnectRequest) GetContainer() string

func (*DisconnectRequest) GetNetwork

func (m *DisconnectRequest) GetNetwork() string

func (*DisconnectRequest) ProtoMessage

func (*DisconnectRequest) ProtoMessage()

func (*DisconnectRequest) Reset

func (m *DisconnectRequest) Reset()

func (*DisconnectRequest) String

func (m *DisconnectRequest) String() string

func (*DisconnectRequest) XXX_DiscardUnknown

func (m *DisconnectRequest) XXX_DiscardUnknown()

func (*DisconnectRequest) XXX_Marshal

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

func (*DisconnectRequest) XXX_Merge

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

func (*DisconnectRequest) XXX_Size

func (m *DisconnectRequest) XXX_Size() int

func (*DisconnectRequest) XXX_Unmarshal

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

type GetContainerIPsRequest

type GetContainerIPsRequest struct {
	Container            string   `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"`
	Network              string   `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetContainerIPsRequest) Descriptor

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

func (*GetContainerIPsRequest) GetContainer

func (m *GetContainerIPsRequest) GetContainer() string

func (*GetContainerIPsRequest) GetNetwork

func (m *GetContainerIPsRequest) GetNetwork() string

func (*GetContainerIPsRequest) ProtoMessage

func (*GetContainerIPsRequest) ProtoMessage()

func (*GetContainerIPsRequest) Reset

func (m *GetContainerIPsRequest) Reset()

func (*GetContainerIPsRequest) String

func (m *GetContainerIPsRequest) String() string

func (*GetContainerIPsRequest) XXX_DiscardUnknown

func (m *GetContainerIPsRequest) XXX_DiscardUnknown()

func (*GetContainerIPsRequest) XXX_Marshal

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

func (*GetContainerIPsRequest) XXX_Merge

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

func (*GetContainerIPsRequest) XXX_Size

func (m *GetContainerIPsRequest) XXX_Size() int

func (*GetContainerIPsRequest) XXX_Unmarshal

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

type GetContainerIPsResponse

type GetContainerIPsResponse struct {
	IPs                  []*ContainerIP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*GetContainerIPsResponse) Descriptor

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

func (*GetContainerIPsResponse) GetIPs

func (m *GetContainerIPsResponse) GetIPs() []*ContainerIP

func (*GetContainerIPsResponse) ProtoMessage

func (*GetContainerIPsResponse) ProtoMessage()

func (*GetContainerIPsResponse) Reset

func (m *GetContainerIPsResponse) Reset()

func (*GetContainerIPsResponse) String

func (m *GetContainerIPsResponse) String() string

func (*GetContainerIPsResponse) XXX_DiscardUnknown

func (m *GetContainerIPsResponse) XXX_DiscardUnknown()

func (*GetContainerIPsResponse) XXX_Marshal

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

func (*GetContainerIPsResponse) XXX_Merge

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

func (*GetContainerIPsResponse) XXX_Size

func (m *GetContainerIPsResponse) XXX_Size() int

func (*GetContainerIPsResponse) XXX_Unmarshal

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

type GetNetworkRequest

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

func (*GetNetworkRequest) Descriptor

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

func (*GetNetworkRequest) GetName

func (m *GetNetworkRequest) GetName() string

func (*GetNetworkRequest) ProtoMessage

func (*GetNetworkRequest) ProtoMessage()

func (*GetNetworkRequest) Reset

func (m *GetNetworkRequest) Reset()

func (*GetNetworkRequest) String

func (m *GetNetworkRequest) String() string

func (*GetNetworkRequest) XXX_DiscardUnknown

func (m *GetNetworkRequest) XXX_DiscardUnknown()

func (*GetNetworkRequest) XXX_Marshal

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

func (*GetNetworkRequest) XXX_Merge

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

func (*GetNetworkRequest) XXX_Size

func (m *GetNetworkRequest) XXX_Size() int

func (*GetNetworkRequest) XXX_Unmarshal

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

type GetNetworkResponse

type GetNetworkResponse struct {
	Network              *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetNetworkResponse) Descriptor

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

func (*GetNetworkResponse) GetNetwork

func (m *GetNetworkResponse) GetNetwork() *Network

func (*GetNetworkResponse) ProtoMessage

func (*GetNetworkResponse) ProtoMessage()

func (*GetNetworkResponse) Reset

func (m *GetNetworkResponse) Reset()

func (*GetNetworkResponse) String

func (m *GetNetworkResponse) String() string

func (*GetNetworkResponse) XXX_DiscardUnknown

func (m *GetNetworkResponse) XXX_DiscardUnknown()

func (*GetNetworkResponse) XXX_Marshal

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

func (*GetNetworkResponse) XXX_Merge

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

func (*GetNetworkResponse) XXX_Size

func (m *GetNetworkResponse) XXX_Size() int

func (*GetNetworkResponse) XXX_Unmarshal

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

type ListNetworksRequest

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

func (*ListNetworksRequest) Descriptor

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

func (*ListNetworksRequest) ProtoMessage

func (*ListNetworksRequest) ProtoMessage()

func (*ListNetworksRequest) Reset

func (m *ListNetworksRequest) Reset()

func (*ListNetworksRequest) String

func (m *ListNetworksRequest) String() string

func (*ListNetworksRequest) XXX_DiscardUnknown

func (m *ListNetworksRequest) XXX_DiscardUnknown()

func (*ListNetworksRequest) XXX_Marshal

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

func (*ListNetworksRequest) XXX_Merge

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

func (*ListNetworksRequest) XXX_Size

func (m *ListNetworksRequest) XXX_Size() int

func (*ListNetworksRequest) XXX_Unmarshal

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

type ListNetworksResponse

type ListNetworksResponse struct {
	Networks             []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListNetworksResponse) Descriptor

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

func (*ListNetworksResponse) GetNetworks

func (m *ListNetworksResponse) GetNetworks() []*Network

func (*ListNetworksResponse) ProtoMessage

func (*ListNetworksResponse) ProtoMessage()

func (*ListNetworksResponse) Reset

func (m *ListNetworksResponse) Reset()

func (*ListNetworksResponse) String

func (m *ListNetworksResponse) String() string

func (*ListNetworksResponse) XXX_DiscardUnknown

func (m *ListNetworksResponse) XXX_DiscardUnknown()

func (*ListNetworksResponse) XXX_Marshal

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

func (*ListNetworksResponse) XXX_Merge

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

func (*ListNetworksResponse) XXX_Size

func (m *ListNetworksResponse) XXX_Size() int

func (*ListNetworksResponse) XXX_Unmarshal

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

type Network

type Network struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Network) Descriptor

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

func (*Network) GetData

func (m *Network) GetData() []byte

func (*Network) GetName

func (m *Network) GetName() string

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) Reset

func (m *Network) Reset()

func (*Network) String

func (m *Network) String() string

func (*Network) XXX_DiscardUnknown

func (m *Network) XXX_DiscardUnknown()

func (*Network) XXX_Marshal

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

func (*Network) XXX_Merge

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

func (*Network) XXX_Size

func (m *Network) XXX_Size() int

func (*Network) XXX_Unmarshal

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

type NetworkConfig

type NetworkConfig struct {
	Networks             map[string]*ContainerNetworkConfig `` /* 157-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

func (*NetworkConfig) Descriptor

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

func (*NetworkConfig) GetNetworks

func (m *NetworkConfig) GetNetworks() map[string]*ContainerNetworkConfig

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) Reset

func (m *NetworkConfig) Reset()

func (*NetworkConfig) String

func (m *NetworkConfig) String() string

func (*NetworkConfig) XXX_DiscardUnknown

func (m *NetworkConfig) XXX_DiscardUnknown()

func (*NetworkConfig) XXX_Marshal

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

func (*NetworkConfig) XXX_Merge

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

func (*NetworkConfig) XXX_Size

func (m *NetworkConfig) XXX_Size() int

func (*NetworkConfig) XXX_Unmarshal

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

type NodeInfo added in v1.3.1

type NodeInfo struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version              string   `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	CPUs                 int64    `protobuf:"varint,3,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Memory               uint64   `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Uptime               uint64   `protobuf:"varint,5,opt,name=uptime,proto3" json:"uptime,omitempty"`
	KernelVersion        string   `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeInfo) Descriptor added in v1.3.1

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

func (*NodeInfo) GetCPUs added in v1.5.1

func (m *NodeInfo) GetCPUs() int64

func (*NodeInfo) GetKernelVersion added in v1.5.1

func (m *NodeInfo) GetKernelVersion() string

func (*NodeInfo) GetMemory added in v1.5.1

func (m *NodeInfo) GetMemory() uint64

func (*NodeInfo) GetName added in v1.3.1

func (m *NodeInfo) GetName() string

func (*NodeInfo) GetUptime added in v1.5.1

func (m *NodeInfo) GetUptime() uint64

func (*NodeInfo) GetVersion added in v1.3.3

func (m *NodeInfo) GetVersion() string

func (*NodeInfo) ProtoMessage added in v1.3.1

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) Reset added in v1.3.1

func (m *NodeInfo) Reset()

func (*NodeInfo) String added in v1.3.1

func (m *NodeInfo) String() string

func (*NodeInfo) XXX_DiscardUnknown added in v1.3.1

func (m *NodeInfo) XXX_DiscardUnknown()

func (*NodeInfo) XXX_Marshal added in v1.3.1

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

func (*NodeInfo) XXX_Merge added in v1.3.1

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

func (*NodeInfo) XXX_Size added in v1.3.1

func (m *NodeInfo) XXX_Size() int

func (*NodeInfo) XXX_Unmarshal added in v1.3.1

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

type NodesRequest added in v1.3.1

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

func (*NodesRequest) Descriptor added in v1.3.1

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

func (*NodesRequest) ProtoMessage added in v1.3.1

func (*NodesRequest) ProtoMessage()

func (*NodesRequest) Reset added in v1.3.1

func (m *NodesRequest) Reset()

func (*NodesRequest) String added in v1.3.1

func (m *NodesRequest) String() string

func (*NodesRequest) XXX_DiscardUnknown added in v1.3.1

func (m *NodesRequest) XXX_DiscardUnknown()

func (*NodesRequest) XXX_Marshal added in v1.3.1

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

func (*NodesRequest) XXX_Merge added in v1.3.1

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

func (*NodesRequest) XXX_Size added in v1.3.1

func (m *NodesRequest) XXX_Size() int

func (*NodesRequest) XXX_Unmarshal added in v1.3.1

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

type NodesResponse added in v1.3.1

type NodesResponse struct {
	Nodes                []*NodeInfo `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*NodesResponse) Descriptor added in v1.3.1

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

func (*NodesResponse) GetNodes added in v1.3.1

func (m *NodesResponse) GetNodes() []*NodeInfo

func (*NodesResponse) ProtoMessage added in v1.3.1

func (*NodesResponse) ProtoMessage()

func (*NodesResponse) Reset added in v1.3.1

func (m *NodesResponse) Reset()

func (*NodesResponse) String added in v1.3.1

func (m *NodesResponse) String() string

func (*NodesResponse) XXX_DiscardUnknown added in v1.3.1

func (m *NodesResponse) XXX_DiscardUnknown()

func (*NodesResponse) XXX_Marshal added in v1.3.1

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

func (*NodesResponse) XXX_Merge added in v1.3.1

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

func (*NodesResponse) XXX_Size added in v1.3.1

func (m *NodesResponse) XXX_Size() int

func (*NodesResponse) XXX_Unmarshal added in v1.3.1

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

type OpComplete added in v1.3.2

type OpComplete struct {
	Node                 string   `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OpComplete is used to signal completed response

func (*OpComplete) Descriptor added in v1.3.2

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

func (*OpComplete) GetNode added in v1.3.2

func (m *OpComplete) GetNode() string

func (*OpComplete) ProtoMessage added in v1.3.2

func (*OpComplete) ProtoMessage()

func (*OpComplete) Reset added in v1.3.2

func (m *OpComplete) Reset()

func (*OpComplete) String added in v1.3.2

func (m *OpComplete) String() string

func (*OpComplete) XXX_DiscardUnknown added in v1.3.2

func (m *OpComplete) XXX_DiscardUnknown()

func (*OpComplete) XXX_Marshal added in v1.3.2

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

func (*OpComplete) XXX_Merge added in v1.3.2

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

func (*OpComplete) XXX_Size added in v1.3.2

func (m *OpComplete) XXX_Size() int

func (*OpComplete) XXX_Unmarshal added in v1.3.2

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

type UnimplementedCircuitServer

type UnimplementedCircuitServer struct {
}

UnimplementedCircuitServer can be embedded to have forward compatible implementations.

func (*UnimplementedCircuitServer) Connect

func (*UnimplementedCircuitServer) CreateNetwork

func (*UnimplementedCircuitServer) DeleteNetwork

func (*UnimplementedCircuitServer) Disconnect

func (*UnimplementedCircuitServer) GetContainerIPs

func (*UnimplementedCircuitServer) GetNetwork

func (*UnimplementedCircuitServer) ListNetworks

type UnimplementedClusterServer added in v1.3.1

type UnimplementedClusterServer struct {
}

UnimplementedClusterServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterServer) Nodes added in v1.3.1

Jump to

Keyboard shortcuts

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