akp

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MPL-2.0 Imports: 34 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewAkpClusterDataSource

func NewAkpClusterDataSource() datasource.DataSource

func NewAkpClusterResource

func NewAkpClusterResource() resource.Resource

func NewAkpClustersDataSource

func NewAkpClustersDataSource() datasource.DataSource

func NewAkpInstanceDataSource

func NewAkpInstanceDataSource() datasource.DataSource

func NewAkpInstanceResource

func NewAkpInstanceResource() resource.Resource

func NewAkpInstancesDataSource

func NewAkpInstancesDataSource() datasource.DataSource

Types

type AkpClusterDataSource

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

AkpClustersDataSource defines the data source implementation.

func (*AkpClusterDataSource) Configure

func (*AkpClusterDataSource) GetManifests

func (d *AkpClusterDataSource) GetManifests(ctx context.Context, instanceId string, clusterId string) (manifests string, err error)

func (*AkpClusterDataSource) Metadata

func (*AkpClusterDataSource) Read

func (*AkpClusterDataSource) Schema added in v0.2.0

type AkpClusterResource

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

AkpClusterResource defines the resource implementation.

func (*AkpClusterResource) Configure

func (*AkpClusterResource) Create

func (*AkpClusterResource) Delete

func (*AkpClusterResource) ImportState

TODO: Implement cluster import

func (*AkpClusterResource) Metadata

func (*AkpClusterResource) Read

func (*AkpClusterResource) Schema added in v0.2.0

func (*AkpClusterResource) Update

type AkpClustersDataSource

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

AkpClustersDataSource defines the data source implementation.

func (*AkpClustersDataSource) Configure

func (*AkpClustersDataSource) GetManifests

func (d *AkpClustersDataSource) GetManifests(ctx context.Context, instanceId string, clusterId string) (manifests string, err error)

func (*AkpClustersDataSource) Metadata

func (*AkpClustersDataSource) Read

func (*AkpClustersDataSource) Schema added in v0.2.0

type AkpClustersDataSourceModel

type AkpClustersDataSourceModel struct {
	Id         types.String           `tfsdk:"id"`
	InstanceId types.String           `tfsdk:"instance_id"`
	Clusters   []*akptypes.AkpCluster `tfsdk:"clusters"`
}

type AkpInstanceDataSource

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

AkpInstanceDataSource defines the data source implementation.

func (*AkpInstanceDataSource) Configure

func (*AkpInstanceDataSource) Metadata

func (*AkpInstanceDataSource) Read

func (*AkpInstanceDataSource) Schema added in v0.2.0

type AkpInstanceResource

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

AkpInstanceResource defines the resource implementation.

func (*AkpInstanceResource) Configure

func (*AkpInstanceResource) Create

func (*AkpInstanceResource) Delete

func (*AkpInstanceResource) ImportState

func (*AkpInstanceResource) Metadata

func (*AkpInstanceResource) Read

func (*AkpInstanceResource) Schema added in v0.2.0

func (*AkpInstanceResource) Update

type AkpInstancesDataSource

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

AkpInstanceDataSource defines the data source implementation.

func (*AkpInstancesDataSource) Configure

func (*AkpInstancesDataSource) Metadata

func (*AkpInstancesDataSource) Read

func (*AkpInstancesDataSource) Schema added in v0.2.0

type AkpInstancesDataSourceModel

type AkpInstancesDataSourceModel struct {
	Id        types.String            `tfsdk:"id"`
	Instances []*akptypes.AkpInstance `tfsdk:"instances"`
}

type AkpProvider

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

func (*AkpProvider) Configure

func (*AkpProvider) DataSources

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

func (*AkpProvider) Metadata

func (*AkpProvider) Resources

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

func (*AkpProvider) Schema added in v0.2.0

type AkpProviderModel

type AkpProviderModel struct {
	ApiHost          types.String `tfsdk:"api_host"`
	ApiKeyId         types.String `tfsdk:"api_key_id"`
	ApiKeySecret     types.String `tfsdk:"api_key_secret"`
	OrganizationName types.String `tfsdk:"org_name"`
	SkipTLSVerify    types.Bool   `tfsdk:"skip_tls_verify"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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