Documentation ¶
Index ¶
- func OrgRftemplateResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *OrgRftemplateModel) (*models.RfTemplate, diag.Diagnostics)
- type Band24Type
- func (t Band24Type) Equal(o attr.Type) bool
- func (t Band24Type) String() string
- func (t Band24Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t Band24Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Band24Type) ValueType(ctx context.Context) attr.Value
- type Band24Value
- func NewBand24Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band24Value, diag.Diagnostics)
- func NewBand24ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band24Value
- func NewBand24ValueNull() Band24Value
- func NewBand24ValueUnknown() Band24Value
- func (v Band24Value) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v Band24Value) Equal(o attr.Value) bool
- func (v Band24Value) IsNull() bool
- func (v Band24Value) IsUnknown() bool
- func (v Band24Value) String() string
- func (v Band24Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v Band24Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v Band24Value) Type(ctx context.Context) attr.Type
- type Band5On24RadioType
- func (t Band5On24RadioType) Equal(o attr.Type) bool
- func (t Band5On24RadioType) String() string
- func (t Band5On24RadioType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t Band5On24RadioType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Band5On24RadioType) ValueType(ctx context.Context) attr.Value
- type Band5On24RadioValue
- func NewBand5On24RadioValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band5On24RadioValue, diag.Diagnostics)
- func NewBand5On24RadioValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band5On24RadioValue
- func NewBand5On24RadioValueNull() Band5On24RadioValue
- func NewBand5On24RadioValueUnknown() Band5On24RadioValue
- func (v Band5On24RadioValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v Band5On24RadioValue) Equal(o attr.Value) bool
- func (v Band5On24RadioValue) IsNull() bool
- func (v Band5On24RadioValue) IsUnknown() bool
- func (v Band5On24RadioValue) String() string
- func (v Band5On24RadioValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v Band5On24RadioValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v Band5On24RadioValue) Type(ctx context.Context) attr.Type
- type Band5Type
- func (t Band5Type) Equal(o attr.Type) bool
- func (t Band5Type) String() string
- func (t Band5Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t Band5Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Band5Type) ValueType(ctx context.Context) attr.Value
- type Band5Value
- func NewBand5Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band5Value, diag.Diagnostics)
- func NewBand5ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band5Value
- func NewBand5ValueNull() Band5Value
- func NewBand5ValueUnknown() Band5Value
- func (v Band5Value) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v Band5Value) Equal(o attr.Value) bool
- func (v Band5Value) IsNull() bool
- func (v Band5Value) IsUnknown() bool
- func (v Band5Value) String() string
- func (v Band5Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v Band5Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v Band5Value) Type(ctx context.Context) attr.Type
- type Band6Type
- func (t Band6Type) Equal(o attr.Type) bool
- func (t Band6Type) String() string
- func (t Band6Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t Band6Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Band6Type) ValueType(ctx context.Context) attr.Value
- type Band6Value
- func NewBand6Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band6Value, diag.Diagnostics)
- func NewBand6ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Band6Value
- func NewBand6ValueNull() Band6Value
- func NewBand6ValueUnknown() Band6Value
- func (v Band6Value) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v Band6Value) Equal(o attr.Value) bool
- func (v Band6Value) IsNull() bool
- func (v Band6Value) IsUnknown() bool
- func (v Band6Value) String() string
- func (v Band6Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v Band6Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v Band6Value) Type(ctx context.Context) attr.Type
- type ModelSpecificType
- func (t ModelSpecificType) Equal(o attr.Type) bool
- func (t ModelSpecificType) String() string
- func (t ModelSpecificType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ModelSpecificType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ModelSpecificType) ValueType(ctx context.Context) attr.Value
- type ModelSpecificValue
- func NewModelSpecificValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ModelSpecificValue, diag.Diagnostics)
- func NewModelSpecificValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ModelSpecificValue
- func NewModelSpecificValueNull() ModelSpecificValue
- func NewModelSpecificValueUnknown() ModelSpecificValue
- func (v ModelSpecificValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ModelSpecificValue) Equal(o attr.Value) bool
- func (v ModelSpecificValue) IsNull() bool
- func (v ModelSpecificValue) IsUnknown() bool
- func (v ModelSpecificValue) String() string
- func (v ModelSpecificValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v ModelSpecificValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ModelSpecificValue) Type(ctx context.Context) attr.Type
- type OrgRftemplateModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgRftemplateModel) (*models.RfTemplate, diag.Diagnostics)
Types ¶
type Band24Type ¶
type Band24Type struct {
basetypes.ObjectType
}
func (Band24Type) String ¶
func (t Band24Type) String() string
func (Band24Type) ValueFromObject ¶
func (t Band24Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (Band24Type) ValueFromTerraform ¶
type Band24Value ¶
type Band24Value struct { AllowRrmDisable basetypes.BoolValue `tfsdk:"allow_rrm_disable"` AntGain basetypes.Int64Value `tfsdk:"ant_gain"` AntennaMode basetypes.StringValue `tfsdk:"antenna_mode"` Bandwidth basetypes.Int64Value `tfsdk:"bandwidth"` Channels basetypes.ListValue `tfsdk:"channels"` Disabled basetypes.BoolValue `tfsdk:"disabled"` Power basetypes.Int64Value `tfsdk:"power"` PowerMax basetypes.Int64Value `tfsdk:"power_max"` PowerMin basetypes.Int64Value `tfsdk:"power_min"` Preamble basetypes.StringValue `tfsdk:"preamble"` // contains filtered or unexported fields }
func NewBand24Value ¶
func NewBand24Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band24Value, diag.Diagnostics)
func NewBand24ValueMust ¶
func NewBand24ValueNull ¶
func NewBand24ValueNull() Band24Value
func NewBand24ValueUnknown ¶
func NewBand24ValueUnknown() Band24Value
func (Band24Value) AttributeTypes ¶
func (Band24Value) IsNull ¶
func (v Band24Value) IsNull() bool
func (Band24Value) IsUnknown ¶
func (v Band24Value) IsUnknown() bool
func (Band24Value) String ¶
func (v Band24Value) String() string
func (Band24Value) ToObjectValue ¶
func (v Band24Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (Band24Value) ToTerraformValue ¶
type Band5On24RadioType ¶
type Band5On24RadioType struct {
basetypes.ObjectType
}
func (Band5On24RadioType) String ¶
func (t Band5On24RadioType) String() string
func (Band5On24RadioType) ValueFromObject ¶
func (t Band5On24RadioType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (Band5On24RadioType) ValueFromTerraform ¶
type Band5On24RadioValue ¶
type Band5On24RadioValue struct { AllowRrmDisable basetypes.BoolValue `tfsdk:"allow_rrm_disable"` AntGain basetypes.Int64Value `tfsdk:"ant_gain"` AntennaMode basetypes.StringValue `tfsdk:"antenna_mode"` Bandwidth basetypes.Int64Value `tfsdk:"bandwidth"` Channels basetypes.ListValue `tfsdk:"channels"` Disabled basetypes.BoolValue `tfsdk:"disabled"` Power basetypes.Int64Value `tfsdk:"power"` PowerMax basetypes.Int64Value `tfsdk:"power_max"` PowerMin basetypes.Int64Value `tfsdk:"power_min"` Preamble basetypes.StringValue `tfsdk:"preamble"` // contains filtered or unexported fields }
func NewBand5On24RadioValue ¶
func NewBand5On24RadioValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band5On24RadioValue, diag.Diagnostics)
func NewBand5On24RadioValueNull ¶
func NewBand5On24RadioValueNull() Band5On24RadioValue
func NewBand5On24RadioValueUnknown ¶
func NewBand5On24RadioValueUnknown() Band5On24RadioValue
func (Band5On24RadioValue) AttributeTypes ¶
func (Band5On24RadioValue) IsNull ¶
func (v Band5On24RadioValue) IsNull() bool
func (Band5On24RadioValue) IsUnknown ¶
func (v Band5On24RadioValue) IsUnknown() bool
func (Band5On24RadioValue) String ¶
func (v Band5On24RadioValue) String() string
func (Band5On24RadioValue) ToObjectValue ¶
func (v Band5On24RadioValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (Band5On24RadioValue) ToTerraformValue ¶
type Band5Type ¶
type Band5Type struct {
basetypes.ObjectType
}
func (Band5Type) ValueFromObject ¶
func (t Band5Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (Band5Type) ValueFromTerraform ¶
type Band5Value ¶
type Band5Value struct { AllowRrmDisable basetypes.BoolValue `tfsdk:"allow_rrm_disable"` AntGain basetypes.Int64Value `tfsdk:"ant_gain"` AntennaMode basetypes.StringValue `tfsdk:"antenna_mode"` Bandwidth basetypes.Int64Value `tfsdk:"bandwidth"` Channels basetypes.ListValue `tfsdk:"channels"` Disabled basetypes.BoolValue `tfsdk:"disabled"` Power basetypes.Int64Value `tfsdk:"power"` PowerMax basetypes.Int64Value `tfsdk:"power_max"` PowerMin basetypes.Int64Value `tfsdk:"power_min"` Preamble basetypes.StringValue `tfsdk:"preamble"` // contains filtered or unexported fields }
func NewBand5Value ¶
func NewBand5Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band5Value, diag.Diagnostics)
func NewBand5ValueMust ¶
func NewBand5ValueNull ¶
func NewBand5ValueNull() Band5Value
func NewBand5ValueUnknown ¶
func NewBand5ValueUnknown() Band5Value
func (Band5Value) AttributeTypes ¶
func (Band5Value) IsNull ¶
func (v Band5Value) IsNull() bool
func (Band5Value) IsUnknown ¶
func (v Band5Value) IsUnknown() bool
func (Band5Value) String ¶
func (v Band5Value) String() string
func (Band5Value) ToObjectValue ¶
func (v Band5Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (Band5Value) ToTerraformValue ¶
type Band6Type ¶
type Band6Type struct {
basetypes.ObjectType
}
func (Band6Type) ValueFromObject ¶
func (t Band6Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (Band6Type) ValueFromTerraform ¶
type Band6Value ¶
type Band6Value struct { AllowRrmDisable basetypes.BoolValue `tfsdk:"allow_rrm_disable"` AntGain basetypes.Int64Value `tfsdk:"ant_gain"` AntennaMode basetypes.StringValue `tfsdk:"antenna_mode"` Bandwidth basetypes.Int64Value `tfsdk:"bandwidth"` Channels basetypes.ListValue `tfsdk:"channels"` Disabled basetypes.BoolValue `tfsdk:"disabled"` Power basetypes.Int64Value `tfsdk:"power"` PowerMax basetypes.Int64Value `tfsdk:"power_max"` PowerMin basetypes.Int64Value `tfsdk:"power_min"` Preamble basetypes.StringValue `tfsdk:"preamble"` StandardPower basetypes.BoolValue `tfsdk:"standard_power"` // contains filtered or unexported fields }
func NewBand6Value ¶
func NewBand6Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Band6Value, diag.Diagnostics)
func NewBand6ValueMust ¶
func NewBand6ValueNull ¶
func NewBand6ValueNull() Band6Value
func NewBand6ValueUnknown ¶
func NewBand6ValueUnknown() Band6Value
func (Band6Value) AttributeTypes ¶
func (Band6Value) IsNull ¶
func (v Band6Value) IsNull() bool
func (Band6Value) IsUnknown ¶
func (v Band6Value) IsUnknown() bool
func (Band6Value) String ¶
func (v Band6Value) String() string
func (Band6Value) ToObjectValue ¶
func (v Band6Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (Band6Value) ToTerraformValue ¶
type ModelSpecificType ¶
type ModelSpecificType struct {
basetypes.ObjectType
}
func (ModelSpecificType) String ¶
func (t ModelSpecificType) String() string
func (ModelSpecificType) ValueFromObject ¶
func (t ModelSpecificType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ModelSpecificType) ValueFromTerraform ¶
type ModelSpecificValue ¶
type ModelSpecificValue struct { AntGain24 basetypes.Int64Value `tfsdk:"ant_gain_24"` AntGain5 basetypes.Int64Value `tfsdk:"ant_gain_5"` AntGain6 basetypes.Int64Value `tfsdk:"ant_gain_6"` Band24 basetypes.ObjectValue `tfsdk:"band_24"` Band24Usage basetypes.StringValue `tfsdk:"band_24_usage"` Band5 basetypes.ObjectValue `tfsdk:"band_5"` Band5On24Radio basetypes.ObjectValue `tfsdk:"band_5_on_24_radio"` Band6 basetypes.ObjectValue `tfsdk:"band_6"` // contains filtered or unexported fields }
func NewModelSpecificValue ¶
func NewModelSpecificValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ModelSpecificValue, diag.Diagnostics)
func NewModelSpecificValueNull ¶
func NewModelSpecificValueNull() ModelSpecificValue
func NewModelSpecificValueUnknown ¶
func NewModelSpecificValueUnknown() ModelSpecificValue
func (ModelSpecificValue) AttributeTypes ¶
func (ModelSpecificValue) IsNull ¶
func (v ModelSpecificValue) IsNull() bool
func (ModelSpecificValue) IsUnknown ¶
func (v ModelSpecificValue) IsUnknown() bool
func (ModelSpecificValue) String ¶
func (v ModelSpecificValue) String() string
func (ModelSpecificValue) ToObjectValue ¶
func (v ModelSpecificValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (ModelSpecificValue) ToTerraformValue ¶
type OrgRftemplateModel ¶
type OrgRftemplateModel struct { AntGain24 types.Int64 `tfsdk:"ant_gain_24"` AntGain5 types.Int64 `tfsdk:"ant_gain_5"` AntGain6 types.Int64 `tfsdk:"ant_gain_6"` Band24 Band24Value `tfsdk:"band_24"` Band24Usage types.String `tfsdk:"band_24_usage"` Band5 Band5Value `tfsdk:"band_5"` Band5On24Radio Band5On24RadioValue `tfsdk:"band_5_on_24_radio"` Band6 Band6Value `tfsdk:"band_6"` CountryCode types.String `tfsdk:"country_code"` Id types.String `tfsdk:"id"` ModelSpecific types.Map `tfsdk:"model_specific"` Name types.String `tfsdk:"name"` OrgId types.String `tfsdk:"org_id"` ScanningEnabled types.Bool `tfsdk:"scanning_enabled"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, data models.RfTemplate) (OrgRftemplateModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.