infra

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	// contains filtered or unexported fields
}

func New

func New(options ...Option) *Clients

func (*Clients) BigQuery

func (x *Clients) BigQuery() interfaces.BigQuery

func (*Clients) CloudStorage

func (x *Clients) CloudStorage() interfaces.CloudStorage

func (*Clients) Database

func (x *Clients) Database() interfaces.Database

func (*Clients) Policy

func (x *Clients) Policy() *policy.Client

func (*Clients) PubSub

func (x *Clients) PubSub() interfaces.PubSubTopic

func (*Clients) PubSubSubscription

func (x *Clients) PubSubSubscription() interfaces.PubSubSubscription

type Option

type Option func(*Clients)

func WithBigQuery

func WithBigQuery(bq interfaces.BigQuery) Option

func WithCloudStorage

func WithCloudStorage(cs interfaces.CloudStorage) Option

func WithDatabase

func WithDatabase(db interfaces.Database) Option

func WithPolicy

func WithPolicy(policy *policy.Client) Option

func WithPubSubSubscription

func WithPubSubSubscription(sub interfaces.PubSubSubscription) Option

func WithPubSubTopic

func WithPubSubTopic(topic interfaces.PubSubTopic) Option

Directories

Path Synopsis
bq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL