Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(configFlags *genericclioptions.ConfigFlags) *cobra.Command
NewCommand return the command for deploying kubernetes resources against the target cluster
func NewInventory ¶
func NewInventory(factory util.ClientFactory, name, namespace, filedManager string) (inventory.Store, error)
Types ¶
type Flags ¶
type Flags struct {
ConfigFlags *genericclioptions.ConfigFlags
// contains filtered or unexported fields
}
Flags contains all the flags for the `deploy` command. They will be converted to Options that contains all runtime options for the command.
type Inventory ¶
type Inventory struct {
// contains filtered or unexported fields
}
Inventory wrap
func (*Inventory) Load ¶
func (s *Inventory) Load(ctx context.Context) (sets.Set[resource.ObjectMetadata], error)
func (*Inventory) SetObjects ¶
func (s *Inventory) SetObjects(objects sets.Set[*unstructured.Unstructured])
Click to show internal directories.
Click to hide internal directories.