Documentation
¶
Overview ¶
Code generated by generate-cached. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsClient ¶
type AwsClient interface {
GetRegion() ptypes.AwsRegion
GetAccountID() ptypes.AwsAccountID
}
type Cluster ¶
type Cluster struct {
service.AbstractResource
*types.Cluster
}
func (Cluster) GetTagValue ¶
type ClusterList ¶
type ClusterList struct {
Items []Cluster
}
type EksRepository ¶
type EksRepository struct {
// contains filtered or unexported fields
}
func NewEksRepository ¶
func NewEksRepository(ctx context.Context, client *v3.Client) *EksRepository
func (*EksRepository) GetRegion ¶
func (r *EksRepository) GetRegion() ptypes.AwsRegion
func (*EksRepository) ListClustersAll ¶
func (r *EksRepository) ListClustersAll() ([]Cluster, error)
func (*EksRepository) ListClustersByInput ¶
func (r *EksRepository) ListClustersByInput(query *awseks.ListClustersInput) ([]Cluster, error)
func (*EksRepository) WithCache ¶ added in v0.4.0
func (r *EksRepository) WithCache(dc *cache.DataCache) *EksRepositoryCached
WithCache returns a EksRepositoryCached that stores/retrieves results via the given DataCache. The cache namespace is set to "<accountID>:<region>".
type EksRepositoryCached ¶ added in v0.4.0
type EksRepositoryCached struct {
// contains filtered or unexported fields
}
EksRepositoryCached wraps EksRepository and caches results of Get*/List* calls.
func (*EksRepositoryCached) ListClustersAll ¶ added in v0.4.0
func (c *EksRepositoryCached) ListClustersAll() ([]Cluster, error)
ListClustersAll returns cached results when available, otherwise delegates to the underlying repository.
func (*EksRepositoryCached) ListClustersByInput ¶ added in v0.4.0
func (c *EksRepositoryCached) ListClustersByInput(query *awseks.ListClustersInput) ([]Cluster, error)
ListClustersByInput returns cached results when available, otherwise delegates to the underlying repository.
Click to show internal directories.
Click to hide internal directories.