Help us shape the future of Go! Take the 2026 Go Developer Survey

clientset

package
v0.35.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	// contains filtered or unexported fields
}

Clientset maps GroupVersionResources to underlying dynamic clients. If the GVR does not exist, operations will return an error.

func (*Clientset) Add

func (r *Clientset) Add(resource schema.GroupVersionResource, client dynamic.Interface)

Add adds a new mapping for the given resource.

func (*Clientset) Resource

Resource returns the dynamic Resource for the given GVR. If not configured, an error resource is returned.

type Option

type Option func(*Clientset)

Option defines optional configuration for the Clientset. Most commonly used to initialize extensions.

Jump to

Keyboard shortcuts

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