Documentation ¶
Overview ¶
Package processor contains processors converting k8s objects to Helm template
Index ¶
- func Default() helmify.Processor
- func ProcessObjMeta(appMeta helmify.AppMetadata, obj *unstructured.Unstructured) (string, error)
- func ProcessReplicas(name string, r *int32, values *helmify.Values) (string, error)
- func ProcessSelector(appMeta helmify.AppMetadata, s *metav1.LabelSelector) (string, error)
- type Pod
- type ReplicaTyped
- type ReplicaTypedSpec
- type SelectorTyped
- type SelectorTypedSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessObjMeta ¶
func ProcessObjMeta(appMeta helmify.AppMetadata, obj *unstructured.Unstructured) (string, error)
ProcessObjMeta - returns object apiVersion, kind and metadata as helm template.
func ProcessReplicas ¶
func ProcessSelector ¶
func ProcessSelector(appMeta helmify.AppMetadata, s *metav1.LabelSelector) (string, error)
Types ¶
type Pod ¶
type Pod struct { Name string AppMeta helmify.AppMetadata Pod *corev1.PodTemplateSpec }
type ReplicaTyped ¶
type ReplicaTyped struct {
Spec ReplicaTypedSpec
}
type ReplicaTypedSpec ¶
type ReplicaTypedSpec struct {
Replicas *int32
}
type SelectorTyped ¶
type SelectorTyped struct {
Spec SelectorTypedSpec
}
type SelectorTypedSpec ¶
type SelectorTypedSpec struct {
Selector *metav1.LabelSelector
}
Click to show internal directories.
Click to hide internal directories.