provider

package
v2.14.12+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

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
	}

	return &azureClientSetImpl{
		vmSizeClient: sizesClient,
		skusClient:   skusClient,
	}, nil
}

Functions

func AWSSizeEndpoint

func AWSSizeEndpoint() endpoint.Endpoint

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

func DecodeAWSCommonReq(c context.Context, r *http.Request) (interface{}, error)

DecodeAWSCommonReq decodes the base type for a AWS special endpoint request

func DecodeAWSSizesReq

func DecodeAWSSizesReq(c context.Context, r *http.Request) (interface{}, error)

DecodeAWSSizesReq decodes the base type for a AWS special endpoint request

func DecodeAWSSubnetReq

func DecodeAWSSubnetReq(c context.Context, r *http.Request) (interface{}, error)

DecodeAWSSubnetReq decodes a request for a list of AWS subnets

func DecodeAWSVPCReq

func DecodeAWSVPCReq(c context.Context, r *http.Request) (interface{}, error)

DecodeAWSVPCReq decodes a request for a list of AWS vpc's

func DecodeAlibabaCommonReq

func DecodeAlibabaCommonReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAlibabaNoCredentialReq

func DecodeAlibabaNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAlibabaReq

func DecodeAlibabaReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAzureAvailabilityZonesNoCredentialsReq

func DecodeAzureAvailabilityZonesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAzureAvailabilityZonesReq

func DecodeAzureAvailabilityZonesReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAzureSizesNoCredentialsReq

func DecodeAzureSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeAzureSizesReq

func DecodeAzureSizesReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeDoSizesNoCredentialsReq

func DecodeDoSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeDoSizesReq

func DecodeDoSizesReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPCommonReq

func DecodeGCPCommonReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPSubnetworksNoCredentialReq

func DecodeGCPSubnetworksNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPSubnetworksReq

func DecodeGCPSubnetworksReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPTypesNoCredentialReq

func DecodeGCPTypesNoCredentialReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPTypesReq

func DecodeGCPTypesReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeGCPZoneReq

func DecodeGCPZoneReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeHetznerSizesNoCredentialsReq

func DecodeHetznerSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeHetznerSizesReq

func DecodeHetznerSizesReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeOpenstackNoCredentialsReq

func DecodeOpenstackNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeOpenstackReq

func DecodeOpenstackReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeOpenstackSubnetNoCredentialsReq

func DecodeOpenstackSubnetNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeOpenstackSubnetReq

func DecodeOpenstackSubnetReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeOpenstackTenantReq

func DecodeOpenstackTenantReq(c context.Context, r *http.Request) (interface{}, error)

func DecodePacketSizesNoCredentialsReq

func DecodePacketSizesNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodePacketSizesReq

func DecodePacketSizesReq(_ context.Context, r *http.Request) (interface{}, error)

func DecodeVSphereFoldersNoCredentialsReq

func DecodeVSphereFoldersNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeVSphereFoldersReq

func DecodeVSphereFoldersReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeVSphereNetworksNoCredentialsReq

func DecodeVSphereNetworksNoCredentialsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeVSphereNetworksReq

func DecodeVSphereNetworksReq(c context.Context, r *http.Request) (interface{}, error)

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 {
	// in: header
	// name: Region
	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 {
	// in: header
	SubscriptionID string
	// in: header
	TenantID string
	// in: header
	ClientID string
	// in: header
	ClientSecret string
	// in: header
	Location string
	// in: header
	SKUName string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

AvailabilityZonesReq represent a request for Azure VM Multi-AvailabilityZones support swagger:parameters listAzureSKUAvailabilityZones

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 AzureClientSet interface {
	ListVMSize(ctx context.Context, location string) ([]compute.VirtualMachineSize, error)
	ListSKU(ctx context.Context, location string) ([]compute.ResourceSku, error)
}

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 {
	// in: header
	SubscriptionID string
	// in: header
	TenantID string
	// in: header
	ClientID string
	// in: header
	ClientSecret string
	// in: header
	Location string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

AzureSizeReq represent a request for Azure VM sizes swagger:parameters listAzureSizes

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

type DoSizesReq struct {
	// in: header
	// DoToken Digital Ocean token
	DoToken string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

DoSizesReq represent a request for digitalocean sizes swagger:parameters listDigitaloceanSizes

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

type HetznerSizesReq struct {
	// in: header
	// HetznerToken Hetzner token
	HetznerToken string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

HetznerSizesReq represent a request for hetzner sizes swagger:parameters listHetznerSizes

type OpenstackNoCredentialsReq

type OpenstackNoCredentialsReq struct {
	common.GetClusterReq
}

OpenstackNoCredentialsReq represent a request for openstack swagger:parameters listOpenstackSizesNoCredentials listOpenstackTenantsNoCredentials listOpenstackNetworksNoCredentials listOpenstackSecurityGroupsNoCredentials

type OpenstackReq

type OpenstackReq struct {
	// in: header
	// Username OpenStack user name
	Username string
	// in: header
	// Password OpenStack user password
	Password string
	// in: header
	// Domain OpenStack domain name
	Domain string
	// in: header
	// Tenant OpenStack tenant name
	Tenant string
	// in: header
	// TenantID OpenStack tenant ID
	TenantID string
	// in: header
	// DatacenterName Openstack datacenter name
	DatacenterName string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

OpenstackReq represent a request for openstack swagger:parameters listOpenstackSizes listOpenstackNetworks listOpenstackSecurityGroups

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 {
	// in: header
	// Username OpenStack user name
	Username string
	// in: header
	// Password OpenStack user password
	Password string
	// in: header
	// Domain OpenStack domain name
	Domain string
	// in: header
	// DatacenterName Openstack datacenter na
	DatacenterName string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

OpenstackTenantReq represent a request for openstack tenants swagger:parameters listOpenstackTenants

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 {
	// in: header
	Username string
	// in: header
	Password string
	// in: header
	DatacenterName string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

VSphereFoldersReq represent a request for vsphere folders swagger:parameters listVSphereFolders

type VSphereNetworksNoCredentialsReq

type VSphereNetworksNoCredentialsReq struct {
	common.GetClusterReq
}

VSphereNetworksNoCredentialsReq represent a request for vsphere networks swagger:parameters listVSphereNetworksNoCredentials

type VSphereNetworksReq

type VSphereNetworksReq struct {
	// in: header
	Username string
	// in: header
	Password string
	// in: header
	DatacenterName string
	// in: header
	// Credential predefined Kubermatic credential name from the presets
	Credential string
}

VSphereNetworksReq represent a request for vsphere networks swagger:parameters listVSphereNetworks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL