View Source Helmex (Helmex v0.0.1)
Execute helm CLI commands.
examples
Examples
iex> Helmex.init(kubeconfig: "/path/to/kube/config")
...> |> Helmex.Repo.add("kvaps", "https://kvaps.github.io/charts")
...> |> Helmex.call()
global-options
Global options
Option | Type |
---|---|
:burst-limit | value |
:debug | flag |
:kubeconfig | value |
:namespace | value |
Link to this section Summary
Functions
Executes the helm command
Initialize helm command with an optional global flags
Filter and parse raw options into the %Helmex.Option structs
Link to this section Types
Link to this section Functions
@spec call(helm :: Helmex.Helm.t()) :: result()
Executes the helm command
@spec init(opts :: keyword()) :: Helmex.Helm.t()
Initialize helm command with an optional global flags
examples
Examples
iex> Helmex.init()
%Helmex.Helm{command: nil, global_options: [], options: [], args: []}
iex> Helmex.init(kubeconfig: "/path/to/the/kube/config")
%Helmex.Helm{
command: nil,
global_options: [
%Helmex.Option{
name: "--kubeconfig",
require_arg: true,
value: "/path/to/the/kube/config"
}
],
options: [],
args: []
}
Filter and parse raw options into the %Helmex.Option structs