indexes

package
v1.56.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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoDeploymentName = errors.New("deployment name is required for Atlas resources")
View Source
var ErrNotAuthenticated = errors.New("not authenticated, login first to create Atlas resources")
View Source
var ErrSearchIndexDuplicated = errors.New("search index is duplicated")
View Source
var ErrWatchNotAvailable = errors.New("watch is not available for Atlas resources")

Functions

func Builder

func Builder() *cobra.Command

func CreateBuilder

func CreateBuilder() *cobra.Command

func DeleteBuilder

func DeleteBuilder() *cobra.Command

func DescribeBuilder

func DescribeBuilder() *cobra.Command

func ListBuilder

func ListBuilder() *cobra.Command

Types

type CreateOpts

type CreateOpts struct {
	cli.WatchOpts
	cli.GlobalOpts
	cli.OutputOpts
	options.DeploymentOpts
	search.IndexOpts
	// contains filtered or unexported fields
}

func (*CreateOpts) PostRun

func (opts *CreateOpts) PostRun(ctx context.Context) error

func (*CreateOpts) Run

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

func (*CreateOpts) RunAtlas

func (opts *CreateOpts) RunAtlas() error

func (*CreateOpts) RunLocal

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

type DeleteOpts

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

func (*DeleteOpts) Run

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

func (*DeleteOpts) RunAtlas

func (opts *DeleteOpts) RunAtlas() error

func (*DeleteOpts) RunLocal

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

type DescribeOpts

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

func (*DescribeOpts) Run

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

func (*DescribeOpts) RunAtlas

func (opts *DescribeOpts) RunAtlas() error

func (*DescribeOpts) RunLocal

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

type ListOpts

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

func (*ListOpts) Run

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

func (*ListOpts) RunAtlas

func (opts *ListOpts) RunAtlas() error

func (*ListOpts) RunLocal

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

Jump to

Keyboard shortcuts

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