v1alpha1

package
v0.0.0-...-435c516 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: AGPL-3.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 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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