clientutil

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// FilePathKubeletConfig contains the kubelet.conf file path
	FilePathKubeletConfig = "/etc/kubernetes/kubelet.conf"
)
View Source
const (
	// LabelRole contains the key for the role label
	LabelRole = "node-role.kubernetes.io"
)
View Source
const (
	// RoleWorker contains the worker role
	RoleWorker = "worker"
)

Variables

This section is empty.

Functions

func New

func New() (client.Client, error)

New returns a controller-runtime client.

func NewK8s

func NewK8s() (*kubernetes.Clientset, error)

NewK8s returns a kubernetes clientset

func NewK8sExt

func NewK8sExt() (*apiextension.Clientset, error)

func NewTopologyClient

func NewTopologyClient() (*topologyclientset.Clientset, error)

Types

type OCPClientSet

type OCPClientSet struct {
	SecurityV1 *securityv1.SecurityV1Client
}

func NewOCPClientSet

func NewOCPClientSet() (*OCPClientSet, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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