Documentation ¶
Index ¶
- type AuditClient
- type Builder
- type Clients
- type Configuration
- func (_m *Configuration) EtcGroupPath() string
- func (_m *Configuration) EvaluateFromCache(e eval.Evaluatable) (interface{}, error)
- func (_m *Configuration) Hostname() string
- func (_m *Configuration) IsLeader() bool
- func (_m *Configuration) NormalizeToHostRoot(path string) string
- func (_m *Configuration) RelativeToHostRoot(path string) string
- type DockerClient
- func (_m *DockerClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (_m *DockerClient) BuildCancel(ctx context.Context, id string) error
- func (_m *DockerClient) Close() error
- func (_m *DockerClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
- func (_m *DockerClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
- func (_m *DockerClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
- func (_m *DockerClient) ConfigRemove(ctx context.Context, id string) error
- func (_m *DockerClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
- func (_m *DockerClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (_m *DockerClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (_m *DockerClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error)
- func (_m *DockerClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
- func (_m *DockerClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (_m *DockerClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
- func (_m *DockerClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (_m *DockerClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
- func (_m *DockerClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (_m *DockerClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)
- func (_m *DockerClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)
- func (_m *DockerClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
- func (_m *DockerClient) ContainerKill(ctx context.Context, _a1 string, signal string) error
- func (_m *DockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (_m *DockerClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *DockerClient) ContainerPause(ctx context.Context, _a1 string) error
- func (_m *DockerClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
- func (_m *DockerClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
- func (_m *DockerClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
- func (_m *DockerClient) ContainerRestart(ctx context.Context, _a1 string, timeout *time.Duration) error
- func (_m *DockerClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
- func (_m *DockerClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
- func (_m *DockerClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
- func (_m *DockerClient) ContainerStop(ctx context.Context, _a1 string, timeout *time.Duration) error
- func (_m *DockerClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
- func (_m *DockerClient) ContainerUnpause(ctx context.Context, _a1 string) error
- func (_m *DockerClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
- func (_m *DockerClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (_m *DockerClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- func (_m *DockerClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (_m *DockerClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, ...) error
- func (_m *DockerClient) DiskUsage(ctx context.Context) (types.DiskUsage, error)
- func (_m *DockerClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
- func (_m *DockerClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (_m *DockerClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
- func (_m *DockerClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
- func (_m *DockerClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error)
- func (_m *DockerClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
- func (_m *DockerClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (_m *DockerClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
- func (_m *DockerClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (_m *DockerClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
- func (_m *DockerClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (_m *DockerClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
- func (_m *DockerClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (_m *DockerClient) ImageTag(ctx context.Context, _a1 string, ref string) error
- func (_m *DockerClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
- func (_m *DockerClient) Info(ctx context.Context) (types.Info, error)
- func (_m *DockerClient) NetworkConnect(ctx context.Context, _a1 string, _a2 string, config *network.EndpointSettings) error
- func (_m *DockerClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (_m *DockerClient) NetworkDisconnect(ctx context.Context, _a1 string, _a2 string, force bool) error
- func (_m *DockerClient) NetworkInspect(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, error)
- func (_m *DockerClient) NetworkInspectWithRaw(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
- func (_m *DockerClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
- func (_m *DockerClient) NetworkRemove(ctx context.Context, _a1 string) error
- func (_m *DockerClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
- func (_m *DockerClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
- func (_m *DockerClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
- func (_m *DockerClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
- func (_m *DockerClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
- func (_m *DockerClient) Ping(ctx context.Context) (types.Ping, error)
- func (_m *DockerClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
- func (_m *DockerClient) ServerVersion(ctx context.Context) (types.Version, error)
- func (_m *DockerClient) VolumeCreate(ctx context.Context, options volume.VolumeCreateBody) (types.Volume, error)
- func (_m *DockerClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)
- func (_m *DockerClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
- func (_m *DockerClient) VolumeList(ctx context.Context, filter filters.Args) (volume.VolumeListOKBody, error)
- func (_m *DockerClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- func (_m *DockerClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
- type Env
- func (_m *Env) AuditClient() env.AuditClient
- func (_m *Env) DockerClient() env.DockerClient
- func (_m *Env) EtcGroupPath() string
- func (_m *Env) EvaluateFromCache(e eval.Evaluatable) (interface{}, error)
- func (_m *Env) Hostname() string
- func (_m *Env) IsLeader() bool
- func (_m *Env) KubeClient() env.KubeClient
- func (_m *Env) NormalizeToHostRoot(path string) string
- func (_m *Env) RelativeToHostRoot(path string) string
- func (_m *Env) Reporter() event.Reporter
- type Evaluatable
- type Iterator
- type Reporter
- type Scheduler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditClient ¶
AuditClient is an autogenerated mock type for the AuditClient type
func (*AuditClient) Close ¶
func (_m *AuditClient) Close() error
Close provides a mock function with given fields:
func (*AuditClient) GetFileWatchRules ¶
func (_m *AuditClient) GetFileWatchRules() ([]*rule.FileWatchRule, error)
GetFileWatchRules provides a mock function with given fields:
type Builder ¶
Builder is an autogenerated mock type for the Builder type
func (*Builder) ChecksFromFile ¶
func (_m *Builder) ChecksFromFile(file string, onCheck compliance.CheckVisitor) error
ChecksFromFile provides a mock function with given fields: file, onCheck
func (*Builder) GetCheckStatus ¶
func (_m *Builder) GetCheckStatus() compliance.CheckStatusList
GetCheckStatus provides a mock function with given fields:
type Clients ¶
Clients is an autogenerated mock type for the Clients type
func (*Clients) AuditClient ¶
func (_m *Clients) AuditClient() env.AuditClient
AuditClient provides a mock function with given fields:
func (*Clients) DockerClient ¶
func (_m *Clients) DockerClient() env.DockerClient
DockerClient provides a mock function with given fields:
func (*Clients) KubeClient ¶
func (_m *Clients) KubeClient() env.KubeClient
KubeClient provides a mock function with given fields:
type Configuration ¶
Configuration is an autogenerated mock type for the Configuration type
func (*Configuration) EtcGroupPath ¶
func (_m *Configuration) EtcGroupPath() string
EtcGroupPath provides a mock function with given fields:
func (*Configuration) EvaluateFromCache ¶
func (_m *Configuration) EvaluateFromCache(e eval.Evaluatable) (interface{}, error)
EvaluateFromCache provides a mock function with given fields: e
func (*Configuration) Hostname ¶
func (_m *Configuration) Hostname() string
Hostname provides a mock function with given fields:
func (*Configuration) IsLeader ¶
func (_m *Configuration) IsLeader() bool
IsLeader provides a mock function with given fields:
func (*Configuration) NormalizeToHostRoot ¶
func (_m *Configuration) NormalizeToHostRoot(path string) string
NormalizeToHostRoot provides a mock function with given fields: path
func (*Configuration) RelativeToHostRoot ¶
func (_m *Configuration) RelativeToHostRoot(path string) string
RelativeToHostRoot provides a mock function with given fields: path
type DockerClient ¶
DockerClient is an autogenerated mock type for the DockerClient type
func (*DockerClient) BuildCachePrune ¶
func (_m *DockerClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune provides a mock function with given fields: ctx, opts
func (*DockerClient) BuildCancel ¶
func (_m *DockerClient) BuildCancel(ctx context.Context, id string) error
BuildCancel provides a mock function with given fields: ctx, id
func (*DockerClient) Close ¶
func (_m *DockerClient) Close() error
Close provides a mock function with given fields:
func (*DockerClient) ConfigCreate ¶
func (_m *DockerClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
ConfigCreate provides a mock function with given fields: ctx, config
func (*DockerClient) ConfigInspectWithRaw ¶
func (_m *DockerClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
ConfigInspectWithRaw provides a mock function with given fields: ctx, name
func (*DockerClient) ConfigList ¶
func (_m *DockerClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
ConfigList provides a mock function with given fields: ctx, options
func (*DockerClient) ConfigRemove ¶
func (_m *DockerClient) ConfigRemove(ctx context.Context, id string) error
ConfigRemove provides a mock function with given fields: ctx, id
func (*DockerClient) ConfigUpdate ¶
func (_m *DockerClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
ConfigUpdate provides a mock function with given fields: ctx, id, version, config
func (*DockerClient) ContainerAttach ¶
func (_m *DockerClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerCommit ¶
func (_m *DockerClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerCreate ¶
func (_m *DockerClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, containerName string) (container.ContainerCreateCreatedBody, error)
ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, containerName
func (*DockerClient) ContainerDiff ¶
func (_m *DockerClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
ContainerDiff provides a mock function with given fields: ctx, _a1
func (*DockerClient) ContainerExecAttach ¶
func (_m *DockerClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function with given fields: ctx, execID, config
func (*DockerClient) ContainerExecCreate ¶
func (_m *DockerClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate provides a mock function with given fields: ctx, _a1, config
func (*DockerClient) ContainerExecInspect ¶
func (_m *DockerClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect provides a mock function with given fields: ctx, execID
func (*DockerClient) ContainerExecResize ¶
func (_m *DockerClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
ContainerExecResize provides a mock function with given fields: ctx, execID, options
func (*DockerClient) ContainerExecStart ¶
func (_m *DockerClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
ContainerExecStart provides a mock function with given fields: ctx, execID, config
func (*DockerClient) ContainerExport ¶
func (_m *DockerClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)
ContainerExport provides a mock function with given fields: ctx, _a1
func (*DockerClient) ContainerInspect ¶
func (_m *DockerClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)
ContainerInspect provides a mock function with given fields: ctx, _a1
func (*DockerClient) ContainerInspectWithRaw ¶
func (_m *DockerClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw provides a mock function with given fields: ctx, _a1, getSize
func (*DockerClient) ContainerKill ¶
ContainerKill provides a mock function with given fields: ctx, _a1, signal
func (*DockerClient) ContainerList ¶
func (_m *DockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList provides a mock function with given fields: ctx, options
func (*DockerClient) ContainerLogs ¶
func (_m *DockerClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerPause ¶
func (_m *DockerClient) ContainerPause(ctx context.Context, _a1 string) error
ContainerPause provides a mock function with given fields: ctx, _a1
func (*DockerClient) ContainerRemove ¶
func (_m *DockerClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
ContainerRemove provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerRename ¶
func (_m *DockerClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
ContainerRename provides a mock function with given fields: ctx, _a1, newContainerName
func (*DockerClient) ContainerResize ¶
func (_m *DockerClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
ContainerResize provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerRestart ¶
func (_m *DockerClient) ContainerRestart(ctx context.Context, _a1 string, timeout *time.Duration) error
ContainerRestart provides a mock function with given fields: ctx, _a1, timeout
func (*DockerClient) ContainerStart ¶
func (_m *DockerClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
ContainerStart provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ContainerStatPath ¶
func (_m *DockerClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
ContainerStatPath provides a mock function with given fields: ctx, _a1, path
func (*DockerClient) ContainerStats ¶
func (_m *DockerClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
ContainerStats provides a mock function with given fields: ctx, _a1, stream
func (*DockerClient) ContainerStop ¶
func (_m *DockerClient) ContainerStop(ctx context.Context, _a1 string, timeout *time.Duration) error
ContainerStop provides a mock function with given fields: ctx, _a1, timeout
func (*DockerClient) ContainerTop ¶
func (_m *DockerClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
ContainerTop provides a mock function with given fields: ctx, _a1, arguments
func (*DockerClient) ContainerUnpause ¶
func (_m *DockerClient) ContainerUnpause(ctx context.Context, _a1 string) error
ContainerUnpause provides a mock function with given fields: ctx, _a1
func (*DockerClient) ContainerUpdate ¶
func (_m *DockerClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
ContainerUpdate provides a mock function with given fields: ctx, _a1, updateConfig
func (*DockerClient) ContainerWait ¶
func (_m *DockerClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait provides a mock function with given fields: ctx, _a1, condition
func (*DockerClient) ContainersPrune ¶
func (_m *DockerClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
ContainersPrune provides a mock function with given fields: ctx, pruneFilters
func (*DockerClient) CopyFromContainer ¶
func (_m *DockerClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer provides a mock function with given fields: ctx, _a1, srcPath
func (*DockerClient) CopyToContainer ¶
func (_m *DockerClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, options types.CopyToContainerOptions) error
CopyToContainer provides a mock function with given fields: ctx, _a1, path, content, options
func (*DockerClient) Events ¶
func (_m *DockerClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
Events provides a mock function with given fields: ctx, options
func (*DockerClient) ImageBuild ¶
func (_m *DockerClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ImageCreate ¶
func (_m *DockerClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate provides a mock function with given fields: ctx, parentReference, options
func (*DockerClient) ImageHistory ¶
func (_m *DockerClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
ImageHistory provides a mock function with given fields: ctx, _a1
func (*DockerClient) ImageImport ¶
func (_m *DockerClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error)
ImageImport provides a mock function with given fields: ctx, source, ref, options
func (*DockerClient) ImageInspectWithRaw ¶
func (_m *DockerClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw provides a mock function with given fields: ctx, _a1
func (*DockerClient) ImageList ¶
func (_m *DockerClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList provides a mock function with given fields: ctx, options
func (*DockerClient) ImageLoad ¶
func (_m *DockerClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
ImageLoad provides a mock function with given fields: ctx, input, quiet
func (*DockerClient) ImagePull ¶
func (_m *DockerClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
ImagePull provides a mock function with given fields: ctx, ref, options
func (*DockerClient) ImagePush ¶
func (_m *DockerClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
ImagePush provides a mock function with given fields: ctx, ref, options
func (*DockerClient) ImageRemove ¶
func (_m *DockerClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) ImageSave ¶
func (_m *DockerClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
ImageSave provides a mock function with given fields: ctx, images
func (*DockerClient) ImageSearch ¶
func (_m *DockerClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch provides a mock function with given fields: ctx, term, options
func (*DockerClient) ImagesPrune ¶
func (_m *DockerClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
ImagesPrune provides a mock function with given fields: ctx, pruneFilter
func (*DockerClient) NetworkConnect ¶
func (_m *DockerClient) NetworkConnect(ctx context.Context, _a1 string, _a2 string, config *network.EndpointSettings) error
NetworkConnect provides a mock function with given fields: ctx, _a1, _a2, config
func (*DockerClient) NetworkCreate ¶
func (_m *DockerClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
NetworkCreate provides a mock function with given fields: ctx, name, options
func (*DockerClient) NetworkDisconnect ¶
func (_m *DockerClient) NetworkDisconnect(ctx context.Context, _a1 string, _a2 string, force bool) error
NetworkDisconnect provides a mock function with given fields: ctx, _a1, _a2, force
func (*DockerClient) NetworkInspect ¶
func (_m *DockerClient) NetworkInspect(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, error)
NetworkInspect provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) NetworkInspectWithRaw ¶
func (_m *DockerClient) NetworkInspectWithRaw(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
NetworkInspectWithRaw provides a mock function with given fields: ctx, _a1, options
func (*DockerClient) NetworkList ¶
func (_m *DockerClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
NetworkList provides a mock function with given fields: ctx, options
func (*DockerClient) NetworkRemove ¶
func (_m *DockerClient) NetworkRemove(ctx context.Context, _a1 string) error
NetworkRemove provides a mock function with given fields: ctx, _a1
func (*DockerClient) NetworksPrune ¶
func (_m *DockerClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
NetworksPrune provides a mock function with given fields: ctx, pruneFilter
func (*DockerClient) NodeInspectWithRaw ¶
func (_m *DockerClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID
func (*DockerClient) NodeList ¶
func (_m *DockerClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
NodeList provides a mock function with given fields: ctx, options
func (*DockerClient) NodeRemove ¶
func (_m *DockerClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
NodeRemove provides a mock function with given fields: ctx, nodeID, options
func (*DockerClient) NodeUpdate ¶
func (_m *DockerClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
NodeUpdate provides a mock function with given fields: ctx, nodeID, version, node
func (*DockerClient) RegistryLogin ¶
func (_m *DockerClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
RegistryLogin provides a mock function with given fields: ctx, auth
func (*DockerClient) ServerVersion ¶
ServerVersion provides a mock function with given fields: ctx
func (*DockerClient) VolumeCreate ¶
func (_m *DockerClient) VolumeCreate(ctx context.Context, options volume.VolumeCreateBody) (types.Volume, error)
VolumeCreate provides a mock function with given fields: ctx, options
func (*DockerClient) VolumeInspect ¶
VolumeInspect provides a mock function with given fields: ctx, volumeID
func (*DockerClient) VolumeInspectWithRaw ¶
func (_m *DockerClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
VolumeInspectWithRaw provides a mock function with given fields: ctx, volumeID
func (*DockerClient) VolumeList ¶
func (_m *DockerClient) VolumeList(ctx context.Context, filter filters.Args) (volume.VolumeListOKBody, error)
VolumeList provides a mock function with given fields: ctx, filter
func (*DockerClient) VolumeRemove ¶
VolumeRemove provides a mock function with given fields: ctx, volumeID, force
func (*DockerClient) VolumesPrune ¶
func (_m *DockerClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
VolumesPrune provides a mock function with given fields: ctx, pruneFilter
type Env ¶
Env is an autogenerated mock type for the Env type
func (*Env) AuditClient ¶
func (_m *Env) AuditClient() env.AuditClient
AuditClient provides a mock function with given fields:
func (*Env) DockerClient ¶
func (_m *Env) DockerClient() env.DockerClient
DockerClient provides a mock function with given fields:
func (*Env) EtcGroupPath ¶
EtcGroupPath provides a mock function with given fields:
func (*Env) EvaluateFromCache ¶
func (_m *Env) EvaluateFromCache(e eval.Evaluatable) (interface{}, error)
EvaluateFromCache provides a mock function with given fields: e
func (*Env) KubeClient ¶
func (_m *Env) KubeClient() env.KubeClient
KubeClient provides a mock function with given fields:
func (*Env) NormalizeToHostRoot ¶
NormalizeToHostRoot provides a mock function with given fields: path
func (*Env) RelativeToHostRoot ¶
RelativeToHostRoot provides a mock function with given fields: path
type Evaluatable ¶
Evaluatable is an autogenerated mock type for the Evaluatable type
type Iterator ¶
Iterator is an autogenerated mock type for the Iterator type
type Reporter ¶
Reporter is an autogenerated mock type for the Reporter type
type Scheduler ¶
Scheduler is an autogenerated mock type for the Scheduler type
func (*Scheduler) IsCheckScheduled ¶
IsCheckScheduled provides a mock function with given fields: id