provider

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 66 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppDeployedRunningCheckIntervalSecondsDefault        = 5
	AppDeployedRunningTimeoutMinutesDefault              = 5
	AppDeployedRunningTimeoutMinutesFeatureNotUsed       = 0
	AppDeployedRunningCheckIntervalSecondsFeatureNotUsed = 0
	AppDeployedRunningCheckIntervalSecondsMinimum        = 1
	AppDeployedRunningCheckIntervalSecondsMaximum        = 30
	AppDeployedRunningTimeoutMinutesMinimum              = 1
)

Variables

This section is empty.

Functions

func New

func New(version string, httpClient *http.Client) func() provider.Provider

func NewAppDataSource

func NewAppDataSource() datasource.DataSource

func NewAppResource

func NewAppResource() resource.Resource

func NewAppsDataSource

func NewAppsDataSource() datasource.DataSource

func NewBuildpackListResource added in v1.14.0

func NewBuildpackListResource() list.ListResource

func NewBuildpackResource

func NewBuildpackResource() resource.Resource

Instantiates a security group resource.

func NewBuildpacksDataSource

func NewBuildpacksDataSource() datasource.DataSource

func NewCFUserResource

func NewCFUserResource() resource.Resource

Instantiates a user resource.

func NewDomainDataSource

func NewDomainDataSource() datasource.DataSource

Instantiates a security group data source.

func NewDomainListResource added in v1.14.0

func NewDomainListResource() list.ListResource

func NewDomainResource

func NewDomainResource() resource.Resource

Instantiates a domain resource.

func NewDomainsDataSource

func NewDomainsDataSource() datasource.DataSource

Instantiates a security group data source.

func NewIsolationSegmentDataSource

func NewIsolationSegmentDataSource() datasource.DataSource

func NewIsolationSegmentEntitlementDataSource

func NewIsolationSegmentEntitlementDataSource() datasource.DataSource

func NewIsolationSegmentEntitlementResource

func NewIsolationSegmentEntitlementResource() resource.Resource

Instantiates an isolation segment resource.

func NewIsolationSegmentListResource added in v1.14.0

func NewIsolationSegmentListResource() list.ListResource

func NewIsolationSegmentResource

func NewIsolationSegmentResource() resource.Resource

Instantiates an isolation segment resource.

func NewIsolationSegmentsDataSource

func NewIsolationSegmentsDataSource() datasource.DataSource

func NewMtaDataSource

func NewMtaDataSource() datasource.DataSource

Instantiates a mtar data source.

func NewMtaListResource added in v1.15.0

func NewMtaListResource() list.ListResource

func NewMtaResource

func NewMtaResource() resource.Resource

func NewMtasDataSource

func NewMtasDataSource() datasource.DataSource

Instantiates a mtar data source.

func NewNetworkPolicyResource

func NewNetworkPolicyResource() resource.Resource

func NewOrgDataSource

func NewOrgDataSource() datasource.DataSource

func NewOrgListResource added in v1.14.0

func NewOrgListResource() list.ListResource

func NewOrgQuotaDataSource

func NewOrgQuotaDataSource() datasource.DataSource

func NewOrgQuotaListResource added in v1.14.0

func NewOrgQuotaListResource() list.ListResource

func NewOrgQuotaResource

func NewOrgQuotaResource() resource.Resource

func NewOrgQuotasDataSource

func NewOrgQuotasDataSource() datasource.DataSource

func NewOrgResource

func NewOrgResource() resource.Resource

NewOrgResource is a helper function to simplify the provider implementation.

func NewOrgRoleDataSource

func NewOrgRoleDataSource() datasource.DataSource

Instantiates a space role data source.

func NewOrgRoleListResource added in v1.14.0

func NewOrgRoleListResource() list.ListResource

func NewOrgRolesDataSource

func NewOrgRolesDataSource() datasource.DataSource

Instantiates a space role data source.

func NewOrgeRoleResource

func NewOrgeRoleResource() resource.Resource

Instantiates a role resource.

func NewOrgsDataSource

func NewOrgsDataSource() datasource.DataSource

func NewRemoteMtarHashDataSource

func NewRemoteMtarHashDataSource() datasource.DataSource

Instantiates a remote file hash data source.

func NewRouteDataSource

func NewRouteDataSource() datasource.DataSource

Instantiates a route group data source.

func NewRouteListResource added in v1.14.0

func NewRouteListResource() list.ListResource

func NewRouteResource

func NewRouteResource() resource.Resource

Instantiates a security group resource.

func NewRoutesDataSource

func NewRoutesDataSource() datasource.DataSource

Instantiates a route group data source.

func NewSecurityGroupDataSource

func NewSecurityGroupDataSource() datasource.DataSource

Instantiates a security group data source.

func NewSecurityGroupListResource added in v1.14.0

func NewSecurityGroupListResource() list.ListResource

func NewSecurityGroupResource

func NewSecurityGroupResource() resource.Resource

Instantiates a security group resource.

func NewSecurityGroupSpacesResource

func NewSecurityGroupSpacesResource() resource.Resource

Instantiates an isolation segment resource.

func NewSecurityGroupsDataSource

func NewSecurityGroupsDataSource() datasource.DataSource

