provider

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 added in v1.1.0

func NewAppsDataSource() datasource.DataSource

func NewBuildpackResource

func NewBuildpackResource() resource.Resource

Instantiates a security group resource.

func NewBuildpacksDataSource added in v1.1.0

func NewBuildpacksDataSource() datasource.DataSource

func NewDomainDataSource

func NewDomainDataSource() datasource.DataSource

Instantiates a security group data source.

func NewDomainResource

func NewDomainResource() resource.Resource

Instantiates a domain resource.

func NewDomainsDataSource added in v1.1.0

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 NewIsolationSegmentResource

func NewIsolationSegmentResource() resource.Resource

Instantiates an isolation segment resource.

func NewIsolationSegmentsDataSource added in v1.1.0

func NewIsolationSegmentsDataSource() datasource.DataSource

func NewMtaDataSource

func NewMtaDataSource() datasource.DataSource

Instantiates a mtar data source.

func NewMtaResource

func NewMtaResource() resource.Resource

func NewMtasDataSource

func NewMtasDataSource() datasource.DataSource

Instantiates a mtar data source.

func NewOrgDataSource

func NewOrgDataSource() datasource.DataSource

func NewOrgQuotaDataSource

func NewOrgQuotaDataSource() datasource.DataSource

func NewOrgQuotaResource

func NewOrgQuotaResource() resource.Resource

func NewOrgQuotasDataSource added in v1.1.0

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 NewOrgRolesDataSource added in v1.1.0

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 NewRouteResource

func NewRouteResource() resource.Resource

Instantiates a security group resource.

func NewRoutesDataSource added in v1.1.0

func NewRoutesDataSource() datasource.DataSource

Instantiates a route group data source.

func NewSecurityGroupDataSource

func NewSecurityGroupDataSource() datasource.DataSource

Instantiates a security group data source.

func NewSecurityGroupResource

func NewSecurityGroupResource() resource.Resource

Instantiates a security group resource.

func NewSecurityGroupsDataSource added in v1.1.0

func NewSecurityGroupsDataSource() datasource.DataSource

Instantiates a security group data source.

func NewServiceBrokerDataSource added in v1.1.0

func NewServiceBrokerDataSource() datasource.DataSource

func NewServiceBrokerResource

func NewServiceBrokerResource() resource.Resource

func NewServiceBrokersDataSource added in v1.1.0

func NewServiceBrokersDataSource() datasource.DataSource

func NewServiceCredentialBindingDataSource

func NewServiceCredentialBindingDataSource() datasource.DataSource

func NewServiceCredentialBindingResource

func NewServiceCredentialBindingResource() resource.Resource

func NewServiceInstanceDataSource

func NewServiceInstanceDataSource() datasource.DataSource

func NewServiceInstanceResource

func NewServiceInstanceResource() resource.Resource

func NewServiceInstancesDataSource added in v1.1.0

func NewServiceInstancesDataSource() datasource.DataSource

func NewServicePlansDataSource

func NewServicePlansDataSource() datasource.DataSource

func NewServiceRouteBindingDataSource added in v1.1.0

func NewServiceRouteBindingDataSource() datasource.DataSource

func NewServiceRouteBindingResource

func NewServiceRouteBindingResource() resource.Resource

func NewServiceRouteBindingsDataSource added in v1.1.0

func NewServiceRouteBindingsDataSource() datasource.DataSource

func NewSpaceDataSource

func NewSpaceDataSource() datasource.DataSource

Instantiates a space data source.

func NewSpaceQuotaDataSource

func NewSpaceQuotaDataSource() datasource.DataSource

func NewSpaceQuotaResource

func NewSpaceQuotaResource() resource.Resource

func NewSpaceQuotasDataSource added in v1.1.0

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 NewSpaceRoleResource

func NewSpaceRoleResource() resource.Resource

Instantiates a role resource.

func NewSpaceRolesDataSource added in v1.1.0

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 added in v1.1.0

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 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"`
	Stack                                 types.String       `tfsdk:"stack"`
	Buildpacks                            types.Set          `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                       []ServiceBinding   `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"`
	NoRoute                               types.Bool         `tfsdk:"no_route"`
	RandomRoute                           types.Bool         `tfsdk:"random_route"`
	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)

func (*AppType) Reduce

func (a *AppType) Reduce() DatasourceAppType

Reduce function to reduce AppType to DatasourceAppType This is used to reuse mapAppValuesToType in both resource and datasource.

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) 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) 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"`
}

type DatasourceAppType

type DatasourceAppType struct {
	Name                                  types.String       `tfsdk:"name"`
	Space                                 types.String       `tfsdk:"space_name"`
	Org                                   types.String       `tfsdk:"org_name"`
	Stack                                 types.String       `tfsdk:"stack"`
	Buildpacks                            types.Set          `tfsdk:"buildpacks"`
	DockerImage                           types.String       `tfsdk:"docker_image"`
	DockerCredentials                     *DockerCredentials `tfsdk:"docker_credentials"`
	ServiceBindings                       []ServiceBinding   `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 added in v1.1.0

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) ImportState

func (*DomainResource) Metadata

func (*DomainResource) Read

func (*DomainResource) Schema

func (*DomainResource) Update

type DomainsDataSource added in v1.1.0

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 added in v1.1.0

func (*DomainsDataSource) Metadata added in v1.1.0

func (*DomainsDataSource) Read added in v1.1.0

func (*DomainsDataSource) Schema added in v1.1.0

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) 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 added in v1.1.0

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

func (*IsolationSegmentsDataSource) Configure added in v1.1.0

func (*IsolationSegmentsDataSource) Metadata added in v1.1.0

func (*IsolationSegmentsDataSource) Read added in v1.1.0

func (*IsolationSegmentsDataSource) Schema added in v1.1.0

type IsolationSegmentsType added in v1.1.0

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"`
	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"`
}

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 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 added in v1.1.0

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

