tdh

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() provider.Provider

New is a helper function to simplify provider server and testing implementation.

func NewByocDataPlaneResourceResource

func NewByocDataPlaneResourceResource() resource.Resource

func NewCertificateResource

func NewCertificateResource() resource.Resource

func NewCertificatesDatasource

func NewCertificatesDatasource() datasource.DataSource

NewCertificatesDatasource is a helper function to simplify the provider implementation.

func NewCloudAccountResource

func NewCloudAccountResource() resource.Resource

func NewCloudAccountsDatasource

func NewCloudAccountsDatasource() datasource.DataSource

NewCloudAccountsDatasource is a helper function to simplify the provider implementation.

func NewCloudProviderRegionsDataSource

func NewCloudProviderRegionsDataSource() datasource.DataSource

func NewClusterMetadataDataSource

func NewClusterMetadataDataSource() datasource.DataSource

func NewClusterNetworkPoliciesAssociationResource

func NewClusterNetworkPoliciesAssociationResource() resource.Resource

func NewClusterResource

func NewClusterResource() resource.Resource

func NewClustersDatasource

func NewClustersDatasource() datasource.DataSource

NewClustersDatasource is a helper function to simplify the provider implementation.

func NewInstanceTypesDataSource

func NewInstanceTypesDataSource() datasource.DataSource

NewInstanceTypesDataSource is a helper function to simplify the provider implementation.

func NewMdsPoliciesDatasource

func NewMdsPoliciesDatasource() datasource.DataSource

NewMdsPoliciesDatasource is a helper function to simplify the provider implementation.

func NewNetworkPoliciesDataSource

func NewNetworkPoliciesDataSource() datasource.DataSource

NewNetworkPoliciesDataSource is a helper function to simplify the provider implementation.

func NewNetworkPolicyResource

func NewNetworkPolicyResource() resource.Resource

func NewNetworkPortsDataSource

func NewNetworkPortsDataSource() datasource.DataSource

func NewObjectStorageDatasource

func NewObjectStorageDatasource() datasource.DataSource

NewObjectStorageDatasource is a helper function to simplify the provider implementation.

func NewObjectStorageResource

func NewObjectStorageResource() resource.Resource

func NewPolicyResource

func NewPolicyResource() resource.Resource

func NewPolicyTypesDataSource

func NewPolicyTypesDataSource() datasource.DataSource

func NewProviderTypesDataSource

func NewProviderTypesDataSource() datasource.DataSource

func NewRegionsDataSource

func NewRegionsDataSource() datasource.DataSource

func NewRolesDataSource

func NewRolesDataSource() datasource.DataSource

NewRolesDataSource is a helper function to simplify the provider implementation.

func NewServiceAccountResource

func NewServiceAccountResource() resource.Resource

func NewServiceAccountsDataSource

func NewServiceAccountsDataSource() datasource.DataSource

func NewServiceRolesDatasource

func NewServiceRolesDatasource() datasource.DataSource

NewServiceRolesDatasource is a helper function to simplify the provider implementation.

func NewTshirtSizeDatasource

func NewTshirtSizeDatasource() datasource.DataSource

func NewUserResource

func NewUserResource() resource.Resource

func NewUsersDataSource

func NewUsersDataSource() datasource.DataSource

NewUsersDataSource is a helper function to simplify the provider implementation.

Types

type BindingsModel

type BindingsModel struct {
	Source          types.String `tfsdk:"source"`
	VHost           types.String `tfsdk:"vhost"`
	RoutingKey      types.String `tfsdk:"routing_key"`
	Destination     types.String `tfsdk:"destination"`
	DestinationType types.String `tfsdk:"destination_type"`
}

type CertificateModel

type CertificateModel struct {
	Name       types.String `tfsdk:"name"`
	DomainName types.String `tfsdk:"domain_name"`
}

type CertificateResourceModel

type CertificateResourceModel struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	DomainName     types.String `tfsdk:"domain_name"`
	ProviderType   types.String `tfsdk:"provider_type"`
	ExpirationTime types.String `tfsdk:"expiration_time"`
	CreatedBy      types.String `tfsdk:"created_by"`
	Certificate    types.String `tfsdk:"certificate"`
	CertificateCA  types.String `tfsdk:"certificate_ca"`
	CertificateKey types.String `tfsdk:"certificate_key"`
}

