Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FaultsInitFns ¶
type FaultsInitFns struct {
// contains filtered or unexported fields
}
An object that maps faults resource types to their init and restore functions
func InitServiceFaults ¶
func InitServiceFaults() *FaultsInitFns
Initialize functions to create and recover faults for service type
func (*FaultsInitFns) NewResourceForType ¶
func (obj *FaultsInitFns) NewResourceForType(selector domain.TargetSelector, provider awsapis.AWSProvider) ([]domain.ConsistentStateResource, error)
Initialize new resource faults from their selector
func (*FaultsInitFns) RestoreFromState ¶
func (obj *FaultsInitFns) RestoreFromState(state state.ResourceState, provider awsapis.AWSProvider) error
Call the specific RestoreFromState function for the resource type specified in the state object
Click to show internal directories.
Click to hide internal directories.