Help us shape the future of Go! Take the 2026 Go Developer Survey

internalreleaseimage

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IRIResourceName = "cluster"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IRITestHelper

type IRITestHelper struct {
	McClientV1 machineconfigv1.MachineconfigurationV1Interface
	// contains filtered or unexported fields
}

IRITestHelper is a helper class for InternalReleaseImage tests

func NewIRITestHelper

func NewIRITestHelper(oc *exutil.CLI) *IRITestHelper

NewIRITestHelper creates a new test helper instance

func (*IRITestHelper) CreateSimpleNamespace

func (h *IRITestHelper) CreateSimpleNamespace() string

CreateSimpleNamespace creates a namespace with pod security labels and waits for SCC annotations. It uses admin client only, avoiding the user/OAuth/project request flow in SetupProject that breaks in proxied CI environments.

func (*IRITestHelper) CreateTestPod

func (h *IRITestHelper) CreateTestPod(namespace, releaseImage string) *corev1.Pod

CreateTestPod creates a test pod with the specified release image in the given namespace

func (*IRITestHelper) DeleteIRI

func (h *IRITestHelper) DeleteIRI() error

DeleteIRI attempts to delete the InternalReleaseImage resource

func (*IRITestHelper) DeleteMachineConfig

func (h *IRITestHelper) DeleteMachineConfig(name string)

DeleteMachineConfig deletes a MachineConfig by name

func (*IRITestHelper) DeleteNamespace

func (h *IRITestHelper) DeleteNamespace(name string)

DeleteNamespace deletes a namespace

func (*IRITestHelper) DeleteTestPod

func (h *IRITestHelper) DeleteTestPod(namespace, name string)

DeleteTestPod deletes a test pod by name from the specified namespace

func (*IRITestHelper) GetIRI

func (h *IRITestHelper) GetIRI() *v1.InternalReleaseImage

GetIRI gets the InternalReleaseImage resource and fails the test if not found

func (*IRITestHelper) GetIRIMachineConfigs

func (h *IRITestHelper) GetIRIMachineConfigs() []*v1.MachineConfig

func (*IRITestHelper) VerifyIDMSConfigured

func (h *IRITestHelper) VerifyIDMSConfigured(releaseImage string)

VerifyIDMSConfigured verifies that the test image repo is present as a mirror in at least one IDMS

type MCInfo

type MCInfo struct {
	UID               string
	CreationTimestamp metav1.Time
}

MCInfo holds MachineConfig metadata for reconciliation verification

Jump to

Keyboard shortcuts

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