Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConformanceTests = "conformance" LoadbalancerTests = "loadbalancer" StorageTests = "storage" MetricsTests = "metrics" SecurityContextTests = "securitycontext" TelemetryTests = "telemetry" K8sGcrImageTests = "gcr-images" UserClusterRBACTests = "usercluster-rbac" UserClusterSeccompTests = "usercluster-seccomp" UserClusterK8sGcrImageTests = "usercluster-gcr-images" )
Variables ¶
View Source
var AllProviders = sets.New( string(kubermaticv1.AWSCloudProvider), string(kubermaticv1.AlibabaCloudProvider), string(kubermaticv1.AnexiaCloudProvider), string(kubermaticv1.AzureCloudProvider), string(kubermaticv1.DigitaloceanCloudProvider), string(kubermaticv1.GCPCloudProvider), string(kubermaticv1.HetznerCloudProvider), string(kubermaticv1.KubevirtCloudProvider), string(kubermaticv1.NutanixCloudProvider), string(kubermaticv1.OpenstackCloudProvider), string(kubermaticv1.PacketCloudProvider), string(kubermaticv1.VMwareCloudDirectorCloudProvider), string(kubermaticv1.VSphereCloudProvider), )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Client string NamePrefix string Providers sets.Set[string] Releases sets.Set[string] Versions []*kubermativsemver.Semver EnableDistributions sets.Set[string] ExcludeDistributions sets.Set[string] Distributions sets.Set[string] EnableTests sets.Set[string] ExcludeTests sets.Set[string] Tests sets.Set[string] // The tester can export the result status for all executed scenarios // into a JSON file and then re-read that to retry failed runs. ResultsFile string RetryFailedScenarios bool OperatingSystemManagerEnabled bool DualStackEnabled bool KonnectivityEnabled bool ScenarioOptions sets.Set[string] TestClusterUpdate bool ControlPlaneReadyWaitTimeout time.Duration NodeReadyTimeout time.Duration CustomTestTimeout time.Duration UserClusterPollInterval time.Duration DeleteClusterAfterTests bool WaitForClusterDeletion bool NodeCount int PublicKeys [][]byte ReportsRoot string LogDirectory string SeedClusterClient ctrlruntimeclient.Client SeedGeneratedClient kubernetes.Interface ClusterClientProvider *clusterclient.Provider RepoRoot string Seed *kubermaticv1.Seed SeedRestConfig *rest.Config ClusterParallelCount int HomeDir string ExistingClusterLabel string KubermaticNamespace string KubermaticSeedName string KubermaticProject string KubermaticConfiguration *kubermaticv1.KubermaticConfiguration PushgatewayEndpoint string Secrets Secrets }
Options represent combination of flags and ENV options.
func NewDefaultOptions ¶
func NewDefaultOptions() *Options
func (*Options) ParseFlags ¶
func (o *Options) ParseFlags(log *zap.SugaredLogger) error
type Secrets ¶
type Secrets struct { Anexia struct { KKPDatacenter string Token string TemplateID string VlanID string } AWS struct { KKPDatacenter string AccessKeyID string SecretAccessKey string } Azure struct { KKPDatacenter string ClientID string ClientSecret string TenantID string SubscriptionID string } Digitalocean struct { KKPDatacenter string Token string } Hetzner struct { KKPDatacenter string Token string } OpenStack struct { KKPDatacenter string Domain string Project string ProjectID string Username string Password string } VSphere struct { KKPDatacenter string Username string Password string } Packet struct { KKPDatacenter string APIKey string ProjectID string } GCP struct { KKPDatacenter string // ServiceAccount is the plaintext Service account (as JSON) without any (base64) encoding. ServiceAccount string Network string Subnetwork string } Kubevirt struct { KKPDatacenter string // Kubeconfig is the plaintext kubeconfig without any (base64) encoding. Kubeconfig string } Alibaba struct { KKPDatacenter string AccessKeyID string AccessKeySecret string } Nutanix struct { KKPDatacenter string Username string Password string CSIUsername string CSIPassword string CSIEndpoint string CSIPort int32 ProxyURL string ClusterName string ProjectName string SubnetName string } VMwareCloudDirector struct { KKPDatacenter string Username string Password string Organization string VDC string OVDCNetwork string } RHEL struct { SubscriptionUser string SubscriptionPassword string OfflineToken string } }
func (*Secrets) ParseFlags ¶
Click to show internal directories.
Click to hide internal directories.