v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

Exported variables

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "fogatlas.fbk.eu", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

func (in *FALink) DeepCopy() *FALink

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

func (*FALink) DeepCopyInto

func (in *FALink) DeepCopyInto(out *FALink)

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

func (*FALink) DeepCopyObject

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

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

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

func (in *FARegion) DeepCopy() *FARegion

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

func (*FARegion) DeepCopyInto

func (in *FARegion) DeepCopyInto(out *FARegion)

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

func (*FARegion) DeepCopyObject

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

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

type FAScore struct {
	Node  string `json:"node"`
	Score int32  `json:"score"`
}

Given a node, we have a score

func (*FAScore) DeepCopy

func (in *FAScore) DeepCopy() *FAScore

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

func (*FAScore) DeepCopyInto

func (in *FAScore) DeepCopyInto(out *FAScore)

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

Jump to

Keyboard shortcuts

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