service

package
v0.0.0-...-00e4979 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

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

Credential - cluster credential

type CredentialsBuilder

type CredentialsBuilder struct{}

CredentialsBuilder - Credentials Service

func (*CredentialsBuilder) Build

func (c *CredentialsBuilder) Build(certificateAuthority []byte,
	clusterName string) (*Credential, error)

Build - Build credential

type KubeConfigBuilder

type KubeConfigBuilder struct {
}

KubeConfigBuilder - kubeconfig generator

func (*KubeConfigBuilder) GenerateKubeConfig

func (kcm *KubeConfigBuilder) GenerateKubeConfig(credential Credential, server, user string) (*string, error)

GenerateKubeConfig - generate kubernetes configuration

Jump to

Keyboard shortcuts

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