Documentation ¶
Index ¶
- type Kubectl
- func (k Kubectl) Cmd(ctx context.Context, params ...string) *exec.Cmd
- func (k Kubectl) FleetClientOrDie() fleet.Interface
- func (k Kubectl) Get(ctx context.Context, target string, withVersion bool) ([]Object, error)
- func (k Kubectl) KubeClientOrDie() kubernetes.Interface
- func (k Kubectl) Read(path string, recursive bool) ([]runtime.Object, error)
- func (k Kubectl) Run(ctx context.Context, params ...string) error
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
Kubectl is a wrapper around kubectl command line.
func (Kubectl) FleetClientOrDie ¶
FleetClientOrDie returns a new fleet client to deal with fleet APIs.
func (Kubectl) KubeClientOrDie ¶
func (k Kubectl) KubeClientOrDie() kubernetes.Interface
KubeClientOrDie returns a new kubernetes client to deal with kubernetes APIs.
Click to show internal directories.
Click to hide internal directories.