importProjectService

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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, 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