kubeconfigs

package
v0.0.0-...-597cd30 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientAuthInfo

type ClientAuthInfo interface {
	Generate() (map[string]*clientcmdapi.AuthInfo, error)
	CACert() []byte
}

type Provider

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

func Reconciler

func Reconciler(kubeClient *kubeprovider.Client) *Provider

func (*Provider) ReconcileConfigFor

func (p *Provider) ReconcileConfigFor(ctx context.Context, controlPlane *v1alpha1.ControlPlane, request *Request) error

type Request

type Request struct {
	Name              string
	ClusterName       string
	Namespace         string
	ClusterContext    string
	ApiServerEndpoint string
	Contexts          map[string]*clientcmdapi.Context
	AuthInfo          ClientAuthInfo
}

Jump to

Keyboard shortcuts

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