Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIPatchingApplicator ¶ added in v0.3.2
type APIPatchingApplicator struct {
// contains filtered or unexported fields
}
An APIPatchingApplicator applies changes to an object by either creating or patching it in a Kubernetes API server.
func NewAPIPatchingApplicator ¶ added in v0.3.2
func NewAPIPatchingApplicator(c client.Client) *APIPatchingApplicator
NewAPIPatchingApplicator returns an Applicator that applies changes to an object by either creating or patching it in a Kubernetes API server.
type Applicator ¶ added in v0.3.0
An Applicator applies changes to an object.
type ApplyOption ¶ added in v0.3.0
An ApplyOption is called before patching the current object to match the desired object. ApplyOptions are not called if no current object exists.
func UpdateFn ¶ added in v0.3.0
func UpdateFn(fn func(current, desired runtime.Object)) ApplyOption
UpdateFn returns an ApplyOption that is used to modify the current object to match fields of the desired.
type ClientApplicator ¶ added in v0.3.0
type ClientApplicator struct {
client.Client
Applicator
}
A ClientApplicator may be used to build a single 'client' that satisfies both client.Client and Applicator.
type Conditioned ¶
type Conditioned interface {
SetConditions(c ...nddv1.Condition)
GetCondition(nddv1.ConditionKind) nddv1.Condition
}
A Conditioned may have conditions set or retrieved. Conditions are typically indicate the status of both a resource and its reconciliation process.
type ProviderConfig ¶
type ProviderConfig interface {
Object
Conditioned
}
A ProviderConfig configures a Crossplane provider.