runner

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package runner 는 배포 실행을 스택의 CI 러너에게 넘긴다.

docker.Builder 의 반대편이다. 그쪽은 플랫폼이 직접 빌드하는 장애 대응 경로이고, 이쪽은 스택 컴포넌트가 실행하는 일반 경로다 — CI 가 빌드해 레지스트리에 올리고 CD 도구가 클러스터에 반영한다.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delegate

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

Delegate 는 port.BuildDelegate 의 구현체다.

func NewDelegate

func NewDelegate(factory port.SCMBundleFactory, tracker *kube.StepTracker) *Delegate

NewDelegate 는 러너 위임기를 만든다.

factory 는 스택마다 다른 CI 서버 주소·자격증명을 요청 시점에 조립한다. tracker 는 배포 화면에 진행 상황을 보여 준다(없어도 위임 자체는 된다).

func (*Delegate) DelegateBuild

func (d *Delegate) DelegateBuild(ctx context.Context, opts port.DelegateBuildOpts) (string, error)

DelegateBuild 는 러너의 실행을 시작시키고 그 실행의 주소를 돌려준다.

Jump to

Keyboard shortcuts

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