component

package
v0.36.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bucket          = source{/* contains filtered or unexported fields */}
	Cleanup         = source{/* contains filtered or unexported fields */}
	Mark            = source{/* contains filtered or unexported fields */}
	Upload          = source{/* contains filtered or unexported fields */}
	Rewrite         = source{/* contains filtered or unexported fields */}
	Retention       = source{/* contains filtered or unexported fields */}
	Compact         = source{/* contains filtered or unexported fields */}
	Downsample      = source{/* contains filtered or unexported fields */}
	Replicate       = source{/* contains filtered or unexported fields */}
	QueryFrontend   = source{/* contains filtered or unexported fields */}
	Debug           = sourceStoreAPI{/* contains filtered or unexported fields */}
	Receive         = sourceStoreAPI{/* contains filtered or unexported fields */}
	Rule            = sourceStoreAPI{/* contains filtered or unexported fields */}
	Sidecar         = sourceStoreAPI{/* contains filtered or unexported fields */}
	Store           = storeAPI{/* contains filtered or unexported fields */}
	UnknownStoreAPI = storeAPI{/* contains filtered or unexported fields */}
	Query           = storeAPI{/* contains filtered or unexported fields */}
)

Functions

This section is empty.

Types

type Component added in v0.7.0

type Component interface {
	String() string
}

Component is a generic component interface.

type Source

type Source interface {
	String() string
	// contains filtered or unexported methods
}

Source is a Thanos component that produce blocks of metrics.

type SourceStoreAPI

type SourceStoreAPI interface {
	String() string
	ToProto() storepb.StoreType
	// contains filtered or unexported methods
}

SourceStoreAPI is a component that implements Thanos' gRPC StoreAPI and produce blocks of metrics.

type StoreAPI

type StoreAPI interface {
	String() string
	ToProto() storepb.StoreType
	// contains filtered or unexported methods
}

StoreAPI is a component that implements Thanos' gRPC StoreAPI.

func FromProto

func FromProto(storeType storepb.StoreType) StoreAPI

FromProto converts from a gRPC StoreType to StoreAPI.

func FromString added in v0.23.0

func FromString(storeType string) StoreAPI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL