deploy

package
v0.0.0-...-de23339 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Path     string
	Auto     bool
	NoPrompt bool
)
View Source
var PathStatic = ".edge/storage"

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(deploy *DeployCmd) *cobra.Command

Types

type Clients

type Clients struct {
	EdgeFunction    *apiEdgeFunction.Client
	EdgeApplication *apiEdgeApplications.Client
	Domain          *apiDomain.Client
	Origin          *apiOrigin.Client
	Bucket          *apiStorage.Client
	Storage         *apiStorage.Client
}

func NewClients

func NewClients(f *cmdutil.Factory) *Clients

type DeployCmd

type DeployCmd struct {
	Io                    *iostreams.IOStreams
	GetWorkDir            func() (string, error)
	FileReader            func(path string) ([]byte, error)
	WriteFile             func(filename string, data []byte, perm fs.FileMode) error
	GetAzionJsonContent   func() (*contracts.AzionApplicationOptions, error)
	WriteAzionJsonContent func(conf *contracts.AzionApplicationOptions) error
	EnvLoader             func(path string) ([]string, error)
	BuildCmd              func(f *cmdutil.Factory) *build.BuildCmd
	Open                  func(name string) (*os.File, error)
	FilepathWalk          func(root string, fn filepath.WalkFunc) error
	F                     *cmdutil.Factory
	Unmarshal             func(data []byte, v interface{}) error
	Interpreter           func() *manifestInt.ManifestInterpreter
}

func NewDeployCmd

func NewDeployCmd(f *cmdutil.Factory) *DeployCmd

func (*DeployCmd) Run

func (cmd *DeployCmd) Run(f *cmdutil.Factory) error

Jump to

Keyboard shortcuts

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