Documentation ¶
Index ¶
- Constants
- func GetWorkloadName(statefulSetName string) string
- func NewReconciler(client client.Client, _ record.EventRecorder, _ ...jobframework.Option) jobframework.JobReconcilerInterface
- func SetupIndexes(context.Context, client.FieldIndexer) error
- func SetupWebhook(mgr ctrl.Manager, opts ...jobframework.Option) error
- type Reconciler
- type StatefulSet
- type Webhook
- func (wh *Webhook) Default(ctx context.Context, obj runtime.Object) error
- func (wh *Webhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (wh *Webhook) ValidateDelete(context.Context, runtime.Object) (warnings admission.Warnings, err error)
- func (wh *Webhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
View Source
const (
FrameworkName = "statefulset"
)
Variables ¶
This section is empty.
Functions ¶
func GetWorkloadName ¶
func NewReconciler ¶ added in v0.10.0
func NewReconciler(client client.Client, _ record.EventRecorder, _ ...jobframework.Option) jobframework.JobReconcilerInterface
func SetupIndexes ¶
func SetupIndexes(context.Context, client.FieldIndexer) error
func SetupWebhook ¶
func SetupWebhook(mgr ctrl.Manager, opts ...jobframework.Option) error
Types ¶
type Reconciler ¶ added in v0.10.0
type Reconciler struct {
// contains filtered or unexported fields
}
func (*Reconciler) SetupWithManager ¶ added in v0.10.0
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
type StatefulSet ¶
type StatefulSet appsv1.StatefulSet
func (*StatefulSet) GVK ¶
func (d *StatefulSet) GVK() schema.GroupVersionKind
func (*StatefulSet) Object ¶
func (d *StatefulSet) Object() client.Object
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
func (*Webhook) ValidateCreate ¶
func (*Webhook) ValidateDelete ¶
Click to show internal directories.
Click to hide internal directories.