-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
backlogCurrently unprioritized work. May change with user feedback or as the product progresses.Currently unprioritized work. May change with user feedback or as the product progresses.good first issueGood for newcomersGood for newcomerstech-debtShort-term pain, long-term benefitShort-term pain, long-term benefit
Description
As a developer
I want to be able to generate the methods shown below for all NGF Policy types
So that I don't have to duplicate boilerplate code every time I add a policy.
func (p *ClientSettingsPolicy) GetTargetRef() v1alpha2.PolicyTargetReference {
return p.Spec.TargetRef
}
func (p *ClientSettingsPolicy) GetPolicyStatus() v1alpha2.PolicyStatus {
return p.Status
}
func (p *ClientSettingsPolicy) SetPolicyStatus(status v1alpha2.PolicyStatus) {
p.Status = status
}
Look into generating policy functions to determine if two policies conflict.
Metadata
Metadata
Assignees
Labels
backlogCurrently unprioritized work. May change with user feedback or as the product progresses.Currently unprioritized work. May change with user feedback or as the product progresses.good first issueGood for newcomersGood for newcomerstech-debtShort-term pain, long-term benefitShort-term pain, long-term benefit
Type
Projects
Status
🆕 New