v1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomResourceColumnDefinitionApplyConfiguration

type CustomResourceColumnDefinitionApplyConfiguration struct {
	Name        *string `json:"name,omitempty"`
	Type        *string `json:"type,omitempty"`
	Format      *string `json:"format,omitempty"`
	Description *string `json:"description,omitempty"`
	Priority    *int32  `json:"priority,omitempty"`
	JSONPath    *string `json:"jsonPath,omitempty"`
}

CustomResourceColumnDefinitionApplyConfiguration represents an declarative configuration of the CustomResourceColumnDefinition type for use with apply.

func CustomResourceColumnDefinition

func CustomResourceColumnDefinition() *CustomResourceColumnDefinitionApplyConfiguration

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

func (*CustomResourceColumnDefinitionApplyConfiguration) WithDescription

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*CustomResourceColumnDefinitionApplyConfiguration) WithFormat

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

func (*CustomResourceColumnDefinitionApplyConfiguration) WithJSONPath

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

func (*CustomResourceColumnDefinitionApplyConfiguration) 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 (*CustomResourceColumnDefinitionApplyConfiguration) WithPriority

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

func (*CustomResourceColumnDefinitionApplyConfiguration) 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 CustomResourceConversionApplyConfiguration

type CustomResourceConversionApplyConfiguration struct {
	Strategy *v1.ConversionStrategyType           `json:"strategy,omitempty"`
	Webhook  *WebhookConversionApplyConfiguration `json:"webhook,omitempty"`
}

CustomResourceConversionApplyConfiguration represents an declarative configuration of the CustomResourceConversion type for use with apply.

func CustomResourceConversion

func CustomResourceConversion() *CustomResourceConversionApplyConfiguration

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

func (*CustomResourceConversionApplyConfiguration) WithStrategy

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

func (*CustomResourceConversionApplyConfiguration) WithWebhook

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

type CustomResourceDefinitionApplyConfiguration

type CustomResourceDefinitionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CustomResourceDefinitionSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *CustomResourceDefinitionStatusApplyConfiguration `json:"status,omitempty"`
}

CustomResourceDefinitionApplyConfiguration represents an declarative configuration of the CustomResourceDefinition type for use with apply.

func CustomResourceDefinition

func CustomResourceDefinition(name string) *CustomResourceDefinitionApplyConfiguration

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

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

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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 (*CustomResourceDefinitionApplyConfiguration) 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 CustomResourceDefinitionConditionApplyConfiguration

