Dagger
Search

scorecard

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/scorecard@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d

Entrypoint

Return Type
Scorecard
Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
func (m *myModule) example() *Scorecard  {
	return dag.
			Scorecard()
}
@function
def example() -> dag.Scorecard:
	return (
		dag.scorecard()
	)
@func()
example(): Scorecard {
	return dag
		.scorecard()
}

Types

Scorecard 🔗

calc() 🔗

Calculates the scorecard for a given repository.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
repoString !-No description provided
formatString -No description provided
checksString -No description provided
tokenSecret -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/scorecard@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
 calc --repo string
func (m *myModule) example(ctx context.Context, repo string) string  {
	return dag.
			Scorecard().
			Calc(ctx, repo)
}
@function
async def example(repo: str) -> str:
	return await (
		dag.scorecard()
		.calc(repo)
	)
@func()
async example(repo: string): Promise<string> {
	return dag
		.scorecard()
		.calc(repo)
}