controller

package
v1.15.2 Latest Latest
Warning

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

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

Documentation

Overview

Package controller contains options specific to pkg controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	controller.Options

	// Cache for package OCI images.
	Cache xpkg.PackageCache

	// Namespace used to unpack and run packages.
	Namespace string

	// ServiceAccount is the core Crossplane ServiceAccount name.
	ServiceAccount string

	// DefaultRegistry used to pull packages.
	DefaultRegistry string

	// FetcherOptions can be used to add optional parameters to
	// NewK8sFetcher.
	FetcherOptions []xpkg.FetcherOpt

	// PackageRuntime specifies the runtime to use for package runtime.
	PackageRuntime PackageRuntime
}

Options specific to pkg controllers.

type PackageRuntime added in v1.14.0

type PackageRuntime string

PackageRuntime is the runtime to use for packages with runtime.

const (
	// PackageRuntimeUnspecified means no package runtime is specified.
	PackageRuntimeUnspecified PackageRuntime = ""

	// PackageRuntimeDeployment uses a Kubernetes Deployment as the package
	// runtime.
	PackageRuntimeDeployment PackageRuntime = "Deployment"

	// PackageRuntimeExternal defer package runtime to an external controller.
	PackageRuntimeExternal PackageRuntime = "External"
)

Jump to

Keyboard shortcuts

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