kubeconfig

package
v0.0.0-...-1308b90 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicKubeconfigAPI

type DynamicKubeconfigAPI interface {
	Create(ctx context.Context, obj gardenerClient.Object, subResource gardenerClient.Object, opts ...gardenerClient.SubResourceCreateOption) error
}

type Provider

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

func NewKubeconfigProvider

func NewKubeconfigProvider(
	shootClient ShootClient,
	dynamicKubeconfigAPI DynamicKubeconfigAPI,
	shootNamespace string,
	expirationInSeconds int64) Provider

func (Provider) Fetch

func (kp Provider) Fetch(ctx context.Context, shootName string) (string, error)

type ShootClient

type ShootClient interface {
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.Shoot, error)
}

Jump to

Keyboard shortcuts

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