executor
package v2.0.0-beta.5
Go to latest Published: Nov 27, 2025 License:Apache-2.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:24 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeBackend¶
type Backend interface {CreateManagedNetwork(clustertypes.NetworkCreateRequest)errorDeleteManagedNetwork(networkIDstring)errorFindNetwork(idNamestring) (*libnetwork.Network,error)SetupIngress(clustertypes.NetworkCreateRequest,string) (<-chan struct{},error)ReleaseIngress() (<-chan struct{},error)CreateManagedContainer(ctxcontext.Context, configbackend.ContainerCreateConfig) (container.CreateResponse,error)ContainerStart(ctxcontext.Context, namestring, checkpointstring, checkpointDirstring)errorContainerStop(ctxcontext.Context, namestring, configbackend.ContainerStopOptions)errorContainerLogs(ctxcontext.Context, namestring, config *backend.ContainerLogsOptions) (msgs <-chan *backend.LogMessage, ttybool, errerror)ConnectContainerToNetwork(ctxcontext.Context, containerName, networkNamestring, endpointConfig *network.EndpointSettings)errorActivateContainerServiceBinding(containerNamestring)errorDeactivateContainerServiceBinding(containerNamestring)errorUpdateContainerServiceConfig(containerNamestring, serviceConfig *clustertypes.ServiceConfig)errorContainerInspect(ctxcontext.Context, namestring, optionsbackend.ContainerInspectOptions) (_ *container.InspectResponse, desiredMACAddressnetwork.HardwareAddr, _error)ContainerWait(ctxcontext.Context, namestring, conditioncontainer.WaitCondition) (<-chancontainerpkg.StateStatus,error)ContainerRm(namestring, config *backend.ContainerRmConfig)errorContainerKill(namestring, sigstring)errorSetContainerDependencyStore(namestring, storeexec.DependencyGetter)errorSetContainerSecretReferences(namestring, refs []*swarm.SecretReference)errorSetContainerConfigReferences(namestring, refs []*swarm.ConfigReference)errorSystemInfo(context.Context) (*system.Info,error)Containers(ctxcontext.Context, config *backend.ContainerListOptions) ([]container.Summary,error)SetNetworkBootstrapKeys([]*networktypes.EncryptionKey)errorDaemonJoinsCluster(providercluster.Provider)DaemonLeavesCluster()IsSwarmCompatible()errorSubscribeToEvents(since, untiltime.Time, filterfilters.Args) ([]events.Message, chanany)UnsubscribeFromEvents(listener chanany)UpdateAttachment(string,string,string, *network.NetworkingConfig)errorWaitForDetachment(context.Context,string,string,string,string)errorPluginManager() *plugin.ManagerPluginGetter() *plugin.StoreGetAttachmentStore() *networkSettings.AttachmentStoreHasExperimental()bool}Backend defines the executor component for a swarm agent.
typeImageBackend¶
type ImageBackend interface {PullImage(ctxcontext.Context, refreference.Named, optionsimagebackend.PullOptions)errorGetRepositories(context.Context,reference.Named, *registry.AuthConfig) ([]distribution.Repository,error)GetImage(ctxcontext.Context, refOrIDstring, optionsimagebackend.GetImageOpts) (*image.Image,error)}ImageBackend is used by an executor to perform image operations
typeVolumeBackend¶
type VolumeBackend interface {Create(ctxcontext.Context, name, driverNamestring, opts ...volumeopts.CreateOption) (*volume.Volume,error)}VolumeBackend is used by an executor to perform volume operations
Click to show internal directories.
Click to hide internal directories.