kubernetes

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetObject added in v0.0.16

func GetObject(kubeconfig string, name string, namespace string, fetchObject *KubeObject) error

func GetObjectWithClient added in v0.0.16

func GetObjectWithClient(contextClient client.Client, name string, namespace string, runtimeObj runtime.Object) error

func GetPod added in v0.0.11

func GetPod(kubeconfig string, nameRegex *string, labelSelector *string, namespace string, fetchObject *KubeObject) error

func ListSummonPlatforms added in v0.0.23

func ListSummonPlatforms(kubeconfig string, nameregex string, namespace string) (summonv1beta1.SummonPlatformList, error)

Types

type KubeObject added in v0.0.16

type KubeObject struct {
	Top     runtime.Object
	Client  client.Client
	Context *kubeContext
}

type Subject added in v0.0.27

type Subject struct {
	Region    string
	Env       string
	Namespace string
	Name      string
	Type      string
}

func ParseSubject added in v0.0.27

func ParseSubject(instanceName string) (Subject, error)

Parses the instance and returns an array of strings denoting: [region, env, subject, namespace]

Jump to

Keyboard shortcuts

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