scripts

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChecksumFromScriptMap

func ChecksumFromScriptMap(scripts map[string]*cvmsgspb.CronScript) (string, error)

ChecksumFromScriptMap gets a checksum representing the registered cron scripts for a Vizier.

Types

type Config

type Config struct {
	OtelEndpointConfig *OtelEndpointConfig `yaml:"otelEndpointConfig"`
}

Config represents the configuration for a script. For example: which variables should be pulled in and how.

type OtelEndpointConfig

type OtelEndpointConfig struct {
	URL      string            `yaml:"url"`
	Headers  map[string]string `yaml:"headers"`
	Insecure bool              `yaml:"insecure"`
}

OtelEndpointConfig specifies values that should be filled in for all OTel endpoints in the script.

Jump to

Keyboard shortcuts

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