flaps

package
v0.0.329 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration added in v0.0.326

func Duration(d time.Duration, dicimal int) time.Duration

Types

type Client added in v0.0.307

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

func New added in v0.0.307

func New(ctx context.Context, app *api.AppCompact) (*Client, error)

func (*Client) Destroy added in v0.0.321

func (f *Client) Destroy(ctx context.Context, input api.RemoveMachineInput) ([]byte, error)

func (*Client) Get added in v0.0.307

func (f *Client) Get(ctx context.Context, machineID string) ([]byte, error)

func (*Client) Kill added in v0.0.319

func (f *Client) Kill(ctx context.Context, machineID string) ([]byte, error)

func (*Client) Launch added in v0.0.307

func (f *Client) Launch(ctx context.Context, builder api.LaunchMachineInput) ([]byte, error)

func (*Client) Start added in v0.0.313

func (f *Client) Start(ctx context.Context, machineID string) ([]byte, error)

func (*Client) Stop added in v0.0.307

func (f *Client) Stop(ctx context.Context, machineStop api.V1MachineStop) ([]byte, error)

func (*Client) Update added in v0.0.326

func (f *Client) Update(ctx context.Context, builder api.LaunchMachineInput) ([]byte, error)

func (*Client) Wait added in v0.0.313

func (f *Client) Wait(ctx context.Context, machine *api.V1Machine) ([]byte, error)

type Logger added in v0.0.326

type Logger interface {
	Debug(v ...interface{})
	Debugf(format string, v ...interface{})
}

type LoggingTransport added in v0.0.326

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

func (*LoggingTransport) RoundTrip added in v0.0.326

func (t *LoggingTransport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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