resourceread

package
v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

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 ReadControllerConfigV1OrDie

func ReadControllerConfigV1OrDie(objBytes []byte) *mcfgv1.ControllerConfig

ReadControllerConfigV1OrDie reads ControllerConfig 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 ReadMachineConfigPoolV1OrDie

func ReadMachineConfigPoolV1OrDie(objBytes []byte) *mcfgv1.MachineConfigPool

ReadMachineConfigPoolV1OrDie reads MachineConfigPool object from bytes. Panics on error.

func ReadMachineConfigV1

func ReadMachineConfigV1(objBytes []byte) (*mcfgv1.MachineConfig, error)

ReadMachineConfigV1 reads raw MachineConfig object from bytes. Returns MachineConfig and error.

func ReadMachineConfigV1OrDie

func ReadMachineConfigV1OrDie(objBytes []byte) *mcfgv1.MachineConfig

ReadMachineConfigV1OrDie reads raw MachineConfig object from bytes. Panics on error.

func ReadRoleBindingV1OrDie

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

ReadRoleBindingV1OrDie reads rolebinding object from bytes. Panics on error.

func ReadSecretV1OrDie

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

ReadSecretV1OrDie reads secret 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