SourceProvider

@cosmos-building-blocks/pipelineGlobalsSourceProvider

Type parameters

Repo

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

+ new SourceProvider(props: SourceProviderProps‹Repo›): SourceProvider

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:28

Parameters:

NameType
propsSourceProviderProps‹Repo›

Returns: SourceProvider

Properties

branch

branch: string

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:27


repo

repo: Repo

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:26


trigger

trigger: boolean

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:28

Methods

Abstract setup

setup(scope: Construct): void

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:37

Parameters:

NameType
scopeConstruct

Returns: void


Abstract source

source(branch?: undefined | string, trigger?: undefined | false | true): ISource

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:38

Parameters:

NameType
branch?undefined | string
trigger?undefined | false | true

Returns: ISource


Abstract sourceAction

sourceAction(name: string, role: IRole, sourceOutput: Artifact, branch?: undefined | string, trigger?: undefined | false | true): Action

Defined in packages/@cosmos-building-blocks/pipeline/src/source/source-provider.ts:39

Parameters:

NameType
namestring
roleIRole
sourceOutputArtifact
branch?undefined | string
trigger?undefined | false | true

Returns: Action