bluesky
Send posts to Bluesky from your Dagger pipelinesExample (Post)
no available example in current language// Example for Post function
func (m *Example) Bluesky_Post (ctx context.Context) (string, error) {
// ideally this is passed in as a secret
password := dag.SetSecret("test", "test")
return dag.Bluesky().Post(ctx, "test@test.com", password, "Hello, world!")
}no available example in current languageno available example in current languageInstallation
dagger install github.com/levlaz/daggerverse/bluesky@v0.3.0Entrypoint
Return Type
Bluesky Example
dagger -m github.com/levlaz/daggerverse/bluesky@7ea4ab7ea966555c5624bd7d4bb0415dad0d7e91 call \
func (m *MyModule) Example() *dagger.Bluesky {
return dag.
Bluesky()
}@function
def example() -> dagger.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
no available example in current languageno available example in current languagedef bluesky_post(self) -> str:
"""Example for post function"""
# ideally this is passed in as a secret
password = dag.set_secret("test", "test")
return dag.bluesky().post("test@test.com", password, "Hello, world!") /**
* example for post function
*/
@func()
blueskyPost() {
// ideally this is passed in as a secret
const password = dag.setSecret("test", "test");
return dag.bluesky().post("test@test.com", password, "Hello, world!");
}