resourceruns

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

Apply the resource run in planned status.

func CleanPlanFiles

func CleanPlanFiles(ctx context.Context, mc model.ClientSet, sm *storage.Manager, ids ...object.ID) error

func Create

Create creates a resource run.

Types

type CreateOptions

type CreateOptions struct {
	// StorageManager is the storage manager.
	StorageManager *storage.Manager

	// ResourceID is the ID of the resource.
	ResourceID object.ID

	// DeployerType is the type of the deployer that run uses.
	// +required: true
	DeployerType string

	// RunType the type of the run, create, delete, etc.
	Type types.RunType

	// ChangeComment is the comment of the change.
	ChangeComment string

	// Preview is the run need preview.
	Preview bool

	// Labels is the labels of the run.
	Labels map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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