common

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtyunRegions

func NewCtyunRegions() datasource.DataSource

func NewCtyunServices

func NewCtyunServices() datasource.DataSource

func NewCtyunZones

func NewCtyunZones() datasource.DataSource

Types

type CtyunRegionsConfig

type CtyunRegionsConfig struct {
	Name    types.String                `tfsdk:"name"`
	Regions []CtyunRegionsRegionsConfig `tfsdk:"regions"`
}

type CtyunRegionsRegionsConfig

type CtyunRegionsRegionsConfig struct {
	Id    types.String `tfsdk:"id"`
	Name  types.String `tfsdk:"name"`
	Type  types.String `tfsdk:"type"`
	Zones types.Set    `tfsdk:"zones"`
}

type CtyunServicesConfig

type CtyunServicesConfig struct {
	Type     types.String                  `tfsdk:"type"`
	Name     types.String                  `tfsdk:"name"`
	Services []CtyunServicesServicesConfig `tfsdk:"services"`
}

type CtyunServicesServicesConfig

type CtyunServicesServicesConfig struct {
	Id          types.Int64  `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Code        types.String `tfsdk:"code"`
	Description types.String `tfsdk:"description"`
}

type CtyunZonesConfig

type CtyunZonesConfig struct {
	RegionID types.String `tfsdk:"region_id"`
	Zones    types.List   `tfsdk:"zones"`
}

Jump to

Keyboard shortcuts

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