quay

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Layer

type Layer struct {
	Index           int64     `json:"index"`
	CompressedSize  int64     `json:"compressed_size"`
	IsRemote        bool      `json:"is_remote"`
	Command         []string  `json:"command"`
	Comment         string    `json:"comment"`
	Author          string    `json:"author"`
	BlobDigest      string    `json:"blob_digest"`
	CreatedDateTime time.Time `json:"created_datetime"`
}

func (*Layer) UnmarshalJSON

func (l *Layer) UnmarshalJSON(bytes []byte) error

type Manifest

type Manifest struct {
	Digest              string  `json:"digest"`
	IsManifestList      bool    `json:"is_manifest_list"`
	ManifestData        string  `json:"manifest_data"`
	ConfigMediaType     string  `json:"config_media_type"`
	LayerCompressedSize string  `json:"layer_compressed_size"`
	Layers              []Layer `json:"layers"`
}

func (*Manifest) GetKrknctlLabel

func (m *Manifest) GetKrknctlLabel(label string) *string

type ScenarioProvider

type ScenarioProvider struct {
	Config *config.Config
}

func (*ScenarioProvider) GetGlobalEnvironment

func (p *ScenarioProvider) GetGlobalEnvironment() (*models.ScenarioDetail, error)

func (*ScenarioProvider) GetRegistryImages

func (p *ScenarioProvider) GetRegistryImages() (*[]models.ScenarioTag, error)

func (*ScenarioProvider) GetScenarioDetail

func (p *ScenarioProvider) GetScenarioDetail(scenario string) (*models.ScenarioDetail, error)

func (*ScenarioProvider) ScaffoldScenarios

func (p *ScenarioProvider) ScaffoldScenarios(scenarios []string, includeGlobalEnv bool) (*string, error)

type Tag

type Tag struct {
	Name           string    `json:"name"`
	Reversion      bool      `json:"reversion"`
	StartTimeStamp int64     `json:"start_ts"`
	ManifestDigest string    `json:"manifest_digest"`
	IsManifestList bool      `json:"is_manifest_list"`
	Size           int64     `json:"size"`
	LastModified   time.Time `json:"last_modified"`
}

func (*Tag) UnmarshalJSON

func (q *Tag) UnmarshalJSON(bytes []byte) error

type TagPage

type TagPage struct {
	Tags          []Tag `json:"tags"`
	Page          int   `json:"page"`
	HasAdditional bool  `json:"has_additional"`
}

Jump to

Keyboard shortcuts

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