terraapi

package
v1.0.73 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: BSD-3-Clause Imports: 12 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
}

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