terraapi

package
v1.1.38 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetPetPrivateKeyAction      = "get_pet_private_key"
	GetPetManagedIdentityAction = "get_pet_managed_identity"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FirecloudOrchClient

type FirecloudOrchClient interface {
	RegisterProfile(firstName string, lastName string, title string, contactEmail string, institute string, institutionalProgram string, programLocationCity string, programLocationState string, programLocationCountry string, pi string, nonProfitStatus string) (*http.Response, string, error)
	AgoraMakeMethod(data interface{}) (*http.Response, string, error)
	AgoraSetMethodACLs(name string, namespace string, acls interface{}) (*http.Response, string, error)
	AgoraMakeConfig(data interface{}) (*http.Response, string, error)
	AgoraSetConfigACLs(name string, namespace string, acls interface{}) (*http.Response, string, error)
	AgoraSetNamespaceACLs(namespace string, acls interface{}) (*http.Response, string, error)
}

type SamClient

type SamClient interface {
	FcServiceAccounts([]string, string, string) (*http.Response, string, error)
	AcceptToS() (*http.Response, string, error)
	UnregisterUser(id string) (*http.Response, string, error)
	CreateCloudExtension(cloud string) (*http.Response, string, error)
}

type TerraClient

type TerraClient interface {
	FirecloudOrch(release terra.AppRelease) FirecloudOrchClient
	Sam(release terra.AppRelease) SamClient
	GoogleUserinfo() *googleoauth.Userinfo

	// SetPoolStatusReporter makes the TerraClient play nice inside a pool.Job by
	// redirecting console output to the pool.StatusReporter rather than to
	// the normal logger.
	SetPoolStatusReporter(reporter pool.StatusReporter)
}

func NewClient

func NewClient(tokenSource oauth2.TokenSource, userInfo *googleoauth.Userinfo) TerraClient

Jump to

Keyboard shortcuts

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