Documentation ¶
Index ¶
- type ApplicationApplyConfiguration
- type PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithAPIVersion(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithFinalizers(values ...string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithGenerateName(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithGeneration(value int64) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithKind(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithLabels(entries map[string]string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithName(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithNamespace(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithResourceVersion(value string) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithSpec(value *PolicyBindingSpecApplyConfiguration) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithStatus(value *PolicyBindingStatusApplyConfiguration) *PolicyBindingApplyConfiguration
- func (b *PolicyBindingApplyConfiguration) WithUID(value types.UID) *PolicyBindingApplyConfiguration
- type PolicyBindingSpecApplyConfiguration
- type PolicyBindingStatusApplyConfiguration
- type PolicyBindingUsageApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationApplyConfiguration ¶
type ApplicationApplyConfiguration struct { Namespace *string `json:"namespace,omitempty"` ServiceAccount *string `json:"serviceaccount,omitempty"` }
ApplicationApplyConfiguration represents an declarative configuration of the Application type for use with apply.
func Application ¶
func Application() *ApplicationApplyConfiguration
ApplicationApplyConfiguration constructs an declarative configuration of the Application type for use with apply.
func (*ApplicationApplyConfiguration) WithNamespace ¶
func (b *ApplicationApplyConfiguration) WithNamespace(value string) *ApplicationApplyConfiguration
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 (*ApplicationApplyConfiguration) WithServiceAccount ¶
func (b *ApplicationApplyConfiguration) WithServiceAccount(value string) *ApplicationApplyConfiguration
WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.
type PolicyBindingApplyConfiguration ¶
type PolicyBindingApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PolicyBindingSpecApplyConfiguration `json:"spec,omitempty"` Status *PolicyBindingStatusApplyConfiguration `json:"status,omitempty"` }
PolicyBindingApplyConfiguration represents an declarative configuration of the PolicyBinding type for use with apply.
func PolicyBinding ¶
func PolicyBinding(name, namespace string) *PolicyBindingApplyConfiguration
PolicyBinding constructs an declarative configuration of the PolicyBinding type for use with apply.
func (*PolicyBindingApplyConfiguration) WithAPIVersion ¶
func (b *PolicyBindingApplyConfiguration) WithAPIVersion(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithAnnotations ¶
func (b *PolicyBindingApplyConfiguration) WithAnnotations(entries map[string]string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithCreationTimestamp ¶
func (b *PolicyBindingApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PolicyBindingApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithDeletionTimestamp ¶
func (b *PolicyBindingApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithFinalizers ¶
func (b *PolicyBindingApplyConfiguration) WithFinalizers(values ...string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithGenerateName ¶
func (b *PolicyBindingApplyConfiguration) WithGenerateName(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithGeneration ¶
func (b *PolicyBindingApplyConfiguration) WithGeneration(value int64) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithKind ¶
func (b *PolicyBindingApplyConfiguration) WithKind(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithLabels ¶
func (b *PolicyBindingApplyConfiguration) WithLabels(entries map[string]string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithName ¶
func (b *PolicyBindingApplyConfiguration) WithName(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithNamespace ¶
func (b *PolicyBindingApplyConfiguration) WithNamespace(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithOwnerReferences ¶
func (b *PolicyBindingApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithResourceVersion ¶
func (b *PolicyBindingApplyConfiguration) WithResourceVersion(value string) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithSpec ¶
func (b *PolicyBindingApplyConfiguration) WithSpec(value *PolicyBindingSpecApplyConfiguration) *PolicyBindingApplyConfiguration
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 (*PolicyBindingApplyConfiguration) WithStatus ¶
func (b *PolicyBindingApplyConfiguration) WithStatus(value *PolicyBindingStatusApplyConfiguration) *PolicyBindingApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*PolicyBindingApplyConfiguration) WithUID ¶
func (b *PolicyBindingApplyConfiguration) WithUID(value types.UID) *PolicyBindingApplyConfiguration
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 PolicyBindingSpecApplyConfiguration ¶
type PolicyBindingSpecApplyConfiguration struct { Application *ApplicationApplyConfiguration `json:"application,omitempty"` Policies []string `json:"policies,omitempty"` }
PolicyBindingSpecApplyConfiguration represents an declarative configuration of the PolicyBindingSpec type for use with apply.
func PolicyBindingSpec ¶
func PolicyBindingSpec() *PolicyBindingSpecApplyConfiguration
PolicyBindingSpecApplyConfiguration constructs an declarative configuration of the PolicyBindingSpec type for use with apply.
func (*PolicyBindingSpecApplyConfiguration) WithApplication ¶
func (b *PolicyBindingSpecApplyConfiguration) WithApplication(value *ApplicationApplyConfiguration) *PolicyBindingSpecApplyConfiguration
WithApplication sets the Application 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 Application field is set to the value of the last call.
func (*PolicyBindingSpecApplyConfiguration) WithPolicies ¶
func (b *PolicyBindingSpecApplyConfiguration) WithPolicies(values ...string) *PolicyBindingSpecApplyConfiguration
WithPolicies adds the given value to the Policies 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 Policies field.
type PolicyBindingStatusApplyConfiguration ¶
type PolicyBindingStatusApplyConfiguration struct { CurrentState *string `json:"currentState,omitempty"` Usage *PolicyBindingUsageApplyConfiguration `json:"usage,omitempty"` }
PolicyBindingStatusApplyConfiguration represents an declarative configuration of the PolicyBindingStatus type for use with apply.
func PolicyBindingStatus ¶
func PolicyBindingStatus() *PolicyBindingStatusApplyConfiguration
PolicyBindingStatusApplyConfiguration constructs an declarative configuration of the PolicyBindingStatus type for use with apply.
func (*PolicyBindingStatusApplyConfiguration) WithCurrentState ¶
func (b *PolicyBindingStatusApplyConfiguration) WithCurrentState(value string) *PolicyBindingStatusApplyConfiguration
WithCurrentState sets the CurrentState 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 CurrentState field is set to the value of the last call.
func (*PolicyBindingStatusApplyConfiguration) WithUsage ¶
func (b *PolicyBindingStatusApplyConfiguration) WithUsage(value *PolicyBindingUsageApplyConfiguration) *PolicyBindingStatusApplyConfiguration
WithUsage sets the Usage 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 Usage field is set to the value of the last call.
type PolicyBindingUsageApplyConfiguration ¶
type PolicyBindingUsageApplyConfiguration struct {
Authorizations *int64 `json:"authotizations,omitempty"`
}
PolicyBindingUsageApplyConfiguration represents an declarative configuration of the PolicyBindingUsage type for use with apply.
func PolicyBindingUsage ¶
func PolicyBindingUsage() *PolicyBindingUsageApplyConfiguration
PolicyBindingUsageApplyConfiguration constructs an declarative configuration of the PolicyBindingUsage type for use with apply.
func (*PolicyBindingUsageApplyConfiguration) WithAuthorizations ¶
func (b *PolicyBindingUsageApplyConfiguration) WithAuthorizations(value int64) *PolicyBindingUsageApplyConfiguration
WithAuthorizations sets the Authorizations 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 Authorizations field is set to the value of the last call.