Documentation
¶
Overview ¶
Package pod contains non-versioned pod configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffinityAssistantTemplate ¶
type AffinityAssistantTemplate struct { NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` }
func (*AffinityAssistantTemplate) DeepCopy ¶
func (in *AffinityAssistantTemplate) DeepCopy() *AffinityAssistantTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AffinityAssistantTemplate.
func (*AffinityAssistantTemplate) DeepCopyInto ¶
func (in *AffinityAssistantTemplate) DeepCopyInto(out *AffinityAssistantTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AffinityAssistantTemplate) Equals ¶
func (tpl *AffinityAssistantTemplate) Equals(other *AffinityAssistantTemplate) bool
Equals checks if this Template is identical to the given Template.
type Template ¶
type Template struct { NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` Volumes []corev1.Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"` RuntimeClassName *string `json:"runtimeClassName,omitempty" protobuf:"bytes,2,opt,name=runtimeClassName"` AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty" protobuf:"varint,3,opt,name=automountServiceAccountToken"` DNSPolicy *corev1.DNSPolicy `json:"dnsPolicy,omitempty" protobuf:"bytes,4,opt,name=dnsPolicy,casttype=k8s.io/api/core/v1.DNSPolicy"` DNSConfig *corev1.PodDNSConfig `json:"dnsConfig,omitempty" protobuf:"bytes,5,opt,name=dnsConfig"` EnableServiceLinks *bool `json:"enableServiceLinks,omitempty" protobuf:"varint,6,opt,name=enableServiceLinks"` PriorityClassName *string `json:"priorityClassName,omitempty" protobuf:"bytes,7,opt,name=priorityClassName"` SchedulerName string `json:"schedulerName,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` HostAliases []corev1.HostAlias `json:"hostAliases,omitempty"` HostNetwork bool `json:"hostNetwork,omitempty"` }
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) ToAffinityAssistantTemplate ¶
func (tpl *Template) ToAffinityAssistantTemplate() *AffinityAssistantTemplate
ToAffinityAssistantTemplate converts to a affinity assistant pod Template
Click to show internal directories.
Click to hide internal directories.