Documentation
¶
Index ¶
Constants ¶
View Source
const CCVERSION = "cc.version"
CCVERSION is the key used to access the version property
Variables ¶
View Source
var (
// MAPPING for elastic
MAPPING, _ = elastic.NewMapping(mappingString)
)
Functions ¶
Types ¶
type Store ¶
type Store interface { Get(ctx datastore.Context) (*StoredProperties, error) // Put adds/updates an RSA Key to the registry Put(ctx datastore.Context, properties *StoredProperties) error }
Store is used to access the stored properties
type StoredProperties ¶
type StoredProperties struct { Props map[string]string datastore.VersionedEntity }
StoredProperties entity containing a properties map
func (*StoredProperties) CCVersion ¶
func (s *StoredProperties) CCVersion() (string, bool)
CCVersion returns the CC version property
func (*StoredProperties) SetCCVersion ¶
func (s *StoredProperties) SetCCVersion(version string)
SetCCVersion sets the CC version property
func (*StoredProperties) ValidEntity ¶
func (s *StoredProperties) ValidEntity() error
ValidEntity validated type
Click to show internal directories.
Click to hide internal directories.