provider

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

New - helper function to simplify provider server and testing implementation.

func NewNodeTypesDataSource

func NewNodeTypesDataSource() datasource.DataSource

Types

type NodeTypeDataSourceModel

type NodeTypeDataSourceModel struct {
	EnvId types.String    `tfsdk:"env_id"`
	Id    types.String    `tfsdk:"id"`
	Data  []NodeTypeModel `tfsdk:"data"`
}

NodeTypeDataSourceModel describes the Data source Data model.

type NodeTypeModel

type NodeTypeModel struct {
	ID            types.Int64               `tfsdk:"id"`
	Scope         types.String              `tfsdk:"scope"`
	Code          types.String              `tfsdk:"code"`
	Name          types.String              `tfsdk:"name"`
	Pool          types.String              `tfsdk:"pool"`
	StorageClass  types.String              `tfsdk:"storage_class"`
	CPU           types.String              `tfsdk:"cpu"`
	Memory        types.String              `tfsdk:"memory"`
	IDEnvironment types.String              `tfsdk:"id_environment"`
	ExtraSpec     types.String              `tfsdk:"extra_spec"`
	Tolerations   []NodeTypeTolerationModel `tfsdk:"tolerations"`
	NodeSelector  types.String              `tfsdk:"node_selector"`
	CPUAlloc      types.String              `tfsdk:"cpu_alloc"`
	MemoryAlloc   types.String              `tfsdk:"memory_alloc"`
}

type NodeTypeTolerationModel

type NodeTypeTolerationModel struct {
	Key      types.String `tfsdk:"key"`
	Operator types.String `tfsdk:"operator"`
	Effect   types.String `tfsdk:"effect"`
	Value    types.String `tfsdk:"value"`
}

NodeTypeTolerationModel - Kubernetes tolerations.

Jump to

Keyboard shortcuts

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