Documentation
¶
Index ¶
- func ChunkSlice[T any](slice []T, chunkSize int) [][]T
- func ChunkSliceString(slice []string, chunkSize int) [][]string
- func LastDays(days time.Duration) *time.Time
- type AbstractResource
- func (e AbstractResource) GetAccountID() ptypes.AwsAccountID
- func (e AbstractResource) GetArn() string
- func (e AbstractResource) GetCreatedAt() time.Time
- func (e AbstractResource) GetId() string
- func (e AbstractResource) GetIdOrArn() string
- func (e AbstractResource) GetRegion() ptypes.AwsRegion
- func (e AbstractResource) GetType() cfg.ResourceType
- type EntityInterface
- type ResourceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChunkSlice ¶
func ChunkSliceString ¶
Types ¶
type AbstractResource ¶
type AbstractResource struct { AccountID ptypes.AwsAccountID Region ptypes.AwsRegion ID string ARN *arn.ARN CreatedAt time.Time Type cfg.ResourceType }
func (AbstractResource) GetAccountID ¶
func (e AbstractResource) GetAccountID() ptypes.AwsAccountID
func (AbstractResource) GetArn ¶
func (e AbstractResource) GetArn() string
func (AbstractResource) GetCreatedAt ¶
func (e AbstractResource) GetCreatedAt() time.Time
func (AbstractResource) GetId ¶
func (e AbstractResource) GetId() string
func (AbstractResource) GetIdOrArn ¶
func (e AbstractResource) GetIdOrArn() string
func (AbstractResource) GetRegion ¶
func (e AbstractResource) GetRegion() ptypes.AwsRegion
func (AbstractResource) GetType ¶
func (e AbstractResource) GetType() cfg.ResourceType
type EntityInterface ¶
type ResourceInterface ¶
Click to show internal directories.
Click to hide internal directories.