v1alpha1

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonConverter

type CommonConverter interface {
	StatusFromDomain(domain.Status) api.Status
}

CommonConverter converts common types for imagebuilder v1alpha1 API.

func NewCommonConverter

func NewCommonConverter() CommonConverter

NewCommonConverter creates a new CommonConverter.

type Converter

type Converter interface {
	ImageBuild() ImageBuildConverter
	ImageExport() ImageExportConverter
	ImagePromotion() ImagePromotionConverter
	Common() CommonConverter
}

Converter aggregates all resource-specific converters for imagebuilder v1alpha1 API.

func NewConverter

func NewConverter() Converter

NewConverter creates a new Converter instance with all resource converters.

type ImageBuildConverter

type ImageBuildConverter interface {
	// Core resource conversions
	ToDomain(api.ImageBuild) domain.ImageBuild
	FromDomain(*domain.ImageBuild) *api.ImageBuild
	ListFromDomain(*domain.ImageBuildList) *api.ImageBuildList

	// Params conversions
	ListParamsToDomain(api.ListImageBuildsParams) domain.ListImageBuildsParams
	GetParamsToDomain(api.GetImageBuildParams) domain.GetImageBuildParams
	GetLogParamsToDomain(api.GetImageBuildLogParams) domain.GetImageBuildLogParams
}

ImageBuildConverter converts between v1alpha1 API types and domain types for ImageBuild resources.

func NewImageBuildConverter

func NewImageBuildConverter() ImageBuildConverter

NewImageBuildConverter creates a new ImageBuildConverter.

type ImageExportConverter

type ImageExportConverter interface {
	// Core resource conversions
	ToDomain(api.ImageExport) domain.ImageExport
	FromDomain(*domain.ImageExport) *api.ImageExport
	ListFromDomain(*domain.ImageExportList) *api.ImageExportList

	// Params conversions
	ListParamsToDomain(api.ListImageExportsParams) domain.ListImageExportsParams
	GetLogParamsToDomain(api.GetImageExportLogParams) domain.GetImageExportLogParams
}

ImageExportConverter converts between v1alpha1 API types and domain types for ImageExport resources.

func NewImageExportConverter

func NewImageExportConverter() ImageExportConverter

NewImageExportConverter creates a new ImageExportConverter.

type ImagePromotionConverter added in v1.2.0

type ImagePromotionConverter interface {
	ToDomain(api.ImagePromotion) domain.ImagePromotion
	FromDomain(*domain.ImagePromotion) *api.ImagePromotion
	ListFromDomain(*domain.ImagePromotionList) *api.ImagePromotionList
	ListParamsToDomain(api.ListImagePromotionsParams) domain.ListImagePromotionsParams
}

ImagePromotionConverter converts between v1alpha1 API types and domain types for ImagePromotion resources.

func NewImagePromotionConverter added in v1.2.0

func NewImagePromotionConverter() ImagePromotionConverter

NewImagePromotionConverter creates a new ImagePromotionConverter.

Jump to

Keyboard shortcuts

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