bluesky
Send posts to Bluesky from your Dagger pipelinesInstallation
dagger install github.com/levlaz/daggerverse/bluesky@v0.3.1
Entrypoint
Return Type
Bluesky
Example
dagger -m github.com/levlaz/daggerverse/bluesky@843d3d49a984e2d194d6d0fa6d0ff0858796189d call \
func (m *myModule) example() *Bluesky {
return dag.
Bluesky()
}
@function
def example() -> dag.Bluesky:
return (
dag.bluesky()
)
@func()
example(): Bluesky {
return dag
.bluesky()
}
Types
Bluesky 🔗
post() 🔗
Send post to Bluesky
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
String ! | - | No description provided | |
password | Secret ! | - | No description provided |
text | String ! | - | No description provided |
host | String ! | "https://bsky.social" | No description provided |
Example
dagger -m github.com/levlaz/daggerverse/bluesky@843d3d49a984e2d194d6d0fa6d0ff0858796189d call \
post --email string --password env:MYSECRET --text string --host string
func (m *myModule) example(ctx context.Context, email string, password *Secret, text string, host string) string {
return dag.
Bluesky().
Post(ctx, email, password, text, host)
}
@function
async def example(email: str, password: dagger.Secret, text: str, host: str) -> str:
return await (
dag.bluesky()
.post(email, password, text, host)
)
@func()
async example(email: string, password: Secret, text: string, host: string): Promise<string> {
return dag
.bluesky()
.post(email, password, text, host)
}