Instantiates a security group data source.

func NewServiceBrokerDataSource

func NewServiceBrokerDataSource() datasource.DataSource

func NewServiceBrokerListResource added in v1.15.0

func NewServiceBrokerListResource() list.ListResource

func NewServiceBrokerResource

func NewServiceBrokerResource() resource.Resource

func NewServiceBrokersDataSource

func NewServiceBrokersDataSource() datasource.DataSource

func NewServiceCredentialBindingDataSource

func NewServiceCredentialBindingDataSource() datasource.DataSource

func NewServiceCredentialBindingDetailsDataSource added in v1.9.0

func NewServiceCredentialBindingDetailsDataSource() datasource.DataSource

func NewServiceCredentialBindingListResource added in v1.15.0

func NewServiceCredentialBindingListResource() list.ListResource

func NewServiceCredentialBindingResource

func NewServiceCredentialBindingResource() resource.Resource

func NewServiceCredentialBindingsDataSource added in v1.9.0

func NewServiceCredentialBindingsDataSource() datasource.DataSource

func NewServiceInstanceDataSource

func NewServiceInstanceDataSource() datasource.DataSource

func NewServiceInstanceListResource added in v1.15.0

func NewServiceInstanceListResource() list.ListResource

func NewServiceInstanceResource

func NewServiceInstanceResource() resource.Resource

func NewServiceInstanceSharingResource

func NewServiceInstanceSharingResource() resource.Resource

func NewServiceInstancesDataSource

func NewServiceInstancesDataSource() datasource.DataSource

func NewServicePlanDataSource

func NewServicePlanDataSource() datasource.DataSource

func NewServicePlanVisibilityResource

func NewServicePlanVisibilityResource() resource.Resource

func NewServicePlansDataSource

func NewServicePlansDataSource() datasource.DataSource

func NewServiceRouteBindingDataSource

func NewServiceRouteBindingDataSource() datasource.DataSource

func NewServiceRouteBindingListResource added in v1.15.0

func NewServiceRouteBindingListResource() list.ListResource

func NewServiceRouteBindingResource

func NewServiceRouteBindingResource() resource.Resource

func NewServiceRouteBindingsDataSource

func NewServiceRouteBindingsDataSource() datasource.DataSource

func NewSpaceDataSource

func NewSpaceDataSource() datasource.DataSource

Instantiates a space data source.

func NewSpaceListResource added in v1.14.0

func NewSpaceListResource() list.ListResource

func NewSpaceQuotaDataSource

func NewSpaceQuotaDataSource() datasource.DataSource

func NewSpaceQuotaListResource added in v1.14.0

func NewSpaceQuotaListResource() list.ListResource

func NewSpaceQuotaResource

func NewSpaceQuotaResource() resource.Resource

func NewSpaceQuotasDataSource

func NewSpaceQuotasDataSource() datasource.DataSource

func NewSpaceResource

func NewSpaceResource() resource.Resource

Instantiates a space resource.

func NewSpaceRoleDataSource

func NewSpaceRoleDataSource() datasource.DataSource

Instantiates a space role data source.

func NewSpaceRoleListResource added in v1.14.0

func NewSpaceRoleListResource() list.ListResource

func NewSpaceRoleResource

func NewSpaceRoleResource() resource.Resource

Instantiates a role resource.

func NewSpaceRolesDataSource

func NewSpaceRolesDataSource() datasource.DataSource

Instantiates a space role data source.

func NewSpacesDataSource

func NewSpacesDataSource() datasource.DataSource

Instantiates a space data source.

func NewStackDataSource

func NewStackDataSource() datasource.DataSource

Instantiates a security group data source.

func NewStacksDataSource

func NewStacksDataSource() datasource.DataSource

func NewUserDataSource

func NewUserDataSource() datasource.DataSource

Instantiates a user data source.

func NewUserGroupsResource

func NewUserGroupsResource() resource.Resource

Instantiates a user resource.

func NewUserListResource added in v1.15.0

func NewUserListResource() list.ListResource

func NewUserResource

func NewUserResource() resource.Resource

Instantiates a user resource.

func NewUsersDataSource

func NewUsersDataSource() datasource.DataSource

Instantiates a space/org users data source.

func ReComputeIntValue

func ReComputeIntValue() planmodifier.Int64

ReComputeIntValue returns a plan modifier that forces recomputation of an already set value.

func ReComputeStringValue

func ReComputeStringValue() planmodifier.String

ReComputeStringValue returns a plan modifier that forces recomputation of an already set value.

Types

type AppType

