executor

package
v1.5.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 (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) 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) PullImage

func (b SwarmBackend) PullImage(ctx context.Context, image, tag string, metaHeaders map[string][]string, authConfig *types.AuthConfig, outStream io.Writer) error

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 (b SwarmBackend) SubscribeToEvents(since, until time.Time, filter filters.Args) ([]events.Message, chan interface{})

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 (b SwarmBackend) VolumeCreate(name, driverName string, opts, labels map[string]string) (*types.Volume, error)

func (SwarmBackend) WaitForDetachment

func (b SwarmBackend) WaitForDetachment(context.Context, string, string, string, string) error

Jump to

Keyboard shortcuts

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