Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var JobLabelSelector = fmt.Sprintf("installer-job.%s", constants.RepoURI)
JobLabelSelector finds the unique installer job in the cluster.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer represents the "helm install" using its APIs, this component deploys the informed dependency on the pre-configured namespace.
func NewInstaller ¶
func NewInstaller( logger *slog.Logger, f *flags.Flags, kube *k8s.Kube, dep *resolver.Dependency, ) *Installer
NewInstaller instantiates a new installer for the given dependency.
func (*Installer) Install ¶
Install performs the installation of the Helm chart, including the pre and post hooks execution.
func (*Installer) PrintRawValues ¶
func (i *Installer) PrintRawValues()
PrintRawValues prints the raw values template to the console.
func (*Installer) PrintValues ¶
func (i *Installer) PrintValues()
PrintValues prints the parsed values to the console.
func (*Installer) RenderValues ¶
RenderValues parses the values template and prepares the Helm chart values.
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job represents the asynchronous actor that runs a Job in the cluster to run this installer container image on a pod. The idea is to allow a non-blocking installation process for the MCP server.
func (*Job) GetJobLogFollowCmd ¶
GetJobLogFollowCmd returns the command that follows the deployment job logs.