Documentation ¶
Index ¶
- func FullBootstrap(ctx context.Context, b target.Bootstrapper, m manifest.ReleaseManifest, ...) error
- func FullBootstrapHA(ctx context.Context, b target.Bootstrapper, config *dc.ConfigRequest, ...) error
- func NewCompatBootstrapper(t target.Target) target.Bootstrapper
- type DeploymentServiceCommand
- func (ds *DeploymentServiceCommand) CanBootstrap() bool
- func (ds *DeploymentServiceCommand) CanUnpackBootstrapBundle() bool
- func (ds *DeploymentServiceCommand) DeployService(ctx context.Context, config *dc.ConfigRequest, m manifest.ReleaseManifest, ...) error
- func (ds *DeploymentServiceCommand) HasCapability(capname string) bool
- func (ds *DeploymentServiceCommand) SetupSupervisor(ctx context.Context, config *dc.ConfigRequest, m manifest.ReleaseManifest) error
- func (ds *DeploymentServiceCommand) UnpackBootstrapBundle(ctx context.Context, bundlePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullBootstrap ¶
func FullBootstrap(ctx context.Context, b target.Bootstrapper, m manifest.ReleaseManifest, config *dc.ConfigRequest, bootstrapBundlePath string, writer cli.FormatWriter) error
func FullBootstrapHA ¶
func FullBootstrapHA(ctx context.Context, b target.Bootstrapper, config *dc.ConfigRequest, currentM manifest.ReleaseManifest, writer cli.FormatWriter, saas bool) error
func NewCompatBootstrapper ¶
func NewCompatBootstrapper(t target.Target) target.Bootstrapper
NewCompatBootstrapper returns a Bootstrapper that uses the latest bootstrap method available for version of Chef Automate version being deployed. This allows us to bootstrap older versions of deployment-service that do not support the `setup-supervisor` or `deploy-service` commands.
Types ¶
type DeploymentServiceCommand ¶
type DeploymentServiceCommand struct { CmdExecutor command.Executor // contains filtered or unexported fields }
func NewDeploymentServiceCommand ¶
func NewDeploymentServiceCommand(dsPkg habpkg.VersionedPackage, t target.Target) *DeploymentServiceCommand
func (*DeploymentServiceCommand) CanBootstrap ¶
func (ds *DeploymentServiceCommand) CanBootstrap() bool
func (*DeploymentServiceCommand) CanUnpackBootstrapBundle ¶
func (ds *DeploymentServiceCommand) CanUnpackBootstrapBundle() bool
func (*DeploymentServiceCommand) DeployService ¶
func (ds *DeploymentServiceCommand) DeployService(ctx context.Context, config *dc.ConfigRequest, m manifest.ReleaseManifest, bootstrapBundlePath string) error
func (*DeploymentServiceCommand) HasCapability ¶
func (ds *DeploymentServiceCommand) HasCapability(capname string) bool
func (*DeploymentServiceCommand) SetupSupervisor ¶
func (ds *DeploymentServiceCommand) SetupSupervisor(ctx context.Context, config *dc.ConfigRequest, m manifest.ReleaseManifest) error
func (*DeploymentServiceCommand) UnpackBootstrapBundle ¶
func (ds *DeploymentServiceCommand) UnpackBootstrapBundle(ctx context.Context, bundlePath string) error
Click to show internal directories.
Click to hide internal directories.