Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID string AccountName string TritonUUID string KeyID string CreatedAt time.Time UpdatedAt time.Time // contains filtered or unexported fields }
Account represents the data associated with an tsg_accounts row.
func (*Account) Exists ¶
Exists returns a boolean and error. True if the row exists, false if it doesn't, error if there was an error executing the query.
func (*Account) GetTritonCredential ¶
func (a *Account) GetTritonCredential(ctx context.Context) (*TritonCredential, error)
GetTritonCredential gets Triton credentials from an existing Account. If the account is found, then we will get the KeyID and KeyMaterial for the TSG Management key of that account. If we do not find any credentials, we return an error.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
type TritonCredential ¶
Click to show internal directories.
Click to hide internal directories.