Skip to main content

kubesense_flags 1.0.1 copy "kubesense_flags: ^1.0.1" to clipboard
kubesense_flags: ^1.0.1 copied to clipboard

Kubesense Feature Flags and Experimentation SDK for client applications.

example/README.md

Kubesense Flags Example #

This package contains command line examples for the Kubesense Feature Flags SDK.

Typed Evaluation #

Provide the client token through the environment, then pass evaluation inputs as arguments:

KUBESENSE_CLIENT_TOKEN=<client-token> \
dart run kubesense_flags_example:typed_evaluation \
  --env staging \
  --flag-key checkout.enabled \
  --flag-type boolean \
  --targeting-key test-subject

Optional:

  • KUBESENSE_APPLICATION_ID sets the Kubesense application ID.
  • --endpoint sets the Kubesense collector host. Defaults to us2.kubesense.ai.
  • --targeting-attributes accepts a JSON object string.
0
likes
160
points
67
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Kubesense Feature Flags and Experimentation SDK for client applications.

Homepage

Topics

#kubesense #feature-flags #experimentation

License

Apache-2.0 (license)

Dependencies

http, json_annotation, meta, uuid

More

Packages that depend on kubesense_flags