cluster

package
v0.0.0-...-82afbb8 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterCommand

func NewClusterCommand(errOut io.Writer) *cobra.Command

NewClusterCommand creates a new cluster

Types

type Auth

type Auth struct {
	Type     string
	FileName string
}

type Cluster

type Cluster struct {
	PullSecrets []string
	Dir         string
	TemplateData
	Config config.File
	// contains filtered or unexported fields
}

type RedHatCloud

type RedHatCloud struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
	Created     string
}

type TemplateData

type TemplateData struct {
	SSHKey                string
	PullSecret            string
	ClusterName           string
	WorkerReplicas        string
	MasterReplicas        string
	LogLevel              string
	ProviderRegion        string
	ClusterCidr           string
	ClusterCidrHostPrefix int
	MachineCidr           []string
	ServiceCidr           string
	NetworkType           string
	LibvirtURI            string
	ClusterDir            string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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