SourceProvider
@cosmos-building-blocks/pipeline › Globals › SourceProvider
Type parameters
▪ Repo
Hierarchy
SourceProvider
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:
Name | Type |
---|---|
props | SourceProviderProps‹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:
Name | Type |
---|---|
scope | Construct |
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:
Name | Type |
---|---|
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:
Name | Type |
---|---|
name | string |
role | IRole |
sourceOutput | Artifact |
branch? | undefined | string |
trigger? | undefined | false | true |
Returns: Action