Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentCommand ¶
type DeploymentCommand struct {
Name string
Entrypoint []string
Copy string
ContainerPort int64
Port int64
Service bool
Ingress bool
IngressHost string
IngressClass string
Namespace string
Image string
Replicas int32
Timeout time.Duration
}
DeploymentCommand represents a command to deploy an application and its related resources in a Kubernetes cluster.
func NewDeploymentCommand ¶
func NewDeploymentCommand(params NewDeploymentCommandParams) *DeploymentCommand
NewDeploymentCommand creates a new deployment command.
func (*DeploymentCommand) Run ¶
func (c *DeploymentCommand) Run(ctx context.Context) error
Run runs the deployment command.
func (*DeploymentCommand) Validate ¶
func (c *DeploymentCommand) Validate() error
Validate validates the parameters of the deployment command.
type DestroyCommand ¶ added in v0.0.11
DestroyCommand represents a command to destroy an application and its related resources in a Kubernetes cluster.
func NewDestroyCommand ¶ added in v0.0.11
func NewDestroyCommand(params NewDestroyCommandParams) *DestroyCommand
NewDestroyCommand creates a new destroy command.
func (*DestroyCommand) Run ¶ added in v0.0.11
func (c *DestroyCommand) Run(ctx context.Context) error
Run runs the destroy command.
func (*DestroyCommand) Validate ¶ added in v0.0.11
func (c *DestroyCommand) Validate() error
Validate validates the parameters of the destroy command.
type NewDeploymentCommandParams ¶
type NewDeploymentCommandParams struct {
Name string
Entrypoint []string
Copy string
ContainerPort int64
Port int64
Service bool
Ingress bool
IngressHost string
IngressClass string
Namespace string
Image string
Replicas int32
Timeout time.Duration
}
NewDeploymentCommandParams represents the parameters to create a new deployment command.
Click to show internal directories.
Click to hide internal directories.