Documentation ¶
Overview ¶
Package clients contains convenience constructors API clients that Thelma uses
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients interface { // IAP returns a credentials.TokenProvider for dsp-tools-k8s IAP tokens. IAP() (credentials.TokenProvider, error) // IAPToken returns a valid dsp-tools-k8s IAP token (as a string), or an error. // This is a convenience method on top of IAP(). IAPToken() (string, error) // Vault returns a Vault client for the DSP Vault instance Vault() (*vaultapi.Client, error) // ArgoCD returns a client for the DSP ArgoCD instance ArgoCD() (argocd.ArgoCD, error) // Github returns a wrapper around a github api client instance Github() (*github.Client, error) // Google returns a client factory for GCP clients, using Thelma's default configuration Google(options ...google.Option) google.Clients // Kubernetes returns a factory for Kubernetes clients Kubernetes() kubernetes.Clients // Sherlock returns a swagger API client for a sherlock server instance Sherlock(options ...sherlock.Option) (sherlock.Client, error) // Slack returns a wrapper around the official API client Slack() (slack.Slack, error) }
Clients convenience builders for client objects used in Thelma commands
Directories ¶
Path | Synopsis |
---|---|
Package api contains interfaces for client factories in the clients package.
|
Package api contains interfaces for client factories in the clients package. |
bucket/testing/assert
Package assert contains helper functions for making Testify assertions about objects in GCS buckets.
|
Package assert contains helper functions for making Testify assertions about objects in GCS buckets. |
testing
Package testing provides utilities for testing code that requires a Vault client
|
Package testing provides utilities for testing code that requires a Vault client |
Click to show internal directories.
Click to hide internal directories.