type AppType struct {
	Name                                  types.String       `tfsdk:"name"`
	Space                                 types.String       `tfsdk:"space_name"`
	Org                                   types.String       `tfsdk:"org_name"`
	EnableSSH                             types.Bool         `tfsdk:"enable_ssh"`
	Stack                                 types.String       `tfsdk:"stack"`
	Buildpacks                            types.List         `tfsdk:"buildpacks"`
	Path                                  types.String       `tfsdk:"path"`
	SourceCodeHash                        types.String       `tfsdk:"source_code_hash"`
	DockerImage                           types.String       `tfsdk:"docker_image"`
	DockerCredentials                     *DockerCredentials `tfsdk:"docker_credentials"`
	Strategy                              types.String       `tfsdk:"strategy"`
	ServiceBindings                       types.Set          `tfsdk:"service_bindings"`
	Routes                                types.Set          `tfsdk:"routes"`
	Stopped                               types.Bool         `tfsdk:"stopped"`
	Environment                           types.Map          `tfsdk:"environment"`
	HealthCheckInterval                   types.Int64        `tfsdk:"health_check_interval"`
	ReadinessHealthCheckType              types.String       `tfsdk:"readiness_health_check_type"`
	ReadinessHealthCheckHttpEndpoint      types.String       `tfsdk:"readiness_health_check_http_endpoint"`
	ReadinessHealthCheckInvocationTimeout types.Int64        `tfsdk:"readiness_health_check_invocation_timeout"`
	ReadinessHealthCheckInterval          types.Int64        `tfsdk:"readiness_health_check_interval"`
	LogRateLimitPerSecond                 types.String       `tfsdk:"log_rate_limit_per_second"`
	NoRoute                               types.Bool         `tfsdk:"no_route"`
	RandomRoute                           types.Bool         `tfsdk:"random_route"`
	AppDeployedRunningTimeout             types.Int64        `tfsdk:"app_deployed_running_timeout"`
	AppDeployedRunningCheckInterval       types.Int64        `tfsdk:"app_deployed_running_check_interval"`
	Processes                             []Process          `tfsdk:"processes"`
	Sidecars                              []Sidecar          `tfsdk:"sidecars"`
	ID                                    types.String       `tfsdk:"id"`
	CreatedAt                             types.String       `tfsdk:"created_at"`
	UpdatedAt                             types.String       `tfsdk:"updated_at"`
	Command                               types.String       `tfsdk:"command"`
	DiskQuota                             types.String       `tfsdk:"disk_quota"`
	HealthCheckHttpEndpoint               types.String       `tfsdk:"health_check_http_endpoint"`
	HealthCheckInvocationTimeout          types.Int64        `tfsdk:"health_check_invocation_timeout"`
	HealthCheckType                       types.String       `tfsdk:"health_check_type"`
	Instances                             types.Int64        `tfsdk:"instances"`
	Memory                                types.String       `tfsdk:"memory"`
	Timeout                               types.Int64        `tfsdk:"timeout"`
	Labels                                types.Map          `tfsdk:"labels"`
	Annotations                           types.Map          `tfsdk:"annotations"`
}

Type AppType representing Schema Attribute from function Schema in go type from resource_appManifest.go file.

func (*AppType) CopyConfigAttributes

func (target *AppType) CopyConfigAttributes(source *AppType)

type BuildpackResource

type BuildpackResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*BuildpackResource) Configure

func (*BuildpackResource) Create

func (*BuildpackResource) Delete

func (*BuildpackResource) IdentitySchema added in v1.12.0

func (*BuildpackResource) ImportState

func (*BuildpackResource) Metadata

func (*BuildpackResource) Read

func (*BuildpackResource) Schema

func (*BuildpackResource) Update

type CloudFoundryProvider

type CloudFoundryProvider struct {
	// contains filtered or unexported fields
}

func (*CloudFoundryProvider) Configure

func (*CloudFoundryProvider) DataSources

func (p *CloudFoundryProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*CloudFoundryProvider) ListResources added in v1.14.0

func (p *CloudFoundryProvider) ListResources(_ context.Context) []func() list.ListResource

ListResources defines the ListResources implemented in the provider.

func (*CloudFoundryProvider) Metadata

func (*CloudFoundryProvider) Resources

func (p *CloudFoundryProvider) Resources(ctx context.Context) []func() resource.Resource

func (*CloudFoundryProvider) Schema

type CloudFoundryProviderModel

type CloudFoundryProviderModel struct {
	Endpoint          types.String `tfsdk:"api_url"`
	User              types.String `tfsdk:"user"`
	Password          types.String `tfsdk:"password"`
	CFClientID        types.String `tfsdk:"cf_client_id"`
	CFClientSecret    types.String `tfsdk:"cf_client_secret"`
	SkipSslValidation types.Bool   `tfsdk:"skip_ssl_validation"`
	Origin            types.String `tfsdk:"origin"`
	AccessToken       types.String `tfsdk:"access_token"`
	RefreshToken      types.String `tfsdk:"refresh_token"`
	AssertionToken    types.String `tfsdk:"assertion_token"`
}

type DataSourceDockerCredentials added in v1.10.0

type DataSourceDockerCredentials struct {
	Username types.String `tfsdk:"username"`
}

type DatasourceAppType

