Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentClient ¶ added in v1.34.0
type DeploymentClient struct {
// contains filtered or unexported fields
}
func NewDeploymentClient ¶ added in v1.34.0
func NewDeploymentClient(address string, interactive bool) *DeploymentClient
func (*DeploymentClient) Down ¶ added in v1.34.0
func (p *DeploymentClient) Down(deploymentRequest *deploy.DeploymentDownRequest) (<-chan *deploy.DeploymentDownEvent, <-chan error)
func (*DeploymentClient) Up ¶ added in v1.34.0
func (p *DeploymentClient) Up(deploymentRequest *deploy.DeploymentUpRequest) (<-chan *deploy.DeploymentUpEvent, <-chan error)
type Provider ¶ added in v1.34.0
type Provider interface { Install() error Start(opts *StartOptions) (string, error) Stop() error }
type ProviderExecutableOption ¶ added in v1.34.0
type ProviderExecutableOption = func(*ProviderProcess)
func WithStderr ¶ added in v1.34.0
func WithStderr(stderr chan<- string) ProviderExecutableOption
func WithStdout ¶ added in v1.34.0
func WithStdout(stdout chan<- string) ProviderExecutableOption
type ProviderImage ¶ added in v1.39.0
type ProviderImage struct {
// contains filtered or unexported fields
}
func NewImageProvider ¶ added in v1.39.0
func NewImageProvider(imageName string) *ProviderImage
NewImageProvider - Returns a new image provider instance based on the given image name [registry-host[:port]/][username/]repository[:tag]
func (*ProviderImage) Install ¶ added in v1.39.0
func (pi *ProviderImage) Install() error
func (*ProviderImage) Start ¶ added in v1.39.0
func (pi *ProviderImage) Start(options *StartOptions) (string, error)
func (*ProviderImage) Stop ¶ added in v1.39.0
func (pi *ProviderImage) Stop() error
func (*ProviderImage) Uninstall ¶ added in v1.39.0
func (pi *ProviderImage) Uninstall() error
type ProviderProcess ¶ added in v1.34.0
type ProviderProcess struct { Address string // contains filtered or unexported fields }
ProviderProcess - A deployment engine based on a locally executable binary file
func StartProviderExecutable ¶ added in v1.34.0
func StartProviderExecutable(fs afero.Fs, executablePath string, opts ...ProviderExecutableOption) (*ProviderProcess, error)
func (*ProviderProcess) Stop ¶ added in v1.34.0
func (b *ProviderProcess) Stop() error
type StandardProvider ¶ added in v1.39.0
type StandardProvider struct {
// contains filtered or unexported fields
}
func NewStandardProvider ¶ added in v1.39.0
func NewStandardProvider(providerId string, fs afero.Fs) (*StandardProvider, error)
func (*StandardProvider) Install ¶ added in v1.39.0
func (sp *StandardProvider) Install() error
func (*StandardProvider) Start ¶ added in v1.39.0
func (sp *StandardProvider) Start(opts *StartOptions) (string, error)
func (*StandardProvider) Stop ¶ added in v1.39.0
func (sp *StandardProvider) Stop() error
Click to show internal directories.
Click to hide internal directories.