handler

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

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

Types

type AzureHandler

type AzureHandler struct{}

func (*AzureHandler) GetLoader

func (*AzureHandler) GetParser

type GitHubHandler

type GitHubHandler struct{}

func (*GitHubHandler) GetLoader

func (*GitHubHandler) GetParser

type GitLabHandler

type GitLabHandler struct{}

func (*GitLabHandler) GetLoader

func (*GitLabHandler) GetParser

type Handler

type Handler[T any] interface {
	GetLoader() loaders.Loader[T]
	GetParser() parsers.Parser[T]
}

Jump to

Keyboard shortcuts

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