deployment_util

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 StartNewOrExistingFromService

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

Types

type ListOpts

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

Jump to

Keyboard shortcuts

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