type DatasourceAppType struct {
	Name                                  types.String                 `tfsdk:"name"`
	Space                                 types.String                 `tfsdk:"space_name"`
	Org                                   types.String                 `tfsdk:"org_name"`
	EnableSSH                             types.Bool                   `tfsdk:"enable_ssh"`
	Stack                                 types.String                 `tfsdk:"stack"`
	Buildpacks                            types.List                   `tfsdk:"buildpacks"`
	DockerImage                           types.String                 `tfsdk:"docker_image"`
	DockerCredentials                     *DataSourceDockerCredentials `tfsdk:"docker_credentials"`
	ServiceBindings                       types.Set                    `tfsdk:"service_bindings"`
	Routes                                types.Set                    `tfsdk:"routes"`
	Environment                           types.Map                    `tfsdk:"environment"`
	HealthCheckInterval                   types.Int64                  `tfsdk:"health_check_interval"`
	ReadinessHealthCheckType              types.String                 `tfsdk:"readiness_health_check_type"`
	ReadinessHealthCheckHttpEndpoint      types.String                 `tfsdk:"readiness_health_check_http_endpoint"`
	ReadinessHealthCheckInvocationTimeout types.Int64                  `tfsdk:"readiness_health_check_invocation_timeout"`
	ReadinessHealthCheckInterval          types.Int64                  `tfsdk:"readiness_health_check_interval"`
	LogRateLimitPerSecond                 types.String                 `tfsdk:"log_rate_limit_per_second"`
	Processes                             []Process                    `tfsdk:"processes"`
	Sidecars                              []Sidecar                    `tfsdk:"sidecars"`
	ID                                    types.String                 `tfsdk:"id"`
	CreatedAt                             types.String                 `tfsdk:"created_at"`
	UpdatedAt                             types.String                 `tfsdk:"updated_at"`
	Command                               types.String                 `tfsdk:"command"`
	DiskQuota                             types.String                 `tfsdk:"disk_quota"`
	HealthCheckHttpEndpoint               types.String                 `tfsdk:"health_check_http_endpoint"`
	HealthCheckInvocationTimeout          types.Int64                  `tfsdk:"health_check_invocation_timeout"`
	HealthCheckType                       types.String                 `tfsdk:"health_check_type"`
	Instances                             types.Int64                  `tfsdk:"instances"`
	Memory                                types.String                 `tfsdk:"memory"`
	Timeout                               types.Int64                  `tfsdk:"timeout"`
	Labels                                types.Map                    `tfsdk:"labels"`
	Annotations                           types.Map                    `tfsdk:"annotations"`
}

func (*DatasourceAppType) Expand

func (a *DatasourceAppType) Expand() AppType

type DatasourceAppsType

type DatasourceAppsType struct {
	Space types.String        `tfsdk:"space"`
	Org   types.String        `tfsdk:"org"`
	Name  types.String        `tfsdk:"name"`
	Apps  []DatasourceAppType `tfsdk:"apps"`
}

type DockerCredentials

type DockerCredentials struct {
	Username types.String `tfsdk:"username"`
	Password types.String `tfsdk:"password"`
}

type DomainDataSource

type DomainDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*DomainDataSource) Configure

func (*DomainDataSource) Metadata

func (*DomainDataSource) Read

func (*DomainDataSource) Schema

type DomainResource

type DomainResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*DomainResource) Configure

func (*DomainResource) Create

func (*DomainResource) Delete

func (*DomainResource) IdentitySchema added in v1.12.0

func (*DomainResource) ImportState

func (*DomainResource) Metadata

func (*DomainResource) Read

func (*DomainResource) Schema

func (*DomainResource) Update

type DomainsDataSource

type DomainsDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*DomainsDataSource) Configure

func (*DomainsDataSource) Metadata

func (*DomainsDataSource) Read

func (*DomainsDataSource) Schema

type IsolationSegmentDataSource

type IsolationSegmentDataSource struct {
	// contains filtered or unexported fields
}

func (*IsolationSegmentDataSource) Configure

func (*IsolationSegmentDataSource) Metadata

func (*IsolationSegmentDataSource) Read

func (*IsolationSegmentDataSource) Schema

type IsolationSegmentEntitlementDataSource

type IsolationSegmentEntitlementDataSource struct {
	// contains filtered or unexported fields
}

func (*IsolationSegmentEntitlementDataSource) Configure

func (*IsolationSegmentEntitlementDataSource) Metadata

func (*IsolationSegmentEntitlementDataSource) Read

func (*IsolationSegmentEntitlementDataSource) Schema

type IsolationSegmentEntitlementDataSourceType

type IsolationSegmentEntitlementDataSourceType struct {
	Segment types.String `tfsdk:"segment"`
	Orgs    types.Set    `tfsdk:"orgs"`
}

Terraform struct for storing values for isolation segment entitlement datasource.

type IsolationSegmentEntitlementResource

type IsolationSegmentEntitlementResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*IsolationSegmentEntitlementResource) Configure

func (*IsolationSegmentEntitlementResource) Create

func (*IsolationSegmentEntitlementResource) Delete

func (*IsolationSegmentEntitlementResource) Metadata

func (*IsolationSegmentEntitlementResource) Read

func (*IsolationSegmentEntitlementResource) Schema

func (*IsolationSegmentEntitlementResource) Update

type IsolationSegmentEntitlementType

type IsolationSegmentEntitlementType struct {
	Segment types.String `tfsdk:"segment"`
	Orgs    types.Set    `tfsdk:"orgs"`
	Default types.Bool   `tfsdk:"default"`
}

Terraform struct for storing values for isolation segment entitlement resource.

type IsolationSegmentResource

type IsolationSegmentResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*IsolationSegmentResource) Configure

func (*IsolationSegmentResource) Create

func (*IsolationSegmentResource) Delete

