client

package
v0.0.0-...-73e19b3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// FromClientConfig returns a Kubernetes client for the given client config.
	FromClientConfig(config clientcmd.ClientConfig) (client.Client, error)
}

Provider is able to take a kubeconfig either directly or from a file and return a controller-runtime client for it.

func NewProvider

func NewProvider() Provider

NewProvider returns a new Provider.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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