package
0.3.9
Repository: https://github.com/oam-dev/kubevela.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CapabilityCommandGroup commands for capability center.
CheckCapabilityReady waits unitl capability is installed successfully.
CheckVelaRuntimeInstalledAndReady checks whether vela-core runtime is installed and ready.
CreateOrUpdateEnv creates or updates an environment.
DeleteEnv deletes an environment.
GetCapabilityByName get eponymous types.Capability from workloads by name.
GetCompMeta gets meta of a component.
GetEnv gets environment by name or current environment if no env exists, then init default environment.
GetOAMReleaseVersion gets version of vela-core runtime helm release.
InstallOamRuntime installs vela-core runtime from helm chart.
ListConfigs will list all configs.
ListEnvs shows info of all environments.
NewAdminInfoCommand creates `system info` command.
NewAppStatusCommand creates `status` command for showing status.
NewCapabilityShowCommand shows the reference doc for a workload type or trait.
NewCapCenterConfigCommand Configure (add if not exist) a capability center, default is local (built-in capabilities).
NewCapCenterListCommand List all capability centers.
NewCapCenterRemoveCommand Remove specified capability center.
NewCapCenterSyncCommand Sync capabilities from remote center, default to sync all centers.
NewCapInstallCommand Install capability into cluster.
NewCapListCommand List capabilities from cap-center.
NewCapUninstallCommand Uninstall capability from cluster.
NewCenterCommand Manage Capability Center.
NewCommand will contain all commands.
NewCompletionCommand Output shell completion code for the specified shell (bash or zsh).
NewConfigCommand will create command for config management for AppFile.
NewConfigDeleteCommand delete a config from local.
NewConfigGetCommand get config from local.
NewConfigListCommand list all created configs.
NewConfigSetCommand set a config data in local.
NewDashboardCommand creates `dashboard` command and its nested children commands.
NewDeleteCommand Delete App.
NewDryRunCommand creates `dry-run` command.
NewEnvCommand creates `env` command and its nested children.
NewEnvDeleteCommand creates `env delete` command for deleting environments.
NewEnvInitCommand creates `env init` command for initializing environments.
NewEnvListCommand creates `env list` command for listing all environments.
NewEnvSetCommand creates `env set` command for setting current environment.
NewExecCommand creates `exec` command.
NewExportCommand will create command for exporting deploy manifests from an AppFile.
NewInitCommand creates `init` command.
NewInstallCommand creates `install` command.
NewListCommand creates `ls` command and its nested children command.
NewLogsCommand creates `logs` command to tail logs of application.
NewPortForwardCommand is vela port-forward command.
NewTemplateCommand creates `template` command and its nested children command.
NewTemplateContextCommand creates `context` command.
NewTraitsCommand creates `traits` command.
NewUpCommand will create command for applying an AppFile.
NewVersionCommand print client version.
NewWorkloadsCommand creates `workloads` command.
OpenBrowser will open browser by url in different OS system nolint:gosec.
PrintHelpByTag print custom defined help message.
PrintTrackVelaRuntimeStatus prints status of installing vela-core runtime.
RefreshDefinitions will sync local capabilities with cluster installed ones.
SetEnv sets current environment.
SetupAPIServer starts a RESTfulAPI server.
SystemCommandGroup creates `system` command and its nested children command.
TrackDeployStatus will only check AppConfig is deployed successfully,.

# Constants

constants used in `svc` command.
CSS file name for custom CSS.
Error msg used in `status` command.
Error msg used in `status` command.
Enums of VelaRuntimeStatus.
Error msg used in `status` command.
HealthStatusHealthy represents healthy status.
HealthStatusNotDiagnosed means there's no health scope referred or unknown health status returned.
HealthStatusUnhealthy represents unhealthy status.
HealthStatusUnknown represents unknown status.
IndexHTML file name for docsify.
NavBar file name for docsify.
Enums of VelaRuntimeStatus.
Enums of VelaRuntimeStatus.
Port is the port for reference docs website.
README file name for docsify.
Enums of VelaRuntimeStatus.
constants used in `svc` command.
SideBar file name for docsify.

# Structs

Args creates arguments for `logs` command.
Options creates options for `dashboard` command.
VelaExecOptions creates options for `exec` command.
VelaPortForwardOptions for vela port-forward.

# Type aliases

CompStatus represents the status of a component during "vela init".
HealthStatus represents health status strings.
ScopeHealthCondition holds health condition of a scope.
VelaRuntimeStatus enums vela-core runtime status.
WorkloadHealthCondition holds health status of any resource.