automation

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyVPC added in v1.2.0

func CollectEvents added in v1.2.0

func CollectEvents(eventChannel <-chan events.EngineEvent)

func CreateOrSelectStack

func CreateOrSelectStack(ctx context.Context, appSetting *interfaces.AppArgs) auto.Stack

CreateOrSelectStack

func CreateOrSelectStackApp added in v1.2.0

func CreateOrSelectStackApp(ctx context.Context, appSetting *interfaces.AppArgs, deployFunc pulumi.RunFunc) auto.Stack

CreateOrSelectStackApp this function gets our stack ready for update/destroy by prepping the workspace, init/selecting the stack and doing a refresh to make sure state and cloud resources are in sync func CreateOrSelectStack(ctx context.Context, appSetting *interfaces.AppArgs, deployFunc pulumi.RunFunc) auto.Stack {

func Deploy

func Deploy()

func DeployNetworkFunc

func DeployNetworkFunc(ctx *pulumi.Context) error

DeployNetworkFunc is a pulumi program that sets up an RG, and virtual network.

func DestroyStack added in v1.2.0

func DestroyStack(ctx context.Context, appSetting *interfaces.AppArgs, verbose bool) error

DestroyStack - удаление стека

func EnsureNetwork

func EnsureNetwork(ctx context.Context, projectName string) (string, string, error)

EnsureNetwork deploys the network stack if none exists, or simply returns the associated subnetID and resourceGroupName

func EnsurePlugins

func EnsurePlugins(plugins *interfaces.EnabledPlugins)

EnsurePlugins убедитесь, что плагины запускаются один раз перед загрузкой сервера убеждаемся, что установлены правильные плагины Pulumi

func GetDeployVMFunc

func GetDeployVMFunc(subnetID, rgName string) pulumi.RunFunc

func Reap

func Reap(threshold time.Duration)

Reap cleans up all vmgr stacks that are older than the specified threshold

Types

This section is empty.

Jump to

Keyboard shortcuts

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