Documentation ¶
Index ¶
- Variables
- func AWSSizeEndpoint() endpoint.Endpoint
- func AWSSizeNoCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func AWSSubnetEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func AWSSubnetWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func AWSVPCEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func AlibabaInstanceTypesEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func AlibabaInstanceTypesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func AlibabaZonesEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func AlibabaZonesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func AzureAvailabilityZonesEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func AzureAvailabilityZonesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func AzureSizeEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func AzureSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func DecodeAWSCommonReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAWSSizesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAWSSubnetReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAWSVPCReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAlibabaCommonReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAlibabaNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAlibabaReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAzureAvailabilityZonesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAzureAvailabilityZonesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAzureSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeAzureSizesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeDoSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeDoSizesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPCommonReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPSubnetworksNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPSubnetworksReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPTypesNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPTypesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGCPZoneReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeHetznerSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeHetznerSizesReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeOpenstackNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeOpenstackReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeOpenstackSubnetNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeOpenstackSubnetReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeOpenstackTenantReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodePacketSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodePacketSizesReq(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeVSphereFoldersNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeVSphereFoldersReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeVSphereNetworksNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeVSphereNetworksReq(c context.Context, r *http.Request) (interface{}, error)
- func DigitaloceanSizeEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func DigitaloceanSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func GCPDiskTypesEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func GCPDiskTypesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func GCPNetworkEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func GCPNetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func GCPSizeEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func GCPSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func GCPSubnetworkEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func GCPSubnetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func GCPZoneEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func GCPZoneWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func HetznerSizeEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func HetznerSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func MeetsOpenstackNodeSizeRequirement(apiSize apiv1.OpenstackSize, ...) bool
- func OpenstackNetworkEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func OpenstackNetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func OpenstackSecurityGroupEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func OpenstackSecurityGroupWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func OpenstackSizeEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func OpenstackSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func OpenstackSubnetsEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func OpenstackSubnetsWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func OpenstackTenantEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func OpenstackTenantWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func PacketSizesEndpoint(presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func PacketSizesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func SetDefaultSubnet(machineDeployments *clusterv1alpha1.MachineDeploymentList, ...) (apiv1.AWSSubnetList, error)
- func VsphereFoldersEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func VsphereFoldersWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- func VsphereNetworksEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, ...) endpoint.Endpoint
- func VsphereNetworksWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, ...) endpoint.Endpoint
- type AWSCommonReq
- type AWSSizeReq
- type AWSSubnetReq
- type AWSVPCReq
- type AlibabaCommonReq
- type AlibabaNoCredentialReq
- type AlibabaReq
- type AvailabilityZonesReq
- type AzureAvailabilityZonesNoCredentialsReq
- type AzureClientSet
- type AzureSizeNoCredentialsReq
- type AzureSizeReq
- type DoSizesNoCredentialsReq
- type DoSizesReq
- type GCPCommonReq
- type GCPSubnetworksNoCredentialReq
- type GCPSubnetworksReq
- type GCPTypesNoCredentialReq
- type GCPTypesReq
- type GCPZoneReq
- type HetznerSizesNoCredentialsReq
- type HetznerSizesReq
- type OpenstackNoCredentialsReq
- type OpenstackReq
- type OpenstackSubnetNoCredentialsReq
- type OpenstackSubnetReq
- type OpenstackTenantReq
- type PacketSizesNoCredentialsReq
- type PacketSizesReq
- type VSphereFoldersNoCredentialsReq
- type VSphereFoldersReq
- type VSphereNetworksNoCredentialsReq
- type VSphereNetworksReq
Constants ¶
This section is empty.
Variables ¶
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 } return &azureClientSetImpl{ vmSizeClient: sizesClient, skusClient: skusClient, }, nil }
Functions ¶
func AWSSizeEndpoint ¶
AWSSizeEndpoint handles the request to list available AWS sizes.
func AWSSizeNoCredentialsEndpoint ¶
func AWSSizeNoCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
AWSSizeNoCredentialsEndpoint handles the request to list available AWS sizes.
func AWSSubnetEndpoint ¶
func AWSSubnetEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
AWSSubnetEndpoint handles the request to list AWS availability subnets in a given vpc, using provided credentials
func AWSSubnetWithClusterCredentialsEndpoint ¶
func AWSSubnetWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
AWSSubnetWithClusterCredentialsEndpoint handles the request to list AWS availability subnets in a given vpc, using credentials
func AWSVPCEndpoint ¶
func AWSVPCEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
AWSVPCEndpoint handles the request to list AWS VPC's, using provided credentials
func AlibabaInstanceTypesEndpoint ¶
func AlibabaInstanceTypesEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AlibabaInstanceTypesWithClusterCredentialsEndpoint ¶
func AlibabaInstanceTypesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AlibabaZonesEndpoint ¶
func AlibabaZonesEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AlibabaZonesWithClusterCredentialsEndpoint ¶
func AlibabaZonesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AzureAvailabilityZonesEndpoint ¶
func AzureAvailabilityZonesEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AzureAvailabilityZonesWithClusterCredentialsEndpoint ¶
func AzureAvailabilityZonesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AzureSizeEndpoint ¶
func AzureSizeEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func AzureSizeWithClusterCredentialsEndpoint ¶
func AzureSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func DecodeAWSCommonReq ¶
DecodeAWSCommonReq decodes the base type for a AWS special endpoint request
func DecodeAWSSizesReq ¶
DecodeAWSSizesReq decodes the base type for a AWS special endpoint request
func DecodeAWSSubnetReq ¶
DecodeAWSSubnetReq decodes a request for a list of AWS subnets
func DecodeAWSVPCReq ¶
DecodeAWSVPCReq decodes a request for a list of AWS vpc's
func DecodeAlibabaCommonReq ¶
func DecodeAlibabaReq ¶
func DecodeAzureSizesReq ¶
func DecodeDoSizesReq ¶
func DecodeGCPCommonReq ¶
func DecodeGCPSubnetworksReq ¶
func DecodeGCPTypesReq ¶
func DecodeGCPZoneReq ¶
func DecodeHetznerSizesReq ¶
func DecodeOpenstackReq ¶
func DecodePacketSizesReq ¶
func DecodeVSphereFoldersReq ¶
func DigitaloceanSizeEndpoint ¶
func DigitaloceanSizeEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func DigitaloceanSizeWithClusterCredentialsEndpoint ¶
func DigitaloceanSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPDiskTypesEndpoint ¶
func GCPDiskTypesEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPDiskTypesWithClusterCredentialsEndpoint ¶
func GCPDiskTypesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPNetworkEndpoint ¶
func GCPNetworkEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPNetworkWithClusterCredentialsEndpoint ¶
func GCPNetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPSizeEndpoint ¶
func GCPSizeEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPSizeWithClusterCredentialsEndpoint ¶
func GCPSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPSubnetworkEndpoint ¶
func GCPSubnetworkEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPSubnetworkWithClusterCredentialsEndpoint ¶
func GCPSubnetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPZoneEndpoint ¶
func GCPZoneEndpoint(presetsProvider provider.PresetProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func GCPZoneWithClusterCredentialsEndpoint ¶
func GCPZoneWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func HetznerSizeEndpoint ¶
func HetznerSizeEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func HetznerSizeWithClusterCredentialsEndpoint ¶
func HetznerSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func MeetsOpenstackNodeSizeRequirement ¶
func MeetsOpenstackNodeSizeRequirement(apiSize apiv1.OpenstackSize, requirements kubermaticv1.OpenstackNodeSizeRequirements) bool
func OpenstackNetworkEndpoint ¶
func OpenstackNetworkEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackNetworkWithClusterCredentialsEndpoint ¶
func OpenstackNetworkWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSecurityGroupEndpoint ¶
func OpenstackSecurityGroupEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSecurityGroupWithClusterCredentialsEndpoint ¶
func OpenstackSecurityGroupWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSizeEndpoint ¶
func OpenstackSizeEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSizeWithClusterCredentialsEndpoint ¶
func OpenstackSizeWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSubnetsEndpoint ¶
func OpenstackSubnetsEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackSubnetsWithClusterCredentialsEndpoint ¶
func OpenstackSubnetsWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackTenantEndpoint ¶
func OpenstackTenantEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func OpenstackTenantWithClusterCredentialsEndpoint ¶
func OpenstackTenantWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func PacketSizesEndpoint ¶
func PacketSizesEndpoint(presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func PacketSizesWithClusterCredentialsEndpoint ¶
func PacketSizesWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func SetDefaultSubnet ¶
func SetDefaultSubnet(machineDeployments *clusterv1alpha1.MachineDeploymentList, subnets apiv1.AWSSubnetList) (apiv1.AWSSubnetList, error)
func VsphereFoldersEndpoint ¶
func VsphereFoldersEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func VsphereFoldersWithClusterCredentialsEndpoint ¶
func VsphereFoldersWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func VsphereNetworksEndpoint ¶
func VsphereNetworksEndpoint(seedsGetter provider.SeedsGetter, presetsProvider provider.PresetProvider, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
func VsphereNetworksWithClusterCredentialsEndpoint ¶
func VsphereNetworksWithClusterCredentialsEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider, seedsGetter provider.SeedsGetter, userInfoGetter provider.UserInfoGetter) endpoint.Endpoint
Types ¶
type AWSCommonReq ¶
type AWSCommonReq struct { // in: header // name: AccessKeyID AccessKeyID string // in: header // name: SecretAccessKey SecretAccessKey string // in: header // name: Credential Credential string }
AWSCommonReq represent a request with common parameters for AWS.
type AWSSizeReq ¶
type AWSSizeReq struct {
Region string
}
AWSSizeReq represent a request for AWS VM sizes. swagger:parameters listAWSSizes
type AWSSubnetReq ¶
type AWSSubnetReq struct { AWSCommonReq // in: path // required: true DC string `json:"dc"` // in: header // name: VPC VPC string `json:"vpc"` }
AWSSubnetReq represent a request for AWS subnets. swagger:parameters listAWSSubnets
type AWSVPCReq ¶
type AWSVPCReq struct { AWSCommonReq // in: path // required: true DC string `json:"dc"` }
AWSVPCReq represent a request for AWS vpc's. swagger:parameters listAWSVPCS
type AlibabaCommonReq ¶
type AlibabaCommonReq struct { // in: header // name: AccessKeyID AccessKeyID string // in: header // name: AccessKeySecret AccessKeySecret string // in: header // name: Credential Credential string }
AlibabaCommonReq represent a request with common parameters for Alibaba.
type AlibabaNoCredentialReq ¶
type AlibabaNoCredentialReq struct { common.GetClusterReq // in: header // name: Region Region string }
AlibabaNoCredentialReq represent a request for Alibaba instance types. swagger:parameters listAlibabaInstanceTypesNoCredentials listAlibabaZonesNoCredentials
type AlibabaReq ¶
type AlibabaReq struct { AlibabaCommonReq // in: header // name: Region Region string }
AlibabaReq represent a request for Alibaba instance types. swagger:parameters listAlibabaInstanceTypes listAlibabaZones
type AvailabilityZonesReq ¶
type AvailabilityZonesReq struct { SubscriptionID string TenantID string ClientID string ClientSecret string Location string SKUName string Credential string }
AvailabilityZonesReq represent a request for Azure VM Multi-AvailabilityZones support
type AzureAvailabilityZonesNoCredentialsReq ¶
type AzureAvailabilityZonesNoCredentialsReq struct { common.GetClusterReq // in: header // name: SKUName SKUName string }
AzureAvailabilityZonesNoCredentialsReq represent a request for Azure Availability Zones note that the request doesn't have credentials for authN swagger:parameters listAzureAvailabilityZonesNoCredentials
type AzureClientSet ¶
type AzureSizeNoCredentialsReq ¶
type AzureSizeNoCredentialsReq struct {
common.GetClusterReq
}
AzureSizeNoCredentialsReq represent a request for Azure VM sizes note that the request doesn't have credentials for authN swagger:parameters listAzureSizesNoCredentials
type AzureSizeReq ¶
type AzureSizeReq struct { SubscriptionID string TenantID string ClientID string ClientSecret string Location string Credential string }
AzureSizeReq represent a request for Azure VM sizes
type DoSizesNoCredentialsReq ¶
type DoSizesNoCredentialsReq struct {
common.GetClusterReq
}
DoSizesNoCredentialsReq represent a request for digitalocean sizes EP, note that the request doesn't have credentials for autN swagger:parameters listDigitaloceanSizesNoCredentials
type DoSizesReq ¶
DoSizesReq represent a request for digitalocean sizes
type GCPCommonReq ¶
type GCPCommonReq struct { // in: header // name: ServiceAccount ServiceAccount string // in: header // name: Credential Credential string }
GCPCommonReq represent a request with common parameters for GCP.
type GCPSubnetworksNoCredentialReq ¶
type GCPSubnetworksNoCredentialReq struct { common.GetClusterReq // in: header // name: Network Network string }
GCPSubnetworksNoCredentialReq represent a request for GCP subnetworks. swagger:parameters listGCPSubnetworksNoCredentials
type GCPSubnetworksReq ¶
type GCPSubnetworksReq struct { GCPCommonReq // in: header // name: Network Network string // in: path // required: true DC string `json:"dc"` }
GCPSubnetworksReq represent a request for GCP subnetworks. swagger:parameters listGCPSubnetworks
type GCPTypesNoCredentialReq ¶
type GCPTypesNoCredentialReq struct { common.GetClusterReq // in: header // name: Zone Zone string }
GCPTypesNoCredentialReq represent a request for GCP machine or disk types. swagger:parameters listGCPSizesNoCredentials listGCPDiskTypesNoCredentials
type GCPTypesReq ¶
type GCPTypesReq struct { GCPCommonReq // in: header // name: Zone Zone string }
GCPTypesReq represent a request for GCP machine or disk types. swagger:parameters listGCPDiskTypes listGCPSizes
type GCPZoneReq ¶
type GCPZoneReq struct { GCPCommonReq // in: path // required: true DC string `json:"dc"` }
GCPZoneReq represent a request for GCP zones. swagger:parameters listGCPZones
type HetznerSizesNoCredentialsReq ¶
type HetznerSizesNoCredentialsReq struct {
common.GetClusterReq
}
HetznerSizesNoCredentialsReq represent a request for hetzner sizes EP swagger:parameters listHetznerSizesNoCredentials
type HetznerSizesReq ¶
HetznerSizesReq represent a request for hetzner sizes
type OpenstackNoCredentialsReq ¶
type OpenstackNoCredentialsReq struct {
common.GetClusterReq
}
OpenstackNoCredentialsReq represent a request for openstack swagger:parameters listOpenstackSizesNoCredentials listOpenstackTenantsNoCredentials listOpenstackNetworksNoCredentials listOpenstackSecurityGroupsNoCredentials
type OpenstackReq ¶
type OpenstackReq struct { Username string Password string Domain string Tenant string TenantID string DatacenterName string Credential string }
OpenstackReq represent a request for openstack
type OpenstackSubnetNoCredentialsReq ¶
type OpenstackSubnetNoCredentialsReq struct { OpenstackNoCredentialsReq // in: query NetworkID string `json:"network_id,omitempty"` }
OpenstackSubnetNoCredentialsReq represent a request for openstack subnets swagger:parameters listOpenstackSubnetsNoCredentials
type OpenstackSubnetReq ¶
type OpenstackSubnetReq struct { OpenstackReq // in: query NetworkID string `json:"network_id,omitempty"` }
OpenstackSubnetReq represent a request for openstack subnets swagger:parameters listOpenstackSubnets
type OpenstackTenantReq ¶
type OpenstackTenantReq struct { Username string Password string Domain string DatacenterName string Credential string }
OpenstackTenantReq represent a request for openstack tenants
type PacketSizesNoCredentialsReq ¶
type PacketSizesNoCredentialsReq struct {
common.GetClusterReq
}
PacketSizesNoCredentialsReq represent a request for Packet sizes EP swagger:parameters listPacketSizesNoCredentials
type PacketSizesReq ¶
type PacketSizesReq struct { // in: header // name: APIKey APIKey string `json:"apiKey"` // in: header // name: ProjectID ProjectID string `json:"projectID"` // in: header // name: Credential Credential string `json:"credential"` }
PacketSizesReq represent a request for Packet sizes. swagger:parameters listPacketSizes
type VSphereFoldersNoCredentialsReq ¶
type VSphereFoldersNoCredentialsReq struct {
common.GetClusterReq
}
VSphereFoldersNoCredentialsReq represent a request for vsphere folders swagger:parameters listVSphereFoldersNoCredentials
type VSphereFoldersReq ¶
type VSphereFoldersReq struct { Username string Password string DatacenterName string Credential string }
VSphereFoldersReq represent a request for vsphere folders
type VSphereNetworksNoCredentialsReq ¶
type VSphereNetworksNoCredentialsReq struct {
common.GetClusterReq
}
VSphereNetworksNoCredentialsReq represent a request for vsphere networks swagger:parameters listVSphereNetworksNoCredentials