export

package
v0.0.0-...-7eaa7e1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidLogIndex = errs.New("invalid index")
View Source
var ErrInvalidLogPrefix = errs.New("invalid log prefix")
View Source
var ErrLogNotFound = errs.New("log not found")

Functions

This section is empty.

Types

type APIKey

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

APIKey manages the core dependencies for the primary APIKey logic.

func NewAPIKey

func NewAPIKey(prime primeable) *APIKey

NewAPIKey is a convenience construction function.

func (*APIKey) Run

func (k *APIKey) Run(params APIKeyRunParams) error

Run executes the primary APIKey logic.

type APIKeyProvider

type APIKeyProvider interface {
	NewAPIKey(string) (string, error)
}

APIKeyProvider describes the behavior required to obtain a new api key.

type APIKeyRunParams

type APIKeyRunParams struct {
	Name     string
	IsAuthed func() bool
}

APIKeyRunParams manages the request-specific parameters used to run the primary APIKey logic.

type BuildPlan

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

func NewBuildPlan

func NewBuildPlan(p primeable) *BuildPlan

func (*BuildPlan) Run

func (b *BuildPlan) Run(params *BuildPlanParams) (rerr error)

type BuildPlanParams

type BuildPlanParams struct {
	Namespace *project.Namespaced
	CommitID  string
	Target    string
}

type Env

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

func NewEnv

func NewEnv(prime primeable) *Env

func (*Env) Run

func (e *Env) Run() error

type ErrProjectNotFound

type ErrProjectNotFound struct {
	Path string
}

func (*ErrProjectNotFound) Error

func (e *ErrProjectNotFound) Error() string

type Export

type Export struct{}

func NewExport

func NewExport() *Export

func (*Export) Run

func (e *Export) Run(cmd *captain.Command) error

type JWT

type JWT struct {
	output.Outputer
	*authentication.Auth
}

func NewJWT

func NewJWT(prime primeable) *JWT

func (*JWT) Run

func (j *JWT) Run(params *JWTParams) error

Run processes the `export recipe` command.

type JWTParams

type JWTParams struct {
}

type Log

type Log struct {
	output.Outputer
}

func NewLog

func NewLog(prime primeable) *Log

func (*Log) Run

func (l *Log) Run(params *LogParams) (rerr error)

type LogParams

type LogParams struct {
	Prefix string
	Index  int
}

type PrivateKey

type PrivateKey struct {
	output.Outputer

	*authentication.Auth
	// contains filtered or unexported fields
}

func NewPrivateKey

func NewPrivateKey(prime primeable) *PrivateKey

func (*PrivateKey) Run

func (p *PrivateKey) Run(params *PrivateKeyParams) error

Run processes the `export recipe` command.

type PrivateKeyParams

type PrivateKeyParams struct {
}

type Runtime

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

func NewRuntime

func NewRuntime(prime primeable) *Runtime

func (*Runtime) Run

func (e *Runtime) Run(params *RuntimeParams) (rerr error)

type RuntimeParams

type RuntimeParams struct {
	Path string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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