Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 )
var ( MinVersionPolicyIDs = version.Must(version.NewVersion("8.15.0")) MinVersionOutputID = version.Must(version.NewVersion("8.16.0")) )
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 ¶
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.