subs

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileNotExist = errors.New("file not exist")
)

Functions

This section is empty.

Types

type Chain

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

func NewSubsChain

func NewSubsChain(projectRootPath string, workers ...Worker) *Chain

func (Chain) Do

func (c Chain) Do(ctx context.Context) error

type Deployment

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

type Ingress

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

type Makefile

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

type Pom

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

type Svc

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

type Worker

type Worker interface {
	// contains filtered or unexported methods
}

func WithDpWorker

func WithDpWorker(name string) Worker

NewDpWorker new k8s/dp.yaml worker

func WithIngressWorker

func WithIngressWorker(name, domain string) Worker

NewIngressWorker new k8s/ingress.yaml worker

func WithMakefileWorker

func WithMakefileWorker(name string) Worker

WithMakefileWorker new Makefile worker

func WithPomWorker

func WithPomWorker(name, version, parentVersion string) Worker

WithPomWorker new pom.xml worker

func WithSvcWorker

func WithSvcWorker(name string) Worker

NewSvcWorker new k8s/svc.yaml worker

Jump to

Keyboard shortcuts

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