kubeapi

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalK8SResources

func UnmarshalK8SResources(data []byte) ([]any, error)

UnmarshalK8SResources unmarshals a Kubernetes resource into a list of objects that can be type casted to a Kubernetes resource.

func UnmarshalUnstructuredK8SResource

func UnmarshalUnstructuredK8SResource(data []byte) ([]*unstructured.Unstructured, error)

UnmarshalUnstructuredK8SResource parses the input YAML into unstructured Kubernetes resources.

Types

type CronJob

type CronJob = batchv1.CronJob

CronJob is a Kubernetes CronJob.

type DaemonSet

type DaemonSet = appsv1.DaemonSet

DaemonSet is a Kubernetes DaemonSet.

type Deployment

type Deployment = appsv1.Deployment

Deployment is a Kubernetes Deployment.

type Job

type Job = batchv1.Job

Job is a Kubernetes Job.

type Pod

type Pod = corev1.Pod

Pod is a Kubernetes Pod.

type ReplicaSet

type ReplicaSet = appsv1.ReplicaSet

ReplicaSet is a Kubernetes ReplicaSet.

type StatefulSet

type StatefulSet = appsv1.StatefulSet

StatefulSet is a Kubernetes StatefulSet.

Jump to

Keyboard shortcuts

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