Versions in this module Expand all Collapse all v0 v0.1.0 Sep 15, 2018 Changes in this version + var Protocol_name = map[int32]string + var Protocol_value = map[string]int32 + func RegisterNodeServer(s *grpc.Server, srv NodeServer) + type Container struct + Extensions map[string]*types.Any + ID string + Image string + Labels map[string]string + Runtime string + Snapshotter string + Spec *types.Any + Task *Container_Task + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Container) Descriptor() ([]byte, []int) + func (*Container) ProtoMessage() + func (c *Container) Running() bool + func (dst *Container) XXX_Merge(src proto.Message) + func (m *Container) GetExtensions() map[string]*types.Any + func (m *Container) GetID() string + func (m *Container) GetImage() string + func (m *Container) GetLabels() map[string]string + func (m *Container) GetRuntime() string + func (m *Container) GetSnapshotter() string + func (m *Container) GetSpec() *types.Any + func (m *Container) GetTask() *Container_Task + func (m *Container) Reset() + func (m *Container) String() string + func (m *Container) XXX_DiscardUnknown() + func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Container) XXX_Size() int + func (m *Container) XXX_Unmarshal(b []byte) error + type ContainerNetworkRequest struct + Gateway string + ID string + IP string + Network string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ContainerNetworkRequest) Descriptor() ([]byte, []int) + func (*ContainerNetworkRequest) ProtoMessage() + func (dst *ContainerNetworkRequest) XXX_Merge(src proto.Message) + func (m *ContainerNetworkRequest) GetGateway() string + func (m *ContainerNetworkRequest) GetID() string + func (m *ContainerNetworkRequest) GetIP() string + func (m *ContainerNetworkRequest) GetNetwork() string + func (m *ContainerNetworkRequest) Reset() + func (m *ContainerNetworkRequest) String() string + func (m *ContainerNetworkRequest) XXX_DiscardUnknown() + func (m *ContainerNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContainerNetworkRequest) XXX_Size() int + func (m *ContainerNetworkRequest) XXX_Unmarshal(b []byte) error + type ContainerRequest struct + ID string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ContainerRequest) Descriptor() ([]byte, []int) + func (*ContainerRequest) ProtoMessage() + func (dst *ContainerRequest) XXX_Merge(src proto.Message) + func (m *ContainerRequest) GetID() string + func (m *ContainerRequest) Reset() + func (m *ContainerRequest) String() string + func (m *ContainerRequest) XXX_DiscardUnknown() + func (m *ContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContainerRequest) XXX_Size() int + func (m *ContainerRequest) XXX_Unmarshal(b []byte) error + type ContainerResponse struct + Container *Container + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ContainerResponse) Descriptor() ([]byte, []int) + func (*ContainerResponse) ProtoMessage() + func (dst *ContainerResponse) XXX_Merge(src proto.Message) + func (m *ContainerResponse) GetContainer() *Container + func (m *ContainerResponse) Reset() + func (m *ContainerResponse) String() string + func (m *ContainerResponse) XXX_DiscardUnknown() + func (m *ContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContainerResponse) XXX_Size() int + func (m *ContainerResponse) XXX_Unmarshal(b []byte) error + type Container_Task struct + Pid uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Container_Task) Descriptor() ([]byte, []int) + func (*Container_Task) ProtoMessage() + func (dst *Container_Task) XXX_Merge(src proto.Message) + func (m *Container_Task) GetPid() uint32 + func (m *Container_Task) Reset() + func (m *Container_Task) String() string + func (m *Container_Task) XXX_DiscardUnknown() + func (m *Container_Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Container_Task) XXX_Size() int + func (m *Container_Task) XXX_Unmarshal(b []byte) error + type ContainersRequest struct + Filters []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ContainersRequest) Descriptor() ([]byte, []int) + func (*ContainersRequest) ProtoMessage() + func (dst *ContainersRequest) XXX_Merge(src proto.Message) + func (m *ContainersRequest) GetFilters() []string + func (m *ContainersRequest) Reset() + func (m *ContainersRequest) String() string + func (m *ContainersRequest) XXX_DiscardUnknown() + func (m *ContainersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContainersRequest) XXX_Size() int + func (m *ContainersRequest) XXX_Unmarshal(b []byte) error + type ContainersResponse struct + Containers []*Container + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ContainersResponse) Descriptor() ([]byte, []int) + func (*ContainersResponse) ProtoMessage() + func (dst *ContainersResponse) XXX_Merge(src proto.Message) + func (m *ContainersResponse) GetContainers() []*Container + func (m *ContainersResponse) Reset() + func (m *ContainersResponse) String() string + func (m *ContainersResponse) XXX_DiscardUnknown() + func (m *ContainersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ContainersResponse) XXX_Size() int + func (m *ContainersResponse) XXX_Unmarshal(b []byte) error + type CreateContainerRequest struct + Application string + Service *Service + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreateContainerRequest) Descriptor() ([]byte, []int) + func (*CreateContainerRequest) ProtoMessage() + func (dst *CreateContainerRequest) XXX_Merge(src proto.Message) + func (m *CreateContainerRequest) GetApplication() string + func (m *CreateContainerRequest) GetService() *Service + func (m *CreateContainerRequest) Reset() + func (m *CreateContainerRequest) String() string + func (m *CreateContainerRequest) XXX_DiscardUnknown() + func (m *CreateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreateContainerRequest) XXX_Size() int + func (m *CreateContainerRequest) XXX_Unmarshal(b []byte) error + type DeleteContainerRequest struct + ID string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DeleteContainerRequest) Descriptor() ([]byte, []int) + func (*DeleteContainerRequest) ProtoMessage() + func (dst *DeleteContainerRequest) XXX_Merge(src proto.Message) + func (m *DeleteContainerRequest) GetID() string + func (m *DeleteContainerRequest) Reset() + func (m *DeleteContainerRequest) String() string + func (m *DeleteContainerRequest) XXX_DiscardUnknown() + func (m *DeleteContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DeleteContainerRequest) XXX_Size() int + func (m *DeleteContainerRequest) XXX_Unmarshal(b []byte) error + type Endpoint struct + Host string + Port uint32 + Protocol Protocol + Service string + TLS bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Endpoint) Descriptor() ([]byte, []int) + func (*Endpoint) ProtoMessage() + func (dst *Endpoint) XXX_Merge(src proto.Message) + func (m *Endpoint) GetHost() string + func (m *Endpoint) GetPort() uint32 + func (m *Endpoint) GetProtocol() Protocol + func (m *Endpoint) GetService() string + func (m *Endpoint) GetTLS() bool + func (m *Endpoint) Reset() + func (m *Endpoint) String() string + func (m *Endpoint) UnmarshalJSON(data []byte) error + func (m *Endpoint) XXX_DiscardUnknown() + func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Endpoint) XXX_Size() int + func (m *Endpoint) XXX_Unmarshal(b []byte) error + type Image struct + ID string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Image) Descriptor() ([]byte, []int) + func (*Image) ProtoMessage() + func (dst *Image) XXX_Merge(src proto.Message) + func (m *Image) GetID() string + func (m *Image) Reset() + func (m *Image) String() string + func (m *Image) XXX_DiscardUnknown() + func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Image) XXX_Size() int + func (m *Image) XXX_Unmarshal(b []byte) error + type ImagesRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ImagesRequest) Descriptor() ([]byte, []int) + func (*ImagesRequest) ProtoMessage() + func (dst *ImagesRequest) XXX_Merge(src proto.Message) + func (m *ImagesRequest) Reset() + func (m *ImagesRequest) String() string + func (m *ImagesRequest) XXX_DiscardUnknown() + func (m *ImagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ImagesRequest) XXX_Size() int + func (m *ImagesRequest) XXX_Unmarshal(b []byte) error + type ImagesResponse struct + Images []*Image + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ImagesResponse) Descriptor() ([]byte, []int) + func (*ImagesResponse) ProtoMessage() + func (dst *ImagesResponse) XXX_Merge(src proto.Message) + func (m *ImagesResponse) GetImages() []*Image + func (m *ImagesResponse) Reset() + func (m *ImagesResponse) String() string + func (m *ImagesResponse) XXX_DiscardUnknown() + func (m *ImagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ImagesResponse) XXX_Size() int + func (m *ImagesResponse) XXX_Unmarshal(b []byte) error + type Mount struct + Destination string + Options []string + Source string + Type string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Mount) Descriptor() ([]byte, []int) + func (*Mount) ProtoMessage() + func (dst *Mount) XXX_Merge(src proto.Message) + func (m *Mount) GetDestination() string + func (m *Mount) GetOptions() []string + func (m *Mount) GetSource() string + func (m *Mount) GetType() string + func (m *Mount) Reset() + func (m *Mount) String() string + func (m *Mount) XXX_DiscardUnknown() + func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Mount) XXX_Size() int + func (m *Mount) XXX_Unmarshal(b []byte) error + type NodeClient interface + Container func(ctx context.Context, in *ContainerRequest, opts ...grpc.CallOption) (*ContainerResponse, error) + Containers func(ctx context.Context, in *ContainersRequest, opts ...grpc.CallOption) (*ContainersResponse, error) + CreateContainer func(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*types.Empty, error) + DeleteContainer func(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*types.Empty, error) + Images func(ctx context.Context, in *ImagesRequest, opts ...grpc.CallOption) (*ImagesResponse, error) + RestartContainer func(ctx context.Context, in *RestartContainerRequest, opts ...grpc.CallOption) (*types.Empty, error) + SetupContainerNetwork func(ctx context.Context, in *ContainerNetworkRequest, opts ...grpc.CallOption) (*types.Empty, error) + func NewNodeClient(cc *grpc.ClientConn) NodeClient + type NodeServer interface + Container func(context.Context, *ContainerRequest) (*ContainerResponse, error) + Containers func(context.Context, *ContainersRequest) (*ContainersResponse, error) + CreateContainer func(context.Context, *CreateContainerRequest) (*types.Empty, error) + DeleteContainer func(context.Context, *DeleteContainerRequest) (*types.Empty, error) + Images func(context.Context, *ImagesRequest) (*ImagesResponse, error) + RestartContainer func(context.Context, *RestartContainerRequest) (*types.Empty, error) + SetupContainerNetwork func(context.Context, *ContainerNetworkRequest) (*types.Empty, error) + type Process struct + Args []string + Env []string + Gid uint32 + Uid uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Process) Descriptor() ([]byte, []int) + func (*Process) ProtoMessage() + func (dst *Process) XXX_Merge(src proto.Message) + func (m *Process) GetArgs() []string + func (m *Process) GetEnv() []string + func (m *Process) GetGid() uint32 + func (m *Process) GetUid() uint32 + func (m *Process) Reset() + func (m *Process) String() string + func (m *Process) XXX_DiscardUnknown() + func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Process) XXX_Size() int + func (m *Process) XXX_Unmarshal(b []byte) error + type Protocol int32 + const Protocol_HTTP + const Protocol_TCP + const Protocol_UDP + const Protocol_UNKNOWN + func (Protocol) EnumDescriptor() ([]byte, []int) + func (x Protocol) String() string + type RestartContainerRequest struct + ID string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RestartContainerRequest) Descriptor() ([]byte, []int) + func (*RestartContainerRequest) ProtoMessage() + func (dst *RestartContainerRequest) XXX_Merge(src proto.Message) + func (m *RestartContainerRequest) GetID() string + func (m *RestartContainerRequest) Reset() + func (m *RestartContainerRequest) String() string + func (m *RestartContainerRequest) XXX_DiscardUnknown() + func (m *RestartContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RestartContainerRequest) XXX_Size() int + func (m *RestartContainerRequest) XXX_Unmarshal(b []byte) error + type Service struct + Endpoints []*Endpoint + Image string + Labels []string + Mounts []*Mount + Name string + Network bool + Node string + Process *Process + Runtime string + Snapshotter string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Service) Descriptor() ([]byte, []int) + func (*Service) ProtoMessage() + func (dst *Service) XXX_Merge(src proto.Message) + func (m *Service) GetEndpoints() []*Endpoint + func (m *Service) GetImage() string + func (m *Service) GetLabels() []string + func (m *Service) GetMounts() []*Mount + func (m *Service) GetName() string + func (m *Service) GetNetwork() bool + func (m *Service) GetNode() string + func (m *Service) GetProcess() *Process + func (m *Service) GetRuntime() string + func (m *Service) GetSnapshotter() string + func (m *Service) Reset() + func (m *Service) String() string + func (m *Service) XXX_DiscardUnknown() + func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Service) XXX_Size() int + func (m *Service) XXX_Unmarshal(b []byte) error