k8stypes

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSupportedResourceType

func IsSupportedResourceType(obj Resource) bool

IsSupportedResourceType returns true if obj is a supported Kubernetes resource type

Types

type CapabilitiesV1

type CapabilitiesV1 = apiv1.Capabilities

CapabilitiesV1 is a type alias for the v1 version of the k8s API.

type CapabilityV1

type CapabilityV1 = apiv1.Capability

CapabilityV1 is a type alias for the v1 version of the k8s API.

type ContainerV1

type ContainerV1 = apiv1.Container

ContainerV1 is a type alias for the v1 version of the k8s API.

type CronJobListV1Beta1

type CronJobListV1Beta1 = batchv1beta1.CronJobList

CronJobListV1Beta1 is a type alias for the v1beta1 version of the k8s batch API.

type CronJobSpecV1Beta1

type CronJobSpecV1Beta1 = batchv1beta1.CronJobSpec

CronJobSpecV1Beta1 is a type alias for the v1beta1 version of the k8s batch API.

type CronJobV1Beta1

type CronJobV1Beta1 = batchv1beta1.CronJob

CronJobV1Beta1 is a type alias for the v1beta1 version of the k8s batch API.

func NewCronJob

func NewCronJob() *CronJobV1Beta1

NewCronJob creates a new CronJob resource

type DaemonSetListV1

type DaemonSetListV1 = appsv1.DaemonSetList

DaemonSetListV1 is a type alias for the v1 version of the k8s apps API.

type DaemonSetSpecV1

type DaemonSetSpecV1 = appsv1.DaemonSetSpec

DaemonSetSpecV1 is a type alias for the v1 version of the k8s apps API.

type DaemonSetV1

type DaemonSetV1 = appsv1.DaemonSet

DaemonSetV1 is a type alias for the v1 version of the k8s API.

func NewDaemonSet

func NewDaemonSet() *DaemonSetV1

NewDaemonSet creates a new DaemonSet resource

type DaemonSetV1Beta1

type DaemonSetV1Beta1 = extensionsv1beta1.DaemonSet

DaemonSetV1Beta1 is a type alias for the v1beta1 version of the k8s extensions API.

type DaemonSetV1Beta2

type DaemonSetV1Beta2 = appsv1beta2.DaemonSet

DaemonSetV1Beta2 is a type alias for the v1beta2 version of the k8s extensions API.

type DeploymentExtensionsV1Beta1

type DeploymentExtensionsV1Beta1 = extensionsv1beta1.Deployment

DeploymentExtensionsV1Beta1 is a type alias for the v1beta1 version of the k8s extensions API.

type DeploymentListV1

type DeploymentListV1 = appsv1.DeploymentList

DeploymentListV1 is a type alias for the v1 version of the k8s apps API.

type DeploymentSpecV1

type DeploymentSpecV1 = appsv1.DeploymentSpec

DeploymentSpecV1 is a type alias for the v1 version of the k8s apps API.

type DeploymentV1

type DeploymentV1 = appsv1.Deployment

DeploymentV1 is a type alias for the v1 version of the k8s apps API.

func NewDeployment

func NewDeployment() *DeploymentV1

NewDeployment creates a new Deployment resource

type DeploymentV1Beta1

type DeploymentV1Beta1 = appsv1beta1.Deployment

DeploymentV1Beta1 is a type alias for the v1beta1 version of the k8s apps API.

type DeploymentV1Beta2

type DeploymentV1Beta2 = appsv1beta2.Deployment

DeploymentV1Beta2 is a type alias for the v1beta2 version of the k8s apps API.

type JobSpecV1

type JobSpecV1 = batchv1.JobSpec

JobSpecV1 is a type alias for the v1 version of the k8s batch API.

type JobTemplateSpecV1Beta1

type JobTemplateSpecV1Beta1 = batchv1beta1.JobTemplateSpec

JobTemplateSpecV1Beta1 is a type alias for the v1beta1 version of the k8s batch API.

type ListOptionsV1

type ListOptionsV1 = metav1.ListOptions

ListOptionsV1 is a type alias for the v1 version of the k8s meta API.

type NamespaceListV1

type NamespaceListV1 = apiv1.NamespaceList

NamespaceListV1 is a type alias for the v1 version of the k8s API.

type NamespaceSpecV1

type NamespaceSpecV1 = apiv1.NamespaceSpec

NamespaceSpecV1 is a type alias for the v1 version of the k8s API.

