package
2.3.1
Repository: https://github.com/koderover/zadig.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
CalculateContainer calculates containers to be applied into environments for helm and k8s projects if image has no change since last deploy, containers in latest service will be used if image hse been change since lase deploy (eg.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateOrPatchResource create or patch resources defined in UpdateResourceYaml `CurrentResourceYaml` will be used to determine if some resources will be deleted.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
1.
DeleteHelmServiceFromEnv deletes the service from the environment 1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Used when create a gray environment.
No description provided by the author
No description provided by the author
Used when add service to env.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FetchCurrentAppliedYaml generates full yaml of some service currently applied in Zadig and returns the service yaml, currently used service revision.
No description provided by the author
No description provided by the author
No description provided by the author
GeneMergedValues generate values.yaml used to install or upgrade helm chart, like param in after option -f If fullValues is set to true, full values yaml content will be returned, this case is used to preview values when running workflows.
GenerateRenderedYaml generates full yaml of some service defined in Zadig (images not included) and returns the service yaml, used service revision.
No description provided by the author
No description provided by the author
No description provided by the author
GetClientset returns a client to interact with APIServer which implements kubernetes.Interface.
GetDirtyResources searches for dirty active resources in the given namespace, and return their metadata.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
in kubernetes 1.21+, CronJobV1BetaGVK is deprecated, so we should use CronJobGVK instead.
InitializeExternalCluster initialized the resources in the cluster for zadig to run correctly.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseSysKeys 渲染系统变量键值.
No description provided by the author
RemoveClusterResources Removes all the resources in the koderover-agent namespace along with the namespace itself.
RemoveHelmResource create or patch helm services if service is not deployed ever, it will be added into target environment database will also be updated.
RenderEnvService renders service with particular revision and service vars in environment.
No description provided by the author
No description provided by the author
ReplaceWorkloadImages replace images in yaml with new images.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UninstallService uninstall release deployed by zadig.
UninstallService uninstall release deployed by zadig.
No description provided by the author
No description provided by the author
@todo merge with proceedHelmRelease UpgradeHelmRelease upgrades helm release with some specific images.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author