Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServerDataSource

func NewServerDataSource() datasource.DataSource

NewServerDataSource is a helper function to simplify the provider implementation.

func NewServerResource

func NewServerResource() resource.Resource

NewServerResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id               types.String `tfsdk:"id"` // needed by TF
	ProjectId        types.String `tfsdk:"project_id"`
	ServerId         types.String `tfsdk:"server_id"`
	MachineType      types.String `tfsdk:"machine_type"`
	Name             types.String `tfsdk:"name"`
	AvailabilityZone types.String `tfsdk:"availability_zone"`
	BootVolume       types.Object `tfsdk:"boot_volume"`
	ImageId          types.String `tfsdk:"image_id"`
	KeypairName      types.String `tfsdk:"keypair_name"`
	Labels           types.Map    `tfsdk:"labels"`
	AffinityGroup    types.String `tfsdk:"affinity_group"`
	UserData         types.String `tfsdk:"user_data"`
	CreatedAt        types.String `tfsdk:"created_at"`
	LaunchedAt       types.String `tfsdk:"launched_at"`
	UpdatedAt        types.String `tfsdk:"updated_at"`
}

Jump to

Keyboard shortcuts

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