Documentation ¶
Index ¶
- Variables
- type Engine
- func (engine *Engine) Init() error
- func (engine *Engine) NewDeleter(instance *pb.Instance, instancesDir string) state.Deleter
- func (engine *Engine) NewGetter(options *pb.GetOptions, list *pb.InstanceList, instancesDir string) state.Getter
- func (engine *Engine) NewTemplatesGetter(list *pb.InstanceList, templatesDir string) state.TemplatesGetter
- func (engine *Engine) NewUpdater(instance *pb.Instance, instancesDir string) state.Updater
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TrackedUncommittedChangesError indicates a request's Instance has tracked but uncommitted changes in the working tree. This could indicate a bug, and likely needs fixed manually. TrackedUncommittedChangesError = status.Error(codes.FailedPrecondition, "tracked uncommitted changes") // UnTrackedUncommittedChangesError indicates a request's Instance has untracked and uncommitted changes in the working tree. This could indicate a bug, and likely needs fixed manually. UnTrackedUncommittedChangesError = status.Error(codes.FailedPrecondition, "untracked uncommitted changes") )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct { WorkingDir string EndpointsString string EtcdLocksGitKey string Branch string }
Engine fulfills the StateStore interface
func (*Engine) NewDeleter ¶
NewDeleter returns an initialized Deleter
func (*Engine) NewGetter ¶
func (engine *Engine) NewGetter(options *pb.GetOptions, list *pb.InstanceList, instancesDir string) state.Getter
NewGetter returns an initialized Getter
func (*Engine) NewTemplatesGetter ¶
func (engine *Engine) NewTemplatesGetter(list *pb.InstanceList, templatesDir string) state.TemplatesGetter
NewTemplatesGetter returns an initialized TemplatesGetter
Click to show internal directories.
Click to hide internal directories.