deployments

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAtlasNotSupported = errors.New("atlas deployments are not supported")
)
View Source
var (
	ErrDeploymentIsDeleting = errors.New("deployment state is DELETING")
)

Functions

func Builder

func Builder() *cobra.Command

func ConnectBuilder

func ConnectBuilder() *cobra.Command

atlas deployments connect [clusterName].

func DeleteBuilder

func DeleteBuilder() *cobra.Command

atlas deployments delete <clusterName>.

func DiagnosticsBuilder

func DiagnosticsBuilder() *cobra.Command

func ListBuilder

func ListBuilder() *cobra.Command

ListBuilder atlas deployments list.

func LogsBuilder

func LogsBuilder() *cobra.Command

atlas deployments logs.

func PauseBuilder

func PauseBuilder() *cobra.Command

func Run

func Run(ctx context.Context, opts *options.ConnectOpts) error

func SetupBuilder

func SetupBuilder() *cobra.Command

atlas deployments setup.

func StartBuilder

func StartBuilder() *cobra.Command

Types

type DeleteOpts

type DeleteOpts struct {
	cli.OutputOpts
	cli.GlobalOpts
	*cli.DeleteOpts
	cli.WatchOpts
	options.DeploymentOpts
	// contains filtered or unexported fields
}

func (*DeleteOpts) PostRun

func (opts *DeleteOpts) PostRun() error

func (*DeleteOpts) Run

func (opts *DeleteOpts) Run(ctx context.Context) error

type DownloadOpts

type DownloadOpts struct {
	cli.OutputOpts
	cli.GlobalOpts
	cli.DownloaderOpts
	options.DeploymentOpts
	// contains filtered or unexported fields
}

func (*DownloadOpts) Run

func (opts *DownloadOpts) Run(ctx context.Context) error

func (*DownloadOpts) RunAtlas

func (opts *DownloadOpts) RunAtlas() error

func (*DownloadOpts) RunLocal

func (opts *DownloadOpts) RunLocal(ctx context.Context) error

type ListOpts

type ListOpts struct {
	cli.OutputOpts
	cli.GlobalOpts
	options.DeploymentOpts
}

func (*ListOpts) PostRun

func (opts *ListOpts) PostRun() error

func (*ListOpts) Run

func (opts *ListOpts) Run(ctx context.Context) error

type PauseOpts

type PauseOpts struct {
	cli.OutputOpts
	cli.GlobalOpts
	options.DeploymentOpts
	// contains filtered or unexported fields
}

func (*PauseOpts) Run

func (opts *PauseOpts) Run(ctx context.Context) error

func (*PauseOpts) RunAtlas

func (opts *PauseOpts) RunAtlas() error

func (*PauseOpts) RunLocal

func (opts *PauseOpts) RunLocal(ctx context.Context, deployment options.Deployment) error

func (*PauseOpts) StopMongoD

func (opts *PauseOpts) StopMongoD(ctx context.Context, names string) error

type SetupOpts

type SetupOpts struct {
	options.DeploymentOpts
	cli.OutputOpts
	cli.GlobalOpts
	cli.InputOpts
	// contains filtered or unexported fields
}

func (*SetupOpts) Run

func (opts *SetupOpts) Run(ctx context.Context) error

type StartOpts

type StartOpts struct {
	cli.OutputOpts
	cli.GlobalOpts
	options.DeploymentOpts
	// contains filtered or unexported fields
}

func (*StartOpts) Run

func (opts *StartOpts) Run(ctx context.Context) error

func (*StartOpts) RunAtlas

func (opts *StartOpts) RunAtlas() error

func (*StartOpts) RunLocal

func (opts *StartOpts) RunLocal(ctx context.Context, deployment options.Deployment) error

Directories

Path Synopsis
test

Jump to

Keyboard shortcuts

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