package
0.1.1
Repository: https://github.com/fluidos-project/node.git
Documentation: pkg.go.dev

# Functions

MapFromFilterType maps a models.FilterType to a nodecorev1alpha1.FilterType.
MapFromFlavorTypeName maps a models.FlavorTypeName to a nodecorev1alpha1.FlavorTypeIdentifier.
MapFromModelHostingPolicy maps a models.HostingPolicy to a nodecorev1alpha1.HostingPolicy.
MapToFilterType maps a nodecorev1alpha1.FilterType to a models.FilterType.
MapToFlavorTypeName maps a nodecorev1alpha1.FlavorTypeIdentifier to a models.FlavorTypeName.
MapToModelHostingPolicy maps a nodecorev1alpha1.HostingPolicy to a models.HostingPolicy.
MapToServiceCategory maps a string to a consts.ServiceCategory.

# Constants

CIDRSelectorType is the type of a CIDRSelector.
HostingPolicyConsumer represents the hosting policy where the service will be hosted by a consumer.
HostingPolicyProvider represents the hosting policy where the service will be hosted by a provider.
HostingPolicyShared represents the hosting policy where the service can be hosted by both provider and consumer and the exact hosting policy is not defined.
K8SliceNameDefault is the default name for a K8Slice Flavor.
MatchFilter is the identifier for a match filter.
PodNamespaceSelectorType is the type of a PodNamespaceSelector.
RangeFilter is the identifier for a range filter.
RangeMaxKey is the key for the identifier of the maximum value in a range.
RangeMinKey is the key for the identifier of the minimum value in a range.
SensorNameDefault is the default name for a Sensor Flavor.
ServiceNameDefault is the default name for a Service Flavor.
VMNameDefault is the default name for a VM Flavor.

# Structs

CarbonFootprint represents the carbon footprint of a Flavor, with embodied and operational values.
Configuration represents the configuration properties of a Flavor.
Contract represents a Contract object with its characteristics.
Flavor represents a Flavor object with its characteristics and policies.
FlavorType represents the type of a Flavor.
GpuCharacteristics represents the characteristics of a Gpu.
GPUMetrics represents GPU metrics.
K8Slice represents a Kubernetes slice.
K8SliceCharacteristics represents the characteristics of a Kubernetes slice.
K8SliceConfiguration represents the configuration properties of a K8Slice Flavor.
K8SlicePartitionability represents the partitionability of a Kubernetes slice.
K8SlicePolicies represents the policies of a Kubernetes slice.
K8SliceProperties represents the properties of a Kubernetes slice.
K8SliceSelector represents the criteria for selecting a K8Slice Flavor.
LiqoCredentials contains the credentials of a Liqo cluster to establish a peering.
Location represents the location of a Flavor, with latitude, longitude, altitude, and additional notes.
NetworkAuthorizations represents the network authorizations of a Flavor, with denied and mandatory communications.
NetworkIntent represents the network intent of a Flavor, with source and destination.
NodeIdentity represents the owner of a Flavor, with associated ID, IP, and domain name.
NodeIdentityAdditionalInfo represents additional information about a NodeIdentity.
NodeInfo represents a node and its resources.
PodNamespaceSelector represents the pod namespace selector of a SourceDestination.
Price represents the price of a Flavor, with the amount, currency, and period associated.
PurchaseRequest is the request model for purchasing a Flavor.
ReserveRequest is the request model for reserving a Flavor.
ResourceMetrics represents resources of a certain node.
ResourceQuantityFilter represents a filter for a resource quantity.
ResourceQuantityMatchFilter represents a match filter for a resource quantity.
ResourceQuantityRangeFilter represents a range filter for a resource quantity.
ResourceSelector represents the resource selector of a SourceDestination.
SensorSelector is the flavor of a Sensor.
ServiceConfiguration represents the configuration properties of a Service Flavor.
ServiceFlavor represents a Service Flavor description.
ServiceSelector represents the criteria for selecting a Service Flavor.
SourceDestination represents the source or destination of a network intent.
StringFilter represents a filter for a string.
StringMatchFilter represents a match filter for a string.
StringRangeFilter represents a range filter for a string.
Transaction contains information regarding the transaction for a flavor.
VMSelector is the flavor of a VM.

# Interfaces

ConfigurationData represents the data of a Configuration.
FlavorTypeData represents the data of a FlavorType.
ResourceQuantityFilterData represents the data of a ResourceQuantityFilter.
Selector represents the criteria for selecting Flavors.
StringFilterData represents the data of a StringFilter.

# Type aliases

CIDRSelector represents the CIDR selector of a SourceDestination.
FilterType represents the type of a Filter.
FlavorTypeName represents the name of a FlavorType.
HostingPolicy represents the hosting policy chosen for the service.
ResourceSelectorIdentifier represents the identifier of a ResourceSelector.