bootstrap

package
v0.0.0-...-66c7a0d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

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 (*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 (*DeploymentServiceCommand) UnpackBootstrapBundle

func (ds *DeploymentServiceCommand) UnpackBootstrapBundle(ctx context.Context, bundlePath string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL