Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGVR ¶
func GetGVR() schema.GroupVersionResource
GetGVR returns the GroupVersionResource for the Pod Disruption Budget.
Types ¶
type Builder ¶
type Builder struct { // PodDisruptionBudget definition Definition *policyv1.PodDisruptionBudget // Created PodDisruptionBudget object Object *policyv1.PodDisruptionBudget // contains filtered or unexported fields }
Builder provides a struct for the PodDisruptionBudget object and definition.
func NewBuilder ¶
NewBuilder creates a new PodDisruptionBudget builder.
func (*Builder) WithPDBSpec ¶
func (builder *Builder) WithPDBSpec(spec policyv1.PodDisruptionBudgetSpec) *Builder
WithPDBSpec sets the PodDisruptionBudgetSpec for the PodDisruptionBudget.
Click to show internal directories.
Click to hide internal directories.