Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
Builder is responsible for creating on Application
Builder - collect information - should not contain any logic regarding generating objects
type Lister ¶
type Lister interface {
GenerateLists() []ObjectList
}
Lister is responsible for generating ObjectList for each resource
Lister - generate objects - should not contain any logic accessing API servers
type ObjectList ¶
type Refresher ¶
type Refresher interface { // Refresh syncs objects // // each object will be processed as described below // - when it doesn't exist, it will be created // - when the object exists, it will be updated // // Also an object that matches all the conditions below will be deleted // - owned by parent // - is not present in list // // when return value from Identify of two objects are the same they are considered to be a same object Refresh(ctx context.Context, parent client.Object, list ObjectList) error }
Refresher reconciles objects by creating, updating, and deleting
Click to show internal directories.
Click to hide internal directories.