Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applier ¶
type Applier interface {
Apply(ctx context.Context, options ApplierOptions) error
}
func NewDirectApplier ¶
func NewDirectApplier() Applier
type ApplierOptions ¶
type ApplySetApplier ¶
type ApplySetApplier struct {
// contains filtered or unexported fields
}
func NewApplySetApplier ¶
func NewApplySetApplier(patchOptions metav1.PatchOptions) *ApplySetApplier
func (*ApplySetApplier) Apply ¶
func (a *ApplySetApplier) Apply(ctx context.Context, opt ApplierOptions) error
type DirectApplier ¶
type DirectApplier struct {
// contains filtered or unexported fields
}
func (*DirectApplier) Apply ¶
func (d *DirectApplier) Apply(ctx context.Context, opt ApplierOptions) error
type ExecKubectl ¶
type ExecKubectl struct {
// contains filtered or unexported fields
}
ExecKubectl provides an interface to kubectl
func NewExec ¶
func NewExec() *ExecKubectl
New creates a Client that runs kubectl avaliable on the path
func (*ExecKubectl) Apply ¶
func (c *ExecKubectl) Apply(ctx context.Context, opt ApplierOptions) error
Apply runs the kubectl apply with the provided manifest argument
Click to show internal directories.
Click to hide internal directories.