Documentation
¶
Index ¶
- Variables
- func CreateServiceTemplate(ctx context.Context, client crclient.Client, namespace, name string, ...)
- func FindLatestTemplatesWithType(clusterTemplates []string, templateType Type, n int) []string
- func GetSortedClusterTemplates(ctx context.Context, cl crclient.Client, namespace string) ([]string, error)
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = []Type{ TemplateAWSStandaloneCP, TemplateAWSHostedCP, TemplateAWSEKS, TemplateAzureStandaloneCP, TemplateAzureHostedCP, TemplateAzureAKS, TemplateVSphereStandaloneCP, TemplateVSphereHostedCP, TemplateAdoptedCluster, TemplateRemoteCluster, }
Types is an array of all the supported template types
Functions ¶
func CreateServiceTemplate ¶
Types ¶
type Type ¶
type Type string
const ( TemplateAWSStandaloneCP Type = "aws-standalone-cp" TemplateAWSHostedCP Type = "aws-hosted-cp" TemplateAWSEKS Type = "aws-eks" TemplateAzureStandaloneCP Type = "azure-standalone-cp" TemplateAzureHostedCP Type = "azure-hosted-cp" TemplateAzureAKS Type = "azure-aks" TemplateVSphereStandaloneCP Type = "vsphere-standalone-cp" TemplateVSphereHostedCP Type = "vsphere-hosted-cp" TemplateAdoptedCluster Type = "adopted-cluster" TemplateRemoteCluster Type = "remote-cluster" )
Click to show internal directories.
Click to hide internal directories.