jib

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package jib contains utilities for jib strategy builds.

Index

Constants

View Source
const JibDigestFile = "target/jib-image.digest"
View Source
const JibLayerFilterExtensionMavenVersionDefault = "0.3.0"
View Source
const JibMavenBaseImageCache = "-Djib.baseImageCache="
View Source
const JibMavenFromImageParam = "-Djib.from.image="
View Source
const JibMavenFromPlatforms = "-Djib.from.platforms="
View Source
const JibMavenGoal = "jib:build"
View Source
const JibMavenInsecureRegistries = "-Djib.allowInsecureRegistries="
View Source
const JibMavenPluginVersionDefault = "3.4.1"
View Source
const JibMavenToImageParam = "-Djib.to.image="
View Source
const JibRegistryConfigEnvVar = "DOCKER_CONFIG"

See: https://github.com/GoogleContainerTools/jib/blob/master/jib-maven-plugin/README.md#using-docker-configuration-files

Variables

This section is empty.

Functions

func CreateProfileConfigmap

func CreateProfileConfigmap(ctx context.Context, c client.Client, kit *v1.IntegrationKit, profile string) error

Create a Configmap containing the default jib profile.

func JibMavenProfile

func JibMavenProfile(jibMavenPluginVersion string, jibLayerFilterExtensionMavenVersion string) (string, error)

JibMavenProfile creates a maven profile defining jib plugin build.

Types

type JibBuild

type JibBuild struct {
	Plugins []maven.Plugin `xml:"plugins>plugin,omitempty"`
}

type JibProfile

type JibProfile struct {
	XMLName xml.Name
	ID      string   `xml:"id"`
	Build   JibBuild `xml:"build,omitempty"`
}

Jump to

Keyboard shortcuts

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