Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewSession = func(ctx context.Context, opt config.Spanner, opts ...option.ClientOption) (ISession, error) {
return newClient(ctx, opt.ProjectID, opts...)
}
NewSession method
Functions ¶
This section is empty.
Types ¶
type ISession ¶
type ISession interface { Close() error DeleteLog(ctx context.Context, logID string) error Entries(ctx context.Context, opts ...logadmin.EntriesOption) *logadmin.EntryIterator Logs(ctx context.Context) *logadmin.LogIterator CreateMetric(ctx context.Context, m *logadmin.Metric) error DeleteMetric(ctx context.Context, metricID string) error Metric(ctx context.Context, metricID string) (*logadmin.Metric, error) UpdateMetric(ctx context.Context, m *logadmin.Metric) error Metrics(ctx context.Context) *logadmin.MetricIterator ResourceDescriptors(ctx context.Context) *logadmin.ResourceDescriptorIterator CreateSink(ctx context.Context, sink *logadmin.Sink) (*logadmin.Sink, error) CreateSinkOpt(ctx context.Context, sink *logadmin.Sink, opts logadmin.SinkOptions) (*logadmin.Sink, error) DeleteSink(ctx context.Context, sinkID string) error Sink(ctx context.Context, sinkID string) (*logadmin.Sink, error) UpdateSink(ctx context.Context, sink *logadmin.Sink) (*logadmin.Sink, error) UpdateSinkOpt(ctx context.Context, sink *logadmin.Sink, opts logadmin.SinkOptions) (*logadmin.Sink, error) Sinks(ctx context.Context) *logadmin.SinkIterator }
ISession interface
Click to show internal directories.
Click to hide internal directories.