clusterinfo

package
v1.59.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

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 added in v1.36.1

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