Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the fleet v1alpha1 API group +kubebuilder:object:generate=true +groupName=fleet.roboscale.io
Index ¶
- Variables
- type AttachedRobot
- type DiscoveryServerInstanceStatus
- type Fleet
- func (in *Fleet) DeepCopy() *Fleet
- func (in *Fleet) DeepCopyInto(out *Fleet)
- func (in *Fleet) DeepCopyObject() runtime.Object
- func (r *Fleet) Default()
- func (fleet *Fleet) GetDiscoveryServerMetadata() *types.NamespacedName
- func (fleet *Fleet) GetNamespaceMetadata() *types.NamespacedName
- func (r *Fleet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Fleet) ValidateCreate() error
- func (r *Fleet) ValidateDelete() error
- func (r *Fleet) ValidateUpdate(old runtime.Object) error
- type FleetCompatibilityStatus
- type FleetList
- type FleetPhase
- type FleetSpec
- type FleetStatus
- type NamespaceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "fleet.roboscale.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 AttachedRobot ¶
type AttachedRobot struct { Reference corev1.ObjectReference `json:"reference,omitempty"` Phase robotv1alpha1.RobotPhase `json:"phase,omitempty"` FleetCompatibility FleetCompatibilityStatus `json:"fleetCompatibility,omitempty"` }
func (*AttachedRobot) DeepCopy ¶
func (in *AttachedRobot) DeepCopy() *AttachedRobot
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedRobot.
func (*AttachedRobot) DeepCopyInto ¶
func (in *AttachedRobot) DeepCopyInto(out *AttachedRobot)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryServerInstanceStatus ¶
type DiscoveryServerInstanceStatus struct { Created bool `json:"created,omitempty"` Phase robotv1alpha1.DiscoveryServerPhase `json:"phase,omitempty"` }
func (*DiscoveryServerInstanceStatus) DeepCopy ¶
func (in *DiscoveryServerInstanceStatus) DeepCopy() *DiscoveryServerInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryServerInstanceStatus.
func (*DiscoveryServerInstanceStatus) DeepCopyInto ¶
func (in *DiscoveryServerInstanceStatus) DeepCopyInto(out *DiscoveryServerInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fleet ¶
type Fleet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FleetSpec `json:"spec,omitempty"` Status FleetStatus `json:"status,omitempty"` }
Fleet is the Schema for the fleets API
func (*Fleet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fleet.
func (*Fleet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fleet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Fleet) Default ¶
func (r *Fleet) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Fleet) GetDiscoveryServerMetadata ¶
func (fleet *Fleet) GetDiscoveryServerMetadata() *types.NamespacedName
func (*Fleet) GetNamespaceMetadata ¶
func (fleet *Fleet) GetNamespaceMetadata() *types.NamespacedName
func (*Fleet) SetupWebhookWithManager ¶
func (*Fleet) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Fleet) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FleetCompatibilityStatus ¶
type FleetCompatibilityStatus struct { IsCompatible bool `json:"isCompatible"` Reason string `json:"reason,omitempty"` }
func (*FleetCompatibilityStatus) DeepCopy ¶
func (in *FleetCompatibilityStatus) DeepCopy() *FleetCompatibilityStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetCompatibilityStatus.
func (*FleetCompatibilityStatus) DeepCopyInto ¶
func (in *FleetCompatibilityStatus) DeepCopyInto(out *FleetCompatibilityStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FleetList ¶
type FleetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fleet `json:"items"` }
FleetList contains a list of Fleet
func (*FleetList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetList.
func (*FleetList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FleetList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FleetPhase ¶
type FleetPhase string
const ( FleetPhaseCheckingRemoteNamespace FleetPhase = "CheckingRemoteNamespace" FleetPhaseCreatingNamespace FleetPhase = "CreatingNamespace" FleetPhaseCreatingDiscoveryServer FleetPhase = "CreatingDiscoveryServer" FleetPhaseReady FleetPhase = "Ready" )
type FleetSpec ¶
type FleetSpec struct { DiscoveryServerTemplate robotv1alpha1.DiscoveryServerSpec `json:"discoveryServerTemplate,omitempty"` Hybrid bool `json:"hybrid,omitempty"` Instances []string `json:"instances,omitempty"` }
FleetSpec defines the desired state of Fleet
func (*FleetSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetSpec.
func (*FleetSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FleetStatus ¶
type FleetStatus struct { Phase FleetPhase `json:"phase,omitempty"` NamespaceStatus NamespaceStatus `json:"namespaceStatus,omitempty"` DiscoveryServerStatus DiscoveryServerInstanceStatus `json:"discoveryServerStatus,omitempty"` // Attached launch object information AttachedRobots []AttachedRobot `json:"attachedRobots,omitempty"` }
FleetStatus defines the observed state of Fleet
func (*FleetStatus) DeepCopy ¶
func (in *FleetStatus) DeepCopy() *FleetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FleetStatus.
func (*FleetStatus) DeepCopyInto ¶
func (in *FleetStatus) DeepCopyInto(out *FleetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceStatus ¶
type NamespaceStatus struct { Created bool `json:"created,omitempty"` Federated bool `json:"federated,omitempty"` Ready bool `json:"ready,omitempty"` }
func (*NamespaceStatus) DeepCopy ¶
func (in *NamespaceStatus) DeepCopy() *NamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus.
func (*NamespaceStatus) DeepCopyInto ¶
func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.