infra

package
v0.0.0-...-5510d5e Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExistWorkDir

func IsExistWorkDir(path string) (string, error)

Types

type Destroyer

type Destroyer interface {
	Destroy() error
}

func NewDestroyer

func NewDestroyer(path string, force bool) (Destroyer, error)

type Infrastructure

type Infrastructure interface {
	Name() string
	WorkDir() string
	Provider() string
	//Build() error
	Create() error
}

func New

func New(path string) (Infrastructure, error)

type Initializer

type Initializer interface {
	Init() error
}

func NewInitializer

func NewInitializer(path string) (Initializer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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