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.
Click to show internal directories.
Click to hide internal directories.