v1alpha1

package
v0.0.0-...-87e1093 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArmanApplyConfiguration

type ArmanApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ArmanSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ArmanStatusApplyConfiguration `json:"status,omitempty"`
}

ArmanApplyConfiguration represents an declarative configuration of the Arman type for use with apply.

func Arman

func Arman(name, namespace string) *ArmanApplyConfiguration

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

func (*ArmanApplyConfiguration) WithAPIVersion

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

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

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

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

func (b *ArmanApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ArmanApplyConfiguration

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

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

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

func (b *ArmanApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ArmanApplyConfiguration

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 (*ArmanApplyConfiguration) WithFinalizers

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

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

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

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

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

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

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

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

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

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

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

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 (*ArmanApplyConfiguration) 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 (*ArmanApplyConfiguration) 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 (*ArmanApplyConfiguration) 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 ArmanSpecApplyConfiguration

type ArmanSpecApplyConfiguration struct {
	DeploymentName    *string `json:"deploymentName,omitempty"`
	DeploymentImage   *string `json:"deploymentImage,omitempty"`
	Replicas          *int32  `json:"replicas,omitempty"`
	ServiceName       *string `json:"serviceName,omitempty"`
	ServicePort       *int32  `json:"servicePort,omitempty"`
	ServiceType       *string `json:"serviceType,omitempty"`
	ServiceTargetPort *int32  `json:"serviceTargetPort,omitempty"`
}

ArmanSpecApplyConfiguration represents an declarative configuration of the ArmanSpec type for use with apply.

func ArmanSpec

func ArmanSpec() *ArmanSpecApplyConfiguration

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

func (*ArmanSpecApplyConfiguration) WithDeploymentImage

func (b *ArmanSpecApplyConfiguration) WithDeploymentImage(value string) *ArmanSpecApplyConfiguration

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

func (*ArmanSpecApplyConfiguration) WithDeploymentName

func (b *ArmanSpecApplyConfiguration) WithDeploymentName(value string) *ArmanSpecApplyConfiguration

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

func (*ArmanSpecApplyConfiguration) WithReplicas

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

func (*ArmanSpecApplyConfiguration) WithServiceName

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

func (*ArmanSpecApplyConfiguration) WithServicePort

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

func (*ArmanSpecApplyConfiguration) WithServiceTargetPort

func (b *ArmanSpecApplyConfiguration) WithServiceTargetPort(value int32) *ArmanSpecApplyConfiguration

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

func (*ArmanSpecApplyConfiguration) WithServiceType

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

type ArmanStatusApplyConfiguration

type ArmanStatusApplyConfiguration struct {
	AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
}

ArmanStatusApplyConfiguration represents an declarative configuration of the ArmanStatus type for use with apply.

func ArmanStatus

func ArmanStatus() *ArmanStatusApplyConfiguration

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

func (*ArmanStatusApplyConfiguration) WithAvailableReplicas

func (b *ArmanStatusApplyConfiguration) WithAvailableReplicas(value int32) *ArmanStatusApplyConfiguration

WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas 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