Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppChannel ¶
type AppChannel struct { Adoption ChannelAdoption `json:"Adoption,omitempty"` // Description that will be shown during license installation Description string `json:"Description"` // The ID of the channel Id string `json:"Id"` LicenseCounts LicenseCounts `json:"LicenseCounts,omitempty"` // The name of channel Name string `json:"Name"` // The position for which the channel occurs in a list Position int64 `json:"Position,omitempty"` // The label of the current release sequence ReleaseLabel string `json:"ReleaseLabel,omitempty"` // Release notes for the current release sequence ReleaseNotes string `json:"ReleaseNotes,omitempty"` // A reference to the current release sequence ReleaseSequence int64 `json:"ReleaseSequence,omitempty"` }
An app channel belongs to an app. It contains references to the top (current) release in the channel.
type ChannelAdoption ¶
type ChannelAdoption struct { CurrentVersionCountActive map[string]int64 `json:"current_version_count_active,omitempty"` CurrentVersionCountAll map[string]int64 `json:"current_version_count_all,omitempty"` OtherVersionCountActive map[string]int64 `json:"other_version_count_active,omitempty"` OtherVersionCountAll map[string]int64 `json:"other_version_count_all,omitempty"` PreviousVersionCountActive map[string]int64 `json:"previous_version_count_active,omitempty"` PreviousVersionCountAll map[string]int64 `json:"previous_version_count_all,omitempty"` }
ChannelAdoption represents the versions that licenses are on in the channel
type ChannelRelease ¶
type ChannelRelease struct { AirgapBuildError string `json:"airgap_build_error,omitempty"` AirgapBuildStatus string `json:"airgap_build_status,omitempty"` ChannelId string `json:"channel_id,omitempty"` ChannelSequence int64 `json:"channel_sequence,omitempty"` Created time.Time `json:"created,omitempty"` ReleaseNotes string `json:"release_notes,omitempty"` ReleaseSequence int64 `json:"release_sequence,omitempty"` Required bool `json:"required,omitempty"` Updated time.Time `json:"updated,omitempty"` Version string `json:"version,omitempty"` }
type InlineResponse200 ¶
type InlineResponse200 struct {
AppChannel []AppChannel `json:"AppChannel,omitempty"`
}
type InlineResponse2001 ¶
type InlineResponse2001 struct { Channel AppChannel `json:"channel"` Releases []ChannelRelease `json:"releases"` }
type InlineResponse2002 ¶
type InlineResponse2002 struct {
AppChannels []AppChannel `json:"AppChannels,omitempty"`
}
type LicenseCounts ¶
type LicenseCounts struct { Active map[string]int64 `json:"active,omitempty"` Airgap map[string]int64 `json:"airgap,omitempty"` Inactive map[string]int64 `json:"inactive,omitempty"` Total map[string]int64 `json:"total,omitempty"` }
LicenseCounts is a struct to hold license count information
Click to show internal directories.
Click to hide internal directories.