Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterIPsObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{ "cluster_name": types.StringType, "inbound": types.ListType{ElemType: types.StringType}, "outbound": types.ListType{ElemType: types.StringType}, "future_inbound": types.ListType{ElemType: types.StringType}, "future_outbound": types.ListType{ElemType: types.StringType}, }}
View Source
var IPAddressesObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{ "project_id": types.StringType, "services": ServicesObjectType, }}
View Source
var ServicesObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{ "clusters": types.ListType{ElemType: ClusterIPsObjectType}, }}
Functions ¶
func DataSource ¶
func DataSource() datasource.DataSource
Types ¶
type TFClusterValueModel ¶
type TFProjectIpAddressesModel ¶
type TFProjectIpAddressesModel struct { ProjectId types.String `tfsdk:"project_id"` Services types.Object `tfsdk:"services"` }
func NewTFProjectIPAddresses ¶
func NewTFProjectIPAddresses(ctx context.Context, ipAddresses *admin.GroupIPAddresses) (*TFProjectIpAddressesModel, diag.Diagnostics)
type TFServicesModel ¶
type TFServicesModel struct {
Clusters []TFClusterValueModel `tfsdk:"clusters"`
}
Click to show internal directories.
Click to hide internal directories.