Documentation ¶
Overview ¶
+k8s:conversion-gen=github.com/criticalstack/cluster-api-bootstrap-provider-crit/apis/bootstrap/v1alpha2
Package v1alpha1 contains API Schema definitions for the bootstrap v1alpha1 API group +kubebuilder:object:generate=true +groupName=bootstrap.cluster.x-k8s.io
Index ¶
- Variables
- func Convert_v1alpha1_CritConfigList_To_v1alpha2_CritConfigList(in *CritConfigList, out *v1alpha2.CritConfigList, s conversion.Scope) error
- func Convert_v1alpha1_CritConfigSpec_To_v1alpha2_CritConfigSpec(in *CritConfigSpec, out *v1alpha2.CritConfigSpec, s conversion.Scope) error
- func Convert_v1alpha1_CritConfigStatus_To_v1alpha2_CritConfigStatus(in *CritConfigStatus, out *v1alpha2.CritConfigStatus, s conversion.Scope) error
- func Convert_v1alpha1_CritConfigTemplateList_To_v1alpha2_CritConfigTemplateList(in *CritConfigTemplateList, out *v1alpha2.CritConfigTemplateList, ...) error
- func Convert_v1alpha1_CritConfigTemplateResource_To_v1alpha2_CritConfigTemplateResource(in *CritConfigTemplateResource, out *v1alpha2.CritConfigTemplateResource, ...) error
- func Convert_v1alpha1_CritConfigTemplateSpec_To_v1alpha2_CritConfigTemplateSpec(in *CritConfigTemplateSpec, out *v1alpha2.CritConfigTemplateSpec, ...) error
- func Convert_v1alpha1_CritConfigTemplate_To_v1alpha2_CritConfigTemplate(in *CritConfigTemplate, out *v1alpha2.CritConfigTemplate, s conversion.Scope) error
- func Convert_v1alpha1_CritConfig_To_v1alpha2_CritConfig(in *CritConfig, out *v1alpha2.CritConfig, s conversion.Scope) error
- func Convert_v1alpha1_File_To_v1alpha2_File(in *File, out *v1alpha2.File, s conversion.Scope) error
- func Convert_v1alpha1_NTP_To_v1alpha2_NTP(in *NTP, out *v1alpha2.NTP, s conversion.Scope) error
- func Convert_v1alpha1_User_To_v1alpha2_User(in *User, out *v1alpha2.User, s conversion.Scope) error
- func Convert_v1alpha2_CritConfigList_To_v1alpha1_CritConfigList(in *v1alpha2.CritConfigList, out *CritConfigList, s conversion.Scope) error
- func Convert_v1alpha2_CritConfigSpec_To_v1alpha1_CritConfigSpec(in *v1alpha2.CritConfigSpec, out *CritConfigSpec, s conversion.Scope) error
- func Convert_v1alpha2_CritConfigStatus_To_v1alpha1_CritConfigStatus(in *v1alpha2.CritConfigStatus, out *CritConfigStatus, s conversion.Scope) error
- func Convert_v1alpha2_CritConfigTemplateList_To_v1alpha1_CritConfigTemplateList(in *v1alpha2.CritConfigTemplateList, out *CritConfigTemplateList, ...) error
- func Convert_v1alpha2_CritConfigTemplateResource_To_v1alpha1_CritConfigTemplateResource(in *v1alpha2.CritConfigTemplateResource, out *CritConfigTemplateResource, ...) error
- func Convert_v1alpha2_CritConfigTemplateSpec_To_v1alpha1_CritConfigTemplateSpec(in *v1alpha2.CritConfigTemplateSpec, out *CritConfigTemplateSpec, ...) error
- func Convert_v1alpha2_CritConfigTemplate_To_v1alpha1_CritConfigTemplate(in *v1alpha2.CritConfigTemplate, out *CritConfigTemplate, s conversion.Scope) error
- func Convert_v1alpha2_CritConfig_To_v1alpha1_CritConfig(in *v1alpha2.CritConfig, out *CritConfig, s conversion.Scope) error
- func Convert_v1alpha2_File_To_v1alpha1_File(in *v1alpha2.File, out *File, s conversion.Scope) error
- func Convert_v1alpha2_NTP_To_v1alpha1_NTP(in *v1alpha2.NTP, out *NTP, s conversion.Scope) error
- func Convert_v1alpha2_User_To_v1alpha1_User(in *v1alpha2.User, out *User, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- type CritConfig
- type CritConfigList
- type CritConfigSpec
- type CritConfigStatus
- type CritConfigTemplate
- func (dst *CritConfigTemplate) ConvertFrom(srcRaw conversion.Hub) error
- func (src *CritConfigTemplate) ConvertTo(dstRaw conversion.Hub) error
- func (in *CritConfigTemplate) DeepCopy() *CritConfigTemplate
- func (in *CritConfigTemplate) DeepCopyInto(out *CritConfigTemplate)
- func (in *CritConfigTemplate) DeepCopyObject() runtime.Object
- type CritConfigTemplateList
- type CritConfigTemplateResource
- type CritConfigTemplateSpec
- type Encoding
- type File
- type Format
- type NTP
- type User
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bootstrap.cluster.x-k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Convert_v1alpha1_CritConfigList_To_v1alpha2_CritConfigList ¶
func Convert_v1alpha1_CritConfigList_To_v1alpha2_CritConfigList(in *CritConfigList, out *v1alpha2.CritConfigList, s conversion.Scope) error
Convert_v1alpha1_CritConfigList_To_v1alpha2_CritConfigList is an autogenerated conversion function.
func Convert_v1alpha1_CritConfigSpec_To_v1alpha2_CritConfigSpec ¶
func Convert_v1alpha1_CritConfigSpec_To_v1alpha2_CritConfigSpec(in *CritConfigSpec, out *v1alpha2.CritConfigSpec, s conversion.Scope) error
func Convert_v1alpha1_CritConfigStatus_To_v1alpha2_CritConfigStatus ¶
func Convert_v1alpha1_CritConfigStatus_To_v1alpha2_CritConfigStatus(in *CritConfigStatus, out *v1alpha2.CritConfigStatus, s conversion.Scope) error
Convert_v1alpha1_CritConfigStatus_To_v1alpha2_CritConfigStatus is an autogenerated conversion function.
func Convert_v1alpha1_CritConfigTemplateList_To_v1alpha2_CritConfigTemplateList ¶
func Convert_v1alpha1_CritConfigTemplateList_To_v1alpha2_CritConfigTemplateList(in *CritConfigTemplateList, out *v1alpha2.CritConfigTemplateList, s conversion.Scope) error
Convert_v1alpha1_CritConfigTemplateList_To_v1alpha2_CritConfigTemplateList is an autogenerated conversion function.
func Convert_v1alpha1_CritConfigTemplateResource_To_v1alpha2_CritConfigTemplateResource ¶
func Convert_v1alpha1_CritConfigTemplateResource_To_v1alpha2_CritConfigTemplateResource(in *CritConfigTemplateResource, out *v1alpha2.CritConfigTemplateResource, s conversion.Scope) error
Convert_v1alpha1_CritConfigTemplateResource_To_v1alpha2_CritConfigTemplateResource is an autogenerated conversion function.
func Convert_v1alpha1_CritConfigTemplateSpec_To_v1alpha2_CritConfigTemplateSpec ¶
func Convert_v1alpha1_CritConfigTemplateSpec_To_v1alpha2_CritConfigTemplateSpec(in *CritConfigTemplateSpec, out *v1alpha2.CritConfigTemplateSpec, s conversion.Scope) error
Convert_v1alpha1_CritConfigTemplateSpec_To_v1alpha2_CritConfigTemplateSpec is an autogenerated conversion function.
func Convert_v1alpha1_CritConfigTemplate_To_v1alpha2_CritConfigTemplate ¶
func Convert_v1alpha1_CritConfigTemplate_To_v1alpha2_CritConfigTemplate(in *CritConfigTemplate, out *v1alpha2.CritConfigTemplate, s conversion.Scope) error
Convert_v1alpha1_CritConfigTemplate_To_v1alpha2_CritConfigTemplate is an autogenerated conversion function.
func Convert_v1alpha1_CritConfig_To_v1alpha2_CritConfig ¶
func Convert_v1alpha1_CritConfig_To_v1alpha2_CritConfig(in *CritConfig, out *v1alpha2.CritConfig, s conversion.Scope) error
Convert_v1alpha1_CritConfig_To_v1alpha2_CritConfig is an autogenerated conversion function.
func Convert_v1alpha1_File_To_v1alpha2_File ¶
Convert_v1alpha1_File_To_v1alpha2_File is an autogenerated conversion function.
func Convert_v1alpha1_NTP_To_v1alpha2_NTP ¶
Convert_v1alpha1_NTP_To_v1alpha2_NTP is an autogenerated conversion function.
func Convert_v1alpha1_User_To_v1alpha2_User ¶
Convert_v1alpha1_User_To_v1alpha2_User is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigList_To_v1alpha1_CritConfigList ¶
func Convert_v1alpha2_CritConfigList_To_v1alpha1_CritConfigList(in *v1alpha2.CritConfigList, out *CritConfigList, s conversion.Scope) error
Convert_v1alpha2_CritConfigList_To_v1alpha1_CritConfigList is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigSpec_To_v1alpha1_CritConfigSpec ¶
func Convert_v1alpha2_CritConfigSpec_To_v1alpha1_CritConfigSpec(in *v1alpha2.CritConfigSpec, out *CritConfigSpec, s conversion.Scope) error
func Convert_v1alpha2_CritConfigStatus_To_v1alpha1_CritConfigStatus ¶
func Convert_v1alpha2_CritConfigStatus_To_v1alpha1_CritConfigStatus(in *v1alpha2.CritConfigStatus, out *CritConfigStatus, s conversion.Scope) error
Convert_v1alpha2_CritConfigStatus_To_v1alpha1_CritConfigStatus is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigTemplateList_To_v1alpha1_CritConfigTemplateList ¶
func Convert_v1alpha2_CritConfigTemplateList_To_v1alpha1_CritConfigTemplateList(in *v1alpha2.CritConfigTemplateList, out *CritConfigTemplateList, s conversion.Scope) error
Convert_v1alpha2_CritConfigTemplateList_To_v1alpha1_CritConfigTemplateList is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigTemplateResource_To_v1alpha1_CritConfigTemplateResource ¶
func Convert_v1alpha2_CritConfigTemplateResource_To_v1alpha1_CritConfigTemplateResource(in *v1alpha2.CritConfigTemplateResource, out *CritConfigTemplateResource, s conversion.Scope) error
Convert_v1alpha2_CritConfigTemplateResource_To_v1alpha1_CritConfigTemplateResource is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigTemplateSpec_To_v1alpha1_CritConfigTemplateSpec ¶
func Convert_v1alpha2_CritConfigTemplateSpec_To_v1alpha1_CritConfigTemplateSpec(in *v1alpha2.CritConfigTemplateSpec, out *CritConfigTemplateSpec, s conversion.Scope) error
Convert_v1alpha2_CritConfigTemplateSpec_To_v1alpha1_CritConfigTemplateSpec is an autogenerated conversion function.
func Convert_v1alpha2_CritConfigTemplate_To_v1alpha1_CritConfigTemplate ¶
func Convert_v1alpha2_CritConfigTemplate_To_v1alpha1_CritConfigTemplate(in *v1alpha2.CritConfigTemplate, out *CritConfigTemplate, s conversion.Scope) error
Convert_v1alpha2_CritConfigTemplate_To_v1alpha1_CritConfigTemplate is an autogenerated conversion function.
func Convert_v1alpha2_CritConfig_To_v1alpha1_CritConfig ¶
func Convert_v1alpha2_CritConfig_To_v1alpha1_CritConfig(in *v1alpha2.CritConfig, out *CritConfig, s conversion.Scope) error
Convert_v1alpha2_CritConfig_To_v1alpha1_CritConfig is an autogenerated conversion function.
func Convert_v1alpha2_File_To_v1alpha1_File ¶
Convert_v1alpha2_File_To_v1alpha1_File is an autogenerated conversion function.
func Convert_v1alpha2_NTP_To_v1alpha1_NTP ¶
Convert_v1alpha2_NTP_To_v1alpha1_NTP is an autogenerated conversion function.
func Convert_v1alpha2_User_To_v1alpha1_User ¶
Convert_v1alpha2_User_To_v1alpha1_User is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type CritConfig ¶
type CritConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CritConfigSpec `json:"spec,omitempty"` Status CritConfigStatus `json:"status,omitempty"` }
CritConfig is the Schema for the critconfigs API
func (*CritConfig) ConvertFrom ¶
func (dst *CritConfig) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1alpha2) to this version.
func (*CritConfig) ConvertTo ¶
func (src *CritConfig) ConvertTo(dstRaw conversion.Hub) (err error)
ConvertTo converts this CritConfig to the Hub version (v1alpha2).
func (*CritConfig) DeepCopy ¶
func (in *CritConfig) DeepCopy() *CritConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfig.
func (*CritConfig) DeepCopyInto ¶
func (in *CritConfig) DeepCopyInto(out *CritConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CritConfig) DeepCopyObject ¶
func (in *CritConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CritConfigList ¶
type CritConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CritConfig `json:"items"` }
CritConfigList contains a list of CritConfig
func (*CritConfigList) DeepCopy ¶
func (in *CritConfigList) DeepCopy() *CritConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigList.
func (*CritConfigList) DeepCopyInto ¶
func (in *CritConfigList) DeepCopyInto(out *CritConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CritConfigList) DeepCopyObject ¶
func (in *CritConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CritConfigSpec ¶
type CritConfigSpec struct { // ControlPlaneConfiguration specifies the crit configuration used for // control plane nodes. // +optional ControlPlaneConfiguration *critv1alpha1.ControlPlaneConfiguration `json:"controlPlaneConfiguration,omitempty"` // WorkerConfiguration specifies the crit configuration used for worker // nodes. // +optional WorkerConfiguration *critv1alpha1.WorkerConfiguration `json:"workerConfiguration,omitempty"` // Files specifies extra files to be passed to user_data upon creation. // +optional Files []File `json:"files,omitempty"` // PreCritCommands specifies extra commands to run before crit runs // +optional PreCritCommands []string `json:"preCritCommands,omitempty"` // PostCritCommands specifies extra commands to run after crit runs // +optional PostCritCommands []string `json:"postCritCommands,omitempty"` // Users specifies extra users to add // +optional Users []User `json:"users,omitempty"` // NTP specifies NTP configuration // +optional NTP *NTP `json:"ntp,omitempty"` // Format specifies the output format of the bootstrap data // +optional Format Format `json:"format,omitempty"` // +optional Verbosity bool `json:"verbosity,omitempty"` }
CritConfigSpec defines the desired state of CritConfig
func (*CritConfigSpec) DeepCopy ¶
func (in *CritConfigSpec) DeepCopy() *CritConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigSpec.
func (*CritConfigSpec) DeepCopyInto ¶
func (in *CritConfigSpec) DeepCopyInto(out *CritConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CritConfigStatus ¶
type CritConfigStatus struct { // Ready indicates the BootstrapData field is ready to be consumed Ready bool `json:"ready,omitempty"` // DataSecretName is the name of the secret that stores the bootstrap data script. // +optional DataSecretName *string `json:"dataSecretName,omitempty"` // FailureReason will be set on non-retryable errors // +optional FailureReason string `json:"failureReason,omitempty"` // FailureMessage will be set on non-retryable errors // +optional FailureMessage string `json:"failureMessage,omitempty"` }
CritConfigStatus defines the observed state of CritConfig
func (*CritConfigStatus) DeepCopy ¶
func (in *CritConfigStatus) DeepCopy() *CritConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigStatus.
func (*CritConfigStatus) DeepCopyInto ¶
func (in *CritConfigStatus) DeepCopyInto(out *CritConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CritConfigTemplate ¶
type CritConfigTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CritConfigTemplateSpec `json:"spec,omitempty"` }
CritConfigTemplate is the Schema for the critconfigtemplates API
func (*CritConfigTemplate) ConvertFrom ¶
func (dst *CritConfigTemplate) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1alpha2) to this version.
func (*CritConfigTemplate) ConvertTo ¶
func (src *CritConfigTemplate) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this CritConfig to the Hub version (v1alpha2).
func (*CritConfigTemplate) DeepCopy ¶
func (in *CritConfigTemplate) DeepCopy() *CritConfigTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigTemplate.
func (*CritConfigTemplate) DeepCopyInto ¶
func (in *CritConfigTemplate) DeepCopyInto(out *CritConfigTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CritConfigTemplate) DeepCopyObject ¶
func (in *CritConfigTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CritConfigTemplateList ¶
type CritConfigTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CritConfigTemplate `json:"items"` }
CritConfigTemplateList contains a list of CritConfigTemplate
func (*CritConfigTemplateList) DeepCopy ¶
func (in *CritConfigTemplateList) DeepCopy() *CritConfigTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigTemplateList.
func (*CritConfigTemplateList) DeepCopyInto ¶
func (in *CritConfigTemplateList) DeepCopyInto(out *CritConfigTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CritConfigTemplateList) DeepCopyObject ¶
func (in *CritConfigTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CritConfigTemplateResource ¶
type CritConfigTemplateResource struct {
Spec CritConfigSpec `json:"spec,omitempty"`
}
CritConfigTemplateResource defines the Template structure
func (*CritConfigTemplateResource) DeepCopy ¶
func (in *CritConfigTemplateResource) DeepCopy() *CritConfigTemplateResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigTemplateResource.
func (*CritConfigTemplateResource) DeepCopyInto ¶
func (in *CritConfigTemplateResource) DeepCopyInto(out *CritConfigTemplateResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CritConfigTemplateSpec ¶
type CritConfigTemplateSpec struct {
Template CritConfigTemplateResource `json:"template"`
}
CritConfigTemplateSpec defines the desired state of CritConfigTemplate
func (*CritConfigTemplateSpec) DeepCopy ¶
func (in *CritConfigTemplateSpec) DeepCopy() *CritConfigTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CritConfigTemplateSpec.
func (*CritConfigTemplateSpec) DeepCopyInto ¶
func (in *CritConfigTemplateSpec) DeepCopyInto(out *CritConfigTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Encoding ¶
type Encoding string
Encoding specifies the cloud-init file encoding. +kubebuilder:validation:Enum=base64;gzip;gzip+base64
const ( // Base64 implies the contents of the file are encoded as base64. Base64 Encoding = "base64" // Gzip implies the contents of the file are encoded with gzip. Gzip Encoding = "gzip" // GzipBase64 implies the contents of the file are first base64 encoded and then gzip encoded. GzipBase64 Encoding = "gzip+base64" )
type File ¶
type File struct { // Path specifies the full path on disk where to store the file. Path string `json:"path"` // Owner specifies the ownership of the file, e.g. "root:root". // +optional Owner string `json:"owner,omitempty"` // Permissions specifies the permissions to assign to the file, e.g. "0640". // +optional Permissions string `json:"permissions,omitempty"` // Encoding specifies the encoding of the file contents. // +optional Encoding Encoding `json:"encoding,omitempty"` // Content is the actual content of the file. Content string `json:"content"` }
File defines the input for generating write_files in cloud-init.
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Format ¶
type Format string
Format specifies the output format of the bootstrap data +kubebuilder:validation:Enum=cloud-config
const ( // CloudConfig make the bootstrap data to be of cloud-config format CloudConfig Format = "cloud-config" )
type NTP ¶
type NTP struct { // Servers specifies which NTP servers to use // +optional Servers []string `json:"servers,omitempty"` // Enabled specifies whether NTP should be enabled // +optional Enabled *bool `json:"enabled,omitempty"` }
NTP defines input for generated ntp in cloud-init
func (*NTP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTP.
func (*NTP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { // Name specifies the user name Name string `json:"name"` // Gecos specifies the gecos to use for the user // +optional Gecos *string `json:"gecos,omitempty"` // Groups specifies the additional groups for the user // +optional Groups *string `json:"groups,omitempty"` // HomeDir specifies the home directory to use for the user // +optional HomeDir *string `json:"homeDir,omitempty"` // Inactive specifies whether to mark the user as inactive // +optional Inactive *bool `json:"inactive,omitempty"` // Shell specifies the user's shell // +optional Shell *string `json:"shell,omitempty"` // Passwd specifies a hashed password for the user // +optional Passwd *string `json:"passwd,omitempty"` // PrimaryGroup specifies the primary group for the user // +optional PrimaryGroup *string `json:"primaryGroup,omitempty"` // LockPassword specifies if password login should be disabled // +optional LockPassword *bool `json:"lockPassword,omitempty"` // Sudo specifies a sudo role for the user // +optional Sudo *string `json:"sudo,omitempty"` // SSHAuthorizedKeys specifies a list of ssh authorized keys for the user // +optional SSHAuthorizedKeys []string `json:"sshAuthorizedKeys,omitempty"` }
User defines the input for a generated user in cloud-init.
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.