Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// The ID of the app
Id string `json:"Id"`
// The name of the app
Name string `json:"Name"`
// A unique slug for the app
Slug string `json:"Slug"`
}
An app belongs to a team. It contains channels onto which releases can be promoted.
type AppAndChannels ¶
type AppAndChannels struct {
App App `json:"App"`
// Channels of the app
Channels []AppChannel `json:"Channels"`
}
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 Body ¶
type Body struct {
// Name of the app that is to be created.
Name string `json:"name"`
}
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 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.