Documentation ¶
Index ¶
- type ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithFinalizers(values ...string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGenerateName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGeneration(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithResourceVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
- type ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithMessage(value string) *ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithReason(value string) *ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *ConfigConditionApplyConfiguration
- func (b *ConfigConditionApplyConfiguration) WithType(value v1.ConfigConditionType) *ConfigConditionApplyConfiguration
- type ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithArchitectures(values ...string) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithManagementState(value v1.ManagementState) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSamplesRegistry(value string) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSkippedHelmCharts(values ...samplesv1.HelmChartName) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSkippedImagestreams(values ...string) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithSkippedTemplates(values ...string) *ConfigSpecApplyConfiguration
- type ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithArchitectures(values ...string) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithConditions(values ...*ConfigConditionApplyConfiguration) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithManagementState(value v1.ManagementState) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithSamplesRegistry(value string) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithSkippedImagestreams(values ...string) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithSkippedTemplates(values ...string) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithVersion(value string) *ConfigStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigApplyConfiguration ¶
type ConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ConfigSpecApplyConfiguration `json:"spec,omitempty"` Status *ConfigStatusApplyConfiguration `json:"status,omitempty"` }
ConfigApplyConfiguration represents an declarative configuration of the Config type for use with apply.
func Config ¶
func Config(name string) *ConfigApplyConfiguration
Config constructs an declarative configuration of the Config type for use with apply.
func ExtractConfig ¶
func ExtractConfig(config *apisamplesv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
ExtractConfig extracts the applied configuration owned by fieldManager from config. If no managedFields are found in config for fieldManager, a ConfigApplyConfiguration 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. config must be a unmodified Config API object that was retrieved from the Kubernetes API. ExtractConfig 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 ExtractConfigStatus ¶
func ExtractConfigStatus(config *apisamplesv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
ExtractConfigStatus is the same as ExtractConfig except that it extracts the status subresource applied configuration. Experimental!
func (*ConfigApplyConfiguration) WithAPIVersion ¶
func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithAnnotations ¶
func (b *ConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *ConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *ConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithFinalizers ¶
func (b *ConfigApplyConfiguration) WithFinalizers(values ...string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithGenerateName ¶
func (b *ConfigApplyConfiguration) WithGenerateName(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithGeneration ¶
func (b *ConfigApplyConfiguration) WithGeneration(value int64) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithKind ¶
func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithLabels ¶
func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithName ¶
func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithNamespace ¶
func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithOwnerReferences ¶
func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithResourceVersion ¶
func (b *ConfigApplyConfiguration) WithResourceVersion(value string) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithSpec ¶
func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithStatus ¶
func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
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 (*ConfigApplyConfiguration) WithUID ¶
func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
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 ConfigConditionApplyConfiguration ¶
type ConfigConditionApplyConfiguration struct { Type *v1.ConfigConditionType `json:"type,omitempty"` Status *corev1.ConditionStatus `json:"status,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
ConfigConditionApplyConfiguration represents an declarative configuration of the ConfigCondition type for use with apply.
func ConfigCondition ¶
func ConfigCondition() *ConfigConditionApplyConfiguration
ConfigConditionApplyConfiguration constructs an declarative configuration of the ConfigCondition type for use with apply.
func (*ConfigConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ConfigConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConfigConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.
func (*ConfigConditionApplyConfiguration) WithLastUpdateTime ¶
func (b *ConfigConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *ConfigConditionApplyConfiguration
WithLastUpdateTime sets the LastUpdateTime 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 LastUpdateTime field is set to the value of the last call.
func (*ConfigConditionApplyConfiguration) WithMessage ¶
func (b *ConfigConditionApplyConfiguration) WithMessage(value string) *ConfigConditionApplyConfiguration
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 (*ConfigConditionApplyConfiguration) WithReason ¶
func (b *ConfigConditionApplyConfiguration) WithReason(value string) *ConfigConditionApplyConfiguration
WithReason sets the Reason 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 Reason field is set to the value of the last call.
func (*ConfigConditionApplyConfiguration) WithStatus ¶
func (b *ConfigConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *ConfigConditionApplyConfiguration
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 (*ConfigConditionApplyConfiguration) WithType ¶
func (b *ConfigConditionApplyConfiguration) WithType(value v1.ConfigConditionType) *ConfigConditionApplyConfiguration
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 ConfigSpecApplyConfiguration ¶
type ConfigSpecApplyConfiguration struct { ManagementState *v1.ManagementState `json:"managementState,omitempty"` SamplesRegistry *string `json:"samplesRegistry,omitempty"` Architectures []string `json:"architectures,omitempty"` SkippedImagestreams []string `json:"skippedImagestreams,omitempty"` SkippedTemplates []string `json:"skippedTemplates,omitempty"` SkippedHelmCharts []samplesv1.HelmChartName `json:"skippedHelmCharts,omitempty"` }
ConfigSpecApplyConfiguration represents an declarative configuration of the ConfigSpec type for use with apply.
func ConfigSpec ¶
func ConfigSpec() *ConfigSpecApplyConfiguration
ConfigSpecApplyConfiguration constructs an declarative configuration of the ConfigSpec type for use with apply.
func (*ConfigSpecApplyConfiguration) WithArchitectures ¶
func (b *ConfigSpecApplyConfiguration) WithArchitectures(values ...string) *ConfigSpecApplyConfiguration
WithArchitectures adds the given value to the Architectures 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 Architectures field.
func (*ConfigSpecApplyConfiguration) WithManagementState ¶
func (b *ConfigSpecApplyConfiguration) WithManagementState(value v1.ManagementState) *ConfigSpecApplyConfiguration
WithManagementState sets the ManagementState 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 ManagementState field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithSamplesRegistry ¶
func (b *ConfigSpecApplyConfiguration) WithSamplesRegistry(value string) *ConfigSpecApplyConfiguration
WithSamplesRegistry sets the SamplesRegistry 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 SamplesRegistry field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithSkippedHelmCharts ¶
func (b *ConfigSpecApplyConfiguration) WithSkippedHelmCharts(values ...samplesv1.HelmChartName) *ConfigSpecApplyConfiguration
WithSkippedHelmCharts adds the given value to the SkippedHelmCharts 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 SkippedHelmCharts field.
func (*ConfigSpecApplyConfiguration) WithSkippedImagestreams ¶
func (b *ConfigSpecApplyConfiguration) WithSkippedImagestreams(values ...string) *ConfigSpecApplyConfiguration
WithSkippedImagestreams adds the given value to the SkippedImagestreams 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 SkippedImagestreams field.
func (*ConfigSpecApplyConfiguration) WithSkippedTemplates ¶
func (b *ConfigSpecApplyConfiguration) WithSkippedTemplates(values ...string) *ConfigSpecApplyConfiguration
WithSkippedTemplates adds the given value to the SkippedTemplates 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 SkippedTemplates field.
type ConfigStatusApplyConfiguration ¶
type ConfigStatusApplyConfiguration struct { ManagementState *v1.ManagementState `json:"managementState,omitempty"` Conditions []ConfigConditionApplyConfiguration `json:"conditions,omitempty"` SamplesRegistry *string `json:"samplesRegistry,omitempty"` Architectures []string `json:"architectures,omitempty"` SkippedImagestreams []string `json:"skippedImagestreams,omitempty"` SkippedTemplates []string `json:"skippedTemplates,omitempty"` Version *string `json:"version,omitempty"` }
ConfigStatusApplyConfiguration represents an declarative configuration of the ConfigStatus type for use with apply.
func ConfigStatus ¶
func ConfigStatus() *ConfigStatusApplyConfiguration
ConfigStatusApplyConfiguration constructs an declarative configuration of the ConfigStatus type for use with apply.
func (*ConfigStatusApplyConfiguration) WithArchitectures ¶
func (b *ConfigStatusApplyConfiguration) WithArchitectures(values ...string) *ConfigStatusApplyConfiguration
WithArchitectures adds the given value to the Architectures 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 Architectures field.
func (*ConfigStatusApplyConfiguration) WithConditions ¶
func (b *ConfigStatusApplyConfiguration) WithConditions(values ...*ConfigConditionApplyConfiguration) *ConfigStatusApplyConfiguration
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 (*ConfigStatusApplyConfiguration) WithManagementState ¶
func (b *ConfigStatusApplyConfiguration) WithManagementState(value v1.ManagementState) *ConfigStatusApplyConfiguration
WithManagementState sets the ManagementState 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 ManagementState field is set to the value of the last call.
func (*ConfigStatusApplyConfiguration) WithSamplesRegistry ¶
func (b *ConfigStatusApplyConfiguration) WithSamplesRegistry(value string) *ConfigStatusApplyConfiguration
WithSamplesRegistry sets the SamplesRegistry 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 SamplesRegistry field is set to the value of the last call.
func (*ConfigStatusApplyConfiguration) WithSkippedImagestreams ¶
func (b *ConfigStatusApplyConfiguration) WithSkippedImagestreams(values ...string) *ConfigStatusApplyConfiguration
WithSkippedImagestreams adds the given value to the SkippedImagestreams 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 SkippedImagestreams field.
func (*ConfigStatusApplyConfiguration) WithSkippedTemplates ¶
func (b *ConfigStatusApplyConfiguration) WithSkippedTemplates(values ...string) *ConfigStatusApplyConfiguration
WithSkippedTemplates adds the given value to the SkippedTemplates 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 SkippedTemplates field.
func (*ConfigStatusApplyConfiguration) WithVersion ¶
func (b *ConfigStatusApplyConfiguration) WithVersion(value string) *ConfigStatusApplyConfiguration
WithVersion sets the Version 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 Version field is set to the value of the last call.