type NamespaceV1

type NamespaceV1 = apiv1.Namespace

NamespaceV1 is a type alias for the v1 version of the k8s API.

func NewNamespace

func NewNamespace() *NamespaceV1

NewNamespace creates a new Namespace resource

type NetworkPolicyListV1

type NetworkPolicyListV1 = networkingv1.NetworkPolicyList

NetworkPolicyListV1 is a type alias for the v1 version of the k8s networking API.

type NetworkPolicySpecV1

type NetworkPolicySpecV1 = networkingv1.NetworkPolicySpec

NetworkPolicySpecV1 is a type alias for the v1 version of the k8s networking API.

type NetworkPolicyV1

type NetworkPolicyV1 = networkingv1.NetworkPolicy

NetworkPolicyV1 is a type alias for the v1 version of the k8s networking API.

func NewNetworkPolicy

func NewNetworkPolicy() *NetworkPolicyV1

NewNetworkPolicy creates a new NetworkPolicy resource

type ObjectMetaV1

type ObjectMetaV1 = metav1.ObjectMeta

ObjectMetaV1 is a type alias for the v1 version of the k8s meta API.

type PodListV1

type PodListV1 = apiv1.PodList

PodListV1 is a type alias for the v1 version of the k8s API.

type PodSpecV1

type PodSpecV1 = apiv1.PodSpec

PodSpecV1 is a type alias for the v1 version of the k8s API.

type PodTemplateListV1

type PodTemplateListV1 = apiv1.PodTemplateList

PodTemplateListV1 is a type alias for the v1 version of the k8s API.

type PodTemplateSpecV1

type PodTemplateSpecV1 = apiv1.PodTemplateSpec

PodTemplateSpecV1 is a type alias for the v1 version of the k8s API.

type PodTemplateV1

type PodTemplateV1 = apiv1.PodTemplate

PodTemplateV1 is a type alias for the v1 version of the k8s API.

func NewPodTemplate

func NewPodTemplate() *PodTemplateV1

NewPodTemplate creates a new PodTemplate resource

type PodV1

type PodV1 = apiv1.Pod

PodV1 is a type alias for the v1 version of the k8s API.

func NewPod

func NewPod() *PodV1

NewPod creates a new Pod resource

type PolicyTypeV1

type PolicyTypeV1 = networkingv1.PolicyType

PolicyTypeV1 is a type alias for the v1 version of the k8s networking API.

type ReplicationControllerListV1

type ReplicationControllerListV1 = apiv1.ReplicationControllerList

ReplicationControllerListV1 is a type alias for the v1 version of the k8s API.

type ReplicationControllerSpecV1

type ReplicationControllerSpecV1 = apiv1.ReplicationControllerSpec

ReplicationControllerSpecV1 is a type alias for the v1 version of the k8s API.

type ReplicationControllerV1

type ReplicationControllerV1 = apiv1.ReplicationController

ReplicationControllerV1 is a type alias for the v1 version of the k8s API.

func NewReplicationController

func NewReplicationController() *ReplicationControllerV1

NewReplicationController creates a new ReplicationController resource

type Resource

type Resource k8sRuntime.Object

Resource is a type alias for a runtime.Object

type SecurityContextV1

type SecurityContextV1 = apiv1.SecurityContext

SecurityContextV1 is a type alias for the v1 version of the k8s API.

type StatefulSetListV1

type StatefulSetListV1 = appsv1.StatefulSetList

StatefulSetListV1 is a type alias for the v1 version of the k8s apps API.

type StatefulSetSpecV1

type StatefulSetSpecV1 = appsv1.StatefulSetSpec

StatefulSetSpecV1 is a type alias for the v1 version of the k8s apps API.

type StatefulSetV1

type StatefulSetV1 = appsv1.StatefulSet

StatefulSetV1 is a type alias for the v1 version of the k8s apps API.

func NewStatefulSet

func NewStatefulSet() *StatefulSetV1

NewStatefulSet creates a new StatefulSet resource

type StatefulSetV1Beta1

type StatefulSetV1Beta1 = appsv1beta1.StatefulSet

StatefulSetV1Beta1 is a type alias for the v1beta1 version of the k8s API.

type UnsupportedType

type UnsupportedType = apiv1.Binding

UnsupportedType is a type alias for v1 version of the k8s apps API, this is meant for testing

Jump to

Keyboard shortcuts

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