apply

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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,
		gvr schema.GroupVersionResource,
		required *unstructured.Unstructured,
		owner metav1.OwnerReference,
		applyOption *workapiv1.ManifestConfigOption,
		recorder events.Recorder) (runtime.Object, error)
}

type Appliers

type Appliers struct {
	// contains filtered or unexported fields
}

func NewAppliers

func NewAppliers(dynamicClient dynamic.Interface, kubeclient kubernetes.Interface, apiExtensionClient apiextensionsclient.Interface) *Appliers

func (*Appliers) GetApplier

func (a *Appliers) GetApplier(strategy workapiv1.UpdateStrategyType) Applier

type CreateOnlyApply

type CreateOnlyApply struct {
	// contains filtered or unexported fields
}

func NewCreateOnlyApply

func NewCreateOnlyApply(client dynamic.Interface) *CreateOnlyApply

type ServerSideApply

type ServerSideApply struct {
	// contains filtered or unexported fields
}

func NewServerSideApply

func NewServerSideApply(client dynamic.Interface) *ServerSideApply

type ServerSideApplyConflictError

type ServerSideApplyConflictError struct {
	// contains filtered or unexported fields
}

func (*ServerSideApplyConflictError) Error

type UpdateApply

type UpdateApply struct {
	// contains filtered or unexported fields
}

func NewUpdateApply

func NewUpdateApply(dynamicClient dynamic.Interface, kubeclient kubernetes.Interface, apiExtensionClient apiextensionsclient.Interface) *UpdateApply

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL