mds

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 44 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 added in v0.1.3

func NewByocDataPlaneResourceResource() resource.Resource

func NewCertificateResource added in v0.1.3

func NewCertificateResource() resource.Resource

func NewCertificatesDatasource added in v0.1.3

func NewCertificatesDatasource() datasource.DataSource

NewCertificatesDatasource is a helper function to simplify the provider implementation.

func NewCloudAccountResource added in v0.1.3

func NewCloudAccountResource() resource.Resource

func NewCloudAccountsDatasource added in v0.1.3

func NewCloudAccountsDatasource() datasource.DataSource

NewCloudAccountsDatasource is a helper function to simplify the provider implementation.

func NewCloudProviderRegionsDataSource added in v0.1.3

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 added in v0.1.3

func NewNetworkPolicyResource() resource.Resource

func NewNetworkPortsDataSource

func NewNetworkPortsDataSource() datasource.DataSource

func NewPolicyResource

func NewPolicyResource() resource.Resource

func NewPolicyTypesDataSource

func NewPolicyTypesDataSource() datasource.DataSource

func NewProviderTypesDataSource added in v0.1.3

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 added in v0.1.3

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 added in v0.1.3

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

type CertificateResourceModel added in v0.1.3

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 added in v0.1.3

type CloudAccountResourceModel struct {
	ID           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	ProviderType types.String `tfsdk:"provider_type"`
	UserEmail    types.String `tfsdk:"user_email"`
	Credential   types.String `tfsdk:"credential"`
}

type ExchangesModel

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

type NetworkSpecModel

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

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 added in v0.1.2

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 added in v0.1.2

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 added in v0.1.2

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