Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseStreamFunc ¶
type CloseStreamFunc func() error
type CollectorType ¶
type CollectorType string
const ( CollectorTypeLog CollectorType = "Logs" CollectorTypeVolumeInfo CollectorType = "VolumeInfo" CollectorTypeNodeInfo CollectorType = "NodeInfo" CollectorTypeSecret CollectorType = "Resources/Secrets" CollectorTypeSystemState CollectorType = "Resources/SystemState" CollectorTypeEvents CollectorType = "Events" )
func (CollectorType) GetConditionType ¶
func (c CollectorType) GetConditionType() string
type CollectorUnionDataType ¶
type CollectorUnionDataType interface { LogLine | VolumeInfo | LabeledSample | SecretYaml | UnstructuredResource }
type LabeledSample ¶ added in v1.0.0
func (*LabeledSample) GetHeader ¶ added in v1.0.0
func (ls *LabeledSample) GetHeader() []string
func (*LabeledSample) GetRow ¶ added in v1.0.0
func (ls *LabeledSample) GetRow() []string
type SecretYaml ¶ added in v1.0.0
type SecretYamlMetaData ¶ added in v1.0.0
type Stream ¶
type Stream struct {
Data chan StreamData
}
type StreamConstructor ¶
type StreamConstructor func() (io.Reader, CloseStreamFunc, error)
type StreamData ¶
type StreamData struct { ID string StreamConstructor StreamConstructor }
type SupportArchiveID ¶
type UnstructuredResource ¶ added in v1.0.0
type VolumeInfo ¶
type VolumeInfo struct { Name string Timestamp time.Time `yaml:"timestamp"` Items []VolumeInfoItem `yaml:"items"` }
Click to show internal directories.
Click to hide internal directories.