buildDeploy

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
}

type Handler

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

func New

func New(
	config Config,
	httpClient *httpClient.Handler,
	archClient *archiveClient.Handler,
	apiGrpcClient business.ZeropsApiProtocolClient,
	sdkConfig sdkConfig.Config,
) *Handler

func (*Handler) Deploy

func (h *Handler) Deploy(ctx context.Context, config RunConfig) error

func (*Handler) Push

func (h *Handler) Push(ctx context.Context, config RunConfig) error

type RunConfig

type RunConfig struct {
	ProjectNameOrId  string
	SourceName       string
	ServiceStackName string
	PathsForPacking  []string
	WorkingDir       string
	ArchiveFilePath  string
	VersionName      string
	ZeropsYamlPath   *string
}

Jump to

Keyboard shortcuts

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