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 FADepl
- type FADeplDataFlow
- type FADeplList
- type FADeplMicroservice
- type FADeplSpec
- type FADeplStatus
- type FAExternalEndpoint
- type FAExternalEndpointList
- type FAExternalEndpointSpec
- type FAExternalEndpointStatus
- 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
- type FAStatus
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 FADepl ¶
type FADepl struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FADeplSpec `json:"spec"` Status FADeplStatus `json:"status,omitempty"` }
FADepl is a specification for a FADepl resource +kubebuilder:subresource:status
func (*FADepl) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADepl.
func (*FADepl) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FADepl) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FADeplDataFlow ¶
type FADeplDataFlow struct { Name string `json:"name,omitempty"` Labels map[string]string `json:"labels,omitempty"` BandwidthRequired resource.Quantity `json:"bandwidthrequired"` LatencyRequired resource.Quantity `json:"latency"` Vertices []string `json:"vertices"` }
FADeplDataFlow represent a data flow that is a walk in the application graph
func (*FADeplDataFlow) DeepCopy ¶
func (in *FADeplDataFlow) DeepCopy() *FADeplDataFlow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADeplDataFlow.
func (*FADeplDataFlow) DeepCopyInto ¶
func (in *FADeplDataFlow) DeepCopyInto(out *FADeplDataFlow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FADeplList ¶
type FADeplList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FADepl `json:"items"` }
FADeplList is a list of FADepl resources
func (*FADeplList) DeepCopy ¶
func (in *FADeplList) DeepCopy() *FADeplList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADeplList.
func (*FADeplList) DeepCopyInto ¶
func (in *FADeplList) DeepCopyInto(out *FADeplList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FADeplList) DeepCopyObject ¶
func (in *FADeplList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FADeplMicroservice ¶
type FADeplMicroservice struct { Name string `json:"name"` RegionRecommended string `json:"regionrecommended,omitempty"` NoReschedule bool `json:"noreschedule,omitempty"` DisruptionBudget int32 `json:"disruptionbudget,omitempty"` Budget41Reschedule int32 `json:"budget41reschedule,omitempty"` // +kubebuilder:validation:EmbeddedResource // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type=object Deployment appsv1.Deployment `json:"deployment"` }
FADeplMicroservice represent a FADepl microservice
func (*FADeplMicroservice) DeepCopy ¶
func (in *FADeplMicroservice) DeepCopy() *FADeplMicroservice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADeplMicroservice.
func (*FADeplMicroservice) DeepCopyInto ¶
func (in *FADeplMicroservice) DeepCopyInto(out *FADeplMicroservice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FADeplSpec ¶
type FADeplSpec struct { ExternalEndpoints []string `json:"externalendpoints,omitempty"` Microservices []*FADeplMicroservice `json:"microservices"` DataFlows []*FADeplDataFlow `json:"dataflows,omitempty"` }
FADeplSpec is the spec for a FADepl resource
func (*FADeplSpec) DeepCopy ¶
func (in *FADeplSpec) DeepCopy() *FADeplSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADeplSpec.
func (*FADeplSpec) DeepCopyInto ¶
func (in *FADeplSpec) DeepCopyInto(out *FADeplSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FADeplStatus ¶
type FADeplStatus struct {
CurrentStatus FAStatus `json:"currentstatus"`
}
FADeplStatus is the status for a FADepl resource
func (*FADeplStatus) DeepCopy ¶
func (in *FADeplStatus) DeepCopy() *FADeplStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FADeplStatus.
func (*FADeplStatus) DeepCopyInto ¶
func (in *FADeplStatus) DeepCopyInto(out *FADeplStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAExternalEndpoint ¶
type FAExternalEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FAExternalEndpointSpec `json:"spec"` // FAExternalEndpointStatus is not used at the moment Status FAExternalEndpointStatus `json:"status,omitempty"` }
FAExternalEndpoint is a specification for a FAExternalEndpoint resource +kubebuilder:subresource:status
func (*FAExternalEndpoint) DeepCopy ¶
func (in *FAExternalEndpoint) DeepCopy() *FAExternalEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAExternalEndpoint.
func (*FAExternalEndpoint) DeepCopyInto ¶
func (in *FAExternalEndpoint) DeepCopyInto(out *FAExternalEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FAExternalEndpoint) DeepCopyObject ¶
func (in *FAExternalEndpoint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FAExternalEndpointList ¶
type FAExternalEndpointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []FAExternalEndpoint `json:"items"` }
FAExternalEndpointList is a list of ExternalEndpoint resources
func (*FAExternalEndpointList) DeepCopy ¶
func (in *FAExternalEndpointList) DeepCopy() *FAExternalEndpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAExternalEndpointList.
func (*FAExternalEndpointList) DeepCopyInto ¶
func (in *FAExternalEndpointList) DeepCopyInto(out *FAExternalEndpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FAExternalEndpointList) DeepCopyObject ¶
func (in *FAExternalEndpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FAExternalEndpointSpec ¶
type FAExternalEndpointSpec struct { ID string `json:"id"` Type string `json:"type"` Name string `json:"name"` Description string `json:"description,omitempty"` IPAddress string `json:"ipaddress"` Location string `json:"location"` RegionID string `json:"regionid"` }
FAExternalEndpointSpec is the spec for a FAExternalEndpoint resource
func (*FAExternalEndpointSpec) DeepCopy ¶
func (in *FAExternalEndpointSpec) DeepCopy() *FAExternalEndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAExternalEndpointSpec.
func (*FAExternalEndpointSpec) DeepCopyInto ¶
func (in *FAExternalEndpointSpec) DeepCopyInto(out *FAExternalEndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FAExternalEndpointStatus ¶
type FAExternalEndpointStatus struct {
CurrentStatus int32 `json:"currentStatus"`
}
FAExternalEndpointStatus is the status for a FAExternalEndpoint resource
func (*FAExternalEndpointStatus) DeepCopy ¶
func (in *FAExternalEndpointStatus) DeepCopy() *FAExternalEndpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FAExternalEndpointStatus.
func (*FAExternalEndpointStatus) DeepCopyInto ¶
func (in *FAExternalEndpointStatus) DeepCopyInto(out *FAExternalEndpointStatus)
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"` 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"` Tier int32 `json:"tier"` }
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.