google

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 12 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 {
	Name    string `yaml:"name"`
	Cluster struct {
		Server string `yaml:"server"`
		CAData string `yaml:"certificate-authority-data"`
	} `yaml:"cluster"`
}

type Context

type Context struct {
	Context struct {
		Cluster string `yaml:"cluster"`
		User    string `yaml:"user"`
	} `yaml:"context"`
	Name string `yaml:"name"`
}

type GoogleBackend

type GoogleBackend struct {
	backend.BaseBackend
	Config s.Config
	Kube   s.Kube
}

func NewGoogleBackend

func NewGoogleBackend(config s.Config, kube s.Kube) (*GoogleBackend, error)

func (*GoogleBackend) Login

func (b *GoogleBackend) Login() []*exec.Cmd

type KubeConfig

type KubeConfig struct {
	Apiversion     string     `yaml:"apiVersion"`
	Kind           string     `yaml:"kind"`
	CurrentContext string     `yaml:"current-context"`
	Contexts       []Context  `yaml:"contexts"`
	Users          []User     `yaml:"users"`
	Clusters       []Clusters `yaml:"clusters"`
}

type User

type User struct {
	Name string `yaml:"name"`
	User struct {
		AuthProvider struct {
			Name string `yaml:"name"`
		} `yaml:"auth-provider"`
	} `yaml:"user"`
}

Jump to

Keyboard shortcuts

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