provider

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

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 (*JupyterHubProvider) DataSources

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

func (*JupyterHubProvider) Metadata

func (*JupyterHubProvider) Resources

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

func (*JupyterHubProvider) Schema

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.

Jump to

Keyboard shortcuts

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