yeet

package module
v0.0.0-...-ebf9eac Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

README

Yeet

Yeet source code to production. Just for personal testing, don't use it.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test_Activity

func Test_Activity(t *testing.T)

func Test_Workflow

func Test_Workflow(t *testing.T)

Types

type Build

type Build struct {
}

func (*Build) Buildpacks

func (a *Build) Buildpacks(ctx context.Context, param BuildParam) (*BuildResult, error)

type BuildParam

type BuildParam struct {
	Path  string
	Image string
	Tag   string
}

type BuildResult

type BuildResult struct {
	Image string
	Tag   string
}

type Deploy

type Deploy struct {
	Config DeployConfig
}

func (*Deploy) GetConfig

func (a *Deploy) GetConfig(ctx context.Context, param DeployParam) (DeployConfig, error)

func (*Deploy) ProcessStage

func (a *Deploy) ProcessStage(ctx context.Context, param DeployParam, stage DeployStage) error

type DeployConfig

type DeployConfig map[string]EventConfig

type DeployParam

type DeployParam struct {
	RepoPath string
	SubPath  string
}

type DeployResult

type DeployResult struct {
}

type DeployStage

type DeployStage struct {
	Name   string
	Groups []string
	Wait   string
}

type EventConfig

type EventConfig struct {
	Stages []DeployStage
}

type Git

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

func (*Git) Clean

func (a *Git) Clean(ctx context.Context, param GitParam) error

func (*Git) Clone

func (a *Git) Clone(ctx context.Context, param GitParam) (*GitResult, error)

type GitParam

type GitParam struct {
	Host       string
	Owner      string
	Repository string
	Revision   string
}

type GitResult

type GitResult struct {
	Path string
}

type YeetStandardParam

type YeetStandardParam struct {
	Host       string
	Owner      string
	Repository string
	Revision   string
}

type YeetStandardResultObject

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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