Documentation ¶
Index ¶
Constants ¶
View Source
const ( LifetimeCachePrefix = "ltc%" DataLifetimePrefix = "dlt-" CsiPrefix = "csi-" )
Variables ¶
This section is empty.
Functions ¶
func GetDataLifetimeKeyFromInputData ¶
func GetDataLifetimeKeyFromInputData( predecessor lifetimesapi.InputDataSpec) (string, error)
func GetDataLifetimeKeyFromOutputData ¶
func GetDataLifetimeKeyFromOutputData( successor lifetimesapi.OutputDataSpec) ( string, error)
Types ¶
type DataStoreOperations ¶
type DataStoreOperations interface {
Close() error
}
type LifetimeCache ¶
type ValidationDataStoreOperations ¶
type ValidationDataStoreOperations interface { DataStoreOperations GetDataLifetimeKeys() ([]string, error) GetDataLifetime(key string) (*LifetimeCache, error) AddDataLifetime(key string, endTime string) (*LifetimeCache, error) DeleteDataLifetime(key string) error AddSuccessorDataLifetimeCustomResource(key string, successor string) error DeleteSuccessorDataLifetimeCustomResource(key string, successor string) error }
Click to show internal directories.
Click to hide internal directories.