kic

package
v0.0.0-...-50e0e08 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildKustomizeForURLAndRef

func BuildKustomizeForURLAndRef(ctx context.Context, url, ref string) ([]byte, error)

BuildKustomizeForURLAndRef runs kustomize build for the provided URL and ref. It returns the output of the kustomize build command.

func GetFileFromKICRepositoryForVersion

func GetFileFromKICRepositoryForVersion(filePath string, version semver.Version) ([]byte, error)

GetFileFromKICRepositoryForVersion fetches a file from the KIC repository for a given version.

func SanitizeVersionConstraint

func SanitizeVersionConstraint(constraint string) string

SanitizeVersionConstraint is a helper that replaces the basic constraint symbols with textual ones, to be used as suffixes on files and functions naming. The complete list of constraint symbols can be found here: https://github.com/Masterminds/semver#basic-comparisons

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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