Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateProject(ctx context.Context, orgID ids.OrgID, repoURL string, directory string, ...) (*projectsv1alpha1.Project, error)
- func (c *Client) CreateToken(ctx context.Context) (*tokenservicev1alpha1.CreateTokenResponse, error)
- func (c *Client) GetAWSCredentials(ctx context.Context) (*nixv1alpha1.AWSCredentials, error)
- func (c *Client) GetAccessToken(ctx context.Context, apiToken ids.APIToken) (*tokenservicev1alpha1.GetAccessTokenResponse, error)
- func (c *Client) GetBinCache(ctx context.Context) (*nixv1alpha1.GetBinCacheResponse, error)
- func (c *Client) GetMember(ctx context.Context, id string) (*membersv1alpha1.Member, error)
- func (c *Client) ListProjects(ctx context.Context, orgID ids.OrgID) ([]*projectsv1alpha1.Project, error)
- func (c *Client) SecretsService() secretsv1alpha1connect.SecretsServiceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ProjectsClient func() projectsv1alpha1connect.ProjectsServiceClient // contains filtered or unexported fields }
Client manages state for interacting with the JetCloud API, as well as communicating with the JetCloud API.
func (*Client) CreateProject ¶
func (*Client) CreateToken ¶
func (c *Client) CreateToken( ctx context.Context, ) (*tokenservicev1alpha1.CreateTokenResponse, error)
func (*Client) GetAWSCredentials ¶
func (c *Client) GetAWSCredentials(ctx context.Context) (*nixv1alpha1.AWSCredentials, error)
func (*Client) GetAccessToken ¶
func (c *Client) GetAccessToken( ctx context.Context, apiToken ids.APIToken, ) (*tokenservicev1alpha1.GetAccessTokenResponse, error)
func (*Client) GetBinCache ¶
func (c *Client) GetBinCache( ctx context.Context, ) (*nixv1alpha1.GetBinCacheResponse, error)
func (*Client) ListProjects ¶
func (*Client) SecretsService ¶
func (c *Client) SecretsService() secretsv1alpha1connect.SecretsServiceClient
Click to show internal directories.
Click to hide internal directories.