providers

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PORTS_RE = regexp.MustCompile(`0.0.0.0:([0-9]+)->([0-9]+)/tcp`)
View Source
var TERM_CHARS_RE = regexp.MustCompile("[\u001B\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))")
View Source
var URL_RE = regexp.MustCompile(`/issues/([0-9]+)`)

Functions

This section is empty.

Types

type GithubAuthor

type GithubAuthor struct {
	Login string
}

type GithubIssue

type GithubIssue struct {
	Author    GithubAuthor
	Labels    []GithubLabel
	CreatedAt string
	Number    int
	State     string
	Title     string
}

type GithubIssuesProvider

type GithubIssuesProvider struct {
}

func (*GithubIssuesProvider) Create

func (g *GithubIssuesProvider) Create(c api.Callbacks) (interface{}, error)

func (*GithubIssuesProvider) Discover

func (g *GithubIssuesProvider) Discover(callbacks api.Callbacks) error

func (*GithubIssuesProvider) ExecuteCommand

func (g *GithubIssuesProvider) ExecuteCommand(commandName string, callbacks api.Callbacks) (interface{}, error)

func (*GithubIssuesProvider) Get

func (g *GithubIssuesProvider) Get(callbacks api.Callbacks) (interface{}, error)

func (*GithubIssuesProvider) Init

func (g *GithubIssuesProvider) Init(config map[string]string) error

func (*GithubIssuesProvider) Name

func (g *GithubIssuesProvider) Name() string

type GithubLabel

type GithubLabel struct {
	Name string
}

type GithubRelease

type GithubRelease struct {
	Author      GithubAuthor
	PublishedAt string
	Url         string
	Name        string
	Body        string
}

type GithubReleasesProvider

type GithubReleasesProvider struct {
}

func (*GithubReleasesProvider) Describe

func (g *GithubReleasesProvider) Describe(c api.Callbacks) (interface{}, error)

func (*GithubReleasesProvider) Discover

func (g *GithubReleasesProvider) Discover(callbacks api.Callbacks) error

func (*GithubReleasesProvider) ExecuteCommand

func (g *GithubReleasesProvider) ExecuteCommand(commandName string, c api.Callbacks) (interface{}, error)

func (*GithubReleasesProvider) Get

func (g *GithubReleasesProvider) Get(c api.Callbacks) (interface{}, error)

func (*GithubReleasesProvider) Init

func (g *GithubReleasesProvider) Init(config map[string]string) error

func (*GithubReleasesProvider) Name

func (g *GithubReleasesProvider) Name() string

type LocalDocProvider

type LocalDocProvider struct {
	Path string
}

func (*LocalDocProvider) Discover

func (l *LocalDocProvider) Discover(callbacks api.Callbacks) error

func (*LocalDocProvider) ExecuteCommand

func (l *LocalDocProvider) ExecuteCommand(commandName string, c api.Callbacks) (interface{}, error)

func (*LocalDocProvider) Init

func (l *LocalDocProvider) Init(config map[string]string) error

func (*LocalDocProvider) Name

func (l *LocalDocProvider) Name() string

func (*LocalDocProvider) Search

func (l *LocalDocProvider) Search(c api.Callbacks) (interface{}, error)

type LocalDockerComposeProvider

type LocalDockerComposeProvider struct {
	Env   string
	Path  string
	Image string
	Proto string
	// contains filtered or unexported fields
}

func (*LocalDockerComposeProvider) Describe

func (l *LocalDockerComposeProvider) Describe(c api.Callbacks) (map[string]interface{}, error)

func (*LocalDockerComposeProvider) Discover

func (l *LocalDockerComposeProvider) Discover(callbacks api.Callbacks) error

func (*LocalDockerComposeProvider) ExecuteCommand

func (l *LocalDockerComposeProvider) ExecuteCommand(commandName string, callbacks api.Callbacks) (interface{}, error)

func (*LocalDockerComposeProvider) Get

func (l *LocalDockerComposeProvider) Get(callbacks api.Callbacks) ([]map[string]interface{}, error)

func (*LocalDockerComposeProvider) Init

func (l *LocalDockerComposeProvider) Init(config map[string]string) error

func (*LocalDockerComposeProvider) Name

func (*LocalDockerComposeProvider) Update

func (l *LocalDockerComposeProvider) Update(c api.Callbacks) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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