Documentation ¶
Index ¶
- Variables
- func AWSSizeNoCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AWSSizes(region, architecture string, ...) (apiv1.AWSSizeList, error)
- func AWSSubnetNoCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AlibabaInstanceTypesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AlibabaVswitchesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AlibabaZonesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AnexiaTemplatesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AnexiaVlansWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AzureAvailabilityZonesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AzureResourceGroupEndpoint(ctx context.Context, ...) (*apiv1.AzureResourceGroupsList, error)
- func AzureRouteTableEndpoint(ctx context.Context, ...) (*apiv1.AzureRouteTablesList, error)
- func AzureSKUAvailabilityZones(ctx context.Context, ...) (*apiv1.AzureAvailabilityZonesList, error)
- func AzureSecurityGroupEndpoint(ctx context.Context, ...) (*apiv1.AzureSecurityGroupsList, error)
- func AzureSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, ...) (apiv1.AzureSizeList, error)
- func AzureSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func AzureSubnetEndpoint(ctx context.Context, ...) (*apiv1.AzureSubnetsList, error)
- func AzureVnetEndpoint(ctx context.Context, ...) (*apiv1.AzureVirtualNetworksList, error)
- func DigitaloceanSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, ...) (apiv1.DigitaloceanSizeList, error)
- func DigitaloceanSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GCPDiskTypesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GCPNetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GCPSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GCPSubnetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GCPZoneWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func GetOpenstackAvailabilityZones(datacenter *kubermaticv1.Datacenter, ...) ([]apiv1.OpenstackAvailabilityZone, error)
- func GetOpenstackNetworks(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.OpenstackNetwork, error)
- func GetOpenstackProjects(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.OpenstackTenant, error)
- func GetOpenstackSecurityGroups(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.OpenstackSecurityGroup, error)
- func GetOpenstackSizes(credentials *resources.OpenstackCredentials, ...) ([]apiv1.OpenstackSize, error)
- func GetOpenstackSubnets(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.OpenstackSubnet, error)
- func GetVsphereDatastoreList(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) (*apiv1.VSphereDatastoreList, error)
- func GetVsphereFolders(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.VSphereFolder, error)
- func GetVsphereNetworks(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, ...) ([]apiv1.VSphereNetwork, error)
- func HetznerSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, ...) (apiv1.HetznerSizeList, error)
- func HetznerSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func IsFlavorEnabled(apiSize apiv1.OpenstackSize, enabledFlavors []string) bool
- func KubeVirtStorageClasses(kubeconfig string) (apiv2.StorageClassList, error)
- func KubeVirtStorageClassesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func KubeVirtVMIPresets(kubeconfig string) (apiv2.VirtualMachineInstancePresetList, error)
- func KubeVirtVMIPresetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func ListAKSClusters(ctx context.Context, projectProvider provider.ProjectProvider, ...) (apiv2.AKSClusterList, error)
- func ListAKSMachineDeploymentUpgrades(ctx context.Context, cred resources.AKSCredentials, ...) ([]*apiv1.MasterVersion, error)
- func ListAKSUpgrades(ctx context.Context, cred resources.AKSCredentials, ...) ([]*apiv1.MasterVersion, error)
- func ListAWSSubnets(accessKeyID, secretAccessKey, assumeRoleID string, assumeRoleExternalID string, ...) (apiv1.AWSSubnetList, error)
- func ListAlibabaInstanceTypes(accessKeyID string, accessKeySecret string, region string, ...) (apiv1.AlibabaInstanceTypeList, error)
- func ListAlibabaVSwitches(accessKeyID string, accessKeySecret string, region string) (apiv1.AlibabaVSwitchList, error)
- func ListAlibabaZones(accessKeyID string, accessKeySecret string, region string) (apiv1.AlibabaZoneList, error)
- func ListAnexiaTemplates(ctx context.Context, token, locationID string) (apiv1.AnexiaTemplateList, error)
- func ListAnexiaVlans(ctx context.Context, token string) (apiv1.AnexiaVlanList, error)
- func ListEKSClusters(ctx context.Context, projectProvider provider.ProjectProvider, ...) (apiv2.EKSClusterList, error)
- func ListGCPDiskTypes(ctx context.Context, sa string, zone string) (apiv1.GCPDiskTypeList, error)
- func ListGCPNetworks(ctx context.Context, sa string) (apiv1.GCPNetworkList, error)
- func ListGCPSizes(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, ...) (apiv1.GCPMachineSizeList, error)
- func ListGCPSubnetworks(ctx context.Context, userInfo *provider.UserInfo, datacenterName string, ...) (apiv1.GCPSubnetworkList, error)
- func ListGCPZones(ctx context.Context, userInfo *provider.UserInfo, sa, datacenterName string, ...) (apiv1.GCPZoneList, error)
- func MeetsOpenstackNodeSizeRequirement(apiSize apiv1.OpenstackSize, ...) bool
- func NutanixSubnetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackAvailabilityZoneWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackNetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackSecurityGroupWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackSubnetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func OpenstackTenantWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func PacketSizes(apiKey, projectID string, quota kubermaticv1.MachineDeploymentVMResourceQuota) (apiv1.PacketSizeList, error)
- func PacketSizesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func SetDefaultSubnet(machineDeployments *clusterv1alpha1.MachineDeploymentList, ...) (apiv1.AWSSubnetList, error)
- func ValidateAKSCredentials(ctx context.Context, cred resources.AKSCredentials) error
- func ValidateEKSCredentials(ctx context.Context, credential EKSCredential) error
- func VsphereFoldersWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- func VsphereNetworksWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, ...) (interface{}, error)
- type AWSCredential
- type AzureClientSet
- type EKSCredential
- type NutanixClientSet
- type NutanixCredentials
Constants ¶
This section is empty.
Variables ¶
View Source
var NewAzureClientSet = func(subscriptionID, clientID, clientSecret, tenantID string) (AzureClientSet, error) { var err error sizesClient := compute.NewVirtualMachineSizesClient(subscriptionID) sizesClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } skusClient := compute.NewResourceSkusClient(subscriptionID) skusClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } securityGroupsClient := network.NewSecurityGroupsClient(subscriptionID) securityGroupsClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } resourceGroupsClient := resources.NewGroupsClient(subscriptionID) resourceGroupsClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } routeTablesClient := network.NewRouteTablesClient(subscriptionID) routeTablesClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } subnetsClient := network.NewSubnetsClient(subscriptionID) subnetsClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } vnetClient := network.NewVirtualNetworksClient(subscriptionID) vnetClient.Authorizer, err = auth.NewClientCredentialsConfig(clientID, clientSecret, tenantID).Authorizer() if err != nil { return nil, err } return &azureClientSetImpl{ vmSizeClient: sizesClient, skusClient: skusClient, securityGroupsClient: securityGroupsClient, resourceGroupsClient: resourceGroupsClient, subnetsClient: subnetsClient, vnetClient: vnetClient, routeTablesClient: routeTablesClient, }, nil }
View Source
var NewKubeVirtClientSet = func(kubeconfig string) (kubevirtcli.Interface, kubernetes.Interface, error) { config, err := base64.StdEncoding.DecodeString(kubeconfig) if err != nil { return nil, nil, err } clientConfig, err := clientcmd.RESTConfigFromKubeConfig(config) if err != nil { return nil, nil, err } kubevirtcli, err := kubevirtcli.NewForConfig(clientConfig) if err != nil { return nil, nil, err } k8scli, err := kubernetes.NewForConfig(clientConfig) if err != nil { return kubevirtcli, nil, err } return kubevirtcli, k8scli, nil }
View Source
var NewNutanixClient = func(dc *kubermaticv1.DatacenterSpecNutanix, creds *NutanixCredentials) NutanixClientSet {
return &nutanixClientImpl{
dc: dc,
creds: creds,
}
}
Functions ¶
func AWSSizeNoCredentialsEndpoint ¶
func AWSSizeNoCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, settingsProvider provider.SettingsProvider, projectID, clusterID, architecture string) (interface{}, error)
func AWSSizes ¶
func AWSSizes(region, architecture string, quota kubermaticv1.MachineDeploymentVMResourceQuota) (apiv1.AWSSizeList, error)
func AWSSubnetNoCredentialsEndpoint ¶
func AWSSubnetNoCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string) (interface{}, error)
func AlibabaInstanceTypesWithClusterCredentialsEndpoint ¶
func AlibabaInstanceTypesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, settingsProvider provider.SettingsProvider, projectID, clusterID, region string) (interface{}, error)
func AlibabaVswitchesWithClusterCredentialsEndpoint ¶ added in v2.17.0
func AlibabaVswitchesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID, region string) (interface{}, error)
func AlibabaZonesWithClusterCredentialsEndpoint ¶
func AlibabaZonesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID, region string) (interface{}, error)
func AnexiaTemplatesWithClusterCredentialsEndpoint ¶ added in v2.17.0
func AnexiaTemplatesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string) (interface{}, error)
func AnexiaVlansWithClusterCredentialsEndpoint ¶ added in v2.17.0
func AnexiaVlansWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, projectID, clusterID string) (interface{}, error)
func AzureAvailabilityZonesWithClusterCredentialsEndpoint ¶
func AzureAvailabilityZonesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID, skuName string) (interface{}, error)
func AzureRouteTableEndpoint ¶
func AzureSize ¶
func AzureSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, subscriptionID, clientID, clientSecret, tenantID, location string) (apiv1.AzureSizeList, error)
func AzureSizeWithClusterCredentialsEndpoint ¶
func AzureSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, settingsProvider provider.SettingsProvider, projectID, clusterID string) (interface{}, error)
func AzureSubnetEndpoint ¶
func AzureVnetEndpoint ¶
func DigitaloceanSize ¶
func DigitaloceanSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, token string) (apiv1.DigitaloceanSizeList, error)
func DigitaloceanSizeWithClusterCredentialsEndpoint ¶
func DigitaloceanSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, settingsProvider provider.SettingsProvider, projectID, clusterID string) (interface{}, error)
func GCPDiskTypesWithClusterCredentialsEndpoint ¶
func GCPDiskTypesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, projectID, clusterID, zone string) (interface{}, error)
func GCPNetworkWithClusterCredentialsEndpoint ¶
func GCPNetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, projectID, clusterID string) (interface{}, error)
func GCPSizeWithClusterCredentialsEndpoint ¶
func GCPSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, settingsProvider provider.SettingsProvider, projectID, clusterID, zone string) (interface{}, error)
func GCPSubnetworkWithClusterCredentialsEndpoint ¶
func GCPSubnetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID, network string) (interface{}, error)
func GCPZoneWithClusterCredentialsEndpoint ¶
func GCPZoneWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string) (interface{}, error)
func GetOpenstackAvailabilityZones ¶
func GetOpenstackAvailabilityZones(datacenter *kubermaticv1.Datacenter, credentials *resources.OpenstackCredentials, caBundle *x509.CertPool) ([]apiv1.OpenstackAvailabilityZone, error)
func GetOpenstackNetworks ¶
func GetOpenstackNetworks(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, credentials *resources.OpenstackCredentials, datacenterName string, caBundle *x509.CertPool) ([]apiv1.OpenstackNetwork, error)
func GetOpenstackProjects ¶ added in v2.20.0
func GetOpenstackProjects(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, credentials *resources.OpenstackCredentials, datacenterName string, caBundle *x509.CertPool) ([]apiv1.OpenstackTenant, error)
func GetOpenstackSecurityGroups ¶
func GetOpenstackSecurityGroups(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, credentials *resources.OpenstackCredentials, datacenterName string, caBundle *x509.CertPool) ([]apiv1.OpenstackSecurityGroup, error)
func GetOpenstackSizes ¶
func GetOpenstackSizes(credentials *resources.OpenstackCredentials, datacenter *kubermaticv1.Datacenter, quota kubermaticv1.MachineDeploymentVMResourceQuota, caBundle *x509.CertPool) ([]apiv1.OpenstackSize, error)
func GetOpenstackSubnets ¶
func GetOpenstackSubnets(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, credentials *resources.OpenstackCredentials, networkID, datacenterName string, caBundle *x509.CertPool) ([]apiv1.OpenstackSubnet, error)
func GetVsphereDatastoreList ¶ added in v2.17.0
func GetVsphereDatastoreList(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, username, password, datacenterName string, caBundle *x509.CertPool) (*apiv1.VSphereDatastoreList, error)
func GetVsphereFolders ¶
func GetVsphereFolders(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, username, password, datacenterName string, caBundle *x509.CertPool) ([]apiv1.VSphereFolder, error)
func GetVsphereNetworks ¶
func GetVsphereNetworks(userInfo *provider.UserInfo, seedsGetter provider.SeedsGetter, username, password, datacenterName string, caBundle *x509.CertPool) ([]apiv1.VSphereNetwork, error)
func HetznerSize ¶
func HetznerSize(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, token string) (apiv1.HetznerSizeList, error)
func HetznerSizeWithClusterCredentialsEndpoint ¶
func HetznerSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, settingsProvider provider.SettingsProvider, projectID, clusterID string) (interface{}, error)
func IsFlavorEnabled ¶ added in v2.17.0
func IsFlavorEnabled(apiSize apiv1.OpenstackSize, enabledFlavors []string) bool
func KubeVirtStorageClasses ¶ added in v2.19.0
func KubeVirtStorageClasses(kubeconfig string) (apiv2.StorageClassList, error)
func KubeVirtStorageClassesWithClusterCredentialsEndpoint ¶ added in v2.19.0
func KubeVirtStorageClassesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, projectID, clusterID string) (interface{}, error)
func KubeVirtVMIPresets ¶ added in v2.19.0
func KubeVirtVMIPresets(kubeconfig string) (apiv2.VirtualMachineInstancePresetList, error)
func KubeVirtVMIPresetsWithClusterCredentialsEndpoint ¶ added in v2.19.0
func KubeVirtVMIPresetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, projectID, clusterID string) (interface{}, error)
func ListAKSClusters ¶ added in v2.19.0
func ListAKSClusters(ctx context.Context, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter, clusterProvider provider.ExternalClusterProvider, cred resources.AKSCredentials, projectID string) (apiv2.AKSClusterList, error)
func ListAKSMachineDeploymentUpgrades ¶ added in v2.19.0
func ListAKSMachineDeploymentUpgrades(ctx context.Context, cred resources.AKSCredentials, clusterName, resourceGroupName, machineDeployment string) ([]*apiv1.MasterVersion, error)
func ListAKSUpgrades ¶ added in v2.19.0
func ListAKSUpgrades(ctx context.Context, cred resources.AKSCredentials, resourceGroupName, resourceName string) ([]*apiv1.MasterVersion, error)
func ListAWSSubnets ¶
func ListAWSSubnets(accessKeyID, secretAccessKey, assumeRoleID string, assumeRoleExternalID string, vpcID string, datacenter *kubermaticv1.Datacenter) (apiv1.AWSSubnetList, error)
func ListAlibabaInstanceTypes ¶
func ListAlibabaInstanceTypes(accessKeyID string, accessKeySecret string, region string, quota kubermaticv1.MachineDeploymentVMResourceQuota) (apiv1.AlibabaInstanceTypeList, error)
func ListAlibabaVSwitches ¶ added in v2.17.0
func ListAlibabaZones ¶
func ListAnexiaTemplates ¶ added in v2.17.0
func ListAnexiaVlans ¶ added in v2.17.0
func ListEKSClusters ¶ added in v2.19.0
func ListEKSClusters(ctx context.Context, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter, clusterProvider provider.ExternalClusterProvider, cred EKSCredential, projectID string) (apiv2.EKSClusterList, error)
func ListGCPDiskTypes ¶
func ListGCPNetworks ¶
func ListGCPSizes ¶
func ListGCPSizes(ctx context.Context, quota kubermaticv1.MachineDeploymentVMResourceQuota, sa, zone string) (apiv1.GCPMachineSizeList, error)
func ListGCPSubnetworks ¶
func ListGCPZones ¶
func ListGCPZones(ctx context.Context, userInfo *provider.UserInfo, sa, datacenterName string, seedsGetter provider.SeedsGetter) (apiv1.GCPZoneList, error)
func MeetsOpenstackNodeSizeRequirement ¶
func MeetsOpenstackNodeSizeRequirement(apiSize apiv1.OpenstackSize, requirements kubermaticv1.OpenstackNodeSizeRequirements) bool
func NutanixSubnetsWithClusterCredentialsEndpoint ¶ added in v2.19.1
func NutanixSubnetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string) (interface{}, error)
func OpenstackAvailabilityZoneWithClusterCredentialsEndpoint ¶
func OpenstackAvailabilityZoneWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool) (interface{}, error)
func OpenstackNetworkWithClusterCredentialsEndpoint ¶
func OpenstackNetworkWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool) (interface{}, error)
func OpenstackSecurityGroupWithClusterCredentialsEndpoint ¶
func OpenstackSecurityGroupWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool) (interface{}, error)
func OpenstackSizeWithClusterCredentialsEndpoint ¶
func OpenstackSizeWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, settingsProvider provider.SettingsProvider, projectID, clusterID string, caBundle *x509.CertPool) (interface{}, error)
func OpenstackSubnetsWithClusterCredentialsEndpoint ¶
func OpenstackSubnetsWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID, networkID string, caBundle *x509.CertPool) (interface{}, error)
func OpenstackTenantWithClusterCredentialsEndpoint ¶
func OpenstackTenantWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool) (interface{}, error)
func PacketSizes ¶
func PacketSizes(apiKey, projectID string, quota kubermaticv1.MachineDeploymentVMResourceQuota) (apiv1.PacketSizeList, error)
func PacketSizesWithClusterCredentialsEndpoint ¶
func PacketSizesWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, settingsProvider provider.SettingsProvider, projectID, clusterID string) (interface{}, error)
func SetDefaultSubnet ¶
func SetDefaultSubnet(machineDeployments *clusterv1alpha1.MachineDeploymentList, subnets apiv1.AWSSubnetList) (apiv1.AWSSubnetList, error)
func ValidateAKSCredentials ¶ added in v2.19.0
func ValidateAKSCredentials(ctx context.Context, cred resources.AKSCredentials) error
func ValidateEKSCredentials ¶ added in v2.19.0
func ValidateEKSCredentials(ctx context.Context, credential EKSCredential) error
func VsphereFoldersWithClusterCredentialsEndpoint ¶
func VsphereFoldersWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool, ) (interface{}, error)
func VsphereNetworksWithClusterCredentialsEndpoint ¶
func VsphereNetworksWithClusterCredentialsEndpoint(ctx context.Context, userInfoGetter provider.UserInfoGetter, projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, projectID, clusterID string, caBundle *x509.CertPool, ) (interface{}, error)
Types ¶
type AWSCredential ¶ added in v2.19.0
type AzureClientSet ¶
type AzureClientSet interface { ListVMSize(ctx context.Context, location string) ([]compute.VirtualMachineSize, error) ListSKU(ctx context.Context, location string) ([]compute.ResourceSku, error) ListSecurityGroups(ctx context.Context, resourceGroupName string) ([]network.SecurityGroup, error) ListResourceGroups(ctx context.Context) ([]resources.Group, error) ListRouteTables(ctx context.Context, resourceGroupName string) ([]network.RouteTable, error) ListVnets(ctx context.Context, resourceGroupName string) ([]network.VirtualNetwork, error) ListSubnets(ctx context.Context, resourceGroupName, virtualNetworkName string) ([]network.Subnet, error) }
type EKSCredential ¶ added in v2.19.0
type NutanixClientSet ¶ added in v2.19.1
type NutanixClientSet interface { ListNutanixClusters() (apiv1.NutanixClusterList, error) ListNutanixProjects() (apiv1.NutanixProjectList, error) ListNutanixSubnets(clusterName, projectName string) (apiv1.NutanixSubnetList, error) }
type NutanixCredentials ¶ added in v2.19.1
Click to show internal directories.
Click to hide internal directories.