Documentation
¶
Index ¶
- func CreateDeploy(c *gin.Context)
- func CreateNonUpdateDeploy(r *DeployNonUpdateRequest, ns string, cl client.Client, logger *logrus.Entry) (*tritonappsv1alpha1.DeployFlow, error)
- func CreateRestart(c *gin.Context)
- func CreateRollback(c *gin.Context)
- func CreateScale(c *gin.Context)
- func CreateUpdateDeploy(ns string, r *DeployUpdateRequest, cl client.Client, logger *logrus.Entry) (*tritonappsv1alpha1.DeployFlow, error)
- func DeleteDeploy(c *gin.Context)
- func GetDeploy(c *gin.Context)
- func GetDeploys(c *gin.Context)
- func PatchDeploy(c *gin.Context)
- func PatchDeployStatus(ns, name string, reader client.Reader, cl client.Client, strategyBytes []byte) (*tritonappsv1alpha1.DeployFlow, error)
- func PatchDeployStrategy(ns, name, action string, reader client.Reader, cl client.Client, ...) (*tritonappsv1alpha1.DeployFlow, error)
- func RemoveDeploy(ns, name string, cl client.Client, logger *logrus.Entry) error
- func RollbackDeploy(ns, instanceName, deployName string, cl client.Client, ...) (*tritonappsv1alpha1.DeployFlow, string, error)
- func SetDeploy(deploy *tritonappsv1alpha1.DeployFlow) *reply
- type DeployNonUpdateRequest
- type DeployUpdateRequest
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeploy ¶
func CreateNonUpdateDeploy ¶
func CreateNonUpdateDeploy(r *DeployNonUpdateRequest, ns string, cl client.Client, logger *logrus.Entry) (*tritonappsv1alpha1.DeployFlow, error)
func CreateRestart ¶
func CreateRollback ¶
func CreateScale ¶
func CreateUpdateDeploy ¶
func CreateUpdateDeploy(ns string, r *DeployUpdateRequest, cl client.Client, logger *logrus.Entry) (*tritonappsv1alpha1.DeployFlow, error)
func DeleteDeploy ¶
func GetDeploys ¶
func PatchDeploy ¶
func PatchDeployStatus ¶
func PatchDeployStatus(ns, name string, reader client.Reader, cl client.Client, strategyBytes []byte) (*tritonappsv1alpha1.DeployFlow, error)
func PatchDeployStrategy ¶
func PatchDeployStrategy(ns, name, action string, reader client.Reader, cl client.Client, strategyBytes []byte) (*tritonappsv1alpha1.DeployFlow, error)
func RemoveDeploy ¶
func RollbackDeploy ¶
func RollbackDeploy(ns, instanceName, deployName string, cl client.Client, strategy *tritonappsv1alpha1.DeployUpdateStrategy, logger *logrus.Entry) (*tritonappsv1alpha1.DeployFlow, string, error)
func SetDeploy ¶
func SetDeploy(deploy *tritonappsv1alpha1.DeployFlow) *reply
Types ¶
type DeployNonUpdateRequest ¶
type DeployNonUpdateRequest struct { Action string ApplicationSpec *tritonappsv1alpha1.ApplicationSpec `json:"applicationSpec"` NonUpdateStrategy *tritonappsv1alpha1.DeployNonUpdateStrategy }
type DeployUpdateRequest ¶
type DeployUpdateRequest struct { ApplicationSpec *tritonappsv1alpha1.ApplicationSpec `json:"applicationSpec"` UpdateStrategy *tritonappsv1alpha1.DeployUpdateStrategy `json:"updateStrategy,omitempty"` }
type Router ¶
type Router struct{}
func (*Router) SetupRouters ¶
func (*Router) SetupRouters(router *gin.RouterGroup) *gin.RouterGroup
Click to show internal directories.
Click to hide internal directories.