build

package
v0.0.0-...-6263d3d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(manifest model.Manifest) error

Archive creates the release archive that users will download. This includes the installation templates, istioctl, and various tools.

func Build

func Build(manifest model.Manifest) error

Build will create all artifacts required by the manifest This assumes the working directory has been setup and sources resolved.

func Debian

func Debian(manifest model.Manifest) error

Debian produces a debian package just for the sidecar

func Docker

func Docker(manifest model.Manifest) error

Docker builds all docker images and outputs them as tar.gz files docker.save in the repos does most of the work, we just need to call this and copy the files over

func GenerateBillOfMaterials

func GenerateBillOfMaterials(manifest model.Manifest) error

Sbom generates Software Bill Of Materials for istio repo in an SPDX readable format.

func GetBuildCommand

func GetBuildCommand() *cobra.Command

func Grafana

func Grafana(manifest model.Manifest) error

Grafana packages Istio dashboards in a form that is ready to be published to grafana.com

func HelmCharts

func HelmCharts(manifest model.Manifest) error

func Rpm

func Rpm(manifest model.Manifest) error

Rpm produces an rpm package just for the sidecar

func SanitizeAllCharts

func SanitizeAllCharts(manifest model.Manifest) error

SanitizeAllCharts rewrites versions, tags, and hubs for helm charts. This is done independent of Helm as it is required for both the helm charts and the archive

func Scanner

func Scanner(manifest model.Manifest, githubToken, git, branch string) error

Scanner checks the base image for any CVEs.

Types

type Response

type Response struct {
	Progress string
	Results  Results
}

Structs for json data required

type Results

type Results struct {
	Status string
}

Jump to

Keyboard shortcuts

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