Documentation ¶
Index ¶
- type DefaultPolicyAncestorStatusObject
- func (p *DefaultPolicyAncestorStatusObject) AddCondition(conditionType gwv1alpha2.PolicyConditionType, status metav1.ConditionStatus, ...) metav1.Condition
- func (p *DefaultPolicyAncestorStatusObject) ConditionExists(conditionType gwv1alpha2.PolicyConditionType) bool
- func (p *DefaultPolicyAncestorStatusObject) GetAncestorRef() gwv1.ParentReference
- func (p *DefaultPolicyAncestorStatusObject) GetPolicyStatusObject() status.PolicyStatusObject
- type DefaultPolicyStatusObject
- func (p *DefaultPolicyStatusObject) ConditionsForAncestorRef(ancestorRef gwv1.ParentReference) []metav1.Condition
- func (p *DefaultPolicyStatusObject) GetFullName() types.NamespacedName
- func (p *DefaultPolicyStatusObject) GetGeneration() int64
- func (p *DefaultPolicyStatusObject) GetObjectMeta() *metav1.ObjectMeta
- func (p *DefaultPolicyStatusObject) GetResource() client.Object
- func (p *DefaultPolicyStatusObject) GetTransitionTime() metav1.Time
- func (p *DefaultPolicyStatusObject) GetTypeMeta() *metav1.TypeMeta
- func (p *DefaultPolicyStatusObject) Mutate(obj client.Object) client.Object
- func (p *DefaultPolicyStatusObject) StatusUpdateFor(ancestorRef gwv1.ParentReference) status.PolicyAncestorStatusObject
- type PolicyAncestorStatusHolder
- type PolicyStatusHolder
- func NewPolicyStatusHolderWithLocalPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusHolder
- func NewPolicyStatusHolderWithLocalPolicyTargetReferenceWithSectionName(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusHolder
- func NewPolicyStatusHolderWithNamespacedPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusHolder
- type PolicyStatusUpdate
- func NewPolicyStatusUpdateWithLocalPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusUpdate
- func NewPolicyStatusUpdateWithLocalPolicyTargetReferenceWithSectionName(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusUpdate
- func NewPolicyStatusUpdateWithNamespacedPolicyTargetReference(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) *PolicyStatusUpdate
- type PolicyTargetReference
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 (p *DefaultPolicyAncestorStatusObject) AddCondition(conditionType gwv1alpha2.PolicyConditionType, status metav1.ConditionStatus, reason gwv1alpha2.PolicyConditionReason, message string) metav1.Condition
func (*DefaultPolicyAncestorStatusObject) ConditionExists ¶
func (p *DefaultPolicyAncestorStatusObject) ConditionExists(conditionType gwv1alpha2.PolicyConditionType) bool
func (*DefaultPolicyAncestorStatusObject) GetAncestorRef ¶
func (p *DefaultPolicyAncestorStatusObject) GetAncestorRef() gwv1.ParentReference
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 (p *DefaultPolicyStatusObject) GetFullName() types.NamespacedName
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 (p *DefaultPolicyStatusObject) Mutate(obj client.Object) client.Object
func (*DefaultPolicyStatusObject) StatusUpdateFor ¶
func (p *DefaultPolicyStatusObject) StatusUpdateFor(ancestorRef gwv1.ParentReference) status.PolicyAncestorStatusObject
type PolicyAncestorStatusHolder ¶
type PolicyAncestorStatusHolder struct {
*DefaultPolicyAncestorStatusObject
}
func (*PolicyAncestorStatusHolder) AddCondition ¶
func (p *PolicyAncestorStatusHolder) AddCondition(_ gwv1alpha2.PolicyConditionType, _ metav1.ConditionStatus, _ gwv1alpha2.PolicyConditionReason, _ string) metav1.Condition
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 ¶
func (r *PolicyStatusHolder) StatusUpdateFor(ancestorRef gwv1.ParentReference) status.PolicyAncestorStatusObject
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
type PolicyTargetReference ¶
type PolicyTargetReference = gwv1alpha2.NamespacedPolicyTargetReference
Click to show internal directories.
Click to hide internal directories.