scaleway

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRegionList

func BuildRegionList(_ context.Context, d *plugin.QueryData) []map[string]interface{}

BuildRegionList :: return a list of matrix items, one per region

func BuildZoneList

func BuildZoneList(_ context.Context, d *plugin.QueryData) []map[string]interface{}

BuildZoneList :: return a list of matrix items, one per zone

func ConfigInstance

func ConfigInstance() interface{}

func GetConfig

func GetConfig(connection *plugin.Connection) scalewayConfig

GetConfig :: retrieve and cast connection config from query data

func GetDefaultScalewayRegion

func GetDefaultScalewayRegion(d *plugin.QueryData) string

GetDefaultScalewayRegion returns the default region for Scaleway project

func Plugin

func Plugin(ctx context.Context) *plugin.Plugin

Plugin creates this (scaleway) plugin

func Regions

func Regions() []scw.Region

Regions is the current known list of valid regions

func Zones

func Zones() []scw.Zone

Types

This section is empty.

Jump to

Keyboard shortcuts

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