func (*IsolationSegmentResource) IdentitySchema added in v1.12.0

func (*IsolationSegmentResource) ImportState

func (*IsolationSegmentResource) Metadata

func (*IsolationSegmentResource) Read

func (*IsolationSegmentResource) Schema

func (*IsolationSegmentResource) Update

type IsolationSegmentType

type IsolationSegmentType struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Labels      types.Map    `tfsdk:"labels"`
	Annotations types.Map    `tfsdk:"annotations"`
	CreatedAt   types.String `tfsdk:"created_at"`
	UpdatedAt   types.String `tfsdk:"updated_at"`
}

Terraform struct for storing values for isolation segment data source and resource.

type IsolationSegmentsDataSource

type IsolationSegmentsDataSource struct {
	// contains filtered or unexported fields
}

func (*IsolationSegmentsDataSource) Configure

func (*IsolationSegmentsDataSource) Metadata

func (*IsolationSegmentsDataSource) Read

func (*IsolationSegmentsDataSource) Schema

type IsolationSegmentsType

type IsolationSegmentsType struct {
	Name              types.String           `tfsdk:"name"`
	IsolationSegments []IsolationSegmentType `tfsdk:"isolation_segments"`
}

type MtaDataSource

type MtaDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the mta client to be used for making the API calls.

func (*MtaDataSource) Configure

func (*MtaDataSource) Metadata

func (*MtaDataSource) Read

func (*MtaDataSource) Schema

type MtaDataSourceType

type MtaDataSourceType struct {
	Space     types.String `tfsdk:"space"`
	Id        types.String `tfsdk:"id"`
	Namespace types.String `tfsdk:"namespace"`
	Mta       types.Object `tfsdk:"mta"`
	DeployUrl types.String `tfsdk:"deploy_url"`
}

type MtaMetadataType

type MtaMetadataType struct {
	Id        types.String `tfsdk:"id"`
	Version   types.String `tfsdk:"version"`
	Namespace types.String `tfsdk:"namespace"`
}

type MtaModuleType

type MtaModuleType struct {
	ModuleName            types.String `tfsdk:"module_name"`
	AppName               types.String `tfsdk:"app_name"`
	CreatedOn             types.String `tfsdk:"created_on"`
	UpdatedOn             types.String `tfsdk:"updated_on"`
	ProvidedDendencyNames types.List   `tfsdk:"provided_dendency_names"`
	Services              types.List   `tfsdk:"services"`
	Uris                  types.List   `tfsdk:"uris"`
}

type MtaType

type MtaType struct {
	Metadata types.Object `tfsdk:"metadata"`
	Modules  types.List   `tfsdk:"modules"`
	Services types.List   `tfsdk:"services"`
}

type MtarType

type MtarType struct {
	MtarPath                   types.String `tfsdk:"mtar_path"`
	MtarUrl                    types.String `tfsdk:"mtar_url"`
	ExtensionDescriptors       types.Set    `tfsdk:"extension_descriptors"`
	ExtensionDescriptorsString types.Set    `tfsdk:"extension_descriptors_string"`
	DeployUrl                  types.String `tfsdk:"deploy_url"`
	Space                      types.String `tfsdk:"space"`
	Mta                        types.Object `tfsdk:"mta"`
	Namespace                  types.String `tfsdk:"namespace"`
	Id                         types.String `tfsdk:"id"`
	SourceCodeHash             types.String `tfsdk:"source_code_hash"`
	DeployStrategy             types.String `tfsdk:"deploy_strategy"`
	SkipIdleStart              types.Bool   `tfsdk:"skip_idle_start"`
	VersionRule                types.String `tfsdk:"version_rule"`
	Modules                    types.Set    `tfsdk:"modules"`
}

type MtasDataSource

type MtasDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the mta client to be used for making the API calls.

func (*MtasDataSource) Configure

func (*MtasDataSource) Metadata

func (*MtasDataSource) Read

func (*MtasDataSource) Schema

type MtasDataSourceType

type MtasDataSourceType struct {
	Space     types.String `tfsdk:"space"`
	Id        types.String `tfsdk:"id"`
	Namespace types.String `tfsdk:"namespace"`
	Mtas      types.List   `tfsdk:"mtas"`
	DeployUrl types.String `tfsdk:"deploy_url"`
}

type NetworkPolicyResource

type NetworkPolicyResource struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicyResource) Configure

func (*NetworkPolicyResource) Create

func (*NetworkPolicyResource) Delete

func (*NetworkPolicyResource) Metadata

func (*NetworkPolicyResource) Read

func (*NetworkPolicyResource) Schema

func (*NetworkPolicyResource) Update

type OrgDataSource

type OrgDataSource struct {
	// contains filtered or unexported fields
}

func (*OrgDataSource) Configure

func (*OrgDataSource) Metadata

func (*OrgDataSource) Read

func (*OrgDataSource) Schema

type OrgQuotaDataSource

type OrgQuotaDataSource struct {
	// contains filtered or unexported fields
}

func (*OrgQuotaDataSource) Configure

func (*OrgQuotaDataSource) Metadata

func (*OrgQuotaDataSource) Read

func (*OrgQuotaDataSource) Schema

type OrgQuotaType

