v1alpha1

package
v0.0.0-...-8ac8dcf Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: LGPL-2.1 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EdgeDeviceApplyConfiguration

type EdgeDeviceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *EdgeDeviceSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *edgev1alpha1.EdgeDeviceStatus    `json:"status,omitempty"`
}

EdgeDeviceApplyConfiguration represents an declarative configuration of the EdgeDevice type for use with apply.

func EdgeDevice

func EdgeDevice(name, namespace string) *EdgeDeviceApplyConfiguration

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

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

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

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

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

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

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

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

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

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 (*EdgeDeviceApplyConfiguration) 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 (*EdgeDeviceApplyConfiguration) 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 (*EdgeDeviceApplyConfiguration) 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 EdgeDeviceSpecApplyConfiguration

type EdgeDeviceSpecApplyConfiguration struct {
	ID    *string             `json:"id,omitempty"`
	Type  *string             `json:"type,omitempty"`
	Nodes *v1alpha1.EdgeNodes `json:"nodes,omitempty"`
}

EdgeDeviceSpecApplyConfiguration represents an declarative configuration of the EdgeDeviceSpec type for use with apply.

func EdgeDeviceSpec

func EdgeDeviceSpec() *EdgeDeviceSpecApplyConfiguration

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

func (*EdgeDeviceSpecApplyConfiguration) 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 (*EdgeDeviceSpecApplyConfiguration) WithNodes

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

func (*EdgeDeviceSpecApplyConfiguration) 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 EdgeNodeApplyConfiguration

type EdgeNodeApplyConfiguration struct {
	Name              *string                      `json:"name,omitempty"`
	Status            *v1alpha1.EdgeNodeStatus     `json:"status,omitempty"`
	LastSeenTimestamp *string                      `json:"lastSeenTimestamp,omitempty"`
	Workloads         []WorkloadApplyConfiguration `json:"workloads,omitempty"`
}

EdgeNodeApplyConfiguration represents an declarative configuration of the EdgeNode type for use with apply.

func EdgeNode

func EdgeNode() *EdgeNodeApplyConfiguration

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

func (*EdgeNodeApplyConfiguration) WithLastSeenTimestamp

func (b *EdgeNodeApplyConfiguration) WithLastSeenTimestamp(value string) *EdgeNodeApplyConfiguration

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

func (*EdgeNodeApplyConfiguration) 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 (*EdgeNodeApplyConfiguration) 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 (*EdgeNodeApplyConfiguration) WithWorkloads

WithWorkloads adds the given value to the Workloads 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 Workloads field.

type WorkloadApplyConfiguration

type WorkloadApplyConfiguration struct {
	Name     *string `json:"name,omitempty"`
	State    *string `json:"state,omitempty"`
	SubState *string `json:"substate,omitempty"`
}

WorkloadApplyConfiguration represents an declarative configuration of the Workload type for use with apply.

func Workload

func Workload() *WorkloadApplyConfiguration

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

func (*WorkloadApplyConfiguration) 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 (*WorkloadApplyConfiguration) WithState

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

func (*WorkloadApplyConfiguration) WithSubState

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