core

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronDisable

func CronDisable(s scope.Scope, g cfg.Configuration, keys []string) error

func CronEnable

func CronEnable(s scope.Scope, g cfg.Configuration, keys []string) error

func CronStatus added in v0.9.0

func CronStatus(s scope.Scope, g cfg.Configuration, keys []string) error

func Deploy

func Deploy(s scope.Scope, g cfg.Configuration, rel *Release) error

func Df added in v0.11.0

func Df(s scope.Scope, g cfg.Configuration, options distro.DfOptions) error

func EnvironPush added in v0.14.1

func EnvironPush(s scope.Scope, g cfg.Configuration, filename string) error

func Forward added in v0.10.0

func Forward(s scope.Scope, g cfg.Configuration, port string) error

func Log added in v0.9.0

func Log(s scope.Scope, g cfg.Configuration, key string, no int) error

func Prune

func Prune(s scope.Scope, g cfg.Configuration) error

func Restart

func Restart(s scope.Scope, g cfg.Configuration) error

func Run

func Run(s scope.Scope, g cfg.Configuration, key string) error

func SSH added in v0.14.1

func SSH(s scope.Scope, g cfg.Configuration) error

func Scale

func Scale(s scope.Scope, g cfg.Configuration, comp *Composition) error

func Setup

func Setup(s scope.Scope, g cfg.Configuration, environ string) error

func Shell added in v0.14.1

func Shell(s scope.Scope, g cfg.Configuration) error

func Status

func Status(s scope.Scope, g cfg.Configuration) error

func Top added in v0.12.0

func Top(s scope.Scope, g cfg.Configuration) error

Types

type Composition

type Composition struct {
	Sizes map[string]int
}

func DefaultComposition added in v0.10.0

func DefaultComposition(n scope.Node, spec *spec.Spec) (*Composition, error)

func NewComposition

func NewComposition(args []string) (*Composition, error)

type Release

type Release struct {
	Time    string
	Hash    string
	Tarball Tarball
}

func NewRelease

func NewRelease(tarPath string) (*Release, error)

type Tarball

type Tarball struct {
	Path string
	Size int64
}

Jump to

Keyboard shortcuts

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