icsp

package
v0.0.0-...-54d739a Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create() *cobra.Command

Create creates and returns the `create icsp` command.

Types

type CreateCommand

type CreateCommand struct {
	// contains filtered or unexported fields
}

CreateCommand contains the data and logic needed to run the `create icsp` command.

func NewCommand

func NewCommand() *CreateCommand

NewCommand creates a new runner that knows how to execute the `create icsp` command.

func (*CreateCommand) Run

func (c *CreateCommand) Run(cmd *cobra.Command, argv []string) error

Run runs the `create icsp` command.

type CreateTask

type CreateTask struct {
	// contains filtered or unexported fields
}

CreateTask contains the information necessary to complete each of the tasks that this command runs, in particular it contains the reference to the cluster it works with, so that it isn't necessary to pass this reference around all the time.

func (*CreateTask) Run

func (t *CreateTask) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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