organizations

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountTables = []interface{}{
	&Account{},
}

Functions

func NewClient

func NewClient(session *session.Session, awsConfig *aws.Config, db *database.Database, log *zap.Logger,
	accountID string, _ string) resource.ClientInterface

Types

type Account

type Account struct {
	ID              uint `gorm:"primarykey"`
	CallerAccountID string
	AccountID       *string `neo:"unique"`
	Arn             *string `neo:"unique" gorm:"unique"`
	Email           *string
	JoinedMethod    *string
	JoinedTimestamp *time.Time
	Name            *string
	Status          *string
}

func (Account) TableName

func (Account) TableName() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) CollectResource

func (c *Client) CollectResource(resource string, config interface{}) error

Jump to

Keyboard shortcuts

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