type OrgQuotaType struct {
	Name                  types.String `tfsdk:"name"`
	ID                    types.String `tfsdk:"id"`
	AllowPaidServicePlans types.Bool   `tfsdk:"allow_paid_service_plans"`
	TotalServices         types.Int64  `tfsdk:"total_services"`
	TotalServiceKeys      types.Int64  `tfsdk:"total_service_keys"`
	TotalRoutes           types.Int64  `tfsdk:"total_routes"`
	TotalRoutePorts       types.Int64  `tfsdk:"total_route_ports"`
	TotalPrivateDomains   types.Int64  `tfsdk:"total_private_domains"`
	TotalMemory           types.Int64  `tfsdk:"total_memory"`
	InstanceMemory        types.Int64  `tfsdk:"instance_memory"`
	TotalAppInstances     types.Int64  `tfsdk:"total_app_instances"`
	TotalAppTasks         types.Int64  `tfsdk:"total_app_tasks"`
	TotalAppLogRateLimit  types.Int64  `tfsdk:"total_app_log_rate_limit"`
	Organizations         types.Set    `tfsdk:"orgs"`
	CreatedAt             types.String `tfsdk:"created_at"`
	UpdatedAt             types.String `tfsdk:"updated_at"`
}

type OrgQuotasDataSource

type OrgQuotasDataSource struct {
	// contains filtered or unexported fields
}

func (*OrgQuotasDataSource) Configure

func (*OrgQuotasDataSource) Metadata

func (*OrgQuotasDataSource) Read

func (*OrgQuotasDataSource) Schema

type OrgResouerceIdentityModel added in v1.12.0

type OrgResouerceIdentityModel struct {
	OrgGUID types.String `tfsdk:"org_guid"`
}

type OrgRoleDataSource

type OrgRoleDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*OrgRoleDataSource) Configure

func (*OrgRoleDataSource) Metadata

func (*OrgRoleDataSource) Read

func (*OrgRoleDataSource) Schema

type OrgRoleResource

type OrgRoleResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*OrgRoleResource) Configure

func (*OrgRoleResource) Create

func (*OrgRoleResource) Delete

func (*OrgRoleResource) IdentitySchema added in v1.12.0

func (*OrgRoleResource) ImportState

func (*OrgRoleResource) Metadata

func (*OrgRoleResource) Read

func (*OrgRoleResource) Schema

func (*OrgRoleResource) Update

Update for role is not possible.

type OrgRolesDataSource

type OrgRolesDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*OrgRolesDataSource) Configure

func (*OrgRolesDataSource) Metadata

func (*OrgRolesDataSource) Read

func (*OrgRolesDataSource) Schema

type OrgsDataSource

type OrgsDataSource struct {
	// contains filtered or unexported fields
}

func (*OrgsDataSource) Configure

func (*OrgsDataSource) Metadata

func (*OrgsDataSource) Read

func (*OrgsDataSource) Schema

type Process

type Process struct {
	Type                                  types.String `tfsdk:"type"`
	Command                               types.String `tfsdk:"command"`
	DiskQuota                             types.String `tfsdk:"disk_quota"`
	HealthCheckHttpEndpoint               types.String `tfsdk:"health_check_http_endpoint"`
	HealthCheckInvocationTimeout          types.Int64  `tfsdk:"health_check_invocation_timeout"`
	HealthCheckType                       types.String `tfsdk:"health_check_type"`
	Instances                             types.Int64  `tfsdk:"instances"`
	Memory                                types.String `tfsdk:"memory"`
	Timeout                               types.Int64  `tfsdk:"timeout"`
	HealthCheckInterval                   types.Int64  `tfsdk:"health_check_interval"`
	ReadinessHealthCheckType              types.String `tfsdk:"readiness_health_check_type"`
	ReadinessHealthCheckHttpEndpoint      types.String `tfsdk:"readiness_health_check_http_endpoint"`
	ReadinessHealthCheckInvocationTimeout types.Int64  `tfsdk:"readiness_health_check_invocation_timeout"`
	ReadinessHealthCheckInterval          types.Int64  `tfsdk:"readiness_health_check_interval"`
	LogRateLimitPerSecond                 types.String `tfsdk:"log_rate_limit_per_second"`
}

type RemoteFileHashDataSourceType

type RemoteFileHashDataSourceType struct {
	Url types.String `tfsdk:"url"`
	Id  types.String `tfsdk:"id"`
}

type RemoteMtarHashDataSource

type RemoteMtarHashDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the mta client to be used for making the API calls.

func (*RemoteMtarHashDataSource) Configure

func (*RemoteMtarHashDataSource) Metadata

func (*RemoteMtarHashDataSource) Read

func (*RemoteMtarHashDataSource) Schema

type Route

type Route struct {
	Route    types.String `tfsdk:"route"`
	Protocol types.String `tfsdk:"protocol"`
}

type RouteDataSource

type RouteDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*RouteDataSource) Configure

func (*RouteDataSource) Metadata

func (*RouteDataSource) Read

func (*RouteDataSource) Schema

type RouteResource

type RouteResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*RouteResource) Configure

func (*RouteResource) Create

func (*RouteResource) Delete

func (*RouteResource) IdentitySchema added in v1.13.0

func (*RouteResource) ImportState

