Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 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 Chart

type Chart struct {

	/* description

	Required: true
	Min Length: 1
	*/
	Description *string `json:"description"`

	/* home

	Required: true
	Min Length: 1
	*/
	Home *string `json:"home"`

	/* keywords
	 */
	Keywords []string `json:"keywords,omitempty"`

	/* maintainers

	Required: true
	*/
	Maintainers []*Maintainer `json:"maintainers"`

	/* name

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

	/* repo

	Required: true
	*/
	Repo *Repo `json:"repo"`

	/* repo URL
	 */
	RepoURL string `json:"repoURL,omitempty"`

	/* sources

	Required: true
	*/
	Sources []string `json:"sources"`
}

Chart chart

swagger:model chart

func (*Chart) Validate

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

Validate validates this chart

type ChartAsRelationship

type ChartAsRelationship struct {

	/* data

	Required: true
	*/
	Data *Chart `json:"data"`

	/* links

	Required: true
	*/
	Links *ResourceLink `json:"links"`
}

ChartAsRelationship chart as relationship

swagger:model chartAsRelationship

func (*ChartAsRelationship) Validate

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

Validate validates this chart as relationship

type ChartPackage

type ChartPackage struct {

	/* app version

	Required: true
	Min Length: 1
	*/
	AppVersion *string `json:"appVersion"`

	/* created

	Required: true
	Min Length: 1
	*/
	Created *string `json:"created"`

	/* deprecated

	Required: true
	*/
	Deprecated *bool `json:"deprecated"`

	/* description

	Required: true
	Min Length: 1
	*/
	Description *string `json:"description"`

	/* digest

	Required: true
	Min Length: 1
	*/
	Digest *string `json:"digest"`

	/* home

	Required: true
	Min Length: 1
	*/
	Home *string `json:"home"`

	/* icon

	Min Length: 1
	*/
	Icon string `json:"icon,omitempty"`

	/* keywords
	 */
	Keywords []string `json:"keywords,omitempty"`

	/* maintainers

	Required: true
	*/
	Maintainers []*Maintainer `json:"maintainers"`

	/* name

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

	/* repo
	 */
	Repo string `json:"repo,omitempty"`

	/* sources

	Required: true
	*/
	Sources []string `json:"sources"`

	/* urls

	Required: true
	*/
	Urls []string `json:"urls"`

	/* version

	Required: true
	Min Length: 1
	*/
	Version *string `json:"version"`
}

ChartPackage chart package

swagger:model chartPackage

func (*ChartPackage) Validate

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

Validate validates this chart package

type ChartRelationship

type ChartRelationship struct {

	/* chart

	Required: true
	*/
	Chart *ChartAsRelationship `json:"chart"`
}

ChartRelationship chart relationship

swagger:model chartRelationship

func (*ChartRelationship) Validate

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

Validate validates this chart relationship

type ChartVersion

type ChartVersion struct {

	/* app version

	Required: true
	Min Length: 1
	*/
	AppVersion *string `json:"app_version"`

	/* created

	Required: true
	Min Length: 1
	*/
	Created *string `json:"created"`

	/* digest

	Required: true
	Min Length: 1
	*/
	Digest *string `json:"digest"`

	/* icons
	 */
	Icons []*Icon `json:"icons,omitempty"`

	/* readme

	Required: true
	Min Length: 1
	*/
	Readme *string `json:"readme"`

	/* urls

	Required: true
	*/
	Urls []string `json:"urls"`

	/* version

	Required: true
	Min Length: 1
	*/
	Version *string `json:"version"`
}

ChartVersion chart version

swagger:model chartVersion

func (*ChartVersion) Validate

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

Validate validates this chart version

type ChartVersionAsRelationship

type ChartVersionAsRelationship struct {

	/* data

	Required: true
	*/
	Data *ChartVersion `json:"data"`

	/* links

	Required: true
	*/
	Links *ResourceLink `json:"links"`
}

ChartVersionAsRelationship chart version as relationship

swagger:model chartVersionAsRelationship

func (*ChartVersionAsRelationship) Validate

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

Validate validates this chart version as relationship

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 Icon

