Documentation ¶
Index ¶
- Constants
- func NewClusterDeployment(opts ...Opt) *v1alpha1.ClusterDeployment
- type Opt
- func WithAvailableUpgrades(availableUpgrades []string) Opt
- func WithClusterTemplate(templateName string) Opt
- func WithConfig(config string) Opt
- func WithCredential(credName string) Opt
- func WithDryRun(dryRun bool) Opt
- func WithName(name string) Opt
- func WithNamespace(namespace string) Opt
- func WithServiceTemplate(templateName string) Opt
Constants ¶
View Source
const ( DefaultName = "clusterdeployment" DefaultNamespace = metav1.NamespaceDefault )
Variables ¶
This section is empty.
Functions ¶
func NewClusterDeployment ¶
func NewClusterDeployment(opts ...Opt) *v1alpha1.ClusterDeployment
Types ¶
type Opt ¶
type Opt func(clusterDeployment *v1alpha1.ClusterDeployment)
func WithAvailableUpgrades ¶
func WithClusterTemplate ¶
func WithConfig ¶
func WithCredential ¶
func WithDryRun ¶
func WithNamespace ¶
func WithServiceTemplate ¶
Click to show internal directories.
Click to hide internal directories.