init

package
v0.0.0-...-80b8dad Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Context                = context.TODO()
	Logger                 = test.NewTestLogger().Logger()
	Scheme                 = setScheme(runtime.NewScheme())
	OCMAgentNamespacedName = types.NamespacedName{
		Name:      "ocm-agent",
		Namespace: "test-namespace",
	}
	OCMAgentHSNamespacedName = types.NamespacedName{
		Name:      "ocm-agent-hypershift",
		Namespace: "test-namespace",
	}
	TestOCMAgent = ocmagentv1alpha1.OcmAgent{
		ObjectMeta: metav1.ObjectMeta{
			Name: "test-ocm-agent",
		},
		Spec: ocmagentv1alpha1.OcmAgentSpec{
			AgentConfig: ocmagentv1alpha1.AgentConfig{
				OcmBaseUrl: "http://api.example.com",
				Services:   []string{},
			},
			OcmAgentImage: "quay.io/ocm-agent:example",
			TokenSecret:   "example-secret",
			Replicas:      1,
		},
		Status: ocmagentv1alpha1.OcmAgentStatus{},
	}
	TestHSOCMAgent = ocmagentv1alpha1.OcmAgent{
		ObjectMeta: metav1.ObjectMeta{
			Name: "test-ocm-agent-hypershift",
		},
		Spec: ocmagentv1alpha1.OcmAgentSpec{
			AgentConfig: ocmagentv1alpha1.AgentConfig{
				OcmBaseUrl: "http://api.stage.example.com",
				Services:   []string{},
			},
			OcmAgentImage: "quay.io/ocm-agent:example",
			TokenSecret:   "example-secret",
			Replicas:      1,
			FleetMode:     true,
		},
		Status: ocmagentv1alpha1.OcmAgentStatus{},
	}
	TestConfigMapSuffix = "-cm"

	MfnrNamespacedName = types.NamespacedName{
		Name:      "test-managedfleetnotificationrecord",
		Namespace: "test-namespace",
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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