Documentation ¶
Index ¶
- func New() provider.Provider
- type StackitProvider
- func (p *StackitProvider) Client() *client.Client
- func (p *StackitProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *StackitProvider) DataSources(context.Context) []func() datasource.DataSource
- func (p *StackitProvider) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics)
- func (p *StackitProvider) IsConfigured() bool
- func (p *StackitProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *StackitProvider) ServiceAccountID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StackitProvider ¶
type StackitProvider struct {
// contains filtered or unexported fields
}
func (*StackitProvider) Client ¶
func (p *StackitProvider) Client() *client.Client
Client - returns the STACKIT client
func (*StackitProvider) Configure ¶
func (p *StackitProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*StackitProvider) DataSources ¶
func (p *StackitProvider) DataSources(context.Context) []func() datasource.DataSource
GetDataSources - Defines provider data sources
func (*StackitProvider) GetSchema ¶
func (p *StackitProvider) GetSchema(_ context.Context) (tfsdk.Schema, diag.Diagnostics)
GetSchema returns the provider's schema
func (*StackitProvider) IsConfigured ¶
func (p *StackitProvider) IsConfigured() bool
IsConfigured - returns true when the provider has been configured
func (*StackitProvider) Resources ¶
func (p *StackitProvider) Resources(ctx context.Context) []func() resource.Resource
GetResources - Defines provider resources
func (*StackitProvider) ServiceAccountID ¶
func (p *StackitProvider) ServiceAccountID() string
ServiceAccountID - returns the service account id
Click to show internal directories.
Click to hide internal directories.