policies

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultPolicyAncestorStatusObject

type DefaultPolicyAncestorStatusObject struct {
	*DefaultPolicyStatusObject
	// contains filtered or unexported fields
}

func (*DefaultPolicyAncestorStatusObject) AddCondition

func (*DefaultPolicyAncestorStatusObject) ConditionExists

func (p *DefaultPolicyAncestorStatusObject) ConditionExists(conditionType gwv1alpha2.PolicyConditionType) bool

func (*DefaultPolicyAncestorStatusObject) GetAncestorRef

func (*DefaultPolicyAncestorStatusObject) GetPolicyStatusObject

func (p *DefaultPolicyAncestorStatusObject) GetPolicyStatusObject() status.PolicyStatusObject

type DefaultPolicyStatusObject

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

func (*DefaultPolicyStatusObject) ConditionsForAncestorRef

func (p *DefaultPolicyStatusObject) ConditionsForAncestorRef(ancestorRef gwv1.ParentReference) []metav1.Condition

func (*DefaultPolicyStatusObject) GetFullName

func (*DefaultPolicyStatusObject) GetGeneration

func (p *DefaultPolicyStatusObject) GetGeneration() int64

func (*DefaultPolicyStatusObject) GetObjectMeta

func (p *DefaultPolicyStatusObject) GetObjectMeta() *metav1.ObjectMeta

func (*DefaultPolicyStatusObject) GetResource

func (p *DefaultPolicyStatusObject) GetResource() client.Object

func (*DefaultPolicyStatusObject) GetTransitionTime

func (p *DefaultPolicyStatusObject) GetTransitionTime() metav1.Time

func (*DefaultPolicyStatusObject) GetTypeMeta

func (p *DefaultPolicyStatusObject) GetTypeMeta() *metav1.TypeMeta

func (*DefaultPolicyStatusObject) Mutate

func (*DefaultPolicyStatusObject) StatusUpdateFor

type PolicyStatusHolder

type PolicyStatusHolder struct {
	*DefaultPolicyStatusObject
}

func NewPolicyStatusHolderWithLocalPolicyTargetReference

func NewPolicyStatusHolderWithLocalPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.LocalPolicyTargetReference, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusHolder

func NewPolicyStatusHolderWithLocalPolicyTargetReferenceWithSectionName

func NewPolicyStatusHolderWithLocalPolicyTargetReferenceWithSectionName(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.LocalPolicyTargetReferenceWithSectionName, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusHolder

func NewPolicyStatusHolderWithNamespacedPolicyTargetReference

func NewPolicyStatusHolderWithNamespacedPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.NamespacedPolicyTargetReference, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusHolder

func (*PolicyStatusHolder) StatusUpdateFor

type PolicyStatusUpdate

type PolicyStatusUpdate struct {
	*DefaultPolicyStatusObject
}

func NewPolicyStatusUpdateWithLocalPolicyTargetReference

func NewPolicyStatusUpdateWithLocalPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.LocalPolicyTargetReference, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusUpdate

func NewPolicyStatusUpdateWithLocalPolicyTargetReferenceWithSectionName

func NewPolicyStatusUpdateWithLocalPolicyTargetReferenceWithSectionName(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.LocalPolicyTargetReferenceWithSectionName, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusUpdate

func NewPolicyStatusUpdateWithNamespacedPolicyTargetReference

func NewPolicyStatusUpdateWithNamespacedPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, targetRefs []gwv1alpha2.NamespacedPolicyTargetReference, policyAncestorStatuses []*gwv1alpha2.PolicyAncestorStatus) *PolicyStatusUpdate

func (*PolicyStatusUpdate) Mutate

func (p *PolicyStatusUpdate) Mutate(obj client.Object) client.Object

Jump to

Keyboard shortcuts

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