models

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchTag

type ArchTag struct {

	// Architecture
	// Example: amd64
	Arch string `json:"arch,omitempty"`

	// ID of the image
	// Example: project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c
	ImageID string `json:"imageID,omitempty"`

	// Tag name
	// Example: latest
	Tag string `json:"tag,omitempty"`
}

ArchTag Data for a single arch -> tag name -> image

swagger:model archTag

func (*ArchTag) ContextValidate

func (m *ArchTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this arch tag based on context it is used

func (*ArchTag) MarshalBinary

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

MarshalBinary interface implementation

func (*ArchTag) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ArchTag) Validate

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

Validate validates this arch tag

type ArchTagMap

type ArchTagMap map[string]TagMap

ArchTagMap 2-level map of arch -> tag -> image for a container Example: {"amd64":{"latest":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c","v1.0.0":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c"},"arm64":{"latest":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2eaaaaa"}}

swagger:model archTagMap

func (ArchTagMap) ContextValidate

func (m ArchTagMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this arch tag map based on the context it is used

func (ArchTagMap) Validate

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

Validate validates this arch tag map

type ArchTagsMapResponse

type ArchTagsMapResponse struct {

	// data
	Data ArchTagMap `json:"data,omitempty"`
}

ArchTagsMapResponse The arch -> tag -> image relationship for a container

swagger:model archTagsMapResponse

func (*ArchTagsMapResponse) ContextValidate

func (m *ArchTagsMapResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this arch tags map response based on the context it is used

func (*ArchTagsMapResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ArchTagsMapResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ArchTagsMapResponse) Validate

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

Validate validates this arch tags map response

type Collection

type Collection struct {

	// A list of IDs for containers belonging to this entity
	// Example: ["project123/bioinformatics-toools/bwa","project123/bioinformatics-tools/tophat"]
	Containers []string `json:"containers"`

	// The entity to which this collection belongs
	// Example: project123
	Entity string `json:"entity,omitempty"`

	// Name of the entity to which this collection belongs
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// Unique identifier for this collection
	// Example: project123/bioinformatics-tools
	ID string `json:"id,omitempty"`

	// A collection name (regex ^[a-zA-Z0-9-]+)
	// Example: collection1
	// Required: true
	// Max Length: 255
	// Min Length: 4
	// Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$
	Name *string `json:"name"`
}

Collection A collection object represents a logical grouping of containers, which belong to an entity (project)

swagger:model collection

func (*Collection) ContextValidate

func (m *Collection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this collection based on context it is used

func (*Collection) MarshalBinary

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

MarshalBinary interface implementation

func (*Collection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Collection) Validate

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

Validate validates this collection

type CollectionListResponse

type CollectionListResponse struct {

	// data
	Data []*Collection `json:"data"`
}

CollectionListResponse collection list response

swagger:model collectionListResponse

func (*CollectionListResponse) ContextValidate

func (m *CollectionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this collection list response based on the context it is used

func (*CollectionListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectionListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectionListResponse) Validate

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

Validate validates this collection list response

type CollectionReportRecord

type CollectionReportRecord struct {

	// ID of the collection
	// Example: project123/bioinformatics-tools
	CollectionID string `json:"collectionID,omitempty"`

	// Name of the collection
	// Example: bioinformatics-tools
	CollectionName string `json:"collectionName,omitempty"`

	// Number of containers for this collection
	// Example: 6
	ContainerCount int64 `json:"containerCount,omitempty"`

	// ID of the project (entity)
	// Example: project123
	EntityID string `json:"entityID,omitempty"`

	// Name of the project (entity)
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// Path to this collection in the library
	// Example: project123/bioinformatics-tools
	Path string `json:"path,omitempty"`

	// Size of collection in bytes
	// Example: 102400
	Size int64 `json:"size,omitempty"`
}

CollectionReportRecord collection report record

swagger:model collectionReportRecord

func (*CollectionReportRecord) ContextValidate

func (m *CollectionReportRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this collection report record based on context it is used

func (*CollectionReportRecord) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectionReportRecord) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectionReportRecord) Validate

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

Validate validates this collection report record

type CollectionReportResponse

type CollectionReportResponse struct {

	// data
	Data []*CollectionReportRecord `json:"data"`
}

CollectionReportResponse collection report response

swagger:model collectionReportResponse

func (*CollectionReportResponse) ContextValidate

func (m *CollectionReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this collection report response based on the context it is used

func (*CollectionReportResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectionReportResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectionReportResponse) Validate

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

Validate validates this collection report response

type CollectionResponse

type CollectionResponse struct {

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

CollectionResponse collection response

swagger:model collectionResponse

func (*CollectionResponse) ContextValidate

func (m *CollectionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this collection response based on the context it is used

func (*CollectionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectionResponse) Validate

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

Validate validates this collection response

type Container

type Container struct {

	// arch tags
	ArchTags ArchTagMap `json:"archTags,omitempty"`

	// ID of the collection to which this container belongs
	// Example: project123/bioinformatics-tools
	Collection string `json:"collection,omitempty"`

	// Name of the collection to which this container belongs
	// Example: bioinformatics-tools
	CollectionName string `json:"collectionName,omitempty"`

	// Time container was created (managed by server)
	// Example: 2018-02-27T15:50:00+6:00
	CreatedAt string `json:"createdAt,omitempty"`

	// Marker that container is (soft) deleted
	// Example: true
	Deleted bool `json:"deleted,omitempty"`

	// A friendly description of the container
	// Example: A basic container base image, with the BWA application installed.
	Description string `json:"description,omitempty"`

	// The number of times that this container was downloaded
	// Example: 8
	DownloadCount int64 `json:"downloadCount,omitempty"`

	// ID of the entity to which this collection belongs
	// Example: project123
	Entity string `json:"entity,omitempty"`

	// Name of the entity to which this collection belongs
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// Unique identifier for this container
	// Example: project123/bioinformatics-tools/bwa
	ID string `json:"id,omitempty"`

	// image tags
	ImageTags TagMap `json:"imageTags,omitempty"`

	// A list of IDs for the images of this container
	// Example: ["project123/bioinformatics-tools/bwa:sha256.03883ca565b32e58fa0a496316d69de35741f2ef34b5b4658a6fec04ed8149a8","project123/bioinformatics-tools/bwa:sha256.03883ca565b32e58fa0a496316d69de35741f2ef34b5b4658a6fec04ed814123"]
	Images []string `json:"images"`

	// A container name (regex ^[a-zA-Z0-9-]+)
	// Example: bwa
	// Required: true
	// Max Length: 255
	// Min Length: 4
	// Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$
	Name *string `json:"name"`

	// Size in bytes of storage used by this container
	// Example: 1024000
	Size int64 `json:"size,omitempty"`

	// Time container was last updated (managed by server)
	// Example: 2018-02-27T15:50:00+6:00
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Container A container that may have multiple versions (images), and is a member of a collection.

swagger:model container

func (*Container) ContextValidate

func (m *Container) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container based on the context it is used

func (*Container) MarshalBinary

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

MarshalBinary interface implementation

func (*Container) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Container) Validate

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

Validate validates this container

type ContainerListResponse

type ContainerListResponse struct {

	// data
	Data []*Container `json:"data"`
}

ContainerListResponse container list response

swagger:model containerListResponse

func (*ContainerListResponse) ContextValidate

func (m *ContainerListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container list response based on the context it is used

func (*ContainerListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerListResponse) Validate

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

Validate validates this container list response

type ContainerReportRecord

type ContainerReportRecord struct {

	// ID of the collection
	// Example: project123/bioinformatics-tools
	CollectionID string `json:"collectionID,omitempty"`

	// Name of the collection
	// Example: bioinformatics-tools
	CollectionName string `json:"collectionName,omitempty"`

	// ID of the container
	// Example: project123/bioinformatics-tools/bwa
	ContainerID string `json:"containerID,omitempty"`

	// Name of the container
	// Example: bwa
	ContainerName string `json:"containerName,omitempty"`

	// ID of the project (entity)
	// Example: project122
	EntityID string `json:"entityID,omitempty"`

	// Name of the project (entity)
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// Number of images/versions for this container
	// Example: 2
	ImageCount int64 `json:"imageCount,omitempty"`

	// Path to this container in the library
	// Example: project123/bioinformatics-tools/bwa
	Path string `json:"path,omitempty"`

	// Size of container in bytes
	// Example: 102400
	Size int64 `json:"size,omitempty"`
}

ContainerReportRecord container report record

swagger:model containerReportRecord

func (*ContainerReportRecord) ContextValidate

func (m *ContainerReportRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this container report record based on context it is used

func (*ContainerReportRecord) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerReportRecord) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerReportRecord) Validate

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

Validate validates this container report record

type ContainerReportResponse

type ContainerReportResponse struct {

	// data
	Data []*ContainerReportRecord `json:"data"`
}

ContainerReportResponse container report response

swagger:model containerReportResponse

func (*ContainerReportResponse) ContextValidate

func (m *ContainerReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container report response based on the context it is used

func (*ContainerReportResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerReportResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerReportResponse) Validate

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

Validate validates this container report response

type ContainerResponse

type ContainerResponse struct {

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

ContainerResponse container response

swagger:model containerResponse

func (*ContainerResponse) ContextValidate

func (m *ContainerResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container response based on the context it is used

func (*ContainerResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerResponse) Validate

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

Validate validates this container response

type Entity

type Entity struct {

	// Time entity was created (managed by server)
	// Example: 2018-02-27T15:50:00+6:00
	CreatedAt string `json:"createdAt,omitempty"`

	// Marker that new objects in the project should be private
	// Example: true
	DefaultPrivate bool `json:"defaultPrivate,omitempty"`

	// Unique identifier of this project
	// Example: project123
	ID string `json:"id,omitempty"`

	// A project name (regex ^[a-zA-Z0-9-]+)
	// Example: project123
	// Required: true
	// Max Length: 255
	// Min Length: 4
	// Pattern: ^[a-z0-9]+(?:[._-][a-z0-9]+)*$
	Name *string `json:"name"`

	// The user who is the owner of this project
	// Example: user123
	Owner string `json:"owner,omitempty"`

	// Time entity was last updated (managed by server)
	// Example: 2018-02-27T15:50:00+6:00
	UpdatedAt string `json:"updatedAt,omitempty"`
}

Entity An entity object represents a project within the container library

swagger:model entity

func (*Entity) ContextValidate

func (m *Entity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this entity based on context it is used

func (*Entity) MarshalBinary

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

MarshalBinary interface implementation

func (*Entity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Entity) Validate

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

Validate validates this entity

type EntityListResponse

type EntityListResponse struct {

	// data
	Data []*Entity `json:"data"`
}

EntityListResponse entity list response

swagger:model entityListResponse

func (*EntityListResponse) ContextValidate

func (m *EntityListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entity list response based on the context it is used

func (*EntityListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EntityListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EntityListResponse) Validate

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

Validate validates this entity list response

type EntityReportRecord

type EntityReportRecord struct {

	// Number of collections for this project (entity)
	// Example: 3
	CollectionCount int64 `json:"collectionCount,omitempty"`

	// ID of this project (entity)
	// Example: project123
	EntityID string `json:"entityID,omitempty"`

	// Name of this project (entity)
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// Path to this project (entity) in the library
	// Example: sylabs
	Path string `json:"path,omitempty"`

	// Size of project (entity) storage used in bytes
	// Example: 102400
	Size int64 `json:"size,omitempty"`
}

EntityReportRecord entity report record

swagger:model entityReportRecord

func (*EntityReportRecord) ContextValidate

func (m *EntityReportRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this entity report record based on context it is used

func (*EntityReportRecord) MarshalBinary

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

MarshalBinary interface implementation

func (*EntityReportRecord) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EntityReportRecord) Validate

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

Validate validates this entity report record

type EntityReportResponse

type EntityReportResponse struct {

	// data
	Data []*EntityReportRecord `json:"data"`
}

EntityReportResponse entity report response

swagger:model entityReportResponse

func (*EntityReportResponse) ContextValidate

func (m *EntityReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entity report response based on the context it is used

func (*EntityReportResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EntityReportResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EntityReportResponse) Validate

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

Validate validates this entity report response

type EntityResponse

type EntityResponse struct {

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

EntityResponse entity response

swagger:model entityResponse

func (*EntityResponse) ContextValidate

func (m *EntityResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entity response based on the context it is used

func (*EntityResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EntityResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EntityResponse) Validate

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

Validate validates this entity response

type Image

type Image struct {

	// Name of the CPU architecture of image contents
	// Example: amd64
	Arch string `json:"arch,omitempty"`

	// ID of the collection to which this container belongs
	// Example: project123/bioinformatics-tools
	Collection string `json:"collection,omitempty"`

	// Name of the collection to which this container belongs
	// Example: bioinformatics-tools
	CollectionName string `json:"collectionName,omitempty"`

	// ID of the container to which this image belongs
	// Example: project123/bioinformatics-tools/bwa
	Container string `json:"container,omitempty"`

	// Name of the container to which this image belongs
	// Example: bwa
	ContainerName string `json:"containerName,omitempty"`

	// Marker that image is (soft) deleted
	// Example: true
	Deleted bool `json:"deleted,omitempty"`

	// Friendly description
	// Example: Version 1.0.0, no optimizations.
	Description string `json:"description,omitempty"`

	// Marker that image is encrypted
	// Example: true
	Encrypted bool `json:"encrypted,omitempty"`

	// ID of the entity to which this collection belongs
	// Example: project123
	Entity string `json:"entity,omitempty"`

	// Name of the entity to which this collection belongs
	// Example: project123
	EntityName string `json:"entityName,omitempty"`

	// An image hash in sha256 or sif format
	// Example: sha256.e50a30881ace3d5944f5661d222db7bee5296be9e4dc7c1fcb7604bcae926e88
	// Max Length: 255
	// Min Length: 4
	// Pattern: ^((sha256\.[a-f0-9]{64})|(sif\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}))$
	Hash string `json:"hash,omitempty"`

	// Unique identifier for this image
	// Example: project123/bioinformatics-tools/bwa:sha256.03883ca565b32e58fa0a496316d69de35741f2ef34b5b4658a6fec04ed8149a8
	// Required: true
	ID *string `json:"id"`

	// Marker that image contains a signature
	// Example: true
	Signed bool `json:"signed,omitempty"`

	// Size in bytes of storage used by this image
	// Example: 1024000
	Size int64 `json:"size,omitempty"`

	// The list of tags that are assigned to this image
	// Example: ["latest","v1.0.0"]
	Tags []string `json:"tags"`

	// Marker that file was successfully uploaded for this image
	// Example: true
	Uploaded bool `json:"uploaded,omitempty"`
}

Image Represents a SIF image, which is a version of a container.

swagger:model image

func (*Image) ContextValidate

func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image based on context it is used

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 ImageListResponse

type ImageListResponse struct {

	// data
	Data []*Image `json:"data"`
}

ImageListResponse image list response

swagger:model imageListResponse

func (*ImageListResponse) ContextValidate

func (m *ImageListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image list response based on the context it is used

func (*ImageListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageListResponse) Validate

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

Validate validates this image list response

type ImageResponse

type ImageResponse struct {

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

ImageResponse image response

swagger:model imageResponse

func (*ImageResponse) ContextValidate

func (m *ImageResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image response based on the context it is used

func (*ImageResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageResponse) Validate

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

Validate validates this image response

type ImageTagsResponse

type ImageTagsResponse struct {

	// data
	Data TagMap `json:"data,omitempty"`
}

ImageTagsResponse The tag -> image relationship for a container

swagger:model imageTagsResponse

func (*ImageTagsResponse) ContextValidate

func (m *ImageTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image tags response based on the context it is used

func (*ImageTagsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ImageTagsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImageTagsResponse) Validate

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

Validate validates this image tags response

type Json400error

type Json400error struct {

	// error
	Error *Json400errorError `json:"error,omitempty"`
}

Json400error json400error

swagger:model json400error

func (*Json400error) ContextValidate

func (m *Json400error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json400error based on the context it is used

func (*Json400error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json400error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json400error) Validate

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

Validate validates this json400error

type Json400errorError

type Json400errorError struct {

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

	// message
	// Example: Bad Request
	Message string `json:"message,omitempty"`
}

Json400errorError json400error error

swagger:model Json400errorError

func (*Json400errorError) ContextValidate

func (m *Json400errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json400error error based on context it is used

func (*Json400errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json400errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json400errorError) Validate

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

Validate validates this json400error error

type Json401error

type Json401error struct {

	// error
	Error *Json401errorError `json:"error,omitempty"`
}

Json401error json401error

swagger:model json401error

func (*Json401error) ContextValidate

func (m *Json401error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json401error based on the context it is used

func (*Json401error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json401error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json401error) Validate

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

Validate validates this json401error

type Json401errorError

type Json401errorError struct {

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

	// message
	// Example: Not authorized - please authenticate
	Message string `json:"message,omitempty"`
}

Json401errorError json401error error

swagger:model Json401errorError

func (*Json401errorError) ContextValidate

func (m *Json401errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json401error error based on context it is used

func (*Json401errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json401errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json401errorError) Validate

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

Validate validates this json401error error

type Json403error

type Json403error struct {

	// error
	Error *Json403errorError `json:"error,omitempty"`
}

Json403error json403error

swagger:model json403error

func (*Json403error) ContextValidate

func (m *Json403error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json403error based on the context it is used

func (*Json403error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json403error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json403error) Validate

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

Validate validates this json403error

type Json403errorError

type Json403errorError struct {

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

	// message
	// Example: Not authorized to access this entry
	Message string `json:"message,omitempty"`
}

Json403errorError json403error error

swagger:model Json403errorError

func (*Json403errorError) ContextValidate

func (m *Json403errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json403error error based on context it is used

func (*Json403errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json403errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json403errorError) Validate

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

Validate validates this json403error error

type Json404error

type Json404error struct {

	// error
	Error *Json404errorError `json:"error,omitempty"`
}

Json404error json404error

swagger:model json404error

func (*Json404error) ContextValidate

func (m *Json404error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json404error based on the context it is used

func (*Json404error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json404error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json404error) Validate

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

Validate validates this json404error

type Json404errorError

type Json404errorError struct {

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

	// message
	// Example: Not found
	Message string `json:"message,omitempty"`
}

Json404errorError json404error error

swagger:model Json404errorError

func (*Json404errorError) ContextValidate

func (m *Json404errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json404error error based on context it is used

func (*Json404errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json404errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json404errorError) Validate

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

Validate validates this json404error error

type Json409error

type Json409error struct {

	// error
	Error *Json409errorError `json:"error,omitempty"`
}

Json409error json409error

swagger:model json409error

func (*Json409error) ContextValidate

func (m *Json409error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json409error based on the context it is used

func (*Json409error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json409error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json409error) Validate

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

Validate validates this json409error

type Json409errorError

type Json409errorError struct {

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

	// message
	// Example: Conflict
	Message string `json:"message,omitempty"`
}

Json409errorError json409error error

swagger:model Json409errorError

func (*Json409errorError) ContextValidate

func (m *Json409errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json409error error based on context it is used

func (*Json409errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json409errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json409errorError) Validate

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

Validate validates this json409error error

type Json500error

type Json500error struct {

	// error
	Error *Json500errorError `json:"error,omitempty"`
}

Json500error json500error

swagger:model json500error

func (*Json500error) ContextValidate

func (m *Json500error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json500error based on the context it is used

func (*Json500error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json500error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json500error) Validate

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

Validate validates this json500error

type Json500errorError

type Json500errorError struct {

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

	// message
	// Example: Internal server error
	Message string `json:"message,omitempty"`
}

Json500errorError json500error error

swagger:model Json500errorError

func (*Json500errorError) ContextValidate

func (m *Json500errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json500error error based on context it is used

func (*Json500errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json500errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json500errorError) Validate

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

Validate validates this json500error error

type Json501error

type Json501error struct {

	// error
	Error *Json501errorError `json:"error,omitempty"`
}

Json501error json501error

swagger:model json501error

func (*Json501error) ContextValidate

func (m *Json501error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json501error based on the context it is used

func (*Json501error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json501error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json501error) Validate

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

Validate validates this json501error

type Json501errorError

type Json501errorError struct {

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

	// message
	// Example: Not implemented
	Message string `json:"message,omitempty"`
}

Json501errorError json501error error

swagger:model Json501errorError

func (*Json501errorError) ContextValidate

func (m *Json501errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json501error error based on context it is used

func (*Json501errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json501errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json501errorError) Validate

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

Validate validates this json501error error

type Json507error

type Json507error struct {

	// error
	Error *Json507errorError `json:"error,omitempty"`
}

Json507error json507error

swagger:model json507error

func (*Json507error) ContextValidate

func (m *Json507error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this json507error based on the context it is used

func (*Json507error) MarshalBinary

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

MarshalBinary interface implementation

func (*Json507error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json507error) Validate

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

Validate validates this json507error

type Json507errorError

type Json507errorError struct {

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

	// message
	// Example: Insufficient storage
	Message string `json:"message,omitempty"`
}

Json507errorError json507error error

swagger:model Json507errorError

func (*Json507errorError) ContextValidate

func (m *Json507errorError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this json507error error based on context it is used

func (*Json507errorError) MarshalBinary

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

MarshalBinary interface implementation

func (*Json507errorError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Json507errorError) Validate

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

Validate validates this json507error error

type LibraryStatsResponse

type LibraryStatsResponse struct {

	// Collections count stored in cloud service
	// Example: 1000
	CollectionsStored int64 `json:"collectionsStored,omitempty"`

	// Containers count stored in cloud service
	// Example: 1000
	ContainersStored int64 `json:"containersStored,omitempty"`

	// Entities count stored in cloud service
	// Example: 1000
	EntitiesStored int64 `json:"entitiesStored,omitempty"`

	// Images count stored in cloud service
	// Example: 1000
	ImagesStored int64 `json:"imagesStored,omitempty"`
}

LibraryStatsResponse library stats response

swagger:model libraryStatsResponse

func (*LibraryStatsResponse) ContextValidate

func (m *LibraryStatsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this library stats response based on context it is used

func (*LibraryStatsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*LibraryStatsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LibraryStatsResponse) Validate

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

Validate validates this library stats response

type SearchResponse

type SearchResponse struct {

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

SearchResponse search response

swagger:model searchResponse

func (*SearchResponse) ContextValidate

func (m *SearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search response based on the context it is used

func (*SearchResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SearchResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SearchResponse) Validate

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

Validate validates this search response

type SearchResponseData

type SearchResponseData struct {

	// collection
	Collection []*Collection `json:"collection"`

	// container
	Container []*Container `json:"container"`

	// entity
	Entity []*Entity `json:"entity"`

	// image
	Image []*Image `json:"image"`
}

SearchResponseData search response data

swagger:model SearchResponseData

func (*SearchResponseData) ContextValidate

func (m *SearchResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search response data based on the context it is used

func (*SearchResponseData) MarshalBinary

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

MarshalBinary interface implementation

func (*SearchResponseData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SearchResponseData) Validate

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

Validate validates this search response data

type Tag

type Tag struct {

	// id of the image
	// Example: project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c
	ImageID string `json:"imageID,omitempty"`

	// Tag name
	// Example: latest
	Tag string `json:"tag,omitempty"`
}

Tag Data for a a single tag name -> image

swagger:model tag

func (*Tag) ContextValidate

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag based on context it is used

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

type TagMap

type TagMap map[string]string

TagMap Map of tag -> image for a container Example: {"latest":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c","v1.0.0":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e1450c","v2.0.0":"project123/bioinformatics-tools/bwa:sha256.535b170e0a73cd85468464de6fcef46fb97e78d92a8dcc4cc1d09a52f2e12345"}

swagger:model tagMap

func (TagMap) ContextValidate

func (m TagMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag map based on context it is used

func (TagMap) Validate

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

Validate validates this tag map

type VersionResponse

type VersionResponse struct {

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

VersionResponse Version check response.

swagger:model versionResponse

func (*VersionResponse) ContextValidate

func (m *VersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this version response based on the context it is used

func (*VersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionResponse) Validate

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

Validate validates this version response

type VersionResponseData

type VersionResponseData struct {

	// Version of the Library Service API that is being served.
	// Example: v1.0.0
	APIVersion string `json:"apiVersion,omitempty"`

	// Version of the Library Service.
	// Example: v1.2.0-0-gdeadbee
	Version string `json:"version,omitempty"`
}

VersionResponseData version response data

swagger:model VersionResponseData

func (*VersionResponseData) ContextValidate

func (m *VersionResponseData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version response data based on context it is used

func (*VersionResponseData) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionResponseData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionResponseData) Validate

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

Validate validates this version response data

Jump to

Keyboard shortcuts

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