Documentation
¶
Index ¶
- Variables
- type AlloyConfigValue
- func (v AlloyConfigValue) Equal(o attr.Value) bool
- func (v AlloyConfigValue) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
- func (v AlloyConfigValue) Type(ctx context.Context) attr.Type
- func (v AlloyConfigValue) ValidateAttribute(ctx context.Context, req xattr.ValidateAttributeRequest, ...)
- type ListOfPrometheusMatcherValue
- func NewListOfPrometheusMatcherValue(elements []attr.Value) (ListOfPrometheusMatcherValue, diag.Diagnostics)
- func NewListOfPrometheusMatcherValueFrom(ctx context.Context, elements []string) (ListOfPrometheusMatcherValue, diag.Diagnostics)
- func NewListOfPrometheusMatcherValueMust(elements []attr.Value) ListOfPrometheusMatcherValue
- func NewListOfPrometheusMatcherValueNull() ListOfPrometheusMatcherValue
- func NewListOfPrometheusMatcherValueUnknown() ListOfPrometheusMatcherValue
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AlloyConfigType = alloyConfigType{}
)
View Source
var DataSources = []*common.DataSource{
newCollectorDataSource(),
newCollectorsDataSource(),
}
View Source
var ( ListOfPrometheusMatcherType = listOfPrometheusMatcherType{ ListType: basetypes.ListType{ ElemType: types.StringType, }, } )
View Source
var Resources = []*common.Resource{
newCollectorResource(),
newPipelineResource(),
}
Functions ¶
This section is empty.
Types ¶
type AlloyConfigValue ¶
type AlloyConfigValue struct {
basetypes.StringValue
}
func NewAlloyConfigValue ¶
func NewAlloyConfigValue(value string) AlloyConfigValue
func (AlloyConfigValue) StringSemanticEquals ¶
func (v AlloyConfigValue) StringSemanticEquals(ctx context.Context, newValuable basetypes.StringValuable) (bool, diag.Diagnostics)
func (AlloyConfigValue) ValidateAttribute ¶
func (v AlloyConfigValue) ValidateAttribute(ctx context.Context, req xattr.ValidateAttributeRequest, resp *xattr.ValidateAttributeResponse)
type ListOfPrometheusMatcherValue ¶
func NewListOfPrometheusMatcherValue ¶
func NewListOfPrometheusMatcherValue(elements []attr.Value) (ListOfPrometheusMatcherValue, diag.Diagnostics)
func NewListOfPrometheusMatcherValueFrom ¶
func NewListOfPrometheusMatcherValueFrom(ctx context.Context, elements []string) (ListOfPrometheusMatcherValue, diag.Diagnostics)
func NewListOfPrometheusMatcherValueMust ¶
func NewListOfPrometheusMatcherValueMust(elements []attr.Value) ListOfPrometheusMatcherValue
func NewListOfPrometheusMatcherValueNull ¶
func NewListOfPrometheusMatcherValueNull() ListOfPrometheusMatcherValue
func NewListOfPrometheusMatcherValueUnknown ¶
func NewListOfPrometheusMatcherValueUnknown() ListOfPrometheusMatcherValue
func (ListOfPrometheusMatcherValue) Equal ¶
func (v ListOfPrometheusMatcherValue) Equal(o attr.Value) bool
func (ListOfPrometheusMatcherValue) ListSemanticEquals ¶
func (v ListOfPrometheusMatcherValue) ListSemanticEquals(ctx context.Context, newValuable basetypes.ListValuable) (bool, diag.Diagnostics)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.