Documentation ¶
Index ¶
- Constants
- func AllLoggingToTFLog()
- func New(version string) func() provider.Provider
- func NewK0sctlConfigResource() resource.Resource
- type K0sctlConfigResource
- func (r *K0sctlConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *K0sctlConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *K0sctlConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *K0sctlConfigResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *K0sctlConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *K0sctlConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *K0sctlConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *K0sctlConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type K0sctlProvider
- func (p *K0sctlProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *K0sctlProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *K0sctlProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *K0sctlProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *K0sctlProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type K0sctlProviderModel
Constants ¶
View Source
const (
TestingVersion = "test"
)
Variables ¶
This section is empty.
Functions ¶
func AllLoggingToTFLog ¶
func AllLoggingToTFLog()
AllLoggingToTFLog turns on passing of ruslog and log to tflog.
func NewK0sctlConfigResource ¶
Types ¶
type K0sctlConfigResource ¶
type K0sctlConfigResource struct {
// contains filtered or unexported fields
}
func (*K0sctlConfigResource) Configure ¶
func (r *K0sctlConfigResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*K0sctlConfigResource) Create ¶
func (r *K0sctlConfigResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*K0sctlConfigResource) Delete ¶
func (r *K0sctlConfigResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*K0sctlConfigResource) ImportState ¶
func (r *K0sctlConfigResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*K0sctlConfigResource) Metadata ¶
func (r *K0sctlConfigResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*K0sctlConfigResource) Read ¶
func (r *K0sctlConfigResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*K0sctlConfigResource) Schema ¶
func (r *K0sctlConfigResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*K0sctlConfigResource) Update ¶
func (r *K0sctlConfigResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type K0sctlProvider ¶
type K0sctlProvider struct {
// contains filtered or unexported fields
}
K0sctlProvider defines the provider implementation.
func (*K0sctlProvider) Configure ¶
func (p *K0sctlProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*K0sctlProvider) DataSources ¶
func (p *K0sctlProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*K0sctlProvider) Metadata ¶
func (p *K0sctlProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*K0sctlProvider) Resources ¶
func (p *K0sctlProvider) Resources(ctx context.Context) []func() resource.Resource
func (*K0sctlProvider) Schema ¶
func (p *K0sctlProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type K0sctlProviderModel ¶
type K0sctlProviderModel struct {
// contains filtered or unexported fields
}
K0sctlProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.