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" )
Click to show internal directories.
Click to hide internal directories.