Documentation ¶
Overview ¶
Package endpoint implements different endpoint services required by the edge-cluster service
Package endpoint implements different endpoint services required by the edge-cluster service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointCreatorContract ¶
type EndpointCreatorContract interface { // CreateEdgeClusterEndpoint creates Create Edge Cluster endpoint // Returns the Create Edge Cluster endpoint CreateEdgeClusterEndpoint() endpoint.Endpoint // ReadEdgeClusterEndpoint creates Read Edge Cluster endpoint // Returns the Read Edge Cluster endpoint ReadEdgeClusterEndpoint() endpoint.Endpoint // UpdateEdgeClusterEndpoint creates Update Edge Cluster endpoint // Returns the Update Edge Cluster endpoint UpdateEdgeClusterEndpoint() endpoint.Endpoint // DeleteEdgeClusterEndpoint creates Delete Edge Cluster endpoint // Returns the Delete Edge Cluster endpoint DeleteEdgeClusterEndpoint() endpoint.Endpoint // ListEdgeClustersEndpoint creates ListEdgeClusters Edge Cluster endpoint // Returns the ListEdgeClusters Edge Cluster endpoint ListEdgeClustersEndpoint() endpoint.Endpoint // ListEdgeClusterNodesEndpoint creates List Edge Cluster Nodes endpoint // Returns the List Edge Cluster Nodes endpoint ListEdgeClusterNodesEndpoint() endpoint.Endpoint // ListEdgeClusterPodsEndpoint creates List Edge Cluster Pods endpoint // Returns the List Edge Cluster Pods endpoint ListEdgeClusterPodsEndpoint() endpoint.Endpoint // ListEdgeClusterServicesEndpoint creates List Edge Cluster Services endpoint // Returns the List Edge Cluster Services endpoint ListEdgeClusterServicesEndpoint() endpoint.Endpoint }
EndpointCreatorContract declares the contract that creates endpoints to create new edgeCluster, read, update and delete existing edgeClusters.
func NewEndpointCreatorService ¶
func NewEndpointCreatorService( businessService business.BusinessContract) (EndpointCreatorContract, error)
NewEndpointCreatorService creates new instance of the EndpointCreatorService, setting up all dependencies and returns the instance businessService: Mandatory. Reference to the instance of the Edge Cluster service Returns the new service or error if something goes wrong
Click to show internal directories.
Click to hide internal directories.