project

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: 9 Imported by: 0

Documentation

Overview

Package project implements project mutation required by the GraphQL transport layer

Package project implements project mutation required by the GraphQL transport layer

Package project implements project mutation required by the GraphQL transport layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateProject

func NewCreateProject(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	projectClientService project.ProjectClientContract) (project.CreateProjectContract, error)

NewCreateProject creates new instance of the createProject, 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 projectClientService: Mandatory. the project client service that creates gRPC connection and client to the project Returns the new instance or error if something goes wrong

func NewCreateProjectPayloadResolver

func NewCreateProjectPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	clientMutationId *string,
	projectID string,
	projectDetail *project.ProjectDetail,
	cursor string) (project.CreateProjectPayloadResolverContract, error)

NewCreateProjectPayloadResolver updates new instance of the createProjectPayloadResolver, 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 clientMutationId: Optional. Reference to the client mutation ID projectID: Mandatory. The project unique identifier projectDetail: Mandatory. The project details cursor: Mandatory. The edge cluster cursor Returns the new instance or error if something goes wrong

func NewDeleteProject

func NewDeleteProject(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	projectClientService project.ProjectClientContract) (project.DeleteProjectContract, error)

NewDeleteProject deletes new instance of the deleteProject, 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 projectClientService: Mandatory. the project client service that creates gRPC connection and client to the project Returns the new instance or error if something goes wrong

func NewDeleteProjectPayloadResolver

func NewDeleteProjectPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	projectID string,
	clientMutationId *string) (project.DeleteProjectPayloadResolverContract, error)

NewDeleteProjectPayloadResolver updates new instance of the deleteProjectPayloadResolver, 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 projectID: Mandatory. The project unique identifier clientMutationId: Optional. Reference to the client mutation ID Returns the new instance or error if something goes wrong

func NewUpdateProject

func NewUpdateProject(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	projectClientService project.ProjectClientContract) (project.UpdateProjectContract, error)

NewUpdateProject updates new instance of the updateProject, 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 projectClientService: Mandatory. the project client service that creates gRPC connection and client to the project Returns the new instance or error if something goes wrong

func NewUpdateProjectPayloadResolver

func NewUpdateProjectPayloadResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	clientMutationId *string,
	projectID string,
	projectDetail *project.ProjectDetail,
	cursor string) (project.UpdateProjectPayloadResolverContract, error)

NewUpdateProjectPayloadResolver updates new instance of the updateProjectPayloadResolver, 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 clientMutationId: Optional. Reference to the client mutation ID projectID: Mandatory. The project unique identifier projectDetail: Mandatory. The project details cursor: Mandatory. The edge cluster cursor Returns the new instance or error if something goes wrong

Types

This section is empty.

Jump to

Keyboard shortcuts

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