controller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	*Options
	// contains filtered or unexported fields
}

Controller main logic controller

func NewController

func NewController(opts Options) *Controller

NewController init

func (*Controller) Start

func (c *Controller) Start(ctx context.Context) error

Start blocks and begins logic

type Options

type Options struct {
	GitRepoURL      string
	GitRelativePath string
	GitBranch       string
	GitAuth         transport.AuthMethod
	NetBirdToken    string
	NetBirdAPI      string
	SyncOnceAndExit bool
}

Options controller settings

Jump to

Keyboard shortcuts

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