provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClusterNotFound = fmt.Errorf("Not found")

Functions

func New

func New(version string) func() provider.Provider

func NewClusterResource

func NewClusterResource() resource.Resource

func NewCustomerResource added in v0.1.0

func NewCustomerResource() resource.Resource

Types

type ClusterResource

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

ClusterResource defines the resource implementation.

func (*ClusterResource) Configure

func (*ClusterResource) Create

func (*ClusterResource) Delete

func (*ClusterResource) ImportState

func (*ClusterResource) Metadata

func (*ClusterResource) Read

func (*ClusterResource) Schema

func (*ClusterResource) Update

type ClusterResourceModel

type ClusterResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Distribution types.String `tfsdk:"distribution"`
	Version      types.String `tfsdk:"version"`
	InstanceType types.String `tfsdk:"instance_type"`
	Disk         types.Int64  `tfsdk:"disk"`
	Nodes        types.Int64  `tfsdk:"nodes"`
	TTL          types.String `tfsdk:"ttl"`
	WaitDuration types.String `tfsdk:"wait_duration"`
	Kubeconfig   types.String `tfsdk:"kubeconfig"`
}

ClusterResourceModel describes the resource data model.

type CustomerResource added in v0.1.0

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

func (*CustomerResource) Configure added in v0.1.0

func (*CustomerResource) Create added in v0.1.0

func (*CustomerResource) Delete added in v0.1.0

func (*CustomerResource) ImportState added in v0.1.0

func (*CustomerResource) Metadata added in v0.1.0

func (*CustomerResource) Read added in v0.1.0

func (*CustomerResource) Schema added in v0.1.0

func (*CustomerResource) Update added in v0.1.0

type CustomerResourceModel added in v0.1.0

type CustomerResourceModel struct {
	Id                               types.String `tfsdk:"id"`
	AppId                            types.String `tfsdk:"app_id"`
	ChannelId                        types.String `tfsdk:"channel_id"`
	Email                            types.String `tfsdk:"email"`
	EntitlementValues                types.Map    `tfsdk:"entitlement_values"`
	ExpiresAt                        types.String `tfsdk:"expires_at"`
	IsAirgapEnabled                  types.Bool   `tfsdk:"is_airgap_enabled"`
	IsEmbeddedClusterDownloadEnabled types.Bool   `tfsdk:"is_embedded_cluster_download_enabled"`
	IsGeoaxisSupported               types.Bool   `tfsdk:"is_geoaxis_supported"`
	IsGitopsSupported                types.Bool   `tfsdk:"is_gitops_supported"`
	IsIdentityServiceSupported       types.Bool   `tfsdk:"is_identity_service_supported"`
	IsInstallerSupportEnabled        types.Bool   `tfsdk:"is_installer_support_enabled"`
	IsKotsInstallEnabled             types.Bool   `tfsdk:"is_kots_install_enabled"`
	IsSnapshotSupported              types.Bool   `tfsdk:"is_snapshot_supported"`
	IsSupportBundleUploadEnabled     types.Bool   `tfsdk:"is_support_bundle_upload_enabled"`
	Name                             types.String `tfsdk:"name"`
	Type                             types.String `tfsdk:"type"`
}

type ReplicatedProvider

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

ReplicatedProvider defines the provider implementation.

func (*ReplicatedProvider) Configure

func (*ReplicatedProvider) DataSources

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

func (*ReplicatedProvider) Metadata

func (*ReplicatedProvider) Resources

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

func (*ReplicatedProvider) Schema

type ReplicatedProviderClients added in v0.1.0

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

type ReplicatedProviderModel

type ReplicatedProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
	ApiToken types.String `tfsdk:"api_token"`
}

ReplicatedProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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