helpers

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterRole

func GetClusterRole(content []byte) *rbac.ClusterRole

func GetClusterRoleBinding

func GetClusterRoleBinding(content []byte) *rbac.ClusterRoleBinding

func GetDaemonSet

func GetDaemonSet(content []byte) *apps.DaemonSet

GetDaemonSet unmarshals yaml content into a DaemonSet object.

func GetDeviceClass

func GetDeviceClass(content []byte) *resource.DeviceClass

func GetRoleBinding

func GetRoleBinding(content []byte) *rbac.RoleBinding

GetRoleBinding unmarshals yaml content into a RoleBinding object.

func GetServiceAccount

func GetServiceAccount(content []byte) *core.ServiceAccount

GetServiceAccount unmarshals yaml content into a ServiceAccount object.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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