clusterinfo

package
v0.0.0-...-7b24307 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeconfigProvider

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

func New

func New(clientConfig *rest.Config, kubeClient kubernetes.Interface) *KubeconfigProvider

func (*KubeconfigProvider) GetBearerToken

func (p *KubeconfigProvider) GetBearerToken() string

func (*KubeconfigProvider) GetKubeconfig

func (p *KubeconfigProvider) GetKubeconfig(ctx context.Context, log *zap.SugaredLogger) (*clientcmdapi.Config, error)

Jump to

Keyboard shortcuts

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