Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package +groupName=management.project-flotta.io

Package v1alpha1 contains API Schema definitions for the management v1alpha1 API group +kubebuilder:object:generate=true +groupName=management.project-flotta.io

Index

Constants

View Source
const (
	EdgedeviceSetLabel = "flotta/member-of"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "management.project-flotta.io", Version: "v1alpha1"}

	SchemeGroupVersion = GroupVersion

	// 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

func Resource added in v0.1.0

func Resource(resource string) schema.GroupResource

Types

type AnsibleOptions added in v0.1.0

type AnsibleOptions struct {
	// don't make any changes; instead, try to predict some of the changes that may occur
	Check bool `json:"check,omitempty"`
}

func (*AnsibleOptions) DeepCopy added in v0.1.0

func (in *AnsibleOptions) DeepCopy() *AnsibleOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnsibleOptions.

func (*AnsibleOptions) DeepCopyInto added in v0.1.0

func (in *AnsibleOptions) DeepCopyInto(out *AnsibleOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Boot

type Boot struct {

	// current boot mode
	CurrentBootMode string `json:"currentBootMode,omitempty"`

	// pxe interface
	PxeInterface string `json:"pxeInterface,omitempty"`
}

func (*Boot) DeepCopy

func (in *Boot) DeepCopy() *Boot

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Boot.

func (*Boot) DeepCopyInto

func (in *Boot) DeepCopyInto(out *Boot)

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

func (in *CPU) DeepCopy() *CPU

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPU.

func (*CPU) DeepCopyInto

func (in *CPU) DeepCopyInto(out *CPU)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CapType added in v0.1.0

type CapType int8
const (
	CHOWN CapType = iota
	DAC_OVERRIDE
	DAC_READ_SEARCH
	FOWNER
	FSETID
	KILL
	SETGID
	SETUID
	SETPCAP
	LINUX_IMMUTABLE
	NET_BIND_SERVICE
	NET_BROADCAST
	NET_ADMIN
	NET_RAW
	IPC_LOCK
	IPC_OWNER
	SYS_MODULE
	SYS_RAWIO
	SYS_CHROOT
	SYS_PTRACE
	SYS_PACCT
	SYS_ADMIN
	SYS_BOOT
	SYS_NICE
	SYS_RESOURCE
	SYS_TIME
	SYS_TTY_CONFIG
	MKNOD
	LEASE
	AUDIT_WRITE
	AUDIT_CONTROL
	SETFCAP
	MAC_OVERRIDE
	MAC_ADMIN
	SYSLOG
	WAKE_ALARM
	BLOCK_SUSPEND
	AUDIT_READ
)

type ClockMhz

type ClockMhz float64

type ComponentMetricsConfiguration added in v0.2.0

type ComponentMetricsConfiguration 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 (*ComponentMetricsConfiguration) DeepCopy added in v0.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentMetricsConfiguration.

func (*ComponentMetricsConfiguration) DeepCopyInto added in v0.2.0

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetricsConfiguration.

func (*ContainerMetricsConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DataConfiguration

type DataConfiguration struct {
	Ingress []DataPath `json:"ingress,omitempty"`
	Egress  []DataPath `json:"egress,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

type DataPath struct {
	Source string `json:"source"`
	Target string `json:"target"`
}

func (*DataPath) DeepCopy

func (in *DataPath) DeepCopy() *DataPath

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataPath.

func (*DataPath) DeepCopyInto

func (in *DataPath) DeepCopyInto(out *DataPath)

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

func (in *Disk) DeepCopy() *Disk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Disk.

func (*Disk) DeepCopyInto

func (in *Disk) DeepCopyInto(out *Disk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeConfig added in v0.1.0

type EdgeConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeConfigSpec   `json:"spec,omitempty"`
	Status EdgeConfigStatus `json:"status,omitempty"`
}

EdgeConfig is the Schema for the edgeconfigs API

func (*EdgeConfig) DeepCopy added in v0.1.0

func (in *EdgeConfig) DeepCopy() *EdgeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeConfig.

func (*EdgeConfig) DeepCopyInto added in v0.1.0

func (in *EdgeConfig) DeepCopyInto(out *EdgeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeConfig) DeepCopyObject added in v0.1.0

func (in *EdgeConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeConfigList added in v0.1.0

type EdgeConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeConfig `json:"items"`
}

EdgeConfigList contains a list of EdgeConfig

func (*EdgeConfigList) DeepCopy added in v0.1.0

func (in *EdgeConfigList) DeepCopy() *EdgeConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeConfigList.

func (*EdgeConfigList) DeepCopyInto added in v0.1.0

func (in *EdgeConfigList) DeepCopyInto(out *EdgeConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeConfigList) DeepCopyObject added in v0.1.0

func (in *EdgeConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeConfigSpec added in v0.1.0

type EdgeConfigSpec struct {
	// Definition of the custom playbook workload to execute
	EdgePlaybook *EdgePlaybookSpec `json:"edgePlaybook,omitempty"`
}

EdgeConfigSpec defines the desired state of EdgeConfig

func (*EdgeConfigSpec) DeepCopy added in v0.1.0

func (in *EdgeConfigSpec) DeepCopy() *EdgeConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeConfigSpec.

func (*EdgeConfigSpec) DeepCopyInto added in v0.1.0

func (in *EdgeConfigSpec) DeepCopyInto(out *EdgeConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeConfigStatus added in v0.1.0

type EdgeConfigStatus struct {
	EdgePlaybookStatus *EdgePlaybookStatus `json:"edgePlaybookStatus,omitempty"`
}

EdgeConfigStatus defines the observed state of EdgeConfig

func (*EdgeConfigStatus) DeepCopy added in v0.1.0

func (in *EdgeConfigStatus) DeepCopy() *EdgeConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeConfigStatus.

func (*EdgeConfigStatus) DeepCopyInto added in v0.1.0

func (in *EdgeConfigStatus) DeepCopyInto(out *EdgeConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

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.

func (*EdgeDevice) SetupWebhookWithManager added in v0.2.0

func (r *EdgeDevice) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EdgeDevice) ValidateCreate added in v0.2.0

func (d *EdgeDevice) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EdgeDevice) ValidateDelete added in v0.2.0

func (_ *EdgeDevice) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EdgeDevice) ValidateUpdate added in v0.2.0

func (d *EdgeDevice) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

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 EdgeDeviceSet added in v0.1.0

type EdgeDeviceSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeDeviceSetSpec   `json:"spec,omitempty"`
	Status EdgeDeviceSetStatus `json:"status,omitempty"`
}

EdgeDeviceSet is the Schema for the edgedevicesets API

func (*EdgeDeviceSet) DeepCopy added in v0.1.0

func (in *EdgeDeviceSet) DeepCopy() *EdgeDeviceSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSet.

func (*EdgeDeviceSet) DeepCopyInto added in v0.1.0

func (in *EdgeDeviceSet) DeepCopyInto(out *EdgeDeviceSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeDeviceSet) DeepCopyObject added in v0.1.0

func (in *EdgeDeviceSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeDeviceSetList added in v0.1.0

type EdgeDeviceSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeDeviceSet `json:"items"`
}

EdgeDeviceSetList contains a list of EdgeDeviceSet

func (*EdgeDeviceSetList) DeepCopy added in v0.1.0

func (in *EdgeDeviceSetList) DeepCopy() *EdgeDeviceSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSetList.

func (*EdgeDeviceSetList) DeepCopyInto added in v0.1.0

func (in *EdgeDeviceSetList) DeepCopyInto(out *EdgeDeviceSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeDeviceSetList) DeepCopyObject added in v0.1.0

func (in *EdgeDeviceSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeDeviceSetSpec added in v0.1.0

type EdgeDeviceSetSpec struct {
	// Heartbeat contains heartbeat messages configuration
	Heartbeat *HeartbeatConfiguration `json:"heartbeat,omitempty"`
	// Storage contains data upload configuration
	Storage *Storage `json:"storage,omitempty"`
	// Metrics contain metric collection and upload configuration
	Metrics *MetricsConfiguration `json:"metrics,omitempty"`
	// LogCollection contains configuration for device log collection
	LogCollection map[string]*LogCollectionConfig `json:"logCollection,omitempty"`
	// OsInformation carries information about commit ID of the OS Image deployed to the device
	OsInformation *OsInformation `json:"osInformation,omitempty"`
	// Mounts contains mount configuration
	Mounts []*Mount `json:"mounts,omitempty"`
}

EdgeDeviceSetSpec defines the desired state of EdgeDeviceSet

func (*EdgeDeviceSetSpec) DeepCopy added in v0.1.0

func (in *EdgeDeviceSetSpec) DeepCopy() *EdgeDeviceSetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSetSpec.

func (*EdgeDeviceSetSpec) DeepCopyInto added in v0.1.0

func (in *EdgeDeviceSetSpec) DeepCopyInto(out *EdgeDeviceSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeDeviceSetStatus added in v0.1.0

type EdgeDeviceSetStatus struct{}

EdgeDeviceSetStatus defines the observed state of EdgeDeviceSet

func (*EdgeDeviceSetStatus) DeepCopy added in v0.1.0

func (in *EdgeDeviceSetStatus) DeepCopy() *EdgeDeviceSetStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSetStatus.

func (*EdgeDeviceSetStatus) DeepCopyInto added in v0.1.0

func (in *EdgeDeviceSetStatus) DeepCopyInto(out *EdgeDeviceSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeDeviceSignedRequest added in v0.1.0

type EdgeDeviceSignedRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeDeviceSignedRequestSpec   `json:"spec,omitempty"`
	Status EdgeDeviceSignedRequestStatus `json:"status,omitempty"`
}

EdgeDeviceSignedRequest is the Schema for the edgedevice enrolment options +kubebuilder:resource:singular="edgedevicesignedrequest",path="edgedevicesignedrequest",scope="Namespaced",shortName={edsr} +kubebuilder:printcolumn:JSONPath=".metadata.name",description="DeviceID",name="deviceid",type=string +kubebuilder:printcolumn:JSONPath=".spec.targetNamespace",description="Target Namespace to land",name="targetNamespace",type=string +kubebuilder:printcolumn:JSONPath=".spec.approved",description="Approved",name="Approved",type=string +kubebuilder:printcolumn:JSONPath=".status.phase",description="Status",name="Status",type=string +genclient

func (*EdgeDeviceSignedRequest) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSignedRequest.

func (*EdgeDeviceSignedRequest) DeepCopyInto added in v0.1.0

func (in *EdgeDeviceSignedRequest) DeepCopyInto(out *EdgeDeviceSignedRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeDeviceSignedRequest) DeepCopyObject added in v0.1.0

func (in *EdgeDeviceSignedRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeDeviceSignedRequestCondition added in v0.1.0

type EdgeDeviceSignedRequestCondition struct {
	// Type of status
	// +kubebuilder:validation:Enum=declined;approved;pending
	// +kubebuilder:default=pending
	Type EdgeDeviceSignedRequestStatusType `json:"type"`

	// Status of the condition, one of True, False, Unknown
	Status metav1.ConditionStatus `json:"status"`

	// A human-readable message indicating details about last transition
	// +kubebuilder:optional
	Message *string `json:"message,omitempty"`

	// The last time the condition transit from one status to another
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
}

func (*EdgeDeviceSignedRequestCondition) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSignedRequestCondition.

func (*EdgeDeviceSignedRequestCondition) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeDeviceSignedRequestList added in v0.1.0

type EdgeDeviceSignedRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeDeviceSignedRequest `json:"items"`
}

+kubebuilder:object:root=true EdgeDeviceSignedRequestList contains a list of EdgeDeviceSignedRequest

func (*EdgeDeviceSignedRequestList) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSignedRequestList.

func (*EdgeDeviceSignedRequestList) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeDeviceSignedRequestList) DeepCopyObject added in v0.1.0

func (in *EdgeDeviceSignedRequestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeDeviceSignedRequestSpec added in v0.1.0

type EdgeDeviceSignedRequestSpec struct {

	// TargetNamespace is the namespace where device will land
	TargetNamespace string `json:"targetNamespace"`

	// TargetSet is set that edgedevice will use.
	TargetSet string `json:"targetSet,omitempty"`

	// Approved is set to true if the device should be approved to register
	// +kubebuilder:default=false
	Approved bool `json:"approved,omitempty"`

	// Features lists features that the registering edge device has
	Features *Features `json:"features,omitempty"`
}

func (*EdgeDeviceSignedRequestSpec) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSignedRequestSpec.

func (*EdgeDeviceSignedRequestSpec) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeDeviceSignedRequestStatus added in v0.1.0

type EdgeDeviceSignedRequestStatus struct {
	Conditions []EdgeDeviceSignedRequestCondition `json:"conditions"`
}

func (*EdgeDeviceSignedRequestStatus) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeDeviceSignedRequestStatus.

func (*EdgeDeviceSignedRequestStatus) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeDeviceSignedRequestStatusType added in v0.1.0

type EdgeDeviceSignedRequestStatusType string
const (
	EdgeDeviceSignedRequestLabelName  = "edgedeviceSignedRequest"
	EdgeDeviceSignedRequestLabelValue = "true"

	EdgeDeviceSignedRequestStatusApproved EdgeDeviceSignedRequestStatusType = "approved"
	EdgeDeviceSignedRequestStatusPending  EdgeDeviceSignedRequestStatusType = "pending"
	EdgeDeviceSignedRequestStatusDeclined EdgeDeviceSignedRequestStatusType = "declined"
)

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:"logCollection,omitempty"`
	Mounts        []*Mount                        `json:"mounts,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"`
	LastSyncedResourceVersion string              `json:"lastSyncedResourceVersion,omitempty"`
	Hardware                  *Hardware           `json:"hardware,omitempty"`
	Workloads                 []Workload          `json:"workloads,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 EdgePlaybookCondition added in v0.1.0

type EdgePlaybookCondition struct {
	Type EdgePlaybookConditionType `json:"type" description:"type of EdgePlaybookCondition condition"`
	// Indicates whether that condition is applicable, with possible values "True", "False", or "Unknown"
	// The absence of a condition should be interpreted the same as Unknown
	Status metav1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`

	// +optional
	Reason *string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`
	// +optional
	Message *string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`
}

func (*EdgePlaybookCondition) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgePlaybookCondition.

func (*EdgePlaybookCondition) DeepCopyInto added in v0.1.0

func (in *EdgePlaybookCondition) DeepCopyInto(out *EdgePlaybookCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgePlaybookConditionType added in v0.1.0

type EdgePlaybookConditionType string
const (
	PlaybookDeploying EdgePlaybookConditionType = "Deploying"
	Completed         EdgePlaybookConditionType = "Completed"
)

type EdgePlaybookSpec added in v0.1.0

type EdgePlaybookSpec struct {
	// username who execute the playbook
	User string `json:"user,omitempty"`
	// The ansible's playbooks list. The first element is the playbook with the highest priority.
	// +kubebuilder:validation:MinItems=1
	Playbooks []Playbook `json:"playbooks,omitempty"`
}

EdgePlaybookSpec defines the desired state of EdgePlaybook

func (*EdgePlaybookSpec) DeepCopy added in v0.1.0

func (in *EdgePlaybookSpec) DeepCopy() *EdgePlaybookSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgePlaybookSpec.

func (*EdgePlaybookSpec) DeepCopyInto added in v0.1.0

func (in *EdgePlaybookSpec) DeepCopyInto(out *EdgePlaybookSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgePlaybookStatus added in v0.1.0

type EdgePlaybookStatus struct {
	Conditions []EdgePlaybookCondition `json:"conditions,omitempty"`
}

EdgePlaybookStatus defines the observed state of EdgePlaybook

func (*EdgePlaybookStatus) DeepCopy added in v0.1.0

func (in *EdgePlaybookStatus) DeepCopy() *EdgePlaybookStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgePlaybookStatus.

func (*EdgePlaybookStatus) DeepCopyInto added in v0.1.0

func (in *EdgePlaybookStatus) DeepCopyInto(out *EdgePlaybookStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeWorkload added in v0.1.0

type EdgeWorkload struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeWorkloadSpec   `json:"spec,omitempty"`
	Status EdgeWorkloadStatus `json:"status,omitempty"`
}

EdgeWorkload is the Schema for the EdgeWorkloads API

func (*EdgeWorkload) DeepCopy added in v0.1.0

func (in *EdgeWorkload) DeepCopy() *EdgeWorkload

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWorkload.

func (*EdgeWorkload) DeepCopyInto added in v0.1.0

func (in *EdgeWorkload) DeepCopyInto(out *EdgeWorkload)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeWorkload) DeepCopyObject added in v0.1.0

func (in *EdgeWorkload) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*EdgeWorkload) SetupWebhookWithManager added in v0.1.0

func (r *EdgeWorkload) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*EdgeWorkload) ValidateCreate added in v0.1.0

func (r *EdgeWorkload) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*EdgeWorkload) ValidateDelete added in v0.1.0

