Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConformanceTests = "conformance" LoadbalancerTests = "loadbalancer" StorageTests = "storage" MetricsTests = "metrics" SecurityContextTests = "securitycontext" TelemetryTests = "telemetry" UserClusterRBACTests = "usercluster-rbac" UserClusterSeccompTests = "usercluster-seccomp" )
Variables ¶
View Source
var AllProviders = sets.NewString( string(providerconfig.CloudProviderAWS), string(providerconfig.CloudProviderAlibaba), string(providerconfig.CloudProviderAnexia), string(providerconfig.CloudProviderAzure), string(providerconfig.CloudProviderDigitalocean), string(providerconfig.CloudProviderGoogle), string(providerconfig.CloudProviderHetzner), string(providerconfig.CloudProviderKubeVirt), string(providerconfig.CloudProviderNutanix), string(providerconfig.CloudProviderOpenstack), string(providerconfig.CloudProviderPacket), string(providerconfig.CloudProviderVMwareCloudDirector), string(providerconfig.CloudProviderVsphere), )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Client string NamePrefix string Providers sets.String Releases sets.String Versions []*kubermativsemver.Semver EnableDistributions sets.String ExcludeDistributions sets.String Distributions sets.String EnableTests sets.String ExcludeTests sets.String Tests sets.String ContainerRuntimes sets.String OperatingSystemManagerEnabled bool DualStackEnabled bool KonnectivityEnabled bool PspEnabled bool ScenarioOptions sets.String 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 CreateOIDCToken bool DexHelmValuesFile string KubermaticNamespace string KubermaticEndpoint string KubermaticSeedName string KubermaticProject string KubermaticOIDCToken string KubermaticClient *apiclient.KubermaticKubernetesPlatformAPI KubermaticAuthenticator runtime.ClientAuthInfoWriter 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 } }
func (*Secrets) ParseFlags ¶
Click to show internal directories.
Click to hide internal directories.