Documentation ¶
Overview ¶
Package kubernetes implements the logic for remote.kubernetes.secret and remote.kubernetes.configmap component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ PollFrequency: 1 * time.Minute, PollTimeout: 15 * time.Second, }
DefaultArguments holds default settings for Arguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Namespace string `alloy:"namespace,attr"` Name string `alloy:"name,attr"` PollFrequency time.Duration `alloy:"poll_frequency,attr,optional"` PollTimeout time.Duration `alloy:"poll_timeout,attr,optional"` // Client settings to connect to Kubernetes. Client kubernetes.ClientArguments `alloy:"client,block,optional"` }
Arguments control the component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component implements the remote.kubernetes.* component.
func (*Component) CurrentHealth ¶
CurrentHealth returns the current health of the component.
type Exports ¶
type Exports struct {
Data map[string]alloytypes.OptionalSecret `alloy:"data,attr"`
}
Exports holds settings exported by this component.
type ResourceType ¶
type ResourceType string
const ( TypeSecret ResourceType = "secret" TypeConfigMap ResourceType = "configmap" )
Click to show internal directories.
Click to hide internal directories.