func (*RouteResource) Metadata

func (*RouteResource) Read

func (*RouteResource) Schema

func (*RouteResource) Update

type RoutesDataSource

type RoutesDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*RoutesDataSource) Configure

func (*RoutesDataSource) Metadata

func (*RoutesDataSource) Read

func (*RoutesDataSource) Schema

type SecurityGroupDataSource

type SecurityGroupDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SecurityGroupDataSource) Configure

func (*SecurityGroupDataSource) Metadata

func (*SecurityGroupDataSource) Read

func (*SecurityGroupDataSource) Schema

type SecurityGroupResource

type SecurityGroupResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SecurityGroupResource) Configure

func (*SecurityGroupResource) Create

func (*SecurityGroupResource) Delete

func (*SecurityGroupResource) IdentitySchema added in v1.12.0

func (*SecurityGroupResource) ImportState

func (*SecurityGroupResource) Metadata

func (*SecurityGroupResource) Read

func (*SecurityGroupResource) Schema

func (*SecurityGroupResource) Update

type SecurityGroupSpacesResource

type SecurityGroupSpacesResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SecurityGroupSpacesResource) Configure

func (*SecurityGroupSpacesResource) Create

func (*SecurityGroupSpacesResource) Delete

func (*SecurityGroupSpacesResource) Metadata

func (*SecurityGroupSpacesResource) Read

func (*SecurityGroupSpacesResource) Schema

func (*SecurityGroupSpacesResource) Update

type SecurityGroupsDataSource

type SecurityGroupsDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SecurityGroupsDataSource) Configure

func (*SecurityGroupsDataSource) Metadata

func (*SecurityGroupsDataSource) Read

func (*SecurityGroupsDataSource) Schema

type ServiceBinding

type ServiceBinding struct {
	ServiceInstance types.String         `tfsdk:"service_instance"`
	Params          jsontypes.Normalized `tfsdk:"params"`
}

type ServiceBrokerDataSource

type ServiceBrokerDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceBrokerDataSource) Configure

func (*ServiceBrokerDataSource) Metadata

func (*ServiceBrokerDataSource) Read

func (*ServiceBrokerDataSource) Schema

type ServiceBrokersDataSource

type ServiceBrokersDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceBrokersDataSource) Configure

func (*ServiceBrokersDataSource) Metadata

func (*ServiceBrokersDataSource) Read

func (*ServiceBrokersDataSource) Schema

type ServiceCredentialBindingDataSource

type ServiceCredentialBindingDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceCredentialBindingDataSource) Configure

func (*ServiceCredentialBindingDataSource) Metadata

func (*ServiceCredentialBindingDataSource) Read

func (*ServiceCredentialBindingDataSource) Schema

type ServiceCredentialBindingDetailsDataSource added in v1.9.0

type ServiceCredentialBindingDetailsDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceCredentialBindingDetailsDataSource) Configure added in v1.9.0

func (*ServiceCredentialBindingDetailsDataSource) Metadata added in v1.9.0

func (*ServiceCredentialBindingDetailsDataSource) Read added in v1.9.0

func (*ServiceCredentialBindingDetailsDataSource) Schema added in v1.9.0

type ServiceCredentialBindingsDataSource added in v1.9.0

type ServiceCredentialBindingsDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceCredentialBindingsDataSource) Configure added in v1.9.0

func (*ServiceCredentialBindingsDataSource) Metadata added in v1.9.0

func (*ServiceCredentialBindingsDataSource) Read added in v1.9.0

func (*ServiceCredentialBindingsDataSource) Schema added in v1.9.0

type ServiceInstanceDataSource

type ServiceInstanceDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceInstanceDataSource) Configure

func (*ServiceInstanceDataSource) Metadata

func (*ServiceInstanceDataSource) Read

func (*ServiceInstanceDataSource) Schema

type ServiceInstanceSharingType

type ServiceInstanceSharingType struct {
	Id              types.String `tfsdk:"id"`
	ServiceInstance types.String `tfsdk:"service_instance"`
	Spaces          types.Set    `tfsdk:"spaces"`
}

type ServiceInstancesDataSource

type ServiceInstancesDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceInstancesDataSource) Configure

func (*ServiceInstancesDataSource) Metadata

func (*ServiceInstancesDataSource) Read

func (*ServiceInstancesDataSource) Schema

type ServicePlanDataSource

type ServicePlanDataSource struct {
	// contains filtered or unexported fields
}

func (*ServicePlanDataSource) Configure

func (*ServicePlanDataSource) Metadata

func (*ServicePlanDataSource) Read

func (*ServicePlanDataSource) Schema

type ServicePlansDataSource

type ServicePlansDataSource struct {
	// contains filtered or unexported fields
}

func (*ServicePlansDataSource) Configure

func (*ServicePlansDataSource) Metadata

func (*ServicePlansDataSource) Read

func (*ServicePlansDataSource) Schema

type ServiceRouteBindingDataSource

type ServiceRouteBindingDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceRouteBindingDataSource) Configure

func (*ServiceRouteBindingDataSource) Metadata

func (*ServiceRouteBindingDataSource) Read

func (*ServiceRouteBindingDataSource) Schema

