edgecluster

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package edgecluster implements edge cluster mutation required by the GraphQL transport layer

Package edgecluster implements edge cluster mutation required by the GraphQL transport layer

Package edgecluster implements edge cluster mutation required by the GraphQL transport layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateEdgeCluster

func NewCreateEdgeCluster(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	edgeClusterClientService edgecluster.EdgeClusterClientContract) (edgecluster.CreateEdgeClusterContract, error)

NewCreateEdgeCluster creates new instance of the createEdgeCluster, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers logger: Mandatory. Reference to the logger service Returns the new instance or error if something goes wrong

func NewCreateEdgeClusterPayloadResolver

func NewCreateEdgeClusterPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	clientMutationId *string,
	edgeClusterID string,
	edgeClusterDetail *edgecluster.EdgeClusterDetail,
	cursor string) (edgecluster.CreateEdgeClusterPayloadResolverContract, error)

NewCreateEdgeClusterPayloadResolver creates new instance of the createEdgeClusterPayloadResolvere, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers clientMutationId: Optional. Reference to the client mutation ID to correlate the request and response edgeClusterID: Mandatory. The edge cluster unique identifier edgeClusterDetail: Mandatory. The edge cluster details cursor: Mandatory. The edge cluster cursor Returns the new instance or error if something goes wrong

func NewDeleteEdgeCluster

func NewDeleteEdgeCluster(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	edgeClusterClientService edgecluster.EdgeClusterClientContract) (edgecluster.DeleteEdgeClusterContract, error)

NewDeleteEdgeCluster deletes new instance of the deleteEdgeCluster, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can delete new instances of resolvers logger: Mandatory. Reference to the logger service Returns the new instance or error if something goes wrong

func NewDeleteEdgeClusterPayloadResolver

func NewDeleteEdgeClusterPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	edgeClusterID string,
	clientMutationId *string) (edgecluster.DeleteEdgeClusterPayloadResolverContract, error)

EdgeCluster returns the deleted edge cluster inforamtion ctx: Mandatory. Reference to the context Returns the deleted edge cluster inforamtion

func NewUpdateEdgeCluster

func NewUpdateEdgeCluster(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	edgeClusterClientService edgecluster.EdgeClusterClientContract) (edgecluster.UpdateEdgeClusterContract, error)

NewUpdateEdgeCluster updates new instance of the updateEdgeCluster, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can update new instances of resolvers logger: Mandatory. Reference to the logger service Returns the new instance or error if something goes wrong

func NewUpdateEdgeClusterPayloadResolver

func NewUpdateEdgeClusterPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	clientMutationId *string,
	edgeClusterID string,
	edgeClusterDetail *edgecluster.EdgeClusterDetail,
	cursor string) (edgecluster.UpdateEdgeClusterPayloadResolverContract, error)

EdgeCluster returns the updated edge cluster inforamtion ctx: Mandatory. Reference to the context clientMutationId: Optional. Reference to the client mutation ID to correlate the request and response edgeClusterID: Mandatory. The edge cluster unique identifier edgeClusterDetail: Mandatory. The edge cluster details cursor: Mandatory. The edge cluster cursor Returns the updated edge cluster inforamtion

Types

This section is empty.

Jump to

Keyboard shortcuts

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