Documentation ¶
Index ¶
- type JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithAPIVersion(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithAnnotations(entries map[string]string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithFinalizers(values ...string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithGenerateName(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithGeneration(value int64) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithKind(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithLabels(entries map[string]string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithName(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithNamespace(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithResourceVersion(value string) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithSpec(value *JwtIssuerSpecApplyConfiguration) *JwtIssuerApplyConfiguration
- func (b *JwtIssuerApplyConfiguration) WithUID(value types.UID) *JwtIssuerApplyConfiguration
- type JwtIssuerSpecApplyConfiguration
- func (b *JwtIssuerSpecApplyConfiguration) WithAudience(values ...string) *JwtIssuerSpecApplyConfiguration
- func (b *JwtIssuerSpecApplyConfiguration) WithIssuer(value string) *JwtIssuerSpecApplyConfiguration
- func (b *JwtIssuerSpecApplyConfiguration) WithIssuerInternal(value string) *JwtIssuerSpecApplyConfiguration
- func (b *JwtIssuerSpecApplyConfiguration) WithTokenExpiry(value string) *JwtIssuerSpecApplyConfiguration
- type PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithAPIVersion(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithFinalizers(values ...string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithGenerateName(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithGeneration(value int64) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithKind(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithLabels(entries map[string]string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithName(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithNamespace(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithResourceVersion(value string) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithSpec(value *PolicySpecApplyConfiguration) *PolicyApplyConfiguration
- func (b *PolicyApplyConfiguration) WithUID(value types.UID) *PolicyApplyConfiguration
- type PolicySpecApplyConfiguration
- type PolicyStatementApplyConfiguration
- func (b *PolicyStatementApplyConfiguration) WithAction(values ...string) *PolicyStatementApplyConfiguration
- func (b *PolicyStatementApplyConfiguration) WithCondition(value v1.ConditionMap) *PolicyStatementApplyConfiguration
- func (b *PolicyStatementApplyConfiguration) WithEffect(value string) *PolicyStatementApplyConfiguration
- func (b *PolicyStatementApplyConfiguration) WithResource(values ...string) *PolicyStatementApplyConfiguration
- func (b *PolicyStatementApplyConfiguration) WithSID(value string) *PolicyStatementApplyConfiguration
- type RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithAPIVersion(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithAnnotations(entries map[string]string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithFinalizers(values ...string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithGenerateName(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithGeneration(value int64) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithKind(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithLabels(entries map[string]string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithName(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithNamespace(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithResourceVersion(value string) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithSpec(value *RoleSpecApplyConfiguration) *RoleApplyConfiguration
- func (b *RoleApplyConfiguration) WithUID(value types.UID) *RoleApplyConfiguration
- type RoleSpecApplyConfiguration
- func (b *RoleSpecApplyConfiguration) WithCondition(value v1.ConditionMap) *RoleSpecApplyConfiguration
- func (b *RoleSpecApplyConfiguration) WithPolicy(values ...string) *RoleSpecApplyConfiguration
- func (b *RoleSpecApplyConfiguration) WithPrincipal(entries map[string][]string) *RoleSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtIssuerApplyConfiguration ¶
type JwtIssuerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *JwtIssuerSpecApplyConfiguration `json:"spec,omitempty"` }
JwtIssuerApplyConfiguration represents an declarative configuration of the JwtIssuer type for use with apply.
func JwtIssuer ¶
func JwtIssuer(name, namespace string) *JwtIssuerApplyConfiguration
JwtIssuer constructs an declarative configuration of the JwtIssuer type for use with apply.
func (*JwtIssuerApplyConfiguration) WithAPIVersion ¶
func (b *JwtIssuerApplyConfiguration) WithAPIVersion(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithAnnotations ¶
func (b *JwtIssuerApplyConfiguration) WithAnnotations(entries map[string]string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithCreationTimestamp ¶
func (b *JwtIssuerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *JwtIssuerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithDeletionTimestamp ¶
func (b *JwtIssuerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithFinalizers ¶
func (b *JwtIssuerApplyConfiguration) WithFinalizers(values ...string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithGenerateName ¶
func (b *JwtIssuerApplyConfiguration) WithGenerateName(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithGeneration ¶
func (b *JwtIssuerApplyConfiguration) WithGeneration(value int64) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithKind ¶
func (b *JwtIssuerApplyConfiguration) WithKind(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithLabels ¶
func (b *JwtIssuerApplyConfiguration) WithLabels(entries map[string]string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithName ¶
func (b *JwtIssuerApplyConfiguration) WithName(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithNamespace ¶
func (b *JwtIssuerApplyConfiguration) WithNamespace(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithOwnerReferences ¶
func (b *JwtIssuerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithResourceVersion ¶
func (b *JwtIssuerApplyConfiguration) WithResourceVersion(value string) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithSpec ¶
func (b *JwtIssuerApplyConfiguration) WithSpec(value *JwtIssuerSpecApplyConfiguration) *JwtIssuerApplyConfiguration
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 (*JwtIssuerApplyConfiguration) WithUID ¶
func (b *JwtIssuerApplyConfiguration) WithUID(value types.UID) *JwtIssuerApplyConfiguration
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 JwtIssuerSpecApplyConfiguration ¶
type JwtIssuerSpecApplyConfiguration struct { Issuer *string `json:"iss,omitempty"` IssuerInternal *string `json:"issInternal,omitempty"` Audience []string `json:"aud,omitempty"` TokenExpiry *string `json:"tokenExpiry,omitempty"` }
JwtIssuerSpecApplyConfiguration represents an declarative configuration of the JwtIssuerSpec type for use with apply.
func JwtIssuerSpec ¶
func JwtIssuerSpec() *JwtIssuerSpecApplyConfiguration
JwtIssuerSpecApplyConfiguration constructs an declarative configuration of the JwtIssuerSpec type for use with apply.
func (*JwtIssuerSpecApplyConfiguration) WithAudience ¶
func (b *JwtIssuerSpecApplyConfiguration) WithAudience(values ...string) *JwtIssuerSpecApplyConfiguration
WithAudience adds the given value to the Audience 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 Audience field.
func (*JwtIssuerSpecApplyConfiguration) WithIssuer ¶
func (b *JwtIssuerSpecApplyConfiguration) WithIssuer(value string) *JwtIssuerSpecApplyConfiguration
WithIssuer sets the Issuer 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 Issuer field is set to the value of the last call.
func (*JwtIssuerSpecApplyConfiguration) WithIssuerInternal ¶
func (b *JwtIssuerSpecApplyConfiguration) WithIssuerInternal(value string) *JwtIssuerSpecApplyConfiguration
WithIssuerInternal sets the IssuerInternal 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 IssuerInternal field is set to the value of the last call.
func (*JwtIssuerSpecApplyConfiguration) WithTokenExpiry ¶
func (b *JwtIssuerSpecApplyConfiguration) WithTokenExpiry(value string) *JwtIssuerSpecApplyConfiguration
WithTokenExpiry sets the TokenExpiry 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 TokenExpiry field is set to the value of the last call.
type PolicyApplyConfiguration ¶
type PolicyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PolicySpecApplyConfiguration `json:"spec,omitempty"` }
PolicyApplyConfiguration represents an declarative configuration of the Policy type for use with apply.
func Policy ¶
func Policy(name, namespace string) *PolicyApplyConfiguration
Policy constructs an declarative configuration of the Policy type for use with apply.
func (*PolicyApplyConfiguration) WithAPIVersion ¶
func (b *PolicyApplyConfiguration) WithAPIVersion(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithAnnotations ¶
func (b *PolicyApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithCreationTimestamp ¶
func (b *PolicyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PolicyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithDeletionTimestamp ¶
func (b *PolicyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithFinalizers ¶
func (b *PolicyApplyConfiguration) WithFinalizers(values ...string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithGenerateName ¶
func (b *PolicyApplyConfiguration) WithGenerateName(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithGeneration ¶
func (b *PolicyApplyConfiguration) WithGeneration(value int64) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithKind ¶
func (b *PolicyApplyConfiguration) WithKind(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithLabels ¶
func (b *PolicyApplyConfiguration) WithLabels(entries map[string]string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithName ¶
func (b *PolicyApplyConfiguration) WithName(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithNamespace ¶
func (b *PolicyApplyConfiguration) WithNamespace(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithOwnerReferences ¶
func (b *PolicyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithResourceVersion ¶
func (b *PolicyApplyConfiguration) WithResourceVersion(value string) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithSpec ¶
func (b *PolicyApplyConfiguration) WithSpec(value *PolicySpecApplyConfiguration) *PolicyApplyConfiguration
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 (*PolicyApplyConfiguration) WithUID ¶
func (b *PolicyApplyConfiguration) WithUID(value types.UID) *PolicyApplyConfiguration
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 PolicySpecApplyConfiguration ¶
type PolicySpecApplyConfiguration struct {
Statement []PolicyStatementApplyConfiguration `json:"statement,omitempty"`
}
PolicySpecApplyConfiguration represents an declarative configuration of the PolicySpec type for use with apply.
func PolicySpec ¶
func PolicySpec() *PolicySpecApplyConfiguration
PolicySpecApplyConfiguration constructs an declarative configuration of the PolicySpec type for use with apply.
func (*PolicySpecApplyConfiguration) WithStatement ¶
func (b *PolicySpecApplyConfiguration) WithStatement(values ...*PolicyStatementApplyConfiguration) *PolicySpecApplyConfiguration
WithStatement adds the given value to the Statement 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 Statement field.
type PolicyStatementApplyConfiguration ¶
type PolicyStatementApplyConfiguration struct { SID *string `json:"sid,omitempty"` Effect *string `json:"effect,omitempty"` Action []string `json:"action,omitempty"` Resource []string `json:"resource,omitempty"` Condition *v1.ConditionMap `json:"condition,omitempty"` }
PolicyStatementApplyConfiguration represents an declarative configuration of the PolicyStatement type for use with apply.
func PolicyStatement ¶
func PolicyStatement() *PolicyStatementApplyConfiguration
PolicyStatementApplyConfiguration constructs an declarative configuration of the PolicyStatement type for use with apply.
func (*PolicyStatementApplyConfiguration) WithAction ¶
func (b *PolicyStatementApplyConfiguration) WithAction(values ...string) *PolicyStatementApplyConfiguration
WithAction adds the given value to the Action 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 Action field.
func (*PolicyStatementApplyConfiguration) WithCondition ¶
func (b *PolicyStatementApplyConfiguration) WithCondition(value v1.ConditionMap) *PolicyStatementApplyConfiguration
WithCondition sets the Condition 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 Condition field is set to the value of the last call.
func (*PolicyStatementApplyConfiguration) WithEffect ¶
func (b *PolicyStatementApplyConfiguration) WithEffect(value string) *PolicyStatementApplyConfiguration
WithEffect sets the Effect 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 Effect field is set to the value of the last call.
func (*PolicyStatementApplyConfiguration) WithResource ¶
func (b *PolicyStatementApplyConfiguration) WithResource(values ...string) *PolicyStatementApplyConfiguration
WithResource adds the given value to the Resource 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 Resource field.
func (*PolicyStatementApplyConfiguration) WithSID ¶
func (b *PolicyStatementApplyConfiguration) WithSID(value string) *PolicyStatementApplyConfiguration
WithSID sets the SID 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 SID field is set to the value of the last call.
type RoleApplyConfiguration ¶
type RoleApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *RoleSpecApplyConfiguration `json:"spec,omitempty"` }
RoleApplyConfiguration represents an declarative configuration of the Role type for use with apply.
func Role ¶
func Role(name, namespace string) *RoleApplyConfiguration
Role constructs an declarative configuration of the Role type for use with apply.
func (*RoleApplyConfiguration) WithAPIVersion ¶
func (b *RoleApplyConfiguration) WithAPIVersion(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithAnnotations ¶
func (b *RoleApplyConfiguration) WithAnnotations(entries map[string]string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithCreationTimestamp ¶
func (b *RoleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *RoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithDeletionTimestamp ¶
func (b *RoleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithFinalizers ¶
func (b *RoleApplyConfiguration) WithFinalizers(values ...string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithGenerateName ¶
func (b *RoleApplyConfiguration) WithGenerateName(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithGeneration ¶
func (b *RoleApplyConfiguration) WithGeneration(value int64) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithKind ¶
func (b *RoleApplyConfiguration) WithKind(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithLabels ¶
func (b *RoleApplyConfiguration) WithLabels(entries map[string]string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithName ¶
func (b *RoleApplyConfiguration) WithName(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithNamespace ¶
func (b *RoleApplyConfiguration) WithNamespace(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithOwnerReferences ¶
func (b *RoleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithResourceVersion ¶
func (b *RoleApplyConfiguration) WithResourceVersion(value string) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithSpec ¶
func (b *RoleApplyConfiguration) WithSpec(value *RoleSpecApplyConfiguration) *RoleApplyConfiguration
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 (*RoleApplyConfiguration) WithUID ¶
func (b *RoleApplyConfiguration) WithUID(value types.UID) *RoleApplyConfiguration
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 RoleSpecApplyConfiguration ¶
type RoleSpecApplyConfiguration struct { Policy []string `json:"policy,omitempty"` Principal map[string][]string `json:"principal,omitempty"` Condition *v1.ConditionMap `json:"condition,omitempty"` }
RoleSpecApplyConfiguration represents an declarative configuration of the RoleSpec type for use with apply.
func RoleSpec ¶
func RoleSpec() *RoleSpecApplyConfiguration
RoleSpecApplyConfiguration constructs an declarative configuration of the RoleSpec type for use with apply.
func (*RoleSpecApplyConfiguration) WithCondition ¶
func (b *RoleSpecApplyConfiguration) WithCondition(value v1.ConditionMap) *RoleSpecApplyConfiguration
WithCondition sets the Condition 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 Condition field is set to the value of the last call.
func (*RoleSpecApplyConfiguration) WithPolicy ¶
func (b *RoleSpecApplyConfiguration) WithPolicy(values ...string) *RoleSpecApplyConfiguration
WithPolicy adds the given value to the Policy 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 Policy field.
func (*RoleSpecApplyConfiguration) WithPrincipal ¶
func (b *RoleSpecApplyConfiguration) WithPrincipal(entries map[string][]string) *RoleSpecApplyConfiguration
WithPrincipal puts the entries into the Principal 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 Principal field, overwriting an existing map entries in Principal field with the same key.