service

package
v0.0.0-...-78ba6d8 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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