func (r *EdgeWorkload) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*EdgeWorkload) ValidateUpdate added in v0.1.0

func (r *EdgeWorkload) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type EdgeWorkloadList added in v0.1.0

type EdgeWorkloadList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeWorkload `json:"items"`
}

EdgeWorkloadList contains a list of EdgeWorkload

func (*EdgeWorkloadList) DeepCopy added in v0.1.0

func (in *EdgeWorkloadList) DeepCopy() *EdgeWorkloadList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWorkloadList.

func (*EdgeWorkloadList) DeepCopyInto added in v0.1.0

func (in *EdgeWorkloadList) DeepCopyInto(out *EdgeWorkloadList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EdgeWorkloadList) DeepCopyObject added in v0.1.0

func (in *EdgeWorkloadList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EdgeWorkloadPhase added in v0.1.0

type EdgeWorkloadPhase string
const (
	Deploying EdgeWorkloadPhase = "Deploying"
	Running   EdgeWorkloadPhase = "Running"
	Exited    EdgeWorkloadPhase = "Exited"
)

type EdgeWorkloadSpec added in v0.1.0

type EdgeWorkloadSpec struct {
	DeviceSelector  *metav1.LabelSelector          `json:"deviceSelector,omitempty"`
	Device          string                         `json:"device,omitempty"`
	Type            EdgeWorkloadType               `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:"logCollection,omitempty"`
}

EdgeWorkloadSpec defines the desired state of EdgeWorkload

func (*EdgeWorkloadSpec) DeepCopy added in v0.1.0

func (in *EdgeWorkloadSpec) DeepCopy() *EdgeWorkloadSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWorkloadSpec.

func (*EdgeWorkloadSpec) DeepCopyInto added in v0.1.0

func (in *EdgeWorkloadSpec) DeepCopyInto(out *EdgeWorkloadSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeWorkloadStatus added in v0.1.0

type EdgeWorkloadStatus struct {
}

EdgeWorkloadStatus defines the observed state of EdgeWorkload

func (*EdgeWorkloadStatus) DeepCopy added in v0.1.0

func (in *EdgeWorkloadStatus) DeepCopy() *EdgeWorkloadStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EdgeWorkloadStatus.

func (*EdgeWorkloadStatus) DeepCopyInto added in v0.1.0

func (in *EdgeWorkloadStatus) DeepCopyInto(out *EdgeWorkloadStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EdgeWorkloadType added in v0.1.0

type EdgeWorkloadType string
const (
	PodWorkloadType EdgeWorkloadType = "pod"
)

type ExecutionStrategy added in v0.1.0

type ExecutionStrategy string
const (
	StopAtFailuire ExecutionStrategy = "StopOnFailure"
	RetryOnFailure ExecutionStrategy = "RetryOnFailure"
	Once           ExecutionStrategy = "ExecuteOnce"
)

type Features added in v0.1.0

type Features struct {
	// ModelName is the model name from the OS.
	// The output of:
	// cat /sys/firmware/devicetree/base/model
	ModelName string `json:"modelName,omitempty"`

	// Hardware defines the hardware that devices has
	Hardware *Hardware `json:"hardware,omitempty"`
}

func (*Features) DeepCopy added in v0.1.0

func (in *Features) DeepCopy() *Features

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.

func (*Features) DeepCopyInto added in v0.1.0

func (in *Features) DeepCopyInto(out *Features)

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

func (in *Gpu) DeepCopy() *Gpu

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gpu.

func (*Gpu) DeepCopyInto

func (in *Gpu) DeepCopyInto(out *Gpu)

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"`

	// list of devices present on the edgedevice
	HostDevices []*HostDevice `json:"hostDevices,omitempty"`

	// list of all mounts found on edgedevice
	Mounts []*Mount `json:"mounts,omitempty"`
}

func (*Hardware) DeepCopy

func (in *Hardware) DeepCopy() *Hardware

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hardware.

func (*Hardware) DeepCopyInto

func (in *Hardware) DeepCopyInto(out *Hardware)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HardwareProfileConfiguration.

func (*HardwareProfileConfiguration) DeepCopyInto

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
	// +kubebuilder:validation:Minimum=1
	PeriodSeconds int64 `json:"periodSeconds,omitempty"`
}

func (*HeartbeatConfiguration) DeepCopy

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 HostDevice added in v0.2.0

type HostDevice struct {

	// path of the device (i.e. /dev/loop)
	Path string `json:"path,omitempty"`

	// Device type block or character
	DeviceType string `json:"deviceType,omitempty"`

	// owner id
	UID uint32 `json:"owner,omitempty"`

	// group id
	GID uint32 `json:"group,omitempty"`

	// Major ID identifying the class of the device
	Major uint32 `json:"major,omitempty"`

	// Minor ID identifying the instance of the device in the class
	Minor uint32 `json:"minor,omitempty"`
}

func (*HostDevice) DeepCopy added in v0.2.0

func (in *HostDevice) DeepCopy() *HostDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostDevice.

func (*HostDevice) DeepCopyInto added in v0.2.0

func (in *HostDevice) DeepCopyInto(out *HostDevice)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageRegistriesConfiguration.

func (*ImageRegistriesConfiguration) DeepCopyInto

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

func (in *Interface) DeepCopy() *Interface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Interface.

func (*Interface) DeepCopyInto

func (in *Interface) DeepCopyInto(out *Interface)

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

func (in *IoPerf) DeepCopy() *IoPerf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IoPerf.

func (*IoPerf) DeepCopyInto

func (in *IoPerf) DeepCopyInto(out *IoPerf)

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:"bufferSize,omitempty"`

	// SyslogConfig is the pointer to the configMap to be used to load the config
	SyslogConfig *NameRef `json:"syslogConfig,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

func (in *Memory) DeepCopy() *Memory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Memory.

func (*Memory) DeepCopyInto

func (in *Memory) DeepCopyInto(out *Memory)

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         *ComponentMetricsConfiguration `json:"system,omitempty"`
	DataTransferMetrics   *ComponentMetricsConfiguration `json:"dataTransfer,omitempty"`
	ReceiverConfiguration *MetricsReceiverConfiguration  `json:"receiverConfiguration,omitempty"`
}

