Documentation ¶
Index ¶
Constants ¶
View Source
const ( JobPreparer JobType = "preparer" JobMonitor = "monitor" JobCleaner = "cleaner" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceFactory ¶
type ResourceFactory interface { PreparerJobName() string MonitorJobName() string CleanerJobName() string WorkerName() string PrometheusName() string NewPreparerJob() (*batchv1.Job, error) NewCleanerJob() (*batchv1.Job, error) NewMonitorJob() (*batchv1.Job, error) NewMonitorConfigMap() (*corev1.ConfigMap, error) NewWorkerDeployment() (*appsv1.Deployment, error) NewWorkerService() (*corev1.Service, error) NewPrometheusPod(serviceAccountName, release string) (*corev1.Pod, error) NewPrometheusService() (*corev1.Service, error) NewPrometheusConfigMap() (*corev1.ConfigMap, error) }
func NewFactory ¶
func NewFactory(lotus *lotusv1beta1.Lotus, configFile string) ResourceFactory
type StaticResourceFactory ¶
type StaticResourceFactory interface { ThanosStoreName() string ThanosQueryName() string ThanosPeerName() string TimeSeriesStoreConfigSecretName() string NewThanosStoreStatefulSet() (*appsv1.StatefulSet, error) NewThanosQueryDeployment() (*appsv1.Deployment, error) NewThanosQueryService() (*corev1.Service, error) NewThanosPeerService() (*corev1.Service, error) NewTimeSeriesStoreConfigSecret() (*corev1.Secret, error) }
func NewStaticResourceFactory ¶
func NewStaticResourceFactory(namespace, release, configFile string, owners []metav1.OwnerReference) StaticResourceFactory
type ThanosGCSConfig ¶
type ThanosGCSConfig struct {
Bucket string `json:"bucket"`
}
type ThanosStore ¶
type ThanosStore struct { Type string `json:"type"` Config interface{} `json:"config"` }
Click to show internal directories.
Click to hide internal directories.