response

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LayerL0

type LayerL0 string

type RepositoriesL0

type RepositoriesL0 struct {
	Repositories []RepositoryL0 `yaml:"repositories" json:"repositories"`
	// contains filtered or unexported fields
}

func NewRepositoriesL0

func NewRepositoriesL0() *RepositoriesL0

func (*RepositoriesL0) AddRepository

func (r *RepositoriesL0) AddRepository(repo lib.Repository)

func (*RepositoriesL0) Sort

func (r *RepositoriesL0) Sort()

type RepositoriesL1

type RepositoriesL1 struct {
	Repositories []RepositoryL1 `yaml:"repositories" json:"repositories"`
	// contains filtered or unexported fields
}

func NewRepositoriesL1

func NewRepositoriesL1() *RepositoriesL1

func (*RepositoriesL1) AddTags

func (r *RepositoriesL1) AddTags(tags *TagsL0)

func (*RepositoriesL1) Sort

func (r *RepositoriesL1) Sort()

type RepositoryCollectionL0

type RepositoryCollectionL0 []RepositoryL0

func (RepositoryCollectionL0) Len

func (r RepositoryCollectionL0) Len() int

func (RepositoryCollectionL0) Less

func (r RepositoryCollectionL0) Less(i, j int) bool

func (RepositoryCollectionL0) Swap

func (r RepositoryCollectionL0) Swap(i, j int)

type RepositoryCollectionL1

type RepositoryCollectionL1 []RepositoryL1

func (RepositoryCollectionL1) Len

func (r RepositoryCollectionL1) Len() int

func (RepositoryCollectionL1) Less

func (r RepositoryCollectionL1) Less(i, j int) bool

func (RepositoryCollectionL1) Swap

func (r RepositoryCollectionL1) Swap(i, j int)

type RepositoryL0

type RepositoryL0 string

type RepositoryL1

type RepositoryL1 *TagsL0

type TagCollectionL0

type TagCollectionL0 []TagL0

func (TagCollectionL0) Len

func (t TagCollectionL0) Len() int

func (TagCollectionL0) Less

func (t TagCollectionL0) Less(i, j int) bool

func (TagCollectionL0) Swap

func (t TagCollectionL0) Swap(i, j int)

type TagCollectionL1

type TagCollectionL1 []TagL1

func (TagCollectionL1) Len

func (t TagCollectionL1) Len() int

func (TagCollectionL1) Less

func (t TagCollectionL1) Less(i, j int) bool

func (TagCollectionL1) Swap

func (t TagCollectionL1) Swap(i, j int)

type TagDetailsL0

type TagDetailsL0 struct {
	Repository string    `yaml:"repository,omitempty" json:"repository,omitempty"`
	TagName    string    `yaml:"tagName" json:"tagName"`
	Digest     string    `yaml:"digest" json:"digest"`
	Layers     []LayerL0 `yaml:"layers" json:"layers"`
}

func NewTagDetailsL0

func NewTagDetailsL0(tag lib.TagDetails, includeRepository bool) *TagDetailsL0

type TagL0

type TagL0 string

type TagL1

type TagL1 *TagDetailsL0

type TagsL0

type TagsL0 struct {
	Repository string  `yaml:"repository" json:"repository"`
	Tags       []TagL0 `yaml:"tags" json:"tags"`
	// contains filtered or unexported fields
}

func NewTagsL0

func NewTagsL0(repositoryName string) *TagsL0

func (*TagsL0) AddTag

func (t *TagsL0) AddTag(tag lib.Tag)

func (*TagsL0) Sort

func (t *TagsL0) Sort()

type TagsL1

type TagsL1 struct {
	Repository string  `yaml:"repository" json:"repository"`
	Tags       []TagL1 `yaml:"tags" json:"tags"`
	// contains filtered or unexported fields
}

func NewTagsL1

func NewTagsL1(repositoryName string) *TagsL1

func (*TagsL1) AddTag

func (t *TagsL1) AddTag(tag lib.TagDetails)

func (*TagsL1) Sort

func (t *TagsL1) Sort()

Jump to

Keyboard shortcuts

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