v1beta1

package
Version: v0.24.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlowDistinguisherMethodApplyConfiguration

type FlowDistinguisherMethodApplyConfiguration struct {
	Type *v1beta1.FlowDistinguisherMethodType `json:"type,omitempty"`
}

FlowDistinguisherMethodApplyConfiguration represents an declarative configuration of the FlowDistinguisherMethod type for use with apply.

func FlowDistinguisherMethod

func FlowDistinguisherMethod() *FlowDistinguisherMethodApplyConfiguration

FlowDistinguisherMethodApplyConfiguration constructs an declarative configuration of the FlowDistinguisherMethod type for use with apply.

func (*FlowDistinguisherMethodApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type FlowSchemaApplyConfiguration

type FlowSchemaApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *FlowSchemaSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *FlowSchemaStatusApplyConfiguration `json:"status,omitempty"`
}

FlowSchemaApplyConfiguration represents an declarative configuration of the FlowSchema type for use with apply.

func ExtractFlowSchema

func ExtractFlowSchema(flowSchema *flowcontrolv1beta1.FlowSchema, fieldManager string) (*FlowSchemaApplyConfiguration, error)

ExtractFlowSchema extracts the applied configuration owned by fieldManager from flowSchema. If no managedFields are found in flowSchema for fieldManager, a FlowSchemaApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. flowSchema must be a unmodified FlowSchema API object that was retrieved from the Kubernetes API. ExtractFlowSchema provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractFlowSchemaStatus added in v0.22.0

func ExtractFlowSchemaStatus(flowSchema *flowcontrolv1beta1.FlowSchema, fieldManager string) (*FlowSchemaApplyConfiguration, error)

ExtractFlowSchemaStatus is the same as ExtractFlowSchema except that it extracts the status subresource applied configuration. Experimental!

func FlowSchema

func FlowSchema(name string) *FlowSchemaApplyConfiguration

FlowSchema constructs an declarative configuration of the FlowSchema type for use with apply.

func (*FlowSchemaApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*FlowSchemaApplyConfiguration) WithCreationTimestamp

