github

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package github provides the GitHub Actions plugin for TerraCi. It registers a pipeline generator and PR comment service.

Index

Constants

This section is empty.

Variables

View Source
var (
	SummaryJobName     = githubci.SummaryJobName
	OverwriteTypePlan  = githubci.OverwriteTypePlan
	OverwriteTypeApply = githubci.OverwriteTypeApply
)

Re-export constants from internal package.

View Source
var (
	NewGenerator        = githubci.NewGenerator
	NewClient           = githubci.NewClient
	NewClientFromEnv    = githubci.NewClientFromEnv
	DetectPRContext     = githubci.DetectPRContext
	NewPRService        = githubci.NewPRService
	NewPRServiceFromEnv = githubci.NewPRServiceFromEnv
)

Re-export functions from internal package.

Functions

This section is empty.

Types

type Client

type Client = githubci.Client

Re-export types from internal package for external consumers.

type Concurrency

type Concurrency = githubci.Concurrency

Re-export types from internal package for external consumers.

type Config

type Config = githubci.Config

Re-export types from internal package for external consumers.

type ConfigStep

type ConfigStep = githubci.ConfigStep

Re-export types from internal package for external consumers.

type Container

type Container = githubci.Container

Re-export types from internal package for external consumers.

type Generator

type Generator = githubci.Generator

Re-export types from internal package for external consumers.

type Image

type Image = githubci.Image

Re-export types from internal package for external consumers.

type Job

type Job = githubci.Job

Re-export types from internal package for external consumers.

type JobDefaults

type JobDefaults = githubci.JobDefaults

Re-export types from internal package for external consumers.

type JobOverwrite

type JobOverwrite = githubci.JobOverwrite

Re-export types from internal package for external consumers.

type JobOverwriteType

type JobOverwriteType = githubci.JobOverwriteType

Re-export types from internal package for external consumers.

type MRCommentConfig

type MRCommentConfig = githubci.MRCommentConfig

Re-export types from internal package for external consumers.

type PRConfig

type PRConfig = githubci.PRConfig

Re-export types from internal package for external consumers.

type PRContext

type PRContext = githubci.PRContext

Re-export types from internal package for external consumers.

type PRService

type PRService = githubci.PRService

Re-export types from internal package for external consumers.

type PRTrigger

type PRTrigger = githubci.PRTrigger

Re-export types from internal package for external consumers.

type Plugin

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

Plugin is the GitHub Actions plugin.

func (*Plugin) BuildInitConfig

func (p *Plugin) BuildInitConfig(state plugin.InitState) *plugin.InitContribution

func (*Plugin) ConfigKey

func (p *Plugin) ConfigKey() string

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) DetectEnv

func (p *Plugin) DetectEnv() bool

func (*Plugin) InitGroup

func (p *Plugin) InitGroup() *plugin.InitGroupSpec

func (*Plugin) Initialize

func (p *Plugin) Initialize(_ context.Context, _ *plugin.AppContext) error

func (*Plugin) IsConfigured

func (p *Plugin) IsConfigured() bool

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NewCommentService

func (p *Plugin) NewCommentService(_ *plugin.AppContext) ci.CommentService

func (*Plugin) NewConfig

func (p *Plugin) NewConfig() any

func (*Plugin) NewGenerator

func (p *Plugin) NewGenerator(_ *plugin.AppContext, depGraph *graph.DependencyGraph, modules []*discovery.Module) pipeline.Generator

func (*Plugin) ProviderName

func (p *Plugin) ProviderName() string

func (*Plugin) SetConfig

func (p *Plugin) SetConfig(cfg any) error

type PushTrigger

type PushTrigger = githubci.PushTrigger

Re-export types from internal package for external consumers.

type Step

type Step = githubci.Step

Re-export types from internal package for external consumers.

type SummaryJobConfig

type SummaryJobConfig = githubci.SummaryJobConfig

Re-export types from internal package for external consumers.

type Workflow

type Workflow = githubci.Workflow

Re-export types from internal package for external consumers.

type WorkflowTrigger

type WorkflowTrigger = githubci.WorkflowTrigger

Re-export types from internal package for external consumers.

Directories

Path Synopsis
Package githubci provides GitHub API client for PR integration
Package githubci provides GitHub API client for PR integration

Jump to

Keyboard shortcuts

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