varsmap

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VarMappingImageBuilderLabelKey             = "image_builder_label_key"
	VarMappingImageBuilderNameKey              = "image_builder_name_key"               // Not comming from build's command flag
	VarMappingImageBuilderRegistryHostKey      = "image_builder_registry_host_key"      // Not comming from build's command flag
	VarMappingImageBuilderRegistryNamespaceKey = "image_builder_registry_namespace_key" // Not comming from build's command flag
	VarMappingImageBuilderTagKey               = "image_builder_tag_key"                // Not comming from build's command flag
	VarMappingImageExtraTagsKey                = "image_extra_tags_key"
	VarMappingImageFromFullyQualifiedNameKey   = "image_from_fully_qualified_name_key"
	VarMappingImageFromNameKey                 = "image_from_name_key"
	VarMappingImageFromRegistryHostKey         = "image_from_registry_host_key"
	VarMappingImageFromRegistryNamespaceKey    = "image_from_registry_namespace_key"
	VarMappingImageFromTagKey                  = "image_from_tag_key"
	VarMappingImageFullyQualifiedNameKey       = "image_fully_qualified_name_key"
	VarMappingImageLabelsKey                   = "image_lables_key"
	VarMappingImageNameKey                     = "image_name_key"
	VarMappingImageTagKey                      = "image_tag_key"
	VarMappingPullParentImageKey               = "pull_parent_image_key"
	VarMappingPushImagetKey                    = "push_image_key"
	VarMappingRegistryHostKey                  = "image_registry_host_key"
	VarMappingRegistryNamespaceKey             = "image_registry_namespace_key"

	VarMappingImageBuilderLabelDefaultValue             = "image_builder_label"
	VarMappingImageBuilderNameDefaultValue              = "image_builder_name"               // Not comming from build's command flag
	VarMappingImageBuilderRegistryHostDefaultValue      = "image_builder_registry_host"      // Not comming from build's command flag
	VarMappingImageBuilderRegistryNamespaceDefaultValue = "image_builder_registry_namespace" // Not comming from build's command flag
	VarMappingImageBuilderTagDefaultValue               = "image_builder_tag"                // Not comming from build's command flag
	VarMappingImageExtraTagsDefaultValue                = "image_extra_tags"
	VarMappingImageFromFullyQualifiedNameValue          = "image_from_fully_qualified_name"
	VarMappingImageFromNameDefaultValue                 = "image_from_name"
	VarMappingImageFromRegistryHostDefaultValue         = "image_from_registry_host"
	VarMappingImageFromRegistryNamespaceDefaultValue    = "image_from_registry_namespace"
	VarMappingImageFromTagDefaultValue                  = "image_from_tag"
	VarMappingImageFullyQualifiedNameValue              = "image_fully_qualified_name"
	VarMappingImageLabelsDefaultValue                   = "image_labels"
	VarMappingImageNameDefaultValue                     = "image_name"
	VarMappingImageTagDefaultValue                      = "image_tag"
	VarMappingPullParentImageDefaultValue               = "pull_parent_image"
	VarMappingPushImagetDefaultValue                    = "push_image"
	VarMappingRegistryHostDefaultValue                  = "image_registry_host"
	VarMappingRegistryNamespaceDefaultValue             = "image_registry_namespace"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Varsmap

type Varsmap map[string]string

Varsmap is a map[string]string that defines the variables names passed from builder to build drivers

func New

func New() Varsmap

New return a Varsmap object

func (Varsmap) Combine

func (v Varsmap) Combine(c Varsmap) error

Combine include c varsmap values over v varsmsp but does not overrides values when a key already exists

func (Varsmap) GetUnderlyingMap

func (v Varsmap) GetUnderlyingMap() map[string]string

GetUnderlyingMap return the map[string]string behind Varsmap

func (Varsmap) SetUnderlyingMap

func (v Varsmap) SetUnderlyingMap(underlyingmap map[string]string)

SetUnderlyingMap return the map[string]string behind Varsmap

Jump to

Keyboard shortcuts

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