deployment_util

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCGIFunctionUnits added in v0.0.29

func CreateCGIFunctionUnits(name string, f *service.ServiceFunction) error

func CreateDeploymentFromService

func CreateDeploymentFromService(name string, svc *service.Service, seed *DeploymentSeed) (string, error)

func List

func List(opts ListOpts) ([]*Deployment, error)

func ListUnitStatus added in v0.0.15

func ListUnitStatus(ctx context.Context, deployments []*Deployment, config_unit bool) ([]dbus.UnitStatus, error)

func RemoveTimeout added in v0.0.29

func RemoveTimeout(ctx0 context.Context, deployment_name string, timeout, term_timeout time.Duration) error

func StartNewOrExistingFromService

func StartNewOrExistingFromService(ctx context.Context, svc *service.Service, seed *DeploymentSeed, opts StartNewOrExistingOpts) (*Deployment, string, error)

Types

type ListOpts

type ListOpts struct {
	FilterServiceDir     string
	FilterDeploymentName string
	FilterServiceId      string
	FilterPartName       *string
}

type StartNewOrExistingOpts added in v0.0.29

type StartNewOrExistingOpts struct {
	MaxIndex  int
	WantFresh bool
}

Jump to

Keyboard shortcuts

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