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 // SearchEndpoint creates Search Edge Cluster endpoint // Returns the Search Edge Cluster endpoint SearchEndpoint() 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.