Documentation ¶
Index ¶
- func BootstrapClusterOpts(serverEndpoint string, clusterConfig *v1alpha1.Cluster) ([]bootstrapper.BootstrapClusterOption, error)
- func CPMachineTemplateName(clusterName string, now types.NowFunc) string
- func EtcdMachineTemplateName(clusterName string, now types.NowFunc) string
- func GenerateSSHAuthKey(writer filewriter.FileWriter) (string, error)
- func GetAuditPolicy() string
- func KubeadmConfigTemplateName(clusterName, workerNodeGroupName string, now types.NowFunc) string
- func StripSshAuthorizedKeyComment(key string) (string, error)
- func WorkerMachineTemplateName(clusterName, workerNodeGroupName string, now types.NowFunc) string
- type SshAuthKeyGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapClusterOpts ¶ added in v0.8.0
func BootstrapClusterOpts(serverEndpoint string, clusterConfig *v1alpha1.Cluster) ([]bootstrapper.BootstrapClusterOption, error)
func CPMachineTemplateName ¶ added in v0.8.0
func EtcdMachineTemplateName ¶ added in v0.8.0
func GenerateSSHAuthKey ¶ added in v0.8.0
func GenerateSSHAuthKey(writer filewriter.FileWriter) (string, error)
func GetAuditPolicy ¶
func GetAuditPolicy() string
func KubeadmConfigTemplateName ¶ added in v0.8.0
func StripSshAuthorizedKeyComment ¶ added in v0.8.0
Types ¶
type SshAuthKeyGenerator ¶ added in v0.9.0
type SshAuthKeyGenerator struct{}
sshAuthKeyGenerator satisfies SSHAuthKeyGenerator. It exists to wrap the common key generation function so we can isolate the RNG in testing.
func (SshAuthKeyGenerator) GenerateSSHAuthKey ¶ added in v0.9.0
func (SshAuthKeyGenerator) GenerateSSHAuthKey(w filewriter.FileWriter) (string, error)
Click to show internal directories.
Click to hide internal directories.