frozen_throne

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrozenThrone

type FrozenThrone struct {
	Config  config.Config
	Storage storage.StorageInterface
}

func NewFrozenThrone

func NewFrozenThrone(ctx context.Context) *FrozenThrone

func (*FrozenThrone) Check

func (f *FrozenThrone) Check(name string) (string, error)

Check will see if a repo is currently frozen

func (*FrozenThrone) Freeze

func (f *FrozenThrone) Freeze(name string, user string) error

Freeze will prevent merges for a repo

func (*FrozenThrone) Thaw added in v1.1.0

func (f *FrozenThrone) Thaw(name string, user string) error

Thaw will allow merges for a repo

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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