core

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Overview

Package core allows to persist Aptomi engine objects into the object store.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(store store.Generic) store.Core

NewStore returns default implementation of generic store

Types

type RevisionResultUpdaterImpl added in v0.1.14

type RevisionResultUpdaterImpl struct {
	// contains filtered or unexported fields
}

RevisionResultUpdaterImpl is a default thread-safe implementation of ApplyResultUpdater

func (*RevisionResultUpdaterImpl) AddFailed added in v0.1.14

func (updater *RevisionResultUpdaterImpl) AddFailed()

AddFailed safely increments the number of failed actions

func (*RevisionResultUpdaterImpl) AddSkipped added in v0.1.14

func (updater *RevisionResultUpdaterImpl) AddSkipped()

AddSkipped safely increments the number of skipped actions

func (*RevisionResultUpdaterImpl) AddSuccess added in v0.1.14

func (updater *RevisionResultUpdaterImpl) AddSuccess()

AddSuccess safely increments the number of successfully executed actions

func (*RevisionResultUpdaterImpl) Done added in v0.1.14

func (updater *RevisionResultUpdaterImpl) Done() *action.ApplyResult

Done saves the revision when all actions have been processed

func (*RevisionResultUpdaterImpl) SetTotal added in v0.1.14

func (updater *RevisionResultUpdaterImpl) SetTotal(total uint32)

SetTotal safely sets the total number of actions

Jump to

Keyboard shortcuts

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