v1

package
v0.0.0-...-c4b52f1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the sfc v1 API group +kubebuilder:object:generate=true +groupName=sfc.automation.dcn.ssu.ac.kr

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "sfc.automation.dcn.ssu.ac.kr", Version: "v1"}

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

type Connectivity map[string]string

func (Connectivity) DeepCopy

func (in Connectivity) DeepCopy() Connectivity

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

func (Connectivity) DeepCopyInto

func (in Connectivity) DeepCopyInto(out *Connectivity)

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

type ConnectivitySpec

type ConnectivitySpec struct {
	// MinimumLatency
	// mili second
	MinimumLatency int `json:"minimumLatency,omitempty"`
	// MaximumPackageLoss
	// Percentage
	MaximumPackageLoss int `json:"maximumPacketLoss,omitempty"`
}

func (*ConnectivitySpec) DeepCopy

func (in *ConnectivitySpec) DeepCopy() *ConnectivitySpec

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

func (*ConnectivitySpec) DeepCopyInto

func (in *ConnectivitySpec) DeepCopyInto(out *ConnectivitySpec)

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

type Edge

type Edge struct {
	EdgeCluster EdgeClusterInfo
	Vertex      *Vertex
}

Edge represents an edge in the graph and the destination vertex.

func (*Edge) DeepCopy

func (in *Edge) DeepCopy() *Edge

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

func (*Edge) DeepCopyInto

func (in *Edge) DeepCopyInto(out *Edge)

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

type EdgeClusterInfo

type EdgeClusterInfo struct {
	Location  string
	Longitude string
	Latitude  string
}

func (*EdgeClusterInfo) DeepCopy

func (in *EdgeClusterInfo) DeepCopy() *EdgeClusterInfo

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

func (*EdgeClusterInfo) DeepCopyInto

func (in *EdgeClusterInfo) DeepCopyInto(out *EdgeClusterInfo)

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

type Graph

type Graph struct {
	Vertices map[int]*Vertex
}

Graph Source: https://gist.github.com/snassr/e79f4953eeb8d813be82eda00adeef57 Graph represents a set of vertices connected by edges.

func (*Graph) AddEdge

func (this *Graph) AddEdge(srcKey, destKey int, edgeinfo EdgeClusterInfo)

AddEdge adds an edge between existing source and existing destination vertex.

func (*Graph) AddVertex

func (this *Graph) AddVertex(key int, val NetworkDataInfo)

AddVertex adds a vertex to the graph with no edges.

func (*Graph) DeepCopy

func (in *Graph) DeepCopy() *Graph

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

func (*Graph) DeepCopyInto

func (in *Graph) DeepCopyInto(out *Graph)

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

func (*Graph) Neighbors

func (this *Graph) Neighbors(srcKey int) []NetworkDataInfo

Neighbors returns all vertex values that have an edge from the provided src vertex.

type LatencyPercentileScoreSpec

type LatencyPercentileScoreSpec struct {
	// NinetiethPercentileScore
	// mili second
	NinetiethPercentileScore int `json:"ninetiethPercentileScore,omitempty"`
}

func (*LatencyPercentileScoreSpec) DeepCopy

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

func (*LatencyPercentileScoreSpec) DeepCopyInto

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

type LinkService

type LinkService struct {
	Metadata   MetaData                `json:"metadata,omitempty"`
	Service    ServiceDefinition       `json:"service,omitempty"`
	Deployment *corev1.ObjectReference `json:"deployment,omitempty"`
}

func (*LinkService) DeepCopy

func (in *LinkService) DeepCopy() *LinkService

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

func (*LinkService) DeepCopyInto

func (in *LinkService) DeepCopyInto(out *LinkService)

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

type MetaData

type MetaData struct {
	Name       string `json:"name,omitempty"`
	TenantName string `json:"tenantname,omitempty"`
}

func (*MetaData) DeepCopy

func (in *MetaData) DeepCopy() *MetaData

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

func (*MetaData) DeepCopyInto

func (in *MetaData) DeepCopyInto(out *MetaData)

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

type NetworkDataInfo

