Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the management v1alpha1 API group +kubebuilder:object:generate=true +groupName=management.project-flotta.io
Index ¶
- Variables
- type Boot
- type CPU
- type ClockMhz
- type ContainerMetricsConfiguration
- type DataConfiguration
- type DataPath
- type Deployment
- type DeviceConfiguration
- type Disk
- type EdgeDeployment
- func (in *EdgeDeployment) DeepCopy() *EdgeDeployment
- func (in *EdgeDeployment) DeepCopyInto(out *EdgeDeployment)
- func (in *EdgeDeployment) DeepCopyObject() runtime.Object
- func (r *EdgeDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EdgeDeployment) ValidateCreate() error
- func (r *EdgeDeployment) ValidateDelete() error
- func (r *EdgeDeployment) ValidateUpdate(old runtime.Object) error
- type EdgeDeploymentList
- type EdgeDeploymentPhase
- type EdgeDeploymentSpec
- type EdgeDeploymentStatus
- type EdgeDeploymentType
- type EdgeDevice
- type EdgeDeviceList
- type EdgeDeviceSpec
- type EdgeDeviceStatus
- type Gpu
- type Hardware
- type HardwareProfileConfiguration
- type HeartbeatConfiguration
- type ImageRegistriesConfiguration
- type Interface
- type IoPerf
- type LogCollectionConfig
- type Memory
- type MetricsConfigEntity
- type MetricsConfiguration
- type NameRef
- type OsInformation
- type Pod
- type Retention
- type Route
- type S3Storage
- type S3StorageConfiguration
- type Storage
- type StorageConfiguration
- type SystemMetricsConfiguration
- type SystemVendor
- type UpgradeInformation
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "management.project-flotta.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Boot ¶
type Boot struct {
// current boot mode
CurrentBootMode string `json:"currentBootMode,omitempty"`
// pxe interface
PxeInterface string `json:"pxeInterface,omitempty"`
}
func (*Boot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Boot.
func (*Boot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CPU ¶
type CPU struct {
// architecture
Architecture string `json:"architecture,omitempty"`
// count
Count int64 `json:"count,omitempty"`
// flags
Flags []string `json:"flags"`
// frequency
Frequency string `json:"frequency,omitempty"`
// model name
ModelName string `json:"modelName,omitempty"`
}
func (*CPU) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPU.
func (*CPU) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerMetricsConfiguration ¶
type ContainerMetricsConfiguration struct {
// Path to use when retrieving metrics
// +kubebuilder:default=/
Path string `json:"path,omitempty"`
// Port to use when retrieve the metrics
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=65535
Port int32 `json:"port,omitempty"`
// Interval(in seconds) to scrape metrics endpoint.
// +kubebuilder:validation:Minimum=0
// +kubebuilder:default=60
Interval int32 `json:"interval,omitempty"`
// Specification of workload metrics to be collected
AllowList *NameRef `json:"allowList,omitempty"`
Containers map[string]*MetricsConfigEntity `json:"containers,omitempty"`
}
func (*ContainerMetricsConfiguration) DeepCopy ¶
func (in *ContainerMetricsConfiguration) DeepCopy() *ContainerMetricsConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetricsConfiguration.
func (*ContainerMetricsConfiguration) DeepCopyInto ¶
func (in *ContainerMetricsConfiguration) DeepCopyInto(out *ContainerMetricsConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataConfiguration ¶
type DataConfiguration struct {
Paths []DataPath `json:"paths,omitempty"`
}
func (*DataConfiguration) DeepCopy ¶
func (in *DataConfiguration) DeepCopy() *DataConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataConfiguration.
func (*DataConfiguration) DeepCopyInto ¶
func (in *DataConfiguration) DeepCopyInto(out *DataConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataPath ¶
func (*DataPath) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPath.
func (*DataPath) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployment ¶
type Deployment struct {
Name string `json:"name"`
Phase EdgeDeploymentPhase `json:"phase,omitempty"`
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
LastDataUpload metav1.Time `json:"lastDataUpload,omitempty"`
}
func (*Deployment) DeepCopy ¶
func (in *Deployment) DeepCopy() *Deployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (*Deployment) DeepCopyInto ¶
func (in *Deployment) DeepCopyInto(out *Deployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeviceConfiguration ¶
type DeviceConfiguration struct {
// heartbeat
Heartbeat *HeartbeatConfiguration `json:"heartbeat,omitempty"`
// storage
Storage *StorageConfiguration `json:"storage,omitempty"`
}
func (*DeviceConfiguration) DeepCopy ¶
func (in *DeviceConfiguration) DeepCopy() *DeviceConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceConfiguration.
func (*DeviceConfiguration) DeepCopyInto ¶
func (in *DeviceConfiguration) DeepCopyInto(out *DeviceConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Disk ¶
type Disk struct {
// bootable
Bootable bool `json:"bootable,omitempty"`
// by-id is the World Wide Number of the device which guaranteed to be unique for every storage device
ByID string `json:"byId,omitempty"`
// by-path is the shortest physical path to the device
ByPath string `json:"byPath,omitempty"`
// drive type
DriveType string `json:"driveType,omitempty"`
// hctl
Hctl string `json:"hctl,omitempty"`
// Determine the disk's unique identifier which is the by-id field if it exists and fallback to the by-path field otherwise
ID string `json:"id,omitempty"`
// io perf
IoPerf *IoPerf `json:"ioPerf,omitempty"`
// Whether the disk appears to be an installation media or not
IsInstallationMedia bool `json:"isInstallationMedia,omitempty"`
// model
Model string `json:"model,omitempty"`
// name
Name string `json:"name,omitempty"`
// path
Path string `json:"path,omitempty"`
// serial
Serial string `json:"serial,omitempty"`
// size bytes
SizeBytes int64 `json:"sizeBytes,omitempty"`
// smart
Smart string `json:"smart,omitempty"`
// vendor
Vendor string `json:"vendor,omitempty"`
// wwn
Wwn string `json:"wwn,omitempty"`
}
func (*Disk) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.
func (*Disk) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeDeployment ¶
type EdgeDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EdgeDeploymentSpec `json:"spec,omitempty"`
Status EdgeDeploymentStatus `json:"status,omitempty"`
}
EdgeDeployment is the Schema for the edgedeployments API
func (*EdgeDeployment) DeepCopy ¶
func (in *EdgeDeployment) DeepCopy() *EdgeDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeployment.
func (*EdgeDeployment) DeepCopyInto ¶
func (in *EdgeDeployment) DeepCopyInto(out *EdgeDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDeployment) DeepCopyObject ¶
func (in *EdgeDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EdgeDeployment) SetupWebhookWithManager ¶
func (r *EdgeDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EdgeDeployment) ValidateCreate ¶
func (r *EdgeDeployment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EdgeDeployment) ValidateDelete ¶
func (r *EdgeDeployment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EdgeDeployment) ValidateUpdate ¶
func (r *EdgeDeployment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EdgeDeploymentList ¶
type EdgeDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []EdgeDeployment `json:"items"`
}
EdgeDeploymentList contains a list of EdgeDeployment
func (*EdgeDeploymentList) DeepCopy ¶
func (in *EdgeDeploymentList) DeepCopy() *EdgeDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeploymentList.
func (*EdgeDeploymentList) DeepCopyInto ¶
func (in *EdgeDeploymentList) DeepCopyInto(out *EdgeDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDeploymentList) DeepCopyObject ¶
func (in *EdgeDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeDeploymentPhase ¶
type EdgeDeploymentPhase string
const ( Deploying EdgeDeploymentPhase = "Deploying" Running EdgeDeploymentPhase = "Running" Exited EdgeDeploymentPhase = "Exited" )
type EdgeDeploymentSpec ¶
type EdgeDeploymentSpec struct {
DeviceSelector *metav1.LabelSelector `json:"deviceSelector,omitempty"`
Device string `json:"device,omitempty"`
Type EdgeDeploymentType `json:"type"`
Pod Pod `json:"pod,omitempty"`
Data *DataConfiguration `json:"data,omitempty"`
ImageRegistries *ImageRegistriesConfiguration `json:"imageRegistries,omitempty"`
Metrics *ContainerMetricsConfiguration `json:"metrics,omitempty"`
// LogCollection is the logCollection property to be used to collect logs
// from this endpoint. This key is what is defined on the edgedevice
// logCollection property
LogCollection string `json:"log_collection,omitempty"`
}
EdgeDeploymentSpec defines the desired state of EdgeDeployment
func (*EdgeDeploymentSpec) DeepCopy ¶
func (in *EdgeDeploymentSpec) DeepCopy() *EdgeDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeploymentSpec.
func (*EdgeDeploymentSpec) DeepCopyInto ¶
func (in *EdgeDeploymentSpec) DeepCopyInto(out *EdgeDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeDeploymentStatus ¶
type EdgeDeploymentStatus struct {
}
EdgeDeploymentStatus defines the observed state of EdgeDeployment
func (*EdgeDeploymentStatus) DeepCopy ¶
func (in *EdgeDeploymentStatus) DeepCopy() *EdgeDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeploymentStatus.
func (*EdgeDeploymentStatus) DeepCopyInto ¶
func (in *EdgeDeploymentStatus) DeepCopyInto(out *EdgeDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeDeploymentType ¶
type EdgeDeploymentType string
const (
PodDeploymentType EdgeDeploymentType = "pod"
)
type EdgeDevice ¶
type EdgeDevice struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EdgeDeviceSpec `json:"spec,omitempty"`
Status EdgeDeviceStatus `json:"status,omitempty"`
}
EdgeDevice is the Schema for the edgedevices API
func (*EdgeDevice) DeepCopy ¶
func (in *EdgeDevice) DeepCopy() *EdgeDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDevice.
func (*EdgeDevice) DeepCopyInto ¶
func (in *EdgeDevice) DeepCopyInto(out *EdgeDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDevice) DeepCopyObject ¶
func (in *EdgeDevice) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeDeviceList ¶
type EdgeDeviceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []EdgeDevice `json:"items"`
}
EdgeDeviceList contains a list of EdgeDevice
func (*EdgeDeviceList) DeepCopy ¶
func (in *EdgeDeviceList) DeepCopy() *EdgeDeviceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceList.
func (*EdgeDeviceList) DeepCopyInto ¶
func (in *EdgeDeviceList) DeepCopyInto(out *EdgeDeviceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EdgeDeviceList) DeepCopyObject ¶
func (in *EdgeDeviceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EdgeDeviceSpec ¶
type EdgeDeviceSpec struct {
// OsInformation carries information about commit ID of the OS Image deployed to the device
OsInformation *OsInformation `json:"osInformation,omitempty"`
// RequestTime is the time of device registration request
RequestTime *metav1.Time `json:"requestTime,omitempty"`
Heartbeat *HeartbeatConfiguration `json:"heartbeat,omitempty"`
Storage *Storage `json:"storage,omitempty"`
Metrics *MetricsConfiguration `json:"metrics,omitempty"`
LogCollection map[string]*LogCollectionConfig `json:"log_collection,omitempty"`
}
EdgeDeviceSpec defines the desired state of EdgeDevice
func (*EdgeDeviceSpec) DeepCopy ¶
func (in *EdgeDeviceSpec) DeepCopy() *EdgeDeviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSpec.
func (*EdgeDeviceSpec) DeepCopyInto ¶
func (in *EdgeDeviceSpec) DeepCopyInto(out *EdgeDeviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EdgeDeviceStatus ¶
type EdgeDeviceStatus struct {
Phase string `json:"phase,omitempty"`
LastSeenTime metav1.Time `json:"lastSeenTime,omitempty"`
LastSyncedResourceVersion string `json:"lastSyncedResourceVersion,omitempty"`
Hardware *Hardware `json:"hardware,omitempty"`
Deployments []Deployment `json:"deployments,omitempty"`
DataOBC *string `json:"dataObc,omitempty"`
UpgradeInformation *UpgradeInformation `json:"upgradeInformation,omitempty"`
}
EdgeDeviceStatus defines the observed state of EdgeDevice
func (*EdgeDeviceStatus) DeepCopy ¶
func (in *EdgeDeviceStatus) DeepCopy() *EdgeDeviceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceStatus.
func (*EdgeDeviceStatus) DeepCopyInto ¶
func (in *EdgeDeviceStatus) DeepCopyInto(out *EdgeDeviceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gpu ¶
type Gpu struct {
// Device address (for example "0000:00:02.0")
Address string `json:"address,omitempty"`
// ID of the device (for example "3ea0")
DeviceID string `json:"deviceId,omitempty"`
// Product name of the device (for example "UHD Graphics 620 (Whiskey Lake)")
Name string `json:"name,omitempty"`
// The name of the device vendor (for example "Intel Corporation")
Vendor string `json:"vendor,omitempty"`
// ID of the vendor (for example "8086")
VendorID string `json:"vendorId,omitempty"`
}
func (*Gpu) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gpu.
func (*Gpu) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hardware ¶
type Hardware struct {
// boot
Boot *Boot `json:"boot,omitempty"`
// cpu
CPU *CPU `json:"cpu,omitempty"`
// disks
Disks []*Disk `json:"disks"`
// gpus
Gpus []*Gpu `json:"gpus"`
// hostname
Hostname string `json:"hostname,omitempty"`
// interfaces
Interfaces []*Interface `json:"interfaces"`
// memory
Memory *Memory `json:"memory,omitempty"`
// system vendor
SystemVendor *SystemVendor `json:"systemVendor,omitempty"`
}
func (*Hardware) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hardware.
func (*Hardware) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HardwareProfileConfiguration ¶
type HardwareProfileConfiguration struct {
// include
Include bool `json:"include,omitempty"`
// scope
// Enum: [full delta]
Scope string `json:"scope,omitempty"`
}
func (*HardwareProfileConfiguration) DeepCopy ¶
func (in *HardwareProfileConfiguration) DeepCopy() *HardwareProfileConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareProfileConfiguration.
func (*HardwareProfileConfiguration) DeepCopyInto ¶
func (in *HardwareProfileConfiguration) DeepCopyInto(out *HardwareProfileConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeartbeatConfiguration ¶
type HeartbeatConfiguration struct {
// hardware profile
HardwareProfile *HardwareProfileConfiguration `json:"hardwareProfile,omitempty"`
// period seconds
PeriodSeconds int64 `json:"periodSeconds,omitempty"`
}
func (*HeartbeatConfiguration) DeepCopy ¶
func (in *HeartbeatConfiguration) DeepCopy() *HeartbeatConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeartbeatConfiguration.
func (*HeartbeatConfiguration) DeepCopyInto ¶
func (in *HeartbeatConfiguration) DeepCopyInto(out *HeartbeatConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageRegistriesConfiguration ¶
type ImageRegistriesConfiguration struct {
AuthFileSecret *NameRef `json:"secretRef,omitempty"`
}
func (*ImageRegistriesConfiguration) DeepCopy ¶
func (in *ImageRegistriesConfiguration) DeepCopy() *ImageRegistriesConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRegistriesConfiguration.
func (*ImageRegistriesConfiguration) DeepCopyInto ¶
func (in *ImageRegistriesConfiguration) DeepCopyInto(out *ImageRegistriesConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Interface ¶
type Interface struct {
// biosdevname
Biosdevname string `json:"biosdevname,omitempty"`
// client id
ClientID string `json:"clientId,omitempty"`
// flags
Flags []string `json:"flags"`
// has carrier
HasCarrier bool `json:"hasCarrier,omitempty"`
// ipv4 addresses
IPV4Addresses []string `json:"ipv4Addresses,omitempty"`
// ipv6 addresses
IPV6Addresses []string `json:"ipv6Addresses,omitempty"`
// mac address
MacAddress string `json:"macAddress,omitempty"`
// mtu
Mtu int64 `json:"mtu,omitempty"`
// name
Name string `json:"name,omitempty"`
// product
Product string `json:"product,omitempty"`
// speed mbps
SpeedMbps int64 `json:"speedMbps,omitempty"`
// vendor
Vendor string `json:"vendor,omitempty"`
}
func (*Interface) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.
func (*Interface) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IoPerf ¶
type IoPerf struct {
// 99th percentile of fsync duration in milliseconds
SyncDuration int64 `json:"syncDuration,omitempty"`
}
func (*IoPerf) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IoPerf.
func (*IoPerf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogCollectionConfig ¶
type LogCollectionConfig struct {
// Kind is the type of log collection to be used
// +kubebuilder:validation:Enum=syslog
Kind string `json:"kind,omitempty"`
// +kubebuilder:default=12
// +kubebuilder:validation:Minimum=1
BufferSize int32 `json:"buffer_size,omitempty"`
// SyslogConfig is the pointer to the configMap to be used to load the config
SyslogConfig *NameRef `json:"syslog_config,omitempty"`
}
func (*LogCollectionConfig) DeepCopy ¶
func (in *LogCollectionConfig) DeepCopy() *LogCollectionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogCollectionConfig.
func (*LogCollectionConfig) DeepCopyInto ¶
func (in *LogCollectionConfig) DeepCopyInto(out *LogCollectionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Memory ¶
type Memory struct {
// physical bytes
PhysicalBytes int64 `json:"physicalBytes,omitempty"`
// usable bytes
UsableBytes int64 `json:"usableBytes,omitempty"`
}
func (*Memory) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory.
func (*Memory) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsConfigEntity ¶
type MetricsConfigEntity struct {
// Path to use when retrieving metrics
// +kubebuilder:default=/
Path string `json:"path,omitempty"`
// Port to use when retrieve the metrics
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=65535
Port int32 `json:"port,omitempty"`
Disabled bool `json:"disabled,omitempty"`
}
func (*MetricsConfigEntity) DeepCopy ¶
func (in *MetricsConfigEntity) DeepCopy() *MetricsConfigEntity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsConfigEntity.
func (*MetricsConfigEntity) DeepCopyInto ¶
func (in *MetricsConfigEntity) DeepCopyInto(out *MetricsConfigEntity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsConfiguration ¶
type MetricsConfiguration struct {
Retention *Retention `json:"retention,omitempty"`
SystemMetrics *SystemMetricsConfiguration `json:"system,omitempty"`
}
func (*MetricsConfiguration) DeepCopy ¶
func (in *MetricsConfiguration) DeepCopy() *MetricsConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsConfiguration.
func (*MetricsConfiguration) DeepCopyInto ¶
func (in *MetricsConfiguration) DeepCopyInto(out *MetricsConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameRef ¶
type NameRef struct {
Name string `json:"name"`
}
func (*NameRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameRef.
func (*NameRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OsInformation ¶
type OsInformation struct {
//Automatically upgrade the OS image
AutomaticallyUpgrade bool `json:"automaticallyUpgrade,omitempty"`
//CommitID carries information about commit of the OS Image
CommitID string `json:"commitID,omitempty"`
//HostedObjectsURL carries the URL of the hosted commits web server
HostedObjectsURL string `json:"hostedObjectsURL,omitempty"`
}
func (*OsInformation) DeepCopy ¶
func (in *OsInformation) DeepCopy() *OsInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OsInformation.
func (*OsInformation) DeepCopyInto ¶
func (in *OsInformation) DeepCopyInto(out *OsInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Pod ¶
func (*Pod) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.
func (*Pod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Retention ¶
type Retention struct {
// MaxMiB specifies how much disk space should be used for storing persisted metrics on the device
// +kubebuilder:validation:Minimum=0
MaxMiB int32 `json:"maxMiB,omitempty"`
// MaxHours specifies how long should persisted metrics be stored on the device disk
// +kubebuilder:validation:Minimum=0
MaxHours int32 `json:"maxHours,omitempty"`
}
func (*Retention) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retention.
func (*Retention) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct {
// The destination network or destination host
Destination string `json:"destination,omitempty"`
// Defines whether this is an IPv4 (4) or IPv6 route (6)
Family int32 `json:"family,omitempty"`
// Gateway address where the packets are sent
Gateway string `json:"gateway,omitempty"`
// Interface to which packets for this route will be sent
Interface string `json:"interface,omitempty"`
}
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3Storage ¶
type S3Storage struct {
// secret name
SecretName string `json:"secretName,omitempty"`
// configMap name
ConfigMapName string `json:"configMapName,omitempty"`
// createOBC. if the configuration above is empty and this bool is true then create OBC
CreateOBC bool `json:"createOBC,omitempty"`
}
func (*S3Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Storage.
func (*S3Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3StorageConfiguration ¶
type S3StorageConfiguration struct {
BucketHost string `json:"bucketHost,omitempty"`
BucketPort int32 `json:"bucketPort,omitempty"`
BucketName string `json:"bucketName,omitempty"`
BucketRegion string `json:"bucketRegion,omitempty"`
AWSAccessKey string `json:"awsAccessKeyId,omitempty"`
AWSSecretAccessKey string `json:"awsSecretAccessKey,omitempty"`
}
func (*S3StorageConfiguration) DeepCopy ¶
func (in *S3StorageConfiguration) DeepCopy() *S3StorageConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageConfiguration.
func (*S3StorageConfiguration) DeepCopyInto ¶
func (in *S3StorageConfiguration) DeepCopyInto(out *S3StorageConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct {
S3 *S3Storage `json:"s3,omitempty"`
}
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageConfiguration ¶
type StorageConfiguration struct {
// s3 storage configuration
S3 *S3StorageConfiguration `json:"s3,omitempty"`
}
func (*StorageConfiguration) DeepCopy ¶
func (in *StorageConfiguration) DeepCopy() *StorageConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfiguration.
func (*StorageConfiguration) DeepCopyInto ¶
func (in *StorageConfiguration) DeepCopyInto(out *StorageConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemMetricsConfiguration ¶
type SystemMetricsConfiguration struct {
// Interval(in seconds) to scrape system metrics.
// +kubebuilder:validation:Minimum=0
// +kubebuilder:default=60
Interval int32 `json:"interval,omitempty"`
// AllowList defines name of a ConfigMap containing
// list of system metrics that should be scraped
AllowList *NameRef `json:"allowList,omitempty"`
// Disabled when set to true instructs the device to turn off system metrics collection
Disabled bool `json:"disabled,omitempty"`
}
func (*SystemMetricsConfiguration) DeepCopy ¶
func (in *SystemMetricsConfiguration) DeepCopy() *SystemMetricsConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemMetricsConfiguration.
func (*SystemMetricsConfiguration) DeepCopyInto ¶
func (in *SystemMetricsConfiguration) DeepCopyInto(out *SystemMetricsConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemVendor ¶
type SystemVendor struct {
// manufacturer
Manufacturer string `json:"manufacturer,omitempty"`
// product name
ProductName string `json:"productName,omitempty"`
// serial number
SerialNumber string `json:"serialNumber,omitempty"`
// Whether the machine appears to be a virtual machine or not
Virtual bool `json:"virtual,omitempty"`
}
func (*SystemVendor) DeepCopy ¶
func (in *SystemVendor) DeepCopy() *SystemVendor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemVendor.
func (*SystemVendor) DeepCopyInto ¶
func (in *SystemVendor) DeepCopyInto(out *SystemVendor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeInformation ¶
type UpgradeInformation struct {
// Current commit
CurrentCommitID string `json:"currentCommitID"`
// last upgrade status
LastUpgradeStatus string `json:"lastUpgradeStatus,omitempty"`
// last upgrade time
LastUpgradeTime string `json:"lastUpgradeTime,omitempty"`
}
func (*UpgradeInformation) DeepCopy ¶
func (in *UpgradeInformation) DeepCopy() *UpgradeInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeInformation.
func (*UpgradeInformation) DeepCopyInto ¶
func (in *UpgradeInformation) DeepCopyInto(out *UpgradeInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.