package
0.25.1
Repository: https://github.com/vmware-tanzu/octant.git
Documentation: pkg.go.dev

# Functions

AssertJSONEqual asserts two object's generated JSON is equal.
No description provided by the author
CreateAppReplicaSet creates a replica set.
CreateClusterRole creates a cluster role.
CreateClusterRoleBinding creates a cluster role binding.
CreateConfigMap creates a config map.
No description provided by the author
CreateCRD creates a CRD.
No description provided by the author
No description provided by the author
CreateCustomResource creates a custom resource.
CreateDaemonSet creates a daemon set.
CreateDeployment creates a deployment.
CreateEvent creates a event.
CreateExtReplicaSet creates a replica set.
CreateHorizontalPodAutoscaler creates a horizontal pod autoscaler.
CreateIngress creates an ingress.
CreateJob creates a job.
No description provided by the author
CreateNamespace creates a namespace.
CreateNetworkPolicy creates a network policy.
CreateNode creates a node.
CreatePersistentVolume creates a persistent volume.
CreatePersistentVolumeClaim creates a persistent volume claim.
CreatePod creates a pod.
No description provided by the author
CreateReplicationController creates a replication controller.
CreateRole creates a role.
No description provided by the author
No description provided by the author
CreateSecret creates a secret.
CreateService creates a service.
CreateServiceAccount creates a service account.
CreateStatefulSet creates a stateful set.
CreateStorageClass creates a storage class.
No description provided by the author
No description provided by the author
LoadObjectFromFile loads a file from the `testdata` directory.
LoadTestData loads a file in the testdata directory.
LoadTypedObjectFromFile loads a file from the `testdata` directory.
LoadUnstructuredFromFile loads an object from a file in the in `testdata` directory.
RequireErrorOrNot or not is a helper that requires an error or not.
Time generates a test time.
ToOwnerReferences converts an object to owner references.
ToUnstructured converts an object to an unstructured.
ToUnstructuredList converts a list of objects to a list of unstructured.
WithGenericCRD creates a crd with group/kind and one version.
No description provided by the author

# Constants

DefaultNamespace is the namespace that objects will belong to.

# Type aliases

CRDOption is an option for configuring CreateCRD.
CustomResourceOption is an option for configuring CreateCustomResource.
DeploymentOption is an option for configuration CreateDeployment.
No description provided by the author
PodOption is an option for configuring CreatePod.