Documentation ¶
Index ¶
- type SwarmBackend
- func (b SwarmBackend) ActivateContainerServiceBinding(containerName string) error
- func (b SwarmBackend) ConnectContainerToNetwork(containerName, networkName string, endpointConfig *network.EndpointSettings) error
- func (b SwarmBackend) ContainerInspectCurrent(name string, size bool) (*types.ContainerJSON, error)
- func (b SwarmBackend) ContainerKill(name string, sig uint64) error
- func (b SwarmBackend) ContainerLogs(ctx context.Context, containerName string, config *backend.ContainerLogsConfig, ...) error
- func (b SwarmBackend) ContainerRm(name string, config *types.ContainerRmConfig) error
- func (b SwarmBackend) ContainerStart(name string, hostConfig *container.HostConfig, checkpoint string, ...) error
- func (b SwarmBackend) ContainerStop(name string, seconds *int) error
- func (b SwarmBackend) ContainerWaitWithContext(ctx context.Context, name string) error
- func (b SwarmBackend) Containers(config *types.ContainerListOptions) ([]*types.Container, error)
- func (b SwarmBackend) CreateManagedContainer(config types.ContainerCreateConfig) (container.ContainerCreateCreatedBody, error)
- func (b SwarmBackend) CreateManagedNetwork(clustertypes.NetworkCreateRequest) error
- func (b SwarmBackend) DeactivateContainerServiceBinding(containerName string) error
- func (b SwarmBackend) DeleteManagedNetwork(name string) error
- func (b SwarmBackend) FindNetwork(idName string) (libnetwork.Network, error)
- func (b SwarmBackend) GetRepository(context.Context, reference.NamedTagged, *types.AuthConfig) (distribution.Repository, bool, error)
- func (b SwarmBackend) IsSwarmCompatible() error
- func (b SwarmBackend) LookupImage(name string) (*types.ImageInspect, error)
- func (b SwarmBackend) PluginManager() *plugin.Manager
- func (b SwarmBackend) PullImage(ctx context.Context, image, tag string, metaHeaders map[string][]string, ...) error
- func (b SwarmBackend) SetClusterProvider(provider cluster.Provider)
- func (b SwarmBackend) SetContainerSecretReferences(name string, refs []*swarmtypes.SecretReference) error
- func (b SwarmBackend) SetContainerSecretStore(name string, store exec.SecretGetter) error
- func (b SwarmBackend) SetNetworkBootstrapKeys([]*networktypes.EncryptionKey) error
- func (b SwarmBackend) SetupIngress(req clustertypes.NetworkCreateRequest, nodeIP string) error
- func (b SwarmBackend) SubscribeToEvents(since, until time.Time, filter filters.Args) ([]events.Message, chan interface{})
- func (b SwarmBackend) SystemInfo() (*types.Info, error)
- func (b SwarmBackend) UnsubscribeFromEvents(listener chan interface{})
- func (b SwarmBackend) UpdateAttachment(string, string, string, *network.NetworkingConfig) error
- func (b SwarmBackend) UpdateContainerServiceConfig(containerName string, serviceConfig *clustertypes.ServiceConfig) error
- func (b SwarmBackend) VolumeCreate(name, driverName string, opts, labels map[string]string) (*types.Volume, error)
- func (b SwarmBackend) WaitForDetachment(context.Context, string, string, string, string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwarmBackend ¶
type SwarmBackend struct { }
func (SwarmBackend) ActivateContainerServiceBinding ¶
func (b SwarmBackend) ActivateContainerServiceBinding(containerName string) error
func (SwarmBackend) ConnectContainerToNetwork ¶
func (b SwarmBackend) ConnectContainerToNetwork(containerName, networkName string, endpointConfig *network.EndpointSettings) error
func (SwarmBackend) ContainerInspectCurrent ¶
func (b SwarmBackend) ContainerInspectCurrent(name string, size bool) (*types.ContainerJSON, error)
func (SwarmBackend) ContainerKill ¶
func (b SwarmBackend) ContainerKill(name string, sig uint64) error
func (SwarmBackend) ContainerLogs ¶
func (b SwarmBackend) ContainerLogs(ctx context.Context, containerName string, config *backend.ContainerLogsConfig, started chan struct{}) error
ContainerLogs hooks up a container's stdout and stderr streams configured with the given struct.
func (SwarmBackend) ContainerRm ¶
func (b SwarmBackend) ContainerRm(name string, config *types.ContainerRmConfig) error
func (SwarmBackend) ContainerStart ¶
func (b SwarmBackend) ContainerStart(name string, hostConfig *container.HostConfig, checkpoint string, checkpointDir string) error
func (SwarmBackend) ContainerStop ¶
func (b SwarmBackend) ContainerStop(name string, seconds *int) error
func (SwarmBackend) ContainerWaitWithContext ¶
func (b SwarmBackend) ContainerWaitWithContext(ctx context.Context, name string) error
func (SwarmBackend) Containers ¶
func (b SwarmBackend) Containers(config *types.ContainerListOptions) ([]*types.Container, error)
func (SwarmBackend) CreateManagedContainer ¶
func (b SwarmBackend) CreateManagedContainer(config types.ContainerCreateConfig) (container.ContainerCreateCreatedBody, error)
func (SwarmBackend) CreateManagedNetwork ¶
func (b SwarmBackend) CreateManagedNetwork(clustertypes.NetworkCreateRequest) error
func (SwarmBackend) DeactivateContainerServiceBinding ¶
func (b SwarmBackend) DeactivateContainerServiceBinding(containerName string) error
func (SwarmBackend) DeleteManagedNetwork ¶
func (b SwarmBackend) DeleteManagedNetwork(name string) error
func (SwarmBackend) FindNetwork ¶
func (b SwarmBackend) FindNetwork(idName string) (libnetwork.Network, error)
func (SwarmBackend) GetRepository ¶
func (b SwarmBackend) GetRepository(context.Context, reference.NamedTagged, *types.AuthConfig) (distribution.Repository, bool, error)
func (SwarmBackend) IsSwarmCompatible ¶
func (b SwarmBackend) IsSwarmCompatible() error
func (SwarmBackend) LookupImage ¶
func (b SwarmBackend) LookupImage(name string) (*types.ImageInspect, error)
func (SwarmBackend) PluginManager ¶
func (b SwarmBackend) PluginManager() *plugin.Manager
func (SwarmBackend) SetClusterProvider ¶
func (b SwarmBackend) SetClusterProvider(provider cluster.Provider)
func (SwarmBackend) SetContainerSecretReferences ¶
func (b SwarmBackend) SetContainerSecretReferences(name string, refs []*swarmtypes.SecretReference) error
func (SwarmBackend) SetContainerSecretStore ¶
func (b SwarmBackend) SetContainerSecretStore(name string, store exec.SecretGetter) error
func (SwarmBackend) SetNetworkBootstrapKeys ¶
func (b SwarmBackend) SetNetworkBootstrapKeys([]*networktypes.EncryptionKey) error
func (SwarmBackend) SetupIngress ¶
func (b SwarmBackend) SetupIngress(req clustertypes.NetworkCreateRequest, nodeIP string) error
func (SwarmBackend) SubscribeToEvents ¶
func (SwarmBackend) SystemInfo ¶
func (b SwarmBackend) SystemInfo() (*types.Info, error)
func (SwarmBackend) UnsubscribeFromEvents ¶
func (b SwarmBackend) UnsubscribeFromEvents(listener chan interface{})
func (SwarmBackend) UpdateAttachment ¶
func (b SwarmBackend) UpdateAttachment(string, string, string, *network.NetworkingConfig) error
func (SwarmBackend) UpdateContainerServiceConfig ¶
func (b SwarmBackend) UpdateContainerServiceConfig(containerName string, serviceConfig *clustertypes.ServiceConfig) error
func (SwarmBackend) VolumeCreate ¶
func (SwarmBackend) WaitForDetachment ¶
Click to show internal directories.
Click to hide internal directories.