k8s

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 28 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 {
	client.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(opts ...pkg.KubernetesOption) (*Client, error)

func (Client) Dynamic

func (k Client) Dynamic() dynamic.Interface

type Option

type Option func(optionsApplier pkg.KubernetesOptionApplier)

func WithSchemeBuilder

func WithSchemeBuilder(builder runtime.SchemeBuilder) Option

WithSchemeBuilder allows to add custom scheme builder to the controller-runtime client All default kubernetes schemes (k8s.io/api) is already added by default

func (Option) Apply

func (opt Option) Apply(o pkg.KubernetesOptionApplier)

Jump to

Keyboard shortcuts

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