provider

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 32 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

New is a helper function to simplify provider server and testing implementation.

func NewApiBindingResource added in v0.2.0

func NewApiBindingResource() resource.Resource

NewApiBindingResource is a helper function to simplify the provider implementation.

func NewConnectorDataSource added in v0.4.0

func NewConnectorDataSource() datasource.DataSource

NewConnectorDataSource is a helper function to simplify the provider implementation.

func NewLabelResource added in v0.9.0

func NewLabelResource() resource.Resource

NewLabelResource is a helper function to simplify the provider implementation.

func NewListResource added in v0.6.0

func NewListResource() resource.Resource

NewListResource is a helper function to simplify the provider implementation.

func NewLogBindingResource added in v0.2.0

func NewLogBindingResource() resource.Resource

NewLogBindingResource creates log binding resource.

func NewMonitorResource added in v0.4.0

func NewMonitorResource() resource.Resource

NewMonitorResource is a helper function to simplify the provider implementation.

func NewNotificationTemplateResource added in v0.4.0

func NewNotificationTemplateResource() resource.Resource

NewNotificationTemplateResource is a helper function to simplify the provider implementation.

func NewRuleScriptDependenciesResource added in v0.5.0

func NewRuleScriptDependenciesResource() resource.Resource

NewRuleScriptResource is a helper function to simplify the provider implementation.

func NewRuleScriptResource

func NewRuleScriptResource() resource.Resource

NewRuleScriptResource is a helper function to simplify the provider implementation.

func NewRuleTestcaseResource added in v0.8.0

func NewRuleTestcaseResource() resource.Resource

NewRuleTestcaseResource is a helper function to simplify the provider implementation.

func NewRuleTestcaseRunResource added in v0.8.1

func NewRuleTestcaseRunResource() resource.Resource

NewRuleTestcaseRunResource is a helper function to simplify the provider implementation.

func NewSpecDataSource

func NewSpecDataSource() datasource.DataSource

NewSpecDataSource is a helper function to simplify the provider implementation.

func NewSpecResource

func NewSpecResource() resource.Resource

NewSpecResource is a helper function to simplify the provider implementation.

func NewTagMetadataResource added in v0.9.0

func NewTagMetadataResource() resource.Resource

NewTagMetadataResource is a helper function to simplify the provider implementation.

func ReplaceWhenStartTrackingItems added in v0.6.2

func ReplaceWhenStartTrackingItems() planmodifier.List

ReplaceWhenStartTrackingItems replaces the planned value with the state value if the user sets items which previously were set as null. This means that items are will be tracked in the state.

Types

type AssertionType added in v0.8.1

type AssertionType string
const (
	AssertionTypeOutput     AssertionType = "output"
	AssertionTypeBlock      AssertionType = "block"
	AssertionTypeStatusCode AssertionType = "status_code"
	AssertionTypeTags       AssertionType = "tags"
)

type ListResource added in v0.6.0

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

ListResource is the resource implementation.

func (*ListResource) Configure added in v0.6.0

Configure adds the provider configured client to the resource.

func (*ListResource) Create added in v0.6.0

Create a new resource.

func (*ListResource) Delete added in v0.6.0

func (*ListResource) ImportState added in v0.6.0

func (*ListResource) Metadata added in v0.6.0

Metadata returns the resource type name.

func (*ListResource) Read added in v0.6.0

Read resource information.

func (*ListResource) Schema added in v0.6.0

Schema defines the schema for the resource.

func (*ListResource) Update added in v0.6.0

func (*ListResource) ValidateConfig added in v0.6.0

Jump to

Keyboard shortcuts

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