v1beta1

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionRequestInfoObjectApplyConfiguration

type AdmissionRequestInfoObjectApplyConfiguration struct {
	AdmissionRequest *v1.AdmissionRequest `json:"admissionRequest,omitempty"`
	Operation        *v1.Operation        `json:"operation,omitempty"`
}

AdmissionRequestInfoObjectApplyConfiguration represents an declarative configuration of the AdmissionRequestInfoObject type for use with apply.

func AdmissionRequestInfoObject

func AdmissionRequestInfoObject() *AdmissionRequestInfoObjectApplyConfiguration

AdmissionRequestInfoObjectApplyConfiguration constructs an declarative configuration of the AdmissionRequestInfoObject type for use with apply.

func (*AdmissionRequestInfoObjectApplyConfiguration) WithAdmissionRequest

WithAdmissionRequest sets the AdmissionRequest 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 AdmissionRequest field is set to the value of the last call.

func (*AdmissionRequestInfoObjectApplyConfiguration) WithOperation

WithOperation sets the Operation 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 Operation field is set to the value of the last call.

type RequestInfoApplyConfiguration

type RequestInfoApplyConfiguration struct {
	Roles             []string     `json:"roles,omitempty"`
	ClusterRoles      []string     `json:"clusterRoles,omitempty"`
	AdmissionUserInfo *v1.UserInfo `json:"userInfo,omitempty"`
}

RequestInfoApplyConfiguration represents an declarative configuration of the RequestInfo type for use with apply.

func RequestInfo

func RequestInfo() *RequestInfoApplyConfiguration

RequestInfoApplyConfiguration constructs an declarative configuration of the RequestInfo type for use with apply.

func (*RequestInfoApplyConfiguration) WithAdmissionUserInfo

WithAdmissionUserInfo sets the AdmissionUserInfo 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 AdmissionUserInfo field is set to the value of the last call.

func (*RequestInfoApplyConfiguration) WithClusterRoles

func (b *RequestInfoApplyConfiguration) WithClusterRoles(values ...string) *RequestInfoApplyConfiguration

WithClusterRoles adds the given value to the ClusterRoles 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 ClusterRoles field.

func (*RequestInfoApplyConfiguration) WithRoles

WithRoles adds the given value to the Roles 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 Roles field.

type UpdateRequestApplyConfiguration

type UpdateRequestApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *UpdateRequestSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *UpdateRequestStatusApplyConfiguration `json:"status,omitempty"`
}

UpdateRequestApplyConfiguration represents an declarative configuration of the UpdateRequest type for use with apply.

func UpdateRequest

func UpdateRequest(name, namespace string) *UpdateRequestApplyConfiguration

UpdateRequest constructs an declarative configuration of the UpdateRequest type for use with apply.

func (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *UpdateRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UpdateRequestApplyConfiguration

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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 (*UpdateRequestApplyConfiguration) 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 UpdateRequestSpecApplyConfiguration

type UpdateRequestSpecApplyConfiguration struct {
	Type             *v1beta1.RequestType                        `json:"requestType,omitempty"`
	Policy           *string                                     `json:"policy,omitempty"`
	Rule             *string                                     `json:"rule,omitempty"`
	DeleteDownstream *bool                                       `json:"deleteDownstream,omitempty"`
	Synchronize      *bool                                       `json:"synchronize,omitempty"`
	Resource         *v1.ResourceSpecApplyConfiguration          `json:"resource,omitempty"`
	Context          *UpdateRequestSpecContextApplyConfiguration `json:"context,omitempty"`
}

UpdateRequestSpecApplyConfiguration represents an declarative configuration of the UpdateRequestSpec type for use with apply.

func UpdateRequestSpec

func UpdateRequestSpec() *UpdateRequestSpecApplyConfiguration

UpdateRequestSpecApplyConfiguration constructs an declarative configuration of the UpdateRequestSpec type for use with apply.

func (*UpdateRequestSpecApplyConfiguration) WithContext

WithContext sets the Context 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 Context field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) WithDeleteDownstream

WithDeleteDownstream sets the DeleteDownstream 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 DeleteDownstream field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) WithPolicy

WithPolicy sets the Policy 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 Policy field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) WithResource

WithResource sets the Resource 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 Resource field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) WithRule

WithRule sets the Rule 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 Rule field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) WithSynchronize

WithSynchronize sets the Synchronize 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 Synchronize field is set to the value of the last call.

func (*UpdateRequestSpecApplyConfiguration) 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.

type UpdateRequestSpecContextApplyConfiguration

type UpdateRequestSpecContextApplyConfiguration struct {
	UserRequestInfo      *RequestInfoApplyConfiguration                `json:"userInfo,omitempty"`
	AdmissionRequestInfo *AdmissionRequestInfoObjectApplyConfiguration `json:"admissionRequestInfo,omitempty"`
}

UpdateRequestSpecContextApplyConfiguration represents an declarative configuration of the UpdateRequestSpecContext type for use with apply.

func UpdateRequestSpecContext

func UpdateRequestSpecContext() *UpdateRequestSpecContextApplyConfiguration

UpdateRequestSpecContextApplyConfiguration constructs an declarative configuration of the UpdateRequestSpecContext type for use with apply.

func (*UpdateRequestSpecContextApplyConfiguration) WithAdmissionRequestInfo

WithAdmissionRequestInfo sets the AdmissionRequestInfo 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 AdmissionRequestInfo field is set to the value of the last call.

func (*UpdateRequestSpecContextApplyConfiguration) WithUserRequestInfo

WithUserRequestInfo sets the UserRequestInfo 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 UserRequestInfo field is set to the value of the last call.

type UpdateRequestStatusApplyConfiguration

type UpdateRequestStatusApplyConfiguration struct {
	Handler            *string                             `json:"handler,omitempty"`
	State              *v1beta1.UpdateRequestState         `json:"state,omitempty"`
	Message            *string                             `json:"message,omitempty"`
	GeneratedResources []v1.ResourceSpecApplyConfiguration `json:"generatedResources,omitempty"`
	RetryCount         *int                                `json:"retryCount,omitempty"`
}

UpdateRequestStatusApplyConfiguration represents an declarative configuration of the UpdateRequestStatus type for use with apply.

func UpdateRequestStatus

func UpdateRequestStatus() *UpdateRequestStatusApplyConfiguration

UpdateRequestStatusApplyConfiguration constructs an declarative configuration of the UpdateRequestStatus type for use with apply.

func (*UpdateRequestStatusApplyConfiguration) WithGeneratedResources

WithGeneratedResources adds the given value to the GeneratedResources 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 GeneratedResources field.

func (*UpdateRequestStatusApplyConfiguration) WithHandler

WithHandler sets the Handler 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 Handler field is set to the value of the last call.

func (*UpdateRequestStatusApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*UpdateRequestStatusApplyConfiguration) WithRetryCount added in v1.11.2

WithRetryCount sets the RetryCount 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 RetryCount field is set to the value of the last call.

func (*UpdateRequestStatusApplyConfiguration) WithState

WithState sets the State 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 State 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