provider

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MPL-2.0 Imports: 18 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 NewNodeDataSource

func NewNodeDataSource() datasource.DataSource

func NewNodeResource

func NewNodeResource() resource.Resource

Types

type BasicAuth

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

type BoskClient

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

func NewBoskClient

func NewBoskClient(httpClient *http.Client, username string, password string) *BoskClient

func NewBoskClientWithoutAuth

func NewBoskClientWithoutAuth(httpClient *http.Client) *BoskClient

func (*BoskClient) Delete

func (client *BoskClient) Delete(url string, diag *diag.Diagnostics)

func (*BoskClient) PutJSONAsString

func (client *BoskClient) PutJSONAsString(url string, value string, diag *diag.Diagnostics)

type BoskProvider

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

BoskProvider defines the provider implementation.

func (*BoskProvider) Configure

func (*BoskProvider) DataSources

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

func (*BoskProvider) Metadata

func (*BoskProvider) Resources

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

func (*BoskProvider) Schema

type BoskProviderModel

type BoskProviderModel struct {
	BasicAuthVarSuffix types.String `tfsdk:"basic_auth_var_suffix"`
}

BoskProviderModel describes the provider data model.

type NodeDataSource

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

NodeDataSource defines the data source implementation.

func (*NodeDataSource) Configure

func (*NodeDataSource) Metadata

func (*NodeDataSource) Read

func (*NodeDataSource) Schema

type NodeModel added in v0.0.16

type NodeModel struct {
	URL        types.String `tfsdk:"url"`
	Value_json types.String `tfsdk:"value_json"`
}

func (*NodeModel) Validate added in v0.0.16

func (m *NodeModel) Validate(diag *diag.Diagnostics)

type NodeResource

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

NodeResource defines the resource implementation.

func (*NodeResource) Configure

func (*NodeResource) Create

func (*NodeResource) Delete

func (*NodeResource) ImportState

func (*NodeResource) Metadata

func (*NodeResource) Read

func (*NodeResource) Schema

func (*NodeResource) Update

Jump to

Keyboard shortcuts

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