Documentation
¶
Index ¶
- func NewClusterComponentType(name string) *openchoreov1alpha1.ClusterComponentType
- func NewClusterDataPlane(name string) *openchoreov1alpha1.ClusterDataPlane
- func NewClusterObservabilityPlane(name string) *openchoreov1alpha1.ClusterObservabilityPlane
- func NewClusterTrait(name string) *openchoreov1alpha1.ClusterTrait
- func NewClusterWorkflow(name string) *openchoreov1alpha1.ClusterWorkflow
- func NewClusterWorkflowPlane(name string) *openchoreov1alpha1.ClusterWorkflowPlane
- func NewComponent(namespace, projectName, name string) *openchoreov1alpha1.Component
- func NewComponentRelease(namespace, projectName, componentName, name string) *openchoreov1alpha1.ComponentRelease
- func NewComponentType(namespace, name string) *openchoreov1alpha1.ComponentType
- func NewDataPlane(namespace, name string) *openchoreov1alpha1.DataPlane
- func NewDeploymentPipeline(namespace, name string) *openchoreov1alpha1.DeploymentPipeline
- func NewEnvironment(namespace, name string) *openchoreov1alpha1.Environment
- func NewFakeClient(objects ...client.Object) client.Client
- func NewNamespace(name string) *corev1.Namespace
- func NewObservabilityAlertsNotificationChannel(namespace, environmentName, name string) *openchoreov1alpha1.ObservabilityAlertsNotificationChannel
- func NewObservabilityPlane(namespace, name string) *openchoreov1alpha1.ObservabilityPlane
- func NewProject(namespace, name string) *openchoreov1alpha1.Project
- func NewReleaseBinding(namespace, projectName, componentName, environmentName, name string) *openchoreov1alpha1.ReleaseBinding
- func NewScheme() *runtime.Scheme
- func NewSecretReference(namespace, name string) *openchoreov1alpha1.SecretReference
- func NewTrait(namespace, name string) *openchoreov1alpha1.Trait
- func NewWorkflow(namespace, name string) *openchoreov1alpha1.Workflow
- func NewWorkflowPlane(namespace, name string) *openchoreov1alpha1.WorkflowPlane
- func NewWorkflowRun(namespace, workflowName, name string) *openchoreov1alpha1.WorkflowRun
- func NewWorkload(namespace, projectName, componentName, name string) *openchoreov1alpha1.Workload
- func TestLogger() *slog.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterComponentType ¶
func NewClusterComponentType(name string) *openchoreov1alpha1.ClusterComponentType
NewClusterComponentType creates a ClusterComponentType test fixture.
func NewClusterDataPlane ¶
func NewClusterDataPlane(name string) *openchoreov1alpha1.ClusterDataPlane
NewClusterDataPlane creates a ClusterDataPlane test fixture.
func NewClusterObservabilityPlane ¶
func NewClusterObservabilityPlane(name string) *openchoreov1alpha1.ClusterObservabilityPlane
NewClusterObservabilityPlane creates a ClusterObservabilityPlane test fixture.
func NewClusterTrait ¶
func NewClusterTrait(name string) *openchoreov1alpha1.ClusterTrait
NewClusterTrait creates a ClusterTrait test fixture.
func NewClusterWorkflow ¶
func NewClusterWorkflow(name string) *openchoreov1alpha1.ClusterWorkflow
NewClusterWorkflow creates a ClusterWorkflow test fixture.
func NewClusterWorkflowPlane ¶
func NewClusterWorkflowPlane(name string) *openchoreov1alpha1.ClusterWorkflowPlane
NewClusterWorkflowPlane creates a ClusterWorkflowPlane test fixture.
func NewComponent ¶
func NewComponent(namespace, projectName, name string) *openchoreov1alpha1.Component
NewComponent creates a Component test fixture.
func NewComponentRelease ¶
func NewComponentRelease(namespace, projectName, componentName, name string) *openchoreov1alpha1.ComponentRelease
NewComponentRelease creates a ComponentRelease test fixture.
func NewComponentType ¶
func NewComponentType(namespace, name string) *openchoreov1alpha1.ComponentType
NewComponentType creates a ComponentType test fixture.
func NewDataPlane ¶
func NewDataPlane(namespace, name string) *openchoreov1alpha1.DataPlane
NewDataPlane creates a DataPlane test fixture.
func NewDeploymentPipeline ¶
func NewDeploymentPipeline(namespace, name string) *openchoreov1alpha1.DeploymentPipeline
NewDeploymentPipeline creates a DeploymentPipeline test fixture.
func NewEnvironment ¶
func NewEnvironment(namespace, name string) *openchoreov1alpha1.Environment
NewEnvironment creates an Environment test fixture.
func NewFakeClient ¶
NewFakeClient creates an in-memory Kubernetes client pre-loaded with the given objects.
func NewNamespace ¶
NewNamespace creates a Namespace test fixture.
func NewObservabilityAlertsNotificationChannel ¶
func NewObservabilityAlertsNotificationChannel(namespace, environmentName, name string) *openchoreov1alpha1.ObservabilityAlertsNotificationChannel
NewObservabilityAlertsNotificationChannel creates an ObservabilityAlertsNotificationChannel fixture.
func NewObservabilityPlane ¶
func NewObservabilityPlane(namespace, name string) *openchoreov1alpha1.ObservabilityPlane
NewObservabilityPlane creates an ObservabilityPlane test fixture.
func NewProject ¶
func NewProject(namespace, name string) *openchoreov1alpha1.Project
NewProject creates a Project test fixture.
func NewReleaseBinding ¶
func NewReleaseBinding(namespace, projectName, componentName, environmentName, name string) *openchoreov1alpha1.ReleaseBinding
NewReleaseBinding creates a ReleaseBinding test fixture.
func NewScheme ¶
NewScheme returns a runtime.Scheme with the OpenChoreo and core Kubernetes API types registered.
func NewSecretReference ¶
func NewSecretReference(namespace, name string) *openchoreov1alpha1.SecretReference
NewSecretReference creates a SecretReference test fixture.
func NewTrait ¶
func NewTrait(namespace, name string) *openchoreov1alpha1.Trait
NewTrait creates a Trait test fixture.
func NewWorkflow ¶
func NewWorkflow(namespace, name string) *openchoreov1alpha1.Workflow
NewWorkflow creates a Workflow test fixture.
func NewWorkflowPlane ¶
func NewWorkflowPlane(namespace, name string) *openchoreov1alpha1.WorkflowPlane
NewWorkflowPlane creates a WorkflowPlane test fixture.
func NewWorkflowRun ¶
func NewWorkflowRun(namespace, workflowName, name string) *openchoreov1alpha1.WorkflowRun
NewWorkflowRun creates a WorkflowRun test fixture.
func NewWorkload ¶
func NewWorkload(namespace, projectName, componentName, name string) *openchoreov1alpha1.Workload
NewWorkload creates a Workload test fixture.
func TestLogger ¶
TestLogger returns a logger that suppresses normal test output noise.
Types ¶
This section is empty.