Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admission ¶ added in v0.28.2
type Admission struct {
// contains filtered or unexported fields
}
Admission admits storage's Create and Update writes. Its Admitter is set after storage starts, since it depends on storage, and until then every write is made.
type Admitter ¶ added in v0.28.2
type Admitter interface {
// Admit runs write, storage's write of obj, if obj may be written.
Admit(ctx context.Context, obj kclient.Object, write func() error) error
}
Admitter decides whether storage makes a write.
type Services ¶
type Services struct {
DB *db.Factory
Authn *authn.Authenticator
Authz authorizer.Authorizer
Admission *Admission
}
Click to show internal directories.
Click to hide internal directories.