apply

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 21 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 ReadOnlyApply added in v0.14.0

type ReadOnlyApply struct{}

func NewReadOnlyApply added in v0.14.0

func NewReadOnlyApply() *ReadOnlyApply

func (*ReadOnlyApply) Apply added in v0.14.0

type ServerSideApply

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

func NewServerSideApply

func NewServerSideApply(client dynamic.Interface) *ServerSideApply

func (*ServerSideApply) Apply

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