Documentation ¶
Index ¶
- Variables
- type DeployOperation
- func (op *DeployOperation) AppName() string
- func (op *DeployOperation) BuildAndDeploy(cwd string, appConfig *flyctl.AppConfig) (*api.Release, error)
- func (op *DeployOperation) DeployImage(imageRef string) (*api.Release, error)
- func (op *DeployOperation) DockerAvailable() bool
- func (op *DeployOperation) PackAndDeploy(cwd string, appConfig *flyctl.AppConfig) (*api.Release, error)
- func (op *DeployOperation) StartRemoteBuild(cwd string, appConfig *flyctl.AppConfig) (*api.Build, error)
- func (op *DeployOperation) ValidateConfig() (*api.AppConfig, error)
- type DockerClient
- func (c *DockerClient) BuildImage(tar io.Reader, tag string, buildArgs map[string]*string, out io.Writer, ...) (*types.ImageSummary, error)
- func (c *DockerClient) Check() error
- func (c *DockerClient) DeleteDeploymentImages(appName string) error
- func (c *DockerClient) PullImage(imageName string, out io.Writer) error
- func (c *DockerClient) PushImage(imageName string, out io.Writer) error
- func (c *DockerClient) ResolveImage(imageName string) (*types.ImageSummary, error)
- func (c *DockerClient) TagImage(sourceRef, tag string) error
- type DockerfileSource
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDockerDaemon = errors.New("Docker daemon must be running to perform this action")
View Source
var ErrNoDockerfile = errors.New("Project does not contain a Dockerfile or specify a builder")
Functions ¶
This section is empty.
Types ¶
type DeployOperation ¶
type DeployOperation struct {
// contains filtered or unexported fields
}
func NewDeployOperation ¶
func (*DeployOperation) AppName ¶
func (op *DeployOperation) AppName() string
func (*DeployOperation) BuildAndDeploy ¶
func (*DeployOperation) DeployImage ¶
func (op *DeployOperation) DeployImage(imageRef string) (*api.Release, error)
func (*DeployOperation) DockerAvailable ¶
func (op *DeployOperation) DockerAvailable() bool
func (*DeployOperation) PackAndDeploy ¶ added in v0.0.84
func (*DeployOperation) StartRemoteBuild ¶
func (*DeployOperation) ValidateConfig ¶
func (op *DeployOperation) ValidateConfig() (*api.AppConfig, error)
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func NewDockerClient ¶
func NewDockerClient() (*DockerClient, error)
func (*DockerClient) BuildImage ¶
func (*DockerClient) Check ¶
func (c *DockerClient) Check() error
func (*DockerClient) DeleteDeploymentImages ¶
func (c *DockerClient) DeleteDeploymentImages(appName string) error
func (*DockerClient) PullImage ¶
func (c *DockerClient) PullImage(imageName string, out io.Writer) error
func (*DockerClient) PushImage ¶
func (c *DockerClient) PushImage(imageName string, out io.Writer) error
func (*DockerClient) ResolveImage ¶
func (c *DockerClient) ResolveImage(imageName string) (*types.ImageSummary, error)
func (*DockerClient) TagImage ¶
func (c *DockerClient) TagImage(sourceRef, tag string) error
type DockerfileSource ¶
type DockerfileSource uint
const ( CwdDockerfile DockerfileSource = iota NoDockerfile )
Click to show internal directories.
Click to hide internal directories.