Documentation ¶
Index ¶
- func NewAddCmd(o *AddOrUpdateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewCmd() *cobra.Command
- func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewGetCmd(o *GetOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewKickCmd(o *KickOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewSourceValue(pkgr v1alpha1.PackageRepository) uitable.Value
- func NewUpdateCmd(o *AddOrUpdateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- type AddOrUpdateOptions
- type DeleteOptions
- type GetOptions
- type KickOptions
- type ListOptions
- type RepoTailer
- type RepoTailerOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddCmd ¶
func NewAddCmd(o *AddOrUpdateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewGetCmd ¶
func NewGetCmd(o *GetOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewKickCmd ¶
func NewKickCmd(o *KickOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewListCmd ¶
func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewSourceValue ¶
func NewSourceValue(pkgr v1alpha1.PackageRepository) uitable.Value
NewSourceValue returns a string summarizing spec.fetch for humans TODO should we place this into kapp-controller and expose as status field?
func NewUpdateCmd ¶
func NewUpdateCmd(o *AddOrUpdateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
Types ¶
type AddOrUpdateOptions ¶
type AddOrUpdateOptions struct { NamespaceFlags cmdcore.NamespaceFlags SecureNamespaceFlags cmdcore.SecureNamespaceFlags Name string URL string SemverTagConstraints string CreateNamespace bool SecretRef string DryRun bool CreateRepository bool WaitFlags cmdcore.WaitFlags // contains filtered or unexported fields }
func NewAddOrUpdateOptions ¶
func NewAddOrUpdateOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger, pkgCmdTreeOpts cmdcore.PackageCommandTreeOpts) *AddOrUpdateOptions
func (*AddOrUpdateOptions) Run ¶
func (o *AddOrUpdateOptions) Run(args []string) error
type DeleteOptions ¶
type DeleteOptions struct { NamespaceFlags cmdcore.NamespaceFlags Name string WaitFlags cmdcore.WaitFlags // contains filtered or unexported fields }
func NewDeleteOptions ¶
func NewDeleteOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger, pkgCmdTreeOpts cmdcore.PackageCommandTreeOpts) *DeleteOptions
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run(args []string) error
type GetOptions ¶
type GetOptions struct { NamespaceFlags cmdcore.NamespaceFlags Name string // contains filtered or unexported fields }
func NewGetOptions ¶
func NewGetOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger, pkgCmdTreeOpts cmdcore.PackageCommandTreeOpts, columns *[]string) *GetOptions
func (*GetOptions) Run ¶
func (o *GetOptions) Run(args []string) error
type KickOptions ¶
type KickOptions struct { WaitFlags cmdcore.WaitFlags NamespaceFlags cmdcore.NamespaceFlags Name string // contains filtered or unexported fields }
func NewKickOptions ¶
func NewKickOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger, pkgCmdTreeOpts cmdcore.PackageCommandTreeOpts) *KickOptions
func (*KickOptions) Run ¶
func (o *KickOptions) Run(args []string) error
type ListOptions ¶
type ListOptions struct { NamespaceFlags cmdcore.NamespaceFlags AllNamespaces bool // contains filtered or unexported fields }
func NewListOptions ¶
func NewListOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logger, pkgCmdTreeOpts cmdcore.PackageCommandTreeOpts, columns *[]string) *ListOptions
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type RepoTailer ¶
func NewRepoTailer ¶
func NewRepoTailer(namespace string, name string, ui ui.UI, client kcclient.Interface, opts RepoTailerOpts) *RepoTailer
func (*RepoTailer) TailRepoStatus ¶
func (o *RepoTailer) TailRepoStatus() error
type RepoTailerOpts ¶
type RepoTailerOpts struct {
PrintCurrentState bool
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.