imagesystem

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 35 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuilderObjects

func BuilderObjects(name, namespace, forNamespace, buildKitImage, pub, privKey, depotToken, depotProjectId, builderUID, forwardAddress string, cfg *apiv1.Config) []client.Object

func GetBuildPushRepoForNamespace

func GetBuildPushRepoForNamespace(ctx context.Context, c client.Reader, namespace string) (name.Repository, error)

func GetBuilderDeploymentName

func GetBuilderDeploymentName(ctx context.Context, c client.Reader, builderName, builderNamespace string) (string, error)

func GetBuilderKeys

func GetBuilderKeys(ctx context.Context, c client.Reader, namespace, name string) (string, string, error)

func GetClusterInternalRegistryAddress

func GetClusterInternalRegistryAddress(ctx context.Context, c client.Reader) (string, error)

func GetClusterInternalRegistryDNSName

func GetClusterInternalRegistryDNSName(ctx context.Context, c client.Reader) (string, error)

func GetInternalRepoForNamespace

func GetInternalRepoForNamespace(ctx context.Context, c client.Reader, namespace string) (name.Repository, bool, error)

func GetInternalRepoForNamespaceAndID

func GetInternalRepoForNamespaceAndID(ctx context.Context, c client.Reader, namespace, imageID string) (name.Reference, error)

func GetRegistryObjects

func GetRegistryObjects(ctx context.Context, c client.Reader) (result []client.Object, _ error)

func GetRuntimePullableInternalRepoForNamespace

func GetRuntimePullableInternalRepoForNamespace(ctx context.Context, c client.Reader, namespace string) (name.Repository, error)

func GetRuntimePullableInternalRepoForNamespaceAndID

func GetRuntimePullableInternalRepoForNamespaceAndID(ctx context.Context, c client.Reader, namespace, imageID string) (name.Reference, error)

func IsClusterInternalRegistryAddressReference

func IsClusterInternalRegistryAddressReference(url string) bool

func IsNotInternalRepo

func IsNotInternalRepo(ctx context.Context, c client.Reader, namespace, image string) error

func NewAPIBasedTransport

func NewAPIBasedTransport(client kclient.Client, cfg *rest.Config) (http.RoundTripper, error)

func NormalizeServerAddress

func NormalizeServerAddress(address string) string

func ParseAndEnsureNotInternalRepo

func ParseAndEnsureNotInternalRepo(ctx context.Context, c client.Reader, namespace, image string) (name.Reference, error)

func URLForPortAndPod

func URLForPortAndPod(restClient rest.Interface, namespace, name string, port int32) *url.URL

Types

This section is empty.

Jump to

Keyboard shortcuts

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