validator

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedIntegrationTypes

func AllowedIntegrationTypes() []string

func NotEmptyString

func NotEmptyString() tfsdk.AttributeValidator

NotEmptyString checks that the string is not empty.

func RequiresConfiguredCredentials

func RequiresConfiguredCredentials() tfsdk.AttributeValidator

RequiresConfiguredCredentials checks that a set of path.Expression match specific integration type, e.g.

  • type 'github' has token defined
  • type 'acr' has username, password and registryBase defined

Full matrix can be found under attributes, see https://snyk.docs.apiary.io/#reference/integrations/integrations/add-new-integration

Types

This section is empty.

Jump to

Keyboard shortcuts

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