v1alpha1

package
v1.26.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeUser

type NodeUser struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec defines parameters for user.
	Spec NodeUserSpec `json:"spec"`
}

NodeUser is a linux user for all nodes.

func (*NodeUser) DeepCopy

func (in *NodeUser) DeepCopy() *NodeUser

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

func (*NodeUser) DeepCopyInto

func (in *NodeUser) DeepCopyInto(out *NodeUser)

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

func (*NodeUser) DeepCopyObject

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

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

type NodeUserSpec

type NodeUserSpec struct {
	// Unique user ID.
	UID int32 `json:"uid"`

	// Ssh public key.
	SSHPublicKey string `json:"sshPublicKey"`

	// Hashed user password for /etc/shadow.
	PasswordHash string `json:"passwordHash"`

	// Is node user belongs to the sudo group.
	IsSudoer bool `json:"isSudoer"`

	// Additional system groups.
	ExtraGroups []string `json:"extraGroups,omitempty"`
}

func (*NodeUserSpec) DeepCopy

func (in *NodeUserSpec) DeepCopy() *NodeUserSpec

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

func (*NodeUserSpec) DeepCopyInto

func (in *NodeUserSpec) DeepCopyInto(out *NodeUserSpec)

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

Jump to

Keyboard shortcuts

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