v3ctl

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCommandeerRegistrySingleton = registry.NewRegistry("createCommandeer")

create creates a "create" commandeer

View Source
var DeleteCommandeerRegistrySingleton = registry.NewRegistry("deleteCommandeer")

delete deletes a "delete" commandeer

View Source
var GetCommandeerRegistrySingleton = registry.NewRegistry("getCommandeer")

get gets a "get" commandeer

Functions

This section is empty.

Types

type CreateCommandeer

type CreateCommandeer struct {
	Cmd            *cobra.Command
	RootCommandeer *RootCommandeer
}

func (*CreateCommandeer) Initialize

func (c *CreateCommandeer) Initialize() error

type DeleteCommandeer

type DeleteCommandeer struct {
	Cmd            *cobra.Command
	RootCommandeer *RootCommandeer
}

func (*DeleteCommandeer) Initialize

func (c *DeleteCommandeer) Initialize() error

type GetCommandeer

type GetCommandeer struct {
	Cmd            *cobra.Command
	RootCommandeer *RootCommandeer
}

func (*GetCommandeer) Initialize

func (c *GetCommandeer) Initialize() error

type RootCommandeer

type RootCommandeer struct {
	Logger        logger.Logger
	WebapiURL     string
	ControlURL    string
	ContainerName string

	Username            string
	Password            string
	AccessKey           string
	ControlPlaneSession v3ioc.Session
	DataPlaneContext    v3io.Context
	Container           v3io.Container
	Output              string
	// contains filtered or unexported fields
}

func NewRootCommandeer

func NewRootCommandeer() (*RootCommandeer, error)

func (*RootCommandeer) Execute

func (c *RootCommandeer) Execute() error

Execute uses os.Args to execute the command

func (*RootCommandeer) GetControlPlaneSession

func (c *RootCommandeer) GetControlPlaneSession() (v3ioc.Session, error)

func (*RootCommandeer) Initialize

func (c *RootCommandeer) Initialize() error

func (*RootCommandeer) Render

func (c *RootCommandeer) Render(info interface{}, columns []string, records [][]string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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