Documentation ¶
Index ¶
- Variables
- type ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DeepCopy() *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeedJSON(j []byte) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeedYAML(y []byte) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieImmutable(immutable bool) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.ExemptPriorityLevelConfiguration
- func (d *ExemptPriorityLevelConfigurationDie) DieReleaseJSON() []byte
- func (d *ExemptPriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.ExemptPriorityLevelConfiguration
- func (d *ExemptPriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ExemptPriorityLevelConfigurationDie) DieReleaseYAML() []byte
- func (d *ExemptPriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.ExemptPriorityLevelConfiguration)) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) DieWith(fns ...func(d *ExemptPriorityLevelConfigurationDie)) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) LendablePercent(v *int32) *ExemptPriorityLevelConfigurationDie
- func (d *ExemptPriorityLevelConfigurationDie) NominalConcurrencyShares(v *int32) *ExemptPriorityLevelConfigurationDie
- type FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DeepCopy() *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeed(r flowcontrolv1beta1.FlowDistinguisherMethod) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeedJSON(j []byte) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeedPtr(r *flowcontrolv1beta1.FlowDistinguisherMethod) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeedYAML(y []byte) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieFeedYAMLFile(name string) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieImmutable(immutable bool) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieRelease() flowcontrolv1beta1.FlowDistinguisherMethod
- func (d *FlowDistinguisherMethodDie) DieReleaseJSON() []byte
- func (d *FlowDistinguisherMethodDie) DieReleasePtr() *flowcontrolv1beta1.FlowDistinguisherMethod
- func (d *FlowDistinguisherMethodDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlowDistinguisherMethodDie) DieReleaseYAML() []byte
- func (d *FlowDistinguisherMethodDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowDistinguisherMethod)) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieStampAt(jp string, fn interface{}) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) DieWith(fns ...func(d *FlowDistinguisherMethodDie)) *FlowDistinguisherMethodDie
- func (d *FlowDistinguisherMethodDie) Type(v flowcontrolv1beta1.FlowDistinguisherMethodType) *FlowDistinguisherMethodDie
- type FlowSchemaDie
- func (d *FlowSchemaDie) APIVersion(v string) *FlowSchemaDie
- func (d *FlowSchemaDie) DeepCopy() *FlowSchemaDie
- func (d *FlowSchemaDie) DeepCopyObject() runtime.Object
- func (d *FlowSchemaDie) DieFeed(r flowcontrolv1beta1.FlowSchema) *FlowSchemaDie
- func (d *FlowSchemaDie) DieFeedJSON(j []byte) *FlowSchemaDie
- func (d *FlowSchemaDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchema) *FlowSchemaDie
- func (d *FlowSchemaDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaDie
- func (d *FlowSchemaDie) DieFeedYAML(y []byte) *FlowSchemaDie
- func (d *FlowSchemaDie) DieFeedYAMLFile(name string) *FlowSchemaDie
- func (d *FlowSchemaDie) DieImmutable(immutable bool) *FlowSchemaDie
- func (d *FlowSchemaDie) DieRelease() flowcontrolv1beta1.FlowSchema
- func (d *FlowSchemaDie) DieReleaseJSON() []byte
- func (d *FlowSchemaDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchema
- func (d *FlowSchemaDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlowSchemaDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *FlowSchemaDie) DieReleaseYAML() []byte
- func (d *FlowSchemaDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchema)) *FlowSchemaDie
- func (d *FlowSchemaDie) DieStampAt(jp string, fn interface{}) *FlowSchemaDie
- func (d *FlowSchemaDie) DieWith(fns ...func(d *FlowSchemaDie)) *FlowSchemaDie
- func (d *FlowSchemaDie) GetObjectKind() schema.ObjectKind
- func (d *FlowSchemaDie) Kind(v string) *FlowSchemaDie
- func (d *FlowSchemaDie) MarshalJSON() ([]byte, error)
- func (d *FlowSchemaDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *FlowSchemaDie
- func (d *FlowSchemaDie) Spec(v flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaDie
- func (d *FlowSchemaDie) SpecDie(fn func(d *FlowSchemaSpecDie)) *FlowSchemaDie
- func (d *FlowSchemaDie) Status(v flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaDie
- func (d *FlowSchemaDie) StatusDie(fn func(d *FlowSchemaStatusDie)) *FlowSchemaDie
- func (d *FlowSchemaDie) UnmarshalJSON(b []byte) error
- type FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DeepCopy() *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeed(r flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeedJSON(j []byte) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeedYAML(y []byte) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieFeedYAMLFile(name string) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieImmutable(immutable bool) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieRelease() flowcontrolv1beta1.FlowSchemaSpec
- func (d *FlowSchemaSpecDie) DieReleaseJSON() []byte
- func (d *FlowSchemaSpecDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchemaSpec
- func (d *FlowSchemaSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlowSchemaSpecDie) DieReleaseYAML() []byte
- func (d *FlowSchemaSpecDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchemaSpec)) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieStampAt(jp string, fn interface{}) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DieWith(fns ...func(d *FlowSchemaSpecDie)) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DistinguisherMethod(v *flowcontrolv1beta1.FlowDistinguisherMethod) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) DistinguisherMethodDie(fn func(d *FlowDistinguisherMethodDie)) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) MatchingPrecedence(v int32) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) PriorityLevelConfiguration(v flowcontrolv1beta1.PriorityLevelConfigurationReference) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) PriorityLevelConfigurationDie(fn func(d *PriorityLevelConfigurationReferenceDie)) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) Rules(v ...flowcontrolv1beta1.PolicyRulesWithSubjects) *FlowSchemaSpecDie
- func (d *FlowSchemaSpecDie) RulesDie(rules ...*PolicyRulesWithSubjectsDie) *FlowSchemaSpecDie
- type FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) Conditions(v ...flowcontrolv1beta1.FlowSchemaCondition) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DeepCopy() *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeed(r flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeedJSON(j []byte) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeedYAML(y []byte) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieFeedYAMLFile(name string) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieImmutable(immutable bool) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieRelease() flowcontrolv1beta1.FlowSchemaStatus
- func (d *FlowSchemaStatusDie) DieReleaseJSON() []byte
- func (d *FlowSchemaStatusDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchemaStatus
- func (d *FlowSchemaStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *FlowSchemaStatusDie) DieReleaseYAML() []byte
- func (d *FlowSchemaStatusDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchemaStatus)) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieStampAt(jp string, fn interface{}) *FlowSchemaStatusDie
- func (d *FlowSchemaStatusDie) DieWith(fns ...func(d *FlowSchemaStatusDie)) *FlowSchemaStatusDie
- type GroupSubjectDie
- func (d *GroupSubjectDie) DeepCopy() *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeed(r flowcontrolv1beta1.GroupSubject) *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeedJSON(j []byte) *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.GroupSubject) *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeedYAML(y []byte) *GroupSubjectDie
- func (d *GroupSubjectDie) DieFeedYAMLFile(name string) *GroupSubjectDie
- func (d *GroupSubjectDie) DieImmutable(immutable bool) *GroupSubjectDie
- func (d *GroupSubjectDie) DieRelease() flowcontrolv1beta1.GroupSubject
- func (d *GroupSubjectDie) DieReleaseJSON() []byte
- func (d *GroupSubjectDie) DieReleasePtr() *flowcontrolv1beta1.GroupSubject
- func (d *GroupSubjectDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *GroupSubjectDie) DieReleaseYAML() []byte
- func (d *GroupSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.GroupSubject)) *GroupSubjectDie
- func (d *GroupSubjectDie) DieStampAt(jp string, fn interface{}) *GroupSubjectDie
- func (d *GroupSubjectDie) DieWith(fns ...func(d *GroupSubjectDie)) *GroupSubjectDie
- func (d *GroupSubjectDie) Name(v string) *GroupSubjectDie
- type LimitResponseDie
- func (d *LimitResponseDie) DeepCopy() *LimitResponseDie
- func (d *LimitResponseDie) DieFeed(r flowcontrolv1beta1.LimitResponse) *LimitResponseDie
- func (d *LimitResponseDie) DieFeedJSON(j []byte) *LimitResponseDie
- func (d *LimitResponseDie) DieFeedPtr(r *flowcontrolv1beta1.LimitResponse) *LimitResponseDie
- func (d *LimitResponseDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitResponseDie
- func (d *LimitResponseDie) DieFeedYAML(y []byte) *LimitResponseDie
- func (d *LimitResponseDie) DieFeedYAMLFile(name string) *LimitResponseDie
- func (d *LimitResponseDie) DieImmutable(immutable bool) *LimitResponseDie
- func (d *LimitResponseDie) DieRelease() flowcontrolv1beta1.LimitResponse
- func (d *LimitResponseDie) DieReleaseJSON() []byte
- func (d *LimitResponseDie) DieReleasePtr() *flowcontrolv1beta1.LimitResponse
- func (d *LimitResponseDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LimitResponseDie) DieReleaseYAML() []byte
- func (d *LimitResponseDie) DieStamp(fn func(r *flowcontrolv1beta1.LimitResponse)) *LimitResponseDie
- func (d *LimitResponseDie) DieStampAt(jp string, fn interface{}) *LimitResponseDie
- func (d *LimitResponseDie) DieWith(fns ...func(d *LimitResponseDie)) *LimitResponseDie
- func (d *LimitResponseDie) Queuing(v *flowcontrolv1beta1.QueuingConfiguration) *LimitResponseDie
- func (d *LimitResponseDie) QueuingDie(fn func(d *QueuingConfigurationDie)) *LimitResponseDie
- func (d *LimitResponseDie) Type(v flowcontrolv1beta1.LimitResponseType) *LimitResponseDie
- type LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) AssuredConcurrencyShares(v int32) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) BorrowingLimitPercent(v *int32) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DeepCopy() *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeedJSON(j []byte) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeedYAML(y []byte) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieImmutable(immutable bool) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.LimitedPriorityLevelConfiguration
- func (d *LimitedPriorityLevelConfigurationDie) DieReleaseJSON() []byte
- func (d *LimitedPriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.LimitedPriorityLevelConfiguration
- func (d *LimitedPriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *LimitedPriorityLevelConfigurationDie) DieReleaseYAML() []byte
- func (d *LimitedPriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.LimitedPriorityLevelConfiguration)) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) DieWith(fns ...func(d *LimitedPriorityLevelConfigurationDie)) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) LendablePercent(v *int32) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) LimitResponse(v flowcontrolv1beta1.LimitResponse) *LimitedPriorityLevelConfigurationDie
- func (d *LimitedPriorityLevelConfigurationDie) LimitResponseDie(fn func(d *LimitResponseDie)) *LimitedPriorityLevelConfigurationDie
- type NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DeepCopy() *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeed(r flowcontrolv1beta1.NonResourcePolicyRule) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeedJSON(j []byte) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeedPtr(r *flowcontrolv1beta1.NonResourcePolicyRule) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeedYAML(y []byte) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieFeedYAMLFile(name string) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieImmutable(immutable bool) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieRelease() flowcontrolv1beta1.NonResourcePolicyRule
- func (d *NonResourcePolicyRuleDie) DieReleaseJSON() []byte
- func (d *NonResourcePolicyRuleDie) DieReleasePtr() *flowcontrolv1beta1.NonResourcePolicyRule
- func (d *NonResourcePolicyRuleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NonResourcePolicyRuleDie) DieReleaseYAML() []byte
- func (d *NonResourcePolicyRuleDie) DieStamp(fn func(r *flowcontrolv1beta1.NonResourcePolicyRule)) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieStampAt(jp string, fn interface{}) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) DieWith(fns ...func(d *NonResourcePolicyRuleDie)) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) NonResourceURLs(v ...string) *NonResourcePolicyRuleDie
- func (d *NonResourcePolicyRuleDie) Verbs(v ...string) *NonResourcePolicyRuleDie
- type PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DeepCopy() *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeed(r flowcontrolv1beta1.PolicyRulesWithSubjects) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeedJSON(j []byte) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeedPtr(r *flowcontrolv1beta1.PolicyRulesWithSubjects) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeedRawExtension(raw runtime.RawExtension) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeedYAML(y []byte) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieFeedYAMLFile(name string) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieImmutable(immutable bool) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieRelease() flowcontrolv1beta1.PolicyRulesWithSubjects
- func (d *PolicyRulesWithSubjectsDie) DieReleaseJSON() []byte
- func (d *PolicyRulesWithSubjectsDie) DieReleasePtr() *flowcontrolv1beta1.PolicyRulesWithSubjects
- func (d *PolicyRulesWithSubjectsDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PolicyRulesWithSubjectsDie) DieReleaseYAML() []byte
- func (d *PolicyRulesWithSubjectsDie) DieStamp(fn func(r *flowcontrolv1beta1.PolicyRulesWithSubjects)) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieStampAt(jp string, fn interface{}) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) DieWith(fns ...func(d *PolicyRulesWithSubjectsDie)) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) NonResourcePolicyRuleDie(rules ...*NonResourcePolicyRuleDie) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) NonResourceRules(v ...flowcontrolv1beta1.NonResourcePolicyRule) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) ResourceRules(v ...flowcontrolv1beta1.ResourcePolicyRule) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) ResourceRulesDie(rules ...*ResourcePolicyRuleDie) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) Subjects(v ...flowcontrolv1beta1.Subject) *PolicyRulesWithSubjectsDie
- func (d *PolicyRulesWithSubjectsDie) SubjectsDie(subjects ...*SubjectDie) *PolicyRulesWithSubjectsDie
- type PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) APIVersion(v string) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DeepCopy() *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DeepCopyObject() runtime.Object
- func (d *PriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfiguration) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfiguration) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieImmutable(immutable bool) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfiguration
- func (d *PriorityLevelConfigurationDie) DieReleaseJSON() []byte
- func (d *PriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfiguration
- func (d *PriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PriorityLevelConfigurationDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *PriorityLevelConfigurationDie) DieReleaseYAML() []byte
- func (d *PriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfiguration)) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) DieWith(fns ...func(d *PriorityLevelConfigurationDie)) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) GetObjectKind() schema.ObjectKind
- func (d *PriorityLevelConfigurationDie) Kind(v string) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) MarshalJSON() ([]byte, error)
- func (d *PriorityLevelConfigurationDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) Spec(v flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) SpecDie(fn func(d *PriorityLevelConfigurationSpecDie)) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) Status(v flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) StatusDie(fn func(d *PriorityLevelConfigurationStatusDie)) *PriorityLevelConfigurationDie
- func (d *PriorityLevelConfigurationDie) UnmarshalJSON(b []byte) error
- type PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DeepCopy() *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationReference) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationReference) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieImmutable(immutable bool) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationReference
- func (d *PriorityLevelConfigurationReferenceDie) DieReleaseJSON() []byte
- func (d *PriorityLevelConfigurationReferenceDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationReference
- func (d *PriorityLevelConfigurationReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PriorityLevelConfigurationReferenceDie) DieReleaseYAML() []byte
- func (d *PriorityLevelConfigurationReferenceDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationReference)) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) DieWith(fns ...func(d *PriorityLevelConfigurationReferenceDie)) *PriorityLevelConfigurationReferenceDie
- func (d *PriorityLevelConfigurationReferenceDie) Name(v string) *PriorityLevelConfigurationReferenceDie
- type PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DeepCopy() *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieImmutable(immutable bool) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationSpec
- func (d *PriorityLevelConfigurationSpecDie) DieReleaseJSON() []byte
- func (d *PriorityLevelConfigurationSpecDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationSpec
- func (d *PriorityLevelConfigurationSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PriorityLevelConfigurationSpecDie) DieReleaseYAML() []byte
- func (d *PriorityLevelConfigurationSpecDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationSpec)) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) DieWith(fns ...func(d *PriorityLevelConfigurationSpecDie)) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) Exempt(v *flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) ExemptDie(fn func(d *ExemptPriorityLevelConfigurationDie)) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) Limited(v *flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) LimitedDie(fn func(d *LimitedPriorityLevelConfigurationDie)) *PriorityLevelConfigurationSpecDie
- func (d *PriorityLevelConfigurationSpecDie) Type(v flowcontrolv1beta1.PriorityLevelEnablement) *PriorityLevelConfigurationSpecDie
- type PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) Conditions(v ...flowcontrolv1beta1.PriorityLevelConfigurationCondition) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DeepCopy() *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieImmutable(immutable bool) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationStatus
- func (d *PriorityLevelConfigurationStatusDie) DieReleaseJSON() []byte
- func (d *PriorityLevelConfigurationStatusDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationStatus
- func (d *PriorityLevelConfigurationStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *PriorityLevelConfigurationStatusDie) DieReleaseYAML() []byte
- func (d *PriorityLevelConfigurationStatusDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationStatus)) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationStatusDie
- func (d *PriorityLevelConfigurationStatusDie) DieWith(fns ...func(d *PriorityLevelConfigurationStatusDie)) *PriorityLevelConfigurationStatusDie
- type QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DeepCopy() *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeed(r flowcontrolv1beta1.QueuingConfiguration) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeedJSON(j []byte) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.QueuingConfiguration) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeedYAML(y []byte) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieFeedYAMLFile(name string) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieImmutable(immutable bool) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieRelease() flowcontrolv1beta1.QueuingConfiguration
- func (d *QueuingConfigurationDie) DieReleaseJSON() []byte
- func (d *QueuingConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.QueuingConfiguration
- func (d *QueuingConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *QueuingConfigurationDie) DieReleaseYAML() []byte
- func (d *QueuingConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.QueuingConfiguration)) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieStampAt(jp string, fn interface{}) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) DieWith(fns ...func(d *QueuingConfigurationDie)) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) HandSize(v int32) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) QueueLengthLimit(v int32) *QueuingConfigurationDie
- func (d *QueuingConfigurationDie) Queues(v int32) *QueuingConfigurationDie
- type ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) APIGroups(v ...string) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) ClusterScope(v bool) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DeepCopy() *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeed(r flowcontrolv1beta1.ResourcePolicyRule) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeedJSON(j []byte) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeedPtr(r *flowcontrolv1beta1.ResourcePolicyRule) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeedYAML(y []byte) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieFeedYAMLFile(name string) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieImmutable(immutable bool) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieRelease() flowcontrolv1beta1.ResourcePolicyRule
- func (d *ResourcePolicyRuleDie) DieReleaseJSON() []byte
- func (d *ResourcePolicyRuleDie) DieReleasePtr() *flowcontrolv1beta1.ResourcePolicyRule
- func (d *ResourcePolicyRuleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ResourcePolicyRuleDie) DieReleaseYAML() []byte
- func (d *ResourcePolicyRuleDie) DieStamp(fn func(r *flowcontrolv1beta1.ResourcePolicyRule)) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieStampAt(jp string, fn interface{}) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) DieWith(fns ...func(d *ResourcePolicyRuleDie)) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) Namespaces(v ...string) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) Resources(v ...string) *ResourcePolicyRuleDie
- func (d *ResourcePolicyRuleDie) Verbs(v ...string) *ResourcePolicyRuleDie
- type ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DeepCopy() *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeed(r flowcontrolv1beta1.ServiceAccountSubject) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeedJSON(j []byte) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.ServiceAccountSubject) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeedYAML(y []byte) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieFeedYAMLFile(name string) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieImmutable(immutable bool) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieRelease() flowcontrolv1beta1.ServiceAccountSubject
- func (d *ServiceAccountSubjectDie) DieReleaseJSON() []byte
- func (d *ServiceAccountSubjectDie) DieReleasePtr() *flowcontrolv1beta1.ServiceAccountSubject
- func (d *ServiceAccountSubjectDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceAccountSubjectDie) DieReleaseYAML() []byte
- func (d *ServiceAccountSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.ServiceAccountSubject)) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieStampAt(jp string, fn interface{}) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) DieWith(fns ...func(d *ServiceAccountSubjectDie)) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) Name(v string) *ServiceAccountSubjectDie
- func (d *ServiceAccountSubjectDie) Namespace(v string) *ServiceAccountSubjectDie
- type SubjectDie
- func (d *SubjectDie) DeepCopy() *SubjectDie
- func (d *SubjectDie) DieFeed(r flowcontrolv1beta1.Subject) *SubjectDie
- func (d *SubjectDie) DieFeedJSON(j []byte) *SubjectDie
- func (d *SubjectDie) DieFeedPtr(r *flowcontrolv1beta1.Subject) *SubjectDie
- func (d *SubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *SubjectDie
- func (d *SubjectDie) DieFeedYAML(y []byte) *SubjectDie
- func (d *SubjectDie) DieFeedYAMLFile(name string) *SubjectDie
- func (d *SubjectDie) DieImmutable(immutable bool) *SubjectDie
- func (d *SubjectDie) DieRelease() flowcontrolv1beta1.Subject
- func (d *SubjectDie) DieReleaseJSON() []byte
- func (d *SubjectDie) DieReleasePtr() *flowcontrolv1beta1.Subject
- func (d *SubjectDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *SubjectDie) DieReleaseYAML() []byte
- func (d *SubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.Subject)) *SubjectDie
- func (d *SubjectDie) DieStampAt(jp string, fn interface{}) *SubjectDie
- func (d *SubjectDie) DieWith(fns ...func(d *SubjectDie)) *SubjectDie
- func (d *SubjectDie) Group(v *flowcontrolv1beta1.GroupSubject) *SubjectDie
- func (d *SubjectDie) GroupDie(fn func(d *GroupSubjectDie)) *SubjectDie
- func (d *SubjectDie) Kind(v flowcontrolv1beta1.SubjectKind) *SubjectDie
- func (d *SubjectDie) ServiceAccount(v *flowcontrolv1beta1.ServiceAccountSubject) *SubjectDie
- func (d *SubjectDie) ServiceAccountDie(fn func(d *ServiceAccountSubjectDie)) *SubjectDie
- func (d *SubjectDie) User(v *flowcontrolv1beta1.UserSubject) *SubjectDie
- func (d *SubjectDie) UserDie(fn func(d *UserSubjectDie)) *SubjectDie
- type UserSubjectDie
- func (d *UserSubjectDie) DeepCopy() *UserSubjectDie
- func (d *UserSubjectDie) DieFeed(r flowcontrolv1beta1.UserSubject) *UserSubjectDie
- func (d *UserSubjectDie) DieFeedJSON(j []byte) *UserSubjectDie
- func (d *UserSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.UserSubject) *UserSubjectDie
- func (d *UserSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *UserSubjectDie
- func (d *UserSubjectDie) DieFeedYAML(y []byte) *UserSubjectDie
- func (d *UserSubjectDie) DieFeedYAMLFile(name string) *UserSubjectDie
- func (d *UserSubjectDie) DieImmutable(immutable bool) *UserSubjectDie
- func (d *UserSubjectDie) DieRelease() flowcontrolv1beta1.UserSubject
- func (d *UserSubjectDie) DieReleaseJSON() []byte
- func (d *UserSubjectDie) DieReleasePtr() *flowcontrolv1beta1.UserSubject
- func (d *UserSubjectDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *UserSubjectDie) DieReleaseYAML() []byte
- func (d *UserSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.UserSubject)) *UserSubjectDie
- func (d *UserSubjectDie) DieStampAt(jp string, fn interface{}) *UserSubjectDie
- func (d *UserSubjectDie) DieWith(fns ...func(d *UserSubjectDie)) *UserSubjectDie
- func (d *UserSubjectDie) Name(v string) *UserSubjectDie
Constants ¶
This section is empty.
Variables ¶
var ExemptPriorityLevelConfigurationBlank = (&ExemptPriorityLevelConfigurationDie{}).DieFeed(flowcontrolv1beta1.ExemptPriorityLevelConfiguration{})
var FlowDistinguisherMethodBlank = (&FlowDistinguisherMethodDie{}).DieFeed(flowcontrolv1beta1.FlowDistinguisherMethod{})
var FlowSchemaBlank = (&FlowSchemaDie{}).DieFeed(flowcontrolv1beta1.FlowSchema{})
var FlowSchemaSpecBlank = (&FlowSchemaSpecDie{}).DieFeed(flowcontrolv1beta1.FlowSchemaSpec{})
var FlowSchemaStatusBlank = (&FlowSchemaStatusDie{}).DieFeed(flowcontrolv1beta1.FlowSchemaStatus{})
var GroupSubjectBlank = (&GroupSubjectDie{}).DieFeed(flowcontrolv1beta1.GroupSubject{})
var LimitResponseBlank = (&LimitResponseDie{}).DieFeed(flowcontrolv1beta1.LimitResponse{})
var LimitedPriorityLevelConfigurationBlank = (&LimitedPriorityLevelConfigurationDie{}).DieFeed(flowcontrolv1beta1.LimitedPriorityLevelConfiguration{})
var NonResourcePolicyRuleBlank = (&NonResourcePolicyRuleDie{}).DieFeed(flowcontrolv1beta1.NonResourcePolicyRule{})
var PolicyRulesWithSubjectsBlank = (&PolicyRulesWithSubjectsDie{}).DieFeed(flowcontrolv1beta1.PolicyRulesWithSubjects{})
var PriorityLevelConfigurationBlank = (&PriorityLevelConfigurationDie{}).DieFeed(flowcontrolv1beta1.PriorityLevelConfiguration{})
var PriorityLevelConfigurationReferenceBlank = (&PriorityLevelConfigurationReferenceDie{}).DieFeed(flowcontrolv1beta1.PriorityLevelConfigurationReference{})
var PriorityLevelConfigurationSpecBlank = (&PriorityLevelConfigurationSpecDie{}).DieFeed(flowcontrolv1beta1.PriorityLevelConfigurationSpec{})
var PriorityLevelConfigurationStatusBlank = (&PriorityLevelConfigurationStatusDie{}).DieFeed(flowcontrolv1beta1.PriorityLevelConfigurationStatus{})
var QueuingConfigurationBlank = (&QueuingConfigurationDie{}).DieFeed(flowcontrolv1beta1.QueuingConfiguration{})
var ResourcePolicyRuleBlank = (&ResourcePolicyRuleDie{}).DieFeed(flowcontrolv1beta1.ResourcePolicyRule{})
var ServiceAccountSubjectBlank = (&ServiceAccountSubjectDie{}).DieFeed(flowcontrolv1beta1.ServiceAccountSubject{})
var SubjectBlank = (&SubjectDie{}).DieFeed(flowcontrolv1beta1.Subject{})
var UserSubjectBlank = (&UserSubjectDie{}).DieFeed(flowcontrolv1beta1.UserSubject{})
Functions ¶
This section is empty.
Types ¶
type ExemptPriorityLevelConfigurationDie ¶
type ExemptPriorityLevelConfigurationDie struct {
// contains filtered or unexported fields
}
func (*ExemptPriorityLevelConfigurationDie) DeepCopy ¶
func (d *ExemptPriorityLevelConfigurationDie) DeepCopy() *ExemptPriorityLevelConfigurationDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ExemptPriorityLevelConfigurationDie) DieFeed ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *ExemptPriorityLevelConfigurationDie
DieFeed returns a new die with the provided resource.
func (*ExemptPriorityLevelConfigurationDie) DieFeedJSON ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeedJSON(j []byte) *ExemptPriorityLevelConfigurationDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieFeedPtr ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *ExemptPriorityLevelConfigurationDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ExemptPriorityLevelConfigurationDie) DieFeedRawExtension ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *ExemptPriorityLevelConfigurationDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieFeedYAML ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeedYAML(y []byte) *ExemptPriorityLevelConfigurationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieFeedYAMLFile ¶
func (d *ExemptPriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *ExemptPriorityLevelConfigurationDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieImmutable ¶
func (d *ExemptPriorityLevelConfigurationDie) DieImmutable(immutable bool) *ExemptPriorityLevelConfigurationDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ExemptPriorityLevelConfigurationDie) DieRelease ¶
func (d *ExemptPriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.ExemptPriorityLevelConfiguration
DieRelease returns the resource managed by the die.
func (*ExemptPriorityLevelConfigurationDie) DieReleaseJSON ¶
func (d *ExemptPriorityLevelConfigurationDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieReleasePtr ¶
func (d *ExemptPriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.ExemptPriorityLevelConfiguration
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ExemptPriorityLevelConfigurationDie) DieReleaseRawExtension ¶
func (d *ExemptPriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieReleaseYAML ¶
func (d *ExemptPriorityLevelConfigurationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ExemptPriorityLevelConfigurationDie) DieStamp ¶
func (d *ExemptPriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.ExemptPriorityLevelConfiguration)) *ExemptPriorityLevelConfigurationDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ExemptPriorityLevelConfigurationDie) DieStampAt ¶
func (d *ExemptPriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *ExemptPriorityLevelConfigurationDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ExemptPriorityLevelConfigurationDie) DieWith ¶
func (d *ExemptPriorityLevelConfigurationDie) DieWith(fns ...func(d *ExemptPriorityLevelConfigurationDie)) *ExemptPriorityLevelConfigurationDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ExemptPriorityLevelConfigurationDie) LendablePercent ¶
func (d *ExemptPriorityLevelConfigurationDie) LendablePercent(v *int32) *ExemptPriorityLevelConfigurationDie
`lendablePercent` prescribes the fraction of the level's NominalCL that
can be borrowed by other priority levels. This value of this
field must be between 0 and 100, inclusive, and it defaults to 0.
The number of seats that other levels can borrow from this level, known ¶
as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )
func (*ExemptPriorityLevelConfigurationDie) NominalConcurrencyShares ¶
func (d *ExemptPriorityLevelConfigurationDie) NominalConcurrencyShares(v *int32) *ExemptPriorityLevelConfigurationDie
`nominalConcurrencyShares` (NCS) contributes to the computation of the
NominalConcurrencyLimit (NominalCL) of this level.
This is the number of execution seats nominally reserved for this priority level.
This DOES NOT limit the dispatching from this priority level ¶
but affects the other priority levels through the borrowing mechanism.
The server's concurrency limit (ServerCL) is divided among all the ¶
priority levels in proportion to their NCS values:
NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs )
sum_ncs = sum[priority level k] NCS(k)
Bigger numbers mean a larger nominal concurrency limit,
at the expense of every other priority level.
This field has a default value of zero.
type FlowDistinguisherMethodDie ¶
type FlowDistinguisherMethodDie struct {
// contains filtered or unexported fields
}
func (*FlowDistinguisherMethodDie) DeepCopy ¶
func (d *FlowDistinguisherMethodDie) DeepCopy() *FlowDistinguisherMethodDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlowDistinguisherMethodDie) DieFeed ¶
func (d *FlowDistinguisherMethodDie) DieFeed(r flowcontrolv1beta1.FlowDistinguisherMethod) *FlowDistinguisherMethodDie
DieFeed returns a new die with the provided resource.
func (*FlowDistinguisherMethodDie) DieFeedJSON ¶
func (d *FlowDistinguisherMethodDie) DieFeedJSON(j []byte) *FlowDistinguisherMethodDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlowDistinguisherMethodDie) DieFeedPtr ¶
func (d *FlowDistinguisherMethodDie) DieFeedPtr(r *flowcontrolv1beta1.FlowDistinguisherMethod) *FlowDistinguisherMethodDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlowDistinguisherMethodDie) DieFeedRawExtension ¶
func (d *FlowDistinguisherMethodDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowDistinguisherMethodDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowDistinguisherMethodDie) DieFeedYAML ¶
func (d *FlowDistinguisherMethodDie) DieFeedYAML(y []byte) *FlowDistinguisherMethodDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlowDistinguisherMethodDie) DieFeedYAMLFile ¶
func (d *FlowDistinguisherMethodDie) DieFeedYAMLFile(name string) *FlowDistinguisherMethodDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlowDistinguisherMethodDie) DieImmutable ¶
func (d *FlowDistinguisherMethodDie) DieImmutable(immutable bool) *FlowDistinguisherMethodDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlowDistinguisherMethodDie) DieRelease ¶
func (d *FlowDistinguisherMethodDie) DieRelease() flowcontrolv1beta1.FlowDistinguisherMethod
DieRelease returns the resource managed by the die.
func (*FlowDistinguisherMethodDie) DieReleaseJSON ¶
func (d *FlowDistinguisherMethodDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlowDistinguisherMethodDie) DieReleasePtr ¶
func (d *FlowDistinguisherMethodDie) DieReleasePtr() *flowcontrolv1beta1.FlowDistinguisherMethod
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlowDistinguisherMethodDie) DieReleaseRawExtension ¶
func (d *FlowDistinguisherMethodDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowDistinguisherMethodDie) DieReleaseYAML ¶
func (d *FlowDistinguisherMethodDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlowDistinguisherMethodDie) DieStamp ¶
func (d *FlowDistinguisherMethodDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowDistinguisherMethod)) *FlowDistinguisherMethodDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlowDistinguisherMethodDie) DieStampAt ¶
func (d *FlowDistinguisherMethodDie) DieStampAt(jp string, fn interface{}) *FlowDistinguisherMethodDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlowDistinguisherMethodDie) DieWith ¶
func (d *FlowDistinguisherMethodDie) DieWith(fns ...func(d *FlowDistinguisherMethodDie)) *FlowDistinguisherMethodDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FlowDistinguisherMethodDie) Type ¶
func (d *FlowDistinguisherMethodDie) Type(v flowcontrolv1beta1.FlowDistinguisherMethodType) *FlowDistinguisherMethodDie
`type` is the type of flow distinguisher method
The supported types are "ByUser" and "ByNamespace".
Required.
type FlowSchemaDie ¶
type FlowSchemaDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*FlowSchemaDie) APIVersion ¶
func (d *FlowSchemaDie) APIVersion(v string) *FlowSchemaDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*FlowSchemaDie) DeepCopy ¶
func (d *FlowSchemaDie) DeepCopy() *FlowSchemaDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlowSchemaDie) DeepCopyObject ¶
func (d *FlowSchemaDie) DeepCopyObject() runtime.Object
func (*FlowSchemaDie) DieFeed ¶
func (d *FlowSchemaDie) DieFeed(r flowcontrolv1beta1.FlowSchema) *FlowSchemaDie
DieFeed returns a new die with the provided resource.
func (*FlowSchemaDie) DieFeedJSON ¶
func (d *FlowSchemaDie) DieFeedJSON(j []byte) *FlowSchemaDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlowSchemaDie) DieFeedPtr ¶
func (d *FlowSchemaDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchema) *FlowSchemaDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlowSchemaDie) DieFeedRawExtension ¶
func (d *FlowSchemaDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaDie) DieFeedYAML ¶
func (d *FlowSchemaDie) DieFeedYAML(y []byte) *FlowSchemaDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlowSchemaDie) DieFeedYAMLFile ¶
func (d *FlowSchemaDie) DieFeedYAMLFile(name string) *FlowSchemaDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlowSchemaDie) DieImmutable ¶
func (d *FlowSchemaDie) DieImmutable(immutable bool) *FlowSchemaDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlowSchemaDie) DieRelease ¶
func (d *FlowSchemaDie) DieRelease() flowcontrolv1beta1.FlowSchema
DieRelease returns the resource managed by the die.
func (*FlowSchemaDie) DieReleaseJSON ¶
func (d *FlowSchemaDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlowSchemaDie) DieReleasePtr ¶
func (d *FlowSchemaDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchema
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlowSchemaDie) DieReleaseRawExtension ¶
func (d *FlowSchemaDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaDie) DieReleaseUnstructured ¶
func (d *FlowSchemaDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*FlowSchemaDie) DieReleaseYAML ¶
func (d *FlowSchemaDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlowSchemaDie) DieStamp ¶
func (d *FlowSchemaDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchema)) *FlowSchemaDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlowSchemaDie) DieStampAt ¶
func (d *FlowSchemaDie) DieStampAt(jp string, fn interface{}) *FlowSchemaDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlowSchemaDie) DieWith ¶
func (d *FlowSchemaDie) DieWith(fns ...func(d *FlowSchemaDie)) *FlowSchemaDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FlowSchemaDie) GetObjectKind ¶
func (d *FlowSchemaDie) GetObjectKind() schema.ObjectKind
func (*FlowSchemaDie) Kind ¶
func (d *FlowSchemaDie) Kind(v string) *FlowSchemaDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*FlowSchemaDie) MarshalJSON ¶
func (d *FlowSchemaDie) MarshalJSON() ([]byte, error)
func (*FlowSchemaDie) MetadataDie ¶
func (d *FlowSchemaDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *FlowSchemaDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*FlowSchemaDie) Spec ¶
func (d *FlowSchemaDie) Spec(v flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaDie
`spec` is the specification of the desired behavior of a FlowSchema.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*FlowSchemaDie) SpecDie ¶
func (d *FlowSchemaDie) SpecDie(fn func(d *FlowSchemaSpecDie)) *FlowSchemaDie
SpecDie stamps the resource's spec field with a mutable die.
func (*FlowSchemaDie) Status ¶
func (d *FlowSchemaDie) Status(v flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaDie
`status` is the current status of a FlowSchema.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*FlowSchemaDie) StatusDie ¶
func (d *FlowSchemaDie) StatusDie(fn func(d *FlowSchemaStatusDie)) *FlowSchemaDie
StatusDie stamps the resource's status field with a mutable die.
func (*FlowSchemaDie) UnmarshalJSON ¶
func (d *FlowSchemaDie) UnmarshalJSON(b []byte) error
type FlowSchemaSpecDie ¶
type FlowSchemaSpecDie struct {
// contains filtered or unexported fields
}
func (*FlowSchemaSpecDie) DeepCopy ¶
func (d *FlowSchemaSpecDie) DeepCopy() *FlowSchemaSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlowSchemaSpecDie) DieFeed ¶
func (d *FlowSchemaSpecDie) DieFeed(r flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaSpecDie
DieFeed returns a new die with the provided resource.
func (*FlowSchemaSpecDie) DieFeedJSON ¶
func (d *FlowSchemaSpecDie) DieFeedJSON(j []byte) *FlowSchemaSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlowSchemaSpecDie) DieFeedPtr ¶
func (d *FlowSchemaSpecDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchemaSpec) *FlowSchemaSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlowSchemaSpecDie) DieFeedRawExtension ¶
func (d *FlowSchemaSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaSpecDie) DieFeedYAML ¶
func (d *FlowSchemaSpecDie) DieFeedYAML(y []byte) *FlowSchemaSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlowSchemaSpecDie) DieFeedYAMLFile ¶
func (d *FlowSchemaSpecDie) DieFeedYAMLFile(name string) *FlowSchemaSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlowSchemaSpecDie) DieImmutable ¶
func (d *FlowSchemaSpecDie) DieImmutable(immutable bool) *FlowSchemaSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlowSchemaSpecDie) DieRelease ¶
func (d *FlowSchemaSpecDie) DieRelease() flowcontrolv1beta1.FlowSchemaSpec
DieRelease returns the resource managed by the die.
func (*FlowSchemaSpecDie) DieReleaseJSON ¶
func (d *FlowSchemaSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlowSchemaSpecDie) DieReleasePtr ¶
func (d *FlowSchemaSpecDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchemaSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlowSchemaSpecDie) DieReleaseRawExtension ¶
func (d *FlowSchemaSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaSpecDie) DieReleaseYAML ¶
func (d *FlowSchemaSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlowSchemaSpecDie) DieStamp ¶
func (d *FlowSchemaSpecDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchemaSpec)) *FlowSchemaSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlowSchemaSpecDie) DieStampAt ¶
func (d *FlowSchemaSpecDie) DieStampAt(jp string, fn interface{}) *FlowSchemaSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlowSchemaSpecDie) DieWith ¶
func (d *FlowSchemaSpecDie) DieWith(fns ...func(d *FlowSchemaSpecDie)) *FlowSchemaSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*FlowSchemaSpecDie) DistinguisherMethod ¶
func (d *FlowSchemaSpecDie) DistinguisherMethod(v *flowcontrolv1beta1.FlowDistinguisherMethod) *FlowSchemaSpecDie
`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema.
`nil` specifies that the distinguisher is disabled and thus will always be the empty string.
func (*FlowSchemaSpecDie) DistinguisherMethodDie ¶
func (d *FlowSchemaSpecDie) DistinguisherMethodDie(fn func(d *FlowDistinguisherMethodDie)) *FlowSchemaSpecDie
func (*FlowSchemaSpecDie) MatchingPrecedence ¶
func (d *FlowSchemaSpecDie) MatchingPrecedence(v int32) *FlowSchemaSpecDie
`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen
FlowSchema is among those with the numerically lowest (which we take to be logically highest)
MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000].
Note that if the precedence is not specified, it will be set to 1000 as default.
func (*FlowSchemaSpecDie) PriorityLevelConfiguration ¶
func (d *FlowSchemaSpecDie) PriorityLevelConfiguration(v flowcontrolv1beta1.PriorityLevelConfigurationReference) *FlowSchemaSpecDie
`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot
be resolved, the FlowSchema will be ignored and marked as invalid in its status.
Required.
func (*FlowSchemaSpecDie) PriorityLevelConfigurationDie ¶
func (d *FlowSchemaSpecDie) PriorityLevelConfigurationDie(fn func(d *PriorityLevelConfigurationReferenceDie)) *FlowSchemaSpecDie
func (*FlowSchemaSpecDie) Rules ¶
func (d *FlowSchemaSpecDie) Rules(v ...flowcontrolv1beta1.PolicyRulesWithSubjects) *FlowSchemaSpecDie
`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if
at least one member of rules matches the request.
if it is an empty slice, there will be no requests matching the FlowSchema.
func (*FlowSchemaSpecDie) RulesDie ¶
func (d *FlowSchemaSpecDie) RulesDie(rules ...*PolicyRulesWithSubjectsDie) *FlowSchemaSpecDie
type FlowSchemaStatusDie ¶
type FlowSchemaStatusDie struct {
// contains filtered or unexported fields
}
func (*FlowSchemaStatusDie) Conditions ¶
func (d *FlowSchemaStatusDie) Conditions(v ...flowcontrolv1beta1.FlowSchemaCondition) *FlowSchemaStatusDie
`conditions` is a list of the current states of FlowSchema.
func (*FlowSchemaStatusDie) ConditionsDie ¶
func (d *FlowSchemaStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *FlowSchemaStatusDie
func (*FlowSchemaStatusDie) DeepCopy ¶
func (d *FlowSchemaStatusDie) DeepCopy() *FlowSchemaStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*FlowSchemaStatusDie) DieFeed ¶
func (d *FlowSchemaStatusDie) DieFeed(r flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaStatusDie
DieFeed returns a new die with the provided resource.
func (*FlowSchemaStatusDie) DieFeedJSON ¶
func (d *FlowSchemaStatusDie) DieFeedJSON(j []byte) *FlowSchemaStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*FlowSchemaStatusDie) DieFeedPtr ¶
func (d *FlowSchemaStatusDie) DieFeedPtr(r *flowcontrolv1beta1.FlowSchemaStatus) *FlowSchemaStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*FlowSchemaStatusDie) DieFeedRawExtension ¶
func (d *FlowSchemaStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *FlowSchemaStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaStatusDie) DieFeedYAML ¶
func (d *FlowSchemaStatusDie) DieFeedYAML(y []byte) *FlowSchemaStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*FlowSchemaStatusDie) DieFeedYAMLFile ¶
func (d *FlowSchemaStatusDie) DieFeedYAMLFile(name string) *FlowSchemaStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*FlowSchemaStatusDie) DieImmutable ¶
func (d *FlowSchemaStatusDie) DieImmutable(immutable bool) *FlowSchemaStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*FlowSchemaStatusDie) DieRelease ¶
func (d *FlowSchemaStatusDie) DieRelease() flowcontrolv1beta1.FlowSchemaStatus
DieRelease returns the resource managed by the die.
func (*FlowSchemaStatusDie) DieReleaseJSON ¶
func (d *FlowSchemaStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*FlowSchemaStatusDie) DieReleasePtr ¶
func (d *FlowSchemaStatusDie) DieReleasePtr() *flowcontrolv1beta1.FlowSchemaStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*FlowSchemaStatusDie) DieReleaseRawExtension ¶
func (d *FlowSchemaStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*FlowSchemaStatusDie) DieReleaseYAML ¶
func (d *FlowSchemaStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*FlowSchemaStatusDie) DieStamp ¶
func (d *FlowSchemaStatusDie) DieStamp(fn func(r *flowcontrolv1beta1.FlowSchemaStatus)) *FlowSchemaStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*FlowSchemaStatusDie) DieStampAt ¶
func (d *FlowSchemaStatusDie) DieStampAt(jp string, fn interface{}) *FlowSchemaStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*FlowSchemaStatusDie) DieWith ¶
func (d *FlowSchemaStatusDie) DieWith(fns ...func(d *FlowSchemaStatusDie)) *FlowSchemaStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type GroupSubjectDie ¶
type GroupSubjectDie struct {
// contains filtered or unexported fields
}
func (*GroupSubjectDie) DeepCopy ¶
func (d *GroupSubjectDie) DeepCopy() *GroupSubjectDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*GroupSubjectDie) DieFeed ¶
func (d *GroupSubjectDie) DieFeed(r flowcontrolv1beta1.GroupSubject) *GroupSubjectDie
DieFeed returns a new die with the provided resource.
func (*GroupSubjectDie) DieFeedJSON ¶
func (d *GroupSubjectDie) DieFeedJSON(j []byte) *GroupSubjectDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*GroupSubjectDie) DieFeedPtr ¶
func (d *GroupSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.GroupSubject) *GroupSubjectDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*GroupSubjectDie) DieFeedRawExtension ¶
func (d *GroupSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *GroupSubjectDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupSubjectDie) DieFeedYAML ¶
func (d *GroupSubjectDie) DieFeedYAML(y []byte) *GroupSubjectDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*GroupSubjectDie) DieFeedYAMLFile ¶
func (d *GroupSubjectDie) DieFeedYAMLFile(name string) *GroupSubjectDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*GroupSubjectDie) DieImmutable ¶
func (d *GroupSubjectDie) DieImmutable(immutable bool) *GroupSubjectDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*GroupSubjectDie) DieRelease ¶
func (d *GroupSubjectDie) DieRelease() flowcontrolv1beta1.GroupSubject
DieRelease returns the resource managed by the die.
func (*GroupSubjectDie) DieReleaseJSON ¶
func (d *GroupSubjectDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*GroupSubjectDie) DieReleasePtr ¶
func (d *GroupSubjectDie) DieReleasePtr() *flowcontrolv1beta1.GroupSubject
DieReleasePtr returns a pointer to the resource managed by the die.
func (*GroupSubjectDie) DieReleaseRawExtension ¶
func (d *GroupSubjectDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*GroupSubjectDie) DieReleaseYAML ¶
func (d *GroupSubjectDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*GroupSubjectDie) DieStamp ¶
func (d *GroupSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.GroupSubject)) *GroupSubjectDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*GroupSubjectDie) DieStampAt ¶
func (d *GroupSubjectDie) DieStampAt(jp string, fn interface{}) *GroupSubjectDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*GroupSubjectDie) DieWith ¶
func (d *GroupSubjectDie) DieWith(fns ...func(d *GroupSubjectDie)) *GroupSubjectDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*GroupSubjectDie) Name ¶
func (d *GroupSubjectDie) Name(v string) *GroupSubjectDie
name is the user group that matches, or "*" to match all user groups.
See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some
well-known group names.
Required.
type LimitResponseDie ¶
type LimitResponseDie struct {
// contains filtered or unexported fields
}
func (*LimitResponseDie) DeepCopy ¶
func (d *LimitResponseDie) DeepCopy() *LimitResponseDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LimitResponseDie) DieFeed ¶
func (d *LimitResponseDie) DieFeed(r flowcontrolv1beta1.LimitResponse) *LimitResponseDie
DieFeed returns a new die with the provided resource.
func (*LimitResponseDie) DieFeedJSON ¶
func (d *LimitResponseDie) DieFeedJSON(j []byte) *LimitResponseDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LimitResponseDie) DieFeedPtr ¶
func (d *LimitResponseDie) DieFeedPtr(r *flowcontrolv1beta1.LimitResponse) *LimitResponseDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LimitResponseDie) DieFeedRawExtension ¶
func (d *LimitResponseDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitResponseDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitResponseDie) DieFeedYAML ¶
func (d *LimitResponseDie) DieFeedYAML(y []byte) *LimitResponseDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitResponseDie) DieFeedYAMLFile ¶
func (d *LimitResponseDie) DieFeedYAMLFile(name string) *LimitResponseDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LimitResponseDie) DieImmutable ¶
func (d *LimitResponseDie) DieImmutable(immutable bool) *LimitResponseDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LimitResponseDie) DieRelease ¶
func (d *LimitResponseDie) DieRelease() flowcontrolv1beta1.LimitResponse
DieRelease returns the resource managed by the die.
func (*LimitResponseDie) DieReleaseJSON ¶
func (d *LimitResponseDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LimitResponseDie) DieReleasePtr ¶
func (d *LimitResponseDie) DieReleasePtr() *flowcontrolv1beta1.LimitResponse
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LimitResponseDie) DieReleaseRawExtension ¶
func (d *LimitResponseDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitResponseDie) DieReleaseYAML ¶
func (d *LimitResponseDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitResponseDie) DieStamp ¶
func (d *LimitResponseDie) DieStamp(fn func(r *flowcontrolv1beta1.LimitResponse)) *LimitResponseDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LimitResponseDie) DieStampAt ¶
func (d *LimitResponseDie) DieStampAt(jp string, fn interface{}) *LimitResponseDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LimitResponseDie) DieWith ¶
func (d *LimitResponseDie) DieWith(fns ...func(d *LimitResponseDie)) *LimitResponseDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LimitResponseDie) Queuing ¶
func (d *LimitResponseDie) Queuing(v *flowcontrolv1beta1.QueuingConfiguration) *LimitResponseDie
`queuing` holds the configuration parameters for queuing.
This field may be non-empty only if `type` is `"Queue"`.
func (*LimitResponseDie) QueuingDie ¶
func (d *LimitResponseDie) QueuingDie(fn func(d *QueuingConfigurationDie)) *LimitResponseDie
func (*LimitResponseDie) Type ¶
func (d *LimitResponseDie) Type(v flowcontrolv1beta1.LimitResponseType) *LimitResponseDie
`type` is "Queue" or "Reject".
"Queue" means that requests that can not be executed upon arrival
are held in a queue until they can be executed or a queuing limit
is reached.
"Reject" means that requests that can not be executed upon arrival
are rejected.
Required.
type LimitedPriorityLevelConfigurationDie ¶
type LimitedPriorityLevelConfigurationDie struct {
// contains filtered or unexported fields
}
func (*LimitedPriorityLevelConfigurationDie) AssuredConcurrencyShares ¶
func (d *LimitedPriorityLevelConfigurationDie) AssuredConcurrencyShares(v int32) *LimitedPriorityLevelConfigurationDie
`assuredConcurrencyShares` (ACS) configures the execution
limit, which is a limit on the number of requests of this
priority level that may be executing at a given time. ACS must
be a positive number. The server's concurrency limit (SCL) is
divided among the concurrency-controlled priority levels in
proportion to their assured concurrency shares. This produces
the assured concurrency value (ACV) --- the number of requests
that may be executing at a time --- for each such priority
level:
ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )
bigger numbers of ACS mean more reserved concurrent requests (at the
expense of every other PL).
This field has a default value of 30.
func (*LimitedPriorityLevelConfigurationDie) BorrowingLimitPercent ¶
func (d *LimitedPriorityLevelConfigurationDie) BorrowingLimitPercent(v *int32) *LimitedPriorityLevelConfigurationDie
`borrowingLimitPercent`, if present, configures a limit on how many
seats this priority level can borrow from other priority levels.
The limit is known as this level's BorrowingConcurrencyLimit ¶
(BorrowingCL) and is a limit on the total number of seats that this
level may borrow at any one time.
This field holds the ratio of that limit to the level's nominal ¶
concurrency limit. When this field is non-nil, it must hold a
non-negative integer and the limit is calculated as follows.
BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )
The value of this field can be more than 100, implying that this ¶
priority level can borrow a number of seats that is greater than
its own nominal concurrency limit (NominalCL).
When this field is left `nil`, the limit is effectively infinite.
func (*LimitedPriorityLevelConfigurationDie) DeepCopy ¶
func (d *LimitedPriorityLevelConfigurationDie) DeepCopy() *LimitedPriorityLevelConfigurationDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*LimitedPriorityLevelConfigurationDie) DieFeed ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *LimitedPriorityLevelConfigurationDie
DieFeed returns a new die with the provided resource.
func (*LimitedPriorityLevelConfigurationDie) DieFeedJSON ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeedJSON(j []byte) *LimitedPriorityLevelConfigurationDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieFeedPtr ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *LimitedPriorityLevelConfigurationDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*LimitedPriorityLevelConfigurationDie) DieFeedRawExtension ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *LimitedPriorityLevelConfigurationDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieFeedYAML ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeedYAML(y []byte) *LimitedPriorityLevelConfigurationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieFeedYAMLFile ¶
func (d *LimitedPriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *LimitedPriorityLevelConfigurationDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieImmutable ¶
func (d *LimitedPriorityLevelConfigurationDie) DieImmutable(immutable bool) *LimitedPriorityLevelConfigurationDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*LimitedPriorityLevelConfigurationDie) DieRelease ¶
func (d *LimitedPriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.LimitedPriorityLevelConfiguration
DieRelease returns the resource managed by the die.
func (*LimitedPriorityLevelConfigurationDie) DieReleaseJSON ¶
func (d *LimitedPriorityLevelConfigurationDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieReleasePtr ¶
func (d *LimitedPriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.LimitedPriorityLevelConfiguration
DieReleasePtr returns a pointer to the resource managed by the die.
func (*LimitedPriorityLevelConfigurationDie) DieReleaseRawExtension ¶
func (d *LimitedPriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieReleaseYAML ¶
func (d *LimitedPriorityLevelConfigurationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*LimitedPriorityLevelConfigurationDie) DieStamp ¶
func (d *LimitedPriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.LimitedPriorityLevelConfiguration)) *LimitedPriorityLevelConfigurationDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*LimitedPriorityLevelConfigurationDie) DieStampAt ¶
func (d *LimitedPriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *LimitedPriorityLevelConfigurationDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*LimitedPriorityLevelConfigurationDie) DieWith ¶
func (d *LimitedPriorityLevelConfigurationDie) DieWith(fns ...func(d *LimitedPriorityLevelConfigurationDie)) *LimitedPriorityLevelConfigurationDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*LimitedPriorityLevelConfigurationDie) LendablePercent ¶
func (d *LimitedPriorityLevelConfigurationDie) LendablePercent(v *int32) *LimitedPriorityLevelConfigurationDie
`lendablePercent` prescribes the fraction of the level's NominalCL that
can be borrowed by other priority levels. The value of this
field must be between 0 and 100, inclusive, and it defaults to 0.
The number of seats that other levels can borrow from this level, known ¶
as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.
LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )
func (*LimitedPriorityLevelConfigurationDie) LimitResponse ¶
func (d *LimitedPriorityLevelConfigurationDie) LimitResponse(v flowcontrolv1beta1.LimitResponse) *LimitedPriorityLevelConfigurationDie
`limitResponse` indicates what to do with requests that can not be executed right now
func (*LimitedPriorityLevelConfigurationDie) LimitResponseDie ¶
func (d *LimitedPriorityLevelConfigurationDie) LimitResponseDie(fn func(d *LimitResponseDie)) *LimitedPriorityLevelConfigurationDie
type NonResourcePolicyRuleDie ¶
type NonResourcePolicyRuleDie struct {
// contains filtered or unexported fields
}
func (*NonResourcePolicyRuleDie) DeepCopy ¶
func (d *NonResourcePolicyRuleDie) DeepCopy() *NonResourcePolicyRuleDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NonResourcePolicyRuleDie) DieFeed ¶
func (d *NonResourcePolicyRuleDie) DieFeed(r flowcontrolv1beta1.NonResourcePolicyRule) *NonResourcePolicyRuleDie
DieFeed returns a new die with the provided resource.
func (*NonResourcePolicyRuleDie) DieFeedJSON ¶
func (d *NonResourcePolicyRuleDie) DieFeedJSON(j []byte) *NonResourcePolicyRuleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NonResourcePolicyRuleDie) DieFeedPtr ¶
func (d *NonResourcePolicyRuleDie) DieFeedPtr(r *flowcontrolv1beta1.NonResourcePolicyRule) *NonResourcePolicyRuleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NonResourcePolicyRuleDie) DieFeedRawExtension ¶
func (d *NonResourcePolicyRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NonResourcePolicyRuleDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NonResourcePolicyRuleDie) DieFeedYAML ¶
func (d *NonResourcePolicyRuleDie) DieFeedYAML(y []byte) *NonResourcePolicyRuleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NonResourcePolicyRuleDie) DieFeedYAMLFile ¶
func (d *NonResourcePolicyRuleDie) DieFeedYAMLFile(name string) *NonResourcePolicyRuleDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*NonResourcePolicyRuleDie) DieImmutable ¶
func (d *NonResourcePolicyRuleDie) DieImmutable(immutable bool) *NonResourcePolicyRuleDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*NonResourcePolicyRuleDie) DieRelease ¶
func (d *NonResourcePolicyRuleDie) DieRelease() flowcontrolv1beta1.NonResourcePolicyRule
DieRelease returns the resource managed by the die.
func (*NonResourcePolicyRuleDie) DieReleaseJSON ¶
func (d *NonResourcePolicyRuleDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NonResourcePolicyRuleDie) DieReleasePtr ¶
func (d *NonResourcePolicyRuleDie) DieReleasePtr() *flowcontrolv1beta1.NonResourcePolicyRule
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NonResourcePolicyRuleDie) DieReleaseRawExtension ¶
func (d *NonResourcePolicyRuleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NonResourcePolicyRuleDie) DieReleaseYAML ¶
func (d *NonResourcePolicyRuleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NonResourcePolicyRuleDie) DieStamp ¶
func (d *NonResourcePolicyRuleDie) DieStamp(fn func(r *flowcontrolv1beta1.NonResourcePolicyRule)) *NonResourcePolicyRuleDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NonResourcePolicyRuleDie) DieStampAt ¶
func (d *NonResourcePolicyRuleDie) DieStampAt(jp string, fn interface{}) *NonResourcePolicyRuleDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*NonResourcePolicyRuleDie) DieWith ¶
func (d *NonResourcePolicyRuleDie) DieWith(fns ...func(d *NonResourcePolicyRuleDie)) *NonResourcePolicyRuleDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NonResourcePolicyRuleDie) NonResourceURLs ¶
func (d *NonResourcePolicyRuleDie) NonResourceURLs(v ...string) *NonResourcePolicyRuleDie
`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty.
For example:
- "/healthz" is legal
- "/hea*" is illegal
- "/hea" is legal but matches nothing
- "/hea/*" also matches nothing
- "/healthz/*" matches all per-component health checks.
"*" matches all non-resource urls. if it is present, it must be the only entry.
Required.
func (*NonResourcePolicyRuleDie) Verbs ¶
func (d *NonResourcePolicyRuleDie) Verbs(v ...string) *NonResourcePolicyRuleDie
`verbs` is a list of matching verbs and may not be empty.
"*" matches all verbs. If it is present, it must be the only entry.
Required.
type PolicyRulesWithSubjectsDie ¶
type PolicyRulesWithSubjectsDie struct {
// contains filtered or unexported fields
}
func (*PolicyRulesWithSubjectsDie) DeepCopy ¶
func (d *PolicyRulesWithSubjectsDie) DeepCopy() *PolicyRulesWithSubjectsDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PolicyRulesWithSubjectsDie) DieFeed ¶
func (d *PolicyRulesWithSubjectsDie) DieFeed(r flowcontrolv1beta1.PolicyRulesWithSubjects) *PolicyRulesWithSubjectsDie
DieFeed returns a new die with the provided resource.
func (*PolicyRulesWithSubjectsDie) DieFeedJSON ¶
func (d *PolicyRulesWithSubjectsDie) DieFeedJSON(j []byte) *PolicyRulesWithSubjectsDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieFeedPtr ¶
func (d *PolicyRulesWithSubjectsDie) DieFeedPtr(r *flowcontrolv1beta1.PolicyRulesWithSubjects) *PolicyRulesWithSubjectsDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PolicyRulesWithSubjectsDie) DieFeedRawExtension ¶
func (d *PolicyRulesWithSubjectsDie) DieFeedRawExtension(raw runtime.RawExtension) *PolicyRulesWithSubjectsDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieFeedYAML ¶
func (d *PolicyRulesWithSubjectsDie) DieFeedYAML(y []byte) *PolicyRulesWithSubjectsDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieFeedYAMLFile ¶
func (d *PolicyRulesWithSubjectsDie) DieFeedYAMLFile(name string) *PolicyRulesWithSubjectsDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieImmutable ¶
func (d *PolicyRulesWithSubjectsDie) DieImmutable(immutable bool) *PolicyRulesWithSubjectsDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PolicyRulesWithSubjectsDie) DieRelease ¶
func (d *PolicyRulesWithSubjectsDie) DieRelease() flowcontrolv1beta1.PolicyRulesWithSubjects
DieRelease returns the resource managed by the die.
func (*PolicyRulesWithSubjectsDie) DieReleaseJSON ¶
func (d *PolicyRulesWithSubjectsDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieReleasePtr ¶
func (d *PolicyRulesWithSubjectsDie) DieReleasePtr() *flowcontrolv1beta1.PolicyRulesWithSubjects
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PolicyRulesWithSubjectsDie) DieReleaseRawExtension ¶
func (d *PolicyRulesWithSubjectsDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieReleaseYAML ¶
func (d *PolicyRulesWithSubjectsDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PolicyRulesWithSubjectsDie) DieStamp ¶
func (d *PolicyRulesWithSubjectsDie) DieStamp(fn func(r *flowcontrolv1beta1.PolicyRulesWithSubjects)) *PolicyRulesWithSubjectsDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PolicyRulesWithSubjectsDie) DieStampAt ¶
func (d *PolicyRulesWithSubjectsDie) DieStampAt(jp string, fn interface{}) *PolicyRulesWithSubjectsDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PolicyRulesWithSubjectsDie) DieWith ¶
func (d *PolicyRulesWithSubjectsDie) DieWith(fns ...func(d *PolicyRulesWithSubjectsDie)) *PolicyRulesWithSubjectsDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PolicyRulesWithSubjectsDie) NonResourcePolicyRuleDie ¶
func (d *PolicyRulesWithSubjectsDie) NonResourcePolicyRuleDie(rules ...*NonResourcePolicyRuleDie) *PolicyRulesWithSubjectsDie
func (*PolicyRulesWithSubjectsDie) NonResourceRules ¶
func (d *PolicyRulesWithSubjectsDie) NonResourceRules(v ...flowcontrolv1beta1.NonResourcePolicyRule) *PolicyRulesWithSubjectsDie
`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb
and the target non-resource URL.
func (*PolicyRulesWithSubjectsDie) ResourceRules ¶
func (d *PolicyRulesWithSubjectsDie) ResourceRules(v ...flowcontrolv1beta1.ResourcePolicyRule) *PolicyRulesWithSubjectsDie
`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the
target resource.
At least one of `resourceRules` and `nonResourceRules` has to be non-empty.
func (*PolicyRulesWithSubjectsDie) ResourceRulesDie ¶
func (d *PolicyRulesWithSubjectsDie) ResourceRulesDie(rules ...*ResourcePolicyRuleDie) *PolicyRulesWithSubjectsDie
func (*PolicyRulesWithSubjectsDie) Subjects ¶
func (d *PolicyRulesWithSubjectsDie) Subjects(v ...flowcontrolv1beta1.Subject) *PolicyRulesWithSubjectsDie
subjects is the list of normal user, serviceaccount, or group that this rule cares about.
There must be at least one member in this slice.
A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request.
Required.
func (*PolicyRulesWithSubjectsDie) SubjectsDie ¶
func (d *PolicyRulesWithSubjectsDie) SubjectsDie(subjects ...*SubjectDie) *PolicyRulesWithSubjectsDie
type PriorityLevelConfigurationDie ¶
type PriorityLevelConfigurationDie struct { v1.FrozenObjectMeta // contains filtered or unexported fields }
func (*PriorityLevelConfigurationDie) APIVersion ¶
func (d *PriorityLevelConfigurationDie) APIVersion(v string) *PriorityLevelConfigurationDie
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (*PriorityLevelConfigurationDie) DeepCopy ¶
func (d *PriorityLevelConfigurationDie) DeepCopy() *PriorityLevelConfigurationDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PriorityLevelConfigurationDie) DeepCopyObject ¶
func (d *PriorityLevelConfigurationDie) DeepCopyObject() runtime.Object
func (*PriorityLevelConfigurationDie) DieFeed ¶
func (d *PriorityLevelConfigurationDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfiguration) *PriorityLevelConfigurationDie
DieFeed returns a new die with the provided resource.
func (*PriorityLevelConfigurationDie) DieFeedJSON ¶
func (d *PriorityLevelConfigurationDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PriorityLevelConfigurationDie) DieFeedPtr ¶
func (d *PriorityLevelConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfiguration) *PriorityLevelConfigurationDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PriorityLevelConfigurationDie) DieFeedRawExtension ¶
func (d *PriorityLevelConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationDie) DieFeedYAML ¶
func (d *PriorityLevelConfigurationDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PriorityLevelConfigurationDie) DieFeedYAMLFile ¶
func (d *PriorityLevelConfigurationDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PriorityLevelConfigurationDie) DieImmutable ¶
func (d *PriorityLevelConfigurationDie) DieImmutable(immutable bool) *PriorityLevelConfigurationDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PriorityLevelConfigurationDie) DieRelease ¶
func (d *PriorityLevelConfigurationDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfiguration
DieRelease returns the resource managed by the die.
func (*PriorityLevelConfigurationDie) DieReleaseJSON ¶
func (d *PriorityLevelConfigurationDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PriorityLevelConfigurationDie) DieReleasePtr ¶
func (d *PriorityLevelConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfiguration
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PriorityLevelConfigurationDie) DieReleaseRawExtension ¶
func (d *PriorityLevelConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationDie) DieReleaseUnstructured ¶
func (d *PriorityLevelConfigurationDie) DieReleaseUnstructured() *unstructured.Unstructured
DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.
func (*PriorityLevelConfigurationDie) DieReleaseYAML ¶
func (d *PriorityLevelConfigurationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PriorityLevelConfigurationDie) DieStamp ¶
func (d *PriorityLevelConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfiguration)) *PriorityLevelConfigurationDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PriorityLevelConfigurationDie) DieStampAt ¶
func (d *PriorityLevelConfigurationDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PriorityLevelConfigurationDie) DieWith ¶
func (d *PriorityLevelConfigurationDie) DieWith(fns ...func(d *PriorityLevelConfigurationDie)) *PriorityLevelConfigurationDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PriorityLevelConfigurationDie) GetObjectKind ¶
func (d *PriorityLevelConfigurationDie) GetObjectKind() schema.ObjectKind
func (*PriorityLevelConfigurationDie) Kind ¶
func (d *PriorityLevelConfigurationDie) Kind(v string) *PriorityLevelConfigurationDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (*PriorityLevelConfigurationDie) MarshalJSON ¶
func (d *PriorityLevelConfigurationDie) MarshalJSON() ([]byte, error)
func (*PriorityLevelConfigurationDie) MetadataDie ¶
func (d *PriorityLevelConfigurationDie) MetadataDie(fn func(d *v1.ObjectMetaDie)) *PriorityLevelConfigurationDie
MetadataDie stamps the resource's ObjectMeta field with a mutable die.
func (*PriorityLevelConfigurationDie) Spec ¶
func (d *PriorityLevelConfigurationDie) Spec(v flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationDie
`spec` is the specification of the desired behavior of a "request-priority".
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PriorityLevelConfigurationDie) SpecDie ¶
func (d *PriorityLevelConfigurationDie) SpecDie(fn func(d *PriorityLevelConfigurationSpecDie)) *PriorityLevelConfigurationDie
SpecDie stamps the resource's spec field with a mutable die.
func (*PriorityLevelConfigurationDie) Status ¶
func (d *PriorityLevelConfigurationDie) Status(v flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationDie
`status` is the current status of a "request-priority".
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
func (*PriorityLevelConfigurationDie) StatusDie ¶
func (d *PriorityLevelConfigurationDie) StatusDie(fn func(d *PriorityLevelConfigurationStatusDie)) *PriorityLevelConfigurationDie
StatusDie stamps the resource's status field with a mutable die.
func (*PriorityLevelConfigurationDie) UnmarshalJSON ¶
func (d *PriorityLevelConfigurationDie) UnmarshalJSON(b []byte) error
type PriorityLevelConfigurationReferenceDie ¶
type PriorityLevelConfigurationReferenceDie struct {
// contains filtered or unexported fields
}
func (*PriorityLevelConfigurationReferenceDie) DeepCopy ¶
func (d *PriorityLevelConfigurationReferenceDie) DeepCopy() *PriorityLevelConfigurationReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PriorityLevelConfigurationReferenceDie) DieFeed ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationReference) *PriorityLevelConfigurationReferenceDie
DieFeed returns a new die with the provided resource.
func (*PriorityLevelConfigurationReferenceDie) DieFeedJSON ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieFeedPtr ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationReference) *PriorityLevelConfigurationReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PriorityLevelConfigurationReferenceDie) DieFeedRawExtension ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieFeedYAML ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieFeedYAMLFile ¶
func (d *PriorityLevelConfigurationReferenceDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieImmutable ¶
func (d *PriorityLevelConfigurationReferenceDie) DieImmutable(immutable bool) *PriorityLevelConfigurationReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PriorityLevelConfigurationReferenceDie) DieRelease ¶
func (d *PriorityLevelConfigurationReferenceDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationReference
DieRelease returns the resource managed by the die.
func (*PriorityLevelConfigurationReferenceDie) DieReleaseJSON ¶
func (d *PriorityLevelConfigurationReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieReleasePtr ¶
func (d *PriorityLevelConfigurationReferenceDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PriorityLevelConfigurationReferenceDie) DieReleaseRawExtension ¶
func (d *PriorityLevelConfigurationReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieReleaseYAML ¶
func (d *PriorityLevelConfigurationReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PriorityLevelConfigurationReferenceDie) DieStamp ¶
func (d *PriorityLevelConfigurationReferenceDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationReference)) *PriorityLevelConfigurationReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PriorityLevelConfigurationReferenceDie) DieStampAt ¶
func (d *PriorityLevelConfigurationReferenceDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationReferenceDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PriorityLevelConfigurationReferenceDie) DieWith ¶
func (d *PriorityLevelConfigurationReferenceDie) DieWith(fns ...func(d *PriorityLevelConfigurationReferenceDie)) *PriorityLevelConfigurationReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PriorityLevelConfigurationReferenceDie) Name ¶
func (d *PriorityLevelConfigurationReferenceDie) Name(v string) *PriorityLevelConfigurationReferenceDie
`name` is the name of the priority level configuration being referenced
Required.
type PriorityLevelConfigurationSpecDie ¶
type PriorityLevelConfigurationSpecDie struct {
// contains filtered or unexported fields
}
func (*PriorityLevelConfigurationSpecDie) DeepCopy ¶
func (d *PriorityLevelConfigurationSpecDie) DeepCopy() *PriorityLevelConfigurationSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PriorityLevelConfigurationSpecDie) DieFeed ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationSpecDie
DieFeed returns a new die with the provided resource.
func (*PriorityLevelConfigurationSpecDie) DieFeedJSON ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieFeedPtr ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationSpec) *PriorityLevelConfigurationSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PriorityLevelConfigurationSpecDie) DieFeedRawExtension ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationSpecDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieFeedYAML ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieFeedYAMLFile ¶
func (d *PriorityLevelConfigurationSpecDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationSpecDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieImmutable ¶
func (d *PriorityLevelConfigurationSpecDie) DieImmutable(immutable bool) *PriorityLevelConfigurationSpecDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PriorityLevelConfigurationSpecDie) DieRelease ¶
func (d *PriorityLevelConfigurationSpecDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationSpec
DieRelease returns the resource managed by the die.
func (*PriorityLevelConfigurationSpecDie) DieReleaseJSON ¶
func (d *PriorityLevelConfigurationSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieReleasePtr ¶
func (d *PriorityLevelConfigurationSpecDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PriorityLevelConfigurationSpecDie) DieReleaseRawExtension ¶
func (d *PriorityLevelConfigurationSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieReleaseYAML ¶
func (d *PriorityLevelConfigurationSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PriorityLevelConfigurationSpecDie) DieStamp ¶
func (d *PriorityLevelConfigurationSpecDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationSpec)) *PriorityLevelConfigurationSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PriorityLevelConfigurationSpecDie) DieStampAt ¶
func (d *PriorityLevelConfigurationSpecDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationSpecDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PriorityLevelConfigurationSpecDie) DieWith ¶
func (d *PriorityLevelConfigurationSpecDie) DieWith(fns ...func(d *PriorityLevelConfigurationSpecDie)) *PriorityLevelConfigurationSpecDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*PriorityLevelConfigurationSpecDie) Exempt ¶
func (d *PriorityLevelConfigurationSpecDie) Exempt(v *flowcontrolv1beta1.ExemptPriorityLevelConfiguration) *PriorityLevelConfigurationSpecDie
`exempt` specifies how requests are handled for an exempt priority level.
This field MUST be empty if `type` is `"Limited"`.
This field MAY be non-empty if `type` is `"Exempt"`.
If empty and `type` is `"Exempt"` then the default values
for `ExemptPriorityLevelConfiguration` apply.
func (*PriorityLevelConfigurationSpecDie) ExemptDie ¶
func (d *PriorityLevelConfigurationSpecDie) ExemptDie(fn func(d *ExemptPriorityLevelConfigurationDie)) *PriorityLevelConfigurationSpecDie
func (*PriorityLevelConfigurationSpecDie) Limited ¶
func (d *PriorityLevelConfigurationSpecDie) Limited(v *flowcontrolv1beta1.LimitedPriorityLevelConfiguration) *PriorityLevelConfigurationSpecDie
`limited` specifies how requests are handled for a Limited priority level.
This field must be non-empty if and only if `type` is `"Limited"`.
func (*PriorityLevelConfigurationSpecDie) LimitedDie ¶
func (d *PriorityLevelConfigurationSpecDie) LimitedDie(fn func(d *LimitedPriorityLevelConfigurationDie)) *PriorityLevelConfigurationSpecDie
func (*PriorityLevelConfigurationSpecDie) Type ¶
func (d *PriorityLevelConfigurationSpecDie) Type(v flowcontrolv1beta1.PriorityLevelEnablement) *PriorityLevelConfigurationSpecDie
`type` indicates whether this priority level is subject to
limitation on request execution. A value of `"Exempt"` means
that requests of this priority level are not subject to a limit
(and thus are never queued) and do not detract from the
capacity made available to other priority levels. A value of
`"Limited"` means that (a) requests of this priority level
_are_ subject to limits and (b) some of the server's limited
capacity is made available exclusively to this priority level.
Required.
type PriorityLevelConfigurationStatusDie ¶
type PriorityLevelConfigurationStatusDie struct {
// contains filtered or unexported fields
}
func (*PriorityLevelConfigurationStatusDie) Conditions ¶
func (d *PriorityLevelConfigurationStatusDie) Conditions(v ...flowcontrolv1beta1.PriorityLevelConfigurationCondition) *PriorityLevelConfigurationStatusDie
`conditions` is the current state of "request-priority".
func (*PriorityLevelConfigurationStatusDie) ConditionsDie ¶
func (d *PriorityLevelConfigurationStatusDie) ConditionsDie(conditions ...*diemetav1.ConditionDie) *PriorityLevelConfigurationStatusDie
func (*PriorityLevelConfigurationStatusDie) DeepCopy ¶
func (d *PriorityLevelConfigurationStatusDie) DeepCopy() *PriorityLevelConfigurationStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*PriorityLevelConfigurationStatusDie) DieFeed ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeed(r flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationStatusDie
DieFeed returns a new die with the provided resource.
func (*PriorityLevelConfigurationStatusDie) DieFeedJSON ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeedJSON(j []byte) *PriorityLevelConfigurationStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieFeedPtr ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeedPtr(r *flowcontrolv1beta1.PriorityLevelConfigurationStatus) *PriorityLevelConfigurationStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*PriorityLevelConfigurationStatusDie) DieFeedRawExtension ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *PriorityLevelConfigurationStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieFeedYAML ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeedYAML(y []byte) *PriorityLevelConfigurationStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieFeedYAMLFile ¶
func (d *PriorityLevelConfigurationStatusDie) DieFeedYAMLFile(name string) *PriorityLevelConfigurationStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieImmutable ¶
func (d *PriorityLevelConfigurationStatusDie) DieImmutable(immutable bool) *PriorityLevelConfigurationStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*PriorityLevelConfigurationStatusDie) DieRelease ¶
func (d *PriorityLevelConfigurationStatusDie) DieRelease() flowcontrolv1beta1.PriorityLevelConfigurationStatus
DieRelease returns the resource managed by the die.
func (*PriorityLevelConfigurationStatusDie) DieReleaseJSON ¶
func (d *PriorityLevelConfigurationStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieReleasePtr ¶
func (d *PriorityLevelConfigurationStatusDie) DieReleasePtr() *flowcontrolv1beta1.PriorityLevelConfigurationStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*PriorityLevelConfigurationStatusDie) DieReleaseRawExtension ¶
func (d *PriorityLevelConfigurationStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieReleaseYAML ¶
func (d *PriorityLevelConfigurationStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*PriorityLevelConfigurationStatusDie) DieStamp ¶
func (d *PriorityLevelConfigurationStatusDie) DieStamp(fn func(r *flowcontrolv1beta1.PriorityLevelConfigurationStatus)) *PriorityLevelConfigurationStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*PriorityLevelConfigurationStatusDie) DieStampAt ¶
func (d *PriorityLevelConfigurationStatusDie) DieStampAt(jp string, fn interface{}) *PriorityLevelConfigurationStatusDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*PriorityLevelConfigurationStatusDie) DieWith ¶
func (d *PriorityLevelConfigurationStatusDie) DieWith(fns ...func(d *PriorityLevelConfigurationStatusDie)) *PriorityLevelConfigurationStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
type QueuingConfigurationDie ¶
type QueuingConfigurationDie struct {
// contains filtered or unexported fields
}
func (*QueuingConfigurationDie) DeepCopy ¶
func (d *QueuingConfigurationDie) DeepCopy() *QueuingConfigurationDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*QueuingConfigurationDie) DieFeed ¶
func (d *QueuingConfigurationDie) DieFeed(r flowcontrolv1beta1.QueuingConfiguration) *QueuingConfigurationDie
DieFeed returns a new die with the provided resource.
func (*QueuingConfigurationDie) DieFeedJSON ¶
func (d *QueuingConfigurationDie) DieFeedJSON(j []byte) *QueuingConfigurationDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*QueuingConfigurationDie) DieFeedPtr ¶
func (d *QueuingConfigurationDie) DieFeedPtr(r *flowcontrolv1beta1.QueuingConfiguration) *QueuingConfigurationDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*QueuingConfigurationDie) DieFeedRawExtension ¶
func (d *QueuingConfigurationDie) DieFeedRawExtension(raw runtime.RawExtension) *QueuingConfigurationDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*QueuingConfigurationDie) DieFeedYAML ¶
func (d *QueuingConfigurationDie) DieFeedYAML(y []byte) *QueuingConfigurationDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*QueuingConfigurationDie) DieFeedYAMLFile ¶
func (d *QueuingConfigurationDie) DieFeedYAMLFile(name string) *QueuingConfigurationDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*QueuingConfigurationDie) DieImmutable ¶
func (d *QueuingConfigurationDie) DieImmutable(immutable bool) *QueuingConfigurationDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*QueuingConfigurationDie) DieRelease ¶
func (d *QueuingConfigurationDie) DieRelease() flowcontrolv1beta1.QueuingConfiguration
DieRelease returns the resource managed by the die.
func (*QueuingConfigurationDie) DieReleaseJSON ¶
func (d *QueuingConfigurationDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*QueuingConfigurationDie) DieReleasePtr ¶
func (d *QueuingConfigurationDie) DieReleasePtr() *flowcontrolv1beta1.QueuingConfiguration
DieReleasePtr returns a pointer to the resource managed by the die.
func (*QueuingConfigurationDie) DieReleaseRawExtension ¶
func (d *QueuingConfigurationDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*QueuingConfigurationDie) DieReleaseYAML ¶
func (d *QueuingConfigurationDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*QueuingConfigurationDie) DieStamp ¶
func (d *QueuingConfigurationDie) DieStamp(fn func(r *flowcontrolv1beta1.QueuingConfiguration)) *QueuingConfigurationDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*QueuingConfigurationDie) DieStampAt ¶
func (d *QueuingConfigurationDie) DieStampAt(jp string, fn interface{}) *QueuingConfigurationDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*QueuingConfigurationDie) DieWith ¶
func (d *QueuingConfigurationDie) DieWith(fns ...func(d *QueuingConfigurationDie)) *QueuingConfigurationDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*QueuingConfigurationDie) HandSize ¶
func (d *QueuingConfigurationDie) HandSize(v int32) *QueuingConfigurationDie
`handSize` is a small positive number that configures the
shuffle sharding of requests into queues. When enqueuing a request
at this priority level the request's flow identifier (a string
pair) is hashed and the hash value is used to shuffle the list
of queues and deal a hand of the size specified here. The
request is put into one of the shortest queues in that hand.
`handSize` must be no larger than `queues`, and should be
significantly smaller (so that a few heavy flows do not
saturate most of the queues). See the user-facing
documentation for more extensive guidance on setting this
field. This field has a default value of 8.
func (*QueuingConfigurationDie) QueueLengthLimit ¶
func (d *QueuingConfigurationDie) QueueLengthLimit(v int32) *QueuingConfigurationDie
`queueLengthLimit` is the maximum number of requests allowed to
be waiting in a given queue of this priority level at a time;
excess requests are rejected. This value must be positive. If
not specified, it will be defaulted to 50.
func (*QueuingConfigurationDie) Queues ¶
func (d *QueuingConfigurationDie) Queues(v int32) *QueuingConfigurationDie
`queues` is the number of queues for this priority level. The
queues exist independently at each apiserver. The value must be
positive. Setting it to 1 effectively precludes
shufflesharding and thus makes the distinguisher method of
associated flow schemas irrelevant. This field has a default
value of 64.
type ResourcePolicyRuleDie ¶
type ResourcePolicyRuleDie struct {
// contains filtered or unexported fields
}
func (*ResourcePolicyRuleDie) APIGroups ¶
func (d *ResourcePolicyRuleDie) APIGroups(v ...string) *ResourcePolicyRuleDie
`apiGroups` is a list of matching API groups and may not be empty.
"*" matches all API groups and, if present, must be the only entry.
Required.
func (*ResourcePolicyRuleDie) ClusterScope ¶
func (d *ResourcePolicyRuleDie) ClusterScope(v bool) *ResourcePolicyRuleDie
`clusterScope` indicates whether to match requests that do not
specify a namespace (which happens either because the resource
is not namespaced or the request targets all namespaces).
If this field is omitted or false then the `namespaces` field ¶
must contain a non-empty list.
func (*ResourcePolicyRuleDie) DeepCopy ¶
func (d *ResourcePolicyRuleDie) DeepCopy() *ResourcePolicyRuleDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ResourcePolicyRuleDie) DieFeed ¶
func (d *ResourcePolicyRuleDie) DieFeed(r flowcontrolv1beta1.ResourcePolicyRule) *ResourcePolicyRuleDie
DieFeed returns a new die with the provided resource.
func (*ResourcePolicyRuleDie) DieFeedJSON ¶
func (d *ResourcePolicyRuleDie) DieFeedJSON(j []byte) *ResourcePolicyRuleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ResourcePolicyRuleDie) DieFeedPtr ¶
func (d *ResourcePolicyRuleDie) DieFeedPtr(r *flowcontrolv1beta1.ResourcePolicyRule) *ResourcePolicyRuleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ResourcePolicyRuleDie) DieFeedRawExtension ¶
func (d *ResourcePolicyRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *ResourcePolicyRuleDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourcePolicyRuleDie) DieFeedYAML ¶
func (d *ResourcePolicyRuleDie) DieFeedYAML(y []byte) *ResourcePolicyRuleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ResourcePolicyRuleDie) DieFeedYAMLFile ¶
func (d *ResourcePolicyRuleDie) DieFeedYAMLFile(name string) *ResourcePolicyRuleDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ResourcePolicyRuleDie) DieImmutable ¶
func (d *ResourcePolicyRuleDie) DieImmutable(immutable bool) *ResourcePolicyRuleDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ResourcePolicyRuleDie) DieRelease ¶
func (d *ResourcePolicyRuleDie) DieRelease() flowcontrolv1beta1.ResourcePolicyRule
DieRelease returns the resource managed by the die.
func (*ResourcePolicyRuleDie) DieReleaseJSON ¶
func (d *ResourcePolicyRuleDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ResourcePolicyRuleDie) DieReleasePtr ¶
func (d *ResourcePolicyRuleDie) DieReleasePtr() *flowcontrolv1beta1.ResourcePolicyRule
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ResourcePolicyRuleDie) DieReleaseRawExtension ¶
func (d *ResourcePolicyRuleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ResourcePolicyRuleDie) DieReleaseYAML ¶
func (d *ResourcePolicyRuleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ResourcePolicyRuleDie) DieStamp ¶
func (d *ResourcePolicyRuleDie) DieStamp(fn func(r *flowcontrolv1beta1.ResourcePolicyRule)) *ResourcePolicyRuleDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ResourcePolicyRuleDie) DieStampAt ¶
func (d *ResourcePolicyRuleDie) DieStampAt(jp string, fn interface{}) *ResourcePolicyRuleDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ResourcePolicyRuleDie) DieWith ¶
func (d *ResourcePolicyRuleDie) DieWith(fns ...func(d *ResourcePolicyRuleDie)) *ResourcePolicyRuleDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ResourcePolicyRuleDie) Namespaces ¶
func (d *ResourcePolicyRuleDie) Namespaces(v ...string) *ResourcePolicyRuleDie
`namespaces` is a list of target namespaces that restricts
matches. A request that specifies a target namespace matches
only if either (a) this list contains that target namespace or
(b) this list contains "*". Note that "*" matches any
specified namespace but does not match a request that _does
not specify_ a namespace (see the `clusterScope` field for
that).
This list may be empty, but only if `clusterScope` is true.
func (*ResourcePolicyRuleDie) Resources ¶
func (d *ResourcePolicyRuleDie) Resources(v ...string) *ResourcePolicyRuleDie
`resources` is a list of matching resources (i.e., lowercase
and plural) with, if desired, subresource. For example, [
"services", "nodes/status" ]. This list may not be empty.
"*" matches all resources and, if present, must be the only entry.
Required.
func (*ResourcePolicyRuleDie) Verbs ¶
func (d *ResourcePolicyRuleDie) Verbs(v ...string) *ResourcePolicyRuleDie
`verbs` is a list of matching verbs and may not be empty.
"*" matches all verbs and, if present, must be the only entry.
Required.
type ServiceAccountSubjectDie ¶
type ServiceAccountSubjectDie struct {
// contains filtered or unexported fields
}
func (*ServiceAccountSubjectDie) DeepCopy ¶
func (d *ServiceAccountSubjectDie) DeepCopy() *ServiceAccountSubjectDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceAccountSubjectDie) DieFeed ¶
func (d *ServiceAccountSubjectDie) DieFeed(r flowcontrolv1beta1.ServiceAccountSubject) *ServiceAccountSubjectDie
DieFeed returns a new die with the provided resource.
func (*ServiceAccountSubjectDie) DieFeedJSON ¶
func (d *ServiceAccountSubjectDie) DieFeedJSON(j []byte) *ServiceAccountSubjectDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceAccountSubjectDie) DieFeedPtr ¶
func (d *ServiceAccountSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.ServiceAccountSubject) *ServiceAccountSubjectDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceAccountSubjectDie) DieFeedRawExtension ¶
func (d *ServiceAccountSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceAccountSubjectDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountSubjectDie) DieFeedYAML ¶
func (d *ServiceAccountSubjectDie) DieFeedYAML(y []byte) *ServiceAccountSubjectDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceAccountSubjectDie) DieFeedYAMLFile ¶
func (d *ServiceAccountSubjectDie) DieFeedYAMLFile(name string) *ServiceAccountSubjectDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*ServiceAccountSubjectDie) DieImmutable ¶
func (d *ServiceAccountSubjectDie) DieImmutable(immutable bool) *ServiceAccountSubjectDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*ServiceAccountSubjectDie) DieRelease ¶
func (d *ServiceAccountSubjectDie) DieRelease() flowcontrolv1beta1.ServiceAccountSubject
DieRelease returns the resource managed by the die.
func (*ServiceAccountSubjectDie) DieReleaseJSON ¶
func (d *ServiceAccountSubjectDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceAccountSubjectDie) DieReleasePtr ¶
func (d *ServiceAccountSubjectDie) DieReleasePtr() *flowcontrolv1beta1.ServiceAccountSubject
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceAccountSubjectDie) DieReleaseRawExtension ¶
func (d *ServiceAccountSubjectDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceAccountSubjectDie) DieReleaseYAML ¶
func (d *ServiceAccountSubjectDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceAccountSubjectDie) DieStamp ¶
func (d *ServiceAccountSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.ServiceAccountSubject)) *ServiceAccountSubjectDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceAccountSubjectDie) DieStampAt ¶
func (d *ServiceAccountSubjectDie) DieStampAt(jp string, fn interface{}) *ServiceAccountSubjectDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*ServiceAccountSubjectDie) DieWith ¶
func (d *ServiceAccountSubjectDie) DieWith(fns ...func(d *ServiceAccountSubjectDie)) *ServiceAccountSubjectDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceAccountSubjectDie) Name ¶
func (d *ServiceAccountSubjectDie) Name(v string) *ServiceAccountSubjectDie
`name` is the name of matching ServiceAccount objects, or "*" to match regardless of name.
Required.
func (*ServiceAccountSubjectDie) Namespace ¶
func (d *ServiceAccountSubjectDie) Namespace(v string) *ServiceAccountSubjectDie
`namespace` is the namespace of matching ServiceAccount objects.
Required.
type SubjectDie ¶
type SubjectDie struct {
// contains filtered or unexported fields
}
func (*SubjectDie) DeepCopy ¶
func (d *SubjectDie) DeepCopy() *SubjectDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*SubjectDie) DieFeed ¶
func (d *SubjectDie) DieFeed(r flowcontrolv1beta1.Subject) *SubjectDie
DieFeed returns a new die with the provided resource.
func (*SubjectDie) DieFeedJSON ¶
func (d *SubjectDie) DieFeedJSON(j []byte) *SubjectDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*SubjectDie) DieFeedPtr ¶
func (d *SubjectDie) DieFeedPtr(r *flowcontrolv1beta1.Subject) *SubjectDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*SubjectDie) DieFeedRawExtension ¶
func (d *SubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *SubjectDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SubjectDie) DieFeedYAML ¶
func (d *SubjectDie) DieFeedYAML(y []byte) *SubjectDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*SubjectDie) DieFeedYAMLFile ¶
func (d *SubjectDie) DieFeedYAMLFile(name string) *SubjectDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*SubjectDie) DieImmutable ¶
func (d *SubjectDie) DieImmutable(immutable bool) *SubjectDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*SubjectDie) DieRelease ¶
func (d *SubjectDie) DieRelease() flowcontrolv1beta1.Subject
DieRelease returns the resource managed by the die.
func (*SubjectDie) DieReleaseJSON ¶
func (d *SubjectDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*SubjectDie) DieReleasePtr ¶
func (d *SubjectDie) DieReleasePtr() *flowcontrolv1beta1.Subject
DieReleasePtr returns a pointer to the resource managed by the die.
func (*SubjectDie) DieReleaseRawExtension ¶
func (d *SubjectDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*SubjectDie) DieReleaseYAML ¶
func (d *SubjectDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*SubjectDie) DieStamp ¶
func (d *SubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.Subject)) *SubjectDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*SubjectDie) DieStampAt ¶
func (d *SubjectDie) DieStampAt(jp string, fn interface{}) *SubjectDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*SubjectDie) DieWith ¶
func (d *SubjectDie) DieWith(fns ...func(d *SubjectDie)) *SubjectDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*SubjectDie) Group ¶
func (d *SubjectDie) Group(v *flowcontrolv1beta1.GroupSubject) *SubjectDie
`group` matches based on user group name.
func (*SubjectDie) GroupDie ¶
func (d *SubjectDie) GroupDie(fn func(d *GroupSubjectDie)) *SubjectDie
func (*SubjectDie) Kind ¶
func (d *SubjectDie) Kind(v flowcontrolv1beta1.SubjectKind) *SubjectDie
`kind` indicates which one of the other fields is non-empty.
Required
func (*SubjectDie) ServiceAccount ¶
func (d *SubjectDie) ServiceAccount(v *flowcontrolv1beta1.ServiceAccountSubject) *SubjectDie
`serviceAccount` matches ServiceAccounts.
func (*SubjectDie) ServiceAccountDie ¶
func (d *SubjectDie) ServiceAccountDie(fn func(d *ServiceAccountSubjectDie)) *SubjectDie
func (*SubjectDie) User ¶
func (d *SubjectDie) User(v *flowcontrolv1beta1.UserSubject) *SubjectDie
`user` matches based on username.
func (*SubjectDie) UserDie ¶
func (d *SubjectDie) UserDie(fn func(d *UserSubjectDie)) *SubjectDie
type UserSubjectDie ¶
type UserSubjectDie struct {
// contains filtered or unexported fields
}
func (*UserSubjectDie) DeepCopy ¶
func (d *UserSubjectDie) DeepCopy() *UserSubjectDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*UserSubjectDie) DieFeed ¶
func (d *UserSubjectDie) DieFeed(r flowcontrolv1beta1.UserSubject) *UserSubjectDie
DieFeed returns a new die with the provided resource.
func (*UserSubjectDie) DieFeedJSON ¶
func (d *UserSubjectDie) DieFeedJSON(j []byte) *UserSubjectDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*UserSubjectDie) DieFeedPtr ¶
func (d *UserSubjectDie) DieFeedPtr(r *flowcontrolv1beta1.UserSubject) *UserSubjectDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*UserSubjectDie) DieFeedRawExtension ¶
func (d *UserSubjectDie) DieFeedRawExtension(raw runtime.RawExtension) *UserSubjectDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*UserSubjectDie) DieFeedYAML ¶
func (d *UserSubjectDie) DieFeedYAML(y []byte) *UserSubjectDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*UserSubjectDie) DieFeedYAMLFile ¶
func (d *UserSubjectDie) DieFeedYAMLFile(name string) *UserSubjectDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*UserSubjectDie) DieImmutable ¶
func (d *UserSubjectDie) DieImmutable(immutable bool) *UserSubjectDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*UserSubjectDie) DieRelease ¶
func (d *UserSubjectDie) DieRelease() flowcontrolv1beta1.UserSubject
DieRelease returns the resource managed by the die.
func (*UserSubjectDie) DieReleaseJSON ¶
func (d *UserSubjectDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*UserSubjectDie) DieReleasePtr ¶
func (d *UserSubjectDie) DieReleasePtr() *flowcontrolv1beta1.UserSubject
DieReleasePtr returns a pointer to the resource managed by the die.
func (*UserSubjectDie) DieReleaseRawExtension ¶
func (d *UserSubjectDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*UserSubjectDie) DieReleaseYAML ¶
func (d *UserSubjectDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*UserSubjectDie) DieStamp ¶
func (d *UserSubjectDie) DieStamp(fn func(r *flowcontrolv1beta1.UserSubject)) *UserSubjectDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*UserSubjectDie) DieStampAt ¶
func (d *UserSubjectDie) DieStampAt(jp string, fn interface{}) *UserSubjectDie
Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.
Future iterations will improve type coercion from the resource to the callback argument.
func (*UserSubjectDie) DieWith ¶
func (d *UserSubjectDie) DieWith(fns ...func(d *UserSubjectDie)) *UserSubjectDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*UserSubjectDie) Name ¶
func (d *UserSubjectDie) Name(v string) *UserSubjectDie
`name` is the username that matches, or "*" to match all usernames.
Required.