provider

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 28 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 NewIncidentCatalogEntriesResource added in v1.4.0

func NewIncidentCatalogEntriesResource() resource.Resource

func NewIncidentCatalogEntryResource added in v1.1.0

func NewIncidentCatalogEntryResource() resource.Resource

func NewIncidentCatalogTypeAttributesResource added in v1.1.0

func NewIncidentCatalogTypeAttributesResource() resource.Resource

func NewIncidentCatalogTypeResource added in v1.1.0

func NewIncidentCatalogTypeResource() resource.Resource

func NewIncidentCustomFieldOptionResource

func NewIncidentCustomFieldOptionResource() resource.Resource

func NewIncidentCustomFieldResource

func NewIncidentCustomFieldResource() resource.Resource

func NewIncidentRoleResource

func NewIncidentRoleResource() resource.Resource

func NewIncidentSeverityResource

func NewIncidentSeverityResource() resource.Resource

func NewIncidentStatusResource

func NewIncidentStatusResource() resource.Resource

Types

type CatalogEntryAttributeBindingModel added in v1.4.0

type CatalogEntryAttributeBindingModel struct {
	Value      types.String `tfsdk:"value"`
	ArrayValue types.List   `tfsdk:"array_value"`
}

type CatalogEntryAttributeValue added in v1.1.0

type CatalogEntryAttributeValue struct {
	Attribute  types.String `tfsdk:"attribute"`
	Value      types.String `tfsdk:"value"`
	ArrayValue types.List   `tfsdk:"array_value"`
}

type CatalogEntryModel added in v1.4.0

type CatalogEntryModel struct {
	ID              types.String                                 `tfsdk:"id"`
	Name            types.String                                 `tfsdk:"name"`
	Alias           types.String                                 `tfsdk:"alias"`
	Rank            types.Int64                                  `tfsdk:"rank"`
	AttributeValues map[string]CatalogEntryAttributeBindingModel `tfsdk:"attribute_values"`
	// contains filtered or unexported fields
}

type IncidentCatalogEntriesResource added in v1.4.0

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

func (*IncidentCatalogEntriesResource) Configure added in v1.4.0

func (*IncidentCatalogEntriesResource) Create added in v1.4.0

func (*IncidentCatalogEntriesResource) Delete added in v1.4.0

func (*IncidentCatalogEntriesResource) ImportState added in v1.4.0

func (*IncidentCatalogEntriesResource) Metadata added in v1.4.0

func (*IncidentCatalogEntriesResource) Read added in v1.4.0

func (*IncidentCatalogEntriesResource) Schema added in v1.4.0

func (*IncidentCatalogEntriesResource) Update added in v1.4.0

type IncidentCatalogEntriesResourceModel added in v1.4.0

type IncidentCatalogEntriesResourceModel struct {
	ID      types.String                 `tfsdk:"id"` // Catalog Type ID
	Entries map[string]CatalogEntryModel `tfsdk:"entries"`
}

type IncidentCatalogEntryResource added in v1.1.0

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

func (*IncidentCatalogEntryResource) Configure added in v1.1.0

func (*IncidentCatalogEntryResource) Create added in v1.1.0

func (*IncidentCatalogEntryResource) Delete added in v1.1.0

func (*IncidentCatalogEntryResource) ImportState added in v1.1.0

func (*IncidentCatalogEntryResource) Metadata added in v1.1.0

func (*IncidentCatalogEntryResource) Read added in v1.1.0

func (*IncidentCatalogEntryResource) Schema added in v1.1.0

func (*IncidentCatalogEntryResource) Update added in v1.1.0

type IncidentCatalogEntryResourceModel added in v1.1.0

type IncidentCatalogEntryResourceModel struct {
	ID              types.String                 `tfsdk:"id"`
	CatalogTypeID   types.String                 `tfsdk:"catalog_type_id"`
	Name            types.String                 `tfsdk:"name"`
	Alias           types.String                 `tfsdk:"alias"`
	Rank            types.Int64                  `tfsdk:"rank"`
	AttributeValues []CatalogEntryAttributeValue `tfsdk:"attribute_values"`
}

type IncidentCatalogTypeAttributeResource added in v1.1.0

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

func (*IncidentCatalogTypeAttributeResource) Configure added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Create added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Delete added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Metadata added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Read added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Schema added in v1.1.0

func (*IncidentCatalogTypeAttributeResource) Update added in v1.1.0

type IncidentCatalogTypeAttributesResourceModel added in v1.1.0

type IncidentCatalogTypeAttributesResourceModel struct {
	ID            types.String `tfsdk:"id"`
	CatalogTypeID types.String `tfsdk:"catalog_type_id"`
	Name          types.String `tfsdk:"name"`
	Type          types.String `tfsdk:"type"`
	Array         types.Bool   `tfsdk:"array"`
}

type IncidentCatalogTypeResource added in v1.1.0

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

func (*IncidentCatalogTypeResource) Configure added in v1.1.0

