resolvers

package
v0.0.0-...-69810a0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitResolver

type CommitResolver struct {
	Config  *confer.Config            `inject:""`
	Factory *factories.GonduitFactory `inject:""`
}

CommitResolver resolves phabricator commits to a channel.

func (*CommitResolver) Resolve

func (c *CommitResolver) Resolve(name string) (string, error)

Resolve resolves the channel the message about a commit should be posted on.

type DifferentialResolver

type DifferentialResolver struct {
	Config  *confer.Config            `inject:""`
	Factory *factories.GonduitFactory `inject:""`
}

DifferentialResolver resolves phabricator revisions and diffs to a channel.

func (*DifferentialResolver) Resolve

func (c *DifferentialResolver) Resolve(phid string) (string, error)

Resolve resolves the channel the message about a revision should be posted on.

type TaskResolver

type TaskResolver struct {
	Config  *confer.Config            `inject:""`
	Factory *factories.GonduitFactory `inject:""`
}

TaskResolver resolves Maniphest tasks to Slack channels.

func (*TaskResolver) Resolve

func (c *TaskResolver) Resolve(phid string) (string, error)

Resolve resolves the channel the message about a task should be posted on.

Jump to

Keyboard shortcuts

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