structs

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clusters

type Clusters struct {
	Clusters []Configurations `yaml:"clusters"`
}

type Configurations

type Configurations struct {
	Url   string `yaml:"url"`
	Token string `yaml:"token"`
	Ca    string `yaml:"ca"`
	Name  string `yaml:"name"`
	Type  Type   `yaml:"type"`
}

type K8sClient

type K8sClient struct {
	ClusterName string
	ClientSet   *kubernetes.Clientset
}

type K8sClients

type K8sClients struct {
	K8sCli []K8sClient
}

type Type

type Type string
const (
	Remote Type = "remote"
	Local  Type = "local"
)

Jump to

Keyboard shortcuts

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