Documentation ¶
Index ¶
- type CPUInfoApplyConfiguration
- type NumatopoSpecApplyConfiguration
- func (b *NumatopoSpecApplyConfiguration) WithCPUDetail(entries map[string]CPUInfoApplyConfiguration) *NumatopoSpecApplyConfiguration
- func (b *NumatopoSpecApplyConfiguration) WithNumaResMap(entries map[string]ResourceInfoApplyConfiguration) *NumatopoSpecApplyConfiguration
- func (b *NumatopoSpecApplyConfiguration) WithPolicies(entries map[v1alpha1.PolicyName]string) *NumatopoSpecApplyConfiguration
- func (b *NumatopoSpecApplyConfiguration) WithResReserved(entries map[string]string) *NumatopoSpecApplyConfiguration
- type NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) GetName() *string
- func (b *NumatopologyApplyConfiguration) WithAPIVersion(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithAnnotations(entries map[string]string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithFinalizers(values ...string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithGenerateName(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithGeneration(value int64) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithKind(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithLabels(entries map[string]string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithName(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithNamespace(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithResourceVersion(value string) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithSpec(value *NumatopoSpecApplyConfiguration) *NumatopologyApplyConfiguration
- func (b *NumatopologyApplyConfiguration) WithUID(value types.UID) *NumatopologyApplyConfiguration
- type ResourceInfoApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUInfoApplyConfiguration ¶
type CPUInfoApplyConfiguration struct { NUMANodeID *int `json:"numa,omitempty"` SocketID *int `json:"socket,omitempty"` CoreID *int `json:"core,omitempty"` }
CPUInfoApplyConfiguration represents a declarative configuration of the CPUInfo type for use with apply.
func CPUInfo ¶
func CPUInfo() *CPUInfoApplyConfiguration
CPUInfoApplyConfiguration constructs a declarative configuration of the CPUInfo type for use with apply.
func (*CPUInfoApplyConfiguration) WithCoreID ¶
func (b *CPUInfoApplyConfiguration) WithCoreID(value int) *CPUInfoApplyConfiguration
WithCoreID sets the CoreID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CoreID field is set to the value of the last call.
func (*CPUInfoApplyConfiguration) WithNUMANodeID ¶
func (b *CPUInfoApplyConfiguration) WithNUMANodeID(value int) *CPUInfoApplyConfiguration
WithNUMANodeID sets the NUMANodeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NUMANodeID field is set to the value of the last call.
func (*CPUInfoApplyConfiguration) WithSocketID ¶
func (b *CPUInfoApplyConfiguration) WithSocketID(value int) *CPUInfoApplyConfiguration
WithSocketID sets the SocketID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SocketID field is set to the value of the last call.
type NumatopoSpecApplyConfiguration ¶
type NumatopoSpecApplyConfiguration struct { Policies map[v1alpha1.PolicyName]string `json:"policies,omitempty"` ResReserved map[string]string `json:"resReserved,omitempty"` NumaResMap map[string]ResourceInfoApplyConfiguration `json:"numares,omitempty"` CPUDetail map[string]CPUInfoApplyConfiguration `json:"cpuDetail,omitempty"` }
NumatopoSpecApplyConfiguration represents a declarative configuration of the NumatopoSpec type for use with apply.
func NumatopoSpec ¶
func NumatopoSpec() *NumatopoSpecApplyConfiguration
NumatopoSpecApplyConfiguration constructs a declarative configuration of the NumatopoSpec type for use with apply.
func (*NumatopoSpecApplyConfiguration) WithCPUDetail ¶
func (b *NumatopoSpecApplyConfiguration) WithCPUDetail(entries map[string]CPUInfoApplyConfiguration) *NumatopoSpecApplyConfiguration
WithCPUDetail puts the entries into the CPUDetail 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 CPUDetail field, overwriting an existing map entries in CPUDetail field with the same key.
func (*NumatopoSpecApplyConfiguration) WithNumaResMap ¶
func (b *NumatopoSpecApplyConfiguration) WithNumaResMap(entries map[string]ResourceInfoApplyConfiguration) *NumatopoSpecApplyConfiguration
WithNumaResMap puts the entries into the NumaResMap 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 NumaResMap field, overwriting an existing map entries in NumaResMap field with the same key.
func (*NumatopoSpecApplyConfiguration) WithPolicies ¶
func (b *NumatopoSpecApplyConfiguration) WithPolicies(entries map[v1alpha1.PolicyName]string) *NumatopoSpecApplyConfiguration
WithPolicies puts the entries into the Policies 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 Policies field, overwriting an existing map entries in Policies field with the same key.
func (*NumatopoSpecApplyConfiguration) WithResReserved ¶
func (b *NumatopoSpecApplyConfiguration) WithResReserved(entries map[string]string) *NumatopoSpecApplyConfiguration
WithResReserved puts the entries into the ResReserved 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 ResReserved field, overwriting an existing map entries in ResReserved field with the same key.
type NumatopologyApplyConfiguration ¶
type NumatopologyApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *NumatopoSpecApplyConfiguration `json:"spec,omitempty"` }
NumatopologyApplyConfiguration represents a declarative configuration of the Numatopology type for use with apply.
func Numatopology ¶
func Numatopology(name string) *NumatopologyApplyConfiguration
Numatopology constructs a declarative configuration of the Numatopology type for use with apply.
func (*NumatopologyApplyConfiguration) GetName ¶
func (b *NumatopologyApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*NumatopologyApplyConfiguration) WithAPIVersion ¶
func (b *NumatopologyApplyConfiguration) WithAPIVersion(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithAnnotations ¶
func (b *NumatopologyApplyConfiguration) WithAnnotations(entries map[string]string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithCreationTimestamp ¶
func (b *NumatopologyApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NumatopologyApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithDeletionTimestamp ¶
func (b *NumatopologyApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithFinalizers ¶
func (b *NumatopologyApplyConfiguration) WithFinalizers(values ...string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithGenerateName ¶
func (b *NumatopologyApplyConfiguration) WithGenerateName(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithGeneration ¶
func (b *NumatopologyApplyConfiguration) WithGeneration(value int64) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithKind ¶
func (b *NumatopologyApplyConfiguration) WithKind(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithLabels ¶
func (b *NumatopologyApplyConfiguration) WithLabels(entries map[string]string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithName ¶
func (b *NumatopologyApplyConfiguration) WithName(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithNamespace ¶
func (b *NumatopologyApplyConfiguration) WithNamespace(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithOwnerReferences ¶
func (b *NumatopologyApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithResourceVersion ¶
func (b *NumatopologyApplyConfiguration) WithResourceVersion(value string) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithSpec ¶
func (b *NumatopologyApplyConfiguration) WithSpec(value *NumatopoSpecApplyConfiguration) *NumatopologyApplyConfiguration
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 (*NumatopologyApplyConfiguration) WithUID ¶
func (b *NumatopologyApplyConfiguration) WithUID(value types.UID) *NumatopologyApplyConfiguration
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 ResourceInfoApplyConfiguration ¶
type ResourceInfoApplyConfiguration struct { Allocatable *string `json:"allocatable,omitempty"` Capacity *int `json:"capacity,omitempty"` }
ResourceInfoApplyConfiguration represents a declarative configuration of the ResourceInfo type for use with apply.
func ResourceInfo ¶
func ResourceInfo() *ResourceInfoApplyConfiguration
ResourceInfoApplyConfiguration constructs a declarative configuration of the ResourceInfo type for use with apply.
func (*ResourceInfoApplyConfiguration) WithAllocatable ¶
func (b *ResourceInfoApplyConfiguration) WithAllocatable(value string) *ResourceInfoApplyConfiguration
WithAllocatable sets the Allocatable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocatable field is set to the value of the last call.
func (*ResourceInfoApplyConfiguration) WithCapacity ¶
func (b *ResourceInfoApplyConfiguration) WithCapacity(value int) *ResourceInfoApplyConfiguration
WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.