type ServiceRouteBindingsDataSource

type ServiceRouteBindingsDataSource struct {
	// contains filtered or unexported fields
}

func (*ServiceRouteBindingsDataSource) Configure

func (*ServiceRouteBindingsDataSource) Metadata

func (*ServiceRouteBindingsDataSource) Read

func (*ServiceRouteBindingsDataSource) Schema

type Sidecar

type Sidecar struct {
	Name         types.String `tfsdk:"name"`
	Command      types.String `tfsdk:"command"`
	ProcessTypes types.Set    `tfsdk:"process_types"`
	Memory       types.String `tfsdk:"memory"`
}

type SpaceDataSource

type SpaceDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpaceDataSource) Configure

func (*SpaceDataSource) Metadata

func (*SpaceDataSource) Read

func (*SpaceDataSource) Schema

type SpaceQuotaDataSource

type SpaceQuotaDataSource struct {
	// contains filtered or unexported fields
}

func (*SpaceQuotaDataSource) Configure

func (*SpaceQuotaDataSource) Metadata

func (*SpaceQuotaDataSource) Read

func (*SpaceQuotaDataSource) Schema

type SpaceQuotaResouerceIdentityModel added in v1.12.0

type SpaceQuotaResouerceIdentityModel struct {
	SpaceQuotaGUID types.String `tfsdk:"space_quota_guid"`
}

type SpaceQuotasDataSource

type SpaceQuotasDataSource struct {
	// contains filtered or unexported fields
}

func (*SpaceQuotasDataSource) Configure

func (*SpaceQuotasDataSource) Metadata

func (*SpaceQuotasDataSource) Read

func (*SpaceQuotasDataSource) Schema

type SpaceResouerceIdentityModel added in v1.12.0

type SpaceResouerceIdentityModel struct {
	SpaceGUID types.String `tfsdk:"space_guid"`
}

type SpaceResource

type SpaceResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpaceResource) Configure

func (*SpaceResource) Create

func (*SpaceResource) Delete

func (*SpaceResource) IdentitySchema added in v1.12.0

func (*SpaceResource) ImportState

func (*SpaceResource) Metadata

func (*SpaceResource) Read

func (*SpaceResource) Schema

func (*SpaceResource) Update

type SpaceRoleDataSource

type SpaceRoleDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpaceRoleDataSource) Configure

func (*SpaceRoleDataSource) Metadata

func (*SpaceRoleDataSource) Read

func (*SpaceRoleDataSource) Schema

type SpaceRoleResouerceIdentityModel added in v1.12.0

type SpaceRoleResouerceIdentityModel struct {
	RoleGUID types.String `tfsdk:"role_guid"`
}

type SpaceRoleResource

type SpaceRoleResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpaceRoleResource) Configure

func (*SpaceRoleResource) Create

func (*SpaceRoleResource) Delete

func (*SpaceRoleResource) IdentitySchema added in v1.12.0

func (*SpaceRoleResource) ImportState

func (*SpaceRoleResource) Metadata

func (*SpaceRoleResource) Read

func (*SpaceRoleResource) Schema

func (*SpaceRoleResource) Update

Update for role is not possible.

type SpaceRolesDataSource

type SpaceRolesDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpaceRolesDataSource) Configure

func (*SpaceRolesDataSource) Metadata

func (*SpaceRolesDataSource) Read

func (*SpaceRolesDataSource) Schema

type SpacesDataSource

type SpacesDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*SpacesDataSource) Configure

func (*SpacesDataSource) Metadata

func (*SpacesDataSource) Read

func (*SpacesDataSource) Schema

type StackDataSource

type StackDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*StackDataSource) Configure

func (*StackDataSource) Metadata

func (*StackDataSource) Read

func (*StackDataSource) Schema

type UserCFResource

type UserCFResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*UserCFResource) Configure

func (*UserCFResource) Create

func (*UserCFResource) Delete

func (*UserCFResource) IdentitySchema added in v1.13.0

func (*UserCFResource) ImportState

func (*UserCFResource) Metadata

func (*UserCFResource) Read

func (*UserCFResource) Schema

func (*UserCFResource) Update

type UserDataSource

type UserDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*UserDataSource) Configure

func (*UserDataSource) Metadata

func (*UserDataSource) Read

func (*UserDataSource) Schema

type UserGroupsResource

type UserGroupsResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*UserGroupsResource) Configure

func (*UserGroupsResource) Create

func (*UserGroupsResource) Delete

func (*UserGroupsResource) Metadata

func (*UserGroupsResource) Read

func (*UserGroupsResource) Schema

func (*UserGroupsResource) Update

type UserResource

type UserResource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*UserResource) Configure

func (*UserResource) Create

func (*UserResource) Delete

func (*UserResource) IdentitySchema added in v1.13.0

func (*UserResource) ImportState

func (*UserResource) Metadata

func (*UserResource) Read

func (*UserResource) Schema

func (*UserResource) Update

type UsersDataSource

type UsersDataSource struct {
	// contains filtered or unexported fields
}

Contains reference to the v3 client to be used for making the API calls.

func (*UsersDataSource) Configure

func (*UsersDataSource) Metadata

func (*UsersDataSource) Read

func (*UsersDataSource) Schema

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL