# Functions
// AddContourValues adds values to the helm chart to enable host networking for the Envoy pod, and sets the default LoadBalancer service ports to 8080 and 8443 so that they don't conflict with Envoy while using Host Networking.
AddRadiusValues parses the --set arguments in order and adds them to the helm chart values, returning an error if any of the arguments are invalid.
// ApplyContourHelmChart checks if a Contour Helm chart has been installed, and if not, installs it with the given options.
ApplyRadiusHelmChart checks if a Helm chart is already installed, and if not, installs it or upgrades it if the "Reinstall" option is set.
CheckRadiusInstall checks if the Radius release is installed in the given kubeContext and returns an InstallState object with the version of the release if installed, or an error if an error occurs while checking.
HelmConfig initializes a helm configuration object and sets the backend storage driver to use kubernetes secrets, returning the configuration object and an error if one occurs.
Install takes in a context, clusterOptions and kubeContext and returns a boolean and an error.
InstallOnCluster applies the Helm charts for Radius and Contour to the cluster, and returns whether an existing installation was found.
NewDefaultClusterOptions sets the default values for the ClusterOptions struct, using the chart version that matches the channel of the CLI (major.minor) or the latest available version if it is an edge build.
NewMockInterface creates a new mock instance.
PopulateDefaultClusterOptions compares the CLI options provided by the user to the default options and returns a ClusterOptions object with the CLI options overriding the default options if they are provided.
RunContourHelmInstall creates a new helm install client with the given configuration and chart, sets the release name and namespace, and then runs the install.
This function "RunContourHelmUninstall" uses the Helm configuration to uninstall Contour from the specified namespace, and returns an error if the uninstall fails.
RunRadiusHelmUninstall attempts to uninstall Radius from the Radius system namespace using a helm configuration, and returns an error if the uninstall fails.
UninstallOnCluster retrieves the Helm configuration and runs the Contour and Radius Helm uninstall commands to remove the Helm releases from the cluster.
# Constants
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
InstallState represents the state of the Radius helm chart installation on a Kubernetes cluster.
MockInterface is a mock of Interface interface.
MockInterfaceCheckRadiusInstallCall wrap *gomock.Call.
MockInterfaceInstallRadiusCall wrap *gomock.Call.
MockInterfaceMockRecorder is the mock recorder for MockInterface.
MockInterfaceUninstallRadiusCall wrap *gomock.Call.
RadiusOptions describes the options for the Radius helm chart.
# Interfaces
Interface provides an abstraction over Helm operations for installing Radius.