role

package
v0.0.0-...-5ce2981 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
}

Driver is a role where the user is actively adding changes to the project

func (Driver) LongName

func (role Driver) LongName() string

LongName returns the long name for the driver role, e.g. "Driver role"

func (Driver) Name

func (Driver) Name() string

Name returns the name of the driver role

func (Driver) RunsWithTimer

func (Driver) RunsWithTimer() bool

RunsWithTimer indicates whether this role uses a timer

type Navigator struct {
}

Navigator is a role where the user does not apply any change, but regularly retrieves updates from git

func (role Navigator) LongName() string

LongName returns the long name for the navigator role, e.g. "Navigator role"

func (Navigator) Name() string

Name returns the name of the navigator role

func (Navigator) RunsWithTimer() bool

RunsWithTimer indicates whether this role uses a timer

type Role

type Role interface {
	Name() string
	LongName() string
	RunsWithTimer() bool
}

Role provides the interface that a role must implement in order to be used by TCR engine

Jump to

Keyboard shortcuts

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