Documentation ¶
Index ¶
- func CreateContainers(app Application) []v12.Container
- func CreateDeployment(app Application) (v1.Deployment, error)
- func CreateIngress(app Application) (v1.Ingress, error)
- func CreatePVCName(app Application, path string) string
- func CreatePersistentVolume(app Application, path string, size string) (v1.PersistentVolumeClaim, error)
- func CreatePod(app Application) (v1.Pod, error)
- func CreateService(app Application) (v1.Service, error)
- func CreateVolumes(app Application) []v12.Volume
- func Expand(w io.Writer, app Application, podOnly bool) error
- func FetchTemplate(kaex Kaex, writer io.Writer, name string) error
- func WriteCleanResource(w io.Writer, resource interface{}) error
- func WriteResource(w io.Writer, resource interface{}) error
- type Application
- type IngressConfig
- type Kaex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainers ¶
func CreateContainers(app Application) []v12.Container
func CreateDeployment ¶
func CreateDeployment(app Application) (v1.Deployment, error)
func CreateIngress ¶
func CreateIngress(app Application) (v1.Ingress, error)
func CreatePVCName ¶
func CreatePVCName(app Application, path string) string
func CreatePersistentVolume ¶
func CreatePersistentVolume(app Application, path string, size string) (v1.PersistentVolumeClaim, error)
func CreateService ¶
func CreateService(app Application) (v1.Service, error)
func CreateVolumes ¶
func CreateVolumes(app Application) []v12.Volume
func WriteCleanResource ¶ added in v0.1.4
func WriteResource ¶
Types ¶
type Application ¶
type Application struct { Name string Namespace string Image string Version string ImagePullSecret string Url string Port int32 Replicas int32 Environment map[string]string Volumes []map[string]string Ingress IngressConfig }
func ParseApplication ¶
func ParseApplication(reader io.Reader) (Application, error)
type IngressConfig ¶
Click to show internal directories.
Click to hide internal directories.