troubleshoot

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auths

type Auths struct {
	Auths Endpoints `json:"auths"`
}

type CommandBuilder

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

func NewTroubleshootCommandBuilder

func NewTroubleshootCommandBuilder() CommandBuilder

func (CommandBuilder) Build

func (builder CommandBuilder) Build() *cobra.Command

func (CommandBuilder) GetCluster

func (builder CommandBuilder) GetCluster(kubeConfig *rest.Config) (cluster.Cluster, error)

func (CommandBuilder) SetConfigProvider

func (builder CommandBuilder) SetConfigProvider(provider config.Provider) CommandBuilder

type Credentials

type Credentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Auth     string `json:"auth"`
}

type Endpoints

type Endpoints map[string]Credentials

Jump to

Keyboard shortcuts

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