type NetworkDataInfo struct {
	// Latency in mili seconds
	// End-to-end delay: time taken for a packet to be transmitted across a network from user to service or reverse.
	Latency int
	// Round trip delay (milisecond)
	// Round-trip Delay: the amount of time it takes for a data packet to be sent plus the amount of time it takes to acknowledge that signal to be received.
	RoundTripDelay int
	// Packet Loss Rate (percent)
	// Packet Loss Rate: the number of packets not received divided by the total number of packets sent
	PacketLossRate int
	// Hop Count
	// Hop Count: the number of network devices through which data passes from source to destination.
	HopCount int
	// Throught put ( bytes/second)
	// Throughput: the rate of message delivery over a communication channel.
	Throughput int
	// AvailableBandwidth (bytes/second)
	// Available bandwidth: The maximum amount of data transmitted over an connection in a given amount of time
	AvailableBandwidth int
	// DelayVariation percent
	// Delay Variation:  the difference in end-to-end one-way delay between selected packets in a flow with any lost packets being ignored
	DelayVariation int
}

func (*NetworkDataInfo) DeepCopy

func (in *NetworkDataInfo) DeepCopy() *NetworkDataInfo

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

func (*NetworkDataInfo) DeepCopyInto

func (in *NetworkDataInfo) DeepCopyInto(out *NetworkDataInfo)

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

type SFCDeployment

type SFCDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFCDeploymentSpec   `json:"spec,omitempty"`
	Status SFCDeploymentStatus `json:"status,omitempty"`
}

SFCDeployment is the Schema for the sfcdeployments API

func (*SFCDeployment) DeepCopy

func (in *SFCDeployment) DeepCopy() *SFCDeployment

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

func (*SFCDeployment) DeepCopyInto

func (in *SFCDeployment) DeepCopyInto(out *SFCDeployment)

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

func (*SFCDeployment) DeepCopyObject

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

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

type SFCDeploymentList

type SFCDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFCDeployment `json:"items"`
}

SFCDeploymentList contains a list of SFCDeployment

func (*SFCDeploymentList) DeepCopy

func (in *SFCDeploymentList) DeepCopy() *SFCDeploymentList

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

func (*SFCDeploymentList) DeepCopyInto

func (in *SFCDeploymentList) DeepCopyInto(out *SFCDeploymentList)

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

func (*SFCDeploymentList) DeepCopyObject

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

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

type SFCDeploymentSpec

type SFCDeploymentSpec appsv1.DeploymentSpec

func (*SFCDeploymentSpec) DeepCopy

func (in *SFCDeploymentSpec) DeepCopy() *SFCDeploymentSpec

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

func (*SFCDeploymentSpec) DeepCopyInto

func (in *SFCDeploymentSpec) DeepCopyInto(out *SFCDeploymentSpec)

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

type SFCDeploymentStatus

type SFCDeploymentStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	ReadyForDeploy bool   `json:"readyfordeploy,omitempty"`
	Location       string `json:"location,omitempty"`
	GithubLink     string `json:"githublink,omitempty"`
	Deployed       bool   `json:"deployed,omitempty"`
}

SFCDeploymentStatus defines the observed state of SFCDeployment

func (*SFCDeploymentStatus) DeepCopy

func (in *SFCDeploymentStatus) DeepCopy() *SFCDeploymentStatus

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

func (*SFCDeploymentStatus) DeepCopyInto

func (in *SFCDeploymentStatus) DeepCopyInto(out *SFCDeploymentStatus)

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

type SFCService

type SFCService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFCServiceSpec   `json:"spec,omitempty"`
	Status SFCServiceStatus `json:"status,omitempty"`
}

SFCService is the Schema for the sfcservices API

func (*SFCService) DeepCopy

func (in *SFCService) DeepCopy() *SFCService

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

func (*SFCService) DeepCopyInto

func (in *SFCService) DeepCopyInto(out *SFCService)

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

func (*SFCService) DeepCopyObject

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

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

type SFCServiceList

type SFCServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFCService `json:"items"`
}

SFCServiceList contains a list of SFCService

func (*SFCServiceList) DeepCopy

func (in *SFCServiceList) DeepCopy() *SFCServiceList

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

func (*SFCServiceList) DeepCopyInto

func (in *SFCServiceList) DeepCopyInto(out *SFCServiceList)

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

func (*SFCServiceList) DeepCopyObject

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

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

type SFCServiceSpec

type SFCServiceSpec corev1.ServiceSpec

