models

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseImage

type BaseImage struct {

	// created time
	CreatedTime int64 `json:"createdTime,omitempty"`

	// docker Url
	// Required: true
	DockerURL *string `json:"dockerUrl"`

	// groups
	Groups []string `json:"groups"`

	// id
	ID strfmt.UUID `json:"id,omitempty"`

	// kind
	// Read Only: true
	// Pattern: ^[\w\d\-]+$
	Kind string `json:"kind,omitempty"`

	// language
	// Required: true
	Language *string `json:"language"`

	// name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	Name *string `json:"name"`

	// reason
	Reason []string `json:"reason"`

	// spec
	Spec Spec `json:"spec,omitempty"`

	// status
	Status Status `json:"status,omitempty"`

	// tags
	Tags []*Tag `json:"tags"`
}

BaseImage base image swagger:model BaseImage

func (*BaseImage) MarshalBinary

func (m *BaseImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BaseImage) UnmarshalBinary

func (m *BaseImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BaseImage) Validate

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

Validate validates this base image

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

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

Error error swagger:model Error

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Image

type Image struct {

	// base image name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	BaseImageName *string `json:"baseImageName"`

	// created time
	CreatedTime int64 `json:"createdTime,omitempty"`

	// docker Url
	DockerURL string `json:"dockerUrl,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// id
	ID strfmt.UUID `json:"id,omitempty"`

	// kind
	// Read Only: true
	// Pattern: ^[\w\d\-]+$
	Kind string `json:"kind,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	Name *string `json:"name"`

	// reason
	Reason []string `json:"reason"`

	// runtime dependencies
	RuntimeDependencies *RuntimeDependencies `json:"runtimeDependencies,omitempty"`

	// spec
	Spec Spec `json:"spec,omitempty"`

	// status
	Status Status `json:"status,omitempty"`

	// system dependencies
	SystemDependencies *SystemDependencies `json:"systemDependencies,omitempty"`

	// tags
	Tags []*Tag `json:"tags"`
}

Image image swagger:model Image

func (*Image) MarshalBinary

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate

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

Validate validates this image

type RuntimeDependencies added in v0.1.13

type RuntimeDependencies struct {

	// manifest
	Manifest string `json:"manifest,omitempty"`
}

RuntimeDependencies runtime dependencies swagger:model RuntimeDependencies

func (*RuntimeDependencies) MarshalBinary added in v0.1.13

func (m *RuntimeDependencies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuntimeDependencies) UnmarshalBinary added in v0.1.13

func (m *RuntimeDependencies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuntimeDependencies) Validate added in v0.1.13

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

Validate validates this runtime dependencies

type Spec

type Spec string

Spec spec swagger:model Spec

const (

	// SpecCONFIGURE captures enum value "CONFIGURE"
	SpecCONFIGURE Spec = "CONFIGURE"

	// SpecCREATE captures enum value "CREATE"
	SpecCREATE Spec = "CREATE"

	// SpecDELETE captures enum value "DELETE"
	SpecDELETE Spec = "DELETE"
)

func (Spec) Validate

func (m Spec) Validate(formats strfmt.Registry) error

Validate validates this spec

type Status

type Status string

Status status swagger:model Status

const (

	// StatusINITIALIZED captures enum value "INITIALIZED"
	StatusINITIALIZED Status = "INITIALIZED"

	// StatusCREATING captures enum value "CREATING"
	StatusCREATING Status = "CREATING"

	// StatusUPDATING captures enum value "UPDATING"
	StatusUPDATING Status = "UPDATING"

	// StatusREADY captures enum value "READY"
	StatusREADY Status = "READY"

	// StatusERROR captures enum value "ERROR"
	StatusERROR Status = "ERROR"

	// StatusDELETED captures enum value "DELETED"
	StatusDELETED Status = "DELETED"
)

func (Status) Validate

func (m Status) Validate(formats strfmt.Registry) error

Validate validates this status

type SystemDependencies added in v0.1.13

type SystemDependencies struct {

	// packages
	Packages []*SystemDependency `json:"packages"`
}

SystemDependencies system dependencies swagger:model SystemDependencies

func (*SystemDependencies) MarshalBinary added in v0.1.13

func (m *SystemDependencies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemDependencies) UnmarshalBinary added in v0.1.13

func (m *SystemDependencies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemDependencies) Validate added in v0.1.13

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

Validate validates this system dependencies

type SystemDependency added in v0.1.13

type SystemDependency struct {

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

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

SystemDependency system dependency swagger:model SystemDependency

func (*SystemDependency) MarshalBinary added in v0.1.13

func (m *SystemDependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SystemDependency) UnmarshalBinary added in v0.1.13

func (m *SystemDependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SystemDependency) Validate added in v0.1.13

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

Validate validates this system dependency

type Tag

type Tag struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Tag tag swagger:model Tag

func (*Tag) MarshalBinary

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate

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

Validate validates this tag

Jump to

Keyboard shortcuts

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