Movatterモバイル変換


[0]ホーム

URL:


executor

package
v2.0.0-beta.5Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License:Apache-2.0Imports:24Imported by:0

Details

Repository

github.com/moby/moby

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

Source Files

View all Source files

Directories

PathSynopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp