Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewUserDataSource() datasource.DataSource
- type JupyterHubProvider
- func (p *JupyterHubProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *JupyterHubProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *JupyterHubProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *JupyterHubProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *JupyterHubProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type JupyterHubProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserDataSource ¶
func NewUserDataSource() datasource.DataSource
NewCoffeesDataSource is a helper function to simplify the provider implementation.
Types ¶
type JupyterHubProvider ¶
type JupyterHubProvider struct {
// contains filtered or unexported fields
}
JupyterHubProvider defines the provider implementation.
func (*JupyterHubProvider) Configure ¶
func (p *JupyterHubProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*JupyterHubProvider) DataSources ¶
func (p *JupyterHubProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*JupyterHubProvider) Metadata ¶
func (p *JupyterHubProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*JupyterHubProvider) Resources ¶
func (p *JupyterHubProvider) Resources(ctx context.Context) []func() resource.Resource
func (*JupyterHubProvider) Schema ¶
func (p *JupyterHubProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type JupyterHubProviderModel ¶
type JupyterHubProviderModel struct { Host types.String `tfsdk:"host"` Protocol types.String `tfsdk:"protocol"` Prefix types.String `tfsdk:"prefix"` Token types.String `tfsdk:"token"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` }
JupyterHubProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.