Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindOptions ¶
func BindOptions(opts *RawOptions, cmd *cobra.Command) error
func NewCommand ¶
Types ¶
type OwnerRefInfo ¶
type PodQueryInfo ¶
type PodQueryInfo struct {
PodName string
Namespace string
Phase string
State string
URLQuery string
}
PodQueryInfo holds pod information and its associated Kusto query URL for structured logging, struct enables clean JSON serialization when logging multiple pods together
type RawOptions ¶
type RawOptions struct {
NamespaceFiles []string
ReleaseName string
ReleaseNamespace string
ChartDir string
ValuesFile string
Ev2RolloutVersion string
KustoDatabase string
KustoTable string
KustoEndpoint string
Timeout time.Duration
KubeconfigFile string
DryRun bool
RollbackOnFailure bool
}
RawOptions holds input values.
func DefaultOptions ¶
func DefaultOptions() *RawOptions
func (*RawOptions) Validate ¶
func (o *RawOptions) Validate() (*ValidatedOptions, error)
type ResourceInfo ¶
type ValidatedOptions ¶
type ValidatedOptions struct {
// contains filtered or unexported fields
}
func (*ValidatedOptions) Complete ¶
func (o *ValidatedOptions) Complete() (*Options, error)
Click to show internal directories.
Click to hide internal directories.