edgecluster

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEdgeClusterNodeAddressResolverContract added in v0.4.2

func NewEdgeClusterNodeAddressResolverContract(
	ctx context.Context,
	logger *zap.Logger,
	nodeAddresss *edgeclusterGrpcContract.EdgeClusterNodeAddress) (edgecluster.EdgeClusterNodeAddressResolverContract, error)

NewEdgeClusterNodeAddressResolverContract creates new instance of the edgeClusterNodeAddressResolverContract, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service nodeAddresss: Mandatory. Contains information for the edge cluster node's address. Returns the new instance or error if something goes wrong

func NewEdgeClusterNodeConditionResolver added in v0.4.2

NewEdgeClusterNodeConditionResolver creates new instance of the edgeClusterNodeConditionResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service condition: Mandatory. Contains condition information for a node. Returns the new instance or error if something goes wrong

func NewEdgeClusterNodeStatusResolver added in v0.4.2

NewEdgeClusterNodeStatusResolver creates new instance of the edgeClusterNodeStatusResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service node: Mandatory. Contains information about the current status of a node. Returns the new instance or error if something goes wrong

func NewEdgeClusterNodeSystemInfoResolverContract added in v0.4.2

func NewEdgeClusterNodeSystemInfoResolverContract(
	ctx context.Context,
	logger *zap.Logger,
	nodeInfo *edgeclusterGrpcContract.EdgeClusterNodeSystemInfo) (edgecluster.EdgeClusterNodeSystemInfoResolverContract, error)

NewEdgeClusterNodeSystemInfoResolverContract creates new instance of the edgeClusterNodeSystemInfoResolverContract, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service nodeInfo: Mandatory. Contains a set of ids/uuids to uniquely identify the node. Returns the new instance or error if something goes wrong

func NewEdgeClusterProjectResolver added in v0.5.0

func NewEdgeClusterProjectResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	projectID string) (edgecluster.EdgeClusterProjectResolverContract, error)

NewEdgeClusterProjectResolver creates new instance of the edgeClusterProjectResolver, 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 projectID: Mandatory. the project unique identifier Returns the new instance or error if something goes wrong

func NewEdgeClusterProvisionDetailResolver added in v0.4.1

func NewEdgeClusterProvisionDetailResolver(
	ctx context.Context,
	logger *zap.Logger,
	resolverCreator types.ResolverCreatorContract,
	provisionDetail *edgeclusterGrpcContract.EdgeClusterProvisionDetail) (edgecluster.EdgeClusterProvisionDetailResolverContract, error)

NewEdgeClusterProvisionDetailResolver creates new instance of the edgeClusterProvisionDetailResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service provisionDetail: Optional. The edge cluster provisioning details Returns the new instance or error if something goes wrong

func NewEdgeClusterResolver

func NewEdgeClusterResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	logger *zap.Logger,
	edgeClusterClientService edgecluster.EdgeClusterClientContract,
	edgeClusterID string,
	edgeClusterDetail *edgecluster.EdgeClusterDetail) (edgecluster.EdgeClusterResolverContract, error)

NewEdgeClusterResolver creates new instance of the edgeClusterResolver, 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 edgeClusterID: Mandatory. the edge cluster unique identifier edgeClusterDetail: Optional. The edge cluster details, if provided, the value be used instead of contacting the edge cluster service Returns the new instance or error if something goes wrong

func NewEdgeClusterTypeConnectionResolver

func NewEdgeClusterTypeConnectionResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	edgeClusters []*edgeclusterGrpcContract.EdgeClusterWithCursor,
	hasPreviousPage bool,
	hasNextPage bool,
	totalCount int32) (edgecluster.EdgeClusterTypeConnectionResolverContract, error)

NewEdgeClusterTypeConnectionResolver creates new instance of the edgeClusterTypeConnectionResolver, 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 edgeClusters: Mandatory. Reference the list of edge clusters hasPreviousPage: Mandatory. Indicates whether more edges exist prior to the set defined by the clients arguments hasNextPage: Mandatory. Indicates whether more edges exist following the set defined by the clients arguments totalCount: Mandatory. The total count of matched edge clusters Returns the new instance or error if something goes wrong

func NewEdgeClusterTypeEdgeResolver

func NewEdgeClusterTypeEdgeResolver(
	ctx context.Context,
	resolverCreator types.ResolverCreatorContract,
	edgeClusterID string,
	edgeClusterDetail *edgecluster.EdgeClusterDetail,
	cursor string) (edgecluster.EdgeClusterTypeEdgeResolverContract, error)

NewEdgeClusterTypeEdgeResolver creates new instance of the edgeClusterTypeEdgeResolver, 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 edgeClusterID: Mandatory. the edge cluster unique identifier edgeClusterDetail: Optional. The edge cluster details, if provided, the value be used instead of contacting the edge cluster service cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong

func NewIngressResolver added in v0.4.1

func NewIngressResolver(
	ctx context.Context,
	logger *zap.Logger,
	ingress *edgeclusterGrpcContract.Ingress) (edgecluster.IngressResolverContract, error)

NewIngressResolver creates new instance of the ingressResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service ingress: Mandatory. The ingress details Returns the new instance or error if something goes wrong

func NewPortResolver added in v0.4.1

NewPortResolver creates new instance of the PortResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service Port: Mandatory. The PostStatus details 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