meta

package
v0.0.0-...-3e288c8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

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

func (*Engine) GetStack

func (e *Engine) GetStack(ctx context.Context, id uuid.UUID) (*ent.Stack, error)

func (*Engine) GetStackRequest

func (e *Engine) GetStackRequest(ctx context.Context, id uuid.UUID) (*http.Request, error)

func (*Engine) GetStacks

func (e *Engine) GetStacks(ctx context.Context) ([]*ent.Stack, error)

func (*Engine) GetStacksRequest

func (e *Engine) GetStacksRequest(ctx context.Context) (*http.Request, error)

func (*Engine) LaunchStack

func (e *Engine) LaunchStack(ctx context.Context, stack *ent.Stack) (*ent.Stack, error)

func (*Engine) LaunchStackRequest

func (e *Engine) LaunchStackRequest(ctx context.Context, stack *ent.Stack) (*http.Request, error)

func (*Engine) PurgeStack

func (e *Engine) PurgeStack(ctx context.Context, id uuid.UUID) (*ent.Stack, error)

func (*Engine) PurgeStackRequest

func (e *Engine) PurgeStackRequest(ctx context.Context, id uuid.UUID) (*http.Request, error)

func (*Engine) StartDeployment

func (e *Engine) StartDeployment() (*ent.Deployment, error)

func (*Engine) StopDeployment

func (e *Engine) StopDeployment() (*ent.Deployment, error)

func (*Engine) UpdateDeployment

func (e *Engine) UpdateDeployment() (*ent.Deployment, error)

type Provisioner

type Provisioner interface {
	LaunchStackRequest(ctx context.Context, stack *ent.Stack) (*http.Request, error)
	PurgeStackRequest(ctx context.Context, stack *ent.Stack) (*http.Request, error)
	GetStacksRequest(ctx context.Context) (*http.Request, error)
	GetStackRequest(ctx context.Context, stack *ent.Stack) (*http.Request, error)
}

Jump to

Keyboard shortcuts

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