Documentation ¶
Index ¶
- type AwsClient
- type Cluster
- type ClusterList
- type EmrRepository
- func (r *EmrRepository) DescribeCluster(clusterId *string) (*Cluster, error)
- func (r *EmrRepository) GetRegion() ptypes.AwsRegion
- func (r *EmrRepository) ListClustersAll() ([]Cluster, error)
- func (r *EmrRepository) ListClustersByInput(query *emr.ListClustersInput) ([]Cluster, error)
- func (r *EmrRepository) ListClustersLatest(createdAfter *time.Time) ([]Cluster, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { service.AbstractResource *types.Cluster }
func (Cluster) GetTagValue ¶
type ClusterList ¶
type ClusterList struct {
Items []Cluster
}
type EmrRepository ¶
type EmrRepository struct {
// contains filtered or unexported fields
}
func NewEmrRepository ¶
func NewEmrRepository(ctx context.Context, client AwsClient) *EmrRepository
func (*EmrRepository) DescribeCluster ¶
func (r *EmrRepository) DescribeCluster(clusterId *string) (*Cluster, error)
func (*EmrRepository) GetRegion ¶
func (r *EmrRepository) GetRegion() ptypes.AwsRegion
func (*EmrRepository) ListClustersAll ¶
func (r *EmrRepository) ListClustersAll() ([]Cluster, error)
func (*EmrRepository) ListClustersByInput ¶
func (r *EmrRepository) ListClustersByInput(query *emr.ListClustersInput) ([]Cluster, error)
func (*EmrRepository) ListClustersLatest ¶
func (r *EmrRepository) ListClustersLatest(createdAfter *time.Time) ([]Cluster, error)
Click to show internal directories.
Click to hide internal directories.