Documentation ¶
Index ¶
- type ContainerInsightsDimensionProvider
- type CustomDimensionProvider
- type ECSInstanceIdDimensionProvider
- type EKSClusterNameProvider
- type EMFECSDimensionProvider
- type ExpectedDimensionValue
- type Factory
- type HostDimensionProvider
- type IProvider
- type Instruction
- type LocalImageIdDimensionProvider
- type LocalInstanceIdDimensionProvider
- type LocalInstanceTypeDimensionProvider
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerInsightsDimensionProvider ¶
type ContainerInsightsDimensionProvider struct {
Provider
}
func (*ContainerInsightsDimensionProvider) GetDimension ¶
func (p *ContainerInsightsDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*ContainerInsightsDimensionProvider) IsApplicable ¶
func (p *ContainerInsightsDimensionProvider) IsApplicable() bool
func (*ContainerInsightsDimensionProvider) Name ¶
func (p *ContainerInsightsDimensionProvider) Name() string
type CustomDimensionProvider ¶
type CustomDimensionProvider struct {
Provider
}
func (*CustomDimensionProvider) GetDimension ¶
func (p *CustomDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*CustomDimensionProvider) IsApplicable ¶
func (p *CustomDimensionProvider) IsApplicable() bool
func (*CustomDimensionProvider) Name ¶
func (p *CustomDimensionProvider) Name() string
type ECSInstanceIdDimensionProvider ¶
type ECSInstanceIdDimensionProvider struct {
Provider
}
func (*ECSInstanceIdDimensionProvider) GetDimension ¶
func (p *ECSInstanceIdDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*ECSInstanceIdDimensionProvider) IsApplicable ¶
func (p *ECSInstanceIdDimensionProvider) IsApplicable() bool
func (*ECSInstanceIdDimensionProvider) Name ¶
func (p *ECSInstanceIdDimensionProvider) Name() string
type EKSClusterNameProvider ¶
type EKSClusterNameProvider struct {
Provider
}
func (*EKSClusterNameProvider) GetDimension ¶
func (p *EKSClusterNameProvider) GetDimension(instruction Instruction) types.Dimension
func (*EKSClusterNameProvider) IsApplicable ¶
func (p *EKSClusterNameProvider) IsApplicable() bool
func (*EKSClusterNameProvider) Name ¶
func (p *EKSClusterNameProvider) Name() string
type EMFECSDimensionProvider ¶
type EMFECSDimensionProvider struct {
Provider
}
func (EMFECSDimensionProvider) GetDimension ¶
func (p EMFECSDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (EMFECSDimensionProvider) IsApplicable ¶
func (p EMFECSDimensionProvider) IsApplicable() bool
func (EMFECSDimensionProvider) Name ¶
func (p EMFECSDimensionProvider) Name() string
type ExpectedDimensionValue ¶
type ExpectedDimensionValue struct {
Value *string
}
func UnknownDimensionValue ¶
func UnknownDimensionValue() ExpectedDimensionValue
func (*ExpectedDimensionValue) IsKnown ¶
func (d *ExpectedDimensionValue) IsKnown() bool
type Factory ¶
type Factory struct {
Providers []IProvider
}
func GetDimensionFactory ¶
func GetDimensionFactory(env environment.MetaData) Factory
func (*Factory) GetDimensions ¶
func (f *Factory) GetDimensions(instructions []Instruction) ([]types.Dimension, []Instruction)
type HostDimensionProvider ¶
type HostDimensionProvider struct {
Provider
}
func (*HostDimensionProvider) GetDimension ¶
func (p *HostDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*HostDimensionProvider) IsApplicable ¶
func (p *HostDimensionProvider) IsApplicable() bool
func (*HostDimensionProvider) Name ¶
func (p *HostDimensionProvider) Name() string
type IProvider ¶
type IProvider interface { IsApplicable() bool GetDimension(Instruction) types.Dimension Name() string }
type Instruction ¶
type Instruction struct { Key string Value ExpectedDimensionValue }
type LocalImageIdDimensionProvider ¶
type LocalImageIdDimensionProvider struct {
Provider
}
func (*LocalImageIdDimensionProvider) GetDimension ¶
func (p *LocalImageIdDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*LocalImageIdDimensionProvider) IsApplicable ¶
func (p *LocalImageIdDimensionProvider) IsApplicable() bool
func (*LocalImageIdDimensionProvider) Name ¶
func (p *LocalImageIdDimensionProvider) Name() string
type LocalInstanceIdDimensionProvider ¶
type LocalInstanceIdDimensionProvider struct {
Provider
}
func (*LocalInstanceIdDimensionProvider) GetDimension ¶
func (p *LocalInstanceIdDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*LocalInstanceIdDimensionProvider) IsApplicable ¶
func (p *LocalInstanceIdDimensionProvider) IsApplicable() bool
func (*LocalInstanceIdDimensionProvider) Name ¶
func (p *LocalInstanceIdDimensionProvider) Name() string
type LocalInstanceTypeDimensionProvider ¶
type LocalInstanceTypeDimensionProvider struct {
Provider
}
func (*LocalInstanceTypeDimensionProvider) GetDimension ¶
func (p *LocalInstanceTypeDimensionProvider) GetDimension(instruction Instruction) types.Dimension
func (*LocalInstanceTypeDimensionProvider) IsApplicable ¶
func (p *LocalInstanceTypeDimensionProvider) IsApplicable() bool
func (*LocalInstanceTypeDimensionProvider) Name ¶
func (p *LocalInstanceTypeDimensionProvider) Name() string
Click to show internal directories.
Click to hide internal directories.