Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Notice  The highest tagged major version isv2.

terraform

package
v0.27.3Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License:AGPL-3.0Imports:38Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (// TerraformVersion is the version of Terraform used internally// when Terraform is not available on the system.// NOTE: Keep this in sync with the version in scripts/Dockerfile.base.TerraformVersion = version.Must(version.NewVersion("1.4.6")))

Functions

funcFormatDiagnosticadded inv0.20.0

func FormatDiagnostic(diag *tfjson.Diagnostic)string

funcInstalladded inv0.11.0

func Install(ctxcontext.Context, logslog.Logger, dirstring, wantVersion *version.Version) (string,error)

Install implements a thread-safe, idempotent Terraform Installoperation.

funcPtrInt32added inv0.24.0

func PtrInt32(numberint) *int32

funcServe

func Serve(ctxcontext.Context, options *ServeOptions)error

Serve starts a dRPC server on the provided transport speaking Terraform provisioner.

Types

typeServeOptions

type ServeOptions struct {*provisionersdk.ServeOptions// BinaryPath specifies the "terraform" binary to use.// If omitted, the $PATH will attempt to find it.BinaryPathstring// CachePath must not be used by multiple processes at once.CachePathstringLoggerslog.LoggerTracertrace.Tracer// ExitTimeout defines how long we will wait for a running Terraform// command to exit (cleanly) if the provision was stopped. This// happens when the provision is canceled via RPC and when the command is// still running after the provision stream is closed.//// This is a no-op on Windows where the process can't be interrupted.//// Default value: 3 minutes (unhanger.HungJobExitTimeout). This value should// be kept less than the value that Coder uses to mark hung jobs as failed,// which is 5 minutes (see unhanger package).ExitTimeouttime.Duration}

typeStateadded inv0.18.0

type State struct {Resources        []*proto.ResourceParameters       []*proto.RichParameterGitAuthProviders []string}

funcConvertStateadded inv0.18.0

func ConvertState(modules []*tfjson.StateModule, rawGraphstring) (*State,error)

ConvertState consumes Terraform state and a GraphViz representationproduced by `terraform graph` to produce resources consumable by Coder.nolint:gocyclo

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