Documentation ¶
Index ¶
- func CreateAppLabels(app types.App) p.StringMap
- func CreateDeployment(ctx *p.Context, app types.App, provider *k8s.Provider, replicas int) (*apps.Deployment, error)
- func CreateDeploymentArgs(app types.App, appLabels p.StringMap, replicas int) *apps.DeploymentArgs
- func CreateProvider(ctx *p.Context, kubeConfig, kubeContext string) (*k8s.Provider, error)
- func CreateResourceOptions(provider *k8s.Provider) []p.ResourceOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppLabels ¶
CreateAppLabels creates a set of labels for an application.
func CreateDeployment ¶
func CreateDeployment(ctx *p.Context, app types.App, provider *k8s.Provider, replicas int) (*apps.Deployment, error)
CreateDeployment sets up a Kubernetes deployment based on provided application and replica configs.
func CreateDeploymentArgs ¶
CreateDeploymentArgs prepares the arguments needed for a Kubernetes Deployment resource.
func CreateProvider ¶
CreateProvider sets up a Kubernetes provider using provided configurations.
func CreateResourceOptions ¶
func CreateResourceOptions(provider *k8s.Provider) []p.ResourceOption
CreateResourceOptions sets up resource options for Kubernetes resources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.