func (*MetricsConfiguration) DeepCopy

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 MetricsReceiverConfiguration added in v0.1.0

type MetricsReceiverConfiguration struct {
	RequestNumSamples int64  `json:"requestNumSamples,omitempty"`
	TimeoutSeconds    int64  `json:"timeoutSeconds,omitempty"`
	URL               string `json:"url,omitempty"`
	CaSecretName      string `json:"caSecretName,omitempty"`
}

func (*MetricsReceiverConfiguration) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsReceiverConfiguration.

func (*MetricsReceiverConfiguration) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Mount added in v0.2.0

type Mount struct {
	// Device path to be mounted
	Device string `json:"device,omitempty"`

	// Destination directory path
	Directory string `json:"folder,omitempty"`

	// Mount type: (i.e ext4)
	Type string `json:"type,omitempty"`

	// Mount options (i.e. rw, suid, dev)
	Options string `json:"options,omitempty"`
}

func (*Mount) DeepCopy added in v0.2.0

func (in *Mount) DeepCopy() *Mount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mount.

func (*Mount) DeepCopyInto added in v0.2.0

func (in *Mount) DeepCopyInto(out *Mount)

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

func (in *NameRef) DeepCopy() *NameRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameRef.

func (*NameRef) DeepCopyInto

func (in *NameRef) DeepCopyInto(out *NameRef)

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 Playbook added in v0.1.0

