util

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshallObject

func MarshallObject(obj interface{}, writer io.Writer) error

func RawMessagePointer

func RawMessagePointer(str string) *json.RawMessage

func RetriveFromQuayIO

func RetriveFromQuayIO(image string, imageTag string) ([]string, error)

func RetriveFromRedHatIO

func RetriveFromRedHatIO(image string, imageTag string) ([]string, error)

Types

type BasicAuthInfo

type BasicAuthInfo struct {
	Username string
	Password string
}

type QuayTag

type QuayTag struct {
	Revision       bool   `json:"revision"`
	StartTs        int    `json:"start_ts"`
	Name           string `json:"name"`
	DockerImageID  string `json:"docker_image_id"`
	ImageID        string `json:"image_id"`
	ManifestDigest string `json:"manifest_digest"`
	Modified       string `json:"last_modified"`
	IsManifestList bool   `json:"is_manifest_list"`
	Size           int64  `json:"size"`
	Reversion      bool   `json:"reversion"`
}

type QuayTagsResponse

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

Jump to

Keyboard shortcuts

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