Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityZone ¶
type AvailabilityZone struct {
Name string `json:"name"`
}
type KubernetesOptionsService ¶
KubernetesOptionsService is the service that retrieves the provider options
func New ¶
func New(c common.Client) *KubernetesOptionsService
New returns a new handler for the service
func (*KubernetesOptionsService) List ¶
func (svc *KubernetesOptionsService) List(ctx context.Context) (res ProviderOptions, err error)
List returns all of the SKE provider options See also https://api.stackit.schwarz/ske-service/openapi.v1.html#tag/ProviderOptions
type KubernetesVersion ¶
type MachineImage ¶
type MachineType ¶
type ProviderOptions ¶
type ProviderOptions struct { KubernetesVersions []KubernetesVersion `json:"kubernetesVersions"` MachineTypes []MachineType `json:"machineTypes"` MachineImages []MachineImage `json:"machineImages"` VolumeTypes []VolumeType `json:"volumeTypes"` AvailabilityZones []AvailabilityZone `json:"availabilityZones"` }
ProviderOptions is the api's provider options response struct
type VolumeType ¶
type VolumeType struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.