graphql

package
v0.0.0-...-c9198f2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Address string
	Client  genqlientgraphql.Client
}

func NewClient

func NewClient(ctx context.Context) (*Client, error)

func NewClientFromToken

func NewClientFromToken(ctx context.Context, address string, token string, organizationID string) *Client

func NewClientFromTokenSourceAndOrgID

func NewClientFromTokenSourceAndOrgID(ctx context.Context, address string, tokenSrc oauth2.TokenSource, orgID string) *Client

func (*Client) ListServices

func (c *Client) ListServices(ctx context.Context) ([]cloudapi.MinimalServiceFields, error)

func (*Client) LoadOrgResources

func (c *Client) LoadOrgResources(ctx context.Context) (OrgResources, error)

func (*Client) RegisterAuth0User

func (c *Client) RegisterAuth0User(ctx context.Context) (cloudapi.MeFields, error)

type HTTPClientWithSetOrgHeaderDoer

type HTTPClientWithSetOrgHeaderDoer struct {
	// contains filtered or unexported fields
}

func (*HTTPClientWithSetOrgHeaderDoer) Do

type OrgResources

type OrgResources struct {
	Environments []cloudapi.MinimalEnvironmentFields
	Clusters     []cloudapi.MinimalClusterFields
	Namespaces   []cloudapi.MinimalNamespaceFields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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