If any error, refer: https://github.com/kubernetes-sigs/controller-tools/issues/772#issuecomment-1416027564 just set CONTROLLER_TOOLS_VERSION ?= v0.11.2 in Makefile and k8s.io/api v0.26.1 in go.mod, and it's working now! thanks!

func (*SFCServiceSpec) DeepCopy

func (in *SFCServiceSpec) DeepCopy() *SFCServiceSpec

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

func (*SFCServiceSpec) DeepCopyInto

func (in *SFCServiceSpec) DeepCopyInto(out *SFCServiceSpec)

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

type SFCServiceStatus

type SFCServiceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	ReadyForDeploy bool   `json:"readyfordeploy,omitempty"`
	Location       string `json:"location,omitempty"`
	GithubLink     string `json:"githublink,omitempty"`
	Deployed       bool   `json:"deployed,omitempty"`
}

SFCServiceStatus defines the observed state of SFCService

func (*SFCServiceStatus) DeepCopy

func (in *SFCServiceStatus) DeepCopy() *SFCServiceStatus

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

func (*SFCServiceStatus) DeepCopyInto

func (in *SFCServiceStatus) DeepCopyInto(out *SFCServiceStatus)

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

type Scheduler

type Scheduler struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SchedulerSpec   `json:"spec,omitempty"`
	Status SchedulerStatus `json:"status,omitempty"`
}

Scheduler is the Schema for the schedulers API

func (*Scheduler) DeepCopy

func (in *Scheduler) DeepCopy() *Scheduler

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

func (*Scheduler) DeepCopyInto

func (in *Scheduler) DeepCopyInto(out *Scheduler)

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

func (*Scheduler) DeepCopyObject

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

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

type SchedulerList

type SchedulerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Scheduler `json:"items"`
}

SchedulerList contains a list of Scheduler

func (*SchedulerList) DeepCopy

func (in *SchedulerList) DeepCopy() *SchedulerList

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

func (*SchedulerList) DeepCopyInto

func (in *SchedulerList) DeepCopyInto(out *SchedulerList)

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

func (*SchedulerList) DeepCopyObject

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

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

type SchedulerSpec

type SchedulerSpec struct {

	// Foo is an example field of Scheduler. Edit scheduler_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

SchedulerSpec defines the desired state of Scheduler

func (*SchedulerSpec) DeepCopy

func (in *SchedulerSpec) DeepCopy() *SchedulerSpec

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

func (*SchedulerSpec) DeepCopyInto

func (in *SchedulerSpec) DeepCopyInto(out *SchedulerSpec)

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

type SchedulerStatus

type SchedulerStatus struct {
}

SchedulerStatus defines the observed state of Scheduler

func (*SchedulerStatus) DeepCopy

func (in *SchedulerStatus) DeepCopy() *SchedulerStatus

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

func (*SchedulerStatus) DeepCopyInto

func (in *SchedulerStatus) DeepCopyInto(out *SchedulerStatus)

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

type ServiceDefinition

type ServiceDefinition struct {
	Metadata         MetaData                `json:"metadata,omitempty"`
	Connectivity     Connectivity            `json:"connectivity,omitempty"`
	ServiceRef       *corev1.ObjectReference `json:"serviceRef,omitempty"`
	TargetServiceRef *corev1.ObjectReference `json:"targetServiceRef,omitempty"`
}

func (*ServiceDefinition) DeepCopy

func (in *ServiceDefinition) DeepCopy() *ServiceDefinition

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

func (*ServiceDefinition) DeepCopyInto

func (in *ServiceDefinition) DeepCopyInto(out *ServiceDefinition)

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

type ServiceFunctionChain

type ServiceFunctionChain struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServiceFunctionChainSpec   `json:"spec,omitempty"`
	Status ServiceFunctionChainStatus `json:"status,omitempty"`
}

ServiceFunctionChain is the Schema for the servicefunctionchains API

func (*ServiceFunctionChain) DeepCopy

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

func (*ServiceFunctionChain) DeepCopyInto

func (in *ServiceFunctionChain) DeepCopyInto(out *ServiceFunctionChain)

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

func (*ServiceFunctionChain) DeepCopyObject

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

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

type ServiceFunctionChainList

type ServiceFunctionChainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServiceFunctionChain `json:"items"`
}

