disable

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: MIT Imports: 4 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 {
	GitUnsetCommitTemplate func() error
	GitUnsetHooksPath      func() error
	LoadConfig             func() config.Config
	StatFile               func(string) (os.FileInfo, error)
	RemoveFile             func(string) error
	PersistDisabled        func() error
}

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