jib

package
v2.5.1-nightly Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 10 Imported by: ? 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

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