Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeForAWSName ¶ added in v1.0.1
SanitizeForAWSName removes everything except alphanumeric characters and hyphens from a string.
Types ¶
type HybridEC2Node ¶ added in v1.0.1
HybridEC2Node represents a Hybrid Node backed by an EC2 instance.
type LogsUploadUrl ¶ added in v1.0.1
type NodeSpec ¶ added in v1.0.1
type NodeSpec struct {
Cluster *Cluster
NamePrefix string
OS CredsOS
Provider NodeadmCredentialsProvider
}
NodeSpec is a specification for a node.
type NodeadmCredentialsProvider ¶ added in v1.0.1
type NodeadmOS ¶ added in v1.0.1
type NodeadmOS interface {
Name() string
AMIName(ctx context.Context, awsConfig aws.Config) (string, error)
BuildUserData(UserDataInput UserDataInput) ([]byte, error)
InstanceType(region string) string
}
NodeadmOS defines an interface for operating system-specific behavior.
type NodeadmURLs ¶ added in v1.0.1
type UserDataInput ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.