Documentation ¶
Index ¶
- type AllTypes
- type BothMeta
- type Check
- type CronJob
- type CronJobs
- type Deployment
- type Deployments
- type FileLocation
- type FileLocationer
- type HorizontalPodAutoscalers
- type HpaTargeter
- type Ingress
- type Ingresses
- type Metas
- type NamedReader
- type NetworkPolicies
- type NetworkPolicy
- type Pod
- type PodDisruptionBudget
- type PodDisruptionBudgets
- type PodSpeccers
- type PodSpecer
- type Pods
- type Service
- type Services
- type StatefulSet
- type StatefulSets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllTypes ¶
type AllTypes interface { Metas Pods PodSpeccers Services StatefulSets Deployments NetworkPolicies Ingresses CronJobs PodDisruptionBudgets HorizontalPodAutoscalers }
type BothMeta ¶
type BothMeta struct { TypeMeta metav1.TypeMeta ObjectMeta metav1.ObjectMeta FileLocationer }
type CronJob ¶ added in v1.9.0
type CronJob interface { GetTypeMeta() metav1.TypeMeta GetObjectMeta() metav1.ObjectMeta StartingDeadlineSeconds() *int64 GetPodTemplateSpec() corev1.PodTemplateSpec FileLocationer }
type Deployment ¶ added in v1.9.0
type Deployment interface { Deployment() appsv1.Deployment FileLocationer }
type Deployments ¶
type Deployments interface {
Deployments() []Deployment
}
type FileLocation ¶ added in v1.9.0
type FileLocationer ¶ added in v1.9.0
type FileLocationer interface {
FileLocation() FileLocation
}
type HorizontalPodAutoscalers ¶ added in v1.2.0
type HorizontalPodAutoscalers interface {
HorizontalPodAutoscalers() []HpaTargeter
}
type HpaTargeter ¶ added in v1.8.0
type HpaTargeter interface { GetTypeMeta() metav1.TypeMeta GetObjectMeta() metav1.ObjectMeta MinReplicas() *int32 HpaTarget() autoscalingv1.CrossVersionObjectReference FileLocationer }
type Ingress ¶ added in v1.9.0
type Ingress interface { GetTypeMeta() metav1.TypeMeta GetObjectMeta() metav1.ObjectMeta Rules() []networkingv1.IngressRule FileLocationer }
type NamedReader ¶ added in v1.9.0
type NetworkPolicies ¶
type NetworkPolicies interface {
NetworkPolicies() []NetworkPolicy
}
type NetworkPolicy ¶ added in v1.9.0
type NetworkPolicy interface { NetworkPolicy() networkingv1.NetworkPolicy FileLocationer }
type Pod ¶ added in v1.9.0
type Pod interface { Pod() corev1.Pod FileLocationer }
type PodDisruptionBudget ¶ added in v1.9.0
type PodDisruptionBudget interface { GetTypeMeta() metav1.TypeMeta GetObjectMeta() metav1.ObjectMeta Namespace() string Spec() policyv1.PodDisruptionBudgetSpec PodDisruptionBudgetSelector() *metav1.LabelSelector FileLocationer }
type PodDisruptionBudgets ¶
type PodDisruptionBudgets interface {
PodDisruptionBudgets() []PodDisruptionBudget
}
type PodSpeccers ¶
type PodSpeccers interface {
PodSpeccers() []PodSpecer
}
type PodSpecer ¶
type PodSpecer interface { FileLocationer GetTypeMeta() metav1.TypeMeta GetObjectMeta() metav1.ObjectMeta GetPodTemplateSpec() corev1.PodTemplateSpec }
type Service ¶ added in v1.9.0
type Service interface { Service() corev1.Service FileLocationer }
type StatefulSet ¶ added in v1.9.0
type StatefulSet interface { StatefulSet() appsv1.StatefulSet FileLocationer }
type StatefulSets ¶
type StatefulSets interface {
StatefulSets() []StatefulSet
}
Click to show internal directories.
Click to hide internal directories.