provider

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const FLY_MACHINES_ENDPOINT string = "api.machines.dev"

Variables

This section is empty.

Functions

func New

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

func NewAppDataSource added in v0.0.22

func NewAppDataSource() datasource.DataSource

func NewAppResource added in v0.0.22

func NewAppResource() resource.Resource

func NewCertDataSource added in v0.0.22

func NewCertDataSource() datasource.DataSource

func NewCertResource added in v0.0.22

func NewCertResource() resource.Resource

func NewIpDataSource added in v0.0.22

func NewIpDataSource() datasource.DataSource

func NewIpResource added in v0.0.22

func NewIpResource() resource.Resource

func NewMachineResource added in v0.0.22

func NewMachineResource() resource.Resource

func NewVolumeDataSource added in v0.0.22

func NewVolumeDataSource() datasource.DataSource

func NewVolumeResource added in v0.0.22

func NewVolumeResource() resource.Resource

func TfServicesToServices

func TfServicesToServices(input []TfService) []apiv1.Service

Types

type ProviderConfig added in v0.0.22

type ProviderConfig struct {
	// contains filtered or unexported fields
}

type TfMachineMount

type TfMachineMount struct {
	Encrypted types.Bool   `tfsdk:"encrypted"`
	Path      types.String `tfsdk:"path"`
	SizeGb    types.Int64  `tfsdk:"size_gb"`
	Volume    types.String `tfsdk:"volume"`
}

type TfPort

type TfPort struct {
	Port     types.Int64    `tfsdk:"port"`
	Handlers []types.String `tfsdk:"handlers"`
}

type TfService

type TfService struct {
	Ports        []TfPort     `tfsdk:"ports"`
	Protocol     types.String `tfsdk:"protocol"`
	InternalPort types.Int64  `tfsdk:"internal_port"`
}

func ServicesToTfServices

func ServicesToTfServices(input []apiv1.Service) []TfService

Jump to

Keyboard shortcuts

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