Documentation ¶
Index ¶
- func IsSupportedResourceType(obj Resource) bool
- type CapabilitiesV1
- type CapabilityV1
- type ContainerV1
- type CronJobListV1Beta1
- type CronJobSpecV1Beta1
- type CronJobV1Beta1
- type DaemonSetListV1
- type DaemonSetSpecV1
- type DaemonSetV1
- type DaemonSetV1Beta1
- type DaemonSetV1Beta2
- type DeploymentExtensionsV1Beta1
- type DeploymentListV1
- type DeploymentSpecV1
- type DeploymentV1
- type DeploymentV1Beta1
- type DeploymentV1Beta2
- type JobSpecV1
- type JobTemplateSpecV1Beta1
- type ListOptionsV1
- type NamespaceListV1
- type NamespaceSpecV1
- type NamespaceV1
- type NetworkPolicyListV1
- type NetworkPolicySpecV1
- type NetworkPolicyV1
- type ObjectMetaV1
- type PodListV1
- type PodSpecV1
- type PodTemplateListV1
- type PodTemplateSpecV1
- type PodTemplateV1
- type PodV1
- type PolicyTypeV1
- type ReplicationControllerListV1
- type ReplicationControllerSpecV1
- type ReplicationControllerV1
- type Resource
- type SecurityContextV1
- type StatefulSetListV1
- type StatefulSetSpecV1
- type StatefulSetV1
- type StatefulSetV1Beta1
- type UnsupportedType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedResourceType ¶
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 ¶
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.
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 ¶
DaemonSetV1 is a type alias for the v1 version of the k8s API.
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 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 ¶
NamespaceV1 is a type alias for the v1 version of the k8s API.
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 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 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 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 ¶
UnsupportedType is a type alias for v1 version of the k8s apps API, this is meant for testing