kube

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllContexts

func GetAllContexts(pathToKubeConfig string) ([]string, error)

func IsLoadBalancer

func IsLoadBalancer(svc core.Service) bool

Types

type Kube

type Kube interface {
	GetNamespaces() ([]string, error)
	GetClientSet() *kubernetes.Clientset
	GetCrdClientSet() *apixv1beta1client.ApiextensionsV1beta1Client
	GetArgoServerSvc(string) (core.Service, error)
	GetLoadBalancerHost(svc core.Service) (string, error)

	GetService(string) (*core.Service, error)
	GetAutogeneratedPassword() (string, error)
	GetArgoServerHost() (string, error)
}

func New

func New(o *Options) (Kube, error)

type Options

type Options struct {
	ContextName      string
	Namespace        string
	PathToKubeConfig string
	InCluster        bool
	FailFast         bool
}

Jump to

Keyboard shortcuts

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