Documentation
¶
Index ¶
- func AutoFillCluster(filename string, fillers ...ClusterFiller) ([]byte, error)
- func AutoFillVSphereProvider(filename string, fillers ...VSphereFiller) ([]byte, error)
- func NewGitOpsConfig(name string, opts ...GitOpsConfigOpt) *v1alpha1.GitOpsConfig
- func NewOIDCConfig(name string, opts ...OIDCConfigOpt) *v1alpha1.OIDCConfig
- type ClusterFiller
- func WithControlPlaneCount(r int) ClusterFiller
- func WithControlPlaneEndpointIP(value string) ClusterFiller
- func WithExternalEtcdTopology(count int) ClusterFiller
- func WithGitOpsRef(name string) ClusterFiller
- func WithKubernetesVersion(v v1alpha1.KubernetesVersion) ClusterFiller
- func WithOIDCIdentityProviderRef(name string) ClusterFiller
- func WithPodCidr(podCidr string) ClusterFiller
- func WithServiceCidr(svcCidr string) ClusterFiller
- func WithStackedEtcdTopology() ClusterFiller
- func WithWorkerNodeCount(r int) ClusterFiller
- type GitOpsConfigOpt
- func WithFluxBranch(branch string) GitOpsConfigOpt
- func WithFluxConfigurationPath(configPath string) GitOpsConfigOpt
- func WithFluxNamespace(namespace string) GitOpsConfigOpt
- func WithFluxOwner(username string) GitOpsConfigOpt
- func WithFluxRepository(repository string) GitOpsConfigOpt
- func WithPersonalFluxRepository(personal bool) GitOpsConfigOpt
- func WithStringFromEnvVarGitOpsConfig(envVar string, opt func(string) GitOpsConfigOpt) GitOpsConfigOpt
- type OIDCConfigOpt
- func WithOIDCClientId(id string) OIDCConfigOpt
- func WithOIDCGroupsClaim(claim string) OIDCConfigOpt
- func WithOIDCGroupsPrefix(prefix string) OIDCConfigOpt
- func WithOIDCIssuerUrl(url string) OIDCConfigOpt
- func WithOIDCRequiredClaims(claim, value string) OIDCConfigOpt
- func WithOIDCUsernameClaim(claim string) OIDCConfigOpt
- func WithOIDCUsernamePrefix(prefix string) OIDCConfigOpt
- func WithStringFromEnvVarOIDCConfig(envVar string, opt func(string) OIDCConfigOpt) OIDCConfigOpt
- type VSphereConfig
- type VSphereFiller
- func WithBoolFromEnvVar(envVar string, opt func(bool) VSphereFiller) VSphereFiller
- func WithDatacenter(value string) VSphereFiller
- func WithDatastore(value string) VSphereFiller
- func WithDiskGiB(value int) VSphereFiller
- func WithFolder(value string) VSphereFiller
- func WithMemoryMiB(value int) VSphereFiller
- func WithNetwork(value string) VSphereFiller
- func WithNumCPUs(value int) VSphereFiller
- func WithOsFamily(value v1alpha1.OSFamily) VSphereFiller
- func WithResourcePool(value string) VSphereFiller
- func WithSSHAuthorizedKey(value string) VSphereFiller
- func WithSSHUsernameAndAuthorizedKey(username string, key string) VSphereFiller
- func WithServer(value string) VSphereFiller
- func WithStoragePolicyName(value string) VSphereFiller
- func WithStringFromEnvVar(envVar string, opt func(string) VSphereFiller) VSphereFiller
- func WithTLSInsecure(value bool) VSphereFiller
- func WithTLSThumbprint(value string) VSphereFiller
- func WithTemplate(value string) VSphereFiller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoFillCluster ¶
func AutoFillCluster(filename string, fillers ...ClusterFiller) ([]byte, error)
func AutoFillVSphereProvider ¶
func AutoFillVSphereProvider(filename string, fillers ...VSphereFiller) ([]byte, error)
func NewGitOpsConfig ¶
func NewGitOpsConfig(name string, opts ...GitOpsConfigOpt) *v1alpha1.GitOpsConfig
func NewOIDCConfig ¶
func NewOIDCConfig(name string, opts ...OIDCConfigOpt) *v1alpha1.OIDCConfig
Types ¶
type ClusterFiller ¶
func WithControlPlaneCount ¶
func WithControlPlaneCount(r int) ClusterFiller
func WithControlPlaneEndpointIP ¶
func WithControlPlaneEndpointIP(value string) ClusterFiller
func WithExternalEtcdTopology ¶
func WithExternalEtcdTopology(count int) ClusterFiller
func WithGitOpsRef ¶
func WithGitOpsRef(name string) ClusterFiller
func WithKubernetesVersion ¶
func WithKubernetesVersion(v v1alpha1.KubernetesVersion) ClusterFiller
func WithOIDCIdentityProviderRef ¶
func WithOIDCIdentityProviderRef(name string) ClusterFiller
func WithPodCidr ¶
func WithPodCidr(podCidr string) ClusterFiller
func WithServiceCidr ¶
func WithServiceCidr(svcCidr string) ClusterFiller
func WithStackedEtcdTopology ¶
func WithStackedEtcdTopology() ClusterFiller
func WithWorkerNodeCount ¶
func WithWorkerNodeCount(r int) ClusterFiller
type GitOpsConfigOpt ¶
type GitOpsConfigOpt func(o *v1alpha1.GitOpsConfig)
func WithFluxBranch ¶
func WithFluxBranch(branch string) GitOpsConfigOpt
func WithFluxConfigurationPath ¶
func WithFluxConfigurationPath(configPath string) GitOpsConfigOpt
func WithFluxNamespace ¶
func WithFluxNamespace(namespace string) GitOpsConfigOpt
func WithFluxOwner ¶
func WithFluxOwner(username string) GitOpsConfigOpt
func WithFluxRepository ¶
func WithFluxRepository(repository string) GitOpsConfigOpt
func WithPersonalFluxRepository ¶
func WithPersonalFluxRepository(personal bool) GitOpsConfigOpt
func WithStringFromEnvVarGitOpsConfig ¶
func WithStringFromEnvVarGitOpsConfig(envVar string, opt func(string) GitOpsConfigOpt) GitOpsConfigOpt
type OIDCConfigOpt ¶
type OIDCConfigOpt func(o *v1alpha1.OIDCConfig)
func WithOIDCClientId ¶
func WithOIDCClientId(id string) OIDCConfigOpt
func WithOIDCGroupsClaim ¶
func WithOIDCGroupsClaim(claim string) OIDCConfigOpt
func WithOIDCGroupsPrefix ¶
func WithOIDCGroupsPrefix(prefix string) OIDCConfigOpt
func WithOIDCIssuerUrl ¶
func WithOIDCIssuerUrl(url string) OIDCConfigOpt
func WithOIDCRequiredClaims ¶
func WithOIDCRequiredClaims(claim, value string) OIDCConfigOpt
func WithOIDCUsernameClaim ¶
func WithOIDCUsernameClaim(claim string) OIDCConfigOpt
func WithOIDCUsernamePrefix ¶
func WithOIDCUsernamePrefix(prefix string) OIDCConfigOpt
func WithStringFromEnvVarOIDCConfig ¶
func WithStringFromEnvVarOIDCConfig(envVar string, opt func(string) OIDCConfigOpt) OIDCConfigOpt
type VSphereConfig ¶
type VSphereConfig struct {
// contains filtered or unexported fields
}
type VSphereFiller ¶
type VSphereFiller func(config VSphereConfig)
func WithBoolFromEnvVar ¶
func WithBoolFromEnvVar(envVar string, opt func(bool) VSphereFiller) VSphereFiller
func WithDatacenter ¶
func WithDatacenter(value string) VSphereFiller
func WithDatastore ¶
func WithDatastore(value string) VSphereFiller
func WithDiskGiB ¶
func WithDiskGiB(value int) VSphereFiller
func WithFolder ¶
func WithFolder(value string) VSphereFiller
func WithMemoryMiB ¶
func WithMemoryMiB(value int) VSphereFiller
func WithNetwork ¶
func WithNetwork(value string) VSphereFiller
func WithNumCPUs ¶
func WithNumCPUs(value int) VSphereFiller
func WithOsFamily ¶
func WithOsFamily(value v1alpha1.OSFamily) VSphereFiller
func WithResourcePool ¶
func WithResourcePool(value string) VSphereFiller
func WithSSHAuthorizedKey ¶
func WithSSHAuthorizedKey(value string) VSphereFiller
func WithSSHUsernameAndAuthorizedKey ¶
func WithSSHUsernameAndAuthorizedKey(username string, key string) VSphereFiller
func WithServer ¶
func WithServer(value string) VSphereFiller
func WithStoragePolicyName ¶
func WithStoragePolicyName(value string) VSphereFiller
func WithStringFromEnvVar ¶
func WithStringFromEnvVar(envVar string, opt func(string) VSphereFiller) VSphereFiller
func WithTLSInsecure ¶
func WithTLSInsecure(value bool) VSphereFiller
func WithTLSThumbprint ¶
func WithTLSThumbprint(value string) VSphereFiller
func WithTemplate ¶
func WithTemplate(value string) VSphereFiller
Click to show internal directories.
Click to hide internal directories.