Documentation
¶
Index ¶
Constants ¶
View Source
const ( DryRunInstance = "mongodb.com/dry-run-instance" DryRunFinishedMsg = "finished" DryRunReason = "DryRun" )
Variables ¶
This section is empty.
Functions ¶
func AddTerminationError ¶ added in v2.8.0
func AddTerminationError(err error)
func NewDryRunError ¶
Types ¶
type DryRunError ¶
type DryRunError struct {
Msg string
}
func (*DryRunError) Error ¶
func (e *DryRunError) Error() string
type DryRunTransport ¶
type DryRunTransport struct {
Delegate http.RoundTripper
}
func NewDryRunTransport ¶
func NewDryRunTransport(delegate http.RoundTripper) *DryRunTransport
type Manager ¶ added in v2.8.0
Manager is a controller-runtime runnable that acts similar to controller-runtime's Manager but executing dry-run functionality.
func NewManager ¶ added in v2.8.0
func NewManager(c cluster.Cluster, eventsClient corev1client.EventsGetter, logger *zap.Logger, namespaces []string) (*Manager, error)
func (*Manager) SetupReconciler ¶ added in v2.8.0
func (m *Manager) SetupReconciler(r reconciler)
Click to show internal directories.
Click to hide internal directories.