emr

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClusterTables = []interface{}{
	&Cluster{},
}

Functions

func NewClient

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

Types

type Client

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

func (*Client) CollectResource

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

type Cluster

type Cluster struct {
	ID                      uint `gorm:"primarykey"`
	AccountID               string
	Region                  string
	ClusterArn              *string `neo:"unique"`
	ClusterID               *string
	Name                    *string
	NormalizedInstanceHours *int32
	OutpostArn              *string

	StatusState               *string
	StatusChangeReasonCode    *string
	StatusChangeReasonMessage *string

	StatusCreationDateTime *time.Time
	StatusEndDateTime      *time.Time
	StatusReadyDateTime    *time.Time
	// contains filtered or unexported fields
}

func (Cluster) TableName

func (Cluster) TableName() string

Jump to

Keyboard shortcuts

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