swagger

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2017 License: MIT Imports: 1 Imported by: 0

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 Body

type Body struct {
	Description string `json:"description,omitempty"`

	Name string `json:"name"`
}

type Body1

type Body1 struct {
	Description string `json:"description,omitempty"`

	Name string `json:"name"`
}

type Body2

type Body2 struct {
	ReleaseNotes string `json:"release_notes"`

	Required bool `json:"required"`

	Version string `json:"version"`
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL