Documentation ¶
Index ¶
- type Clients
- func New(thelmaConfig config.Config, thelmaRoot root.Root, shellRunner shell.Runner, ...) Clients
- func NewUsingADC(thelmaConfig config.Config, thelmaRoot root.Root, shellRunner shell.Runner, ...) Clients
- func NewUsingVaultSA(thelmaConfig config.Config, thelmaRoot root.Root, shellRunner shell.Runner, ...) Clients
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
type Clients interface { // Bucket constructs a new Bucket using Thelma's globally-configured Google authentication options Bucket(name string, options ...bucket.BucketOption) (bucket.Bucket, error) // Kubectl returns a new Kubectl instance Kubectl() (kubectl.Kubectl, error) // Terra returns a new terraapi.TerraClient instance Terra() (terraapi.TerraClient, error) // SetSubject allows usage of domain-wide delegation privileges, to authenticate as a user via // a different account. SetSubject(subject string) Clients // PubSub returns a new google pubsub client PubSub(projectId string) (*pubsub.Client, error) }
Clients client factory for GCP api clients
func NewUsingADC ¶ added in v0.0.44
Directories ¶
Path | Synopsis |
---|---|
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. |
Click to show internal directories.
Click to hide internal directories.