Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type FADataFlow
- type FADataFlowList
- type FADataFlowSpec
- type FADataFlowStatus
- type FALink
- type FALinkList
- type FALinkSpec
- type FALinkStatus
- type FAPlacement
- type FAPlacementList
- type FAPlacementSpec
- type FAPlacementStatus
- type FARegion
- type FARegionList
- type FARegionSpec
- type FARegionStatus
- type FAReplicaScores
- type FAScore
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Exported variables
var SchemeGroupVersion = schema.GroupVersion{Group: "fogatlas.fbk.eu", Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type FADataFlow ¶ added in v1.3.0
type FADataFlow struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FADataFlowSpec `json:"spec"` // Currently Status is not used currently Status FADataFlowStatus `json:"status,omitempty"` }
FADataFlow represent a data flow that is a walk in the application graph +kubebuilder:subresource:status
func (*FADataFlow) DeepCopy ¶ added in v1.3.0
func (in *FADataFlow) DeepCopy() *FADataFlow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADataFlow.
func (*FADataFlow) DeepCopyInto ¶ added in v1.3.0
func (in *FADataFlow) DeepCopyInto(out *FADataFlow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FADataFlow) DeepCopyObject ¶ added in v1.3.0
func (in *FADataFlow) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FADataFlowList ¶ added in v1.3.0
type FADataFlowList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FADataFlow `json:"items"` }
FADataFlowList is a list of FADepl resources
func (*FADataFlowList) DeepCopy ¶ added in v1.3.0
func (in *FADataFlowList) DeepCopy() *FADataFlowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADataFlowList.
func (*FADataFlowList) DeepCopyInto ¶ added in v1.3.0
func (in *FADataFlowList) DeepCopyInto(out *FADataFlowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FADataFlowList) DeepCopyObject ¶ added in v1.3.0
func (in *FADataFlowList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FADataFlowSpec ¶ added in v1.3.0
type FADataFlowSpec struct { Throughput resource.Quantity `json:"throughput"` Latency resource.Quantity `json:"latency"` Vertices []string `json:"vertices"` }
FAPlacementSpec is the spec for a FAPlacement resource
func (*FADataFlowSpec) DeepCopy ¶ added in v1.3.0
func (in *FADataFlowSpec) DeepCopy() *FADataFlowSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADataFlowSpec.
func (*FADataFlowSpec) DeepCopyInto ¶ added in v1.3.0
func (in *FADataFlowSpec) DeepCopyInto(out *FADataFlowSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FADataFlowStatus ¶ added in v1.3.0
type FADataFlowStatus struct {
CurrentStatus int32 `json:"currentStatus"`
}
FAPlacementStatus is the status for a FAPlacement resource
func (*FADataFlowStatus) DeepCopy ¶ added in v1.3.0
func (in *FADataFlowStatus) DeepCopy() *FADataFlowStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADataFlowStatus.
func (*FADataFlowStatus) DeepCopyInto ¶ added in v1.3.0
func (in *FADataFlowStatus) DeepCopyInto(out *FADataFlowStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FALink ¶
type FALink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FALinkSpec `json:"spec"` Status FALinkStatus `json:"status,omitempty"` }
FALink is a specification for a FALink resource +kubebuilder:subresource:status
func (*FALink) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FALink.
func (*FALink) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FALink) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FALinkList ¶
type FALinkList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FALink `json:"items"` }
FALinkList is a list of FALink resources
func (*FALinkList) DeepCopy ¶
func (in *FALinkList) DeepCopy() *FALinkList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FALinkList.
func (*FALinkList) DeepCopyInto ¶
func (in *FALinkList) DeepCopyInto(out *FALinkList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FALinkList) DeepCopyObject ¶
func (in *FALinkList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FALinkSpec ¶
type FALinkSpec struct { ID string `json:"id"` EndpointA string `json:"endpointa"` EndpointB string `json:"endpointb"` Bandwidth resource.Quantity `json:"bandwidth"` // in milliseconds Latency resource.Quantity `json:"latency"` }
FALinkSpec is the spec for a FALink resource
func (*FALinkSpec) DeepCopy ¶
func (in *FALinkSpec) DeepCopy() *FALinkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FALinkSpec.
func (*FALinkSpec) DeepCopyInto ¶
func (in *FALinkSpec) DeepCopyInto(out *FALinkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FALinkStatus ¶
type FALinkStatus struct {
CurrentStatus int32 `json:"currentstatus"`
}
FALinkStatus is the status for a FALink resource
func (*FALinkStatus) DeepCopy ¶
func (in *FALinkStatus) DeepCopy() *FALinkStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FALinkStatus.
func (*FALinkStatus) DeepCopyInto ¶
func (in *FALinkStatus) DeepCopyInto(out *FALinkStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAPlacement ¶
type FAPlacement struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FAPlacementSpec `json:"spec"` // PlacementStatus is not used currently Status FAPlacementStatus `json:"status,omitempty"` }
FAPlacement maps microservices on nodes. Given a microservice, we have a node score list for each replica. Cardinality of ReplicaScoreList is equal to the number of replicas. The name of FAPlacement should be the same as the microservice name +kubebuilder:subresource:status
func (*FAPlacement) DeepCopy ¶
func (in *FAPlacement) DeepCopy() *FAPlacement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAPlacement.
func (*FAPlacement) DeepCopyInto ¶
func (in *FAPlacement) DeepCopyInto(out *FAPlacement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FAPlacement) DeepCopyObject ¶
func (in *FAPlacement) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FAPlacementList ¶
type FAPlacementList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FAPlacement `json:"items"` }
FAPlacementList is a list of FAPlacement resources
func (*FAPlacementList) DeepCopy ¶
func (in *FAPlacementList) DeepCopy() *FAPlacementList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAPlacementList.
func (*FAPlacementList) DeepCopyInto ¶
func (in *FAPlacementList) DeepCopyInto(out *FAPlacementList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FAPlacementList) DeepCopyObject ¶
func (in *FAPlacementList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FAPlacementSpec ¶
type FAPlacementSpec struct { Microservice string `json:"microservice"` UpdatedAt int64 `json:"updatedat"` Order int64 `json:"order"` ReplicaScoreList []*FAReplicaScores `json:"replecascorelist"` }
FAPlacementSpec is the spec for a FAPlacement resource
func (*FAPlacementSpec) DeepCopy ¶
func (in *FAPlacementSpec) DeepCopy() *FAPlacementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAPlacementSpec.
func (*FAPlacementSpec) DeepCopyInto ¶
func (in *FAPlacementSpec) DeepCopyInto(out *FAPlacementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAPlacementStatus ¶
type FAPlacementStatus struct {
CurrentStatus int32 `json:"currentStatus"`
}
FAPlacementStatus is the status for a FAPlacement resource
func (*FAPlacementStatus) DeepCopy ¶
func (in *FAPlacementStatus) DeepCopy() *FAPlacementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAPlacementStatus.
func (*FAPlacementStatus) DeepCopyInto ¶
func (in *FAPlacementStatus) DeepCopyInto(out *FAPlacementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FARegion ¶
type FARegion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FARegionSpec `json:"spec"` // RegionStatus is not used at the moment Status FARegionStatus `json:"status,omitempty"` }
FARegion is a specification for a FARegion resource +kubebuilder:subresource:status
func (*FARegion) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FARegion.
func (*FARegion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FARegion) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FARegionList ¶
type FARegionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FARegion `json:"items"` }
FARegionList is a list of FARegion resources
func (*FARegionList) DeepCopy ¶
func (in *FARegionList) DeepCopy() *FARegionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FARegionList.
func (*FARegionList) DeepCopyInto ¶
func (in *FARegionList) DeepCopyInto(out *FARegionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FARegionList) DeepCopyObject ¶
func (in *FARegionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FARegionSpec ¶
type FARegionSpec struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description,omitempty"` Location string `json:"location"` ResourceCost int32 `json:"cost"` }
FARegionSpec is the spec for a FARegion resource
func (*FARegionSpec) DeepCopy ¶
func (in *FARegionSpec) DeepCopy() *FARegionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FARegionSpec.
func (*FARegionSpec) DeepCopyInto ¶
func (in *FARegionSpec) DeepCopyInto(out *FARegionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FARegionStatus ¶
type FARegionStatus struct {
CurrentStatus int32 `json:"currentStatus"`
}
FARegionStatus is the status for a Region resource
func (*FARegionStatus) DeepCopy ¶
func (in *FARegionStatus) DeepCopy() *FARegionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FARegionStatus.
func (*FARegionStatus) DeepCopyInto ¶
func (in *FARegionStatus) DeepCopyInto(out *FARegionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAReplicaScores ¶
type FAReplicaScores struct {
NodeScoreList []*FAScore `json:"nodescorelist"`
}
FAReplicaScores is a list of score for all the nodes. Cardinality equal to the number of nodes
func (*FAReplicaScores) DeepCopy ¶
func (in *FAReplicaScores) DeepCopy() *FAReplicaScores
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAReplicaScores.
func (*FAReplicaScores) DeepCopyInto ¶
func (in *FAReplicaScores) DeepCopyInto(out *FAReplicaScores)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAScore ¶
Given a node, we have a score
func (*FAScore) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAScore.
func (*FAScore) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.