Documentation ¶
Index ¶
- type Getter
- type ImageLog
- type MockConnectorServer
- func (m *MockConnectorServer) DestroyService(ctx context.Context, r *shipyard.DestroyRequest) (*shipyard.NullMessage, error)
- func (m *MockConnectorServer) ExposeService(ctx context.Context, r *shipyard.ExposeRequest) (*shipyard.ExposeResponse, error)
- func (m *MockConnectorServer) ListServices(ctx context.Context, msg *shipyard.NullMessage) (*shipyard.ListResponse, error)
- func (m *MockConnectorServer) OpenStream(svr shipyard.RemoteConnection_OpenStreamServer) error
- func (m *MockConnectorServer) Start(addr, rootCertPath, rootKeyPath, leafCertPath, leafKeyPath string) (string, error)
- func (m *MockConnectorServer) Stop()
- type MockDocker
- func (m *MockDocker) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error)
- func (m *MockDocker) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (m *MockDocker) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
- func (m *MockDocker) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (m *MockDocker) ContainerExecResize(ctx context.Context, execID string, config types.ResizeOptions) error
- func (m *MockDocker) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (m *MockDocker) ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error)
- func (m *MockDocker) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (m *MockDocker) ContainerLogs(ctx context.Context, containerID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockDocker) ContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) error
- func (m *MockDocker) ContainerStart(ctx context.Context, ID string, opts types.ContainerStartOptions) error
- func (m *MockDocker) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error
- func (m *MockDocker) CopyFromContainer(ctx context.Context, containerID, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (m *MockDocker) CopyToContainer(ctx context.Context, container, path string, content io.Reader, ...) error
- func (m *MockDocker) ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (m *MockDocker) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockDocker) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (m *MockDocker) ImageRemove(ctx context.Context, imageID string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockDocker) ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error)
- func (m *MockDocker) Info(ctx context.Context) (types.Info, error)
- func (m *MockDocker) NetworkConnect(ctx context.Context, networkID, containerID string, ...) error
- func (m *MockDocker) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (m *MockDocker) NetworkDisconnect(ctx context.Context, networkID, containerID string, force bool) error
- func (m *MockDocker) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
- func (m *MockDocker) NetworkRemove(ctx context.Context, networkID string) error
- func (m *MockDocker) ServerVersion(ctx context.Context) (types.Version, error)
- func (m *MockDocker) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
- func (m *MockDocker) VolumeList(ctx context.Context, filters filters.Args) (volume.VolumeListOKBody, error)
- func (m *MockDocker) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- type MockHTTP
- type MockHelm
- type MockNomad
- func (m *MockNomad) Create(files []string) error
- func (m *MockNomad) Endpoints(job, group, task string) ([]map[string]string, error)
- func (m *MockNomad) HealthCheckAPI(timeout time.Duration) error
- func (m *MockNomad) JobRunning(job string) (bool, error)
- func (m *MockNomad) ParseJob(file string) ([]byte, error)
- func (m *MockNomad) SetConfig(c utils.ClusterConfig, ctx string) error
- func (m *MockNomad) Stop(files []string) error
- type System
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectorServer ¶
func NewMockConnectorServer ¶
func NewMockConnectorServer() *MockConnectorServer
func (*MockConnectorServer) DestroyService ¶
func (m *MockConnectorServer) DestroyService(ctx context.Context, r *shipyard.DestroyRequest) (*shipyard.NullMessage, error)
func (*MockConnectorServer) ExposeService ¶
func (m *MockConnectorServer) ExposeService(ctx context.Context, r *shipyard.ExposeRequest) (*shipyard.ExposeResponse, error)
func (*MockConnectorServer) ListServices ¶
func (m *MockConnectorServer) ListServices(ctx context.Context, msg *shipyard.NullMessage) (*shipyard.ListResponse, error)
func (*MockConnectorServer) OpenStream ¶
func (m *MockConnectorServer) OpenStream(svr shipyard.RemoteConnection_OpenStreamServer) error
func (*MockConnectorServer) Start ¶
func (m *MockConnectorServer) Start(addr, rootCertPath, rootKeyPath, leafCertPath, leafKeyPath string) (string, error)
Start the server returning the location
func (*MockConnectorServer) Stop ¶
func (m *MockConnectorServer) Stop()
type MockDocker ¶
func (*MockDocker) ContainerCreate ¶
func (m *MockDocker) ContainerCreate( ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *specs.Platform, containerName string, ) (container.ContainerCreateCreatedBody, error)
func (*MockDocker) ContainerExecAttach ¶
func (m *MockDocker) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
func (*MockDocker) ContainerExecCreate ¶
func (m *MockDocker) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
func (*MockDocker) ContainerExecInspect ¶
func (m *MockDocker) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
func (*MockDocker) ContainerExecResize ¶
func (m *MockDocker) ContainerExecResize(ctx context.Context, execID string, config types.ResizeOptions) error
func (*MockDocker) ContainerExecStart ¶
func (m *MockDocker) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
func (*MockDocker) ContainerInspect ¶
func (m *MockDocker) ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error)
func (*MockDocker) ContainerList ¶
func (m *MockDocker) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
func (*MockDocker) ContainerLogs ¶
func (m *MockDocker) ContainerLogs(ctx context.Context, containerID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
func (*MockDocker) ContainerRemove ¶
func (m *MockDocker) ContainerRemove(ctx context.Context, containerID string, options types.ContainerRemoveOptions) error
func (*MockDocker) ContainerStart ¶
func (m *MockDocker) ContainerStart(ctx context.Context, ID string, opts types.ContainerStartOptions) error
func (*MockDocker) ContainerStop ¶
func (*MockDocker) CopyFromContainer ¶
func (m *MockDocker) CopyFromContainer(ctx context.Context, containerID, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
func (*MockDocker) CopyToContainer ¶
func (m *MockDocker) CopyToContainer(ctx context.Context, container, path string, content io.Reader, options types.CopyToContainerOptions) error
func (*MockDocker) ImageBuild ¶
func (m *MockDocker) ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
func (*MockDocker) ImageList ¶
func (m *MockDocker) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
func (*MockDocker) ImagePull ¶
func (m *MockDocker) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (io.ReadCloser, error)
func (*MockDocker) ImageRemove ¶
func (m *MockDocker) ImageRemove(ctx context.Context, imageID string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
func (*MockDocker) ImageSave ¶
func (m *MockDocker) ImageSave(ctx context.Context, imageIDs []string) (io.ReadCloser, error)
func (*MockDocker) NetworkConnect ¶
func (m *MockDocker) NetworkConnect(ctx context.Context, networkID, containerID string, config *network.EndpointSettings) error
func (*MockDocker) NetworkCreate ¶
func (m *MockDocker) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
func (*MockDocker) NetworkDisconnect ¶
func (*MockDocker) NetworkList ¶
func (m *MockDocker) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
func (*MockDocker) NetworkRemove ¶
func (m *MockDocker) NetworkRemove(ctx context.Context, networkID string) error
func (*MockDocker) ServerVersion ¶
func (*MockDocker) VolumeCreate ¶
func (m *MockDocker) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
func (*MockDocker) VolumeList ¶
func (m *MockDocker) VolumeList(ctx context.Context, filters filters.Args) (volume.VolumeListOKBody, error)
func (*MockDocker) VolumeRemove ¶
type MockNomad ¶
type System ¶
func (*System) OpenBrowser ¶
Click to show internal directories.
Click to hide internal directories.