Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PullConfig ¶
type PullConfig struct { ProjectID string `river:"project_id,attr"` Subscription string `river:"subscription,attr"` Labels map[string]string `river:"labels,attr,optional"` UseIncomingTimestamp bool `river:"use_incoming_timestamp,attr,optional"` UseFullLine bool `river:"use_full_line,attr,optional"` }
PullConfig configures a GCPLog target with the 'pull' strategy.
type PushConfig ¶
type PushConfig struct { Server *fnet.ServerConfig `river:",squash"` PushTimeout time.Duration `river:"push_timeout,attr,optional"` Labels map[string]string `river:"labels,attr,optional"` UseIncomingTimestamp bool `river:"use_incoming_timestamp,attr,optional"` UseFullLine bool `river:"use_full_line,attr,optional"` }
PushConfig configures a GCPLog target with the 'push' strategy.
func (*PushConfig) SetToDefault ¶
func (p *PushConfig) SetToDefault()
SetToDefault implements river.Defaulter.
func (*PushConfig) Validate ¶
func (p *PushConfig) Validate() error
Validate implements river.Validator.
Click to show internal directories.
Click to hide internal directories.