Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedeployAppVersion ¶
func RedeployAppVersion(appID string, sequence int64, clusterSocket *ClusterSocket) error
RedeployAppVersion will force trigger a redeploy of the app version, even if it's currently deployed if clusterSocket is nil, a redeploy to all the cluster sockets (downstreams - which theoratically should always be 1) will be triggered
Types ¶
type AppInformersArgs ¶
type ClusterSocket ¶
type DeployArgs ¶
type DeployArgs struct {
AppID string `json:"app_id"`
AppSlug string `json:"app_slug"`
KubectlVersion string `json:"kubectl_version"`
AdditionalNamespaces []string `json:"additional_namespaces"`
ImagePullSecret string `json:"image_pull_secret"`
Namespace string `json:"namespace"`
PreviousManifests string `json:"previous_manifests"`
Manifests string `json:"manifests"`
PreviousCharts []byte `json:"previous_charts"`
Charts []byte `json:"charts"`
Wait bool `json:"wait"`
ResultCallback string `json:"result_callback"`
ClearNamespaces []string `json:"clear_namespaces"`
ClearPVCs bool `json:"clear_pvcs"`
AnnotateSlug bool `json:"annotate_slug"`
IsRestore bool `json:"is_restore"`
RestoreLabelSelector *metav1.LabelSelector `json:"restore_label_selector"`
}
Click to show internal directories.
Click to hide internal directories.