type CustomResourceDefinitionConditionApplyConfiguration struct {
	Type               *v1.CustomResourceDefinitionConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus                       `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                              `json:"lastTransitionTime,omitempty"`
	Reason             *string                                   `json:"reason,omitempty"`
	Message            *string                                   `json:"message,omitempty"`
}

CustomResourceDefinitionConditionApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionCondition type for use with apply.

func CustomResourceDefinitionCondition

func CustomResourceDefinitionCondition() *CustomResourceDefinitionConditionApplyConfiguration

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

func (*CustomResourceDefinitionConditionApplyConfiguration) 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 (*CustomResourceDefinitionConditionApplyConfiguration) 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 (*CustomResourceDefinitionConditionApplyConfiguration) 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 (*CustomResourceDefinitionConditionApplyConfiguration) 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 (*CustomResourceDefinitionConditionApplyConfiguration) 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 CustomResourceDefinitionNamesApplyConfiguration

type CustomResourceDefinitionNamesApplyConfiguration struct {
	Plural     *string  `json:"plural,omitempty"`
	Singular   *string  `json:"singular,omitempty"`
	ShortNames []string `json:"shortNames,omitempty"`
	Kind       *string  `json:"kind,omitempty"`
	ListKind   *string  `json:"listKind,omitempty"`
	Categories []string `json:"categories,omitempty"`
}

CustomResourceDefinitionNamesApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionNames type for use with apply.

func CustomResourceDefinitionNames

func CustomResourceDefinitionNames() *CustomResourceDefinitionNamesApplyConfiguration

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

func (*CustomResourceDefinitionNamesApplyConfiguration) WithCategories

WithCategories adds the given value to the Categories 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 Categories field.

func (*CustomResourceDefinitionNamesApplyConfiguration) 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 (*CustomResourceDefinitionNamesApplyConfiguration) WithListKind

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

func (*CustomResourceDefinitionNamesApplyConfiguration) WithPlural

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

func (*CustomResourceDefinitionNamesApplyConfiguration) WithShortNames

WithShortNames adds the given value to the ShortNames 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 ShortNames field.

func (*CustomResourceDefinitionNamesApplyConfiguration) WithSingular

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

type CustomResourceDefinitionSpecApplyConfiguration

type CustomResourceDefinitionSpecApplyConfiguration struct {
	Group                 *string                                             `json:"group,omitempty"`
	Names                 *CustomResourceDefinitionNamesApplyConfiguration    `json:"names,omitempty"`
	Scope                 *apiextensionsv1.ResourceScope                      `json:"scope,omitempty"`
	Versions              []CustomResourceDefinitionVersionApplyConfiguration `json:"versions,omitempty"`
	Conversion            *CustomResourceConversionApplyConfiguration         `json:"conversion,omitempty"`
	PreserveUnknownFields *bool                                               `json:"preserveUnknownFields,omitempty"`
}

CustomResourceDefinitionSpecApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionSpec type for use with apply.

func CustomResourceDefinitionSpec

func CustomResourceDefinitionSpec() *CustomResourceDefinitionSpecApplyConfiguration

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithConversion

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithGroup

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithNames

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithPreserveUnknownFields

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithScope

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

func (*CustomResourceDefinitionSpecApplyConfiguration) WithVersions

WithVersions adds the given value to the Versions 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 Versions field.

type CustomResourceDefinitionStatusApplyConfiguration

type CustomResourceDefinitionStatusApplyConfiguration struct {
	Conditions     []CustomResourceDefinitionConditionApplyConfiguration `json:"conditions,omitempty"`
	AcceptedNames  *CustomResourceDefinitionNamesApplyConfiguration      `json:"acceptedNames,omitempty"`
	StoredVersions []string                                              `json:"storedVersions,omitempty"`
}

CustomResourceDefinitionStatusApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionStatus type for use with apply.

func CustomResourceDefinitionStatus

func CustomResourceDefinitionStatus() *CustomResourceDefinitionStatusApplyConfiguration

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

func (*CustomResourceDefinitionStatusApplyConfiguration) WithAcceptedNames

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

func (*CustomResourceDefinitionStatusApplyConfiguration) 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 (*CustomResourceDefinitionStatusApplyConfiguration) WithStoredVersions

WithStoredVersions adds the given value to the StoredVersions 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 StoredVersions field.

type CustomResourceDefinitionVersionApplyConfiguration

type CustomResourceDefinitionVersionApplyConfiguration struct {
	Name                     *string                                            `json:"name,omitempty"`
	Served                   *bool                                              `json:"served,omitempty"`
	Storage                  *bool                                              `json:"storage,omitempty"`
	Deprecated               *bool                                              `json:"deprecated,omitempty"`
	DeprecationWarning       *string                                            `json:"deprecationWarning,omitempty"`
	Schema                   *CustomResourceValidationApplyConfiguration        `json:"schema,omitempty"`
	Subresources             *CustomResourceSubresourcesApplyConfiguration      `json:"subresources,omitempty"`
	AdditionalPrinterColumns []CustomResourceColumnDefinitionApplyConfiguration `json:"additionalPrinterColumns,omitempty"`
}

CustomResourceDefinitionVersionApplyConfiguration represents an declarative configuration of the CustomResourceDefinitionVersion type for use with apply.

func CustomResourceDefinitionVersion

func CustomResourceDefinitionVersion() *CustomResourceDefinitionVersionApplyConfiguration

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

func (*CustomResourceDefinitionVersionApplyConfiguration) WithAdditionalPrinterColumns

WithAdditionalPrinterColumns adds the given value to the AdditionalPrinterColumns 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 AdditionalPrinterColumns field.

func (*CustomResourceDefinitionVersionApplyConfiguration) WithDeprecated

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

func (*CustomResourceDefinitionVersionApplyConfiguration) WithDeprecationWarning

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

func (*CustomResourceDefinitionVersionApplyConfiguration) 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 (*CustomResourceDefinitionVersionApplyConfiguration) WithSchema

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

func (*CustomResourceDefinitionVersionApplyConfiguration) WithServed

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

func (*CustomResourceDefinitionVersionApplyConfiguration) WithStorage

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

func (*CustomResourceDefinitionVersionApplyConfiguration) WithSubresources

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

type CustomResourceSubresourceScaleApplyConfiguration

type CustomResourceSubresourceScaleApplyConfiguration struct {
	SpecReplicasPath   *string `json:"specReplicasPath,omitempty"`
	StatusReplicasPath *string `json:"statusReplicasPath,omitempty"`
	LabelSelectorPath  *string `json:"labelSelectorPath,omitempty"`
}

CustomResourceSubresourceScaleApplyConfiguration represents an declarative configuration of the CustomResourceSubresourceScale type for use with apply.

func CustomResourceSubresourceScale

func CustomResourceSubresourceScale() *CustomResourceSubresourceScaleApplyConfiguration

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

func (*CustomResourceSubresourceScaleApplyConfiguration) WithLabelSelectorPath

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

func (*CustomResourceSubresourceScaleApplyConfiguration) WithSpecReplicasPath

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

func (*CustomResourceSubresourceScaleApplyConfiguration) WithStatusReplicasPath

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

type CustomResourceSubresourcesApplyConfiguration

type CustomResourceSubresourcesApplyConfiguration struct {
	Status *v1.CustomResourceSubresourceStatus               `json:"status,omitempty"`
	Scale  *CustomResourceSubresourceScaleApplyConfiguration `json:"scale,omitempty"`
}

CustomResourceSubresourcesApplyConfiguration represents an declarative configuration of the CustomResourceSubresources type for use with apply.

func CustomResourceSubresources

func CustomResourceSubresources() *CustomResourceSubresourcesApplyConfiguration

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

func (*CustomResourceSubresourcesApplyConfiguration) WithScale

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

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

type CustomResourceValidationApplyConfiguration

type CustomResourceValidationApplyConfiguration struct {
	OpenAPIV3Schema *JSONSchemaPropsApplyConfiguration `json:"openAPIV3Schema,omitempty"`
}

CustomResourceValidationApplyConfiguration represents an declarative configuration of the CustomResourceValidation type for use with apply.

func CustomResourceValidation

func CustomResourceValidation() *CustomResourceValidationApplyConfiguration

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

func (*CustomResourceValidationApplyConfiguration) WithOpenAPIV3Schema

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

type ExternalDocumentationApplyConfiguration

type ExternalDocumentationApplyConfiguration struct {
	Description *string `json:"description,omitempty"`
	URL         *string `json:"url,omitempty"`
}

ExternalDocumentationApplyConfiguration represents an declarative configuration of the ExternalDocumentation type for use with apply.

func ExternalDocumentation

func ExternalDocumentation() *ExternalDocumentationApplyConfiguration

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

func (*ExternalDocumentationApplyConfiguration) WithDescription

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*ExternalDocumentationApplyConfiguration) WithURL

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

type JSONSchemaPropsApplyConfiguration

type JSONSchemaPropsApplyConfiguration struct {
	ID                     *string                                      `json:"id,omitempty"`
	Schema                 *v1.JSONSchemaURL                            `json:"$schema,omitempty"`
	Ref                    *string                                      `json:"$ref,omitempty"`
	Description            *string                                      `json:"description,omitempty"`
	Type                   *string                                      `json:"type,omitempty"`
	Format                 *string                                      `json:"format,omitempty"`
	Title                  *string                                      `json:"title,omitempty"`
	Default                *v1.JSON                                     `json:"default,omitempty"`
	Maximum                *float64                                     `json:"maximum,omitempty"`
	ExclusiveMaximum       *bool                                        `json:"exclusiveMaximum,omitempty"`
	Minimum                *float64                                     `json:"minimum,omitempty"`
	ExclusiveMinimum       *bool                                        `json:"exclusiveMinimum,omitempty"`
	MaxLength              *int64                                       `json:"maxLength,omitempty"`
	MinLength              *int64                                       `json:"minLength,omitempty"`
	Pattern                *string                                      `json:"pattern,omitempty"`
	MaxItems               *int64                                       `json:"maxItems,omitempty"`
	MinItems               *int64                                       `json:"minItems,omitempty"`
	UniqueItems            *bool                                        `json:"uniqueItems,omitempty"`
	MultipleOf             *float64                                     `json:"multipleOf,omitempty"`
	Enum                   []v1.JSON                                    `json:"enum,omitempty"`
	MaxProperties          *int64                                       `json:"maxProperties,omitempty"`
	MinProperties          *int64                                       `json:"minProperties,omitempty"`
	Required               []string                                     `json:"required,omitempty"`
	Items                  *v1.JSONSchemaPropsOrArray                   `json:"items,omitempty"`
	AllOf                  []JSONSchemaPropsApplyConfiguration          `json:"allOf,omitempty"`
	OneOf                  []JSONSchemaPropsApplyConfiguration          `json:"oneOf,omitempty"`
	AnyOf                  []JSONSchemaPropsApplyConfiguration          `json:"anyOf,omitempty"`
	Not                    *JSONSchemaPropsApplyConfiguration           `json:"not,omitempty"`
	Properties             map[string]JSONSchemaPropsApplyConfiguration `json:"properties,omitempty"`
	AdditionalProperties   *v1.JSONSchemaPropsOrBool                    `json:"additionalProperties,omitempty"`
	PatternProperties      map[string]JSONSchemaPropsApplyConfiguration `json:"patternProperties,omitempty"`
	Dependencies           *v1.JSONSchemaDependencies                   `json:"dependencies,omitempty"`
	AdditionalItems        *v1.JSONSchemaPropsOrBool                    `json:"additionalItems,omitempty"`
	Definitions            *v1.JSONSchemaDefinitions                    `json:"definitions,omitempty"`
	ExternalDocs           *ExternalDocumentationApplyConfiguration     `json:"externalDocs,omitempty"`
	Example                *v1.JSON                                     `json:"example,omitempty"`
	Nullable               *bool                                        `json:"nullable,omitempty"`
	XPreserveUnknownFields *bool                                        `json:"x-kubernetes-preserve-unknown-fields,omitempty"`
	XEmbeddedResource      *bool                                        `json:"x-kubernetes-embedded-resource,omitempty"`
	XIntOrString           *bool                                        `json:"x-kubernetes-int-or-string,omitempty"`
	XListMapKeys           []string                                     `json:"x-kubernetes-list-map-keys,omitempty"`
	XListType              *string                                      `json:"x-kubernetes-list-type,omitempty"`
	XMapType               *string                                      `json:"x-kubernetes-map-type,omitempty"`
	XValidations           *v1.ValidationRules                          `json:"x-kubernetes-validations,omitempty"`
}

JSONSchemaPropsApplyConfiguration represents an declarative configuration of the JSONSchemaProps type for use with apply.

func JSONSchemaProps

func JSONSchemaProps() *JSONSchemaPropsApplyConfiguration

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

func (*JSONSchemaPropsApplyConfiguration) WithAdditionalItems

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

func (*JSONSchemaPropsApplyConfiguration) WithAdditionalProperties

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

func (*JSONSchemaPropsApplyConfiguration) WithAllOf

WithAllOf adds the given value to the AllOf 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 AllOf field.

func (*JSONSchemaPropsApplyConfiguration) WithAnyOf

WithAnyOf adds the given value to the AnyOf 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 AnyOf field.

func (*JSONSchemaPropsApplyConfiguration) WithDefault

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

func (*JSONSchemaPropsApplyConfiguration) WithDefinitions

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

func (*JSONSchemaPropsApplyConfiguration) WithDependencies

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

func (*JSONSchemaPropsApplyConfiguration) WithDescription

WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.

func (*JSONSchemaPropsApplyConfiguration) WithEnum

WithEnum adds the given value to the Enum 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 Enum field.

func (*JSONSchemaPropsApplyConfiguration) WithExample

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

func (*JSONSchemaPropsApplyConfiguration) WithExclusiveMaximum

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

func (*JSONSchemaPropsApplyConfiguration) WithExclusiveMinimum

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

func (*JSONSchemaPropsApplyConfiguration) WithExternalDocs

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

func (*JSONSchemaPropsApplyConfiguration) WithFormat

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

func (*JSONSchemaPropsApplyConfiguration) WithID

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

func (*JSONSchemaPropsApplyConfiguration) WithItems

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

func (*JSONSchemaPropsApplyConfiguration) WithMaxItems

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

func (*JSONSchemaPropsApplyConfiguration) WithMaxLength

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

func (*JSONSchemaPropsApplyConfiguration) WithMaxProperties

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

func (*JSONSchemaPropsApplyConfiguration) WithMaximum

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

func (*JSONSchemaPropsApplyConfiguration) WithMinItems

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

func (*JSONSchemaPropsApplyConfiguration) WithMinLength

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

func (*JSONSchemaPropsApplyConfiguration) WithMinProperties

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

func (*JSONSchemaPropsApplyConfiguration) WithMinimum

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

func (*JSONSchemaPropsApplyConfiguration) WithMultipleOf

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

func (*JSONSchemaPropsApplyConfiguration) WithNot

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

func (*JSONSchemaPropsApplyConfiguration) WithNullable

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

func (*JSONSchemaPropsApplyConfiguration) WithOneOf

WithOneOf adds the given value to the OneOf 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 OneOf field.

func (*JSONSchemaPropsApplyConfiguration) WithPattern

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

func (*JSONSchemaPropsApplyConfiguration) WithPatternProperties

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

func (*JSONSchemaPropsApplyConfiguration) WithProperties

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

func (*JSONSchemaPropsApplyConfiguration) WithRef

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

func (*JSONSchemaPropsApplyConfiguration) WithRequired

WithRequired adds the given value to the Required 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 Required field.

func (*JSONSchemaPropsApplyConfiguration) WithSchema

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

func (*JSONSchemaPropsApplyConfiguration) WithTitle

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

func (*JSONSchemaPropsApplyConfiguration) 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 (*JSONSchemaPropsApplyConfiguration) WithUniqueItems

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

func (*JSONSchemaPropsApplyConfiguration) WithXEmbeddedResource

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

func (*JSONSchemaPropsApplyConfiguration) WithXIntOrString

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

func (*JSONSchemaPropsApplyConfiguration) WithXListMapKeys

WithXListMapKeys adds the given value to the XListMapKeys 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 XListMapKeys field.

func (*JSONSchemaPropsApplyConfiguration) WithXListType

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

func (*JSONSchemaPropsApplyConfiguration) WithXMapType

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

func (*JSONSchemaPropsApplyConfiguration) WithXPreserveUnknownFields

func (b *JSONSchemaPropsApplyConfiguration) WithXPreserveUnknownFields(value bool) *JSONSchemaPropsApplyConfiguration

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

func (*JSONSchemaPropsApplyConfiguration) WithXValidations

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

type ServiceReferenceApplyConfiguration

type ServiceReferenceApplyConfiguration struct {
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
	Path      *string `json:"path,omitempty"`
	Port      *int32  `json:"port,omitempty"`
}

ServiceReferenceApplyConfiguration represents an declarative configuration of the ServiceReference type for use with apply.

func ServiceReference

func ServiceReference() *ServiceReferenceApplyConfiguration

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

func (*ServiceReferenceApplyConfiguration) 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 (*ServiceReferenceApplyConfiguration) 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 (*ServiceReferenceApplyConfiguration) WithPath

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

func (*ServiceReferenceApplyConfiguration) WithPort

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

type ValidationRuleApplyConfiguration

type ValidationRuleApplyConfiguration struct {
	Rule    *string `json:"rule,omitempty"`
	Message *string `json:"message,omitempty"`
}

ValidationRuleApplyConfiguration represents an declarative configuration of the ValidationRule type for use with apply.

func ValidationRule

func ValidationRule() *ValidationRuleApplyConfiguration

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

func (*ValidationRuleApplyConfiguration) 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 (*ValidationRuleApplyConfiguration) WithRule

WithRule sets the Rule field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rule field is set to the value of the last call.

type WebhookClientConfigApplyConfiguration

type WebhookClientConfigApplyConfiguration struct {
	URL      *string                             `json:"url,omitempty"`
	Service  *ServiceReferenceApplyConfiguration `json:"service,omitempty"`
	CABundle []byte                              `json:"caBundle,omitempty"`
}

WebhookClientConfigApplyConfiguration represents an declarative configuration of the WebhookClientConfig type for use with apply.

func WebhookClientConfig

func WebhookClientConfig() *WebhookClientConfigApplyConfiguration

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

func (*WebhookClientConfigApplyConfiguration) WithCABundle

WithCABundle adds the given value to the CABundle 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 CABundle field.

func (*WebhookClientConfigApplyConfiguration) WithService

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

func (*WebhookClientConfigApplyConfiguration) WithURL

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

type WebhookConversionApplyConfiguration

type WebhookConversionApplyConfiguration struct {
	ClientConfig             *WebhookClientConfigApplyConfiguration `json:"clientConfig,omitempty"`
	ConversionReviewVersions []string                               `json:"conversionReviewVersions,omitempty"`
}

WebhookConversionApplyConfiguration represents an declarative configuration of the WebhookConversion type for use with apply.

func WebhookConversion

func WebhookConversion() *WebhookConversionApplyConfiguration

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

func (*WebhookConversionApplyConfiguration) WithClientConfig

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

func (*WebhookConversionApplyConfiguration) WithConversionReviewVersions

func (b *WebhookConversionApplyConfiguration) WithConversionReviewVersions(values ...string) *WebhookConversionApplyConfiguration

WithConversionReviewVersions adds the given value to the ConversionReviewVersions 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 ConversionReviewVersions field.

Jump to

Keyboard shortcuts

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