clientutil

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (client.Client, error)

New returns a controller-runtime client.

func NewDiscoveryClient added in v0.4.0

func NewDiscoveryClient() (*discovery.DiscoveryClient, error)

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 {
	ConfigV1 *configv1.ConfigV1Client
}

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