Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSystemdArgsToCommand ¶
func AddSystemdArgsToCommand(cmd string, args *EtcdadmArgs) string
func TemplateYAMLIndent ¶
Types ¶
type BaseUserData ¶
type BaseUserData struct { Header string PreEtcdadmCommands []string PostEtcdadmCommands []string AdditionalFiles []bootstrapv1.File WriteFiles []bootstrapv1.File Users []bootstrapv1.User NTP *bootstrapv1.NTP DiskSetup *bootstrapv1.DiskSetup Mounts []bootstrapv1.MountPoints ControlPlane bool SentinelFileCommand string }
BaseUserData is shared across all the various types of files written to disk.
type EtcdPlaneInput ¶
type EtcdPlaneInput struct { BaseUserData secret.Certificates EtcdadmArgs EtcdadmInitCommand string }
EtcdPlaneInput defines the context to generate etcd instance user data for initializing etcd cluster.
type EtcdPlaneJoinInput ¶
type EtcdPlaneJoinInput struct { BaseUserData secret.Certificates EtcdadmArgs EtcdadmJoinCommand string JoinAddress string }
EtcdPlaneJoinInput defines context to generate etcd instance user data for etcd plane node join.
type EtcdadmArgs ¶
type EtcdadmArgs struct { Version string ImageRepository string EtcdReleaseURL string InstallDir string CipherSuites string }
func (*EtcdadmArgs) SystemdFlags ¶
func (args *EtcdadmArgs) SystemdFlags() []string
Click to show internal directories.
Click to hide internal directories.