tritonutils

package
v0.0.0-...-29a4bf0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTritonAccountClient

func GetTritonAccountClient() (*tritonaccount.AccountClient, error)

GetTritonAccountClient is a Helper to return a CloudAPI account client used to manipulate AccessKeys. TODO: Modify to accept account and user names, since we plan to access multiple accounts from single application, not only the ENV account.

func GetTritonAuthSigner

func GetTritonAuthSigner() (*tritonauth.Signer, error)

GetTritonAuthSigner is a helper method used to retrieve a triton.Signer object suitable to be used with either triton compute or any other of the triton package clients

func GetTritonComputeClient

func GetTritonComputeClient() (*tritoncompute.ComputeClient, error)

GetTritonComputeClient is a Helper to return a CloudAPI compute client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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