Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
ID string
Name string
Labels []string
Flags uint64
AvailabilitySchedule TimeRangeList
Version uint64
Assets map[string]*structpb.Value
Parameters map[string]*structpb.Value
}
func ItemFromAPIPB ¶ added in v0.17.0
func ItemFromPersistencePB ¶ added in v0.17.0
func ItemFromPersistencePB(item *persistencev1.Item, id string, version uint64) *Item
func (Item) IntoPersistencePB ¶ added in v0.17.0
func (item Item) IntoPersistencePB() *persistencev1.Item
type TimeRangeList ¶
type TimeRangeList []TimeRange
func TimeRangeListFromAPIPB ¶ added in v0.17.0
func TimeRangeListFromAPIPB(atrl []*common.TimeRange) TimeRangeList
func TimeRangeListFromPersistencePB ¶ added in v0.17.0
func TimeRangeListFromPersistencePB(ptrl []*persistence.TimeRange) TimeRangeList
func (TimeRangeList) IntoAPIPB ¶ added in v0.17.0
func (trl TimeRangeList) IntoAPIPB() []*common.TimeRange
func (TimeRangeList) IntoPersistencePB ¶ added in v0.17.0
func (trl TimeRangeList) IntoPersistencePB() []*persistence.TimeRange
Click to show internal directories.
Click to hide internal directories.