command

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() map[string]cli.CommandFactory

Commands returns the cli commands

Types

type ApplyCommand added in v0.1.3

type ApplyCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*ApplyCommand) Flags added in v0.1.3

func (c *ApplyCommand) Flags() *flagset.Flagset

func (*ApplyCommand) Help added in v0.1.3

func (c *ApplyCommand) Help() string

Synopsis implements the cli.Command interface

func (*ApplyCommand) Run added in v0.1.3

func (c *ApplyCommand) Run(args []string) int

Run implements the cli.Command interface

func (*ApplyCommand) Synopsis added in v0.1.3

func (c *ApplyCommand) Synopsis() string

Help implements the cli.Command interface

type DeleteCommand added in v0.1.3

type DeleteCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*DeleteCommand) Flags added in v0.1.3

func (d *DeleteCommand) Flags() *flagset.Flagset

func (*DeleteCommand) Help added in v0.1.3

func (d *DeleteCommand) Help() string

Synopsis implements the cli.Command interface

func (*DeleteCommand) Run added in v0.1.3

func (d *DeleteCommand) Run(args []string) int

Run implements the cli.Command interface

func (*DeleteCommand) Synopsis added in v0.1.3

func (d *DeleteCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentCommand added in v0.1.3

type DeploymentCommand struct {
	UI cli.Ui
}

func (*DeploymentCommand) Help added in v0.1.3

func (c *DeploymentCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentCommand) Run added in v0.1.3

func (c *DeploymentCommand) Run(args []string) int

Run implements the cli.Command interface

func (*DeploymentCommand) Synopsis added in v0.1.3

func (c *DeploymentCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentListCommand added in v0.1.3

type DeploymentListCommand struct {
	Meta
}

func (*DeploymentListCommand) Flags added in v0.1.3

func (*DeploymentListCommand) Help added in v0.1.3

func (c *DeploymentListCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentListCommand) Run added in v0.1.3

func (c *DeploymentListCommand) Run(args []string) int

Run implements the cli.Command interface

func (*DeploymentListCommand) Synopsis added in v0.1.3

func (c *DeploymentListCommand) Synopsis() string

Synopsis implements the cli.Command interface

type DeploymentStatusCommand added in v0.1.3

type DeploymentStatusCommand struct {
	Meta
}

func (*DeploymentStatusCommand) Flags added in v0.1.3

func (*DeploymentStatusCommand) Help added in v0.1.3

func (c *DeploymentStatusCommand) Help() string

Help implements the cli.Command interface

func (*DeploymentStatusCommand) Run added in v0.1.3

func (c *DeploymentStatusCommand) Run(args []string) int

Run implements the cli.Command interface

func (*DeploymentStatusCommand) Synopsis added in v0.1.3

func (c *DeploymentStatusCommand) Synopsis() string

Synopsis implements the cli.Command interface

type K8sArtifactsCommand

type K8sArtifactsCommand struct {
	Meta
	// contains filtered or unexported fields
}

K8sArtifactsCommand is the command for kubernetes

func (*K8sArtifactsCommand) Flags added in v0.1.3

func (c *K8sArtifactsCommand) Flags() *flagset.Flagset

func (*K8sArtifactsCommand) Help

func (k *K8sArtifactsCommand) Help() string

Help implements the cli.Command interface

func (*K8sArtifactsCommand) Run

func (k *K8sArtifactsCommand) Run(args []string) int

Run implements the cli.Command interface

func (*K8sArtifactsCommand) Synopsis

func (k *K8sArtifactsCommand) Synopsis() string

Synopsis implements the cli.Command interface

type K8sCommand

type K8sCommand struct {
	UI cli.Ui
}

K8sCommand is the command for kubernetes

func (*K8sCommand) Help

func (k *K8sCommand) Help() string

Help implements the cli.Command interface

func (*K8sCommand) Run

func (k *K8sCommand) Run(args []string) int

Run implements the cli.Command interface

func (*K8sCommand) Synopsis

func (k *K8sCommand) Synopsis() string

Synopsis implements the cli.Command interface

type K8sInitCommand

type K8sInitCommand struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

K8sInitCommand is the command to init a kubernetes cluster

func (*K8sInitCommand) Flags added in v0.1.3

func (k *K8sInitCommand) Flags() *flagset.Flagset

func (*K8sInitCommand) Help

func (k *K8sInitCommand) Help() string

Help implements the cli.Command interface

func (*K8sInitCommand) Run

func (k *K8sInitCommand) Run(args []string) int

Run implements the cli.Command interface

func (*K8sInitCommand) Synopsis

func (k *K8sInitCommand) Synopsis() string

Synopsis implements the cli.Command interface

type Meta

type Meta struct {
	UI cli.Ui
	// contains filtered or unexported fields
}

Meta is a helper utility for the commands

func (*Meta) Conn

func (m *Meta) Conn() (proto.EnsembleServiceClient, error)

Conn returns a grpc connection

func (*Meta) NewFlagSet added in v0.1.3

func (m *Meta) NewFlagSet(n string) *flagset.Flagset

type VersionCommand

type VersionCommand struct {
	UI cli.Ui
}

VersionCommand is the command to show the version of the agent

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help implements the cli.Command interface

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

Run implements the cli.Command interface

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis implements the cli.Command interface

Directories

Path Synopsis
Package artifacts generated by go-bindata.// sources: ../charts/operator/.helmignore ../charts/operator/Chart.yaml ../charts/operator/crds/cluster.yaml ../charts/operator/crds/resource.yaml ../charts/operator/templates/_helpers.tpl ../charts/operator/templates/cluster-role-binding.yaml ../charts/operator/templates/cluster-role.yaml ../charts/operator/templates/deployment.yaml ../charts/operator/templates/service.yaml ../charts/operator/templates/serviceaccount.yaml ../charts/operator/values.yaml
Package artifacts generated by go-bindata.// sources: ../charts/operator/.helmignore ../charts/operator/Chart.yaml ../charts/operator/crds/cluster.yaml ../charts/operator/crds/resource.yaml ../charts/operator/templates/_helpers.tpl ../charts/operator/templates/cluster-role-binding.yaml ../charts/operator/templates/cluster-role.yaml ../charts/operator/templates/deployment.yaml ../charts/operator/templates/service.yaml ../charts/operator/templates/serviceaccount.yaml ../charts/operator/values.yaml

Jump to

Keyboard shortcuts

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