Documentation ¶
Index ¶
- type BoltDB
- func (b *BoltDB) Apply(comp *proto.Component) (*proto.Component, error)
- func (b *BoltDB) Close() error
- func (b *BoltDB) Finalize(deploymentID string) error
- func (b *BoltDB) GetComponentByID2(clusterName, ref string, sequence int64) (*proto.Component, error)
- func (b *BoltDB) GetComponentVersions(deploymentID string, id string) ([]*proto.Component, error)
- func (b *BoltDB) GetComponents(deploymentID string) ([]*proto.Component, error)
- func (b *BoltDB) GetHistory(deploymentID string) ([]*proto.Component, error)
- func (b *BoltDB) GetTask(ctx context.Context) *proto.Task
- func (b *BoltDB) ListDeployments() ([]*proto.Deployment, error)
- func (b *BoltDB) LoadDeployment(id string) (*proto.Deployment, error)
- func (b *BoltDB) LoadNode(id string) (*proto.Instance, error)
- func (b *BoltDB) NameToDeployment(name string) (string, error)
- func (b *BoltDB) ReadDeployment(id string) (*proto.Component, error)
- func (b *BoltDB) UpdateDeployment(d *proto.Deployment) error
- func (b *BoltDB) UpsertNode(n *proto.Instance) error
- func (b *BoltDB) Wait(id string) chan struct{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDB ¶
type BoltDB struct {
// contains filtered or unexported fields
}
BoltDB is a boltdb state implementation
func (*BoltDB) GetComponentByID2 ¶ added in v0.1.3
func (*BoltDB) GetComponentVersions ¶ added in v0.1.3
func (*BoltDB) GetComponents ¶ added in v0.1.3
GetComponents returns all the available components for the deployment
func (*BoltDB) GetHistory ¶ added in v0.1.3
func (*BoltDB) ListDeployments ¶ added in v0.1.3
func (b *BoltDB) ListDeployments() ([]*proto.Deployment, error)
func (*BoltDB) LoadDeployment ¶ added in v0.1.3
func (b *BoltDB) LoadDeployment(id string) (*proto.Deployment, error)
func (*BoltDB) NameToDeployment ¶ added in v0.1.3
func (*BoltDB) ReadDeployment ¶ added in v0.1.3
func (*BoltDB) UpdateDeployment ¶ added in v0.1.3
func (b *BoltDB) UpdateDeployment(d *proto.Deployment) error
func (*BoltDB) UpsertNode ¶
UpsertNode implements the BoltDB interface
Click to show internal directories.
Click to hide internal directories.