resourceread

package
v4.2.733+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAPIService added in v0.9.1

func ReadAPIService(objBytes []byte) (*apiregistrationv1beta1.APIService, error)

func ReadCertificate added in v0.9.1

func ReadCertificate(objBytes []byte) (*v1alpha1.Certificate, error)

func ReadClusterRoleBindingV1

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

func ReadClusterRoleV1

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

func ReadConfigMapV1

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

func ReadCustomResourceDefinitionV1Beta1

func ReadCustomResourceDefinitionV1Beta1(objBytes []byte) *apiextv1beta1.CustomResourceDefinition

func ReadDaemonSetV1 added in v0.2.35

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

func ReadDeploymentV1

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

func ReadIngressv1beta1 added in v0.2.30

func ReadIngressv1beta1(objBytes []byte) *ingressv1beta1.Ingress

func ReadIssuer added in v0.9.1

func ReadIssuer(objBytes []byte) (*v1alpha1.Issuer, error)

func ReadJSONBytes added in v0.9.1

func ReadJSONBytes(objBytes []byte) (*unstructuredv1.Unstructured, error)

ReadJSONBytes converts the received JSON bytes to Unstructed type.

func ReadMutatingWebhookConfiguration added in v0.9.1

func ReadMutatingWebhookConfiguration(objBytes []byte) (*v1beta1.MutatingWebhookConfiguration, error)

func ReadPersistentVolumeClaimV1

func ReadPersistentVolumeClaimV1(objBytes []byte) *corev1.PersistentVolumeClaim

func ReadPodSecurityPolicyV1beta1 added in v0.2.35

func ReadPodSecurityPolicyV1beta1(objBytes []byte) *v1beta1.PodSecurityPolicy

func ReadPolicyV1beta1PodSecurityPolicy

func ReadPolicyV1beta1PodSecurityPolicy(objBytes []byte) (v1beta1.PodSecurityPolicy, error)

func ReadRoleBindingV1

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

func ReadRoleV1 added in v0.9.1

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

func ReadRouteV1 added in v0.2.19

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

func ReadScalerV1 added in v0.2.12

func ReadScalerV1(objBytes []byte) *autoscaling_v1alpha1.AlamedaScaler

func ReadSecretV1

func ReadSecretV1(objBytes []byte) (*corev1.Secret, error)

func ReadSecurityContextConstraintsV1 added in v0.9.1

func ReadSecurityContextConstraintsV1(objBytes []byte) *securityv1.SecurityContextConstraints

func ReadServiceAccountV1

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

func ReadServiceV1

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

func ReadStatefulSetV1 added in v0.2.30

func ReadStatefulSetV1(objBytes []byte) *appsv1.StatefulSet

func ReadValidatingWebhookConfiguration added in v0.9.1

func ReadValidatingWebhookConfiguration(objBytes []byte) (*v1beta1.ValidatingWebhookConfiguration, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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