statefulset

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FrameworkName = "statefulset"
)

Variables

This section is empty.

Functions

func GetWorkloadName

func GetWorkloadName(statefulSetName string) string

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager, opts ...jobframework.Option) error

Types

type StatefulSet

type StatefulSet appsv1.StatefulSet

func (*StatefulSet) GVK

func (*StatefulSet) Object

func (d *StatefulSet) Object() client.Object

type Webhook

type Webhook struct {
	// contains filtered or unexported fields
}

func (*Webhook) Default

func (wh *Webhook) Default(ctx context.Context, obj runtime.Object) error

func (*Webhook) ValidateCreate

func (wh *Webhook) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error)

func (*Webhook) ValidateDelete

func (wh *Webhook) ValidateDelete(context.Context, runtime.Object) (warnings admission.Warnings, err error)

func (*Webhook) ValidateUpdate

func (wh *Webhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (warnings admission.Warnings, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL