Documentation ¶
Index ¶
- func CreateOrUpdateNode(ctx context.Context, node *storage.MutableCINode) error
- func CreateOrUpdateTestCase(ctx context.Context, pk int64, testCaseType string, testCaseConfig interface{}, ...) error
- func DeleteNode(ctx context.Context, id string) error
- func DeleteTestCase(pk int64) error
- func ExecuteNextTestCase(testMachines map[string]statemachines.TestMachine, ...) error
- func GetNodes(ctx context.Context, ids []string, tag *string) (map[string]*storage.CINode, error)
- func GetTestCases(ctx context.Context, pks []int64, serdes serde.Registry) (map[int64]*UnmarshalledTestCase, error)
- func LeaseNode(ctx context.Context, tag string) (*storage.NodeLease, error)
- func ReleaseNode(ctx context.Context, id string, leaseID string) error
- func ReserveNode(ctx context.Context, id string) (*storage.NodeLease, error)
- type UnmarshalledTestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateNode ¶
func CreateOrUpdateNode(ctx context.Context, node *storage.MutableCINode) error
func CreateOrUpdateTestCase ¶
func DeleteTestCase ¶
func ExecuteNextTestCase ¶
func ExecuteNextTestCase(testMachines map[string]statemachines.TestMachine, store storage.TestControllerStorage, serdes serde.Registry) error
func GetTestCases ¶
Types ¶
type UnmarshalledTestCase ¶
UnmarshalledTestCase encapsulates a TestCase and the unmarshaled representation of its TestConfig field.
Click to show internal directories.
Click to hide internal directories.