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 ¶
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 ¶
Package edgecluster implements different edge cluster GraphQL query resovlers required by the GraphQL transport layer
Index ¶
- func NewEdgeClusterNodeResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.NodeResolverContract, error)
- func NewEdgeClusterPodResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.PodResolverContract, error)
- func NewEdgeClusterProjectResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterProjectResolverContract, error)
- func NewEdgeClusterResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterResolverContract, error)
- func NewEdgeClusterServiceResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ServiceResolverContract, error)
- func NewEdgeClusterTypeConnectionResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterTypeConnectionResolverContract, error)
- func NewEdgeClusterTypeEdgeResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (edgecluster.EdgeClusterTypeEdgeResolverContract, error)
- func NewLoadBalancerIngressResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.LoadBalancerIngressResolverContract, error)
- func NewLoadBalancerStatusResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.LoadBalancerStatusResolverContract, error)
- func NewNodeAddressResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.NodeAddressResolverContract, error)
- func NewNodeConditionResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.NodeConditionResolverContract, error)
- func NewNodeStatusResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.NodeStatusResolverContract, error)
- func NewNodeSystemInfoResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.NodeSystemInfoResolverContract, error)
- func NewObjectMetaResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ObjectMetaResolverContract, error)
- func NewPodConditionResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.PodConditionResolverContract, error)
- func NewPodSpecResolver(ctx context.Context, logger *zap.Logger, spec *edgeclusterGrpcContract.PodSpec) (edgecluster.PodSpecResolverContract, error)
- func NewPodStatusResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.PodStatusResolverContract, error)
- func NewPortStatusResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.PortStatusResolverContract, error)
- func NewProvisionDetailsResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ProvisionDetailsResolverContract, error)
- func NewServiceConditionResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ServiceConditionResolverContract, error)
- func NewServicePortResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ServicePortResolverContract, error)
- func NewServiceSpecResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ServiceSpecResolverContract, error)
- func NewServiceStatusResolver(ctx context.Context, logger *zap.Logger, ...) (edgecluster.ServiceStatusResolverContract, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEdgeClusterNodeResolver ¶ added in v0.6.1
func NewEdgeClusterNodeResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, node *edgeclusterGrpcContract.EdgeClusterNode) (edgecluster.NodeResolverContract, error)
NewEdgeClusterNodeResolver creates new instance of the edgeClusterNodeResolver, 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 edge cluster node. Returns the new instance or error if something goes wrong
func NewEdgeClusterPodResolver ¶ added in v0.6.1
func NewEdgeClusterPodResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, pod *edgeclusterGrpcContract.EdgeClusterPod) (edgecluster.PodResolverContract, error)
NewEdgeClusterPodResolver creates new instance of the edgeClusterPodResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service pod: Mandatory. Contains information about the edge cluster pod. 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 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 NewEdgeClusterServiceResolver ¶ added in v0.6.1
func NewEdgeClusterServiceResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, service *edgeclusterGrpcContract.EdgeClusterService) (edgecluster.ServiceResolverContract, error)
NewEdgeClusterServiceResolver creates new instance of the edgeClusterServiceResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service service: Mandatory. Contains information about 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 NewLoadBalancerIngressResolver ¶ added in v0.6.1
func NewLoadBalancerIngressResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, loadBalancerIngress *edgeclusterGrpcContract.LoadBalancerIngress) (edgecluster.LoadBalancerIngressResolverContract, error)
NewLoadBalancerIngressResolver creates new instance of the loadBalancerIngressResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service loadBalancerIngress: Mandatory. The load balancer ingress details Returns the new instance or error if something goes wrong
func NewLoadBalancerStatusResolver ¶ added in v0.6.1
func NewLoadBalancerStatusResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, loadBalancerStatus *edgeclusterGrpcContract.LoadBalancerStatus) (edgecluster.LoadBalancerStatusResolverContract, error)
NewLoadBalancerStatusResolver creates new instance of the loadBalancerStatusResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service loadBalancerStatus: Mandatory. The load balancer status details Returns the new instance or error if something goes wrong
func NewNodeAddressResolver ¶ added in v0.6.1
func NewNodeAddressResolver( ctx context.Context, logger *zap.Logger, nodeAddresss *edgeclusterGrpcContract.EdgeClusterNodeAddress) (edgecluster.NodeAddressResolverContract, error)
NewNodeAddressResolver creates new instance of the nodeAddressResolver, 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 NewNodeConditionResolver ¶ added in v0.6.1
func NewNodeConditionResolver( ctx context.Context, logger *zap.Logger, condition *edgeclusterGrpcContract.NodeCondition) (edgecluster.NodeConditionResolverContract, error)
NewNodeConditionResolver creates new instance of the nodeConditionResolver, 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 NewNodeStatusResolver ¶ added in v0.6.1
func NewNodeStatusResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, status *edgeclusterGrpcContract.NodeStatus) (edgecluster.NodeStatusResolverContract, error)
NewNodeStatusResolver creates new instance of the nodeStatusResolver, 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 edge cluster node status. Returns the new instance or error if something goes wrong
func NewNodeSystemInfoResolver ¶ added in v0.6.1
func NewNodeSystemInfoResolver( ctx context.Context, logger *zap.Logger, nodeInfo *edgeclusterGrpcContract.NodeSystemInfo) (edgecluster.NodeSystemInfoResolverContract, error)
NewNodeSystemInfoResolver creates new instance of the nodeSystemInfoResolver, 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 NewObjectMetaResolver ¶ added in v0.6.1
func NewObjectMetaResolver( ctx context.Context, logger *zap.Logger, metadata *edgeclusterGrpcContract.ObjectMeta) (edgecluster.ObjectMetaResolverContract, error)
NewObjectMetaResolver creates new instance of the objectMetaResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service metadata: Mandatory. Contains the object metadata. Returns the new instance or error if something goes wrong
func NewPodConditionResolver ¶ added in v0.6.1
func NewPodConditionResolver( ctx context.Context, logger *zap.Logger, podCondition *edgeclusterGrpcContract.PodCondition) (edgecluster.PodConditionResolverContract, error)
NewPodConditionResolver creates new instance of the podConditionResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service podCondition: Mandatory. Contains condition information for a pod. Returns the new instance or error if something goes wrong
func NewPodSpecResolver ¶ added in v0.6.1
func NewPodSpecResolver( ctx context.Context, logger *zap.Logger, spec *edgeclusterGrpcContract.PodSpec) (edgecluster.PodSpecResolverContract, error)
NewPodSpecResolver creates new instance of the edgeClusterPodSpecResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service spec: Mandatory. Contains information about the edge cluster pod spec. Returns the new instance or error if something goes wrong
func NewPodStatusResolver ¶ added in v0.6.1
func NewPodStatusResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, status *edgeclusterGrpcContract.PodStatus) (edgecluster.PodStatusResolverContract, error)
NewPodStatusResolver creates new instance of the edgeClusterPodStatusResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service status: Mandatory. Contains information about the edge cluster pod status. Returns the new instance or error if something goes wrong
func NewPortStatusResolver ¶ added in v0.6.1
func NewPortStatusResolver( ctx context.Context, logger *zap.Logger, PortStatus *edgeclusterGrpcContract.PortStatus) (edgecluster.PortStatusResolverContract, error)
NewPortStatusResolver creates new instance of the portStatusResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service portStatus: Mandatory. Contains the port status. Returns the new instance or error if something goes wrong
func NewProvisionDetailsResolver ¶ added in v0.6.1
func NewProvisionDetailsResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, provisionDetails *edgeclusterGrpcContract.ProvisionDetail) (edgecluster.ProvisionDetailsResolverContract, error)
NewProvisionDetailsResolver creates new instance of the provisionDetailsResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service provisionDetails: Optional. The edge cluster provisioning details Returns the new instance or error if something goes wrong
func NewServiceConditionResolver ¶ added in v0.6.1
func NewServiceConditionResolver( ctx context.Context, logger *zap.Logger, condition *edgeclusterGrpcContract.ServiceCondition) (edgecluster.ServiceConditionResolverContract, error)
NewServiceConditionResolver creates new instance of the serviceConditionResolverContract, 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 service. Returns the new instance or error if something goes wrong
func NewServicePortResolver ¶ added in v0.6.1
func NewServicePortResolver( ctx context.Context, logger *zap.Logger, servicePort *edgeclusterGrpcContract.ServicePort) (edgecluster.ServicePortResolverContract, error)
NewServicePortResolver creates new instance of the servicePortResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service servicePort: Mandatory. Contains condition information for a pod. Returns the new instance or error if something goes wrong
func NewServiceSpecResolver ¶ added in v0.6.1
func NewServiceSpecResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, serviceSpec *edgeclusterGrpcContract.ServiceSpec) (edgecluster.ServiceSpecResolverContract, error)
NewServiceSpecResolver creates new instance of the serviceSpecResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service serviceSpec: Optional. The service spec Returns the new instance or error if something goes wrong
func NewServiceStatusResolver ¶ added in v0.6.1
func NewServiceStatusResolver( ctx context.Context, logger *zap.Logger, resolverCreator types.ResolverCreatorContract, serviceStatus *edgeclusterGrpcContract.ServiceStatus) (edgecluster.ServiceStatusResolverContract, error)
NewServiceStatusResolver creates new instance of the serviceStatusResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context logger: Mandatory. Reference to the logger service serviceStatus: Optional. The service status Returns the new instance or error if something goes wrong
Types ¶
This section is empty.
Source Files ¶
- edge-cluster-node-resolver.go
- edge-cluster-pod-resolver.go
- edge-cluster-project-resolver.go
- edge-cluster-resolver.go
- edge-cluster-service-resolver.go
- edge-cluster-type-connection-resolver.go
- edge-cluster-type-edge-resolver.go
- load-balancer-ingress-resolver.go
- load-balancer-status-resolver.go
- node-address-resolver.go
- node-condition-resolver.go
- node-status-resolver.go
- node-system-info-resolver.go
- object-meta-resolver.go
- pod-condition-resolver.go
- pod-spec-resolver.go
- pod-status-resolver.go
- port-status-resolver.go
- provision-detail-resolver.go
- service-condition-resolver.go
- service-port-resolver.go
- service-spec-resolver.go
- service-status-resolver.go