disable

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	GitConfigReader     gitconfig.Reader
	GitConfigWriter     gitconfig.Writer
	StatFile            func(string) (os.FileInfo, error)
	RemoveFile          func(string) error
	StateWriter         state.Writer
	ConfigReader        config.Reader
	ActivationValidator activation.Validator
}

Dependencies the dependencies of the disable Policy module

type Failed

type Failed struct {
	Reason error
}

Failed failed to disable git-team

type Policy

type Policy struct {
	Deps Dependencies
}

Policy the policy to apply

func (Policy) Apply

func (policy Policy) Apply() events.Event

Apply disable team mode

type Succeeded

type Succeeded struct{}

Succeeded successfully disabled git-team

Directories

Path Synopsis
interfaceadapter
cmd

Jump to

Keyboard shortcuts

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