Dagger
Search

pocketci

No long description provided.

Installation

dagger install github.com/franela/pocketci/module@602729cb8cf92ea5040767b3f3c18153aafb8942

Entrypoint

Return Type
Pocketci
Example
dagger -m github.com/franela/pocketci/module@602729cb8cf92ea5040767b3f3c18153aafb8942 call \
func (m *myModule) example() *Pocketci  {
	return dag.
			Pocketci()
}
@function
def example() -> dag.Pocketci:
	return (
		dag.pocketci()
	)
@func()
example(): Pocketci {
	return dag
		.pocketci()
}

Types

Pocketci 🔗

publish() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
addressString !-No description provided
usernameString !-No description provided
passwordSecret !-No description provided
Example
dagger -m github.com/franela/pocketci/module@602729cb8cf92ea5040767b3f3c18153aafb8942 call \
 publish --src DIR_PATH --address string --username string --password env:MYSECRET
func (m *myModule) example(ctx context.Context, src *Directory, address string, username string, password *Secret) string  {
	return dag.
			Pocketci().
			Publish(ctx, src, address, username, password)
}
@function
async def example(src: dagger.Directory, address: str, username: str, password: dagger.Secret) -> str:
	return await (
		dag.pocketci()
		.publish(src, address, username, password)
	)
@func()
async example(src: Directory, address: string, username: string, password: Secret): Promise<string> {
	return dag
		.pocketci()
		.publish(src, address, username, password)
}

baseContainer() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
dagger -m github.com/franela/pocketci/module@602729cb8cf92ea5040767b3f3c18153aafb8942 call \
 base-container --src DIR_PATH
func (m *myModule) example(src *Directory) *Container  {
	return dag.
			Pocketci().
			BaseContainer(src)
}
@function
def example(src: dagger.Directory) -> dagger.Container:
	return (
		dag.pocketci()
		.base_container(src)
	)
@func()
example(src: Directory): Container {
	return dag
		.pocketci()
		.baseContainer(src)
}

serve() 🔗

Starts the pocketci web handler

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
hooksFile -No description provided
asyncBoolean -No description provided
Example
dagger -m github.com/franela/pocketci/module@602729cb8cf92ea5040767b3f3c18153aafb8942 call \
 serve --src DIR_PATH
func (m *myModule) example(src *Directory) *Service  {
	return dag.
			Pocketci().
			Serve(src)
}
@function
def example(src: dagger.Directory) -> dagger.Service:
	return (
		dag.pocketci()
		.serve(src)
	)
@func()
example(src: Directory): Service {
	return dag
		.pocketci()
		.serve(src)
}