Documentation ¶
Index ¶
- func FullBootstrap(b target.Bootstrapper, m manifest.ReleaseManifest, config *dc.ConfigRequest, ...) error
- func NewCompatBootstrapper(t target.Target) target.Bootstrapper
- type DeploymentServiceCommand
- func (ds *DeploymentServiceCommand) CanBootstrap() bool
- func (ds *DeploymentServiceCommand) DeployService(config *dc.ConfigRequest, m manifest.ReleaseManifest) error
- func (ds *DeploymentServiceCommand) HasCapability(capname string) bool
- func (ds *DeploymentServiceCommand) SetupSupervisor(config *dc.ConfigRequest, m manifest.ReleaseManifest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FullBootstrap ¶
func FullBootstrap(b target.Bootstrapper, m manifest.ReleaseManifest, config *dc.ConfigRequest, writer cli.FormatWriter) 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) DeployService ¶
func (ds *DeploymentServiceCommand) DeployService(config *dc.ConfigRequest, m manifest.ReleaseManifest) error
func (*DeploymentServiceCommand) HasCapability ¶
func (ds *DeploymentServiceCommand) HasCapability(capname string) bool
func (*DeploymentServiceCommand) SetupSupervisor ¶
func (ds *DeploymentServiceCommand) SetupSupervisor(config *dc.ConfigRequest, m manifest.ReleaseManifest) error
Click to show internal directories.
Click to hide internal directories.