kubeconfig

package
v1.23.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProvider

type AuthProvider struct {
	LocationOfOrigin            string      // Path to the kubeconfig file which contains the user
	UserName                    UserName    // User name
	ContextName                 ContextName // (optional) Context name
	IDPIssuerURL                string      // idp-issuer-url
	ClientID                    string      // client-id
	ClientSecret                string      // (optional) client-secret
	IDPCertificateAuthority     string      // (optional) idp-certificate-authority
	IDPCertificateAuthorityData string      // (optional) idp-certificate-authority-data
	ExtraScopes                 []string    // (optional) extra-scopes
	IDToken                     string      // (optional) id-token
	RefreshToken                string      // (optional) refresh-token
}

AuthProvider represents the authentication provider, i.e. context, user and auth-provider in a kubeconfig.

type ContextName

type ContextName string

ContextName represents name of a context.

type UserName

type UserName string

UserName represents name of a user.

Directories

Path Synopsis
mock_loader
Package mock_loader is a generated GoMock package.
Package mock_loader is a generated GoMock package.
mock_writer
Package mock_writer is a generated GoMock package.
Package mock_writer is a generated GoMock package.

Jump to

Keyboard shortcuts

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