Documentation
¶
Index ¶
- func CallExternalConverter(resourceName string, options map[string]string) (unstructured.Unstructured, error)
- func ComposeSharedVolumeToK8s(ref string, volume *ir.Volume) core.PersistentVolumeClaim
- func PatchDeployments(deployments []apps.Deployment, modifiedImages []string, ...)
- func PatchStatefulSets(statefulSets []apps.StatefulSet, modifiedImages []string, ...)
- type Objects
- type WithLabels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallExternalConverter ¶ added in v0.3.1
func CallExternalConverter(resourceName string, options map[string]string) (unstructured.Unstructured, error)
func ComposeSharedVolumeToK8s ¶ added in v0.3.1
func ComposeSharedVolumeToK8s(ref string, volume *ir.Volume) core.PersistentVolumeClaim
func PatchDeployments ¶
func PatchDeployments(deployments []apps.Deployment, modifiedImages []string, forceRestartAnnotation map[string]string)
func PatchStatefulSets ¶
func PatchStatefulSets(statefulSets []apps.StatefulSet, modifiedImages []string, forceRestartAnnotation map[string]string)
Types ¶
type Objects ¶
type Objects struct { // Deployments Deployments []apps.Deployment StatefulSets []apps.StatefulSet Services []core.Service PersistentVolumeClaims []core.PersistentVolumeClaim Secrets []core.Secret Ingresses []networking.Ingress Others []unstructured.Unstructured }
Objects combines all possible resources the conversion process could produce
func ComposeServiceToK8s ¶
type WithLabels ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.