Documentation
¶
Index ¶
- Variables
- func GetDatasourceGetAttributes() map[string]schema.Attribute
- func GetRouteDataSourceAttributes() map[string]schema.Attribute
- func GetRoutesDataSourceAttributes() map[string]schema.Attribute
- func MapRouteDestination(routeResp *iaasalpha.Route) (types.Object, error)
- func MapRouteModel(ctx context.Context, route *iaasalpha.Route, model *RouteModel, region string) error
- func MapRouteNextHop(routeResp *iaasalpha.Route) (types.Object, error)
- func MapRouteReadModel(ctx context.Context, route *iaasalpha.Route, model *RouteReadModel) error
- func MapRoutingTableReadModel(ctx context.Context, routingTable *iaasalpha.RoutingTable, ...) error
- func RouteModelTypes() map[string]attr.Type
- func RouteReadModelTypes() map[string]attr.Type
- func RouteResponseAttributes() map[string]schema.Attribute
- func RoutingTableReadModelTypes() map[string]attr.Type
- func RoutingTableResponseAttributes() map[string]schema.Attribute
- type RouteDestination
- type RouteModel
- type RouteNextHop
- type RouteReadModel
- type RoutingTableDataSourceModel
- type RoutingTableReadModel
Constants ¶
This section is empty.
Variables ¶
View Source
var RouteDestinationTypes = map[string]attr.Type{ "type": types.StringType, "value": types.StringType, }
RouteDestinationTypes Types corresponding to routeDestination
View Source
var RouteNextHopTypes = map[string]attr.Type{ "type": types.StringType, "value": types.StringType, }
RouteNextHopTypes Types corresponding to routeNextHop
Functions ¶
func MapRouteDestination ¶
func MapRouteModel ¶
func MapRouteReadModel ¶
func MapRoutingTableReadModel ¶
func MapRoutingTableReadModel(ctx context.Context, routingTable *iaasalpha.RoutingTable, model *RoutingTableReadModel) error
func RouteModelTypes ¶
func RouteReadModelTypes ¶
func RouteResponseAttributes ¶
Types ¶
type RouteDestination ¶
type RouteDestination struct { Type types.String `tfsdk:"type"` Value types.String `tfsdk:"value"` }
RouteDestination is the struct corresponding to RouteReadModel.Destination
type RouteModel ¶
type RouteNextHop ¶
RouteNextHop is the struct corresponding to RouteReadModel.NextHop
type RouteReadModel ¶
type RoutingTableReadModel ¶
type RoutingTableReadModel struct { RoutingTableId types.String `tfsdk:"routing_table_id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Labels types.Map `tfsdk:"labels"` CreatedAt types.String `tfsdk:"created_at"` UpdatedAt types.String `tfsdk:"updated_at"` Default types.Bool `tfsdk:"default"` SystemRoutes types.Bool `tfsdk:"system_routes"` }
Click to show internal directories.
Click to hide internal directories.