Movatterモバイル変換


[0]ホーム

URL:


diag

package
v0.29.0Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License:MPL-2.0Imports:3Imported by:0

Details

Repository

github.com/hashicorp/terraform-plugin-go

Links

Documentation

Overview

Package diag contains diagnostics helpers. These implementations areintentionally outside the public API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeDiagnostics

type Diagnostics []*tfprotov6.Diagnostic

Diagnostics is a collection of Diagnostic.

func (Diagnostics)ErrorCount

func (dDiagnostics) ErrorCount()int

ErrorCount returns the number of error severity diagnostics.

func (Diagnostics)Log

func (dDiagnostics) Log(ctxcontext.Context)

Log will log every diagnostic:

  • Error severity at ERROR level
  • Warning severity at WARN level
  • Invalid/Unknown severity at WARN level

func (Diagnostics)WarningCount

func (dDiagnostics) WarningCount()int

WarningCount returns the number of warning severity diagnostics.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp