Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // InstanceNoExistError indicates an OldInstance was passed in the request, but there's no existing Instance to compare it to in the State Store. InstanceNoExistError = status.Error(codes.FailedPrecondition, "OldInstance was passed, but there's no existing Instance") // OldInstanceDiffersError indicates the request's OldInstance differs from the existing Instance. (Stale read.) Re-read and try again. OldInstanceDiffersError = status.Error(codes.FailedPrecondition, "OldInstance differs from existing Instance") )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Init() error NewUpdater(*pb.Instance, string) Updater NewDeleter(*pb.Instance, string) Deleter NewGetter(*pb.GetOptions, *pb.InstanceList, string) Getter NewTemplatesGetter(*pb.InstanceList, string) TemplatesGetter }
Engine is the interface that enables modifying state
type TemplatesGetter ¶
TemplatesGetter is the interface that enables getting Instance Templates
Click to show internal directories.
Click to hide internal directories.