applysetinstaller

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package applysetinstaller provides an installer for managing ApplySet CRD and CR on a Kubernetes cluster.

This package contains the ApplySet installer implementation for installing and managing the ApplySet Custom Resource Definition and Custom Resource, which is used by kubectl for server-side apply operations.

Index

Constants

This section is empty.

Variables

View Source
var ErrCRDNameNotAccepted = errors.New("crd names not accepted")

ErrCRDNameNotAccepted is returned when CRD names are not accepted.

Functions

This section is empty.

Types

type ApplySetInstaller

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

ApplySetInstaller implements the installer.Installer interface for ApplySet.

func NewApplySetInstaller

func NewApplySetInstaller(
	timeout time.Duration,
	apiExtensionsClient apiextensionsv1client.CustomResourceDefinitionInterface,
	dynamicClient dynamic.ResourceInterface,
) *ApplySetInstaller

NewApplySetInstaller creates a new ApplySet installer instance.

func (*ApplySetInstaller) Install

func (b *ApplySetInstaller) Install(ctx context.Context) error

Install ensures the ApplySet CRD and its parent CR exist.

func (*ApplySetInstaller) Uninstall

func (b *ApplySetInstaller) Uninstall(ctx context.Context) error

Uninstall deletes the ApplySet CR then its CRD.

Jump to

Keyboard shortcuts

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