Documentation ¶
Index ¶
- type AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithAPIVersion(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithFinalizers(values ...string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithGenerateName(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithGeneration(value int64) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithKind(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithLabels(entries map[string]string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithName(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithNamespace(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithResourceVersion(value string) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithSpec(value *AuthenticationPolicySpecApplyConfiguration) *AuthenticationPolicyApplyConfiguration
- func (b *AuthenticationPolicyApplyConfiguration) WithUID(value types.UID) *AuthenticationPolicyApplyConfiguration
- type AuthenticationPolicyExtendApplyConfiguration
- type AuthenticationPolicyPortLevelApplyConfiguration
- type AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithExtends(values ...*AuthenticationPolicyExtendApplyConfiguration) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithIpBlocks(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithNamespaces(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotExtends(values ...*AuthenticationPolicyExtendApplyConfiguration) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotIpBlocks(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotNamespaces(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotPrincipals(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- func (b *AuthenticationPolicySelectorApplyConfiguration) WithPrincipals(values ...string) *AuthenticationPolicySelectorApplyConfiguration
- type AuthenticationPolicySpecApplyConfiguration
- func (b *AuthenticationPolicySpecApplyConfiguration) WithAction(value string) *AuthenticationPolicySpecApplyConfiguration
- func (b *AuthenticationPolicySpecApplyConfiguration) WithPortLevel(values ...*AuthenticationPolicyPortLevelApplyConfiguration) *AuthenticationPolicySpecApplyConfiguration
- func (b *AuthenticationPolicySpecApplyConfiguration) WithSelector(values ...*AuthenticationPolicySelectorApplyConfiguration) *AuthenticationPolicySpecApplyConfiguration
- type AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithAPIVersion(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithFinalizers(values ...string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithGenerateName(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithGeneration(value int64) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithKind(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithLabels(entries map[string]string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithName(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithNamespace(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithResourceVersion(value string) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithSpec(value *AuthorizationPolicySpecApplyConfiguration) *AuthorizationPolicyApplyConfiguration
- func (b *AuthorizationPolicyApplyConfiguration) WithUID(value types.UID) *AuthorizationPolicyApplyConfiguration
- type AuthorizationPolicyConditionApplyConfiguration
- func (b *AuthorizationPolicyConditionApplyConfiguration) WithKey(value string) *AuthorizationPolicyConditionApplyConfiguration
- func (b *AuthorizationPolicyConditionApplyConfiguration) WithNotValues(values ...*AuthorizationPolicyMatchApplyConfiguration) *AuthorizationPolicyConditionApplyConfiguration
- func (b *AuthorizationPolicyConditionApplyConfiguration) WithValues(values ...*AuthorizationPolicyMatchApplyConfiguration) *AuthorizationPolicyConditionApplyConfiguration
- type AuthorizationPolicyExtendApplyConfiguration
- type AuthorizationPolicyMatchApplyConfiguration
- type AuthorizationPolicyRuleApplyConfiguration
- func (b *AuthorizationPolicyRuleApplyConfiguration) WithFrom(value *AuthorizationPolicySourceApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
- func (b *AuthorizationPolicyRuleApplyConfiguration) WithTo(value *AuthorizationPolicyTargetApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
- func (b *AuthorizationPolicyRuleApplyConfiguration) WithWhen(value *AuthorizationPolicyConditionApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
- type AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithIpBlocks(values ...string) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithNamespaces(values ...string) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithNotExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithNotIpBlocks(values ...string) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithNotNamespaces(values ...string) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithNotPrincipals(values ...string) *AuthorizationPolicySourceApplyConfiguration
- func (b *AuthorizationPolicySourceApplyConfiguration) WithPrincipals(values ...string) *AuthorizationPolicySourceApplyConfiguration
- type AuthorizationPolicySpecApplyConfiguration
- func (b *AuthorizationPolicySpecApplyConfiguration) WithAction(value string) *AuthorizationPolicySpecApplyConfiguration
- func (b *AuthorizationPolicySpecApplyConfiguration) WithMatchType(value string) *AuthorizationPolicySpecApplyConfiguration
- func (b *AuthorizationPolicySpecApplyConfiguration) WithOrder(value float32) *AuthorizationPolicySpecApplyConfiguration
- func (b *AuthorizationPolicySpecApplyConfiguration) WithRules(values ...*AuthorizationPolicyRuleApplyConfiguration) *AuthorizationPolicySpecApplyConfiguration
- func (b *AuthorizationPolicySpecApplyConfiguration) WithSamples(value float32) *AuthorizationPolicySpecApplyConfiguration
- type AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithIpBlocks(values ...string) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithNamespaces(values ...string) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotIpBlocks(values ...string) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotNamespaces(values ...string) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotPrincipals(values ...string) *AuthorizationPolicyTargetApplyConfiguration
- func (b *AuthorizationPolicyTargetApplyConfiguration) WithPrincipals(values ...string) *AuthorizationPolicyTargetApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationPolicyApplyConfiguration ¶
type AuthenticationPolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AuthenticationPolicySpecApplyConfiguration `json:"spec,omitempty"` }
AuthenticationPolicyApplyConfiguration represents an declarative configuration of the AuthenticationPolicy type for use with apply.
func AuthenticationPolicy ¶
func AuthenticationPolicy(name, namespace string) *AuthenticationPolicyApplyConfiguration
AuthenticationPolicy constructs an declarative configuration of the AuthenticationPolicy type for use with apply.
func (*AuthenticationPolicyApplyConfiguration) WithAPIVersion ¶
func (b *AuthenticationPolicyApplyConfiguration) WithAPIVersion(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithAnnotations ¶
func (b *AuthenticationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *AuthenticationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AuthenticationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *AuthenticationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithFinalizers ¶
func (b *AuthenticationPolicyApplyConfiguration) WithFinalizers(values ...string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithGenerateName ¶
func (b *AuthenticationPolicyApplyConfiguration) WithGenerateName(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithGeneration ¶
func (b *AuthenticationPolicyApplyConfiguration) WithGeneration(value int64) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithKind ¶
func (b *AuthenticationPolicyApplyConfiguration) WithKind(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithLabels ¶
func (b *AuthenticationPolicyApplyConfiguration) WithLabels(entries map[string]string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithName ¶
func (b *AuthenticationPolicyApplyConfiguration) WithName(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithNamespace ¶
func (b *AuthenticationPolicyApplyConfiguration) WithNamespace(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithOwnerReferences ¶
func (b *AuthenticationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithResourceVersion ¶
func (b *AuthenticationPolicyApplyConfiguration) WithResourceVersion(value string) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithSpec ¶
func (b *AuthenticationPolicyApplyConfiguration) WithSpec(value *AuthenticationPolicySpecApplyConfiguration) *AuthenticationPolicyApplyConfiguration
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 (*AuthenticationPolicyApplyConfiguration) WithUID ¶
func (b *AuthenticationPolicyApplyConfiguration) WithUID(value types.UID) *AuthenticationPolicyApplyConfiguration
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 AuthenticationPolicyExtendApplyConfiguration ¶
type AuthenticationPolicyExtendApplyConfiguration struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
AuthenticationPolicyExtendApplyConfiguration represents an declarative configuration of the AuthenticationPolicyExtend type for use with apply.
func AuthenticationPolicyExtend ¶
func AuthenticationPolicyExtend() *AuthenticationPolicyExtendApplyConfiguration
AuthenticationPolicyExtendApplyConfiguration constructs an declarative configuration of the AuthenticationPolicyExtend type for use with apply.
func (*AuthenticationPolicyExtendApplyConfiguration) WithKey ¶
func (b *AuthenticationPolicyExtendApplyConfiguration) WithKey(value string) *AuthenticationPolicyExtendApplyConfiguration
WithKey sets the Key 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 Key field is set to the value of the last call.
func (*AuthenticationPolicyExtendApplyConfiguration) WithValue ¶
func (b *AuthenticationPolicyExtendApplyConfiguration) WithValue(value string) *AuthenticationPolicyExtendApplyConfiguration
WithValue sets the Value 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 Value field is set to the value of the last call.
type AuthenticationPolicyPortLevelApplyConfiguration ¶
type AuthenticationPolicyPortLevelApplyConfiguration struct { Port *int `json:"port,omitempty"` Action *string `json:"action,omitempty"` }
AuthenticationPolicyPortLevelApplyConfiguration represents an declarative configuration of the AuthenticationPolicyPortLevel type for use with apply.
func AuthenticationPolicyPortLevel ¶
func AuthenticationPolicyPortLevel() *AuthenticationPolicyPortLevelApplyConfiguration
AuthenticationPolicyPortLevelApplyConfiguration constructs an declarative configuration of the AuthenticationPolicyPortLevel type for use with apply.
func (*AuthenticationPolicyPortLevelApplyConfiguration) WithAction ¶
func (b *AuthenticationPolicyPortLevelApplyConfiguration) WithAction(value string) *AuthenticationPolicyPortLevelApplyConfiguration
WithAction sets the Action 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 Action field is set to the value of the last call.
func (*AuthenticationPolicyPortLevelApplyConfiguration) WithPort ¶
func (b *AuthenticationPolicyPortLevelApplyConfiguration) WithPort(value int) *AuthenticationPolicyPortLevelApplyConfiguration
WithPort sets the Port 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 Port field is set to the value of the last call.
type AuthenticationPolicySelectorApplyConfiguration ¶
type AuthenticationPolicySelectorApplyConfiguration struct { Namespaces []string `json:"namespaces,omitempty"` NotNamespaces []string `json:"notNamespaces,omitempty"` IpBlocks []string `json:"ipBlocks,omitempty"` NotIpBlocks []string `json:"notIpBlocks,omitempty"` Principals []string `json:"principals,omitempty"` NotPrincipals []string `json:"notPrincipals,omitempty"` Extends []AuthenticationPolicyExtendApplyConfiguration `json:"extends,omitempty"` NotExtends []AuthenticationPolicyExtendApplyConfiguration `json:"notExtends,omitempty"` }
AuthenticationPolicySelectorApplyConfiguration represents an declarative configuration of the AuthenticationPolicySelector type for use with apply.
func AuthenticationPolicySelector ¶
func AuthenticationPolicySelector() *AuthenticationPolicySelectorApplyConfiguration
AuthenticationPolicySelectorApplyConfiguration constructs an declarative configuration of the AuthenticationPolicySelector type for use with apply.
func (*AuthenticationPolicySelectorApplyConfiguration) WithExtends ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithExtends(values ...*AuthenticationPolicyExtendApplyConfiguration) *AuthenticationPolicySelectorApplyConfiguration
WithExtends adds the given value to the Extends 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 Extends field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithIpBlocks ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithIpBlocks(values ...string) *AuthenticationPolicySelectorApplyConfiguration
WithIpBlocks adds the given value to the IpBlocks 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 IpBlocks field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithNamespaces ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithNamespaces(values ...string) *AuthenticationPolicySelectorApplyConfiguration
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 (*AuthenticationPolicySelectorApplyConfiguration) WithNotExtends ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotExtends(values ...*AuthenticationPolicyExtendApplyConfiguration) *AuthenticationPolicySelectorApplyConfiguration
WithNotExtends adds the given value to the NotExtends 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 NotExtends field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithNotIpBlocks ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotIpBlocks(values ...string) *AuthenticationPolicySelectorApplyConfiguration
WithNotIpBlocks adds the given value to the NotIpBlocks 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 NotIpBlocks field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithNotNamespaces ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotNamespaces(values ...string) *AuthenticationPolicySelectorApplyConfiguration
WithNotNamespaces adds the given value to the NotNamespaces 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 NotNamespaces field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithNotPrincipals ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithNotPrincipals(values ...string) *AuthenticationPolicySelectorApplyConfiguration
WithNotPrincipals adds the given value to the NotPrincipals 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 NotPrincipals field.
func (*AuthenticationPolicySelectorApplyConfiguration) WithPrincipals ¶
func (b *AuthenticationPolicySelectorApplyConfiguration) WithPrincipals(values ...string) *AuthenticationPolicySelectorApplyConfiguration
WithPrincipals adds the given value to the Principals 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 Principals field.
type AuthenticationPolicySpecApplyConfiguration ¶
type AuthenticationPolicySpecApplyConfiguration struct { Action *string `json:"action,omitempty"` Selector []AuthenticationPolicySelectorApplyConfiguration `json:"selector,omitempty"` PortLevel []AuthenticationPolicyPortLevelApplyConfiguration `json:"PortLevel,omitempty"` }
AuthenticationPolicySpecApplyConfiguration represents an declarative configuration of the AuthenticationPolicySpec type for use with apply.
func AuthenticationPolicySpec ¶
func AuthenticationPolicySpec() *AuthenticationPolicySpecApplyConfiguration
AuthenticationPolicySpecApplyConfiguration constructs an declarative configuration of the AuthenticationPolicySpec type for use with apply.
func (*AuthenticationPolicySpecApplyConfiguration) WithAction ¶
func (b *AuthenticationPolicySpecApplyConfiguration) WithAction(value string) *AuthenticationPolicySpecApplyConfiguration
WithAction sets the Action 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 Action field is set to the value of the last call.
func (*AuthenticationPolicySpecApplyConfiguration) WithPortLevel ¶
func (b *AuthenticationPolicySpecApplyConfiguration) WithPortLevel(values ...*AuthenticationPolicyPortLevelApplyConfiguration) *AuthenticationPolicySpecApplyConfiguration
WithPortLevel adds the given value to the PortLevel 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 PortLevel field.
func (*AuthenticationPolicySpecApplyConfiguration) WithSelector ¶
func (b *AuthenticationPolicySpecApplyConfiguration) WithSelector(values ...*AuthenticationPolicySelectorApplyConfiguration) *AuthenticationPolicySpecApplyConfiguration
WithSelector adds the given value to the Selector 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 Selector field.
type AuthorizationPolicyApplyConfiguration ¶
type AuthorizationPolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AuthorizationPolicySpecApplyConfiguration `json:"spec,omitempty"` }
AuthorizationPolicyApplyConfiguration represents an declarative configuration of the AuthorizationPolicy type for use with apply.
func AuthorizationPolicy ¶
func AuthorizationPolicy(name, namespace string) *AuthorizationPolicyApplyConfiguration
AuthorizationPolicy constructs an declarative configuration of the AuthorizationPolicy type for use with apply.
func (*AuthorizationPolicyApplyConfiguration) WithAPIVersion ¶
func (b *AuthorizationPolicyApplyConfiguration) WithAPIVersion(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithAnnotations ¶
func (b *AuthorizationPolicyApplyConfiguration) WithAnnotations(entries map[string]string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *AuthorizationPolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AuthorizationPolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *AuthorizationPolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithFinalizers ¶
func (b *AuthorizationPolicyApplyConfiguration) WithFinalizers(values ...string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithGenerateName ¶
func (b *AuthorizationPolicyApplyConfiguration) WithGenerateName(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithGeneration ¶
func (b *AuthorizationPolicyApplyConfiguration) WithGeneration(value int64) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithKind ¶
func (b *AuthorizationPolicyApplyConfiguration) WithKind(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithLabels ¶
func (b *AuthorizationPolicyApplyConfiguration) WithLabels(entries map[string]string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithName ¶
func (b *AuthorizationPolicyApplyConfiguration) WithName(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithNamespace ¶
func (b *AuthorizationPolicyApplyConfiguration) WithNamespace(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithOwnerReferences ¶
func (b *AuthorizationPolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithResourceVersion ¶
func (b *AuthorizationPolicyApplyConfiguration) WithResourceVersion(value string) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithSpec ¶
func (b *AuthorizationPolicyApplyConfiguration) WithSpec(value *AuthorizationPolicySpecApplyConfiguration) *AuthorizationPolicyApplyConfiguration
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 (*AuthorizationPolicyApplyConfiguration) WithUID ¶
func (b *AuthorizationPolicyApplyConfiguration) WithUID(value types.UID) *AuthorizationPolicyApplyConfiguration
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 AuthorizationPolicyConditionApplyConfiguration ¶
type AuthorizationPolicyConditionApplyConfiguration struct { Key *string `json:"key,omitempty"` Values []AuthorizationPolicyMatchApplyConfiguration `json:"values,omitempty"` NotValues []AuthorizationPolicyMatchApplyConfiguration `json:"notValues,omitempty"` }
AuthorizationPolicyConditionApplyConfiguration represents an declarative configuration of the AuthorizationPolicyCondition type for use with apply.
func AuthorizationPolicyCondition ¶
func AuthorizationPolicyCondition() *AuthorizationPolicyConditionApplyConfiguration
AuthorizationPolicyConditionApplyConfiguration constructs an declarative configuration of the AuthorizationPolicyCondition type for use with apply.
func (*AuthorizationPolicyConditionApplyConfiguration) WithKey ¶
func (b *AuthorizationPolicyConditionApplyConfiguration) WithKey(value string) *AuthorizationPolicyConditionApplyConfiguration
WithKey sets the Key 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 Key field is set to the value of the last call.
func (*AuthorizationPolicyConditionApplyConfiguration) WithNotValues ¶
func (b *AuthorizationPolicyConditionApplyConfiguration) WithNotValues(values ...*AuthorizationPolicyMatchApplyConfiguration) *AuthorizationPolicyConditionApplyConfiguration
WithNotValues adds the given value to the NotValues 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 NotValues field.
func (*AuthorizationPolicyConditionApplyConfiguration) WithValues ¶
func (b *AuthorizationPolicyConditionApplyConfiguration) WithValues(values ...*AuthorizationPolicyMatchApplyConfiguration) *AuthorizationPolicyConditionApplyConfiguration
WithValues adds the given value to the Values 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 Values field.
type AuthorizationPolicyExtendApplyConfiguration ¶
type AuthorizationPolicyExtendApplyConfiguration struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
AuthorizationPolicyExtendApplyConfiguration represents an declarative configuration of the AuthorizationPolicyExtend type for use with apply.
func AuthorizationPolicyExtend ¶
func AuthorizationPolicyExtend() *AuthorizationPolicyExtendApplyConfiguration
AuthorizationPolicyExtendApplyConfiguration constructs an declarative configuration of the AuthorizationPolicyExtend type for use with apply.
func (*AuthorizationPolicyExtendApplyConfiguration) WithKey ¶
func (b *AuthorizationPolicyExtendApplyConfiguration) WithKey(value string) *AuthorizationPolicyExtendApplyConfiguration
WithKey sets the Key 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 Key field is set to the value of the last call.
func (*AuthorizationPolicyExtendApplyConfiguration) WithValue ¶
func (b *AuthorizationPolicyExtendApplyConfiguration) WithValue(value string) *AuthorizationPolicyExtendApplyConfiguration
WithValue sets the Value 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 Value field is set to the value of the last call.
type AuthorizationPolicyMatchApplyConfiguration ¶
type AuthorizationPolicyMatchApplyConfiguration struct { Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` }
AuthorizationPolicyMatchApplyConfiguration represents an declarative configuration of the AuthorizationPolicyMatch type for use with apply.
func AuthorizationPolicyMatch ¶
func AuthorizationPolicyMatch() *AuthorizationPolicyMatchApplyConfiguration
AuthorizationPolicyMatchApplyConfiguration constructs an declarative configuration of the AuthorizationPolicyMatch type for use with apply.
func (*AuthorizationPolicyMatchApplyConfiguration) WithType ¶
func (b *AuthorizationPolicyMatchApplyConfiguration) WithType(value string) *AuthorizationPolicyMatchApplyConfiguration
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.
func (*AuthorizationPolicyMatchApplyConfiguration) WithValue ¶
func (b *AuthorizationPolicyMatchApplyConfiguration) WithValue(value string) *AuthorizationPolicyMatchApplyConfiguration
WithValue sets the Value 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 Value field is set to the value of the last call.
type AuthorizationPolicyRuleApplyConfiguration ¶
type AuthorizationPolicyRuleApplyConfiguration struct { From *AuthorizationPolicySourceApplyConfiguration `json:"from,omitempty"` To *AuthorizationPolicyTargetApplyConfiguration `json:"to,omitempty"` When *AuthorizationPolicyConditionApplyConfiguration `json:"when,omitempty"` }
AuthorizationPolicyRuleApplyConfiguration represents an declarative configuration of the AuthorizationPolicyRule type for use with apply.
func AuthorizationPolicyRule ¶
func AuthorizationPolicyRule() *AuthorizationPolicyRuleApplyConfiguration
AuthorizationPolicyRuleApplyConfiguration constructs an declarative configuration of the AuthorizationPolicyRule type for use with apply.
func (*AuthorizationPolicyRuleApplyConfiguration) WithFrom ¶
func (b *AuthorizationPolicyRuleApplyConfiguration) WithFrom(value *AuthorizationPolicySourceApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
WithFrom sets the From 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 From field is set to the value of the last call.
func (*AuthorizationPolicyRuleApplyConfiguration) WithTo ¶
func (b *AuthorizationPolicyRuleApplyConfiguration) WithTo(value *AuthorizationPolicyTargetApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
WithTo sets the To 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 To field is set to the value of the last call.
func (*AuthorizationPolicyRuleApplyConfiguration) WithWhen ¶
func (b *AuthorizationPolicyRuleApplyConfiguration) WithWhen(value *AuthorizationPolicyConditionApplyConfiguration) *AuthorizationPolicyRuleApplyConfiguration
WithWhen sets the When 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 When field is set to the value of the last call.
type AuthorizationPolicySourceApplyConfiguration ¶
type AuthorizationPolicySourceApplyConfiguration struct { Namespaces []string `json:"namespaces,omitempty"` NotNamespaces []string `json:"notNamespaces,omitempty"` IpBlocks []string `json:"ipBlocks,omitempty"` NotIpBlocks []string `json:"notIpBlocks,omitempty"` Principals []string `json:"principals,omitempty"` NotPrincipals []string `json:"notPrincipals,omitempty"` Extends []AuthorizationPolicyExtendApplyConfiguration `json:"extends,omitempty"` NotExtends []AuthorizationPolicyExtendApplyConfiguration `json:"notExtends,omitempty"` }
AuthorizationPolicySourceApplyConfiguration represents an declarative configuration of the AuthorizationPolicySource type for use with apply.
func AuthorizationPolicySource ¶
func AuthorizationPolicySource() *AuthorizationPolicySourceApplyConfiguration
AuthorizationPolicySourceApplyConfiguration constructs an declarative configuration of the AuthorizationPolicySource type for use with apply.
func (*AuthorizationPolicySourceApplyConfiguration) WithExtends ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicySourceApplyConfiguration
WithExtends adds the given value to the Extends 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 Extends field.
func (*AuthorizationPolicySourceApplyConfiguration) WithIpBlocks ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithIpBlocks(values ...string) *AuthorizationPolicySourceApplyConfiguration
WithIpBlocks adds the given value to the IpBlocks 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 IpBlocks field.
func (*AuthorizationPolicySourceApplyConfiguration) WithNamespaces ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithNamespaces(values ...string) *AuthorizationPolicySourceApplyConfiguration
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 (*AuthorizationPolicySourceApplyConfiguration) WithNotExtends ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithNotExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicySourceApplyConfiguration
WithNotExtends adds the given value to the NotExtends 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 NotExtends field.
func (*AuthorizationPolicySourceApplyConfiguration) WithNotIpBlocks ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithNotIpBlocks(values ...string) *AuthorizationPolicySourceApplyConfiguration
WithNotIpBlocks adds the given value to the NotIpBlocks 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 NotIpBlocks field.
func (*AuthorizationPolicySourceApplyConfiguration) WithNotNamespaces ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithNotNamespaces(values ...string) *AuthorizationPolicySourceApplyConfiguration
WithNotNamespaces adds the given value to the NotNamespaces 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 NotNamespaces field.
func (*AuthorizationPolicySourceApplyConfiguration) WithNotPrincipals ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithNotPrincipals(values ...string) *AuthorizationPolicySourceApplyConfiguration
WithNotPrincipals adds the given value to the NotPrincipals 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 NotPrincipals field.
func (*AuthorizationPolicySourceApplyConfiguration) WithPrincipals ¶
func (b *AuthorizationPolicySourceApplyConfiguration) WithPrincipals(values ...string) *AuthorizationPolicySourceApplyConfiguration
WithPrincipals adds the given value to the Principals 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 Principals field.
type AuthorizationPolicySpecApplyConfiguration ¶
type AuthorizationPolicySpecApplyConfiguration struct { Action *string `json:"action,omitempty"` Rules []AuthorizationPolicyRuleApplyConfiguration `json:"rules,omitempty"` Samples *float32 `json:"samples,omitempty"` Order *float32 `json:"order,omitempty"` MatchType *string `json:"matchType,omitempty"` }
AuthorizationPolicySpecApplyConfiguration represents an declarative configuration of the AuthorizationPolicySpec type for use with apply.
func AuthorizationPolicySpec ¶
func AuthorizationPolicySpec() *AuthorizationPolicySpecApplyConfiguration
AuthorizationPolicySpecApplyConfiguration constructs an declarative configuration of the AuthorizationPolicySpec type for use with apply.
func (*AuthorizationPolicySpecApplyConfiguration) WithAction ¶
func (b *AuthorizationPolicySpecApplyConfiguration) WithAction(value string) *AuthorizationPolicySpecApplyConfiguration
WithAction sets the Action 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 Action field is set to the value of the last call.
func (*AuthorizationPolicySpecApplyConfiguration) WithMatchType ¶
func (b *AuthorizationPolicySpecApplyConfiguration) WithMatchType(value string) *AuthorizationPolicySpecApplyConfiguration
WithMatchType sets the MatchType 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 MatchType field is set to the value of the last call.
func (*AuthorizationPolicySpecApplyConfiguration) WithOrder ¶
func (b *AuthorizationPolicySpecApplyConfiguration) WithOrder(value float32) *AuthorizationPolicySpecApplyConfiguration
WithOrder sets the Order 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 Order field is set to the value of the last call.
func (*AuthorizationPolicySpecApplyConfiguration) WithRules ¶
func (b *AuthorizationPolicySpecApplyConfiguration) WithRules(values ...*AuthorizationPolicyRuleApplyConfiguration) *AuthorizationPolicySpecApplyConfiguration
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.
func (*AuthorizationPolicySpecApplyConfiguration) WithSamples ¶
func (b *AuthorizationPolicySpecApplyConfiguration) WithSamples(value float32) *AuthorizationPolicySpecApplyConfiguration
WithSamples sets the Samples 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 Samples field is set to the value of the last call.
type AuthorizationPolicyTargetApplyConfiguration ¶
type AuthorizationPolicyTargetApplyConfiguration struct { Namespaces []string `json:"namespaces,omitempty"` NotNamespaces []string `json:"notNamespaces,omitempty"` IpBlocks []string `json:"ipBlocks,omitempty"` NotIpBlocks []string `json:"notIpBlocks,omitempty"` Principals []string `json:"principals,omitempty"` NotPrincipals []string `json:"notPrincipals,omitempty"` Extends []AuthorizationPolicyExtendApplyConfiguration `json:"extends,omitempty"` NotExtends []AuthorizationPolicyExtendApplyConfiguration `json:"notExtends,omitempty"` }
AuthorizationPolicyTargetApplyConfiguration represents an declarative configuration of the AuthorizationPolicyTarget type for use with apply.
func AuthorizationPolicyTarget ¶
func AuthorizationPolicyTarget() *AuthorizationPolicyTargetApplyConfiguration
AuthorizationPolicyTargetApplyConfiguration constructs an declarative configuration of the AuthorizationPolicyTarget type for use with apply.
func (*AuthorizationPolicyTargetApplyConfiguration) WithExtends ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicyTargetApplyConfiguration
WithExtends adds the given value to the Extends 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 Extends field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithIpBlocks ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithIpBlocks(values ...string) *AuthorizationPolicyTargetApplyConfiguration
WithIpBlocks adds the given value to the IpBlocks 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 IpBlocks field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithNamespaces ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithNamespaces(values ...string) *AuthorizationPolicyTargetApplyConfiguration
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 (*AuthorizationPolicyTargetApplyConfiguration) WithNotExtends ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotExtends(values ...*AuthorizationPolicyExtendApplyConfiguration) *AuthorizationPolicyTargetApplyConfiguration
WithNotExtends adds the given value to the NotExtends 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 NotExtends field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithNotIpBlocks ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotIpBlocks(values ...string) *AuthorizationPolicyTargetApplyConfiguration
WithNotIpBlocks adds the given value to the NotIpBlocks 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 NotIpBlocks field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithNotNamespaces ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotNamespaces(values ...string) *AuthorizationPolicyTargetApplyConfiguration
WithNotNamespaces adds the given value to the NotNamespaces 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 NotNamespaces field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithNotPrincipals ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithNotPrincipals(values ...string) *AuthorizationPolicyTargetApplyConfiguration
WithNotPrincipals adds the given value to the NotPrincipals 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 NotPrincipals field.
func (*AuthorizationPolicyTargetApplyConfiguration) WithPrincipals ¶
func (b *AuthorizationPolicyTargetApplyConfiguration) WithPrincipals(values ...string) *AuthorizationPolicyTargetApplyConfiguration
WithPrincipals adds the given value to the Principals 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 Principals field.
Source Files ¶
- authenticationpolicy.go
- authenticationpolicyextend.go
- authenticationpolicyportlevel.go
- authenticationpolicyselector.go
- authenticationpolicyspec.go
- authorizationpolicy.go
- authorizationpolicycondition.go
- authorizationpolicyextend.go
- authorizationpolicymatch.go
- authorizationpolicyrule.go
- authorizationpolicysource.go
- authorizationpolicyspec.go
- authorizationpolicytarget.go