Versions in this module Expand all Collapse all v0 v0.7.2 Aug 21, 2024 v0.7.1 Aug 20, 2024 v0.7.0 Aug 14, 2024 Changes in this version + func IsCreatable(status ConstructStatus) bool + func IsDeletable(status ConstructStatus) bool + func IsDeployable(status ConstructStatus) bool + func IsUpdatable(status ConstructStatus) bool + func UrnPath(urn URN) (string, error) + type ApplicationEnvironment struct + AppURN URN + Constructs map[string]Construct + DefaultRegion string + Environment string + ProjectURN URN + SchemaVersion int + Version int + func ParseIRFile(content []byte) (*ApplicationEnvironment, error) + func ReadIRFile(filename string) (*ApplicationEnvironment, error) + type Binding struct + Inputs map[string]Input + URN *URN + type Construct struct + Bindings []Binding + DependsOn []*URN + Inputs map[string]Input + Options map[string]interface{} + Outputs map[string]any + URN *URN + Version int + type ConstructAction string + const ConstructActionCreate + const ConstructActionDelete + const ConstructActionUpdate + type ConstructState struct + Bindings []Binding + DependsOn []*URN + Inputs map[string]Input + LastUpdated string + Options map[string]any + Outputs map[string]any + PulumiStack UUID + Status ConstructStatus + URN *URN + type ConstructStatus string + const ConstructCreateComplete + const ConstructCreateFailed + const ConstructCreating + const ConstructDeleteComplete + const ConstructDeleteFailed + const ConstructDeleting + const ConstructUnknown + const ConstructUpdateComplete + const ConstructUpdateFailed + const ConstructUpdating + type DryRun int + const DryRunCompile + const DryRunFileOnly + const DryRunNone + const DryRunPreview + type Input struct + DependsOn string + Encrypted bool + Status InputStatus + Value interface{} + type InputStatus string + const InputStatusError + const InputStatusPending + const InputStatusResolved + type State struct + AppURN URN + Constructs map[string]ConstructState + DefaultRegion string + Environment string + ProjectURN URN + SchemaVersion int + Version int + type StateManager struct + func NewStateManager(fsys afero.Fs, stateFile string) *StateManager + func (sm *StateManager) CheckStateFileExists() bool + func (sm *StateManager) GetAllConstructs() map[string]ConstructState + func (sm *StateManager) GetConstructState(name string) (ConstructState, bool) + func (sm *StateManager) GetState() *State + func (sm *StateManager) InitState(ir *ApplicationEnvironment) + func (sm *StateManager) IsOperating(construct *ConstructState) bool + func (sm *StateManager) LoadState() error + func (sm *StateManager) RegisterOutputValues(ctx context.Context, urn URN, outputs map[string]any) error + func (sm *StateManager) SaveState() error + func (sm *StateManager) SetConstructState(construct ConstructState) + func (sm *StateManager) TransitionConstructComplete(construct *ConstructState) error + func (sm *StateManager) TransitionConstructFailed(construct *ConstructState) error + func (sm *StateManager) TransitionConstructState(construct *ConstructState, nextStatus ConstructStatus) error + func (sm *StateManager) UpdateResourceState(name string, status ConstructStatus, lastUpdated string) error + type URN struct + AccountID string + Application string + Environment string + Output string + ParentResourceID string + Project string + ResourceID string + Subtype string + Type string + func ParseURN(urnString string) (*URN, error) + func (u *URN) Compare(other URN) int + func (u *URN) Equals(other any) bool + func (u *URN) IsAccount() bool + func (u *URN) IsApplicationEnvironment() bool + func (u *URN) IsEnvironment() bool + func (u *URN) IsOutput() bool + func (u *URN) IsProject() bool + func (u *URN) IsResource() bool + func (u *URN) IsType() bool + func (u *URN) UnmarshalText(text []byte) error + func (u *URN) UrnType() UrnType + func (u URN) MarshalText() ([]byte, error) + func (u URN) String() string + type UUID struct + func (u *UUID) UnmarshalYAML(unmarshal func(interface{}) error) error + type UrnType string + const AccountUrnType + const ApplicationEnvironmentUrnType + const EnvironmentUrnType + const OutputUrnType + const ProjectUrnType + const ResourceUrnType + const TypeUrnType