Documentation ¶
Index ¶
- type AdmissionRequestInfoObjectApplyConfiguration
- type RequestInfoApplyConfiguration
- func (b *RequestInfoApplyConfiguration) WithAdmissionUserInfo(value v1.UserInfo) *RequestInfoApplyConfiguration
- func (b *RequestInfoApplyConfiguration) WithClusterRoles(values ...string) *RequestInfoApplyConfiguration
- func (b *RequestInfoApplyConfiguration) WithRoles(values ...string) *RequestInfoApplyConfiguration
- type UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithAPIVersion(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithAnnotations(entries map[string]string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithFinalizers(values ...string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithGenerateName(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithGeneration(value int64) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithKind(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithLabels(entries map[string]string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithName(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithNamespace(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithResourceVersion(value string) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithSpec(value *UpdateRequestSpecApplyConfiguration) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithStatus(value *UpdateRequestStatusApplyConfiguration) *UpdateRequestApplyConfiguration
- func (b *UpdateRequestApplyConfiguration) WithUID(value types.UID) *UpdateRequestApplyConfiguration
- type UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithContext(value *UpdateRequestSpecContextApplyConfiguration) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithDeleteDownstream(value bool) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithPolicy(value string) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithResource(value *v1.ResourceSpecApplyConfiguration) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithRule(value string) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithSynchronize(value bool) *UpdateRequestSpecApplyConfiguration
- func (b *UpdateRequestSpecApplyConfiguration) WithType(value v1beta1.RequestType) *UpdateRequestSpecApplyConfiguration
- type UpdateRequestSpecContextApplyConfiguration
- func (b *UpdateRequestSpecContextApplyConfiguration) WithAdmissionRequestInfo(value *AdmissionRequestInfoObjectApplyConfiguration) *UpdateRequestSpecContextApplyConfiguration
- func (b *UpdateRequestSpecContextApplyConfiguration) WithUserRequestInfo(value *RequestInfoApplyConfiguration) *UpdateRequestSpecContextApplyConfiguration
- type UpdateRequestStatusApplyConfiguration
- func (b *UpdateRequestStatusApplyConfiguration) WithGeneratedResources(values ...*v1.ResourceSpecApplyConfiguration) *UpdateRequestStatusApplyConfiguration
- func (b *UpdateRequestStatusApplyConfiguration) WithHandler(value string) *UpdateRequestStatusApplyConfiguration
- func (b *UpdateRequestStatusApplyConfiguration) WithMessage(value string) *UpdateRequestStatusApplyConfiguration
- func (b *UpdateRequestStatusApplyConfiguration) WithState(value v1beta1.UpdateRequestState) *UpdateRequestStatusApplyConfiguration
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 ¶
func (b *AdmissionRequestInfoObjectApplyConfiguration) WithAdmissionRequest(value v1.AdmissionRequest) *AdmissionRequestInfoObjectApplyConfiguration
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 ¶
func (b *AdmissionRequestInfoObjectApplyConfiguration) WithOperation(value v1.Operation) *AdmissionRequestInfoObjectApplyConfiguration
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 ¶
func (b *RequestInfoApplyConfiguration) WithAdmissionUserInfo(value v1.UserInfo) *RequestInfoApplyConfiguration
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 ¶
func (b *RequestInfoApplyConfiguration) WithRoles(values ...string) *RequestInfoApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithAPIVersion(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithAnnotations(entries map[string]string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithFinalizers(values ...string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithGenerateName(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithGeneration(value int64) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithKind(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithLabels(entries map[string]string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithName(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithNamespace(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithResourceVersion(value string) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithSpec(value *UpdateRequestSpecApplyConfiguration) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithStatus(value *UpdateRequestStatusApplyConfiguration) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestApplyConfiguration) WithUID(value types.UID) *UpdateRequestApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithContext(value *UpdateRequestSpecContextApplyConfiguration) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithDeleteDownstream(value bool) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithPolicy(value string) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithResource(value *v1.ResourceSpecApplyConfiguration) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithRule(value string) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithSynchronize(value bool) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecApplyConfiguration) WithType(value v1beta1.RequestType) *UpdateRequestSpecApplyConfiguration
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 ¶
func (b *UpdateRequestSpecContextApplyConfiguration) WithAdmissionRequestInfo(value *AdmissionRequestInfoObjectApplyConfiguration) *UpdateRequestSpecContextApplyConfiguration
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 ¶
func (b *UpdateRequestSpecContextApplyConfiguration) WithUserRequestInfo(value *RequestInfoApplyConfiguration) *UpdateRequestSpecContextApplyConfiguration
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"` }
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 ¶
func (b *UpdateRequestStatusApplyConfiguration) WithGeneratedResources(values ...*v1.ResourceSpecApplyConfiguration) *UpdateRequestStatusApplyConfiguration
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 ¶
func (b *UpdateRequestStatusApplyConfiguration) WithHandler(value string) *UpdateRequestStatusApplyConfiguration
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 ¶
func (b *UpdateRequestStatusApplyConfiguration) WithMessage(value string) *UpdateRequestStatusApplyConfiguration
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) WithState ¶
func (b *UpdateRequestStatusApplyConfiguration) WithState(value v1beta1.UpdateRequestState) *UpdateRequestStatusApplyConfiguration
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.