provisioners

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSubstitutionFuncWithSecretWatch

func BuildSubstitutionFuncWithSecretWatch(inner func(string) (string, error)) (func(string) (string, error), *bool)

func DeProvisionResource

func DeProvisionResource(currentState *state.State, uid framework.ResourceUid) (*state.State, error)

func MapOutputLookupFunc

func MapOutputLookupFunc(s map[string]interface{}) framework.OutputLookupFunc

func MarkSecretAccessed

func MarkSecretAccessed()

func ProvisionResources

func ProvisionResources(currentState *state.State) (*state.State, error)

Types

type ProvisionerInputs

type ProvisionerInputs struct {
	ResourceUid   string                 `json:"resource_uid"`
	ResourceType  string                 `json:"resource_type"`
	ResourceClass string                 `json:"resource_class"`
	ResourceId    string                 `json:"resource_id"`
	ResourceState map[string]interface{} `json:"state"`
	SharedState   map[string]interface{} `json:"shared"`

	ResourceParams   map[string]interface{} `json:"resource_params"`
	ResourceMetadata map[string]interface{} `json:"resource_metadata"`
}

type ProvisionerOutputs

type ProvisionerOutputs struct {
	ResourceState   map[string]interface{} `json:"state,omitempty"`
	ResourceValues  map[string]interface{} `json:"values,omitempty"`
	ResourceSecrets map[string]interface{} `json:"secrets,omitempty"`
	SharedState     map[string]interface{} `json:"shared,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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