Documentation ¶
Index ¶
- Constants
- func GetRemoteChartUri(version string) string
- type Client
- func (c *Client) AddGlooRepository(ctx context.Context, extraArgs ...string) error
- func (c *Client) AddRepository(ctx context.Context, chartName string, chartUrl string, extraArgs ...string) error
- func (c *Client) Command(ctx context.Context, args ...string) cmdutils.Cmd
- func (c *Client) Install(ctx context.Context, extraArgs ...string) error
- func (c *Client) RunCommand(ctx context.Context, args ...string) error
- func (c *Client) WithNamespace(ns string) *Client
- func (c *Client) WithReceiver(receiver io.Writer) *Client
Constants ¶
View Source
const ( ChartName = "gloo" ChartRepositoryUrl = "https://storage.googleapis.com/solo-public-helm" RemoteChartUriTemplate = "https://storage.googleapis.com/solo-public-helm/charts/gloo-%s.tgz" RemoteChartName = "gloo/gloo" )
Variables ¶
This section is empty.
Functions ¶
func GetRemoteChartUri ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a utility for executing `helm` commands
func NewClient ¶
func NewClient() *Client
NewClient returns an implementation of the helmutils.Client
func (*Client) AddGlooRepository ¶
func (*Client) AddRepository ¶
func (*Client) Command ¶
Command returns a Cmd that executes kubectl command, including the --context if it is defined The Cmd sets the Stdout and Stderr to the receiver of the Cli
func (*Client) RunCommand ¶
RunCommand creates a Cmd and then runs it
func (*Client) WithNamespace ¶
WithNamespace sets the namespace that all commands will be invoked against
Click to show internal directories.
Click to hide internal directories.