importProjectService

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 19 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,
	zipClient *zipClient.Handler,
	apiGrpcClient business.ZeropsApiProtocolClient,
) *Handler

func (*Handler) Import

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

type RunConfig

type RunConfig struct {
	WorkingDir     string
	ImportYamlPath string
	ClientId       string
	ProjectName    string
	ParentCmd      constants.ParentCmd
}

Jump to

Keyboard shortcuts

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