Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the settings.gardener.cloud API group +groupName=settings.gardener.cloud +kubebuilder:object:generate=true

Index

Constants

View Source
const (
	// V1Alpha1 is the API version
	V1Alpha1 = "mcm.gardener.cloud/v1alpha1"
	// ProviderName is the provider name
	ProviderName = "ironcore"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProviderSpec

type ProviderSpec struct {
	// Image is the URL pointing to an OCI registry containing the operating system image which should be used to boot the Machine
	Image string `json:"image,omitempty"`
	// Ignition contains the ignition configuration which should be run on first boot of a Machine.
	Ignition string `json:"ignition,omitempty"`
	// By default, if ignition is set it will be merged it with our template
	// If IgnitionOverride is set to true allows to fully override
	IgnitionOverride bool `json:"ignitionOverride,omitempty"`
	// IgnitionSecretKey is optional key field used to identify the ignition content in the Secret
	// If the key is empty, the DefaultIgnitionKey will be used as fallback.
	IgnitionSecretKey string `json:"ignitionSecretKey,omitempty"`
	// RootDisk defines the root disk properties of the Machine.
	RootDisk *RootDisk `json:"rootDisk,omitempty"`
	// NetworkName is the Network to be used for the Machine's NetworkInterface.
	NetworkName string `json:"networkName"`
	// PrefixName is the parent Prefix from which an IP should be allocated for the Machine's NetworkInterface.
	PrefixName string `json:"prefixName"`
	// Labels are used to tag resources which the MCM creates, so they can be identified later.
	Labels map[string]string `json:"labels,omitempty"`
	// DnsServers is a list of DNS resolvers which should be configured on the host.
	DnsServers []netip.Addr `json:"dnsServers,omitempty"`
}

ProviderSpec is the spec to be used while parsing the calls

type RootDisk

type RootDisk struct {
	// Size defines the volume size of the root disk.
	Size resource.Quantity `json:"size"`
	// VolumeClassName defines which volume class to use for the root disk.
	VolumeClassName string `json:"volumeClassName"`
	// VolumePoolName defines on which VolumePool a Volume should be scheduled.
	VolumePoolName string `json:"volumePoolName,omitempty"`
}

RootDisk defines the root disk properties of the Machine.

Jump to

Keyboard shortcuts

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