type CloudAccountResourceModel

type CloudAccountResourceModel struct {
	ID             types.String `tfsdk:"id"`
	Name           types.String `tfsdk:"name"`
	ProviderType   types.String `tfsdk:"provider_type"`
	Shared         types.Bool   `tfsdk:"shared"`
	Credential     types.String `tfsdk:"credentials"`
	Tags           types.Set    `tfsdk:"tags"`
	UserEmail      types.String `tfsdk:"user_email"`
	OrgId          types.String `tfsdk:"org_id"`
	CreatedBy      types.String `tfsdk:"created_by"`
	DataPlaneCount types.Int64  `tfsdk:"data_plane_count"`
}

type ExchangesModel

type ExchangesModel struct {
	Name  types.String `tfsdk:"name"`
	VHost types.String `tfsdk:"vhost"`
}

type MetadataModel

type MetadataModel struct {
	ManagerUri       types.String `tfsdk:"manager_uri"`
	ConnectionUri    types.String `tfsdk:"connection_uri"`
	MetricsEndpoints types.Set    `tfsdk:"metrics_endpoints"`
}

type NetworkSpecModel

type NetworkSpecModel struct {
	Cidr           types.String `tfsdk:"cidr"`
	NetworkPortIds types.Set    `tfsdk:"network_port_ids"`
}

type ObjectStorageResourceModel

type ObjectStorageResourceModel struct {
	ID              types.String `tfsdk:"id"`
	Name            types.String `tfsdk:"name"`
	BucketName      types.String `tfsdk:"bucket_name"`
	Endpoint        types.String `tfsdk:"endpoint"`
	Region          types.String `tfsdk:"region"`
	AccessKeyId     types.String `tfsdk:"access_key_id"`
	SecretAccessKey types.String `tfsdk:"secret_access_key"`
}

type PermissionSpecModel

type PermissionSpecModel struct {
	Role        types.String `tfsdk:"role"`
	Resource    types.String `tfsdk:"resource"`
	Permissions types.Set    `tfsdk:"permissions"`
}

type QueuesModel

type QueuesModel struct {
	Name  types.String `tfsdk:"name"`
	VHost types.String `tfsdk:"vhost"`
}

type RegionsModel

type RegionsModel struct {
	ID           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	DataPlaneIds types.List   `tfsdk:"data_plane_ids"`
}

type RolesModel

type RolesModel struct {
	ID   types.String `tfsdk:"role_id"`
	Name types.String `tfsdk:"name"`
}

type ServiceAccountCredential

type ServiceAccountCredential struct {
	ClientId     types.String `tfsdk:"client_id"`
	ClientSecret types.String `tfsdk:"client_secret"`
	OrgId        types.String `tfsdk:"org_id"`
	GrantType    types.String `tfsdk:"grant_type"`
}

type ServiceAccountOauthApp

type ServiceAccountOauthApp struct {
	OauthAppId  types.String `tfsdk:"app_id"`
	AppType     types.String `tfsdk:"app_type"`
	Created     types.String `tfsdk:"created"`
	CreatedBy   types.String `tfsdk:"created_by"`
	Description types.String `tfsdk:"description"`
	Modified    types.String `tfsdk:"modified"`
	ModifiedBy  types.String `tfsdk:"modified_by"`
	TTLSpec     TTLSpecModel `tfsdk:"ttl_spec"`
}

type ServiceRolesDataSourceModel

type ServiceRolesDataSourceModel struct {
	Id    types.String        `tfsdk:"id"`
	Roles []ServiceRolesModel `tfsdk:"roles"`
	Type  types.String        `tfsdk:"type"`
}

ServiceRolesDataSourceModel maps the data source schema data.

type ServiceRolesModel

type ServiceRolesModel struct {
	RoleId       types.String `tfsdk:"role_id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	Type         types.String `tfsdk:"type"`
	PermissionId types.String `tfsdk:"permission_id"`
}

ServiceRolesModel maps role schema data.

type TTLSpecModel

type TTLSpecModel struct {
	TimeUnit types.String `tfsdk:"time_unit"`
	TTL      types.Int64  `tfsdk:"ttl"`
}

type VHostsModel

type VHostsModel struct {
	Name types.String `tfsdk:"name"`
}

Jump to

Keyboard shortcuts

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