ServiceFunctionChainList contains a list of ServiceFunctionChain

func (*ServiceFunctionChainList) DeepCopy

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

func (*ServiceFunctionChainList) DeepCopyInto

func (in *ServiceFunctionChainList) DeepCopyInto(out *ServiceFunctionChainList)

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

func (*ServiceFunctionChainList) DeepCopyObject

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

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

type ServiceFunctionChainSpec

type ServiceFunctionChainSpec struct {
	NumberOfNode                 int           `json:"numberofnode,omitempty"`
	DefaultServiceLevelAgreement string        `json:"defaultSLA,omitempty"`
	Links                        []LinkService `json:"links,omitempty"`
}

ServiceFunctionChainSpec defines the desired state of ServiceFunctionChain

func (*ServiceFunctionChainSpec) DeepCopy

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

func (*ServiceFunctionChainSpec) DeepCopyInto

func (in *ServiceFunctionChainSpec) DeepCopyInto(out *ServiceFunctionChainSpec)

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

type ServiceFunctionChainStatus

type ServiceFunctionChainStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	ServiceFunctions []ServiceFunctionInfo `json:"serviceFunctions,omitempty"`
	Translated       bool                  `json:"translated,omitempty"`
}

ServiceFunctionChainStatus defines the observed state of ServiceFunctionChain

func (*ServiceFunctionChainStatus) DeepCopy

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

func (*ServiceFunctionChainStatus) DeepCopyInto

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

type ServiceFunctionInfo

type ServiceFunctionInfo struct {
	Placement    string `json:"placement,omitempty"`
	OldPlacement string `json:"oldplacement,omitempty"`
	Deployed     bool   `json:"deployed,omitempty"`
}

func (*ServiceFunctionInfo) DeepCopy

func (in *ServiceFunctionInfo) DeepCopy() *ServiceFunctionInfo

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

func (*ServiceFunctionInfo) DeepCopyInto

func (in *ServiceFunctionInfo) DeepCopyInto(out *ServiceFunctionInfo)

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

type ServiceLevelAgreement

type ServiceLevelAgreement struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ServiceLevelAgreementSpec   `json:"spec,omitempty"`
	Status ServiceLevelAgreementStatus `json:"status,omitempty"`
}

ServiceLevelAgreement is the Schema for the servicelevelagreements API

func (*ServiceLevelAgreement) DeepCopy

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

func (*ServiceLevelAgreement) DeepCopyInto

func (in *ServiceLevelAgreement) DeepCopyInto(out *ServiceLevelAgreement)

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

func (*ServiceLevelAgreement) DeepCopyObject

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

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

type ServiceLevelAgreementList

type ServiceLevelAgreementList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServiceLevelAgreement `json:"items"`
}

ServiceLevelAgreementList contains a list of ServiceLevelAgreement

func (*ServiceLevelAgreementList) DeepCopy

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

func (*ServiceLevelAgreementList) DeepCopyInto

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

func (*ServiceLevelAgreementList) DeepCopyObject

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

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

type ServiceLevelAgreementSpec

type ServiceLevelAgreementSpec struct {
	Connectivity           ConnectivitySpec           `json:"connectivity,omitempty"`
	LatencyPercentileScore LatencyPercentileScoreSpec `json:"latencyPercentileScore,omitempty"`
}

ServiceLevelAgreementSpec defines the desired state of ServiceLevelAgreement

func (*ServiceLevelAgreementSpec) DeepCopy

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

func (*ServiceLevelAgreementSpec) DeepCopyInto

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

type ServiceLevelAgreementStatus

type ServiceLevelAgreementStatus struct {
}

ServiceLevelAgreementStatus defines the observed state of ServiceLevelAgreement

func (*ServiceLevelAgreementStatus) DeepCopy

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

func (*ServiceLevelAgreementStatus) DeepCopyInto

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

type Vertex

type Vertex struct {
	NetworkData NetworkDataInfo
	Edges       map[int]*Edge
}

Vertex is a node in the graph that stores the int value at that node along with a map to the vertices it is connected to via edges.

func (*Vertex) DeepCopy

func (in *Vertex) DeepCopy() *Vertex

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

func (*Vertex) DeepCopyInto

func (in *Vertex) DeepCopyInto(out *Vertex)

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