func (*IncidentCatalogTypeResource) Create added in v1.1.0

func (*IncidentCatalogTypeResource) Delete added in v1.1.0

func (*IncidentCatalogTypeResource) ImportState added in v1.1.0

func (*IncidentCatalogTypeResource) Metadata added in v1.1.0

func (*IncidentCatalogTypeResource) Read added in v1.1.0

func (*IncidentCatalogTypeResource) Schema added in v1.1.0

func (*IncidentCatalogTypeResource) Update added in v1.1.0

type IncidentCatalogTypeResourceModel added in v1.1.0

type IncidentCatalogTypeResourceModel struct {
	ID           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	SemanticType types.String `tfsdk:"semantic_type"`
}

type IncidentCustomFieldOptionResource

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

func (*IncidentCustomFieldOptionResource) Configure

func (*IncidentCustomFieldOptionResource) Create

func (*IncidentCustomFieldOptionResource) Delete

func (*IncidentCustomFieldOptionResource) ImportState

func (*IncidentCustomFieldOptionResource) Metadata

func (*IncidentCustomFieldOptionResource) Read

func (*IncidentCustomFieldOptionResource) Schema

func (*IncidentCustomFieldOptionResource) Update

type IncidentCustomFieldOptionResourceModel

type IncidentCustomFieldOptionResourceModel struct {
	ID            types.String `tfsdk:"id"`
	CustomFieldID types.String `tfsdk:"custom_field_id"`
	SortKey       types.Int64  `tfsdk:"sort_key"`
	Value         types.String `tfsdk:"value"`
}

type IncidentCustomFieldResource

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

func (*IncidentCustomFieldResource) Configure

func (*IncidentCustomFieldResource) Create

func (*IncidentCustomFieldResource) Delete

func (*IncidentCustomFieldResource) ImportState

func (*IncidentCustomFieldResource) Metadata

func (*IncidentCustomFieldResource) Read

func (*IncidentCustomFieldResource) Schema

func (*IncidentCustomFieldResource) Update

type IncidentCustomFieldResourceModel

type IncidentCustomFieldResourceModel struct {
	ID                     types.String `tfsdk:"id"`
	Name                   types.String `tfsdk:"name"`
	Description            types.String `tfsdk:"description"`
	FieldType              types.String `tfsdk:"field_type"`
	Required               types.String `tfsdk:"required"`
	ShowBeforeClosure      types.Bool   `tfsdk:"show_before_closure"`
	ShowBeforeCreation     types.Bool   `tfsdk:"show_before_creation"`
	ShowBeforeUpdate       types.Bool   `tfsdk:"show_before_update"`
	ShowInAnnouncementPost types.Bool   `tfsdk:"show_in_announcement_post"`
}

type IncidentProvider

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

func (*IncidentProvider) Configure

func (*IncidentProvider) DataSources

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

func (*IncidentProvider) Metadata

func (*IncidentProvider) Resources

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

func (*IncidentProvider) Schema

type IncidentProviderModel

type IncidentProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
	APIKey   types.String `tfsdk:"api_key"`
}

type IncidentRoleResource

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

func (*IncidentRoleResource) Configure

func (*IncidentRoleResource) Create

func (*IncidentRoleResource) Delete

func (*IncidentRoleResource) ImportState

func (*IncidentRoleResource) Metadata

func (*IncidentRoleResource) Read

func (*IncidentRoleResource) Schema

func (*IncidentRoleResource) Update

type IncidentRoleResourceModel

type IncidentRoleResourceModel struct {
	ID           types.String `tfsdk:"id"`
	Name         types.String `tfsdk:"name"`
	Description  types.String `tfsdk:"description"`
	Instructions types.String `tfsdk:"instructions"`
	Shortform    types.String `tfsdk:"shortform"`
	Required     types.Bool   `tfsdk:"required"`
}

type IncidentSeverityResource

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

func (*IncidentSeverityResource) Configure

func (*IncidentSeverityResource) Create

func (*IncidentSeverityResource) Delete

func (*IncidentSeverityResource) ImportState

func (*IncidentSeverityResource) Metadata

func (*IncidentSeverityResource) Read

func (*IncidentSeverityResource) Schema

func (*IncidentSeverityResource) Update

type IncidentSeverityResourceModel

type IncidentSeverityResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Rank        types.Int64  `tfsdk:"rank"`
}

type IncidentStatusResource

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

func (*IncidentStatusResource) Configure

func (*IncidentStatusResource) Create

func (*IncidentStatusResource) Delete

func (*IncidentStatusResource) ImportState

func (*IncidentStatusResource) Metadata

func (*IncidentStatusResource) Read

func (*IncidentStatusResource) Schema

func (*IncidentStatusResource) Update

type IncidentStatusResourceModel

type IncidentStatusResourceModel struct {
	ID          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Category    types.String `tfsdk:"category"`
}

Jump to

Keyboard shortcuts

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