Documentation
¶
Index ¶
- type EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithAPIVersion(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithAnnotations(entries map[string]string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithFinalizers(values ...string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithGenerateName(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithGeneration(value int64) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithKind(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithLabels(entries map[string]string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithName(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithNamespace(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithResourceVersion(value string) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithSpec(value *EdgeDeviceSpecApplyConfiguration) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithStatus(value edgev1alpha1.EdgeDeviceStatus) *EdgeDeviceApplyConfiguration
- func (b *EdgeDeviceApplyConfiguration) WithUID(value types.UID) *EdgeDeviceApplyConfiguration
- type EdgeDeviceSpecApplyConfiguration
- func (b *EdgeDeviceSpecApplyConfiguration) WithID(value string) *EdgeDeviceSpecApplyConfiguration
- func (b *EdgeDeviceSpecApplyConfiguration) WithNodes(value v1alpha1.EdgeNodes) *EdgeDeviceSpecApplyConfiguration
- func (b *EdgeDeviceSpecApplyConfiguration) WithType(value string) *EdgeDeviceSpecApplyConfiguration
- type EdgeNodeApplyConfiguration
- func (b *EdgeNodeApplyConfiguration) WithLastSeenTimestamp(value string) *EdgeNodeApplyConfiguration
- func (b *EdgeNodeApplyConfiguration) WithName(value string) *EdgeNodeApplyConfiguration
- func (b *EdgeNodeApplyConfiguration) WithStatus(value v1alpha1.EdgeNodeStatus) *EdgeNodeApplyConfiguration
- func (b *EdgeNodeApplyConfiguration) WithWorkloads(values ...*WorkloadApplyConfiguration) *EdgeNodeApplyConfiguration
- type WorkloadApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithAPIVersion(value string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithAnnotations(entries map[string]string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithFinalizers(values ...string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithGenerateName(value string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithGeneration(value int64) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithKind(value string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithLabels(entries map[string]string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithName(value string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithNamespace(value string) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithSpec(value *EdgeDeviceSpecApplyConfiguration) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithStatus(value edgev1alpha1.EdgeDeviceStatus) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceApplyConfiguration) WithUID(value types.UID) *EdgeDeviceApplyConfiguration
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 ¶
func (b *EdgeDeviceSpecApplyConfiguration) WithID(value string) *EdgeDeviceSpecApplyConfiguration
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 ¶
func (b *EdgeDeviceSpecApplyConfiguration) WithNodes(value v1alpha1.EdgeNodes) *EdgeDeviceSpecApplyConfiguration
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 ¶
func (b *EdgeDeviceSpecApplyConfiguration) WithType(value string) *EdgeDeviceSpecApplyConfiguration
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 ¶
func (b *EdgeNodeApplyConfiguration) WithName(value string) *EdgeNodeApplyConfiguration
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 ¶
func (b *EdgeNodeApplyConfiguration) WithStatus(value v1alpha1.EdgeNodeStatus) *EdgeNodeApplyConfiguration
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 ¶
func (b *EdgeNodeApplyConfiguration) WithWorkloads(values ...*WorkloadApplyConfiguration) *EdgeNodeApplyConfiguration
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 ¶
func (b *WorkloadApplyConfiguration) WithName(value string) *WorkloadApplyConfiguration
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 ¶
func (b *WorkloadApplyConfiguration) WithState(value string) *WorkloadApplyConfiguration
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 ¶
func (b *WorkloadApplyConfiguration) WithSubState(value string) *WorkloadApplyConfiguration
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.