baremetal

package
v2.41.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerTimeout = 60 * time.Minute
)

Variables

This section is empty.

Functions

func DataSourceOS

func DataSourceOS() *schema.Resource

func DataSourceOSRead

func DataSourceOSRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourceOffer

func DataSourceOffer() *schema.Resource

func DataSourceOption

func DataSourceOption() *schema.Resource

func DataSourceServer

func DataSourceServer() *schema.Resource

func DataSourceServerRead

func DataSourceServerRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func FindOfferByID

func FindOfferByID(ctx context.Context, api *baremetal.API, zone scw.Zone, offerID string) (*baremetal.Offer, error)

func NewAPIWithZoneAndID

func NewAPIWithZoneAndID(m interface{}, id string) (*baremetal.API, zonal.ID, error)

NewAPIWithZoneAndID returns an API with zone and ID extracted from the state

func NewPrivateNetworkAPIWithZoneAndID

func NewPrivateNetworkAPIWithZoneAndID(m interface{}, id string) (*baremetal.PrivateNetworkAPI, zonal.ID, error)

NewPrivateNetworkAPIWithZoneAndID returns a private network API with zone and ID extracted from the state

func ResourceServer

func ResourceServer() *schema.Resource

func ResourceServerCreate

func ResourceServerCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceServerDelete

func ResourceServerDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceServerIP

func ResourceServerIP() *schema.Resource

func ResourceServerRead

func ResourceServerRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceServerUpdate

func ResourceServerUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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