Documentation ¶
Index ¶
- type Generator
- func (g *Generator) Scenarios(ctx context.Context, opts *ctypes.Options, log *zap.SugaredLogger) ([]Scenario, error)
- func (g *Generator) WithCloudProviders(providerNames ...kubermaticv1.CloudProvider) *Generator
- func (g *Generator) WithContainerRuntimes(runtimes ...string) *Generator
- func (g *Generator) WithDualstack(enable bool) *Generator
- func (g *Generator) WithOSM(enable bool) *Generator
- func (g *Generator) WithOperatingSystems(operatingSystems ...kubermaticv1.OperatingSystem) *Generator
- func (g *Generator) WithVersions(versions ...*semver.Semver) *Generator
- type Scenario
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator() *Generator
func (*Generator) WithCloudProviders ¶
func (g *Generator) WithCloudProviders(providerNames ...kubermaticv1.CloudProvider) *Generator
func (*Generator) WithContainerRuntimes ¶
func (*Generator) WithDualstack ¶
func (*Generator) WithOperatingSystems ¶
func (g *Generator) WithOperatingSystems(operatingSystems ...kubermaticv1.OperatingSystem) *Generator
type Scenario ¶
type Scenario interface { CloudProvider() kubermaticv1.CloudProvider OperatingSystem() kubermaticv1.OperatingSystem ContainerRuntime() string ClusterVersion() semver.Semver Datacenter() *kubermaticv1.Datacenter Name() string Log(log *zap.SugaredLogger) *zap.SugaredLogger NamedLog(log *zap.SugaredLogger) *zap.SugaredLogger IsValid() error Cluster(secrets types.Secrets) *kubermaticv1.ClusterSpec MachineDeployments(ctx context.Context, num int, secrets types.Secrets, cluster *kubermaticv1.Cluster, sshPubKeys []string) ([]clusterv1alpha1.MachineDeployment, error) }
Click to show internal directories.
Click to hide internal directories.