endpoint

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

Directories

Path Synopsis
Package mock_endpoint is a generated GoMock package.
Package mock_endpoint is a generated GoMock package.

Jump to

Keyboard shortcuts

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