Documentation
¶
Index ¶
- func GenerateDeploymentTemplate(name string, namespace string, image string, pullSecret string) ([]byte, error)
- func GenerateIngressTemplate(ciYml *ci.CiYml, namespace string, host string, ingressClass string) ([]byte, error)
- func GenerateServiceTemplate(name string, namespace string, ports []ci.Port) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateIngressTemplate ¶
func GenerateIngressTemplate(ciYml *ci.CiYml, namespace string, host string, ingressClass string) ([]byte, error)
GenerateIngressTemplate creates a single Ingress resource from a CiYml struct. It generates a separate rule for each public service, routing traffic based on host and path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.