Versions in this module Expand all Collapse all v0 v0.2.1 Oct 9, 2026 v0.2.0 Oct 8, 2026 Changes in this version + const AuthIAM + const AuthPassword + const DefaultName + const FieldRegion + func Bucket(host Host, name ...string) bucket.Store + func Cache(host Host, name ...string) cache.Client + func Datastore(host Host, name ...string) datastore.Client + func Queue(host Host, name ...string) queue.Client + func RegisterProvider(p Provider) + func RegisteredProviders() []string + func Release(ctx context.Context) error + func SQLDatabase(host Host, name ...string) sqldb.Client + func Topic(host Host, name ...string) topic.Client + type Closer interface + Close func(ctx context.Context) error + type Fields struct + Ref Ref + func (f Fields) Boolean(ctx context.Context, suffix string, fallback bool) (bool, error) + func (f Fields) Number(ctx context.Context, suffix string, fallback int) (int, error) + func (f Fields) Optional(ctx context.Context, suffix, fallback string) (string, error) + func (f Fields) Reader() *Reader + func (f Fields) Required(ctx context.Context, suffix string) (string, error) + type Host interface + Config func() *config.Service + Extracting func() bool + RecordResourceRef func(kind Kind, name string) + ResourceError func(err error) + ResourceProvider func() Provider + type Kind string + const KindBucket + const KindCache + const KindConfig + const KindDatastore + const KindQueue + const KindSQLDatabase + const KindTopic + type MissingProviderError struct + Kind Kind + Linked []string + Name string + func (e *MissingProviderError) Error() string + type Provider interface + Bucket func(Ref) (bucket.Store, error) + Cache func(Ref) (cache.Client, error) + Datastore func(Ref) (datastore.Client, error) + Name func() string + Queue func(Ref) (queue.Client, error) + SQLDatabase func(Ref) (sqldb.Client, error) + Topic func(Ref) (topic.Client, error) + func DetectedProvider() (Provider, bool) + func FallbackProvider(excluding string) (Provider, bool) + type Reader struct + func (r *Reader) Boolean(ctx context.Context, suffix string, fallback bool) bool + func (r *Reader) Err() error + func (r *Reader) Number(ctx context.Context, suffix string, fallback int) int + func (r *Reader) Optional(ctx context.Context, suffix, fallback string) string + func (r *Reader) Required(ctx context.Context, suffix string) string + type Ref struct + Config *config.Service + Kind Kind + Name string + func (r Ref) Field(ctx context.Context, suffix string) (string, bool, error) + func (r Ref) ID(ctx context.Context) (string, error) + func (r Ref) String() string