v1alpha1

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package v1alpha1 represents the v1alpha1 version of extenisons for the Cluster Bundle API. These are APIs that are not core to the Cluster Bundle, but provide value-add functionality.

These types here are quite experimental and indicate how we think the ClusterBundle and components might be used to create clusters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvVar

type EnvVar struct {
	// Name of this environment variable. E.g., FOO_VAR. The name of the
	// environment variable should be unique within a node bootstrap
	// configuration.
	Name string `json:"name,omitempty"`

	// Value of this environment variable.
	Value string `json:"value,omitempty"`
}

EnvVar is an environment variable.

type NodeConfig

type NodeConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// InitFile is specified inline as a UTF-8 encoded byte string.
	InitFile []byte `json:"initFile,omitempty"`

	// ExternalInitFile is an externally specified init file.
	ExternalInitFile bundle.File `json:"externalInitFile,omitempty"`

	// EnvVars are variables to set before startup to configure the init script.
	EnvVars []EnvVar `json:"envVars,omitempty"`

	// OsImage is the the OS image to use for VM creation.
	OsImage bundle.File `json:"osImage,omitempty"`
}

NodeConfig contains configuration for node images. This is a resource that provides information about which images are available for node creation and how to initialize the node images.

Jump to

Keyboard shortcuts

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