Documentation
¶
Index ¶
- Variables
- func GenerateOSPassword() (string, string, error)
- func IsBottlerocket(name string) bool
- type AMI
- type AmazonLinux2023
- func (a AmazonLinux2023) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (a AmazonLinux2023) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (a AmazonLinux2023) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (a AmazonLinux2023) Name() string
- type BottleRocket
- func (a BottleRocket) AMIName(ctx context.Context, awsConfig aws.Config, kubernetesVersion string, ...) (string, error)
- func (a BottleRocket) BuildUserData(ctx context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (a BottleRocket) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (a BottleRocket) Name() string
- type BottlerocketLogCollector
- type NodeLogCollector
- type RedHat8
- func (r RedHat8) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (r RedHat8) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (r RedHat8) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (r RedHat8) Name() string
- type RedHat9
- func (r RedHat9) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (r RedHat9) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (r RedHat9) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (r RedHat9) Name() string
- type RegistryResponse
- type StandardLinuxLogCollector
- type Ubuntu2004
- func (u Ubuntu2004) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (u Ubuntu2004) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (u Ubuntu2004) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (u Ubuntu2004) Name() string
- type Ubuntu2204
- func (u Ubuntu2204) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (u Ubuntu2204) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (u Ubuntu2204) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (u Ubuntu2204) Name() string
- type Ubuntu2404
- func (u Ubuntu2404) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
- func (u Ubuntu2404) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
- func (u Ubuntu2404) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
- func (u Ubuntu2404) Name() string
Constants ¶
This section is empty.
Variables ¶
View Source
var LogCollectorScript []byte
Functions ¶
func GenerateOSPassword ¶
func IsBottlerocket ¶ added in v1.0.9
IsBottlerocket returns true if the given name is a Bottlerocket OS name.
Types ¶
type AmazonLinux2023 ¶
type AmazonLinux2023 struct {
// contains filtered or unexported fields
}
func NewAmazonLinux2023AMD ¶
func NewAmazonLinux2023AMD() *AmazonLinux2023
func NewAmazonLinux2023ARM ¶
func NewAmazonLinux2023ARM() *AmazonLinux2023
func (AmazonLinux2023) AMIName ¶
func (a AmazonLinux2023) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
func (AmazonLinux2023) BuildUserData ¶
func (a AmazonLinux2023) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
func (AmazonLinux2023) InstanceType ¶
func (a AmazonLinux2023) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
func (AmazonLinux2023) Name ¶
func (a AmazonLinux2023) Name() string
type BottleRocket ¶ added in v1.0.9
type BottleRocket struct {
// contains filtered or unexported fields
}
func NewBottleRocket ¶ added in v1.0.9
func NewBottleRocket() *BottleRocket
func NewBottleRocketARM ¶ added in v1.0.9
func NewBottleRocketARM() *BottleRocket
func (BottleRocket) AMIName ¶ added in v1.0.9
func (a BottleRocket) AMIName(ctx context.Context, awsConfig aws.Config, kubernetesVersion string, computeType e2e.ComputeType) (string, error)
func (BottleRocket) BuildUserData ¶ added in v1.0.9
func (a BottleRocket) BuildUserData(ctx context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
func (BottleRocket) InstanceType ¶ added in v1.0.9
func (a BottleRocket) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
func (BottleRocket) Name ¶ added in v1.0.9
func (a BottleRocket) Name() string
type BottlerocketLogCollector ¶ added in v1.0.9
type BottlerocketLogCollector struct {
Runner commands.RemoteCommandRunner
}
type NodeLogCollector ¶ added in v1.0.9
type RedHat8 ¶
type RedHat8 struct {
// contains filtered or unexported fields
}
func NewRedHat8AMD ¶
func NewRedHat8ARM ¶
func (RedHat8) BuildUserData ¶
func (RedHat8) InstanceType ¶
func (r RedHat8) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
type RedHat9 ¶
type RedHat9 struct {
// contains filtered or unexported fields
}
func NewRedHat9AMD ¶
func NewRedHat9ARM ¶
func NewRedHat9NoDockerSource ¶ added in v1.0.6
func (RedHat9) BuildUserData ¶
func (RedHat9) InstanceType ¶
func (r RedHat9) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
type RegistryResponse ¶ added in v1.0.10
type StandardLinuxLogCollector ¶ added in v1.0.9
type StandardLinuxLogCollector struct {
Runner commands.RemoteCommandRunner
}
type Ubuntu2004 ¶
type Ubuntu2004 struct {
// contains filtered or unexported fields
}
func NewUbuntu2004AMD ¶
func NewUbuntu2004AMD() *Ubuntu2004
func NewUbuntu2004ARM ¶
func NewUbuntu2004ARM() *Ubuntu2004
func NewUbuntu2004DockerSource ¶
func NewUbuntu2004DockerSource() *Ubuntu2004
func (Ubuntu2004) AMIName ¶
func (u Ubuntu2004) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
func (Ubuntu2004) BuildUserData ¶
func (u Ubuntu2004) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
func (Ubuntu2004) InstanceType ¶
func (u Ubuntu2004) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
func (Ubuntu2004) Name ¶
func (u Ubuntu2004) Name() string
type Ubuntu2204 ¶
type Ubuntu2204 struct {
// contains filtered or unexported fields
}
func NewUbuntu2204AMD ¶
func NewUbuntu2204AMD() *Ubuntu2204
func NewUbuntu2204ARM ¶
func NewUbuntu2204ARM() *Ubuntu2204
func NewUbuntu2204DockerSource ¶
func NewUbuntu2204DockerSource() *Ubuntu2204
func (Ubuntu2204) AMIName ¶
func (u Ubuntu2204) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
func (Ubuntu2204) BuildUserData ¶
func (u Ubuntu2204) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
func (Ubuntu2204) InstanceType ¶
func (u Ubuntu2204) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
func (Ubuntu2204) Name ¶
func (u Ubuntu2204) Name() string
type Ubuntu2404 ¶
type Ubuntu2404 struct {
// contains filtered or unexported fields
}
func NewUbuntu2404AMD ¶
func NewUbuntu2404AMD() *Ubuntu2404
func NewUbuntu2404ARM ¶
func NewUbuntu2404ARM() *Ubuntu2404
func NewUbuntu2404DockerSource ¶
func NewUbuntu2404DockerSource() *Ubuntu2404
func NewUbuntu2404NoDockerSource ¶ added in v1.0.6
func NewUbuntu2404NoDockerSource() *Ubuntu2404
func (Ubuntu2404) AMIName ¶
func (u Ubuntu2404) AMIName(ctx context.Context, awsConfig aws.Config, _ string, _ e2e.ComputeType) (string, error)
func (Ubuntu2404) BuildUserData ¶
func (u Ubuntu2404) BuildUserData(_ context.Context, userDataInput e2e.UserDataInput) ([]byte, error)
func (Ubuntu2404) InstanceType ¶
func (u Ubuntu2404) InstanceType(region string, instanceSize e2e.InstanceSize, computeType e2e.ComputeType) string
func (Ubuntu2404) Name ¶
func (u Ubuntu2404) Name() string
Click to show internal directories.
Click to hide internal directories.