resourceread

package
v0.0.0-...-5152f1c Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCSIDriverV1Beta1OrDie

func ReadCSIDriverV1Beta1OrDie(objBytes []byte) *storagev1beta1.CSIDriver

func ReadCSIDriverV1OrDie

func ReadCSIDriverV1OrDie(objBytes []byte) *storagev1.CSIDriver

func ReadClusterRoleBindingV1OrDie

func ReadClusterRoleBindingV1OrDie(objBytes []byte) *rbacv1.ClusterRoleBinding

func ReadClusterRoleV1OrDie

func ReadClusterRoleV1OrDie(objBytes []byte) *rbacv1.ClusterRole

func ReadConfigMapV1OrDie

func ReadConfigMapV1OrDie(objBytes []byte) *corev1.ConfigMap

func ReadCredentialRequestsOrDie

func ReadCredentialRequestsOrDie(objBytes []byte) *unstructured.Unstructured

func ReadCustomResourceDefinitionV1Beta1OrDie

func ReadCustomResourceDefinitionV1Beta1OrDie(objBytes []byte) *apiextensionsv1beta1.CustomResourceDefinition

func ReadCustomResourceDefinitionV1OrDie

func ReadCustomResourceDefinitionV1OrDie(objBytes []byte) *apiextensionsv1.CustomResourceDefinition

func ReadDaemonSetV1OrDie

func ReadDaemonSetV1OrDie(objBytes []byte) *appsv1.DaemonSet

func ReadDeploymentV1OrDie

func ReadDeploymentV1OrDie(objBytes []byte) *appsv1.Deployment

func ReadFeatureGateV1

func ReadFeatureGateV1(objBytes []byte) (*configv1.FeatureGate, error)

func ReadFeatureGateV1OrDie

func ReadFeatureGateV1OrDie(objBytes []byte) *configv1.FeatureGate

func ReadGenericWithUnstructured

func ReadGenericWithUnstructured(objBytes []byte) (runtime.Object, error)

ReadGenericWithUnstructured parses given yaml file using known scheme (see genericScheme above). If the object kind is not registered in the scheme, it returns Unstructured as the last resort.

func ReadGenericWithUnstructuredOrDie

func ReadGenericWithUnstructuredOrDie(objBytes []byte) runtime.Object

ReadGenericWithUnstructuredOrDie parses given yaml file using known scheme (see genericScheme above). If the object kind is not registered in the scheme, it returns Unstructured as the last resort.

func ReadImageStreamV1OrDie

func ReadImageStreamV1OrDie(objBytes []byte) *imagev1.ImageStream

func ReadMutatingWebhookConfigurationV1OrDie

func ReadMutatingWebhookConfigurationV1OrDie(objBytes []byte) *admissionv1.MutatingWebhookConfiguration

func ReadNamespaceV1OrDie

func ReadNamespaceV1OrDie(objBytes []byte) *corev1.Namespace

func ReadPodDisruptionBudgetV1OrDie

func ReadPodDisruptionBudgetV1OrDie(objBytes []byte) *policyv1.PodDisruptionBudget

func ReadPodV1

func ReadPodV1(objBytes []byte) (*corev1.Pod, error)

func ReadPodV1OrDie

func ReadPodV1OrDie(objBytes []byte) *corev1.Pod

func ReadRoleBindingV1OrDie

func ReadRoleBindingV1OrDie(objBytes []byte) *rbacv1.RoleBinding

func ReadRoleV1OrDie

func ReadRoleV1OrDie(objBytes []byte) *rbacv1.Role

func ReadRouteV1OrDie

func ReadRouteV1OrDie(objBytes []byte) *routev1.Route

func ReadSecretV1OrDie

func ReadSecretV1OrDie(objBytes []byte) *corev1.Secret

func ReadServiceAccountV1OrDie

func ReadServiceAccountV1OrDie(objBytes []byte) *corev1.ServiceAccount

func ReadServiceV1OrDie

func ReadServiceV1OrDie(objBytes []byte) *corev1.Service

func ReadStorageClassV1OrDie

func ReadStorageClassV1OrDie(objBytes []byte) *storagev1.StorageClass

func ReadStorageVersionMigrationV1Alpha1OrDie

func ReadStorageVersionMigrationV1Alpha1OrDie(objBytes []byte) *migrationv1alpha1.StorageVersionMigration

func ReadUnstructuredOrDie

func ReadUnstructuredOrDie(objBytes []byte) *unstructured.Unstructured

func ReadValidatingAdmissionPolicyBindingV1beta1OrDie

func ReadValidatingAdmissionPolicyBindingV1beta1OrDie(objBytes []byte) *admissionv1beta1.ValidatingAdmissionPolicyBinding

func ReadValidatingAdmissionPolicyV1beta1OrDie

func ReadValidatingAdmissionPolicyV1beta1OrDie(objBytes []byte) *admissionv1beta1.ValidatingAdmissionPolicy

func ReadValidatingWebhookConfigurationV1OrDie

func ReadValidatingWebhookConfigurationV1OrDie(objBytes []byte) *admissionv1.ValidatingWebhookConfiguration

func WriteFeatureGateV1

func WriteFeatureGateV1(obj *configv1.FeatureGate) (string, error)

func WriteFeatureGateV1OrDie

func WriteFeatureGateV1OrDie(obj *configv1.FeatureGate) string

func WritePodV1OrDie

func WritePodV1OrDie(obj *corev1.Pod) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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