Documentation ¶
Index ¶
- func ApplyVPC(appArgs *interfaces.AppArgs, sg *[]interfaces.PortSecurityGroupArgs) pulumi.RunFunc
- func CollectEvents(eventChannel <-chan events.EngineEvent)
- func CreateOrSelectStack(ctx context.Context, appSetting *interfaces.AppArgs) auto.Stack
- func CreateOrSelectStackApp(ctx context.Context, appSetting *interfaces.AppArgs, deployFunc pulumi.RunFunc) auto.Stack
- func Deploy()
- func DeployNetworkFunc(ctx *pulumi.Context) error
- func DestroyStack(ctx context.Context, appSetting *interfaces.AppArgs, verbose bool) error
- func EnsureNetwork(ctx context.Context, projectName string) (string, string, error)
- func EnsurePlugins(plugins *interfaces.EnabledPlugins)
- func GetDeployVMFunc(subnetID, rgName string) pulumi.RunFunc
- func Reap(threshold time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyVPC ¶ added in v1.2.0
func ApplyVPC(appArgs *interfaces.AppArgs, sg *[]interfaces.PortSecurityGroupArgs) pulumi.RunFunc
func CollectEvents ¶ added in v1.2.0
func CollectEvents(eventChannel <-chan events.EngineEvent)
func CreateOrSelectStack ¶
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 DeployNetworkFunc ¶
DeployNetworkFunc is a pulumi program that sets up an RG, and virtual network.
func DestroyStack ¶ added in v1.2.0
DestroyStack - удаление стека
func EnsureNetwork ¶
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 ¶
Types ¶
This section is empty.