dockerService

package
v0.0.0-...-9440fe0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_docker_service_proto protoreflect.FileDescriptor

Functions

func RegisterDockerAgentServer

func RegisterDockerAgentServer(s *grpc.Server, srv DockerAgentServer)

Types

type ContainersRequest

type ContainersRequest struct {
	// contains filtered or unexported fields
}

func (*ContainersRequest) Descriptor deprecated

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

Deprecated: Use ContainersRequest.ProtoReflect.Descriptor instead.

func (*ContainersRequest) ProtoMessage

func (*ContainersRequest) ProtoMessage()

func (*ContainersRequest) ProtoReflect

func (x *ContainersRequest) ProtoReflect() protoreflect.Message

func (*ContainersRequest) Reset

func (x *ContainersRequest) Reset()

func (*ContainersRequest) String

func (x *ContainersRequest) String() string

type ContainersResponse

type ContainersResponse struct {
	ID          string            `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Names       []string          `protobuf:"bytes,2,rep,name=Names,proto3" json:"Names,omitempty"`
	Image       string            `protobuf:"bytes,3,opt,name=Image,proto3" json:"Image,omitempty"`
	ImageID     string            `protobuf:"bytes,4,opt,name=ImageID,proto3" json:"ImageID,omitempty"`
	Command     string            `protobuf:"bytes,5,opt,name=Command,proto3" json:"Command,omitempty"`
	Created     int64             `protobuf:"varint,6,opt,name=Created,proto3" json:"Created,omitempty"`
	Ports       []*Port           `protobuf:"bytes,7,rep,name=Ports,proto3" json:"Ports,omitempty"`
	SizeRw      int64             `protobuf:"varint,8,opt,name=SizeRw,proto3" json:"SizeRw,omitempty"`
	SizeRootFs  int64             `protobuf:"varint,9,opt,name=SizeRootFs,proto3" json:"SizeRootFs,omitempty"`
	Labels      map[string]string `` /* 154-byte string literal not displayed */
	State       string            `protobuf:"bytes,11,opt,name=State,proto3" json:"State,omitempty"`
	Status      string            `protobuf:"bytes,12,opt,name=Status,proto3" json:"Status,omitempty"`
	NetworkMode string            `protobuf:"bytes,13,opt,name=NetworkMode,proto3" json:"NetworkMode,omitempty"`
	//     HostConfig    struct {
	//         NetworkMode string `json:",omitempty"`
	//     }
	NetworkSettings *SummaryNetworkSettings `protobuf:"bytes,14,opt,name=NetworkSettings,proto3" json:"NetworkSettings,omitempty"`
	Mounts          []*MountPoint           `protobuf:"bytes,15,rep,name=Mounts,proto3" json:"Mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainersResponse) Descriptor deprecated

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

Deprecated: Use ContainersResponse.ProtoReflect.Descriptor instead.

func (*ContainersResponse) GetCommand

func (x *ContainersResponse) GetCommand() string

func (*ContainersResponse) GetCreated

func (x *ContainersResponse) GetCreated() int64

func (*ContainersResponse) GetID

func (x *ContainersResponse) GetID() string

func (*ContainersResponse) GetImage

func (x *ContainersResponse) GetImage() string

func (*ContainersResponse) GetImageID

func (x *ContainersResponse) GetImageID() string

func (*ContainersResponse) GetLabels

func (x *ContainersResponse) GetLabels() map[string]string

func (*ContainersResponse) GetMounts

func (x *ContainersResponse) GetMounts() []*MountPoint

func (*ContainersResponse) GetNames

func (x *ContainersResponse) GetNames() []string

func (*ContainersResponse) GetNetworkMode

func (x *ContainersResponse) GetNetworkMode() string

func (*ContainersResponse) GetNetworkSettings

func (x *ContainersResponse) GetNetworkSettings() *SummaryNetworkSettings

func (*ContainersResponse) GetPorts

func (x *ContainersResponse) GetPorts() []*Port

func (*ContainersResponse) GetSizeRootFs

func (x *ContainersResponse) GetSizeRootFs() int64

func (*ContainersResponse) GetSizeRw

func (x *ContainersResponse) GetSizeRw() int64

func (*ContainersResponse) GetState

func (x *ContainersResponse) GetState() string

func (*ContainersResponse) GetStatus

func (x *ContainersResponse) GetStatus() string

func (*ContainersResponse) ProtoMessage

func (*ContainersResponse) ProtoMessage()

func (*ContainersResponse) ProtoReflect

func (x *ContainersResponse) ProtoReflect() protoreflect.Message

func (*ContainersResponse) Reset

func (x *ContainersResponse) Reset()

func (*ContainersResponse) String

func (x *ContainersResponse) String() string

type DockerAgentClient

type DockerAgentClient interface {
	Containers(ctx context.Context, in *ContainersRequest, opts ...grpc.CallOption) (DockerAgent_ContainersClient, error)
	Images(ctx context.Context, in *ImagesRequest, opts ...grpc.CallOption) (DockerAgent_ImagesClient, error)
	Host(ctx context.Context, in *HostRequest, opts ...grpc.CallOption) (*HostResponse, error)
}

DockerAgentClient is the client API for DockerAgent service.

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

type DockerAgentServer

DockerAgentServer is the server API for DockerAgent service.

type DockerAgent_ContainersClient

type DockerAgent_ContainersClient interface {
	Recv() (*ContainersResponse, error)
	grpc.ClientStream
}

type DockerAgent_ContainersServer

type DockerAgent_ContainersServer interface {
	Send(*ContainersResponse) error
	grpc.ServerStream
}

type DockerAgent_ImagesClient

type DockerAgent_ImagesClient interface {
	Recv() (*ImagesResponse, error)
	grpc.ClientStream
}

type DockerAgent_ImagesServer

type DockerAgent_ImagesServer interface {
	Send(*ImagesResponse) error
	grpc.ServerStream
}

type EndpointIPAMConfig

type EndpointIPAMConfig struct {
	IPv4Address  string   `protobuf:"bytes,1,opt,name=IPv4Address,proto3" json:"IPv4Address,omitempty"`
	IPv6Address  string   `protobuf:"bytes,2,opt,name=IPv6Address,proto3" json:"IPv6Address,omitempty"`
	LinkLocalIPs []string `protobuf:"bytes,3,rep,name=LinkLocalIPs,proto3" json:"LinkLocalIPs,omitempty"`
	// contains filtered or unexported fields
}

func (*EndpointIPAMConfig) Descriptor deprecated

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

Deprecated: Use EndpointIPAMConfig.ProtoReflect.Descriptor instead.

func (*EndpointIPAMConfig) GetIPv4Address

func (x *EndpointIPAMConfig) GetIPv4Address() string

func (*EndpointIPAMConfig) GetIPv6Address

func (x *EndpointIPAMConfig) GetIPv6Address() string

func (*EndpointIPAMConfig) GetLinkLocalIPs

func (x *EndpointIPAMConfig) GetLinkLocalIPs() []string

func (*EndpointIPAMConfig) ProtoMessage

func (*EndpointIPAMConfig) ProtoMessage()

func (*EndpointIPAMConfig) ProtoReflect

func (x *EndpointIPAMConfig) ProtoReflect() protoreflect.Message

func (*EndpointIPAMConfig) Reset

func (x *EndpointIPAMConfig) Reset()

func (*EndpointIPAMConfig) String

func (x *EndpointIPAMConfig) String() string

type EndpointSettings

type EndpointSettings struct {
	IPAMConfig *EndpointIPAMConfig `protobuf:"bytes,1,opt,name=IPAMConfig,proto3" json:"IPAMConfig,omitempty"`
	Links      []string            `protobuf:"bytes,2,rep,name=Links,proto3" json:"Links,omitempty"`
	Aliases    []string            `protobuf:"bytes,3,rep,name=Aliases,proto3" json:"Aliases,omitempty"`
	// Operational data
	NetworkID           string `protobuf:"bytes,4,opt,name=NetworkID,proto3" json:"NetworkID,omitempty"`
	EndpointID          string `protobuf:"bytes,5,opt,name=EndpointID,proto3" json:"EndpointID,omitempty"`
	Gateway             string `protobuf:"bytes,6,opt,name=Gateway,proto3" json:"Gateway,omitempty"`
	IPAddress           string `protobuf:"bytes,7,opt,name=IPAddress,proto3" json:"IPAddress,omitempty"`
	IPPrefixLen         int64  `protobuf:"varint,8,opt,name=IPPrefixLen,proto3" json:"IPPrefixLen,omitempty"`
	IPv6Gateway         string `protobuf:"bytes,9,opt,name=IPv6Gateway,proto3" json:"IPv6Gateway,omitempty"`
	GlobalIPv6Address   string `protobuf:"bytes,10,opt,name=GlobalIPv6Address,proto3" json:"GlobalIPv6Address,omitempty"`
	GlobalIPv6PrefixLen int64  `protobuf:"varint,11,opt,name=GlobalIPv6PrefixLen,proto3" json:"GlobalIPv6PrefixLen,omitempty"`
	MacAddress          string `protobuf:"bytes,12,opt,name=MacAddress,proto3" json:"MacAddress,omitempty"` // map<string,string> DriverOpts = 13;
	// contains filtered or unexported fields
}

func (*EndpointSettings) Descriptor deprecated

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

Deprecated: Use EndpointSettings.ProtoReflect.Descriptor instead.

func (*EndpointSettings) GetAliases

func (x *EndpointSettings) GetAliases() []string

func (*EndpointSettings) GetEndpointID

func (x *EndpointSettings) GetEndpointID() string

func (*EndpointSettings) GetGateway

func (x *EndpointSettings) GetGateway() string

func (*EndpointSettings) GetGlobalIPv6Address

func (x *EndpointSettings) GetGlobalIPv6Address() string

func (*EndpointSettings) GetGlobalIPv6PrefixLen

func (x *EndpointSettings) GetGlobalIPv6PrefixLen() int64

func (*EndpointSettings) GetIPAMConfig

func (x *EndpointSettings) GetIPAMConfig() *EndpointIPAMConfig

func (*EndpointSettings) GetIPAddress

func (x *EndpointSettings) GetIPAddress() string

func (*EndpointSettings) GetIPPrefixLen

func (x *EndpointSettings) GetIPPrefixLen() int64

func (*EndpointSettings) GetIPv6Gateway

func (x *EndpointSettings) GetIPv6Gateway() string
func (x *EndpointSettings) GetLinks() []string

func (*EndpointSettings) GetMacAddress

func (x *EndpointSettings) GetMacAddress() string

func (*EndpointSettings) GetNetworkID

func (x *EndpointSettings) GetNetworkID() string

func (*EndpointSettings) ProtoMessage

func (*EndpointSettings) ProtoMessage()

func (*EndpointSettings) ProtoReflect

func (x *EndpointSettings) ProtoReflect() protoreflect.Message

func (*EndpointSettings) Reset

func (x *EndpointSettings) Reset()

func (*EndpointSettings) String

func (x *EndpointSettings) String() string

type HostRequest

type HostRequest struct {
	// contains filtered or unexported fields
}

func (*HostRequest) Descriptor deprecated

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

Deprecated: Use HostRequest.ProtoReflect.Descriptor instead.

func (*HostRequest) ProtoMessage

func (*HostRequest) ProtoMessage()

func (*HostRequest) ProtoReflect

func (x *HostRequest) ProtoReflect() protoreflect.Message

func (*HostRequest) Reset

func (x *HostRequest) Reset()

func (*HostRequest) String

func (x *HostRequest) String() string

type HostResponse

type HostResponse struct {
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	Ipv4     string `protobuf:"bytes,2,opt,name=ipv4,proto3" json:"ipv4,omitempty"`
	Ipv6     string `protobuf:"bytes,3,opt,name=ipv6,proto3" json:"ipv6,omitempty"`
	OsType   string `protobuf:"bytes,4,opt,name=osType,proto3" json:"osType,omitempty"`
	// contains filtered or unexported fields
}

func (*HostResponse) Descriptor deprecated

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

Deprecated: Use HostResponse.ProtoReflect.Descriptor instead.

func (*HostResponse) GetHostname

func (x *HostResponse) GetHostname() string

func (*HostResponse) GetIpv4

func (x *HostResponse) GetIpv4() string

func (*HostResponse) GetIpv6

func (x *HostResponse) GetIpv6() string

func (*HostResponse) GetOsType

func (x *HostResponse) GetOsType() string

func (*HostResponse) ProtoMessage

func (*HostResponse) ProtoMessage()

func (*HostResponse) ProtoReflect

func (x *HostResponse) ProtoReflect() protoreflect.Message

func (*HostResponse) Reset

func (x *HostResponse) Reset()

func (*HostResponse) String

func (x *HostResponse) String() string

type ImagesRequest

type ImagesRequest struct {
	// contains filtered or unexported fields
}

func (*ImagesRequest) Descriptor deprecated

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

Deprecated: Use ImagesRequest.ProtoReflect.Descriptor instead.

func (*ImagesRequest) ProtoMessage

func (*ImagesRequest) ProtoMessage()

func (*ImagesRequest) ProtoReflect

func (x *ImagesRequest) ProtoReflect() protoreflect.Message

func (*ImagesRequest) Reset

func (x *ImagesRequest) Reset()

func (*ImagesRequest) String

func (x *ImagesRequest) String() string

type ImagesResponse

type ImagesResponse struct {
	Containers  int64             `protobuf:"varint,1,opt,name=Containers,proto3" json:"Containers,omitempty"`
	Created     int64             `protobuf:"varint,2,opt,name=Created,proto3" json:"Created,omitempty"`
	ID          string            `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	ParentID    string            `protobuf:"bytes,5,opt,name=ParentID,proto3" json:"ParentID,omitempty"`
	RepoDigests []string          `protobuf:"bytes,6,rep,name=RepoDigests,proto3" json:"RepoDigests,omitempty"`
	RepoTags    []string          `protobuf:"bytes,7,rep,name=RepoTags,proto3" json:"RepoTags,omitempty"`
	SharedSize  int64             `protobuf:"varint,8,opt,name=SharedSize,proto3" json:"SharedSize,omitempty"`
	Size        int64             `protobuf:"varint,9,opt,name=Size,proto3" json:"Size,omitempty"`
	VirtualSize int64             `protobuf:"varint,10,opt,name=VirtualSize,proto3" json:"VirtualSize,omitempty"`
	// contains filtered or unexported fields
}

func (*ImagesResponse) Descriptor deprecated

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

Deprecated: Use ImagesResponse.ProtoReflect.Descriptor instead.

func (*ImagesResponse) GetContainers

func (x *ImagesResponse) GetContainers() int64

func (*ImagesResponse) GetCreated

func (x *ImagesResponse) GetCreated() int64

func (*ImagesResponse) GetID

func (x *ImagesResponse) GetID() string

func (*ImagesResponse) GetLabels

func (x *ImagesResponse) GetLabels() map[string]string

func (*ImagesResponse) GetParentID

func (x *ImagesResponse) GetParentID() string

func (*ImagesResponse) GetRepoDigests

func (x *ImagesResponse) GetRepoDigests() []string

func (*ImagesResponse) GetRepoTags

func (x *ImagesResponse) GetRepoTags() []string

func (*ImagesResponse) GetSharedSize

func (x *ImagesResponse) GetSharedSize() int64

func (*ImagesResponse) GetSize

func (x *ImagesResponse) GetSize() int64

func (*ImagesResponse) GetVirtualSize

func (x *ImagesResponse) GetVirtualSize() int64

func (*ImagesResponse) ProtoMessage

func (*ImagesResponse) ProtoMessage()

func (*ImagesResponse) ProtoReflect

func (x *ImagesResponse) ProtoReflect() protoreflect.Message

func (*ImagesResponse) Reset

func (x *ImagesResponse) Reset()

func (*ImagesResponse) String

func (x *ImagesResponse) String() string

type MountPoint

type MountPoint struct {
	Type        string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Source      string `protobuf:"bytes,3,opt,name=Source,proto3" json:"Source,omitempty"`
	Destination string `protobuf:"bytes,4,opt,name=Destination,proto3" json:"Destination,omitempty"`
	Driver      string `protobuf:"bytes,5,opt,name=Driver,proto3" json:"Driver,omitempty"`
	Mode        string `protobuf:"bytes,6,opt,name=Mode,proto3" json:"Mode,omitempty"`
	RW          bool   `protobuf:"varint,7,opt,name=RW,proto3" json:"RW,omitempty"`
	Propagation string `protobuf:"bytes,8,opt,name=Propagation,proto3" json:"Propagation,omitempty"`
	// contains filtered or unexported fields
}

func (*MountPoint) Descriptor deprecated

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

Deprecated: Use MountPoint.ProtoReflect.Descriptor instead.

func (*MountPoint) GetDestination

func (x *MountPoint) GetDestination() string

func (*MountPoint) GetDriver

func (x *MountPoint) GetDriver() string

func (*MountPoint) GetMode

func (x *MountPoint) GetMode() string

func (*MountPoint) GetName

func (x *MountPoint) GetName() string

func (*MountPoint) GetPropagation

func (x *MountPoint) GetPropagation() string

func (*MountPoint) GetRW

func (x *MountPoint) GetRW() bool

func (*MountPoint) GetSource

func (x *MountPoint) GetSource() string

func (*MountPoint) GetType

func (x *MountPoint) GetType() string

func (*MountPoint) ProtoMessage

func (*MountPoint) ProtoMessage()

func (*MountPoint) ProtoReflect

func (x *MountPoint) ProtoReflect() protoreflect.Message

func (*MountPoint) Reset

func (x *MountPoint) Reset()

func (*MountPoint) String

func (x *MountPoint) String() string

type Port

type Port struct {
	IP          string `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"`
	PrivatePort uint32 `protobuf:"varint,2,opt,name=PrivatePort,proto3" json:"PrivatePort,omitempty"`
	PublicPort  uint32 `protobuf:"varint,3,opt,name=PublicPort,proto3" json:"PublicPort,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*Port) Descriptor deprecated

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

Deprecated: Use Port.ProtoReflect.Descriptor instead.

func (*Port) GetIP

func (x *Port) GetIP() string

func (*Port) GetPrivatePort

func (x *Port) GetPrivatePort() uint32

func (*Port) GetPublicPort

func (x *Port) GetPublicPort() uint32

func (*Port) GetType

func (x *Port) GetType() string

func (*Port) ProtoMessage

func (*Port) ProtoMessage()

func (*Port) ProtoReflect

func (x *Port) ProtoReflect() protoreflect.Message

func (*Port) Reset

func (x *Port) Reset()

func (*Port) String

func (x *Port) String() string

type SummaryNetworkSettings

type SummaryNetworkSettings struct {
	Networks map[string]*EndpointSettings `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SummaryNetworkSettings) Descriptor deprecated

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

Deprecated: Use SummaryNetworkSettings.ProtoReflect.Descriptor instead.

func (*SummaryNetworkSettings) GetNetworks

func (x *SummaryNetworkSettings) GetNetworks() map[string]*EndpointSettings

func (*SummaryNetworkSettings) ProtoMessage

func (*SummaryNetworkSettings) ProtoMessage()

func (*SummaryNetworkSettings) ProtoReflect

func (x *SummaryNetworkSettings) ProtoReflect() protoreflect.Message

func (*SummaryNetworkSettings) Reset

func (x *SummaryNetworkSettings) Reset()

func (*SummaryNetworkSettings) String

func (x *SummaryNetworkSettings) String() string

type UnimplementedDockerAgentServer

type UnimplementedDockerAgentServer struct {
}

UnimplementedDockerAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedDockerAgentServer) Containers

func (*UnimplementedDockerAgentServer) Host

func (*UnimplementedDockerAgentServer) Images

Jump to

Keyboard shortcuts

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