type Playbook struct {
	// Playbook content
	Content []byte `json:"content"`
	// The connection timeout on ansible-playbook
	// +kubernetes:validation:Minimum=0
	TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"`
	// The required privelege level necessary to execute the playbook
	RequiredPrivilegeLevel *RequiredPrivilegeLevel `json:"requiredPrivilegeLevel,omitempty"`
	// the ansible's playbook options for the playbook
	Options *AnsibleOptions `json:"ansibleOptions,omitempty"`
	// the ansible's playbook privilege escalation options for the playbook
	PrivilegeEscalationOptions *PrivilegeEscalationOptions `json:"privilegeEscalationOptions,omitempty"`
	//Execution strategy for the playbook
	ExecutionStrategy ExecutionStrategy `json:"executionStrategy,omitempty"`
}

func (*Playbook) DeepCopy added in v0.1.0

func (in *Playbook) DeepCopy() *Playbook

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Playbook.

func (*Playbook) DeepCopyInto added in v0.1.0

func (in *Playbook) DeepCopyInto(out *Playbook)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlaybookExecution added in v0.1.0

type PlaybookExecution struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PlaybookExecutionSpec   `json:"spec,omitempty"`
	Status PlaybookExecutionStatus `json:"status,omitempty"`
}

PlaybookExecution is the Schema for the playbookexecutions API

