clusterdeployment

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdClusterDeployment

func NewCmdClusterDeployment(streams genericclioptions.IOStreams, client client.Client) *cobra.Command

NewCmdClusterDeployment implements the base cluster deployment command

Types

type ListResources

type ListResources struct {
	genericclioptions.IOStreams

	ClusterDeployment     hivev1.ClusterDeployment
	ClusterId             string
	P                     Printer
	ExternalResourcesOnly bool
	KubeCli               client.Client
	Cmd                   *cobra.Command
}

listOptions defines the struct for running list command

func (*ListResources) PrintRow

func (l *ListResources) PrintRow(m v1.ObjectMeta, t v1.TypeMeta)

func (*ListResources) RunListResources

func (l *ListResources) RunListResources() error

type Printer

type Printer interface {
	AddRow(row []string)
	Flush() error
}

Directories

Path Synopsis
mock
k8s
Package client is a generated GoMock package.
Package client is a generated GoMock package.
printer
Package printer is a generated GoMock package.
Package printer is a generated GoMock package.

Jump to

Keyboard shortcuts

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