config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryAttemptsMaximum = 300
	RetryAfterSeconds    = 60
)

Variables

View Source
var (
	ApiTokenField = field.StringField(
		"api-token",
		field.WithDescription("The Percipio Bearer Token"),
		field.WithRequired(true),
	)
	OrganizationIdField = field.StringField(
		"organization-id",
		field.WithDescription("The Percipio Organization ID"),
		field.WithRequired(true),
	)

	// ConfigurationFields defines the external configuration required for the
	// connector to run. Note: these fields can be marked as optional or
	// required.
	ConfigurationFields = []field.SchemaField{
		ApiTokenField,
		OrganizationIdField,
	}

	// FieldRelationships defines relationships between the fields listed in
	// ConfigurationFields that can be automatically validated. For example, a
	// username and password can be required together, or an access token can be
	// marked as mutually exclusive from the username password pair.
	FieldRelationships = []field.SchemaFieldRelationship{}

	ConfigurationSchema = field.Configuration{
		Fields: ConfigurationFields,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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