Documentation ¶
Index ¶
- func CreateIvoryOperatorScheme() (*runtime.Scheme, error)
- func CreateRuntimeManager(namespace string, config *rest.Config, disableMetrics bool) (manager.Manager, error)
- func GetConfig() (*rest.Config, error)
- func NewTicker(d time.Duration, e event.GenericEvent) source.Source
- func NewTickerImmediate(d time.Duration, e event.GenericEvent) source.Source
- type ClientCreate
- type ClientDelete
- type ClientDeleteAll
- type ClientGet
- type ClientList
- type ClientPatch
- type ClientReader
- type ClientUpdate
- type ClientWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIvoryOperatorScheme ¶
CreateIvoryOperatorScheme creates a scheme containing the resource types required by the IvorySQL Operator. This includes any custom resource types specific to the IvorySQL Operator, as well as any standard Kubernetes resource types.
func CreateRuntimeManager ¶
func CreateRuntimeManager(namespace string, config *rest.Config, disableMetrics bool) (manager.Manager, error)
CreateRuntimeManager creates a new controller runtime manager for the IvorySQL Operator. The manager returned is configured specifically for the IvorySQL Operator, and includes any controllers that will be responsible for managing IvorySQL clusters using the 'ivorycluster' custom resource. Additionally, the manager will only watch for resources in the namespace specified, with an empty string resulting in the manager watching all namespaces.
func NewTickerImmediate ¶
NewTickerImmediate returns a Source that emits e at start and every d.
Types ¶
type ClientCreate ¶
Types that implement single methods of the client.Writer interface.
func (ClientCreate) Create ¶
func (fn ClientCreate) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
type ClientDelete ¶
Types that implement single methods of the client.Writer interface.
func (ClientDelete) Delete ¶
func (fn ClientDelete) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
type ClientDeleteAll ¶
Types that implement single methods of the client.Writer interface.
func (ClientDeleteAll) DeleteAllOf ¶
func (fn ClientDeleteAll) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
type ClientGet ¶
Types that implement single methods of the client.Reader interface.
type ClientList ¶
type ClientList func(context.Context, client.ObjectList, ...client.ListOption) error
Types that implement single methods of the client.Reader interface.
func (ClientList) List ¶
func (fn ClientList) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
type ClientPatch ¶
Types that implement single methods of the client.Writer interface.
type ClientReader ¶
type ClientReader struct { ClientGet ClientList }
ClientReader implements client.Reader by composing assignable functions.
type ClientUpdate ¶
Types that implement single methods of the client.Writer interface.
func (ClientUpdate) Update ¶
func (fn ClientUpdate) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
type ClientWriter ¶
type ClientWriter struct { ClientCreate ClientDelete ClientDeleteAll ClientPatch ClientUpdate }
ClientWriter implements client.Writer by composing assignable functions.