flapsutil

package
v0.2.52 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cordon added in v0.2.23

func Cordon(ctx context.Context, client *flaps.Client, machineID string, nonce string) (err error)

func Launch added in v0.2.23

func Launch(ctx context.Context, client *flaps.Client, builder fly.LaunchMachineInput) (out *fly.Machine, err error)

func NewClientWithOptions

func NewClientWithOptions(ctx context.Context, opts flaps.NewClientOpts) (*flaps.Client, error)

func Start added in v0.2.23

func Start(ctx context.Context, client *flaps.Client, machineID string, nonce string) (out *fly.MachineStartResponse, err error)

func Uncordon added in v0.2.23

func Uncordon(ctx context.Context, client *flaps.Client, machineID string, nonce string) (err error)

func Update added in v0.2.23

func Update(ctx context.Context, client *flaps.Client, builder fly.LaunchMachineInput, nonce string) (out *fly.Machine, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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