service

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGit

func RegisterGit(i IGit)

func RegisterGo

func RegisterGo(i IGo)

func RegisterGrpc

func RegisterGrpc(i IGrpc)

func RegisterGrpcModule

func RegisterGrpcModule(i IGrpcModule)

func RegisterPython

func RegisterPython(i IPython)

func RegisterScript

func RegisterScript(i IScript)

func RegisterServer

func RegisterServer(i IServer)

Types

type IGit

type IGit interface {
	CheckCommitMsg(ctx context.Context, in string) (err error)
	CommitNoteStr(ctx context.Context) string
	BundleCreate(ctx context.Context, in *model.BundleConfigInput) (err error)
	BundleClone(ctx context.Context, in *model.BundleConfigInput) (err error)
	BundlePull(ctx context.Context, in *model.BundleConfigInput) (err error)
	BundleMerge(ctx context.Context, in *model.BundleConfigInput) (err error)
	CanPull(ctx context.Context) (out bool, err error)
	RemotePrune(ctx context.Context, in *model.BundleConfigInput) error
}

func Git

func Git() IGit

type IGo

type IGo interface {
	Build(ctx context.Context, in *model.GolangBuildInput) (err error)
}

func Go

func Go() IGo

type IGrpc

type IGrpc interface {
	Run(ctx context.Context, config *model.GRPCCfgInput) error
}

func Grpc

func Grpc() IGrpc

type IGrpcModule

type IGrpcModule interface {
	Run(ctx context.Context, config *model.GrpcModuleCfgInput) error
}

func GrpcModule

func GrpcModule() IGrpcModule

type IPython

type IPython interface {
	Setup(ctx context.Context) error
}

func Python

func Python() IPython

type IScript

type IScript interface {
	Run(ctx context.Context, in *model.ScriptRunInput) (err error)
}

func Script

func Script() IScript

type IServer

type IServer interface {
	Run(ctx context.Context, in *model.ScriptRunInput) (err error)
}

func Server

func Server() IServer

Jump to

Keyboard shortcuts

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