integrationpolicy

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewInputType       = policyshape.NewInputType
	NewInputsType      = policyshape.NewInputsType
	NewInputsNull      = policyshape.NewInputsNull
	NewInputsValueFrom = policyshape.NewInputsValueFrom

	NewVarsJSONNull    = policyshape.NewVarsJSONNull
	NewVarsJSONUnknown = policyshape.NewVarsJSONUnknown

	// HandleRespSecrets/HandleReqRespSecrets stay exported under their
	// original names since acc/unit tests in other packages may reference
	// them; see also export_test.go historically. They now delegate to the
	// shared secret-handling implementation.
	HandleRespSecrets    = policyshape.HandleRespSecrets
	HandleReqRespSecrets = policyshape.HandleReqRespSecrets
)
View Source
var (
	MinVersionPolicyIDs = version.Must(version.NewVersion("8.15.0"))
	MinVersionOutputID  = version.Must(version.NewVersion("8.16.0"))
)
View Source
var MinVersionCondition = policyshape.MinVersionCondition

MinVersionCondition is the minimum Kibana version that accepts the `condition` field on package-policy inputs/streams. It now lives in policyshape (see that package's version.go) since `condition` is part of the shared InputType/StreamType shape and internal/fleet/managedintegration gates the same attribute against the same requirement; kept as a package-level alias here so existing call sites in this package (capabilities.go, models.go, models_test.go) don't all need an import change. See design.md Open Question 4 resolution for the original empirical investigation.

Functions

func NewResource

func NewResource() resource.Resource

NewResource is a helper function to simplify the provider implementation.

Types

type InputType added in v0.14.0

type InputType = policyshape.InputType

InputType and InputValue model a single element of the `inputs` map.

type InputValue added in v0.14.0

type InputValue = policyshape.InputValue

type InputsType added in v0.14.0

type InputsType = policyshape.InputsType

InputsType and InputsValue model the top-level `inputs` map attribute.

type InputsValue added in v0.14.0

type InputsValue = policyshape.InputsValue

type VarsJSONType added in v0.14.0

type VarsJSONType = policyshape.VarsJSONType

VarsJSONType and VarsJSONValue model the top-level `vars_json` attribute.

type VarsJSONValue added in v0.14.0

type VarsJSONValue = policyshape.VarsJSONValue

func NewVarsJSONWithIntegration added in v0.14.0

func NewVarsJSONWithIntegration(value string, name, version string) (VarsJSONValue, diag.Diagnostics)

NewVarsJSONWithIntegration creates a VarsJSONValue with a known value and an integration context, using this resource's package-info cache (knownPackages, populated by getPackageInfo) to resolve defaults.

Jump to

Keyboard shortcuts

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