v1beta1

package
v0.0.0-...-97dd610 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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