application

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOp

type CreateOp struct {
	Name             string
	OrgName          string
	LocalPath        string
	Tenant           *coretnt.Tenant
	FastFeedbackEnvs []environment.Environment
	ExtendedTestEnvs []environment.Environment
	ProdEnvs         []environment.Environment
	Template         *template.Spec
	GitAuth          git.AuthMethod
}

type CreateResult

type CreateResult struct {
	RepositoryFullname git.RepositoryFullname
	MonorepoMode       bool
	PRUrl              string
}

type Service added in v0.23.1

type Service struct {
	TemplateRenderer render.TemplateRenderer
	GithubClient     *github.Client
	DryRun           bool
}

func NewService added in v0.23.1

func NewService(templateRenderer render.TemplateRenderer, githubClient *github.Client, dryRun bool) *Service

func (*Service) Create added in v0.23.1

func (svc *Service) Create(op CreateOp) (result CreateResult, err error)

func (*Service) ValidateCreate added in v0.23.1

func (svc *Service) ValidateCreate(op CreateOp) error

Jump to

Keyboard shortcuts

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