repowatch

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(config Config, params Params) (<-chan string, error)

Types

type Config

type Config struct {
	AwsSecretId              string        `yaml:"aws_secret_id"`
	Branch                   string        `yaml:"branch"`
	CheckInterval            time.Duration `yaml:"check_interval"`
	LocalRepositoryDirectory string        `yaml:"local_repository_directory"`
	RepositoryURL            string        `yaml:"repository_url"`
}

Config specifies the configuration.

type Params

type Params struct {
	// Mandatory parameters.
	Logger log.DebugLogger
	// Optional parameters.
	MetricDirectory string
}

Params specifies runtime parameters.

Jump to

Keyboard shortcuts

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