Documentation
¶
Index ¶
- type ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithAPIVersion(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithAnnotations(entries map[string]string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithFinalizers(values ...string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithGenerateName(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithGeneration(value int64) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithKind(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithLabels(entries map[string]string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithName(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithNamespace(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithResourceVersion(value string) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithSpec(value *ProjectSpecApplyConfiguration) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithStatus(value *ProjectStatusApplyConfiguration) *ProjectApplyConfiguration
- func (b *ProjectApplyConfiguration) WithUID(value types.UID) *ProjectApplyConfiguration
- type ProjectRequestApplyConfiguration
- func ExtractProjectRequest(projectRequest *projectv1.ProjectRequest, fieldManager string) (*ProjectRequestApplyConfiguration, error)
- func ExtractProjectRequestStatus(projectRequest *projectv1.ProjectRequest, fieldManager string) (*ProjectRequestApplyConfiguration, error)
- func ProjectRequest(name string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithAPIVersion(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithAnnotations(entries map[string]string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithDescription(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithDisplayName(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithFinalizers(values ...string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithGenerateName(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithGeneration(value int64) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithKind(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithLabels(entries map[string]string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithName(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithNamespace(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithResourceVersion(value string) *ProjectRequestApplyConfiguration
- func (b *ProjectRequestApplyConfiguration) WithUID(value types.UID) *ProjectRequestApplyConfiguration
- type ProjectSpecApplyConfiguration
- type ProjectStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectApplyConfiguration ¶
type ProjectApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ProjectSpecApplyConfiguration `json:"spec,omitempty"` Status *ProjectStatusApplyConfiguration `json:"status,omitempty"` }
ProjectApplyConfiguration represents an declarative configuration of the Project type for use with apply.
func ExtractProject ¶
func ExtractProject(project *apiprojectv1.Project, fieldManager string) (*ProjectApplyConfiguration, error)
ExtractProject extracts the applied configuration owned by fieldManager from project. If no managedFields are found in project for fieldManager, a ProjectApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. project must be a unmodified Project API object that was retrieved from the Kubernetes API. ExtractProject provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractProjectStatus ¶
func ExtractProjectStatus(project *apiprojectv1.Project, fieldManager string) (*ProjectApplyConfiguration, error)
ExtractProjectStatus is the same as ExtractProject except that it extracts the status subresource applied configuration. Experimental!
func Project ¶
func Project(name string) *ProjectApplyConfiguration
Project constructs an declarative configuration of the Project type for use with apply.
func (*ProjectApplyConfiguration) WithAPIVersion ¶
func (b *ProjectApplyConfiguration) WithAPIVersion(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithAnnotations ¶
func (b *ProjectApplyConfiguration) WithAnnotations(entries map[string]string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithCreationTimestamp ¶
func (b *ProjectApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ProjectApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithDeletionTimestamp ¶
func (b *ProjectApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithFinalizers ¶
func (b *ProjectApplyConfiguration) WithFinalizers(values ...string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithGenerateName ¶
func (b *ProjectApplyConfiguration) WithGenerateName(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithGeneration ¶
func (b *ProjectApplyConfiguration) WithGeneration(value int64) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithKind ¶
func (b *ProjectApplyConfiguration) WithKind(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithLabels ¶
func (b *ProjectApplyConfiguration) WithLabels(entries map[string]string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithName ¶
func (b *ProjectApplyConfiguration) WithName(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithNamespace ¶
func (b *ProjectApplyConfiguration) WithNamespace(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithOwnerReferences ¶
func (b *ProjectApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithResourceVersion ¶
func (b *ProjectApplyConfiguration) WithResourceVersion(value string) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithSpec ¶
func (b *ProjectApplyConfiguration) WithSpec(value *ProjectSpecApplyConfiguration) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithStatus ¶
func (b *ProjectApplyConfiguration) WithStatus(value *ProjectStatusApplyConfiguration) *ProjectApplyConfiguration
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 (*ProjectApplyConfiguration) WithUID ¶
func (b *ProjectApplyConfiguration) WithUID(value types.UID) *ProjectApplyConfiguration
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 ProjectRequestApplyConfiguration ¶
type ProjectRequestApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` DisplayName *string `json:"displayName,omitempty"` Description *string `json:"description,omitempty"` }
ProjectRequestApplyConfiguration represents an declarative configuration of the ProjectRequest type for use with apply.
func ExtractProjectRequest ¶
func ExtractProjectRequest(projectRequest *projectv1.ProjectRequest, fieldManager string) (*ProjectRequestApplyConfiguration, error)
ExtractProjectRequest extracts the applied configuration owned by fieldManager from projectRequest. If no managedFields are found in projectRequest for fieldManager, a ProjectRequestApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. projectRequest must be a unmodified ProjectRequest API object that was retrieved from the Kubernetes API. ExtractProjectRequest provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractProjectRequestStatus ¶
func ExtractProjectRequestStatus(projectRequest *projectv1.ProjectRequest, fieldManager string) (*ProjectRequestApplyConfiguration, error)
ExtractProjectRequestStatus is the same as ExtractProjectRequest except that it extracts the status subresource applied configuration. Experimental!
func ProjectRequest ¶
func ProjectRequest(name string) *ProjectRequestApplyConfiguration
ProjectRequest constructs an declarative configuration of the ProjectRequest type for use with apply.
func (*ProjectRequestApplyConfiguration) WithAPIVersion ¶
func (b *ProjectRequestApplyConfiguration) WithAPIVersion(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithAnnotations ¶
func (b *ProjectRequestApplyConfiguration) WithAnnotations(entries map[string]string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithCreationTimestamp ¶
func (b *ProjectRequestApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ProjectRequestApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithDeletionTimestamp ¶
func (b *ProjectRequestApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithDescription ¶
func (b *ProjectRequestApplyConfiguration) WithDescription(value string) *ProjectRequestApplyConfiguration
WithDescription sets the Description 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 Description field is set to the value of the last call.
func (*ProjectRequestApplyConfiguration) WithDisplayName ¶
func (b *ProjectRequestApplyConfiguration) WithDisplayName(value string) *ProjectRequestApplyConfiguration
WithDisplayName sets the DisplayName 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 DisplayName field is set to the value of the last call.
func (*ProjectRequestApplyConfiguration) WithFinalizers ¶
func (b *ProjectRequestApplyConfiguration) WithFinalizers(values ...string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithGenerateName ¶
func (b *ProjectRequestApplyConfiguration) WithGenerateName(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithGeneration ¶
func (b *ProjectRequestApplyConfiguration) WithGeneration(value int64) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithKind ¶
func (b *ProjectRequestApplyConfiguration) WithKind(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithLabels ¶
func (b *ProjectRequestApplyConfiguration) WithLabels(entries map[string]string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithName ¶
func (b *ProjectRequestApplyConfiguration) WithName(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithNamespace ¶
func (b *ProjectRequestApplyConfiguration) WithNamespace(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithOwnerReferences ¶
func (b *ProjectRequestApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithResourceVersion ¶
func (b *ProjectRequestApplyConfiguration) WithResourceVersion(value string) *ProjectRequestApplyConfiguration
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 (*ProjectRequestApplyConfiguration) WithUID ¶
func (b *ProjectRequestApplyConfiguration) WithUID(value types.UID) *ProjectRequestApplyConfiguration
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 ProjectSpecApplyConfiguration ¶
type ProjectSpecApplyConfiguration struct {
Finalizers []v1.FinalizerName `json:"finalizers,omitempty"`
}
ProjectSpecApplyConfiguration represents an declarative configuration of the ProjectSpec type for use with apply.
func ProjectSpec ¶
func ProjectSpec() *ProjectSpecApplyConfiguration
ProjectSpecApplyConfiguration constructs an declarative configuration of the ProjectSpec type for use with apply.
func (*ProjectSpecApplyConfiguration) WithFinalizers ¶
func (b *ProjectSpecApplyConfiguration) WithFinalizers(values ...v1.FinalizerName) *ProjectSpecApplyConfiguration
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.
type ProjectStatusApplyConfiguration ¶
type ProjectStatusApplyConfiguration struct { Phase *v1.NamespacePhase `json:"phase,omitempty"` Conditions []v1.NamespaceCondition `json:"conditions,omitempty"` }
ProjectStatusApplyConfiguration represents an declarative configuration of the ProjectStatus type for use with apply.
func ProjectStatus ¶
func ProjectStatus() *ProjectStatusApplyConfiguration
ProjectStatusApplyConfiguration constructs an declarative configuration of the ProjectStatus type for use with apply.
func (*ProjectStatusApplyConfiguration) WithConditions ¶
func (b *ProjectStatusApplyConfiguration) WithConditions(values ...v1.NamespaceCondition) *ProjectStatusApplyConfiguration
WithConditions adds the given value to the Conditions 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 Conditions field.
func (*ProjectStatusApplyConfiguration) WithPhase ¶
func (b *ProjectStatusApplyConfiguration) WithPhase(value v1.NamespacePhase) *ProjectStatusApplyConfiguration
WithPhase sets the Phase 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 Phase field is set to the value of the last call.