resource

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package resource provides test data for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterRoleResourceContentForTest

func ClusterRoleResourceContentForTest(t *testing.T) *fleetv1beta1.ResourceContent

ClusterRoleResourceContentForTest creates a clusterRole for testing.

func CreateResourceContentForTest added in v0.9.6

func CreateResourceContentForTest(t *testing.T, obj interface{}) *fleetv1beta1.ResourceContent

CreateResourceContentForTest creates a ResourceContent for testing.

func DeploymentResourceContentForTest

func DeploymentResourceContentForTest(t *testing.T) *fleetv1beta1.ResourceContent

DeploymentResourceContentForTest creates a deployment for testing.

func NamespaceResourceContentForTest

func NamespaceResourceContentForTest(t *testing.T) *fleetv1beta1.ResourceContent

NamespaceResourceContentForTest creates a namespace for testing.

func SecretResourceContentForTest

func SecretResourceContentForTest(t *testing.T) *fleetv1beta1.ResourceContent

SecretResourceContentForTest creates a secret for testing.

func ServiceResourceContentForTest

func ServiceResourceContentForTest(t *testing.T) *fleetv1beta1.ResourceContent

ServiceResourceContentForTest creates a service for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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