func (b *FlowSchemaApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FlowSchemaApplyConfiguration

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *FlowSchemaApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FlowSchemaApplyConfiguration

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithDeletionTimestamp

func (b *FlowSchemaApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FlowSchemaApplyConfiguration

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*FlowSchemaApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*FlowSchemaApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*FlowSchemaApplyConfiguration) WithResourceVersion

func (b *FlowSchemaApplyConfiguration) WithResourceVersion(value string) *FlowSchemaApplyConfiguration

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FlowSchemaApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type FlowSchemaConditionApplyConfiguration

type FlowSchemaConditionApplyConfiguration struct {
	Type               *v1beta1.FlowSchemaConditionType `json:"type,omitempty"`
	Status             *v1beta1.ConditionStatus         `json:"status,omitempty"`
	LastTransitionTime *v1.Time                         `json:"lastTransitionTime,omitempty"`
	Reason             *string                          `json:"reason,omitempty"`
	Message            *string                          `json:"message,omitempty"`
}

FlowSchemaConditionApplyConfiguration represents an declarative configuration of the FlowSchemaCondition type for use with apply.

func FlowSchemaCondition

func FlowSchemaCondition() *FlowSchemaConditionApplyConfiguration

FlowSchemaConditionApplyConfiguration constructs an declarative configuration of the FlowSchemaCondition type for use with apply.

func (*FlowSchemaConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.

func (*FlowSchemaConditionApplyConfiguration) WithMessage

WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.

func (*FlowSchemaConditionApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

func (*FlowSchemaConditionApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*FlowSchemaConditionApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type FlowSchemaSpecApplyConfiguration

type FlowSchemaSpecApplyConfiguration struct {
	PriorityLevelConfiguration *PriorityLevelConfigurationReferenceApplyConfiguration `json:"priorityLevelConfiguration,omitempty"`
	MatchingPrecedence         *int32                                                 `json:"matchingPrecedence,omitempty"`
	DistinguisherMethod        *FlowDistinguisherMethodApplyConfiguration             `json:"distinguisherMethod,omitempty"`
	Rules                      []PolicyRulesWithSubjectsApplyConfiguration            `json:"rules,omitempty"`
}

FlowSchemaSpecApplyConfiguration represents an declarative configuration of the FlowSchemaSpec type for use with apply.

func FlowSchemaSpec

func FlowSchemaSpec() *FlowSchemaSpecApplyConfiguration

FlowSchemaSpecApplyConfiguration constructs an declarative configuration of the FlowSchemaSpec type for use with apply.

func (*FlowSchemaSpecApplyConfiguration) WithDistinguisherMethod

WithDistinguisherMethod sets the DistinguisherMethod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DistinguisherMethod field is set to the value of the last call.

func (*FlowSchemaSpecApplyConfiguration) WithMatchingPrecedence

WithMatchingPrecedence sets the MatchingPrecedence field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchingPrecedence field is set to the value of the last call.

func (*FlowSchemaSpecApplyConfiguration) WithPriorityLevelConfiguration

WithPriorityLevelConfiguration sets the PriorityLevelConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PriorityLevelConfiguration field is set to the value of the last call.

func (*FlowSchemaSpecApplyConfiguration) WithRules

WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.

type FlowSchemaStatusApplyConfiguration

type FlowSchemaStatusApplyConfiguration struct {
	Conditions []FlowSchemaConditionApplyConfiguration `json:"conditions,omitempty"`
}

FlowSchemaStatusApplyConfiguration represents an declarative configuration of the FlowSchemaStatus type for use with apply.

func FlowSchemaStatus

func FlowSchemaStatus() *FlowSchemaStatusApplyConfiguration

FlowSchemaStatusApplyConfiguration constructs an declarative configuration of the FlowSchemaStatus type for use with apply.

func (*FlowSchemaStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

type GroupSubjectApplyConfiguration

type GroupSubjectApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

GroupSubjectApplyConfiguration represents an declarative configuration of the GroupSubject type for use with apply.

func GroupSubject

func GroupSubject() *GroupSubjectApplyConfiguration

GroupSubjectApplyConfiguration constructs an declarative configuration of the GroupSubject type for use with apply.

func (*GroupSubjectApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type LimitResponseApplyConfiguration

type LimitResponseApplyConfiguration struct {
	Type    *v1beta1.LimitResponseType              `json:"type,omitempty"`
	Queuing *QueuingConfigurationApplyConfiguration `json:"queuing,omitempty"`
}

LimitResponseApplyConfiguration represents an declarative configuration of the LimitResponse type for use with apply.

func LimitResponse

func LimitResponse() *LimitResponseApplyConfiguration

LimitResponseApplyConfiguration constructs an declarative configuration of the LimitResponse type for use with apply.

func (*LimitResponseApplyConfiguration) WithQueuing

WithQueuing sets the Queuing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Queuing field is set to the value of the last call.

func (*LimitResponseApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type LimitedPriorityLevelConfigurationApplyConfiguration

type LimitedPriorityLevelConfigurationApplyConfiguration struct {
	AssuredConcurrencyShares *int32                           `json:"assuredConcurrencyShares,omitempty"`
	LimitResponse            *LimitResponseApplyConfiguration `json:"limitResponse,omitempty"`
}

LimitedPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the LimitedPriorityLevelConfiguration type for use with apply.

func LimitedPriorityLevelConfiguration

func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApplyConfiguration

LimitedPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the LimitedPriorityLevelConfiguration type for use with apply.

func (*LimitedPriorityLevelConfigurationApplyConfiguration) WithAssuredConcurrencyShares

WithAssuredConcurrencyShares sets the AssuredConcurrencyShares field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AssuredConcurrencyShares field is set to the value of the last call.

func (*LimitedPriorityLevelConfigurationApplyConfiguration) WithLimitResponse

WithLimitResponse sets the LimitResponse field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LimitResponse field is set to the value of the last call.

type NonResourcePolicyRuleApplyConfiguration

type NonResourcePolicyRuleApplyConfiguration struct {
	Verbs           []string `json:"verbs,omitempty"`
	NonResourceURLs []string `json:"nonResourceURLs,omitempty"`
}

NonResourcePolicyRuleApplyConfiguration represents an declarative configuration of the NonResourcePolicyRule type for use with apply.

func NonResourcePolicyRule

func NonResourcePolicyRule() *NonResourcePolicyRuleApplyConfiguration

NonResourcePolicyRuleApplyConfiguration constructs an declarative configuration of the NonResourcePolicyRule type for use with apply.

func (*NonResourcePolicyRuleApplyConfiguration) WithNonResourceURLs

WithNonResourceURLs adds the given value to the NonResourceURLs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NonResourceURLs field.

func (*NonResourcePolicyRuleApplyConfiguration) WithVerbs

WithVerbs adds the given value to the Verbs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Verbs field.

type PolicyRulesWithSubjectsApplyConfiguration

type PolicyRulesWithSubjectsApplyConfiguration struct {
	Subjects         []SubjectApplyConfiguration               `json:"subjects,omitempty"`
	ResourceRules    []ResourcePolicyRuleApplyConfiguration    `json:"resourceRules,omitempty"`
	NonResourceRules []NonResourcePolicyRuleApplyConfiguration `json:"nonResourceRules,omitempty"`
}

PolicyRulesWithSubjectsApplyConfiguration represents an declarative configuration of the PolicyRulesWithSubjects type for use with apply.

func PolicyRulesWithSubjects

func PolicyRulesWithSubjects() *PolicyRulesWithSubjectsApplyConfiguration

PolicyRulesWithSubjectsApplyConfiguration constructs an declarative configuration of the PolicyRulesWithSubjects type for use with apply.

func (*PolicyRulesWithSubjectsApplyConfiguration) WithNonResourceRules

WithNonResourceRules adds the given value to the NonResourceRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NonResourceRules field.

func (*PolicyRulesWithSubjectsApplyConfiguration) WithResourceRules

WithResourceRules adds the given value to the ResourceRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ResourceRules field.

func (*PolicyRulesWithSubjectsApplyConfiguration) WithSubjects

WithSubjects adds the given value to the Subjects field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Subjects field.

type PriorityLevelConfigurationApplyConfiguration

type PriorityLevelConfigurationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PriorityLevelConfigurationSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PriorityLevelConfigurationStatusApplyConfiguration `json:"status,omitempty"`
}

PriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the PriorityLevelConfiguration type for use with apply.

func ExtractPriorityLevelConfiguration

func ExtractPriorityLevelConfiguration(priorityLevelConfiguration *flowcontrolv1beta1.PriorityLevelConfiguration, fieldManager string) (*PriorityLevelConfigurationApplyConfiguration, error)

ExtractPriorityLevelConfiguration extracts the applied configuration owned by fieldManager from priorityLevelConfiguration. If no managedFields are found in priorityLevelConfiguration for fieldManager, a PriorityLevelConfigurationApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. priorityLevelConfiguration must be a unmodified PriorityLevelConfiguration API object that was retrieved from the Kubernetes API. ExtractPriorityLevelConfiguration provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!

func ExtractPriorityLevelConfigurationStatus added in v0.22.0

func ExtractPriorityLevelConfigurationStatus(priorityLevelConfiguration *flowcontrolv1beta1.PriorityLevelConfiguration, fieldManager string) (*PriorityLevelConfigurationApplyConfiguration, error)

ExtractPriorityLevelConfigurationStatus is the same as ExtractPriorityLevelConfiguration except that it extracts the status subresource applied configuration. Experimental!

func PriorityLevelConfiguration

func PriorityLevelConfiguration(name string) *PriorityLevelConfigurationApplyConfiguration

PriorityLevelConfiguration constructs an declarative configuration of the PriorityLevelConfiguration type for use with apply.

func (*PriorityLevelConfigurationApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PriorityLevelConfigurationApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds

WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithDeletionTimestamp

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PriorityLevelConfigurationApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PriorityLevelConfigurationApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PriorityLevelConfigurationApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PriorityLevelConfigurationApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type PriorityLevelConfigurationConditionApplyConfiguration

type PriorityLevelConfigurationConditionApplyConfiguration struct {
	Type               *v1beta1.PriorityLevelConfigurationConditionType `json:"type,omitempty"`
	Status             *v1beta1.ConditionStatus                         `json:"status,omitempty"`
	LastTransitionTime *v1.Time                                         `json:"lastTransitionTime,omitempty"`
	Reason             *string                                          `json:"reason,omitempty"`
	Message            *string                                          `json:"message,omitempty"`
}

PriorityLevelConfigurationConditionApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationCondition type for use with apply.

func PriorityLevelConfigurationCondition

func PriorityLevelConfigurationCondition() *PriorityLevelConfigurationConditionApplyConfiguration

PriorityLevelConfigurationConditionApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationCondition type for use with apply.

func (*PriorityLevelConfigurationConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.

func (*PriorityLevelConfigurationConditionApplyConfiguration) WithMessage

WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.

func (*PriorityLevelConfigurationConditionApplyConfiguration) WithReason

WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.

func (*PriorityLevelConfigurationConditionApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PriorityLevelConfigurationConditionApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type PriorityLevelConfigurationReferenceApplyConfiguration

type PriorityLevelConfigurationReferenceApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

PriorityLevelConfigurationReferenceApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationReference type for use with apply.

func PriorityLevelConfigurationReference

func PriorityLevelConfigurationReference() *PriorityLevelConfigurationReferenceApplyConfiguration

PriorityLevelConfigurationReferenceApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationReference type for use with apply.

func (*PriorityLevelConfigurationReferenceApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

type PriorityLevelConfigurationSpecApplyConfiguration

type PriorityLevelConfigurationSpecApplyConfiguration struct {
	Type    *v1beta1.PriorityLevelEnablement                     `json:"type,omitempty"`
	Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
}

PriorityLevelConfigurationSpecApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationSpec type for use with apply.

func PriorityLevelConfigurationSpec

func PriorityLevelConfigurationSpec() *PriorityLevelConfigurationSpecApplyConfiguration

PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with apply.

func (*PriorityLevelConfigurationSpecApplyConfiguration) WithLimited

WithLimited sets the Limited field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Limited field is set to the value of the last call.

func (*PriorityLevelConfigurationSpecApplyConfiguration) WithType

WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.

type PriorityLevelConfigurationStatusApplyConfiguration

type PriorityLevelConfigurationStatusApplyConfiguration struct {
	Conditions []PriorityLevelConfigurationConditionApplyConfiguration `json:"conditions,omitempty"`
}

PriorityLevelConfigurationStatusApplyConfiguration represents an declarative configuration of the PriorityLevelConfigurationStatus type for use with apply.

func PriorityLevelConfigurationStatus

func PriorityLevelConfigurationStatus() *PriorityLevelConfigurationStatusApplyConfiguration

PriorityLevelConfigurationStatusApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationStatus type for use with apply.

func (*PriorityLevelConfigurationStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

type QueuingConfigurationApplyConfiguration

type QueuingConfigurationApplyConfiguration struct {
	Queues           *int32 `json:"queues,omitempty"`
	HandSize         *int32 `json:"handSize,omitempty"`
	QueueLengthLimit *int32 `json:"queueLengthLimit,omitempty"`
}

QueuingConfigurationApplyConfiguration represents an declarative configuration of the QueuingConfiguration type for use with apply.

func QueuingConfiguration

func QueuingConfiguration() *QueuingConfigurationApplyConfiguration

QueuingConfigurationApplyConfiguration constructs an declarative configuration of the QueuingConfiguration type for use with apply.

func (*QueuingConfigurationApplyConfiguration) WithHandSize

WithHandSize sets the HandSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HandSize field is set to the value of the last call.

func (*QueuingConfigurationApplyConfiguration) WithQueueLengthLimit

WithQueueLengthLimit sets the QueueLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueueLengthLimit field is set to the value of the last call.

func (*QueuingConfigurationApplyConfiguration) WithQueues

WithQueues sets the Queues field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Queues field is set to the value of the last call.

type ResourcePolicyRuleApplyConfiguration

type ResourcePolicyRuleApplyConfiguration struct {
	Verbs        []string `json:"verbs,omitempty"`
	APIGroups    []string `json:"apiGroups,omitempty"`
	Resources    []string `json:"resources,omitempty"`
	ClusterScope *bool    `json:"clusterScope,omitempty"`
	Namespaces   []string `json:"namespaces,omitempty"`
}

ResourcePolicyRuleApplyConfiguration represents an declarative configuration of the ResourcePolicyRule type for use with apply.

func ResourcePolicyRule

func ResourcePolicyRule() *ResourcePolicyRuleApplyConfiguration

ResourcePolicyRuleApplyConfiguration constructs an declarative configuration of the ResourcePolicyRule type for use with apply.

func (*ResourcePolicyRuleApplyConfiguration) WithAPIGroups

WithAPIGroups adds the given value to the APIGroups field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the APIGroups field.

func (*ResourcePolicyRuleApplyConfiguration) WithClusterScope

WithClusterScope sets the ClusterScope field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterScope field is set to the value of the last call.

func (*ResourcePolicyRuleApplyConfiguration) WithNamespaces

WithNamespaces adds the given value to the Namespaces field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Namespaces field.

func (*ResourcePolicyRuleApplyConfiguration) WithResources

WithResources adds the given value to the Resources field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Resources field.

func (*ResourcePolicyRuleApplyConfiguration) WithVerbs

WithVerbs adds the given value to the Verbs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Verbs field.

type ServiceAccountSubjectApplyConfiguration

type ServiceAccountSubjectApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
}

ServiceAccountSubjectApplyConfiguration represents an declarative configuration of the ServiceAccountSubject type for use with apply.

func ServiceAccountSubject

func ServiceAccountSubject() *ServiceAccountSubjectApplyConfiguration

ServiceAccountSubjectApplyConfiguration constructs an declarative configuration of the ServiceAccountSubject type for use with apply.

func (*ServiceAccountSubjectApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*ServiceAccountSubjectApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

type SubjectApplyConfiguration

type SubjectApplyConfiguration struct {
	Kind           *v1beta1.SubjectKind                     `json:"kind,omitempty"`
	User           *UserSubjectApplyConfiguration           `json:"user,omitempty"`
	Group          *GroupSubjectApplyConfiguration          `json:"group,omitempty"`
	ServiceAccount *ServiceAccountSubjectApplyConfiguration `json:"serviceAccount,omitempty"`
}

SubjectApplyConfiguration represents an declarative configuration of the Subject type for use with apply.

func Subject

func Subject() *SubjectApplyConfiguration

SubjectApplyConfiguration constructs an declarative configuration of the Subject type for use with apply.

func (*SubjectApplyConfiguration) WithGroup

WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.

func (*SubjectApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*SubjectApplyConfiguration) WithServiceAccount

WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.

func (*SubjectApplyConfiguration) WithUser

WithUser sets the User field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the User field is set to the value of the last call.

type UserSubjectApplyConfiguration

type UserSubjectApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

UserSubjectApplyConfiguration represents an declarative configuration of the UserSubject type for use with apply.

func UserSubject

func UserSubject() *UserSubjectApplyConfiguration

UserSubjectApplyConfiguration constructs an declarative configuration of the UserSubject type for use with apply.

func (*UserSubjectApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

Jump to

Keyboard shortcuts

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