Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrActivationNotFound = errors.New("bundles: activation not found")
)
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type Activation struct {
ID string
ExtensionName string
BundleName string
ProfileName string
Scope Scope
WorkspaceID string
SpecContentHash string
BindPrimaryChannelAsDefault bool
CreatedAt time.Time
UpdatedAt time.Time
}
func (Activation) Normalize ¶
func (a Activation) Normalize() Activation
func (Activation) Validate ¶
func (a Activation) Validate() error
func (Activation) Validated ¶
func (a Activation) Validated() (Activation, error)
type InventoryItem ¶
type InventoryItem struct {
ActivationID string
ResourceKind string
ResourceID string
ResourceName string
RecordedAtUTC time.Time
}
func (InventoryItem) Normalize ¶
func (i InventoryItem) Normalize() InventoryItem
func (InventoryItem) Validate ¶
func (i InventoryItem) Validate() error
func (InventoryItem) Validated ¶
func (i InventoryItem) Validated() (InventoryItem, error)
Click to show internal directories.
Click to hide internal directories.