types

package
v2.21.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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"
)

Variables

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) AddFlags

func (o *Options) AddFlags()

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) AddFlags

func (s *Secrets) AddFlags()

func (*Secrets) ParseFlags

func (s *Secrets) ParseFlags() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL