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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeUser.
func (*NodeUser) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeUser) DeepCopyObject ¶
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.
Click to show internal directories.
Click to hide internal directories.