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 `alloy:"project_id,attr"` Subscription string `alloy:"subscription,attr"` Labels map[string]string `alloy:"labels,attr,optional"` UseIncomingTimestamp bool `alloy:"use_incoming_timestamp,attr,optional"` UseFullLine bool `alloy:"use_full_line,attr,optional"` }
PullConfig configures a GCPLog target with the 'pull' strategy.
type PushConfig ¶
type PushConfig struct { Server *fnet.ServerConfig `alloy:",squash"` PushTimeout time.Duration `alloy:"push_timeout,attr,optional"` Labels map[string]string `alloy:"labels,attr,optional"` UseIncomingTimestamp bool `alloy:"use_incoming_timestamp,attr,optional"` UseFullLine bool `alloy:"use_full_line,attr,optional"` }
PushConfig configures a GCPLog target with the 'push' strategy.
func (*PushConfig) SetToDefault ¶
func (p *PushConfig) SetToDefault()
SetToDefault implements syntax.Defaulter.
func (*PushConfig) Validate ¶
func (p *PushConfig) Validate() error
Validate implements syntax.Validator.
Click to show internal directories.
Click to hide internal directories.