kubernetes

package
v0.3.83 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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 NativeAuthDetails

type NativeAuthDetails struct {
	Expiry  int64
	Enabled bool
}

type NativeTokenCredentials

type NativeTokenCredentials struct {
	TokenSource oauth2.TokenSource
}

func AuthenticateKubernetesNative

func AuthenticateKubernetesNative(config NativeAuthDetails) (*NativeTokenCredentials, error)

func (*NativeTokenCredentials) GetRequestMetadata

func (c *NativeTokenCredentials) GetRequestMetadata(context.Context, ...string) (map[string]string, error)

func (*NativeTokenCredentials) RequireTransportSecurity

func (c *NativeTokenCredentials) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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