utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientset

func NewClientset(kubeconfig, context string) (*kubernetes.Clientset, error)

NewClientset creates a new kubernetes clientset

func SelectItem added in v0.2.0

func SelectItem(client core.Duplik8sClient, namespace, selectMessage string) (core.DuplicableObject, error)

Types

type KubeOptions

type KubeOptions struct {
	Kubeconfig  string
	Kubecontext string
	Namespace   string
}

Jump to

Keyboard shortcuts

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