types

package
v1.120.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyAirgapImagesResult added in v1.108.5

type CopyAirgapImagesResult struct {
	EmbeddedClusterArtifacts []string
}

type CopyImageOptions

type CopyImageOptions struct {
	SrcRef            types.ImageReference
	DestRef           types.ImageReference
	SrcAuth           RegistryAuth
	DestAuth          RegistryAuth
	CopyAll           bool
	SrcDisableV1Ping  bool
	SrcSkipTLSVerify  bool
	DestDisableV1Ping bool
	DestSkipTLSVerify bool
	ReportWriter      io.Writer
}

type ImageInfo

type ImageInfo struct {
	Format      string
	Status      string
	Error       string
	Layers      map[string]*LayerInfo
	UploadStart time.Time
	UploadEnd   time.Time
}

type InstallationImageInfo added in v1.106.0

type InstallationImageInfo struct {
	IsPrivate bool
}

type LayerInfo added in v1.106.0

type LayerInfo struct {
	ID          string
	Size        int64
	UploadStart time.Time
	UploadEnd   time.Time
}

type OCIArtifactFile added in v1.108.2

type OCIArtifactFile struct {
	Name      string
	Path      string
	MediaType string
}

type ProcessImageOptions added in v1.106.0

type ProcessImageOptions struct {
	AppSlug          string
	Namespace        string
	RewriteImages    bool
	CopyImages       bool
	RegistrySettings registrytypes.RegistrySettings
	RootDir          string
	IsAirgap         bool
	AirgapBundle     string
	CreateAppDir     bool
	ReportWriter     io.Writer
}

type PushEmbeddedClusterArtifactsOptions added in v1.108.2

type PushEmbeddedClusterArtifactsOptions struct {
	Registry     dockerregistrytypes.RegistryOptions
	ChannelID    string
	UpdateCursor string
	VersionLabel string
	HTTPClient   *http.Client
}

type PushImageOptions added in v1.107.0

type PushImageOptions struct {
	ImageID          string
	ImageInfo        *ImageInfo
	Log              *logger.CLILogger
	LogForUI         bool
	ReportWriter     io.Writer
	CopyImageOptions CopyImageOptions
}

type PushImagesOptions added in v1.106.0

type PushImagesOptions struct {
	Registry       dockerregistrytypes.RegistryOptions
	KotsadmTag     string
	Log            *logger.CLILogger
	ProgressWriter io.Writer
	LogForUI       bool
}

type PushOCIArtifactOptions added in v1.108.2

type PushOCIArtifactOptions struct {
	Files        []OCIArtifactFile
	ArtifactType string
	Registry     dockerregistrytypes.RegistryOptions
	Repository   string
	Tag          string
	HTTPClient   *http.Client
}

type RegistryAuth

type RegistryAuth struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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