resourceread

package
v3.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 7 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadClusterRoleBindingV1OrDie

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

ReadClusterRoleBindingV1OrDie reads clusterrolebinding object from bytes. Panics on error.

func ReadClusterRoleV1OrDie

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

ReadClusterRoleV1OrDie reads clusterole object from bytes. Panics on error.

func ReadConfigMapV1OrDie

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

ReadConfigMapV1OrDie reads configmap object from bytes. Panics on error.

func ReadCustomResourceDefinitionV1Beta1OrDie

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

ReadCustomResourceDefinitionV1Beta1OrDie reads crd object from bytes. Panics on error.

func ReadDaemonSetV1OrDie

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

ReadDaemonSetV1OrDie reads daemonset object from bytes. Panics on error.

func ReadDeploymentV1OrDie

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

ReadDeploymentV1OrDie reads deployment object from bytes. Panics on error.

func ReadJobV1OrDie

func ReadJobV1OrDie(objBytes []byte) *batchv1.Job

ReadJobV1OrDie reads Job object from bytes. Panics on error.

func ReadServiceAccountV1OrDie

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

ReadServiceAccountV1OrDie reads serviceaccount object from bytes. Panics on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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