do

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate added in v0.14.0

func Generate(c *config.Config) error

Generate creates the kubeconfig for DigitalOcean

Types

type Generator added in v0.15.0

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

Generator provides a struct through which we call our funcs

type Metadata

type Metadata struct {
	CaCert       string `yaml:"k8saas_ca_cert" json:"k8saas_ca_cert"`
	KubeletToken string `yaml:"k8saas_bootstrap_token" json:"k8saas_bootstrap_token"`
	KubeMaster   string `yaml:"k8saas_master_domain_name" json:"k8saas_master_domain_name"`
}

Metadata stores the Kubernetes-related YAML

Jump to

Keyboard shortcuts

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