func (*OrgQuotasDataSource) Configure added in v1.1.0

func (*OrgQuotasDataSource) Metadata added in v1.1.0

func (*OrgQuotasDataSource) Read added in v1.1.0

func (*OrgQuotasDataSource) Schema added in v1.1.0

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) ImportState

func (*OrgRoleResource) Metadata

func (*OrgRoleResource) Read

func (*OrgRoleResource) Schema

func (*OrgRoleResource) Update

Update for role is not possible.

type OrgRolesDataSource added in v1.1.0

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 added in v1.1.0

func (*OrgRolesDataSource) Metadata added in v1.1.0

func (*OrgRolesDataSource) Read added in v1.1.0

func (*OrgRolesDataSource) Schema added in v1.1.0

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) ImportState

func (*RouteResource) Metadata

func (*RouteResource) Read

func (*RouteResource) Schema

func (*RouteResource) Update

type RoutesDataSource added in v1.1.0

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 added in v1.1.0

func (*RoutesDataSource) Metadata added in v1.1.0

func (*RoutesDataSource) Read added in v1.1.0

func (*RoutesDataSource) Schema added in v1.1.0

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) ImportState

func (*SecurityGroupResource) Metadata

func (*SecurityGroupResource) Read

func (*SecurityGroupResource) Schema

func (*SecurityGroupResource) Update

type SecurityGroupsDataSource added in v1.1.0

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 added in v1.1.0

func (*SecurityGroupsDataSource) Metadata added in v1.1.0

func (*SecurityGroupsDataSource) Read added in v1.1.0

func (*SecurityGroupsDataSource) Schema added in v1.1.0

type ServiceBinding

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

type ServiceBrokerDataSource added in v1.1.0

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

func (*ServiceBrokerDataSource) Configure added in v1.1.0

func (*ServiceBrokerDataSource) Metadata added in v1.1.0

func (*ServiceBrokerDataSource) Read added in v1.1.0

func (*ServiceBrokerDataSource) Schema added in v1.1.0

type ServiceBrokersDataSource added in v1.1.0

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

func (*ServiceBrokersDataSource) Configure added in v1.1.0

func (*ServiceBrokersDataSource) Metadata added in v1.1.0

func (*ServiceBrokersDataSource) Read added in v1.1.0

func (*ServiceBrokersDataSource) Schema added in v1.1.0

type ServiceCredentialBindingDataSource

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

func (*ServiceCredentialBindingDataSource) Configure

func (*ServiceCredentialBindingDataSource) Metadata

func (*ServiceCredentialBindingDataSource) Read

func (*ServiceCredentialBindingDataSource) Schema

type ServiceInstanceDataSource

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

func (*ServiceInstanceDataSource) Configure

func (*ServiceInstanceDataSource) Metadata

func (*ServiceInstanceDataSource) Read

func (*ServiceInstanceDataSource) Schema

type ServiceInstancesDataSource added in v1.1.0

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

func (*ServiceInstancesDataSource) Configure added in v1.1.0

func (*ServiceInstancesDataSource) Metadata added in v1.1.0

func (*ServiceInstancesDataSource) Read added in v1.1.0

func (*ServiceInstancesDataSource) Schema added in v1.1.0

type ServicePlansDataSource

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

func (*ServicePlansDataSource) Configure

func (*ServicePlansDataSource) Metadata

func (*ServicePlansDataSource) Read

func (*ServicePlansDataSource) Schema

type ServiceRouteBindingDataSource added in v1.1.0

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

func (*ServiceRouteBindingDataSource) Configure added in v1.1.0

func (*ServiceRouteBindingDataSource) Metadata added in v1.1.0

func (*ServiceRouteBindingDataSource) Read added in v1.1.0

func (*ServiceRouteBindingDataSource) Schema added in v1.1.0

type ServiceRouteBindingsDataSource added in v1.1.0

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

func (*ServiceRouteBindingsDataSource) Configure added in v1.1.0

func (*ServiceRouteBindingsDataSource) Metadata added in v1.1.0

func (*ServiceRouteBindingsDataSource) Read added in v1.1.0

func (*ServiceRouteBindingsDataSource) Schema added in v1.1.0

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 SpaceQuotasDataSource added in v1.1.0

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

func (*SpaceQuotasDataSource) Configure added in v1.1.0

func (*SpaceQuotasDataSource) Metadata added in v1.1.0

func (*SpaceQuotasDataSource) Read added in v1.1.0

func (*SpaceQuotasDataSource) Schema added in v1.1.0

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) 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 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) ImportState

func (*SpaceRoleResource) Metadata

func (*SpaceRoleResource) Read

func (*SpaceRoleResource) Schema

func (*SpaceRoleResource) Update

Update for role is not possible.

type SpaceRolesDataSource added in v1.1.0

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 added in v1.1.0

func (*SpaceRolesDataSource) Metadata added in v1.1.0

func (*SpaceRolesDataSource) Read added in v1.1.0

func (*SpaceRolesDataSource) Schema added in v1.1.0

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 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) 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