models

package
v2.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {

	/* components

	Required: true
	*/
	Components []*ComponentVersion `json:"components"`

	/* first seen
	 */
	FirstSeen *strfmt.DateTime `json:"firstSeen,omitempty"`

	/* id

	Required: true
	Min Length: 1
	*/
	ID string `json:"id"`

	/* last seen
	 */
	LastSeen *strfmt.DateTime `json:"lastSeen,omitempty"`
}

Cluster cluster

swagger:model cluster

func (*Cluster) Validate

func (m *Cluster) Validate(formats strfmt.Registry) error

Validate validates this cluster

type Component

type Component struct {

	/* description
	 */
	Description *string `json:"description,omitempty"`

	/* name

	Required: true
	Min Length: 1
	*/
	Name string `json:"name"`
}

Component component

swagger:model component

func (*Component) Validate

func (m *Component) Validate(formats strfmt.Registry) error

Validate validates this component

type ComponentVersion

type ComponentVersion struct {

	/* component
	 */
	Component *Component `json:"component,omitempty"`

	/* update available
	 */
	UpdateAvailable *string `json:"updateAvailable,omitempty"`

	/* version
	 */
	Version *Version `json:"version,omitempty"`
}

ComponentVersion component version

swagger:model componentVersion

func (*ComponentVersion) Validate

func (m *ComponentVersion) Validate(formats strfmt.Registry) error

Validate validates this component version

type Data

type Data struct {

	/* description

	Min Length: 1
	*/
	Description string `json:"description,omitempty"`

	/* fixes

	Min Length: 1
	*/
	Fixes string `json:"fixes,omitempty"`
}

Data data

swagger:model data

func (*Data) Validate

func (m *Data) Validate(formats strfmt.Registry) error

Validate validates this data

type Error

type Error struct {

	/* code

	Required: true
	*/
	Code int64 `json:"code"`

	/* message

	Required: true
	*/
	Message string `json:"message"`
}

Error error

swagger:model error

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Version

type Version struct {

	/* data
	 */
	Data *Data `json:"data,omitempty"`

	/* released

	Min Length: 1
	*/
	Released string `json:"released,omitempty"`

	/* train

	Required: true
	Min Length: 1
	*/
	Train string `json:"train"`

	/* version

	Min Length: 1
	*/
	Version string `json:"version,omitempty"`
}

Version version

swagger:model version

func (*Version) Validate

func (m *Version) Validate(formats strfmt.Registry) error

Validate validates this version

Jump to

Keyboard shortcuts

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