controller

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyParam

type BodyParam struct {
	Metadata *domain.Metadata
}

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func InitializeController

func InitializeController(ctx context.Context, httpClient *http.Client, logCfg *zap.Config) *Controller

func New

func New(gh domain.GitHub, logCfg *zap.Config) *Controller

func (*Controller) Run

func (ctrl *Controller) Run(ctx context.Context, logger *zap.Logger, param *RunParam) error

type RunParam

type RunParam struct {
	GitHubEventPath string
	GitHubActor     string
	GitHubRunID     string
	ConfigFilePath  string
}

type TitleParam

type TitleParam struct {
	RepoOwner string
	RepoName  string
	Metadata  *domain.Metadata
}

Jump to

Keyboard shortcuts

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