v1beta1

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

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the radio v1beta1 API group +kubebuilder:object:generate=true +groupName=radio.frelon.se

Index

Constants

View Source
const (
	PodFailedReason = "PodFailed"
	ReadyCondition  = "Ready"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "radio.frelon.se", Version: "v1beta1"}

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

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

	Spec   RtlSdrReceiverSpec   `json:"spec,omitempty"`
	Status RtlSdrReceiverStatus `json:"status,omitempty"`
}

RtlSdrReceiver is the Schema for the rtlsdrreceivers API

func (*RtlSdrReceiver) DeepCopy

func (in *RtlSdrReceiver) DeepCopy() *RtlSdrReceiver

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

func (*RtlSdrReceiver) DeepCopyInto

func (in *RtlSdrReceiver) DeepCopyInto(out *RtlSdrReceiver)

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

func (*RtlSdrReceiver) DeepCopyObject

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

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

type RtlSdrReceiverList

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

RtlSdrReceiverList contains a list of RtlSdrReceiver

func (*RtlSdrReceiverList) DeepCopy

func (in *RtlSdrReceiverList) DeepCopy() *RtlSdrReceiverList

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

func (*RtlSdrReceiverList) DeepCopyInto

func (in *RtlSdrReceiverList) DeepCopyInto(out *RtlSdrReceiverList)

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

func (*RtlSdrReceiverList) DeepCopyObject

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

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

type RtlSdrReceiverSpec

type RtlSdrReceiverSpec struct {
	// +kubebuilder:validation:Default=v4
	Version RtlSdrVersion `json:"version"`

	// Frequency is the radio frequency to tune the receiver to.
	// +kubebuilder:example="101.9M"
	// +optional
	Frequency *resource.Quantity `json:"frequency"`

	// ContainerPort contains the port settings for the Pod.
	// +optional
	ContainerPort *corev1.ContainerPort `json:"port"`
}

RtlSdrReceiverSpec defines the desired state of RtlSdrReceiver

func (*RtlSdrReceiverSpec) DeepCopy

func (in *RtlSdrReceiverSpec) DeepCopy() *RtlSdrReceiverSpec

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

func (*RtlSdrReceiverSpec) DeepCopyInto

func (in *RtlSdrReceiverSpec) DeepCopyInto(out *RtlSdrReceiverSpec)

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

type RtlSdrReceiverState

type RtlSdrReceiverState string

+kubebuilder:validation:Enum=Waiting;Running;Failed

const (
	StateWaiting RtlSdrReceiverState = "Waiting"
	StateRunning RtlSdrReceiverState = "Running"
	StateFailed  RtlSdrReceiverState = "Failed"
)

type RtlSdrReceiverStatus

type RtlSdrReceiverStatus struct {
	// Conditions describe the state of the receiver.
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`

	// State describes the current state of the receiver.
	// +optional
	State RtlSdrReceiverState `json:"state"`

	// Pod is a reference to the underlying pod.
	// +optional
	Pod *corev1.ObjectReference `json:"pod,omitempty"`
}

RtlSdrReceiverStatus defines the observed state of RtlSdrReceiver

func (*RtlSdrReceiverStatus) DeepCopy

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

func (*RtlSdrReceiverStatus) DeepCopyInto

func (in *RtlSdrReceiverStatus) DeepCopyInto(out *RtlSdrReceiverStatus)

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

type RtlSdrVersion

type RtlSdrVersion string

+kubebuilder:validation:Enum=v3;v4

const (
	V3 RtlSdrVersion = "v3"
	V4 RtlSdrVersion = "v4"
)

Jump to

Keyboard shortcuts

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