Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the advertisement v1alpha1 API group +kubebuilder:object:generate=true +groupName=advertisement.fluidos.eu
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "advertisement.fluidos.eu", 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 Discovery ¶
type Discovery struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DiscoverySpec `json:"spec,omitempty"` Status DiscoveryStatus `json:"status,omitempty"` }
Discovery is the Schema for the discoveries API. +kubebuilder:printcolumn:name="Solver ID",type=string,JSONPath=`.spec.solverID` +kubebuilder:printcolumn:name="Subscribe",type=boolean,JSONPath=`.spec.subscribe` +kubebuilder:printcolumn:name="PC Namespace",type=string,JSONPath=`.status.peeringCandidate.namespace` +kubebuilder:printcolumn:name="PC Name",type=string,JSONPath=`.status.peeringCandidate.name` +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.phase.phase` +kubebuilder:printcolumn:name="Message",type=string,JSONPath=`.status.phase.message` +kubebuilder:resource:shortName=dis
func (*Discovery) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Discovery.
func (*Discovery) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Discovery) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoveryList ¶
type DiscoveryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Discovery `json:"items"` }
DiscoveryList contains a list of Discovery.
func (*DiscoveryList) DeepCopy ¶
func (in *DiscoveryList) DeepCopy() *DiscoveryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryList.
func (*DiscoveryList) DeepCopyInto ¶
func (in *DiscoveryList) DeepCopyInto(out *DiscoveryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DiscoveryList) DeepCopyObject ¶
func (in *DiscoveryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DiscoverySpec ¶
type DiscoverySpec struct { // This is the Solver ID of the solver that creates and so asks for the discovery. // This is a reference to the Solver CRD SolverID string `json:"solverID"` // This is the FlavourSelector that describes the characteristics of the intent that the solver is looking to satisfy // This pattern corresponds to what has been defined in the REAR Protocol to do a discovery with a selector Selector *nodecorev1alpha1.Selector `json:"selector,omitempty"` // This flag indicates that needs to be established a subscription to the provider in case a match is found. // In order to have periodic updates of the status of the matching Flavor Subscribe bool `json:"subscribe"` }
DiscoverySpec defines the desired state of Discovery.
func (*DiscoverySpec) DeepCopy ¶
func (in *DiscoverySpec) DeepCopy() *DiscoverySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoverySpec.
func (*DiscoverySpec) DeepCopyInto ¶
func (in *DiscoverySpec) DeepCopyInto(out *DiscoverySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DiscoveryStatus ¶
type DiscoveryStatus struct { // This is the current phase of the discovery Phase nodecorev1alpha1.PhaseStatus `json:"phase"` // This is a list of the PeeringCandidates that have been found as a result of the discovery matching the solver PeeringCandidateList PeeringCandidateList `json:"peeringCandidateList,omitempty"` }
DiscoveryStatus defines the observed state of Discovery.
func (*DiscoveryStatus) DeepCopy ¶
func (in *DiscoveryStatus) DeepCopy() *DiscoveryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryStatus.
func (*DiscoveryStatus) DeepCopyInto ¶
func (in *DiscoveryStatus) DeepCopyInto(out *DiscoveryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringCandidate ¶
type PeeringCandidate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PeeringCandidateSpec `json:"spec,omitempty"` Status PeeringCandidateStatus `json:"status,omitempty"` }
PeeringCandidate is the Schema for the peeringcandidates API.
func (*PeeringCandidate) DeepCopy ¶
func (in *PeeringCandidate) DeepCopy() *PeeringCandidate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringCandidate.
func (*PeeringCandidate) DeepCopyInto ¶
func (in *PeeringCandidate) DeepCopyInto(out *PeeringCandidate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeeringCandidate) DeepCopyObject ¶
func (in *PeeringCandidate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeeringCandidateList ¶
type PeeringCandidateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PeeringCandidate `json:"items"` }
PeeringCandidateList contains a list of PeeringCandidate.
func (*PeeringCandidateList) DeepCopy ¶
func (in *PeeringCandidateList) DeepCopy() *PeeringCandidateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringCandidateList.
func (*PeeringCandidateList) DeepCopyInto ¶
func (in *PeeringCandidateList) DeepCopyInto(out *PeeringCandidateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeeringCandidateList) DeepCopyObject ¶
func (in *PeeringCandidateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeeringCandidateSpec ¶
type PeeringCandidateSpec struct { InterestedSolverIDs []string `json:"interestedSolverIDs"` Flavor nodecorev1alpha1.Flavor `json:"flavor"` Available bool `json:"available"` }
PeeringCandidateSpec defines the desired state of PeeringCandidate.
func (*PeeringCandidateSpec) DeepCopy ¶
func (in *PeeringCandidateSpec) DeepCopy() *PeeringCandidateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringCandidateSpec.
func (*PeeringCandidateSpec) DeepCopyInto ¶
func (in *PeeringCandidateSpec) DeepCopyInto(out *PeeringCandidateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringCandidateStatus ¶
type PeeringCandidateStatus struct { // This field represents the creation time of the PeeringCandidate. CreationTime string `json:"creationTime"` // This field represents the last update time of the PeeringCandidate. LastUpdateTime string `json:"lastUpdateTime"` }
PeeringCandidateStatus defines the observed state of PeeringCandidate.
func (*PeeringCandidateStatus) DeepCopy ¶
func (in *PeeringCandidateStatus) DeepCopy() *PeeringCandidateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringCandidateStatus.
func (*PeeringCandidateStatus) DeepCopyInto ¶
func (in *PeeringCandidateStatus) DeepCopyInto(out *PeeringCandidateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.