Documentation ¶
Index ¶
- Variables
- func NameFromCommandArgs(cmd *cobra.Command, args []string) (string, error)
- func NewC3Command(f *cmdutil.Factory, in io.Reader, out, err io.Writer) *cobra.Command
- func NewCmdCreateFromChart(facto *cmdutil.Factory, out io.Writer, c helm.Interface) *cobra.Command
- func NewCmdExportIntoChart(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func NewCmdServiceAutoDiscovery(f *cmdutil.Factory, out io.Writer) *cobra.Command
- func PrintStatus(out io.Writer, res *services.GetReleaseStatusResponse)
- func RunCreate(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, ...) error
- func RunCreateFromChart(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, ...) error
- func RunCreateSubcommand(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, ...) error
- func RunExportIntoChart(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error
- func RunServiceAutoDiscovery(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, ...) error
- func ValidateArgs(cmd *cobra.Command, args []string) error
- type CreateFromChartOptions
- type CreateSubcommandOptions
- type ExportIntoChartOptions
- type ServiceAutoDiscoveryOptions
Constants ¶
This section is empty.
Variables ¶
var RootCommand = newRootCmd(os.Stdout)
RootCommand is the top-level command for Helm.
Functions ¶
func NameFromCommandArgs ¶
NameFromCommandArgs is a utility function for commands that assume the first argument is a resource name
func NewC3Command ¶
func NewCmdCreateFromChart ¶
func NewCmdExportIntoChart ¶
NewCmdGet creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func NewCmdServiceAutoDiscovery ¶
NewCmdServiceAutoDiscovery creates a command object for the generic "get" action, which retrieves one or more resources from a server.
func PrintStatus ¶
func PrintStatus(out io.Writer, res *services.GetReleaseStatusResponse)
PrintStatus prints out the status of a release. Shared because also used by install / upgrade
func RunCreate ¶
func RunCreate(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, options *kubectlcmd.CreateOptions) error
func RunCreateFromChart ¶
func RunCreateSubcommand ¶
func RunCreateSubcommand(f *cmdutil.Factory, cmd *cobra.Command, out io.Writer, options *CreateSubcommandOptions) error
RunCreateSubcommand executes a create subcommand using the specified options
func RunExportIntoChart ¶
func RunExportIntoChart(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string, options *ExportIntoChartOptions) error
RunGet implements the generic Get command TODO: convert all direct flag accessors to a struct and pass that instead of cmd
func RunServiceAutoDiscovery ¶
Types ¶
type CreateFromChartOptions ¶
type CreateSubcommandOptions ¶
type CreateSubcommandOptions struct { // Name of resource being created Name string // StructuredGenerator is the resource generator for the object being created StructuredGenerator kubectl.StructuredGenerator // DryRun is true if the command should be simulated but not run against the server DryRun bool // OutputFormat OutputFormat string }
CreateSubcommandOptions is an options struct to support create subcommands
type ExportIntoChartOptions ¶
type ExportIntoChartOptions struct {
kubectlcmd.GetOptions
}
GetOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
type ServiceAutoDiscoveryOptions ¶
ServiceAutoDiscoveryOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
Source Files ¶
- cmd.go
- createfromchart.go
- exportintochart.go
- helm_cmd_helm_fetch.go
- helm_cmd_helm_get.go
- helm_cmd_helm_get_hooks.go
- helm_cmd_helm_get_manifest.go
- helm_cmd_helm_get_values.go
- helm_cmd_helm_helm.go
- helm_cmd_helm_init.go
- helm_cmd_helm_install.go
- helm_cmd_helm_repo.go
- helm_cmd_helm_status.go
- helm_cmd_helm_structure.go
- helm_cmd_helm_tunnel.go
- serviceautodiscovery.go