client

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Fleet     fleetcontrollers.Interface
	Core      corev1.Interface
	RBAC      rbaccontrollers.Interface
	Apply     apply.Apply
	Namespace string
}

func NewClient

func NewClient(kubeConfig, context, namespace string) (*Client, error)

type Getter

type Getter struct {
	Kubeconfig string
	Context    string
	Namespace  string
}

func NewGetter

func NewGetter(kubeconfig, context, namespace string) *Getter

func (*Getter) Get

func (g *Getter) Get() (*Client, error)

func (*Getter) GetNamespace

func (g *Getter) GetNamespace() string

Jump to

Keyboard shortcuts

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