Documentation ¶
Overview ¶
Package integration provides utilities for integration testing Crossplane.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderFn ¶
BuilderFn is a function that performs operations prior to starting test controllers
type CleanerFn ¶
CleanerFn is a function that performs test cleanup
func NewCRDCleaner ¶
func NewCRDCleaner() CleanerFn
NewCRDCleaner returns a new Cleaner that deletes all installed CRDs from the API server.
func NewCRDDirCleaner ¶
func NewCRDDirCleaner() CleanerFn
NewCRDDirCleaner cleans up the tmp directory where CRDs were downloaded.
type Config ¶
type Config struct { CRDPaths []string Builder BuilderFn Cleaners []CleanerFn ManagerOptions manager.Options }
Config is a set of configuration values for setup.
type Manager ¶
Manager wraps a controller-runtime manager with additional functionality.
type Option ¶
type Option func(*Config)
An Option configures a Config.
func WithBuilder ¶
WithBuilder sets a custom builder function for a Config.
func WithCRDPaths ¶
WithCRDPaths sets custom CRD locations for a Config.
func WithCleaners ¶
WithCleaners sets custom cleaner functios for a Config.
func WithManagerOptions ¶
WithManagerOptions sets custom options for the manager configured by Config.