v1alpha1

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 version of the API. +groupName=memoryone-chost.os.extensions.gardener.cloud

Index

Constants

View Source
const GroupName = "memoryone-chost.os.extensions.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_memoryonechost_OperatingSystemConfiguration_To_v1alpha1_OperatingSystemConfiguration

func Convert_memoryonechost_OperatingSystemConfiguration_To_v1alpha1_OperatingSystemConfiguration(in *memoryonechost.OperatingSystemConfiguration, out *OperatingSystemConfiguration, s conversion.Scope) error

Convert_memoryonechost_OperatingSystemConfiguration_To_v1alpha1_OperatingSystemConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_OperatingSystemConfiguration_To_memoryonechost_OperatingSystemConfiguration

func Convert_v1alpha1_OperatingSystemConfiguration_To_memoryonechost_OperatingSystemConfiguration(in *OperatingSystemConfiguration, out *memoryonechost.OperatingSystemConfiguration, s conversion.Scope) error

Convert_v1alpha1_OperatingSystemConfiguration_To_memoryonechost_OperatingSystemConfiguration is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type OperatingSystemConfiguration

type OperatingSystemConfiguration struct {
	metav1.TypeMeta `json:",inline"`

	// MemoryTopology allows to configure the `mem_topology` parameter. If not present, it will default to `2`.
	// +optional
	MemoryTopology *string `json:"memoryTopology,omitempty"`
	// SystemMemory allows to configure the `system_memory` parameter. If not present, it will default to `6x`.
	// +optional
	SystemMemory *string `json:"systemMemory,omitempty"`
}

OperatingSystemConfiguration allows to specify configuration for the operating system.

func (*OperatingSystemConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatingSystemConfiguration.

func (*OperatingSystemConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperatingSystemConfiguration) DeepCopyObject

func (in *OperatingSystemConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

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