internal

package
v1.113.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(ctx context.Context, dockerfile, imageName, imageTag string) error

BuildImage builds a single Docker image

func GenerateImageTag

func GenerateImageTag() string

GenerateImageTag generates a unique tag for the current build

func InstallGatewayApiCRDs added in v1.109.0

func InstallGatewayApiCRDs(ctx context.Context, KubeConfigPath string) error

InstallGatewayApiCRDs installs the Gateway API CRDs from GitHub

func InstallPrometheusOperatorCRDs

func InstallPrometheusOperatorCRDs(ctx context.Context, KubeConfigPath string) error

InstallPrometheusOperatorCRDs installs the Prometheus Operator CRDs from GitHub

func InstallRadixOperator

func InstallRadixOperator(ctx context.Context, KubeConfigPath, namespace, releaseName, chartPath string, values map[string]string) error

InstallRadixOperator installs the radix-operator Helm chart

func RemoveImage

func RemoveImage(ctx context.Context, imageName, imageTag string) error

RemoveImage removes a Docker image

Types

type KindCluster

type KindCluster struct {
	Name           string
	KubeConfigPath string
}

KindCluster represents a Kind cluster for testing

func NewKindCluster

func NewKindCluster(ctx context.Context) (*KindCluster, error)

NewKindCluster creates a new Kind cluster

func (*KindCluster) Delete

func (k *KindCluster) Delete(ctx context.Context) error

Delete removes the Kind cluster

func (*KindCluster) GetKubeConfig

func (k *KindCluster) GetKubeConfig() (*rest.Config, error)

GetKubeConfig returns the rest.Config for the cluster

func (*KindCluster) LoadImage

func (k *KindCluster) LoadImage(ctx context.Context, image, tag string) error

LoadImage loads a single Docker image into the Kind cluster

Jump to

Keyboard shortcuts

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