kubeadm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeConf

type KubeConf struct {
	IP            string
	CertKey       string
	LBDnsPriv     string
	Region        string
	ClusterName   string
	DNSName       string
	PodSubnet     string
	ServiceSubnet string
	KeyArn        string
	KubeVersion   string
}

func New

func New(clusterName, ip, region, lbDnsPriv, podSubnet, serviceSubnet, keyarn, kubever string) *KubeConf

func (*KubeConf) ApiSecretsProviderFile

func (c *KubeConf) ApiSecretsProviderFile(fn string) error

func (*KubeConf) ApiSecretsProviderYaml

func (c *KubeConf) ApiSecretsProviderYaml() string

func (*KubeConf) KubeadmFile

func (c *KubeConf) KubeadmFile(fn string) error

func (*KubeConf) KubeadmYaml

func (c *KubeConf) KubeadmYaml() (string, error)

func (*KubeConf) Kustomization

func (c *KubeConf) Kustomization() string

func (*KubeConf) KustomizationFile

func (c *KubeConf) KustomizationFile(fn string) error

func (*KubeConf) Secrets

func (c *KubeConf) Secrets() string

func (*KubeConf) SecretsFile

func (c *KubeConf) SecretsFile(fn string) error

func (*KubeConf) SecretsProvider

func (c *KubeConf) SecretsProvider() (string, error)

func (*KubeConf) SecretsProviderFile

func (c *KubeConf) SecretsProviderFile(fn string) error

Jump to

Keyboard shortcuts

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