type Icon struct {

	/* name

	Required: true
	*/
	Name *string `json:"name"`

	/* path

	Required: true
	*/
	Path *string `json:"path"`
}

Icon icon

swagger:model icon

func (*Icon) Validate

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

Validate validates this icon

type LatestChartVersionRelationship

type LatestChartVersionRelationship struct {

	/* latest chart version

	Required: true
	*/
	LatestChartVersion *ChartVersionAsRelationship `json:"latestChartVersion"`
}

LatestChartVersionRelationship latest chart version relationship

swagger:model latestChartVersionRelationship

func (*LatestChartVersionRelationship) Validate

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

Validate validates this latest chart version relationship

type Maintainer

type Maintainer struct {

	/* email

	Required: true
	Min Length: 1
	*/
	Email *string `json:"email"`

	/* name

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

Maintainer maintainer

swagger:model maintainer

func (*Maintainer) Validate

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

Validate validates this maintainer

type Release

type Release struct {

	/* chart icon

	Required: true
	*/
	ChartIcon *string `json:"chartIcon"`

	/* chart name

	Required: true
	*/
	ChartName *string `json:"chartName"`

	/* chart version

	Required: true
	*/
	ChartVersion *string `json:"chartVersion"`

	/* name

	Required: true
	*/
	Name *string `json:"name"`

	/* namespace

	Required: true
	*/
	Namespace *string `json:"namespace"`

	/* status

	Required: true
	*/
	Status *string `json:"status"`

	/* updated

	Required: true
	*/
	Updated *string `json:"updated"`
}

Release release

swagger:model release

func (*Release) Validate

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

Validate validates this release

type ReleaseExtended

type ReleaseExtended struct {

	/* chart icon

	Required: true
	*/
	ChartIcon *string `json:"chartIcon"`

	/* chart name

	Required: true
	*/
	ChartName *string `json:"chartName"`

	/* chart version

	Required: true
	*/
	ChartVersion *string `json:"chartVersion"`

	/* name

	Required: true
	*/
	Name *string `json:"name"`

	/* namespace

	Required: true
	*/
	Namespace *string `json:"namespace"`

	/* notes

	Required: true
	*/
	Notes *string `json:"notes"`

	/* resources

	Required: true
	*/
	Resources *string `json:"resources"`

	/* status

	Required: true
	*/
	Status *string `json:"status"`

	/* updated

	Required: true
	*/
	Updated *string `json:"updated"`
}

ReleaseExtended release extended

swagger:model releaseExtended

func (*ReleaseExtended) Validate

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

Validate validates this release extended

type Repo

type Repo struct {

	/* URL

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

	/* name

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

	/* source
	 */
	Source string `json:"source,omitempty"`
}

Repo repo

swagger:model repo

func (*Repo) Validate

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

Validate validates this repo

type Resource

type Resource struct {

	/* attributes

	Required: true
	*/
	Attributes interface{} `json:"attributes"`

	/* id

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

	/* links
	 */
	Links interface{} `json:"links,omitempty"`

	/* relationships
	 */
	Relationships interface{} `json:"relationships,omitempty"`

	/* type

	Required: true
	Min Length: 1
	*/
	Type *string `json:"type"`
}

Resource resource

swagger:model resource

func (*Resource) Validate

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

Validate validates this resource

type ResourceArrayData

type ResourceArrayData struct {

	/* data

	Required: true
	*/
	Data []*Resource `json:"data"`
}

ResourceArrayData resource array data

swagger:model resourceArrayData

func (*ResourceArrayData) Validate

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

Validate validates this resource array data

type ResourceData

type ResourceData struct {

	/* data

	Required: true
	*/
	Data *Resource `json:"data"`
}

ResourceData resource data

swagger:model resourceData

func (*ResourceData) Validate

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

Validate validates this resource data

type ResourceLink struct {

	/* self

	Required: true
	Min Length: 1
	*/
	Self *string `json:"self"`
}

ResourceLink resource link

swagger:model resourceLink

func (*ResourceLink) Validate

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

Validate validates this resource link

Jump to

Keyboard shortcuts

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