Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpgradeRequired ¶
func UpgradeRequired() bool
Types ¶
type Architecture ¶ added in v1.2.0
type Architecture string
var ( ArchitectureAmd64 Architecture = "amd64" ArchitectureArm64 Architecture = "arm64" )
type ClusterTestingConfig ¶
type ClusterTestingConfig struct {
// Upgrade is a boolean parameter that specifies whether the cluster deployment upgrade should be tested.
Upgrade bool `yaml:"upgrade,omitempty"`
// Template is the name of the template to use when creating a cluster deployment.
// If unset:
// * The latest available template will be chosen
// * If upgrade is triggered, the latest available template with available upgrades will be chosen.
Template string `yaml:"template,omitempty"`
// UpgradeTemplate specifies the name of the template to upgrade to. Ignored if upgrade is set to false.
// If unset, the latest template available for the upgrade will be chosen.
UpgradeTemplate string `yaml:"upgradeTemplate,omitempty"`
// Architecture defines the target architecture for cluster deployment. Supported values are "amd64"
// and "arm64".
Architecture Architecture `yaml:"architecture,omitempty"`
}
func (*ClusterTestingConfig) SetTemplates ¶
func (c *ClusterTestingConfig) SetTemplates(clusterTemplates []string, templateType templates.Type) error
type ProviderTestingConfig ¶
type ProviderTestingConfig struct {
// ClusterTestingConfig contains the testing configuration for the cluster deployment.
ClusterTestingConfig `yaml:",inline"`
// Hosted contains the testing configuration for the hosted cluster deployment using the previously deployed
// cluster as a management. If omitted, the hosted cluster deployment will be skipped.
Hosted *ClusterTestingConfig `yaml:"hosted,omitempty"`
}
func (*ProviderTestingConfig) Description ¶ added in v1.3.0
func (c *ProviderTestingConfig) Description() string
func (*ProviderTestingConfig) SetDefaults ¶ added in v1.3.0
func (c *ProviderTestingConfig) SetDefaults(clusterTemplates []string, provider TestingProvider)
func (*ProviderTestingConfig) String ¶
func (c *ProviderTestingConfig) String() string
type TestingConfig ¶
type TestingConfig = map[TestingProvider][]ProviderTestingConfig
var (
Config TestingConfig
)
type TestingProvider ¶
type TestingProvider string
const ( TestingProviderAWS TestingProvider = "aws" TestingProviderAzure TestingProvider = "azure" TestingProviderGCP TestingProvider = "gcp" TestingProviderOpenstack TestingProvider = "openstack" TestingProviderVsphere TestingProvider = "vsphere" TestingProviderAdopted TestingProvider = "adopted" TestingProviderRemote TestingProvider = "remote" TestingProviderDocker TestingProvider = "docker" TestingProviderMothership TestingProvider = "mothership" )
Click to show internal directories.
Click to hide internal directories.