Documentation
¶
Index ¶
- type ArchTag
- type ArchTagMap
- type ArchTagsMapResponse
- type Collection
- type CollectionListResponse
- func (m *CollectionListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionListResponse) MarshalBinary() ([]byte, error)
- func (m *CollectionListResponse) UnmarshalBinary(b []byte) error
- func (m *CollectionListResponse) Validate(formats strfmt.Registry) error
- type CollectionReportRecord
- func (m *CollectionReportRecord) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionReportRecord) MarshalBinary() ([]byte, error)
- func (m *CollectionReportRecord) UnmarshalBinary(b []byte) error
- func (m *CollectionReportRecord) Validate(formats strfmt.Registry) error
- type CollectionReportResponse
- func (m *CollectionReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectionReportResponse) MarshalBinary() ([]byte, error)
- func (m *CollectionReportResponse) UnmarshalBinary(b []byte) error
- func (m *CollectionReportResponse) Validate(formats strfmt.Registry) error
- type CollectionResponse
- type Container
- type ContainerListResponse
- type ContainerReportRecord
- type ContainerReportResponse
- func (m *ContainerReportResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ContainerReportResponse) MarshalBinary() ([]byte, error)
- func (m *ContainerReportResponse) UnmarshalBinary(b []byte) error
- func (m *ContainerReportResponse) Validate(formats strfmt.Registry) error
- type ContainerResponse
- type Entity
- type EntityListResponse
- type EntityReportRecord
- type EntityReportResponse
- type EntityResponse
- type Image
- type ImageListResponse
- type ImageResponse
- type ImageTagsResponse
- type Json400error
- type Json400errorError
- type Json401error
- type Json401errorError
- type Json403error
- type Json403errorError
- type Json404error
- type Json404errorError
- type Json409error
- type Json409errorError
- type Json500error
- type Json500errorError
- type Json501error
- type Json501errorError
- type Json507error
- type Json507errorError
- type LibraryStatsResponse
- type SearchResponse
- type SearchResponseData
- type Tag
- type TagMap
- type VersionResponse
- type VersionResponseData
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 ¶
ContextValidate validates this arch tag based on context it is used
func (*ArchTag) MarshalBinary ¶
MarshalBinary interface implementation
func (*ArchTag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ArchTagMap ¶
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 ¶
ContextValidate validate this arch tag map based on the context it is used
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 ¶
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
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 ¶
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
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
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
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
type CollectionResponse ¶
type CollectionResponse struct {
// data
Data *Collection `json:"data,omitempty"`
}
CollectionResponse collection response
swagger:model collectionResponse
func (*CollectionResponse) ContextValidate ¶
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
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 ¶
ContextValidate validate this container based on the context it is used
func (*Container) MarshalBinary ¶
MarshalBinary interface implementation
func (*Container) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ContainerListResponse ¶
type ContainerListResponse struct {
// data
Data []*Container `json:"data"`
}
ContainerListResponse container list response
swagger:model containerListResponse
func (*ContainerListResponse) ContextValidate ¶
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
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 ¶
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
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
type ContainerResponse ¶
type ContainerResponse struct {
// data
Data *Container `json:"data,omitempty"`
}
ContainerResponse container response
swagger:model containerResponse
func (*ContainerResponse) ContextValidate ¶
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
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 ¶
ContextValidate validates this entity based on context it is used
func (*Entity) MarshalBinary ¶
MarshalBinary interface implementation
func (*Entity) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EntityListResponse ¶
type EntityListResponse struct {
// data
Data []*Entity `json:"data"`
}
EntityListResponse entity list response
swagger:model entityListResponse
func (*EntityListResponse) ContextValidate ¶
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
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 ¶
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
type EntityReportResponse ¶
type EntityReportResponse struct {
// data
Data []*EntityReportRecord `json:"data"`
}
EntityReportResponse entity report response
swagger:model entityReportResponse
func (*EntityReportResponse) ContextValidate ¶
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
type EntityResponse ¶
type EntityResponse struct {
// data
Data *Entity `json:"data,omitempty"`
}
EntityResponse entity response
swagger:model entityResponse
func (*EntityResponse) ContextValidate ¶
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
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 ¶
ContextValidate validates this image based on context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageListResponse ¶
type ImageListResponse struct {
// data
Data []*Image `json:"data"`
}
ImageListResponse image list response
swagger:model imageListResponse
func (*ImageListResponse) ContextValidate ¶
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
type ImageResponse ¶
type ImageResponse struct {
// data
Data *Image `json:"data,omitempty"`
}
ImageResponse image response
swagger:model imageResponse
func (*ImageResponse) ContextValidate ¶
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
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 ¶
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
type Json400error ¶
type Json400error struct {
// error
Error *Json400errorError `json:"error,omitempty"`
}
Json400error json400error
swagger:model json400error
func (*Json400error) ContextValidate ¶
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
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 ¶
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
type Json401error ¶
type Json401error struct {
// error
Error *Json401errorError `json:"error,omitempty"`
}
Json401error json401error
swagger:model json401error
func (*Json401error) ContextValidate ¶
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
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 ¶
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
type Json403error ¶
type Json403error struct {
// error
Error *Json403errorError `json:"error,omitempty"`
}
Json403error json403error
swagger:model json403error
func (*Json403error) ContextValidate ¶
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
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 ¶
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
type Json404error ¶
type Json404error struct {
// error
Error *Json404errorError `json:"error,omitempty"`
}
Json404error json404error
swagger:model json404error
func (*Json404error) ContextValidate ¶
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
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 ¶
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
type Json409error ¶
type Json409error struct {
// error
Error *Json409errorError `json:"error,omitempty"`
}
Json409error json409error
swagger:model json409error
func (*Json409error) ContextValidate ¶
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
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 ¶
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
type Json500error ¶
type Json500error struct {
// error
Error *Json500errorError `json:"error,omitempty"`
}
Json500error json500error
swagger:model json500error
func (*Json500error) ContextValidate ¶
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
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 ¶
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
type Json501error ¶
type Json501error struct {
// error
Error *Json501errorError `json:"error,omitempty"`
}
Json501error json501error
swagger:model json501error
func (*Json501error) ContextValidate ¶
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
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 ¶
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
type Json507error ¶
type Json507error struct {
// error
Error *Json507errorError `json:"error,omitempty"`
}
Json507error json507error
swagger:model json507error
func (*Json507error) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type SearchResponse ¶
type SearchResponse struct {
// data
Data *SearchResponseData `json:"data,omitempty"`
}
SearchResponse search response
swagger:model searchResponse
func (*SearchResponse) ContextValidate ¶
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
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 ¶
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
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 ¶
ContextValidate validates this tag based on context it is used
func (*Tag) MarshalBinary ¶
MarshalBinary interface implementation
func (*Tag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TagMap ¶
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 ¶
ContextValidate validates this tag map based on context it is used
type VersionResponse ¶
type VersionResponse struct {
// data
Data *VersionResponseData `json:"data,omitempty"`
}
VersionResponse Version check response.
swagger:model versionResponse
func (*VersionResponse) ContextValidate ¶
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
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 ¶
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
Source Files
¶
- arch_tag.go
- arch_tag_map.go
- arch_tags_map_response.go
- collection.go
- collection_list_response.go
- collection_report_record.go
- collection_report_response.go
- collection_response.go
- container.go
- container_list_response.go
- container_report_record.go
- container_report_response.go
- container_response.go
- entity.go
- entity_list_response.go
- entity_report_record.go
- entity_report_response.go
- entity_response.go
- image.go
- image_list_response.go
- image_response.go
- image_tags_response.go
- json400error.go
- json401error.go
- json403error.go
- json404error.go
- json409error.go
- json500error.go
- json501error.go
- json507error.go
- library_stats_response.go
- search_response.go
- tag.go
- tag_map.go
- version_response.go