func (*PlaybookExecution) DeepCopy added in v0.1.0

func (in *PlaybookExecution) DeepCopy() *PlaybookExecution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaybookExecution.

func (*PlaybookExecution) DeepCopyInto added in v0.1.0

func (in *PlaybookExecution) DeepCopyInto(out *PlaybookExecution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlaybookExecution) DeepCopyObject added in v0.1.0

func (in *PlaybookExecution) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlaybookExecutionCondition added in v0.1.0

type PlaybookExecutionCondition struct {
	Type PlaybookExecutionConditionType `json:"type" description:"type of PlaybookExecutionCondition condition"`
	// Indicates whether that condition is applicable, with possible values "True", "False", or "Unknown"
	// The absence of a condition should be interpreted the same as Unknown
	Status metav1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`

	// +optional
	Reason *string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`
	// +optional
	Message *string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
	// +optional
	LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`
}

func (*PlaybookExecutionCondition) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaybookExecutionCondition.

func (*PlaybookExecutionCondition) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlaybookExecutionConditionType added in v0.1.0

type PlaybookExecutionConditionType string
const (
	PlaybookExecutionDeploying             PlaybookExecutionConditionType = "Deploying"
	PlaybookExecutionTargetVerification    PlaybookExecutionConditionType = "TargetVerification"
	PlaybookExecutionRunning               PlaybookExecutionConditionType = "Running"
	PlaybookExecutionSuccessfullyCompleted PlaybookExecutionConditionType = "SuccessfullyCompleted"
	PlaybookExecutionCompletedWithError    PlaybookExecutionConditionType = "CompletedWithError"
)

type PlaybookExecutionList added in v0.1.0

type PlaybookExecutionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PlaybookExecution `json:"items"`
}

PlaybookExecutionList contains a list of PlaybookExecution

func (*PlaybookExecutionList) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaybookExecutionList.

func (*PlaybookExecutionList) DeepCopyInto added in v0.1.0

func (in *PlaybookExecutionList) DeepCopyInto(out *PlaybookExecutionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlaybookExecutionList) DeepCopyObject added in v0.1.0

func (in *PlaybookExecutionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlaybookExecutionSpec added in v0.1.0

type PlaybookExecutionSpec struct {
	Playbook Playbook `json:"playbook,omitempty"`
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Default=0
	ExecutionAttempt uint8 `json:"executionAttempt,omitempty" description:"the number of times the playbook has been executed" default:"0"`
}

PlaybookExecutionSpec defines the desired state of PlaybookExecution

func (*PlaybookExecutionSpec) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaybookExecutionSpec.

func (*PlaybookExecutionSpec) DeepCopyInto added in v0.1.0

func (in *PlaybookExecutionSpec) DeepCopyInto(out *PlaybookExecutionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlaybookExecutionStatus added in v0.1.0

type PlaybookExecutionStatus struct {
	Conditions []PlaybookExecutionCondition `json:"conditions,omitempty"`
}

PlaybookExecutionStatus defines the observed state of PlaybookExecution

func (*PlaybookExecutionStatus) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaybookExecutionStatus.

func (*PlaybookExecutionStatus) DeepCopyInto added in v0.1.0

func (in *PlaybookExecutionStatus) DeepCopyInto(out *PlaybookExecutionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Pod

type Pod struct {
	Spec v1.PodSpec `json:"spec"`
}

func (*Pod) DeepCopy

func (in *Pod) DeepCopy() *Pod

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod.

func (*Pod) DeepCopyInto

func (in *Pod) DeepCopyInto(out *Pod)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PrivilegeEscalationOptions added in v0.1.0

type PrivilegeEscalationOptions struct {
	Become bool `json:"become,omitempty"`
	// +kubebuilder:validation:Enum=sudo;su
	// +kubebuilder:validation:default=sudo
	BecomeMethod string `json:"becomeMethod,omitempty"`
	BecomeUser   string `json:"becomeUser,omitempty"`
}

func (*PrivilegeEscalationOptions) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegeEscalationOptions.

func (*PrivilegeEscalationOptions) DeepCopyInto added in v0.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RequiredPrivilegeLevel added in v0.1.0

type RequiredPrivilegeLevel struct {
	// See https://man7.org/linux/man-pages/man7/capabilities.7.html
	CapAdd  []CapType `json:"capAdd,omitempty" description:"Capabilities to add"`
	CapDrop []CapType `json:"capDrop,omitempty" description:"Capabilities to drop"`
}

func (*RequiredPrivilegeLevel) DeepCopy added in v0.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequiredPrivilegeLevel.

func (*RequiredPrivilegeLevel) DeepCopyInto added in v0.1.0

func (in *RequiredPrivilegeLevel) DeepCopyInto(out *RequiredPrivilegeLevel)

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

func (in *Retention) DeepCopy() *Retention

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retention.

func (*Retention) DeepCopyInto

func (in *Retention) DeepCopyInto(out *Retention)

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

func (in *Route) DeepCopy() *Route

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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

func (in *S3Storage) DeepCopy() *S3Storage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Storage.

func (*S3Storage) DeepCopyInto

func (in *S3Storage) DeepCopyInto(out *S3Storage)

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

func (in *Storage) DeepCopy() *Storage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.

func (*Storage) DeepCopyInto

func (in *Storage) DeepCopyInto(out *Storage)

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.

type Workload added in v0.1.0

type Workload struct {
	Name               string            `json:"name"`
	Phase              EdgeWorkloadPhase `json:"phase,omitempty"`
	LastTransitionTime metav1.Time       `json:"lastTransitionTime,omitempty"`
	LastDataUpload     metav1.Time       `json:"lastDataUpload,omitempty"`
}

func (*Workload) DeepCopy added in v0.1.0

func (in *Workload) DeepCopy() *Workload

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.

func (*Workload) DeepCopyInto added in v0.1.0

func (in *Workload) DeepCopyInto(out *Workload)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL