Versions in this module Expand all Collapse all v1 v1.9.1 Jan 2, 2025 Changes in this version + type Attribute interface + GetDataSource func(ctx context.Context) schemaD.Attribute + GetResource func(ctx context.Context) schemaR.Attribute + IsDataSource func() bool + IsResource func() bool + type Attributes map[string]Attribute + type BoolAttribute struct + Common *schemaR.BoolAttribute + DataSource *schemaD.BoolAttribute + Deprecated *Deprecated + Resource *schemaR.BoolAttribute + func (s BoolAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s BoolAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s BoolAttribute) IsDataSource() bool + func (s BoolAttribute) IsResource() bool + type DatasourceTimeoutAttribute struct + Read bool + type Deprecated struct + ComputeMarkdownDeprecationMessage bool + DeprecationMessage string + FromAttributeName string + LinkToIssue string + LinkToMilestone string + LinkToResourceDoc string + MarkdownDeprecationMessage string + OnlyDataSource *bool + OnlyResource *bool + Removed bool + Renamed bool + TargetAttributeName string + TargetRelease string + TargetResourceName string + func (d *Deprecated) GetDeprecationMessage() string + func (d *Deprecated) GetMarkdownDeprecationMessage() string + type DeprecatedResource struct + ComputeMarkdownDeprecationMessage bool + DeprecationMessage string + LinkToIssue string + LinkToMigrationGuide string + LinkToMilestone string + LinkToNewResourceDoc string + MarkdownDeprecationMessage string + Removed bool + Renamed bool + TargetRelease string + TargetResourceName string + func (d *DeprecatedResource) GetDeprecationMessage() string + func (d *DeprecatedResource) GetMarkdownDeprecationMessage(isResource bool) string + type Float64Attribute struct + Common *schemaR.Float64Attribute + DataSource *schemaD.Float64Attribute + Deprecated *Deprecated + Resource *schemaR.Float64Attribute + func (s Float64Attribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s Float64Attribute) GetResource(ctx context.Context) schemaR.Attribute + func (s Float64Attribute) IsDataSource() bool + func (s Float64Attribute) IsResource() bool + type Int64Attribute struct + Common *schemaR.Int64Attribute + DataSource *schemaD.Int64Attribute + Deprecated *Deprecated + Resource *schemaR.Int64Attribute + func (s Int64Attribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s Int64Attribute) GetResource(ctx context.Context) schemaR.Attribute + func (s Int64Attribute) IsDataSource() bool + func (s Int64Attribute) IsResource() bool + type ListAttribute struct + Common *schemaR.ListAttribute + DataSource *schemaD.ListAttribute + Deprecated *Deprecated + Resource *schemaR.ListAttribute + func (s ListAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s ListAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s ListAttribute) IsDataSource() bool + func (s ListAttribute) IsResource() bool + type ListNestedAttribute struct + Attributes Attributes + Common *schemaR.ListNestedAttribute + DataSource *schemaD.ListNestedAttribute + Deprecated *Deprecated + Resource *schemaR.ListNestedAttribute + func (s ListNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s ListNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s ListNestedAttribute) IsDataSource() bool + func (s ListNestedAttribute) IsResource() bool + type MapAttribute struct + Common *schemaR.MapAttribute + DataSource *schemaD.MapAttribute + Deprecated *Deprecated + Resource *schemaR.MapAttribute + func (s MapAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s MapAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s MapAttribute) IsDataSource() bool + func (s MapAttribute) IsResource() bool + type MapNestedAttribute struct + Attributes Attributes + Common *schemaR.MapNestedAttribute + DataSource *schemaD.MapNestedAttribute + Deprecated *Deprecated + Resource *schemaR.MapNestedAttribute + func (s MapNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s MapNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s MapNestedAttribute) IsDataSource() bool + func (s MapNestedAttribute) IsResource() bool + type NumberAttribute struct + Common *schemaR.NumberAttribute + DataSource *schemaD.NumberAttribute + Deprecated *Deprecated + Resource *schemaR.NumberAttribute + func (s NumberAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s NumberAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s NumberAttribute) IsDataSource() bool + func (s NumberAttribute) IsResource() bool + type ObjectAttribute struct + Common *schemaR.ObjectAttribute + DataSource *schemaD.ObjectAttribute + Deprecated *Deprecated + Resource *schemaR.ObjectAttribute + func (s ObjectAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s ObjectAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s ObjectAttribute) IsDataSource() bool + func (s ObjectAttribute) IsResource() bool + type ResourceTimeoutAttribute struct + Create bool + Delete bool + Read bool + Update bool + type Schema struct + Attributes Attributes + Common SchemaDetails + DataSource SchemaDetails + Resource SchemaDetails + func (s Schema) GetDataSource(ctx context.Context) schemaD.Schema + func (s Schema) GetResource(ctx context.Context) schemaR.Schema + type SchemaDetails struct + Deprecated DeprecatedResource + DeprecationMessage string + MarkdownDescription string + type SetAttribute struct + Common *schemaR.SetAttribute + DataSource *schemaD.SetAttribute + Deprecated *Deprecated + Resource *schemaR.SetAttribute + func (s SetAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SetAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SetAttribute) IsDataSource() bool + func (s SetAttribute) IsResource() bool + type SetNestedAttribute struct + Attributes Attributes + Common *schemaR.SetNestedAttribute + DataSource *schemaD.SetNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SetNestedAttribute + func (s SetNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SetNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SetNestedAttribute) IsDataSource() bool + func (s SetNestedAttribute) IsResource() bool + type SingleNestedAttribute struct + Attributes Attributes + Common *schemaR.SingleNestedAttribute + DataSource *schemaD.SingleNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SingleNestedAttribute + func (s SingleNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SingleNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SingleNestedAttribute) IsDataSource() bool + func (s SingleNestedAttribute) IsResource() bool + type StringAttribute struct + Common *schemaR.StringAttribute + DataSource *schemaD.StringAttribute + Deprecated *Deprecated + Resource *schemaR.StringAttribute + func (s StringAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s StringAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s StringAttribute) IsDataSource() bool + func (s StringAttribute) IsResource() bool + type SuperBoolAttribute struct + Common *schemaR.BoolAttribute + DataSource *schemaD.BoolAttribute + Deprecated *Deprecated + Resource *schemaR.BoolAttribute + func (s SuperBoolAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperBoolAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperBoolAttribute) IsDataSource() bool + func (s SuperBoolAttribute) IsResource() bool + type SuperFloat64Attribute struct + Common *schemaR.Float64Attribute + DataSource *schemaD.Float64Attribute + Deprecated *Deprecated + Resource *schemaR.Float64Attribute + func (s SuperFloat64Attribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperFloat64Attribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperFloat64Attribute) IsDataSource() bool + func (s SuperFloat64Attribute) IsResource() bool + type SuperInt64Attribute struct + Common *schemaR.Int64Attribute + DataSource *schemaD.Int64Attribute + Deprecated *Deprecated + Resource *schemaR.Int64Attribute + func (s SuperInt64Attribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperInt64Attribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperInt64Attribute) IsDataSource() bool + func (s SuperInt64Attribute) IsResource() bool + type SuperListAttribute struct + Common *schemaR.ListAttribute + DataSource *schemaD.ListAttribute + Deprecated *Deprecated + Resource *schemaR.ListAttribute + func (s SuperListAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperListAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperListAttribute) IsDataSource() bool + func (s SuperListAttribute) IsResource() bool + type SuperListAttributeOf struct + Common *schemaR.ListAttribute + DataSource *schemaD.ListAttribute + Deprecated *Deprecated + Resource *schemaR.ListAttribute + func (s SuperListAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperListAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperListAttributeOf[T]) IsDataSource() bool + func (s SuperListAttributeOf[T]) IsResource() bool + type SuperListNestedAttribute struct + Attributes Attributes + Common *schemaR.ListNestedAttribute + DataSource *schemaD.ListNestedAttribute + Deprecated *Deprecated + Resource *schemaR.ListNestedAttribute + func (s SuperListNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperListNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperListNestedAttribute) IsDataSource() bool + func (s SuperListNestedAttribute) IsResource() bool + type SuperListNestedAttributeOf struct + Attributes Attributes + Common *schemaR.ListNestedAttribute + DataSource *schemaD.ListNestedAttribute + Deprecated *Deprecated + Resource *schemaR.ListNestedAttribute + func (s SuperListNestedAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperListNestedAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperListNestedAttributeOf[T]) IsDataSource() bool + func (s SuperListNestedAttributeOf[T]) IsResource() bool + type SuperMapAttribute struct + Common *schemaR.MapAttribute + DataSource *schemaD.MapAttribute + Deprecated *Deprecated + Resource *schemaR.MapAttribute + func (s SuperMapAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperMapAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperMapAttribute) IsDataSource() bool + func (s SuperMapAttribute) IsResource() bool + type SuperMapAttributeOf struct + Common *schemaR.MapAttribute + DataSource *schemaD.MapAttribute + Deprecated *Deprecated + Resource *schemaR.MapAttribute + func (s SuperMapAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperMapAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperMapAttributeOf[T]) IsDataSource() bool + func (s SuperMapAttributeOf[T]) IsResource() bool + type SuperMapNestedAttribute struct + Attributes Attributes + Common *schemaR.MapNestedAttribute + DataSource *schemaD.MapNestedAttribute + Deprecated *Deprecated + Resource *schemaR.MapNestedAttribute + func (s SuperMapNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperMapNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperMapNestedAttribute) IsDataSource() bool + func (s SuperMapNestedAttribute) IsResource() bool + type SuperMapNestedAttributeOf struct + Attributes Attributes + Common *schemaR.MapNestedAttribute + DataSource *schemaD.MapNestedAttribute + Deprecated *Deprecated + Resource *schemaR.MapNestedAttribute + func (s SuperMapNestedAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperMapNestedAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperMapNestedAttributeOf[T]) IsDataSource() bool + func (s SuperMapNestedAttributeOf[T]) IsResource() bool + type SuperNumberAttribute struct + Common *schemaR.NumberAttribute + DataSource *schemaD.NumberAttribute + Deprecated *Deprecated + Resource *schemaR.NumberAttribute + func (s SuperNumberAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperNumberAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperNumberAttribute) IsDataSource() bool + func (s SuperNumberAttribute) IsResource() bool + type SuperObjectAttribute struct + Common *schemaR.ObjectAttribute + DataSource *schemaD.ObjectAttribute + Deprecated *Deprecated + Resource *schemaR.ObjectAttribute + func (s SuperObjectAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperObjectAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperObjectAttribute) IsDataSource() bool + func (s SuperObjectAttribute) IsResource() bool + type SuperSetAttribute struct + Common *schemaR.SetAttribute + DataSource *schemaD.SetAttribute + Deprecated *Deprecated + Resource *schemaR.SetAttribute + func (s SuperSetAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSetAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSetAttribute) IsDataSource() bool + func (s SuperSetAttribute) IsResource() bool + type SuperSetAttributeOf struct + Common *schemaR.SetAttribute + DataSource *schemaD.SetAttribute + Deprecated *Deprecated + Resource *schemaR.SetAttribute + func (s SuperSetAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSetAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSetAttributeOf[T]) IsDataSource() bool + func (s SuperSetAttributeOf[T]) IsResource() bool + type SuperSetNestedAttribute struct + Attributes Attributes + Common *schemaR.SetNestedAttribute + DataSource *schemaD.SetNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SetNestedAttribute + func (s SuperSetNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSetNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSetNestedAttribute) IsDataSource() bool + func (s SuperSetNestedAttribute) IsResource() bool + type SuperSetNestedAttributeOf struct + Attributes Attributes + Common *schemaR.SetNestedAttribute + DataSource *schemaD.SetNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SetNestedAttribute + func (s SuperSetNestedAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSetNestedAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSetNestedAttributeOf[T]) IsDataSource() bool + func (s SuperSetNestedAttributeOf[T]) IsResource() bool + type SuperSingleNestedAttribute struct + Attributes Attributes + Common *schemaR.SingleNestedAttribute + DataSource *schemaD.SingleNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SingleNestedAttribute + func (s SuperSingleNestedAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSingleNestedAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSingleNestedAttribute) IsDataSource() bool + func (s SuperSingleNestedAttribute) IsResource() bool + type SuperSingleNestedAttributeOf struct + Attributes Attributes + Common *schemaR.SingleNestedAttribute + DataSource *schemaD.SingleNestedAttribute + Deprecated *Deprecated + Resource *schemaR.SingleNestedAttribute + func (s SuperSingleNestedAttributeOf[T]) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperSingleNestedAttributeOf[T]) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperSingleNestedAttributeOf[T]) IsDataSource() bool + func (s SuperSingleNestedAttributeOf[T]) IsResource() bool + type SuperStringAttribute struct + Common *schemaR.StringAttribute + DataSource *schemaD.StringAttribute + Deprecated *Deprecated + Resource *schemaR.StringAttribute + func (s SuperStringAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s SuperStringAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s SuperStringAttribute) IsDataSource() bool + func (s SuperStringAttribute) IsResource() bool + type TimeoutAttribute struct + DataSource *DatasourceTimeoutAttribute + Resource *ResourceTimeoutAttribute + func (s TimeoutAttribute) GetDataSource(ctx context.Context) schemaD.Attribute + func (s TimeoutAttribute) GetResource(ctx context.Context) schemaR.Attribute + func (s TimeoutAttribute) IsDataSource() bool + func (s TimeoutAttribute) IsResource() bool