Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + func IsActiveOperationInProgressError(err error) bool + func IsAlreadyExistsError(err error) bool + func IsNotFoundError(err error) bool + type Bundle interface + FindAll func() ([]*internal.Bundle, error) + Get func(internal.BundleName, semver.Version) (*internal.Bundle, error) + GetByID func(internal.BundleID) (*internal.Bundle, error) + Remove func(internal.BundleName, semver.Version) error + RemoveByID func(internal.BundleID) error + Upsert func(*internal.Bundle) (replace bool, err error) + type Chart interface + Get func(name internal.ChartName, ver semver.Version) (*chart.Chart, error) + Remove func(name internal.ChartName, version semver.Version) error + Upsert func(*chart.Chart) (replace bool, err error) + type Config struct + Driver DriverType + Etcd etcd.Config + Memory memory.Config + Provide ProviderConfigMap + type ConfigList []Config + func ConfigParse(inByte []byte) (*ConfigList, error) + func NewConfigListAllMemory() *ConfigList + type DriverType string + const DriverEtcd + const DriverMemory + type EntityName string + const EntityAll + const EntityBundle + const EntityChart + const EntityInstance + const EntityInstanceBindData + const EntityInstanceOperation + type Factory interface + Bundle func() Bundle + Chart func() Chart + Instance func() Instance + InstanceBindData func() InstanceBindData + InstanceOperation func() InstanceOperation + func NewFactory(cl *ConfigList) (Factory, error) + type Instance interface + Get func(id internal.InstanceID) (*internal.Instance, error) + Insert func(*internal.Instance) error + Remove func(id internal.InstanceID) error + type InstanceBindData interface + Get func(internal.InstanceID) (*internal.InstanceBindData, error) + Insert func(*internal.InstanceBindData) error + Remove func(internal.InstanceID) error + type InstanceOperation interface + Get func(internal.InstanceID, internal.OperationID) (*internal.InstanceOperation, error) + GetAll func(internal.InstanceID) ([]*internal.InstanceOperation, error) + Insert func(*internal.InstanceOperation) error + Remove func(internal.InstanceID, internal.OperationID) error + UpdateState func(internal.InstanceID, internal.OperationID, internal.OperationState) error + UpdateStateDesc func(internal.InstanceID, internal.OperationID, internal.OperationState, *string) error + type ProviderConfig struct + type ProviderConfigMap map[EntityName]ProviderConfig