 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
      Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultArguments = Arguments{ PollFrequency: 10 * time.Minute, }
DefaultArguments sets the poll frequency
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
	Path string `alloy:"path,attr"`
	// PollFrequency determines the frequency to check for changes
	// defaults to 10m.
	PollFrequency time.Duration `alloy:"poll_frequency,attr,optional"`
	// IsSecret determines if the content should be displayed to the user.
	IsSecret bool `alloy:"is_secret,attr,optional"`
	// Options allows the overriding of default settings.
	Options Client `alloy:"client,block,optional"`
}
    Arguments implements the input for the S3 component.
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type Client ¶
type Client struct {
	AccessKey     string            `alloy:"key,attr,optional"`
	Secret        alloytypes.Secret `alloy:"secret,attr,optional"`
	Endpoint      string            `alloy:"endpoint,attr,optional"`
	DisableSSL    bool              `alloy:"disable_ssl,attr,optional"`
	UsePathStyle  bool              `alloy:"use_path_style,attr,optional"`
	Region        string            `alloy:"region,attr,optional"`
	SigningRegion string            `alloy:"signing_region,attr,optional"`
}
    Client implements specific AWS configuration options
type Component ¶
type Component struct {
	// contains filtered or unexported fields
}
    Component handles reading content from a file located in an Component-compatible system.
func (*Component) CurrentHealth ¶
CurrentHealth returns the health of the component.
type Exports ¶
type Exports struct {
	Content alloytypes.OptionalSecret `alloy:"content,attr"`
}
    Exports implements the file content
 Click to show internal directories. 
   Click to hide internal directories.