handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 23 Imported by: 5 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(data []byte, platform models.Platform, credentials *models.Credentials) (*models.Pipeline, error)

Types

type AzureHandler

type AzureHandler struct{}

func (*AzureHandler) GetEnhancer added in v1.0.0

func (g *AzureHandler) GetEnhancer() enhancers.Enhancer

func (*AzureHandler) GetLoader

func (*AzureHandler) GetParser

func (*AzureHandler) GetPlatform added in v1.0.0

func (g *AzureHandler) GetPlatform() models.Platform

type BitbucketHandler added in v0.3.0

type BitbucketHandler struct{}

func (*BitbucketHandler) GetEnhancer added in v1.0.0

func (g *BitbucketHandler) GetEnhancer() enhancers.Enhancer

func (*BitbucketHandler) GetLoader added in v0.3.0

func (*BitbucketHandler) GetParser added in v0.3.0

func (*BitbucketHandler) GetPlatform added in v1.0.0

func (g *BitbucketHandler) GetPlatform() models.Platform

type GitHubHandler

type GitHubHandler struct{}

func (*GitHubHandler) GetEnhancer added in v1.0.0

func (g *GitHubHandler) GetEnhancer() enhancers.Enhancer

func (*GitHubHandler) GetLoader

func (*GitHubHandler) GetParser

func (*GitHubHandler) GetPlatform added in v1.0.0

func (g *GitHubHandler) GetPlatform() models.Platform

type GitLabHandler

type GitLabHandler struct{}

func (*GitLabHandler) GetEnhancer added in v1.0.0

func (g *GitLabHandler) GetEnhancer() enhancers.Enhancer

func (*GitLabHandler) GetLoader

func (*GitLabHandler) GetParser

func (*GitLabHandler) GetPlatform added in v1.0.0

func (g *GitLabHandler) GetPlatform() models.Platform

type Handler

type Handler[T any] interface {
	GetPlatform() models.Platform
	GetLoader() loaders.Loader[T]
	GetParser() parsers.Parser[T]
	GetEnhancer() enhancers.Enhancer
}

Jump to

Keyboard shortcuts

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