Documentation ¶
Index ¶
- func GetCommands() *core.Commands
- func GetGeneratedCommands() *core.Commands
- type CustomDockerClient
- type DeployStepBuildImageResponse
- type DeployStepCreateContainerResponse
- type DeployStepCreateNamespaceResponse
- type DeployStepData
- type DeployStepDeployContainerResponse
- type DeployStepFetchOrCreateResponse
- type DeployStepPackImageResponse
- type DeployStepPushImageResponse
- type DockerClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommands ¶
func GetGeneratedCommands ¶
Types ¶
type CustomDockerClient ¶ added in v2.15.0
func NewCustomDockerClient ¶ added in v2.15.0
func NewCustomDockerClient(httpClient *http.Client) (*CustomDockerClient, error)
func (*CustomDockerClient) ContainerAttach ¶ added in v2.15.0
func (c *CustomDockerClient) ContainerAttach(_ context.Context, container string, options container.AttachOptions) (dockertypes.HijackedResponse, error)
type DeployStepBuildImageResponse ¶ added in v2.14.0
type DeployStepBuildImageResponse struct { *DeployStepData Namespace *container.Namespace Tag string DockerClient DockerClient }
func DeployStepBuildpackBuildImage ¶ added in v2.15.0
func DeployStepBuildpackBuildImage(t *tasks.Task, data *DeployStepFetchOrCreateResponse) (*DeployStepBuildImageResponse, error)
func DeployStepDockerBuildImage ¶ added in v2.15.0
func DeployStepDockerBuildImage(t *tasks.Task, data *DeployStepPackImageResponse) (*DeployStepBuildImageResponse, error)
type DeployStepCreateContainerResponse ¶ added in v2.14.0
type DeployStepCreateContainerResponse struct { *DeployStepData Container *container.Container }
func DeployStepCreateContainer ¶ added in v2.14.0
func DeployStepCreateContainer(t *tasks.Task, data *DeployStepPushImageResponse) (*DeployStepCreateContainerResponse, error)
type DeployStepCreateNamespaceResponse ¶ added in v2.14.0
type DeployStepCreateNamespaceResponse struct { *DeployStepData Namespace *container.Namespace }
func DeployStepCreateNamespace ¶ added in v2.14.0
func DeployStepCreateNamespace(t *tasks.Task, data *DeployStepData) (*DeployStepCreateNamespaceResponse, error)
func DeployStepFetchNamespace ¶ added in v2.14.0
func DeployStepFetchNamespace(t *tasks.Task, data *DeployStepData) (*DeployStepCreateNamespaceResponse, error)
type DeployStepData ¶ added in v2.14.0
type DeployStepDeployContainerResponse ¶ added in v2.14.0
type DeployStepDeployContainerResponse struct { *DeployStepData Container *container.Container }
func DeployStepDeployContainer ¶ added in v2.14.0
func DeployStepDeployContainer(t *tasks.Task, data *DeployStepCreateContainerResponse) (*DeployStepDeployContainerResponse, error)
type DeployStepFetchOrCreateResponse ¶ added in v2.14.0
type DeployStepFetchOrCreateResponse struct { *DeployStepData Namespace *container.Namespace RegistryEndpoint string }
func DeployStepFetchOrCreateRegistry ¶ added in v2.14.0
func DeployStepFetchOrCreateRegistry(t *tasks.Task, data *DeployStepCreateNamespaceResponse) (*DeployStepFetchOrCreateResponse, error)
type DeployStepPackImageResponse ¶ added in v2.14.0
type DeployStepPackImageResponse struct { *DeployStepData Namespace *container.Namespace RegistryEndpoint string Tar io.Reader }
func DeployStepDockerPackImage ¶ added in v2.15.0
func DeployStepDockerPackImage(_ *tasks.Task, data *DeployStepFetchOrCreateResponse) (*DeployStepPackImageResponse, error)
type DeployStepPushImageResponse ¶ added in v2.14.0
type DeployStepPushImageResponse struct { *DeployStepData Namespace *container.Namespace Tag string }
func DeployStepPushImage ¶ added in v2.14.0
func DeployStepPushImage(t *tasks.Task, data *DeployStepBuildImageResponse) (*DeployStepPushImageResponse, error)
type DockerClient ¶ added in v2.15.0
type DockerClient interface { pack.DockerClient ImagePush(ctx context.Context, image string, options image.PushOptions) (io.ReadCloser, error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.