v1

package
v0.0.0-...-f7ec47e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageApplyConfiguration

type ImageApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	DockerImageReference                 *string                            `json:"dockerImageReference,omitempty"`
	DockerImageMetadata                  *runtime.RawExtension              `json:"dockerImageMetadata,omitempty"`
	DockerImageMetadataVersion           *string                            `json:"dockerImageMetadataVersion,omitempty"`
	DockerImageManifest                  *string                            `json:"dockerImageManifest,omitempty"`
	DockerImageLayers                    []ImageLayerApplyConfiguration     `json:"dockerImageLayers,omitempty"`
	Signatures                           []ImageSignatureApplyConfiguration `json:"signatures,omitempty"`
	DockerImageSignatures                [][]byte                           `json:"dockerImageSignatures,omitempty"`
	DockerImageManifestMediaType         *string                            `json:"dockerImageManifestMediaType,omitempty"`
	DockerImageConfig                    *string                            `json:"dockerImageConfig,omitempty"`
	DockerImageManifests                 []ImageManifestApplyConfiguration  `json:"dockerImageManifests,omitempty"`
}

ImageApplyConfiguration represents a declarative configuration of the Image type for use with apply.

func ExtractImage

func ExtractImage(image *imagev1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImage extracts the applied configuration owned by fieldManager from image. If no managedFields are found in image for fieldManager, a ImageApplyConfiguration 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. image must be a unmodified Image API object that was retrieved from the Kubernetes API. ExtractImage 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 ExtractImageStatus

func ExtractImageStatus(image *imagev1.Image, fieldManager string) (*ImageApplyConfiguration, error)

ExtractImageStatus is the same as ExtractImage except that it extracts the status subresource applied configuration. Experimental!

func Image

func Image(name string) *ImageApplyConfiguration

Image constructs a declarative configuration of the Image type for use with apply.

func (*ImageApplyConfiguration) GetName

func (b *ImageApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ImageApplyConfiguration) WithAPIVersion

func (b *ImageApplyConfiguration) WithAPIVersion(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithAnnotations

func (b *ImageApplyConfiguration) WithAnnotations(entries map[string]string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithCreationTimestamp

func (b *ImageApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ImageApplyConfiguration

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

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

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 (*ImageApplyConfiguration) WithDeletionTimestamp

func (b *ImageApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithDockerImageConfig

func (b *ImageApplyConfiguration) WithDockerImageConfig(value string) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageLayers

WithDockerImageLayers adds the given value to the DockerImageLayers 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 DockerImageLayers field.

func (*ImageApplyConfiguration) WithDockerImageManifest

func (b *ImageApplyConfiguration) WithDockerImageManifest(value string) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageManifestMediaType

func (b *ImageApplyConfiguration) WithDockerImageManifestMediaType(value string) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageManifests

func (b *ImageApplyConfiguration) WithDockerImageManifests(values ...*ImageManifestApplyConfiguration) *ImageApplyConfiguration

WithDockerImageManifests adds the given value to the DockerImageManifests 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 DockerImageManifests field.

func (*ImageApplyConfiguration) WithDockerImageMetadata

func (b *ImageApplyConfiguration) WithDockerImageMetadata(value runtime.RawExtension) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageMetadataVersion

func (b *ImageApplyConfiguration) WithDockerImageMetadataVersion(value string) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageReference

func (b *ImageApplyConfiguration) WithDockerImageReference(value string) *ImageApplyConfiguration

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

func (*ImageApplyConfiguration) WithDockerImageSignatures

func (b *ImageApplyConfiguration) WithDockerImageSignatures(values ...[]byte) *ImageApplyConfiguration

WithDockerImageSignatures adds the given value to the DockerImageSignatures 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 DockerImageSignatures field.

func (*ImageApplyConfiguration) WithFinalizers

func (b *ImageApplyConfiguration) WithFinalizers(values ...string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithGenerateName

func (b *ImageApplyConfiguration) WithGenerateName(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithGeneration

func (b *ImageApplyConfiguration) WithGeneration(value int64) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) 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 (*ImageApplyConfiguration) WithLabels

func (b *ImageApplyConfiguration) WithLabels(entries map[string]string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) 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 (*ImageApplyConfiguration) WithNamespace

func (b *ImageApplyConfiguration) WithNamespace(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) 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 (*ImageApplyConfiguration) WithResourceVersion

func (b *ImageApplyConfiguration) WithResourceVersion(value string) *ImageApplyConfiguration

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 (*ImageApplyConfiguration) WithSignatures

WithSignatures adds the given value to the Signatures 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 Signatures field.

func (*ImageApplyConfiguration) 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 ImageLayerApplyConfiguration

type ImageLayerApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	LayerSize *int64  `json:"size,omitempty"`
	MediaType *string `json:"mediaType,omitempty"`
}

ImageLayerApplyConfiguration represents a declarative configuration of the ImageLayer type for use with apply.

func ImageLayer

func ImageLayer() *ImageLayerApplyConfiguration

ImageLayerApplyConfiguration constructs a declarative configuration of the ImageLayer type for use with apply.

func (*ImageLayerApplyConfiguration) WithLayerSize

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

func (*ImageLayerApplyConfiguration) WithMediaType

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

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

type ImageLookupPolicyApplyConfiguration

type ImageLookupPolicyApplyConfiguration struct {
	Local *bool `json:"local,omitempty"`
}

ImageLookupPolicyApplyConfiguration represents a declarative configuration of the ImageLookupPolicy type for use with apply.

func ImageLookupPolicy

func ImageLookupPolicy() *ImageLookupPolicyApplyConfiguration

ImageLookupPolicyApplyConfiguration constructs a declarative configuration of the ImageLookupPolicy type for use with apply.

func (*ImageLookupPolicyApplyConfiguration) WithLocal

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

type ImageManifestApplyConfiguration

type ImageManifestApplyConfiguration struct {
	Digest       *string `json:"digest,omitempty"`
	MediaType    *string `json:"mediaType,omitempty"`
	ManifestSize *int64  `json:"manifestSize,omitempty"`
	Architecture *string `json:"architecture,omitempty"`
	OS           *string `json:"os,omitempty"`
	Variant      *string `json:"variant,omitempty"`
}

ImageManifestApplyConfiguration represents a declarative configuration of the ImageManifest type for use with apply.

func ImageManifest

func ImageManifest() *ImageManifestApplyConfiguration

ImageManifestApplyConfiguration constructs a declarative configuration of the ImageManifest type for use with apply.

func (*ImageManifestApplyConfiguration) WithArchitecture

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

func (*ImageManifestApplyConfiguration) WithDigest

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

func (*ImageManifestApplyConfiguration) WithManifestSize

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

func (*ImageManifestApplyConfiguration) WithMediaType

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

func (*ImageManifestApplyConfiguration) WithOS

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

func (*ImageManifestApplyConfiguration) WithVariant

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

type ImageSignatureApplyConfiguration

type ImageSignatureApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Type                                 *string                                `json:"type,omitempty"`
	Content                              []byte                                 `json:"content,omitempty"`
	Conditions                           []SignatureConditionApplyConfiguration `json:"conditions,omitempty"`
	ImageIdentity                        *string                                `json:"imageIdentity,omitempty"`
	SignedClaims                         map[string]string                      `json:"signedClaims,omitempty"`
	Created                              *apismetav1.Time                       `json:"created,omitempty"`
	IssuedBy                             *SignatureIssuerApplyConfiguration     `json:"issuedBy,omitempty"`
	IssuedTo                             *SignatureSubjectApplyConfiguration    `json:"issuedTo,omitempty"`
}

ImageSignatureApplyConfiguration represents a declarative configuration of the ImageSignature type for use with apply.

func ImageSignature

func ImageSignature(name string) *ImageSignatureApplyConfiguration

ImageSignature constructs a declarative configuration of the ImageSignature type for use with apply.

func (*ImageSignatureApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) WithConditions

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 (*ImageSignatureApplyConfiguration) WithContent

WithContent adds the given value to the Content 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 Content field.

func (*ImageSignatureApplyConfiguration) WithCreated

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

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

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

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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) WithImageIdentity

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

func (*ImageSignatureApplyConfiguration) WithIssuedBy

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

func (*ImageSignatureApplyConfiguration) WithIssuedTo

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

func (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) 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 (*ImageSignatureApplyConfiguration) WithSignedClaims

WithSignedClaims puts the entries into the SignedClaims 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 SignedClaims field, overwriting an existing map entries in SignedClaims field with the same key.

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

func (*ImageSignatureApplyConfiguration) 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 ImageStreamApplyConfiguration

type ImageStreamApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                                 *ImageStreamSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                               *ImageStreamStatusApplyConfiguration `json:"status,omitempty"`
}

ImageStreamApplyConfiguration represents a declarative configuration of the ImageStream type for use with apply.

func ExtractImageStream

func ExtractImageStream(imageStream *imagev1.ImageStream, fieldManager string) (*ImageStreamApplyConfiguration, error)

ExtractImageStream extracts the applied configuration owned by fieldManager from imageStream. If no managedFields are found in imageStream for fieldManager, a ImageStreamApplyConfiguration 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. imageStream must be a unmodified ImageStream API object that was retrieved from the Kubernetes API. ExtractImageStream 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 ExtractImageStreamStatus

func ExtractImageStreamStatus(imageStream *imagev1.ImageStream, fieldManager string) (*ImageStreamApplyConfiguration, error)

ExtractImageStreamStatus is the same as ExtractImageStream except that it extracts the status subresource applied configuration. Experimental!

func ImageStream

func ImageStream(name, namespace string) *ImageStreamApplyConfiguration

ImageStream constructs a declarative configuration of the ImageStream type for use with apply.

func (*ImageStreamApplyConfiguration) GetName

func (b *ImageStreamApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 (*ImageStreamApplyConfiguration) 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 ImageStreamMappingApplyConfiguration

type ImageStreamMappingApplyConfiguration struct {
	metav1.TypeMetaApplyConfiguration    `json:",inline"`
	*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Image                                *ImageApplyConfiguration `json:"image,omitempty"`
	Tag                                  *string                  `json:"tag,omitempty"`
}

ImageStreamMappingApplyConfiguration represents a declarative configuration of the ImageStreamMapping type for use with apply.

func ExtractImageStreamMapping

func ExtractImageStreamMapping(imageStreamMapping *imagev1.ImageStreamMapping, fieldManager string) (*ImageStreamMappingApplyConfiguration, error)

ExtractImageStreamMapping extracts the applied configuration owned by fieldManager from imageStreamMapping. If no managedFields are found in imageStreamMapping for fieldManager, a ImageStreamMappingApplyConfiguration 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. imageStreamMapping must be a unmodified ImageStreamMapping API object that was retrieved from the Kubernetes API. ExtractImageStreamMapping 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 ExtractImageStreamMappingStatus

func ExtractImageStreamMappingStatus(imageStreamMapping *imagev1.ImageStreamMapping, fieldManager string) (*ImageStreamMappingApplyConfiguration, error)

ExtractImageStreamMappingStatus is the same as ExtractImageStreamMapping except that it extracts the status subresource applied configuration. Experimental!

func ImageStreamMapping

func ImageStreamMapping(name, namespace string) *ImageStreamMappingApplyConfiguration

ImageStreamMapping constructs a declarative configuration of the ImageStreamMapping type for use with apply.

func (*ImageStreamMappingApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) WithImage

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

func (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) 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 (*ImageStreamMappingApplyConfiguration) WithTag

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

func (*ImageStreamMappingApplyConfiguration) 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 ImageStreamSpecApplyConfiguration

type ImageStreamSpecApplyConfiguration struct {
	LookupPolicy          *ImageLookupPolicyApplyConfiguration `json:"lookupPolicy,omitempty"`
	DockerImageRepository *string                              `json:"dockerImageRepository,omitempty"`
	Tags                  []TagReferenceApplyConfiguration     `json:"tags,omitempty"`
}

ImageStreamSpecApplyConfiguration represents a declarative configuration of the ImageStreamSpec type for use with apply.

func ImageStreamSpec

func ImageStreamSpec() *ImageStreamSpecApplyConfiguration

ImageStreamSpecApplyConfiguration constructs a declarative configuration of the ImageStreamSpec type for use with apply.

func (*ImageStreamSpecApplyConfiguration) WithDockerImageRepository

func (b *ImageStreamSpecApplyConfiguration) WithDockerImageRepository(value string) *ImageStreamSpecApplyConfiguration

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

func (*ImageStreamSpecApplyConfiguration) WithLookupPolicy

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

func (*ImageStreamSpecApplyConfiguration) WithTags

WithTags adds the given value to the Tags 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 Tags field.

type ImageStreamStatusApplyConfiguration

type ImageStreamStatusApplyConfiguration struct {
	DockerImageRepository       *string                               `json:"dockerImageRepository,omitempty"`
	PublicDockerImageRepository *string                               `json:"publicDockerImageRepository,omitempty"`
	Tags                        []NamedTagEventListApplyConfiguration `json:"tags,omitempty"`
}

ImageStreamStatusApplyConfiguration represents a declarative configuration of the ImageStreamStatus type for use with apply.

func ImageStreamStatus

func ImageStreamStatus() *ImageStreamStatusApplyConfiguration

ImageStreamStatusApplyConfiguration constructs a declarative configuration of the ImageStreamStatus type for use with apply.

func (*ImageStreamStatusApplyConfiguration) WithDockerImageRepository

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

func (*ImageStreamStatusApplyConfiguration) WithPublicDockerImageRepository

func (b *ImageStreamStatusApplyConfiguration) WithPublicDockerImageRepository(value string) *ImageStreamStatusApplyConfiguration

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

func (*ImageStreamStatusApplyConfiguration) WithTags

WithTags adds the given value to the Tags 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 Tags field.

type NamedTagEventListApplyConfiguration

type NamedTagEventListApplyConfiguration struct {
	Tag        *string                               `json:"tag,omitempty"`
	Items      []TagEventApplyConfiguration          `json:"items,omitempty"`
	Conditions []TagEventConditionApplyConfiguration `json:"conditions,omitempty"`
}

NamedTagEventListApplyConfiguration represents a declarative configuration of the NamedTagEventList type for use with apply.

func NamedTagEventList

func NamedTagEventList() *NamedTagEventListApplyConfiguration

NamedTagEventListApplyConfiguration constructs a declarative configuration of the NamedTagEventList type for use with apply.

func (*NamedTagEventListApplyConfiguration) WithConditions

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 (*NamedTagEventListApplyConfiguration) WithItems

WithItems adds the given value to the Items 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 Items field.

func (*NamedTagEventListApplyConfiguration) WithTag

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

type SignatureConditionApplyConfiguration

type SignatureConditionApplyConfiguration struct {
	Type               *imagev1.SignatureConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus         `json:"status,omitempty"`
	LastProbeTime      *metav1.Time                    `json:"lastProbeTime,omitempty"`
	LastTransitionTime *metav1.Time                    `json:"lastTransitionTime,omitempty"`
	Reason             *string                         `json:"reason,omitempty"`
	Message            *string                         `json:"message,omitempty"`
}

SignatureConditionApplyConfiguration represents a declarative configuration of the SignatureCondition type for use with apply.

func SignatureCondition

func SignatureCondition() *SignatureConditionApplyConfiguration

SignatureConditionApplyConfiguration constructs a declarative configuration of the SignatureCondition type for use with apply.

func (*SignatureConditionApplyConfiguration) WithLastProbeTime

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

func (*SignatureConditionApplyConfiguration) WithLastTransitionTime

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 (*SignatureConditionApplyConfiguration) 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 (*SignatureConditionApplyConfiguration) WithReason

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 (*SignatureConditionApplyConfiguration) 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 (*SignatureConditionApplyConfiguration) 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 SignatureGenericEntityApplyConfiguration

type SignatureGenericEntityApplyConfiguration struct {
	Organization *string `json:"organization,omitempty"`
	CommonName   *string `json:"commonName,omitempty"`
}

SignatureGenericEntityApplyConfiguration represents a declarative configuration of the SignatureGenericEntity type for use with apply.

func SignatureGenericEntity

func SignatureGenericEntity() *SignatureGenericEntityApplyConfiguration

SignatureGenericEntityApplyConfiguration constructs a declarative configuration of the SignatureGenericEntity type for use with apply.

func (*SignatureGenericEntityApplyConfiguration) WithCommonName

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

func (*SignatureGenericEntityApplyConfiguration) WithOrganization

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

type SignatureIssuerApplyConfiguration

type SignatureIssuerApplyConfiguration struct {
	SignatureGenericEntityApplyConfiguration `json:",inline"`
}

SignatureIssuerApplyConfiguration represents a declarative configuration of the SignatureIssuer type for use with apply.

func SignatureIssuer

func SignatureIssuer() *SignatureIssuerApplyConfiguration

SignatureIssuerApplyConfiguration constructs a declarative configuration of the SignatureIssuer type for use with apply.

func (*SignatureIssuerApplyConfiguration) WithCommonName

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

func (*SignatureIssuerApplyConfiguration) WithOrganization

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

type SignatureSubjectApplyConfiguration

type SignatureSubjectApplyConfiguration struct {
	SignatureGenericEntityApplyConfiguration `json:",inline"`
	PublicKeyID                              *string `json:"publicKeyID,omitempty"`
}

SignatureSubjectApplyConfiguration represents a declarative configuration of the SignatureSubject type for use with apply.

func SignatureSubject

func SignatureSubject() *SignatureSubjectApplyConfiguration

SignatureSubjectApplyConfiguration constructs a declarative configuration of the SignatureSubject type for use with apply.

func (*SignatureSubjectApplyConfiguration) WithCommonName

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

func (*SignatureSubjectApplyConfiguration) WithOrganization

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

func (*SignatureSubjectApplyConfiguration) WithPublicKeyID

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

type TagEventApplyConfiguration

type TagEventApplyConfiguration struct {
	Created              *metav1.Time `json:"created,omitempty"`
	DockerImageReference *string      `json:"dockerImageReference,omitempty"`
	Image                *string      `json:"image,omitempty"`
	Generation           *int64       `json:"generation,omitempty"`
}

TagEventApplyConfiguration represents a declarative configuration of the TagEvent type for use with apply.

func TagEvent

func TagEvent() *TagEventApplyConfiguration

TagEventApplyConfiguration constructs a declarative configuration of the TagEvent type for use with apply.

func (*TagEventApplyConfiguration) WithCreated

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

func (*TagEventApplyConfiguration) WithDockerImageReference

func (b *TagEventApplyConfiguration) WithDockerImageReference(value string) *TagEventApplyConfiguration

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

func (*TagEventApplyConfiguration) 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 (*TagEventApplyConfiguration) WithImage

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

type TagEventConditionApplyConfiguration

type TagEventConditionApplyConfiguration struct {
	Type               *imagev1.TagEventConditionType `json:"type,omitempty"`
	Status             *corev1.ConditionStatus        `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                   `json:"lastTransitionTime,omitempty"`
	Reason             *string                        `json:"reason,omitempty"`
	Message            *string                        `json:"message,omitempty"`
	Generation         *int64                         `json:"generation,omitempty"`
}

TagEventConditionApplyConfiguration represents a declarative configuration of the TagEventCondition type for use with apply.

func TagEventCondition

func TagEventCondition() *TagEventConditionApplyConfiguration

TagEventConditionApplyConfiguration constructs a declarative configuration of the TagEventCondition type for use with apply.

func (*TagEventConditionApplyConfiguration) 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 (*TagEventConditionApplyConfiguration) WithLastTransitionTime

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 (*TagEventConditionApplyConfiguration) 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 (*TagEventConditionApplyConfiguration) WithReason

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 (*TagEventConditionApplyConfiguration) 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 (*TagEventConditionApplyConfiguration) 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 TagImportPolicyApplyConfiguration

type TagImportPolicyApplyConfiguration struct {
	Insecure   *bool                   `json:"insecure,omitempty"`
	Scheduled  *bool                   `json:"scheduled,omitempty"`
	ImportMode *imagev1.ImportModeType `json:"importMode,omitempty"`
}

TagImportPolicyApplyConfiguration represents a declarative configuration of the TagImportPolicy type for use with apply.

func TagImportPolicy

func TagImportPolicy() *TagImportPolicyApplyConfiguration

TagImportPolicyApplyConfiguration constructs a declarative configuration of the TagImportPolicy type for use with apply.

func (*TagImportPolicyApplyConfiguration) WithImportMode

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

func (*TagImportPolicyApplyConfiguration) WithInsecure

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

func (*TagImportPolicyApplyConfiguration) WithScheduled

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

type TagReferenceApplyConfiguration

type TagReferenceApplyConfiguration struct {
	Name            *string                               `json:"name,omitempty"`
	Annotations     map[string]string                     `json:"annotations,omitempty"`
	From            *corev1.ObjectReference               `json:"from,omitempty"`
	Reference       *bool                                 `json:"reference,omitempty"`
	Generation      *int64                                `json:"generation,omitempty"`
	ImportPolicy    *TagImportPolicyApplyConfiguration    `json:"importPolicy,omitempty"`
	ReferencePolicy *TagReferencePolicyApplyConfiguration `json:"referencePolicy,omitempty"`
}

TagReferenceApplyConfiguration represents a declarative configuration of the TagReference type for use with apply.

func TagReference

func TagReference() *TagReferenceApplyConfiguration

TagReferenceApplyConfiguration constructs a declarative configuration of the TagReference type for use with apply.

func (*TagReferenceApplyConfiguration) 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 (*TagReferenceApplyConfiguration) WithFrom

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

func (*TagReferenceApplyConfiguration) 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 (*TagReferenceApplyConfiguration) WithImportPolicy

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

func (*TagReferenceApplyConfiguration) 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 (*TagReferenceApplyConfiguration) WithReference

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

func (*TagReferenceApplyConfiguration) WithReferencePolicy

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

type TagReferencePolicyApplyConfiguration

type TagReferencePolicyApplyConfiguration struct {
	Type *imagev1.TagReferencePolicyType `json:"type,omitempty"`
}

TagReferencePolicyApplyConfiguration represents a declarative configuration of the TagReferencePolicy type for use with apply.

func TagReferencePolicy

func TagReferencePolicy() *TagReferencePolicyApplyConfiguration

TagReferencePolicyApplyConfiguration constructs a declarative configuration of the TagReferencePolicy type for use with apply.

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

Jump to

Keyboard shortcuts

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