Documentation
¶
Overview ¶
Package config contains Funnel configuration structures and defaults.
Index ¶
- Variables
- func ApplyDefaultResources(res *tes.Resources, k8s *KubernetesResources) *tes.Resources
- func Examples() map[string]string
- func GetResourceLimits(k8s *KubernetesResources) *tes.Resources
- func K8sConfigToTesResources(cpu, ram, disk string) *tes.Resources
- func Parse(raw []byte, conf *Config) error
- func ParseCpus(s string) (float64, error)
- func ParseFile(relpath string, conf *Config) error
- func ParseMemory(s string) (float64, error)
- func ToYaml(c *Config) ([]byte, error)
- func ToYamlFile(c *Config, path string) error
- type AWSBatch
- func (*AWSBatch) Descriptor() ([]byte, []int)deprecated
- func (x *AWSBatch) GetAWSConfig() *AWSConfig
- func (x *AWSBatch) GetDisableReconciler() bool
- func (x *AWSBatch) GetJobDefinition() string
- func (x *AWSBatch) GetJobQueue() string
- func (x *AWSBatch) GetReconcileRate() *durationpb.Duration
- func (*AWSBatch) ProtoMessage()
- func (x *AWSBatch) ProtoReflect() protoreflect.Message
- func (x *AWSBatch) Reset()
- func (x *AWSBatch) String() string
- type AWSConfig
- func (*AWSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AWSConfig) GetDisableAutoCredentialLoad() bool
- func (x *AWSConfig) GetEndpoint() string
- func (x *AWSConfig) GetKey() string
- func (x *AWSConfig) GetMaxRetries() int32
- func (x *AWSConfig) GetRegion() string
- func (x *AWSConfig) GetSecret() string
- func (*AWSConfig) ProtoMessage()
- func (x *AWSConfig) ProtoReflect() protoreflect.Message
- func (x *AWSConfig) Reset()
- func (x *AWSConfig) String() string
- type AmazonS3Storage
- func (*AmazonS3Storage) Descriptor() ([]byte, []int)deprecated
- func (x *AmazonS3Storage) GetAWSConfig() *AWSConfig
- func (x *AmazonS3Storage) GetDisabled() bool
- func (x *AmazonS3Storage) GetSSE() *SSE
- func (*AmazonS3Storage) ProtoMessage()
- func (x *AmazonS3Storage) ProtoReflect() protoreflect.Message
- func (x *AmazonS3Storage) Reset()
- func (x *AmazonS3Storage) String() string
- func (s *AmazonS3Storage) Valid() bool
- type Badger
- type BasicCredential
- func (*BasicCredential) Descriptor() ([]byte, []int)deprecated
- func (x *BasicCredential) GetAdmin() bool
- func (x *BasicCredential) GetPassword() string
- func (x *BasicCredential) GetUser() string
- func (*BasicCredential) ProtoMessage()
- func (x *BasicCredential) ProtoReflect() protoreflect.Message
- func (x *BasicCredential) Reset()
- func (x *BasicCredential) String() string
- type BoltDB
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAWSBatch() *AWSBatch
- func (x *Config) GetAmazonS3() *AmazonS3Storage
- func (x *Config) GetBadger() *Badger
- func (x *Config) GetBoltDB() *BoltDB
- func (x *Config) GetCompute() string
- func (x *Config) GetDatabase() string
- func (x *Config) GetDatastore() *Datastore
- func (x *Config) GetDynamoDB() *DynamoDB
- func (x *Config) GetElastic() *Elastic
- func (x *Config) GetEventWriters() []string
- func (x *Config) GetFTPStorage() *FTPStorage
- func (x *Config) GetGCPBatch() *GCPBatch
- func (x *Config) GetGenericS3() []*GenericS3Storage
- func (x *Config) GetGoogleStorage() *GoogleCloudStorage
- func (x *Config) GetGridEngine() *GridEngine
- func (x *Config) GetHTCondor() *HPCBackend
- func (x *Config) GetHTTPStorage() *HTTPStorage
- func (x *Config) GetKafka() *Kafka
- func (x *Config) GetKubernetes() *Kubernetes
- func (x *Config) GetLocalStorage() *LocalStorage
- func (x *Config) GetLogger() *logger.LoggerConfig
- func (x *Config) GetMongoDB() *MongoDB
- func (x *Config) GetNode() *Node
- func (x *Config) GetPBS() *HPCBackend
- func (x *Config) GetPlugins() *Plugins
- func (x *Config) GetPostgres() *Postgres
- func (x *Config) GetPubSub() *PubSub
- func (x *Config) GetRPCClient() *RPCClient
- func (x *Config) GetScheduler() *Scheduler
- func (x *Config) GetServer() *Server
- func (x *Config) GetSlurm() *HPCBackend
- func (x *Config) GetSwift() *SwiftStorage
- func (x *Config) GetWorker() *Worker
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type ContainerConfig
- func (*ContainerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerConfig) GetCommand() []string
- func (x *ContainerConfig) GetDriverCommand() string
- func (x *ContainerConfig) GetEnableTags() bool
- func (x *ContainerConfig) GetEnv() map[string]string
- func (x *ContainerConfig) GetId() string
- func (x *ContainerConfig) GetImage() string
- func (x *ContainerConfig) GetName() string
- func (x *ContainerConfig) GetPullCommand() string
- func (x *ContainerConfig) GetRemoveContainer() bool
- func (x *ContainerConfig) GetRunCommand() string
- func (x *ContainerConfig) GetStopCommand() string
- func (x *ContainerConfig) GetTags() map[string]string
- func (x *ContainerConfig) GetWorkdir() string
- func (*ContainerConfig) ProtoMessage()
- func (x *ContainerConfig) ProtoReflect() protoreflect.Message
- func (x *ContainerConfig) Reset()
- func (x *ContainerConfig) String() string
- type Datastore
- type Duration
- type DynamoDB
- type Elastic
- func (*Elastic) Descriptor() ([]byte, []int)deprecated
- func (x *Elastic) GetAPIKey() string
- func (x *Elastic) GetCloudID() string
- func (x *Elastic) GetIndexPrefix() string
- func (x *Elastic) GetPassword() string
- func (x *Elastic) GetServiceToken() string
- func (x *Elastic) GetURL() string
- func (x *Elastic) GetUsername() string
- func (*Elastic) ProtoMessage()
- func (x *Elastic) ProtoReflect() protoreflect.Message
- func (x *Elastic) Reset()
- func (x *Elastic) String() string
- type FTPStorage
- func (*FTPStorage) Descriptor() ([]byte, []int)deprecated
- func (x *FTPStorage) GetDisabled() bool
- func (x *FTPStorage) GetPassword() string
- func (x *FTPStorage) GetTimeout() *TimeoutConfig
- func (x *FTPStorage) GetUser() string
- func (*FTPStorage) ProtoMessage()
- func (x *FTPStorage) ProtoReflect() protoreflect.Message
- func (x *FTPStorage) Reset()
- func (x *FTPStorage) String() string
- func (h *FTPStorage) Valid() bool
- type GCPBatch
- func (*GCPBatch) Descriptor() ([]byte, []int)deprecated
- func (x *GCPBatch) GetDisableReconciler() bool
- func (x *GCPBatch) GetGCPBatch() *GCPBatch
- func (x *GCPBatch) GetGoogleStorage() string
- func (x *GCPBatch) GetLocation() string
- func (x *GCPBatch) GetProject() string
- func (x *GCPBatch) GetReconcileRate() *durationpb.Duration
- func (*GCPBatch) ProtoMessage()
- func (x *GCPBatch) ProtoReflect() protoreflect.Message
- func (x *GCPBatch) Reset()
- func (x *GCPBatch) String() string
- type GenericS3Storage
- func (*GenericS3Storage) Descriptor() ([]byte, []int)deprecated
- func (x *GenericS3Storage) GetAccountID() string
- func (x *GenericS3Storage) GetBucket() string
- func (x *GenericS3Storage) GetDisabled() bool
- func (x *GenericS3Storage) GetEndpoint() string
- func (x *GenericS3Storage) GetKey() string
- func (x *GenericS3Storage) GetKmsKeyID() string
- func (x *GenericS3Storage) GetRegion() string
- func (x *GenericS3Storage) GetSecret() string
- func (*GenericS3Storage) ProtoMessage()
- func (x *GenericS3Storage) ProtoReflect() protoreflect.Message
- func (x *GenericS3Storage) Reset()
- func (x *GenericS3Storage) String() string
- func (s *GenericS3Storage) Valid() bool
- type GoogleCloudStorage
- func (*GoogleCloudStorage) Descriptor() ([]byte, []int)deprecated
- func (x *GoogleCloudStorage) GetCredentialsFile() string
- func (x *GoogleCloudStorage) GetDisabled() bool
- func (*GoogleCloudStorage) ProtoMessage()
- func (x *GoogleCloudStorage) ProtoReflect() protoreflect.Message
- func (x *GoogleCloudStorage) Reset()
- func (x *GoogleCloudStorage) String() string
- func (g *GoogleCloudStorage) Valid() bool
- type GridEngine
- func (*GridEngine) Descriptor() ([]byte, []int)deprecated
- func (x *GridEngine) GetTemplate() string
- func (x *GridEngine) GetTemplateFile() string
- func (*GridEngine) ProtoMessage()
- func (x *GridEngine) ProtoReflect() protoreflect.Message
- func (x *GridEngine) Reset()
- func (x *GridEngine) String() string
- type HPCBackend
- func (*HPCBackend) Descriptor() ([]byte, []int)deprecated
- func (x *HPCBackend) GetDisableReconciler() bool
- func (x *HPCBackend) GetReconcileRate() *durationpb.Duration
- func (x *HPCBackend) GetTemplate() string
- func (x *HPCBackend) GetTemplateFile() string
- func (*HPCBackend) ProtoMessage()
- func (x *HPCBackend) ProtoReflect() protoreflect.Message
- func (x *HPCBackend) Reset()
- func (x *HPCBackend) String() string
- type HTTPStorage
- func (*HTTPStorage) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPStorage) GetDisabled() bool
- func (x *HTTPStorage) GetTimeout() *TimeoutConfig
- func (*HTTPStorage) ProtoMessage()
- func (x *HTTPStorage) ProtoReflect() protoreflect.Message
- func (x *HTTPStorage) Reset()
- func (x *HTTPStorage) String() string
- func (h *HTTPStorage) Valid() bool
- type Kafka
- type Kubernetes
- func (*Kubernetes) Descriptor() ([]byte, []int)deprecated
- func (x *Kubernetes) GetConfigMapTemplate() string
- func (x *Kubernetes) GetDisableJobCleanup() bool
- func (x *Kubernetes) GetDisableReconciler() bool
- func (x *Kubernetes) GetExecutor() string
- func (x *Kubernetes) GetExecutorTemplate() string
- func (x *Kubernetes) GetJobsNamespace() string
- func (x *Kubernetes) GetNamespace() string
- func (x *Kubernetes) GetNodeSelector() map[string]string
- func (x *Kubernetes) GetPVCTemplate() string
- func (x *Kubernetes) GetPVTemplate() string
- func (x *Kubernetes) GetReconcileRate() *durationpb.Duration
- func (x *Kubernetes) GetResources() *KubernetesResources
- func (x *Kubernetes) GetRoleBindingTemplate() string
- func (x *Kubernetes) GetRoleTemplate() string
- func (x *Kubernetes) GetServiceAccount() string
- func (x *Kubernetes) GetServiceAccountTemplate() string
- func (x *Kubernetes) GetTolerations() []*Toleration
- func (x *Kubernetes) GetWorkerTemplate() string
- func (*Kubernetes) ProtoMessage()
- func (x *Kubernetes) ProtoReflect() protoreflect.Message
- func (x *Kubernetes) Reset()
- func (x *Kubernetes) String() string
- type KubernetesResources
- func (*KubernetesResources) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesResources) GetDefaults() *ResourceDefaults
- func (x *KubernetesResources) GetLimits() *ResourceLimits
- func (*KubernetesResources) ProtoMessage()
- func (x *KubernetesResources) ProtoReflect() protoreflect.Message
- func (x *KubernetesResources) Reset()
- func (x *KubernetesResources) String() string
- type LocalStorage
- func (*LocalStorage) Descriptor() ([]byte, []int)deprecated
- func (x *LocalStorage) GetAllowedDirs() []string
- func (x *LocalStorage) GetDisabled() bool
- func (*LocalStorage) ProtoMessage()
- func (x *LocalStorage) ProtoReflect() protoreflect.Message
- func (x *LocalStorage) Reset()
- func (x *LocalStorage) String() string
- func (l *LocalStorage) Valid() bool
- type MongoDB
- func (*MongoDB) Descriptor() ([]byte, []int)deprecated
- func (x *MongoDB) GetAddrs() []string
- func (x *MongoDB) GetDatabase() string
- func (x *MongoDB) GetPassword() string
- func (x *MongoDB) GetTimeout() *TimeoutConfig
- func (x *MongoDB) GetUsername() string
- func (*MongoDB) ProtoMessage()
- func (x *MongoDB) ProtoReflect() protoreflect.Message
- func (x *MongoDB) Reset()
- func (x *MongoDB) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetID() string
- func (x *Node) GetMetadata() map[string]string
- func (x *Node) GetResources() *Resources
- func (x *Node) GetTimeout() *TimeoutConfig
- func (x *Node) GetUpdateRate() *durationpb.Duration
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type OidcAuth
- func (*OidcAuth) Descriptor() ([]byte, []int)deprecated
- func (x *OidcAuth) GetAdmins() []string
- func (x *OidcAuth) GetClientId() string
- func (x *OidcAuth) GetClientSecret() string
- func (x *OidcAuth) GetRedirectURL() string
- func (x *OidcAuth) GetRequireAudience() string
- func (x *OidcAuth) GetRequireScope() string
- func (x *OidcAuth) GetServiceConfigURL() string
- func (*OidcAuth) ProtoMessage()
- func (x *OidcAuth) ProtoReflect() protoreflect.Message
- func (x *OidcAuth) Reset()
- func (x *OidcAuth) String() string
- type Plugins
- type Postgres
- func (*Postgres) Descriptor() ([]byte, []int)deprecated
- func (x *Postgres) GetAdminPassword() string
- func (x *Postgres) GetAdminUser() string
- func (x *Postgres) GetDatabase() string
- func (x *Postgres) GetHost() string
- func (x *Postgres) GetPassword() string
- func (x *Postgres) GetTimeout() *TimeoutConfig
- func (x *Postgres) GetUser() string
- func (*Postgres) ProtoMessage()
- func (x *Postgres) ProtoReflect() protoreflect.Message
- func (x *Postgres) Reset()
- func (x *Postgres) String() string
- type PubSub
- func (*PubSub) Descriptor() ([]byte, []int)deprecated
- func (x *PubSub) GetCredentialsFile() string
- func (x *PubSub) GetProject() string
- func (x *PubSub) GetTopic() string
- func (*PubSub) ProtoMessage()
- func (x *PubSub) ProtoReflect() protoreflect.Message
- func (x *PubSub) Reset()
- func (x *PubSub) String() string
- type RPCClient
- func (*RPCClient) Descriptor() ([]byte, []int)deprecated
- func (x *RPCClient) GetCredential() *BasicCredential
- func (x *RPCClient) GetMaxRetries() uint32
- func (x *RPCClient) GetServerAddress() string
- func (x *RPCClient) GetTimeout() *TimeoutConfig
- func (*RPCClient) ProtoMessage()
- func (x *RPCClient) ProtoReflect() protoreflect.Message
- func (x *RPCClient) Reset()
- func (x *RPCClient) String() string
- type ResourceDefaults
- func (*ResourceDefaults) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceDefaults) GetCpus() string
- func (x *ResourceDefaults) GetDiskGb() string
- func (x *ResourceDefaults) GetRamGb() string
- func (*ResourceDefaults) ProtoMessage()
- func (x *ResourceDefaults) ProtoReflect() protoreflect.Message
- func (x *ResourceDefaults) Reset()
- func (x *ResourceDefaults) String() string
- type ResourceLimits
- func (*ResourceLimits) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimits) GetCpus() string
- func (x *ResourceLimits) GetDiskGb() string
- func (x *ResourceLimits) GetRamGb() string
- func (*ResourceLimits) ProtoMessage()
- func (x *ResourceLimits) ProtoReflect() protoreflect.Message
- func (x *ResourceLimits) Reset()
- func (x *ResourceLimits) String() string
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetCpus() float64
- func (x *Resources) GetDiskGb() float64
- func (x *Resources) GetRamGb() float64
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
- type SSE
- type Scheduler
- func (*Scheduler) Descriptor() ([]byte, []int)deprecated
- func (x *Scheduler) GetNodeDeadTimeout() *TimeoutConfig
- func (x *Scheduler) GetNodeInitTimeout() *TimeoutConfig
- func (x *Scheduler) GetNodePingTimeout() *TimeoutConfig
- func (x *Scheduler) GetScheduleChunk() int32
- func (x *Scheduler) GetScheduleRate() *durationpb.Duration
- func (*Scheduler) ProtoMessage()
- func (x *Scheduler) ProtoReflect() protoreflect.Message
- func (x *Scheduler) Reset()
- func (x *Scheduler) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetBasicAuth() []*BasicCredential
- func (x *Server) GetDisableHTTPCache() bool
- func (x *Server) GetHTTPPort() string
- func (x *Server) GetHostName() string
- func (x *Server) GetOidcAuth() *OidcAuth
- func (x *Server) GetRPCPort() string
- func (x *Server) GetServiceName() string
- func (x *Server) GetTaskAccess() string
- func (c *Server) HTTPAddress() string
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (c *Server) RPCAddress() string
- func (x *Server) Reset()
- func (x *Server) String() string
- type SwiftStorage
- func (*SwiftStorage) Descriptor() ([]byte, []int)deprecated
- func (x *SwiftStorage) GetAuthURL() string
- func (x *SwiftStorage) GetChunkSizeBytes() int64
- func (x *SwiftStorage) GetDisabled() bool
- func (x *SwiftStorage) GetMaxRetries() int32
- func (x *SwiftStorage) GetPassword() string
- func (x *SwiftStorage) GetRegionName() string
- func (x *SwiftStorage) GetTenantID() string
- func (x *SwiftStorage) GetTenantName() string
- func (x *SwiftStorage) GetUserName() string
- func (*SwiftStorage) ProtoMessage()
- func (x *SwiftStorage) ProtoReflect() protoreflect.Message
- func (x *SwiftStorage) Reset()
- func (x *SwiftStorage) String() string
- func (s *SwiftStorage) Valid() bool
- type TimeoutConfig
- func (*TimeoutConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TimeoutConfig) GetDisabled() bool
- func (x *TimeoutConfig) GetDuration() *durationpb.Duration
- func (x *TimeoutConfig) GetTimeoutOption() isTimeoutConfig_TimeoutOption
- func (*TimeoutConfig) ProtoMessage()
- func (x *TimeoutConfig) ProtoReflect() protoreflect.Message
- func (x *TimeoutConfig) Reset()
- func (x *TimeoutConfig) String() string
- type TimeoutConfig_Disabled
- type TimeoutConfig_Duration
- type Toleration
- func (*Toleration) Descriptor() ([]byte, []int)deprecated
- func (x *Toleration) GetEffect() string
- func (x *Toleration) GetKey() string
- func (x *Toleration) GetOperator() string
- func (x *Toleration) GetTolerationSeconds() int64
- func (x *Toleration) GetValue() string
- func (*Toleration) ProtoMessage()
- func (x *Toleration) ProtoReflect() protoreflect.Message
- func (x *Toleration) Reset()
- func (x *Toleration) String() string
- type Worker
- func (*Worker) Descriptor() ([]byte, []int)deprecated
- func (x *Worker) GetContainer() *ContainerConfig
- func (x *Worker) GetDriverCommand() string
- func (x *Worker) GetLeaveWorkDir() bool
- func (x *Worker) GetLogTailSize() int64
- func (x *Worker) GetLogUpdateRate() *durationpb.Duration
- func (x *Worker) GetMaxParallelTransfers() int32
- func (x *Worker) GetPollingRate() *durationpb.Duration
- func (x *Worker) GetScratchPath() string
- func (x *Worker) GetWorkDir() string
- func (*Worker) ProtoMessage()
- func (x *Worker) ProtoReflect() protoreflect.Message
- func (x *Worker) Reset()
- func (x *Worker) String() string
Constants ¶
This section is empty.
Variables ¶
var File_config_config_proto protoreflect.FileDescriptor
Functions ¶
func ApplyDefaultResources ¶ added in v0.11.8
func ApplyDefaultResources(res *tes.Resources, k8s *KubernetesResources) *tes.Resources
func GetResourceLimits ¶ added in v0.11.8
func GetResourceLimits(k8s *KubernetesResources) *tes.Resources
func K8sConfigToTesResources ¶ added in v0.11.8
func ParseCpus ¶ added in v0.11.8
ParseCPU parses Kubernetes-style CPU values (e.g., "100m", "0.5", "2") ParseCpus handles both CPU (m) and RAM/Disk (Mi, Gi)
func ParseFile ¶
ParseFile parses a Funnel config file, which is formatted in YAML, and returns a Config struct.
func ParseMemory ¶ added in v0.11.8
ParseMemory parses Kubernetes-style memory values (e.g., "512Mi", "1Gi", "1000") and returns the value in Gigabytes (float64).
func ToYamlFile ¶
ToYamlFile writes the configuration to a YAML file.
Types ¶
type AWSBatch ¶
type AWSBatch struct {
JobDefinition string `protobuf:"bytes,1,opt,name=JobDefinition,proto3" json:"JobDefinition,omitempty"`
JobQueue string `protobuf:"bytes,2,opt,name=JobQueue,proto3" json:"JobQueue,omitempty"`
DisableReconciler bool `protobuf:"varint,3,opt,name=DisableReconciler,proto3" json:"DisableReconciler,omitempty"`
ReconcileRate *durationpb.Duration `protobuf:"bytes,4,opt,name=ReconcileRate,proto3" json:"ReconcileRate,omitempty"`
AWSConfig *AWSConfig `protobuf:"bytes,5,opt,name=AWSConfig,proto3" json:"AWSConfig,omitempty"`
// contains filtered or unexported fields
}
AWSBatch describes the configuration for the AWS Batch compute backend.
func (*AWSBatch) Descriptor
deprecated
added in
v0.11.4
func (*AWSBatch) GetAWSConfig ¶ added in v0.11.4
func (*AWSBatch) GetDisableReconciler ¶ added in v0.11.4
func (*AWSBatch) GetJobDefinition ¶ added in v0.11.4
func (*AWSBatch) GetJobQueue ¶ added in v0.11.4
func (*AWSBatch) GetReconcileRate ¶ added in v0.11.4
func (x *AWSBatch) GetReconcileRate() *durationpb.Duration
func (*AWSBatch) ProtoMessage ¶ added in v0.11.4
func (*AWSBatch) ProtoMessage()
func (*AWSBatch) ProtoReflect ¶ added in v0.11.4
func (x *AWSBatch) ProtoReflect() protoreflect.Message
type AWSConfig ¶
type AWSConfig struct {
Endpoint string `protobuf:"bytes,1,opt,name=Endpoint,proto3" json:"Endpoint,omitempty"`
Region string `protobuf:"bytes,2,opt,name=Region,proto3" json:"Region,omitempty"`
MaxRetries int32 `protobuf:"varint,3,opt,name=MaxRetries,proto3" json:"MaxRetries,omitempty"`
Key string `protobuf:"bytes,4,opt,name=Key,proto3" json:"Key,omitempty"`
Secret string `protobuf:"bytes,5,opt,name=Secret,proto3" json:"Secret,omitempty"`
DisableAutoCredentialLoad bool `protobuf:"varint,6,opt,name=DisableAutoCredentialLoad,proto3" json:"DisableAutoCredentialLoad,omitempty"`
// contains filtered or unexported fields
}
AWSConfig describes the configuration for creating AWS Session instances.
func (*AWSConfig) Descriptor
deprecated
added in
v0.11.4
func (*AWSConfig) GetDisableAutoCredentialLoad ¶ added in v0.11.4
func (*AWSConfig) GetEndpoint ¶ added in v0.11.4
func (*AWSConfig) GetMaxRetries ¶ added in v0.11.4
func (*AWSConfig) ProtoMessage ¶ added in v0.11.4
func (*AWSConfig) ProtoMessage()
func (*AWSConfig) ProtoReflect ¶ added in v0.11.4
func (x *AWSConfig) ProtoReflect() protoreflect.Message
type AmazonS3Storage ¶
type AmazonS3Storage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
SSE *SSE `protobuf:"bytes,2,opt,name=SSE,proto3" json:"SSE,omitempty"`
AWSConfig *AWSConfig `protobuf:"bytes,3,opt,name=AWSConfig,proto3" json:"AWSConfig,omitempty"`
// contains filtered or unexported fields
}
AmazonS3Storage describes the configuration for the Amazon S3 storage backend.
func (*AmazonS3Storage) Descriptor
deprecated
added in
v0.11.4
func (*AmazonS3Storage) Descriptor() ([]byte, []int)
Deprecated: Use AmazonS3Storage.ProtoReflect.Descriptor instead.
func (*AmazonS3Storage) GetAWSConfig ¶ added in v0.11.4
func (x *AmazonS3Storage) GetAWSConfig() *AWSConfig
func (*AmazonS3Storage) GetDisabled ¶ added in v0.11.4
func (x *AmazonS3Storage) GetDisabled() bool
func (*AmazonS3Storage) GetSSE ¶ added in v0.11.4
func (x *AmazonS3Storage) GetSSE() *SSE
func (*AmazonS3Storage) ProtoMessage ¶ added in v0.11.4
func (*AmazonS3Storage) ProtoMessage()
func (*AmazonS3Storage) ProtoReflect ¶ added in v0.11.4
func (x *AmazonS3Storage) ProtoReflect() protoreflect.Message
func (*AmazonS3Storage) Reset ¶ added in v0.11.4
func (x *AmazonS3Storage) Reset()
func (*AmazonS3Storage) String ¶ added in v0.11.4
func (x *AmazonS3Storage) String() string
func (*AmazonS3Storage) Valid ¶
func (s *AmazonS3Storage) Valid() bool
Valid validates the AmazonS3Storage configuration
type Badger ¶
type Badger struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
// contains filtered or unexported fields
}
Badger describes configuration for the Badger embedded database.
func (*Badger) Descriptor
deprecated
added in
v0.11.4
func (*Badger) ProtoMessage ¶ added in v0.11.4
func (*Badger) ProtoMessage()
func (*Badger) ProtoReflect ¶ added in v0.11.4
func (x *Badger) ProtoReflect() protoreflect.Message
type BasicCredential ¶
type BasicCredential struct {
User string `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"`
Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"`
Admin bool `protobuf:"varint,3,opt,name=Admin,proto3" json:"Admin,omitempty"`
// contains filtered or unexported fields
}
BasicCredential describes a username and password for use with Funnel's basic auth.
func (*BasicCredential) Descriptor
deprecated
added in
v0.11.4
func (*BasicCredential) Descriptor() ([]byte, []int)
Deprecated: Use BasicCredential.ProtoReflect.Descriptor instead.
func (*BasicCredential) GetAdmin ¶ added in v0.11.4
func (x *BasicCredential) GetAdmin() bool
func (*BasicCredential) GetPassword ¶ added in v0.11.4
func (x *BasicCredential) GetPassword() string
func (*BasicCredential) GetUser ¶ added in v0.11.4
func (x *BasicCredential) GetUser() string
func (*BasicCredential) ProtoMessage ¶ added in v0.11.4
func (*BasicCredential) ProtoMessage()
func (*BasicCredential) ProtoReflect ¶ added in v0.11.4
func (x *BasicCredential) ProtoReflect() protoreflect.Message
func (*BasicCredential) Reset ¶ added in v0.11.4
func (x *BasicCredential) Reset()
func (*BasicCredential) String ¶ added in v0.11.4
func (x *BasicCredential) String() string
type BoltDB ¶
type BoltDB struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
// contains filtered or unexported fields
}
BoltDB describes the configuration for the BoltDB embedded database.
func (*BoltDB) Descriptor
deprecated
added in
v0.11.4
func (*BoltDB) ProtoMessage ¶ added in v0.11.4
func (*BoltDB) ProtoMessage()
func (*BoltDB) ProtoReflect ¶ added in v0.11.4
func (x *BoltDB) ProtoReflect() protoreflect.Message
type Config ¶
type Config struct {
// Component selectors
EventWriters []string `protobuf:"bytes,1,rep,name=EventWriters,proto3" json:"EventWriters,omitempty"`
Database string `protobuf:"bytes,2,opt,name=Database,proto3" json:"Database,omitempty"`
Compute string `protobuf:"bytes,3,opt,name=Compute,proto3" json:"Compute,omitempty"`
// Funnel components
Server *Server `protobuf:"bytes,4,opt,name=Server,proto3" json:"Server,omitempty"`
RPCClient *RPCClient `protobuf:"bytes,5,opt,name=RPCClient,proto3" json:"RPCClient,omitempty"`
Scheduler *Scheduler `protobuf:"bytes,6,opt,name=Scheduler,proto3" json:"Scheduler,omitempty"`
Node *Node `protobuf:"bytes,7,opt,name=Node,proto3" json:"Node,omitempty"`
Worker *Worker `protobuf:"bytes,8,opt,name=Worker,proto3" json:"Worker,omitempty"`
Logger *logger.LoggerConfig `protobuf:"bytes,9,opt,name=Logger,proto3" json:"Logger,omitempty"` // Placeholder for logger.Config
// Databases / event handlers
BoltDB *BoltDB `protobuf:"bytes,10,opt,name=BoltDB,proto3" json:"BoltDB,omitempty"`
Badger *Badger `protobuf:"bytes,11,opt,name=Badger,proto3" json:"Badger,omitempty"`
DynamoDB *DynamoDB `protobuf:"bytes,12,opt,name=DynamoDB,proto3" json:"DynamoDB,omitempty"`
Elastic *Elastic `protobuf:"bytes,13,opt,name=Elastic,proto3" json:"Elastic,omitempty"`
MongoDB *MongoDB `protobuf:"bytes,14,opt,name=MongoDB,proto3" json:"MongoDB,omitempty"`
Kafka *Kafka `protobuf:"bytes,15,opt,name=Kafka,proto3" json:"Kafka,omitempty"`
PubSub *PubSub `protobuf:"bytes,16,opt,name=PubSub,proto3" json:"PubSub,omitempty"`
Datastore *Datastore `protobuf:"bytes,17,opt,name=Datastore,proto3" json:"Datastore,omitempty"`
Postgres *Postgres `protobuf:"bytes,33,opt,name=Postgres,proto3" json:"Postgres,omitempty"`
// Compute
HTCondor *HPCBackend `protobuf:"bytes,18,opt,name=HTCondor,proto3" json:"HTCondor,omitempty"`
Slurm *HPCBackend `protobuf:"bytes,19,opt,name=Slurm,proto3" json:"Slurm,omitempty"`
PBS *HPCBackend `protobuf:"bytes,20,opt,name=PBS,proto3" json:"PBS,omitempty"`
GridEngine *GridEngine `protobuf:"bytes,21,opt,name=GridEngine,proto3" json:"GridEngine,omitempty"`
AWSBatch *AWSBatch `protobuf:"bytes,22,opt,name=AWSBatch,proto3" json:"AWSBatch,omitempty"`
Kubernetes *Kubernetes `protobuf:"bytes,23,opt,name=Kubernetes,proto3" json:"Kubernetes,omitempty"`
GCPBatch *GCPBatch `protobuf:"bytes,24,opt,name=GCPBatch,proto3" json:"GCPBatch,omitempty"`
// Storage
LocalStorage *LocalStorage `protobuf:"bytes,25,opt,name=LocalStorage,proto3" json:"LocalStorage,omitempty"`
AmazonS3 *AmazonS3Storage `protobuf:"bytes,26,opt,name=AmazonS3,proto3" json:"AmazonS3,omitempty"`
GenericS3 []*GenericS3Storage `protobuf:"bytes,27,rep,name=GenericS3,proto3" json:"GenericS3,omitempty"`
GoogleStorage *GoogleCloudStorage `protobuf:"bytes,28,opt,name=GoogleStorage,proto3" json:"GoogleStorage,omitempty"`
Swift *SwiftStorage `protobuf:"bytes,29,opt,name=Swift,proto3" json:"Swift,omitempty"`
HTTPStorage *HTTPStorage `protobuf:"bytes,30,opt,name=HTTPStorage,proto3" json:"HTTPStorage,omitempty"`
FTPStorage *FTPStorage `protobuf:"bytes,31,opt,name=FTPStorage,proto3" json:"FTPStorage,omitempty"`
// Plugins
Plugins *Plugins `protobuf:"bytes,32,opt,name=Plugins,proto3" json:"Plugins,omitempty"`
// contains filtered or unexported fields
}
Config describes configuration for Funnel.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns configuration with simple defaults.
func EmptyConfig ¶ added in v0.11.4
func EmptyConfig() *Config
func (*Config) Descriptor
deprecated
added in
v0.11.4
func (*Config) GetAWSBatch ¶ added in v0.11.4
func (*Config) GetAmazonS3 ¶ added in v0.11.4
func (x *Config) GetAmazonS3() *AmazonS3Storage
func (*Config) GetCompute ¶ added in v0.11.4
func (*Config) GetDatabase ¶ added in v0.11.4
func (*Config) GetDatastore ¶ added in v0.11.4
func (*Config) GetDynamoDB ¶ added in v0.11.4
func (*Config) GetElastic ¶ added in v0.11.4
func (*Config) GetEventWriters ¶ added in v0.11.4
func (*Config) GetFTPStorage ¶ added in v0.11.4
func (x *Config) GetFTPStorage() *FTPStorage
func (*Config) GetGCPBatch ¶ added in v0.11.8
func (*Config) GetGenericS3 ¶ added in v0.11.4
func (x *Config) GetGenericS3() []*GenericS3Storage
func (*Config) GetGoogleStorage ¶ added in v0.11.4
func (x *Config) GetGoogleStorage() *GoogleCloudStorage
func (*Config) GetGridEngine ¶ added in v0.11.4
func (x *Config) GetGridEngine() *GridEngine
func (*Config) GetHTCondor ¶ added in v0.11.4
func (x *Config) GetHTCondor() *HPCBackend
func (*Config) GetHTTPStorage ¶ added in v0.11.4
func (x *Config) GetHTTPStorage() *HTTPStorage
func (*Config) GetKubernetes ¶ added in v0.11.4
func (x *Config) GetKubernetes() *Kubernetes
func (*Config) GetLocalStorage ¶ added in v0.11.4
func (x *Config) GetLocalStorage() *LocalStorage
func (*Config) GetLogger ¶ added in v0.11.4
func (x *Config) GetLogger() *logger.LoggerConfig
func (*Config) GetMongoDB ¶ added in v0.11.4
func (*Config) GetPBS ¶ added in v0.11.4
func (x *Config) GetPBS() *HPCBackend
func (*Config) GetPlugins ¶ added in v0.11.4
func (*Config) GetPostgres ¶ added in v0.11.8
func (*Config) GetRPCClient ¶ added in v0.11.4
func (*Config) GetScheduler ¶ added in v0.11.4
func (*Config) GetSlurm ¶ added in v0.11.4
func (x *Config) GetSlurm() *HPCBackend
func (*Config) GetSwift ¶ added in v0.11.4
func (x *Config) GetSwift() *SwiftStorage
func (*Config) ProtoMessage ¶ added in v0.11.4
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v0.11.4
func (x *Config) ProtoReflect() protoreflect.Message
type ContainerConfig ¶
type ContainerConfig struct {
Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"`
Image string `protobuf:"bytes,2,opt,name=Image,proto3" json:"Image,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Command []string `protobuf:"bytes,4,rep,name=Command,proto3" json:"Command,omitempty"`
Workdir string `protobuf:"bytes,5,opt,name=Workdir,proto3" json:"Workdir,omitempty"`
RemoveContainer bool `protobuf:"varint,6,opt,name=RemoveContainer,proto3" json:"RemoveContainer,omitempty"`
Env map[string]string `` /* 133-byte string literal not displayed */
DriverCommand string `protobuf:"bytes,8,opt,name=DriverCommand,proto3" json:"DriverCommand,omitempty"`
RunCommand string `protobuf:"bytes,9,opt,name=RunCommand,proto3" json:"RunCommand,omitempty"`
PullCommand string `protobuf:"bytes,10,opt,name=PullCommand,proto3" json:"PullCommand,omitempty"`
StopCommand string `protobuf:"bytes,11,opt,name=StopCommand,proto3" json:"StopCommand,omitempty"`
EnableTags bool `protobuf:"varint,12,opt,name=EnableTags,proto3" json:"EnableTags,omitempty"`
Tags map[string]string `` // Note: io.Reader and io.Writer (Stdin, Stdout, Stderr) are omitted as they are not serializable in Protobuf
/* 136-byte string literal not displayed */
// contains filtered or unexported fields
}
ContainerConfig describes container configuration.
func (*ContainerConfig) Descriptor
deprecated
added in
v0.11.4
func (*ContainerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ContainerConfig.ProtoReflect.Descriptor instead.
func (*ContainerConfig) GetCommand ¶ added in v0.11.4
func (x *ContainerConfig) GetCommand() []string
func (*ContainerConfig) GetDriverCommand ¶ added in v0.11.4
func (x *ContainerConfig) GetDriverCommand() string
func (*ContainerConfig) GetEnableTags ¶ added in v0.11.4
func (x *ContainerConfig) GetEnableTags() bool
func (*ContainerConfig) GetEnv ¶ added in v0.11.4
func (x *ContainerConfig) GetEnv() map[string]string
func (*ContainerConfig) GetId ¶ added in v0.11.4
func (x *ContainerConfig) GetId() string
func (*ContainerConfig) GetImage ¶ added in v0.11.4
func (x *ContainerConfig) GetImage() string
func (*ContainerConfig) GetName ¶ added in v0.11.4
func (x *ContainerConfig) GetName() string
func (*ContainerConfig) GetPullCommand ¶ added in v0.11.4
func (x *ContainerConfig) GetPullCommand() string
func (*ContainerConfig) GetRemoveContainer ¶ added in v0.11.4
func (x *ContainerConfig) GetRemoveContainer() bool
func (*ContainerConfig) GetRunCommand ¶ added in v0.11.4
func (x *ContainerConfig) GetRunCommand() string
func (*ContainerConfig) GetStopCommand ¶ added in v0.11.4
func (x *ContainerConfig) GetStopCommand() string
func (*ContainerConfig) GetTags ¶ added in v0.11.4
func (x *ContainerConfig) GetTags() map[string]string
func (*ContainerConfig) GetWorkdir ¶ added in v0.11.4
func (x *ContainerConfig) GetWorkdir() string
func (*ContainerConfig) ProtoMessage ¶ added in v0.11.4
func (*ContainerConfig) ProtoMessage()
func (*ContainerConfig) ProtoReflect ¶ added in v0.11.4
func (x *ContainerConfig) ProtoReflect() protoreflect.Message
func (*ContainerConfig) Reset ¶ added in v0.11.4
func (x *ContainerConfig) Reset()
func (*ContainerConfig) String ¶ added in v0.11.4
func (x *ContainerConfig) String() string
type Datastore ¶
type Datastore struct {
Project string `protobuf:"bytes,1,opt,name=Project,proto3" json:"Project,omitempty"`
CredentialsFile string `protobuf:"bytes,2,opt,name=CredentialsFile,proto3" json:"CredentialsFile,omitempty"`
// contains filtered or unexported fields
}
Datastore configures access to a Google Cloud Datastore database backend.
func (*Datastore) Descriptor
deprecated
added in
v0.11.4
func (*Datastore) GetCredentialsFile ¶ added in v0.11.4
func (*Datastore) GetProject ¶ added in v0.11.4
func (*Datastore) ProtoMessage ¶ added in v0.11.4
func (*Datastore) ProtoMessage()
func (*Datastore) ProtoReflect ¶ added in v0.11.4
func (x *Datastore) ProtoReflect() protoreflect.Message
type Duration ¶
type Duration durationpb.Duration
Duration is a wrapper type around durationpb.Duration to provide compatibility with pflag and text (un)marshaling.
func (*Duration) AsProto ¶ added in v0.11.4
func (d *Duration) AsProto() *durationpb.Duration
AsProto returns the underlying *durationpb.Duration for use in Protobuf messages.
func (*Duration) MarshalText ¶
MarshalText converts a duration to text.
func (*Duration) Set ¶
Set sets the duration from the given string. Implements the pflag.Value interface.
func (*Duration) UnmarshalText ¶
UnmarshalText parses text into a duration value.
type DynamoDB ¶
type DynamoDB struct {
TableBasename string `protobuf:"bytes,1,opt,name=TableBasename,proto3" json:"TableBasename,omitempty"`
AWSConfig *AWSConfig `protobuf:"bytes,2,opt,name=AWSConfig,proto3" json:"AWSConfig,omitempty"`
// contains filtered or unexported fields
}
DynamoDB describes the configuration for Amazon DynamoDB.
func (*DynamoDB) Descriptor
deprecated
added in
v0.11.4
func (*DynamoDB) GetAWSConfig ¶ added in v0.11.4
func (*DynamoDB) GetTableBasename ¶ added in v0.11.4
func (*DynamoDB) ProtoMessage ¶ added in v0.11.4
func (*DynamoDB) ProtoMessage()
func (*DynamoDB) ProtoReflect ¶ added in v0.11.4
func (x *DynamoDB) ProtoReflect() protoreflect.Message
type Elastic ¶
type Elastic struct {
IndexPrefix string `protobuf:"bytes,1,opt,name=IndexPrefix,proto3" json:"IndexPrefix,omitempty"`
URL string `protobuf:"bytes,2,opt,name=URL,proto3" json:"URL,omitempty"`
Username string `protobuf:"bytes,3,opt,name=Username,proto3" json:"Username,omitempty"`
Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
CloudID string `protobuf:"bytes,5,opt,name=CloudID,proto3" json:"CloudID,omitempty"`
APIKey string `protobuf:"bytes,6,opt,name=APIKey,proto3" json:"APIKey,omitempty"`
ServiceToken string `protobuf:"bytes,7,opt,name=ServiceToken,proto3" json:"ServiceToken,omitempty"`
// contains filtered or unexported fields
}
Elastic configures access to an Elasticsearch database.
func (*Elastic) Descriptor
deprecated
added in
v0.11.4
func (*Elastic) GetCloudID ¶ added in v0.11.4
func (*Elastic) GetIndexPrefix ¶ added in v0.11.4
func (*Elastic) GetPassword ¶ added in v0.11.4
func (*Elastic) GetServiceToken ¶ added in v0.11.4
func (*Elastic) GetUsername ¶ added in v0.11.4
func (*Elastic) ProtoMessage ¶ added in v0.11.4
func (*Elastic) ProtoMessage()
func (*Elastic) ProtoReflect ¶ added in v0.11.4
func (x *Elastic) ProtoReflect() protoreflect.Message
type FTPStorage ¶
type FTPStorage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
User string `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"`
Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
// contains filtered or unexported fields
}
FTPStorage configures the FTP storage backend.
func (*FTPStorage) Descriptor
deprecated
added in
v0.11.4
func (*FTPStorage) Descriptor() ([]byte, []int)
Deprecated: Use FTPStorage.ProtoReflect.Descriptor instead.
func (*FTPStorage) GetDisabled ¶ added in v0.11.4
func (x *FTPStorage) GetDisabled() bool
func (*FTPStorage) GetPassword ¶ added in v0.11.4
func (x *FTPStorage) GetPassword() string
func (*FTPStorage) GetTimeout ¶ added in v0.11.4
func (x *FTPStorage) GetTimeout() *TimeoutConfig
func (*FTPStorage) GetUser ¶ added in v0.11.4
func (x *FTPStorage) GetUser() string
func (*FTPStorage) ProtoMessage ¶ added in v0.11.4
func (*FTPStorage) ProtoMessage()
func (*FTPStorage) ProtoReflect ¶ added in v0.11.4
func (x *FTPStorage) ProtoReflect() protoreflect.Message
func (*FTPStorage) Reset ¶ added in v0.11.4
func (x *FTPStorage) Reset()
func (*FTPStorage) String ¶ added in v0.11.4
func (x *FTPStorage) String() string
func (*FTPStorage) Valid ¶
func (h *FTPStorage) Valid() bool
Valid validates the FTPStorage configuration.
type GCPBatch ¶ added in v0.11.7
type GCPBatch struct {
Location string `protobuf:"bytes,1,opt,name=Location,proto3" json:"Location,omitempty"`
GoogleStorage string `protobuf:"bytes,2,opt,name=GoogleStorage,proto3" json:"GoogleStorage,omitempty"`
Project string `protobuf:"bytes,3,opt,name=Project,proto3" json:"Project,omitempty"`
DisableReconciler bool `protobuf:"varint,4,opt,name=DisableReconciler,proto3" json:"DisableReconciler,omitempty"`
ReconcileRate *durationpb.Duration `protobuf:"bytes,5,opt,name=ReconcileRate,proto3" json:"ReconcileRate,omitempty"`
GCPBatch *GCPBatch `protobuf:"bytes,6,opt,name=GCPBatch,proto3" json:"GCPBatch,omitempty"`
// contains filtered or unexported fields
}
GCPBatch describes the configuration for the GCP Batch compute backend.
func (*GCPBatch) Descriptor
deprecated
added in
v0.11.8
func (*GCPBatch) GetDisableReconciler ¶ added in v0.11.8
func (*GCPBatch) GetGCPBatch ¶ added in v0.11.8
func (*GCPBatch) GetGoogleStorage ¶ added in v0.11.8
func (*GCPBatch) GetLocation ¶ added in v0.11.8
func (*GCPBatch) GetProject ¶ added in v0.11.8
func (*GCPBatch) GetReconcileRate ¶ added in v0.11.8
func (x *GCPBatch) GetReconcileRate() *durationpb.Duration
func (*GCPBatch) ProtoMessage ¶ added in v0.11.8
func (*GCPBatch) ProtoMessage()
func (*GCPBatch) ProtoReflect ¶ added in v0.11.8
func (x *GCPBatch) ProtoReflect() protoreflect.Message
type GenericS3Storage ¶
type GenericS3Storage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
Endpoint string `protobuf:"bytes,2,opt,name=Endpoint,proto3" json:"Endpoint,omitempty"`
Key string `protobuf:"bytes,3,opt,name=Key,proto3" json:"Key,omitempty"`
Secret string `protobuf:"bytes,4,opt,name=Secret,proto3" json:"Secret,omitempty"`
Region string `protobuf:"bytes,5,opt,name=Region,proto3" json:"Region,omitempty"`
Bucket string `protobuf:"bytes,6,opt,name=Bucket,proto3" json:"Bucket,omitempty"`
KmsKeyID string `protobuf:"bytes,7,opt,name=KmsKeyID,proto3" json:"KmsKeyID,omitempty"`
// AWS Account ID, needed for S3 CSI Driver
// https://github.com/awslabs/mountpoint-s3/blob/v1.20.0/doc/CONFIGURATION.md#data-encryption
AccountID string `protobuf:"bytes,8,opt,name=AccountID,proto3" json:"AccountID,omitempty"`
// contains filtered or unexported fields
}
GenericS3Storage describes the configuration for the Generic S3 storage backend.
func (*GenericS3Storage) Descriptor
deprecated
added in
v0.11.4
func (*GenericS3Storage) Descriptor() ([]byte, []int)
Deprecated: Use GenericS3Storage.ProtoReflect.Descriptor instead.
func (*GenericS3Storage) GetAccountID ¶ added in v0.11.4
func (x *GenericS3Storage) GetAccountID() string
func (*GenericS3Storage) GetBucket ¶ added in v0.11.4
func (x *GenericS3Storage) GetBucket() string
func (*GenericS3Storage) GetDisabled ¶ added in v0.11.4
func (x *GenericS3Storage) GetDisabled() bool
func (*GenericS3Storage) GetEndpoint ¶ added in v0.11.4
func (x *GenericS3Storage) GetEndpoint() string
func (*GenericS3Storage) GetKey ¶ added in v0.11.4
func (x *GenericS3Storage) GetKey() string
func (*GenericS3Storage) GetKmsKeyID ¶ added in v0.11.4
func (x *GenericS3Storage) GetKmsKeyID() string
func (*GenericS3Storage) GetRegion ¶ added in v0.11.4
func (x *GenericS3Storage) GetRegion() string
func (*GenericS3Storage) GetSecret ¶ added in v0.11.4
func (x *GenericS3Storage) GetSecret() string
func (*GenericS3Storage) ProtoMessage ¶ added in v0.11.4
func (*GenericS3Storage) ProtoMessage()
func (*GenericS3Storage) ProtoReflect ¶ added in v0.11.4
func (x *GenericS3Storage) ProtoReflect() protoreflect.Message
func (*GenericS3Storage) Reset ¶ added in v0.11.4
func (x *GenericS3Storage) Reset()
func (*GenericS3Storage) String ¶ added in v0.11.4
func (x *GenericS3Storage) String() string
func (*GenericS3Storage) Valid ¶
func (s *GenericS3Storage) Valid() bool
Valid validates the S3Storage configuration
type GoogleCloudStorage ¶
type GoogleCloudStorage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
CredentialsFile string `protobuf:"bytes,2,opt,name=CredentialsFile,proto3" json:"CredentialsFile,omitempty"`
// contains filtered or unexported fields
}
GoogleCloudStorage describes configuration for the Google Cloud storage backend.
func (*GoogleCloudStorage) Descriptor
deprecated
added in
v0.11.4
func (*GoogleCloudStorage) Descriptor() ([]byte, []int)
Deprecated: Use GoogleCloudStorage.ProtoReflect.Descriptor instead.
func (*GoogleCloudStorage) GetCredentialsFile ¶ added in v0.11.4
func (x *GoogleCloudStorage) GetCredentialsFile() string
func (*GoogleCloudStorage) GetDisabled ¶ added in v0.11.4
func (x *GoogleCloudStorage) GetDisabled() bool
func (*GoogleCloudStorage) ProtoMessage ¶ added in v0.11.4
func (*GoogleCloudStorage) ProtoMessage()
func (*GoogleCloudStorage) ProtoReflect ¶ added in v0.11.4
func (x *GoogleCloudStorage) ProtoReflect() protoreflect.Message
func (*GoogleCloudStorage) Reset ¶ added in v0.11.4
func (x *GoogleCloudStorage) Reset()
func (*GoogleCloudStorage) String ¶ added in v0.11.4
func (x *GoogleCloudStorage) String() string
func (*GoogleCloudStorage) Valid ¶
func (g *GoogleCloudStorage) Valid() bool
Valid validates the Storage configuration.
type GridEngine ¶ added in v0.11.4
type GridEngine struct {
Template string `protobuf:"bytes,1,opt,name=Template,proto3" json:"Template,omitempty"`
TemplateFile string `protobuf:"bytes,2,opt,name=TemplateFile,proto3" json:"TemplateFile,omitempty"`
// contains filtered or unexported fields
}
func (*GridEngine) Descriptor
deprecated
added in
v0.11.4
func (*GridEngine) Descriptor() ([]byte, []int)
Deprecated: Use GridEngine.ProtoReflect.Descriptor instead.
func (*GridEngine) GetTemplate ¶ added in v0.11.4
func (x *GridEngine) GetTemplate() string
func (*GridEngine) GetTemplateFile ¶ added in v0.11.4
func (x *GridEngine) GetTemplateFile() string
func (*GridEngine) ProtoMessage ¶ added in v0.11.4
func (*GridEngine) ProtoMessage()
func (*GridEngine) ProtoReflect ¶ added in v0.11.4
func (x *GridEngine) ProtoReflect() protoreflect.Message
func (*GridEngine) Reset ¶ added in v0.11.4
func (x *GridEngine) Reset()
func (*GridEngine) String ¶ added in v0.11.4
func (x *GridEngine) String() string
type HPCBackend ¶
type HPCBackend struct {
DisableReconciler bool `protobuf:"varint,1,opt,name=DisableReconciler,proto3" json:"DisableReconciler,omitempty"`
ReconcileRate *durationpb.Duration `protobuf:"bytes,2,opt,name=ReconcileRate,proto3" json:"ReconcileRate,omitempty"`
Template string `protobuf:"bytes,3,opt,name=Template,proto3" json:"Template,omitempty"`
TemplateFile string `protobuf:"bytes,4,opt,name=TemplateFile,proto3" json:"TemplateFile,omitempty"`
// contains filtered or unexported fields
}
HPCBackend describes the configuration for an HPC scheduler backend.
func (*HPCBackend) Descriptor
deprecated
added in
v0.11.4
func (*HPCBackend) Descriptor() ([]byte, []int)
Deprecated: Use HPCBackend.ProtoReflect.Descriptor instead.
func (*HPCBackend) GetDisableReconciler ¶ added in v0.11.4
func (x *HPCBackend) GetDisableReconciler() bool
func (*HPCBackend) GetReconcileRate ¶ added in v0.11.4
func (x *HPCBackend) GetReconcileRate() *durationpb.Duration
func (*HPCBackend) GetTemplate ¶ added in v0.11.4
func (x *HPCBackend) GetTemplate() string
func (*HPCBackend) GetTemplateFile ¶ added in v0.11.4
func (x *HPCBackend) GetTemplateFile() string
func (*HPCBackend) ProtoMessage ¶ added in v0.11.4
func (*HPCBackend) ProtoMessage()
func (*HPCBackend) ProtoReflect ¶ added in v0.11.4
func (x *HPCBackend) ProtoReflect() protoreflect.Message
func (*HPCBackend) Reset ¶ added in v0.11.4
func (x *HPCBackend) Reset()
func (*HPCBackend) String ¶ added in v0.11.4
func (x *HPCBackend) String() string
type HTTPStorage ¶
type HTTPStorage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,2,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
// contains filtered or unexported fields
}
HTTPStorage configures the HTTP storage backend.
func (*HTTPStorage) Descriptor
deprecated
added in
v0.11.4
func (*HTTPStorage) Descriptor() ([]byte, []int)
Deprecated: Use HTTPStorage.ProtoReflect.Descriptor instead.
func (*HTTPStorage) GetDisabled ¶ added in v0.11.4
func (x *HTTPStorage) GetDisabled() bool
func (*HTTPStorage) GetTimeout ¶ added in v0.11.4
func (x *HTTPStorage) GetTimeout() *TimeoutConfig
func (*HTTPStorage) ProtoMessage ¶ added in v0.11.4
func (*HTTPStorage) ProtoMessage()
func (*HTTPStorage) ProtoReflect ¶ added in v0.11.4
func (x *HTTPStorage) ProtoReflect() protoreflect.Message
func (*HTTPStorage) Reset ¶ added in v0.11.4
func (x *HTTPStorage) Reset()
func (*HTTPStorage) String ¶ added in v0.11.4
func (x *HTTPStorage) String() string
func (*HTTPStorage) Valid ¶
func (h *HTTPStorage) Valid() bool
Valid validates the HTTPStorage configuration.
type Kafka ¶
type Kafka struct {
Servers []string `protobuf:"bytes,1,rep,name=Servers,proto3" json:"Servers,omitempty"`
Topic string `protobuf:"bytes,2,opt,name=Topic,proto3" json:"Topic,omitempty"`
// contains filtered or unexported fields
}
Kafka configures access to a Kafka topic for task event reading/writing.
func (*Kafka) Descriptor
deprecated
added in
v0.11.4
func (*Kafka) GetServers ¶ added in v0.11.4
func (*Kafka) ProtoMessage ¶ added in v0.11.4
func (*Kafka) ProtoMessage()
func (*Kafka) ProtoReflect ¶ added in v0.11.4
func (x *Kafka) ProtoReflect() protoreflect.Message
type Kubernetes ¶
type Kubernetes struct {
Executor string `protobuf:"bytes,1,opt,name=Executor,proto3" json:"Executor,omitempty"`
WorkerTemplate string `protobuf:"bytes,2,opt,name=WorkerTemplate,proto3" json:"WorkerTemplate,omitempty"`
ExecutorTemplate string `protobuf:"bytes,3,opt,name=ExecutorTemplate,proto3" json:"ExecutorTemplate,omitempty"`
PVTemplate string `protobuf:"bytes,4,opt,name=PVTemplate,proto3" json:"PVTemplate,omitempty"`
PVCTemplate string `protobuf:"bytes,5,opt,name=PVCTemplate,proto3" json:"PVCTemplate,omitempty"`
ConfigMapTemplate string `protobuf:"bytes,6,opt,name=ConfigMapTemplate,proto3" json:"ConfigMapTemplate,omitempty"`
Namespace string `protobuf:"bytes,7,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
JobsNamespace string `protobuf:"bytes,8,opt,name=JobsNamespace,proto3" json:"JobsNamespace,omitempty"`
ServiceAccount string `protobuf:"bytes,9,opt,name=ServiceAccount,proto3" json:"ServiceAccount,omitempty"`
ServiceAccountTemplate string `protobuf:"bytes,10,opt,name=ServiceAccountTemplate,proto3" json:"ServiceAccountTemplate,omitempty"`
RoleTemplate string `protobuf:"bytes,11,opt,name=RoleTemplate,proto3" json:"RoleTemplate,omitempty"`
RoleBindingTemplate string `protobuf:"bytes,12,opt,name=RoleBindingTemplate,proto3" json:"RoleBindingTemplate,omitempty"`
DisableReconciler bool `protobuf:"varint,13,opt,name=DisableReconciler,proto3" json:"DisableReconciler,omitempty"`
ReconcileRate *durationpb.Duration `protobuf:"bytes,14,opt,name=ReconcileRate,proto3" json:"ReconcileRate,omitempty"`
DisableJobCleanup bool `protobuf:"varint,15,opt,name=DisableJobCleanup,proto3" json:"DisableJobCleanup,omitempty"`
// NodeSelector + Tolerations for scheduling jobs onto specific nodes
// https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/#create-a-pod-that-gets-scheduled-to-your-chosen-node
NodeSelector map[string]string `` /* 152-byte string literal not displayed */
Tolerations []*Toleration `protobuf:"bytes,17,rep,name=Tolerations,proto3" json:"Tolerations,omitempty"`
// Optional Kubernetes resource defaults and limits for tasks running on the Kubernetes backend.
Resources *KubernetesResources `protobuf:"bytes,18,opt,name=Resources,proto3" json:"Resources,omitempty"`
// contains filtered or unexported fields
}
Kubernetes describes the configuration for the Kubernetes compute backend.
func (*Kubernetes) Descriptor
deprecated
added in
v0.11.4
func (*Kubernetes) Descriptor() ([]byte, []int)
Deprecated: Use Kubernetes.ProtoReflect.Descriptor instead.
func (*Kubernetes) GetConfigMapTemplate ¶ added in v0.11.4
func (x *Kubernetes) GetConfigMapTemplate() string
func (*Kubernetes) GetDisableJobCleanup ¶ added in v0.11.4
func (x *Kubernetes) GetDisableJobCleanup() bool
func (*Kubernetes) GetDisableReconciler ¶ added in v0.11.4
func (x *Kubernetes) GetDisableReconciler() bool
func (*Kubernetes) GetExecutor ¶ added in v0.11.4
func (x *Kubernetes) GetExecutor() string
func (*Kubernetes) GetExecutorTemplate ¶ added in v0.11.4
func (x *Kubernetes) GetExecutorTemplate() string
func (*Kubernetes) GetJobsNamespace ¶ added in v0.11.4
func (x *Kubernetes) GetJobsNamespace() string
func (*Kubernetes) GetNamespace ¶ added in v0.11.4
func (x *Kubernetes) GetNamespace() string
func (*Kubernetes) GetNodeSelector ¶ added in v0.11.4
func (x *Kubernetes) GetNodeSelector() map[string]string
func (*Kubernetes) GetPVCTemplate ¶ added in v0.11.4
func (x *Kubernetes) GetPVCTemplate() string
func (*Kubernetes) GetPVTemplate ¶ added in v0.11.4
func (x *Kubernetes) GetPVTemplate() string
func (*Kubernetes) GetReconcileRate ¶ added in v0.11.4
func (x *Kubernetes) GetReconcileRate() *durationpb.Duration
func (*Kubernetes) GetResources ¶ added in v0.11.8
func (x *Kubernetes) GetResources() *KubernetesResources
func (*Kubernetes) GetRoleBindingTemplate ¶ added in v0.11.8
func (x *Kubernetes) GetRoleBindingTemplate() string
func (*Kubernetes) GetRoleTemplate ¶ added in v0.11.8
func (x *Kubernetes) GetRoleTemplate() string
func (*Kubernetes) GetServiceAccount ¶ added in v0.11.4
func (x *Kubernetes) GetServiceAccount() string
func (*Kubernetes) GetServiceAccountTemplate ¶ added in v0.11.8
func (x *Kubernetes) GetServiceAccountTemplate() string
func (*Kubernetes) GetTolerations ¶ added in v0.11.4
func (x *Kubernetes) GetTolerations() []*Toleration
func (*Kubernetes) GetWorkerTemplate ¶ added in v0.11.4
func (x *Kubernetes) GetWorkerTemplate() string
func (*Kubernetes) ProtoMessage ¶ added in v0.11.4
func (*Kubernetes) ProtoMessage()
func (*Kubernetes) ProtoReflect ¶ added in v0.11.4
func (x *Kubernetes) ProtoReflect() protoreflect.Message
func (*Kubernetes) Reset ¶ added in v0.11.4
func (x *Kubernetes) Reset()
func (*Kubernetes) String ¶ added in v0.11.4
func (x *Kubernetes) String() string
type KubernetesResources ¶ added in v0.11.8
type KubernetesResources struct {
Defaults *ResourceDefaults `protobuf:"bytes,1,opt,name=Defaults,proto3" json:"Defaults,omitempty"`
Limits *ResourceLimits `protobuf:"bytes,2,opt,name=Limits,proto3" json:"Limits,omitempty"`
// contains filtered or unexported fields
}
KubernetesResources describes default and maximum resource limits for Kubernetes tasks.
func (*KubernetesResources) Descriptor
deprecated
added in
v0.11.8
func (*KubernetesResources) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesResources.ProtoReflect.Descriptor instead.
func (*KubernetesResources) GetDefaults ¶ added in v0.11.8
func (x *KubernetesResources) GetDefaults() *ResourceDefaults
func (*KubernetesResources) GetLimits ¶ added in v0.11.8
func (x *KubernetesResources) GetLimits() *ResourceLimits
func (*KubernetesResources) ProtoMessage ¶ added in v0.11.8
func (*KubernetesResources) ProtoMessage()
func (*KubernetesResources) ProtoReflect ¶ added in v0.11.8
func (x *KubernetesResources) ProtoReflect() protoreflect.Message
func (*KubernetesResources) Reset ¶ added in v0.11.8
func (x *KubernetesResources) Reset()
func (*KubernetesResources) String ¶ added in v0.11.8
func (x *KubernetesResources) String() string
type LocalStorage ¶
type LocalStorage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
AllowedDirs []string `protobuf:"bytes,2,rep,name=AllowedDirs,proto3" json:"AllowedDirs,omitempty"`
// contains filtered or unexported fields
}
LocalStorage describes the directories Funnel can read from and write to.
func (*LocalStorage) Descriptor
deprecated
added in
v0.11.4
func (*LocalStorage) Descriptor() ([]byte, []int)
Deprecated: Use LocalStorage.ProtoReflect.Descriptor instead.
func (*LocalStorage) GetAllowedDirs ¶ added in v0.11.4
func (x *LocalStorage) GetAllowedDirs() []string
func (*LocalStorage) GetDisabled ¶ added in v0.11.4
func (x *LocalStorage) GetDisabled() bool
func (*LocalStorage) ProtoMessage ¶ added in v0.11.4
func (*LocalStorage) ProtoMessage()
func (*LocalStorage) ProtoReflect ¶ added in v0.11.4
func (x *LocalStorage) ProtoReflect() protoreflect.Message
func (*LocalStorage) Reset ¶ added in v0.11.4
func (x *LocalStorage) Reset()
func (*LocalStorage) String ¶ added in v0.11.4
func (x *LocalStorage) String() string
func (*LocalStorage) Valid ¶
func (l *LocalStorage) Valid() bool
Valid validates the LocalStorage configuration
type MongoDB ¶
type MongoDB struct {
Addrs []string `protobuf:"bytes,1,rep,name=Addrs,proto3" json:"Addrs,omitempty"`
Database string `protobuf:"bytes,2,opt,name=Database,proto3" json:"Database,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,3,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
Username string `protobuf:"bytes,4,opt,name=Username,proto3" json:"Username,omitempty"`
Password string `protobuf:"bytes,5,opt,name=Password,proto3" json:"Password,omitempty"`
// contains filtered or unexported fields
}
MongoDB configures access to a MongoDB database.
func (*MongoDB) Descriptor
deprecated
added in
v0.11.4
func (*MongoDB) GetDatabase ¶ added in v0.11.4
func (*MongoDB) GetPassword ¶ added in v0.11.4
func (*MongoDB) GetTimeout ¶ added in v0.11.4
func (x *MongoDB) GetTimeout() *TimeoutConfig
func (*MongoDB) GetUsername ¶ added in v0.11.4
func (*MongoDB) ProtoMessage ¶ added in v0.11.4
func (*MongoDB) ProtoMessage()
func (*MongoDB) ProtoReflect ¶ added in v0.11.4
func (x *MongoDB) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct {
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
Resources *Resources `protobuf:"bytes,2,opt,name=Resources,proto3" json:"Resources,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,3,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
UpdateRate *durationpb.Duration `protobuf:"bytes,4,opt,name=UpdateRate,proto3" json:"UpdateRate,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
Node contains the configuration for a node.
func (*Node) Descriptor
deprecated
added in
v0.11.4
func (*Node) GetMetadata ¶ added in v0.11.4
func (*Node) GetResources ¶ added in v0.11.4
func (*Node) GetTimeout ¶ added in v0.11.4
func (x *Node) GetTimeout() *TimeoutConfig
func (*Node) GetUpdateRate ¶ added in v0.11.4
func (x *Node) GetUpdateRate() *durationpb.Duration
func (*Node) ProtoMessage ¶ added in v0.11.4
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶ added in v0.11.4
func (x *Node) ProtoReflect() protoreflect.Message
type OidcAuth ¶
type OidcAuth struct {
ServiceConfigURL string `protobuf:"bytes,1,opt,name=ServiceConfigURL,proto3" json:"ServiceConfigURL,omitempty"`
ClientId string `protobuf:"bytes,2,opt,name=ClientId,proto3" json:"ClientId,omitempty"`
ClientSecret string `protobuf:"bytes,3,opt,name=ClientSecret,proto3" json:"ClientSecret,omitempty"`
RedirectURL string `protobuf:"bytes,4,opt,name=RedirectURL,proto3" json:"RedirectURL,omitempty"`
RequireScope string `protobuf:"bytes,5,opt,name=RequireScope,proto3" json:"RequireScope,omitempty"`
RequireAudience string `protobuf:"bytes,6,opt,name=RequireAudience,proto3" json:"RequireAudience,omitempty"`
Admins []string `protobuf:"bytes,7,rep,name=Admins,proto3" json:"Admins,omitempty"`
// contains filtered or unexported fields
}
OidcAuth describes OpenID Connect authentication configuration.
func (*OidcAuth) Descriptor
deprecated
added in
v0.11.4
func (*OidcAuth) GetClientId ¶ added in v0.11.4
func (*OidcAuth) GetClientSecret ¶ added in v0.11.4
func (*OidcAuth) GetRedirectURL ¶ added in v0.11.4
func (*OidcAuth) GetRequireAudience ¶ added in v0.11.4
func (*OidcAuth) GetRequireScope ¶ added in v0.11.4
func (*OidcAuth) GetServiceConfigURL ¶ added in v0.11.4
func (*OidcAuth) ProtoMessage ¶ added in v0.11.4
func (*OidcAuth) ProtoMessage()
func (*OidcAuth) ProtoReflect ¶ added in v0.11.4
func (x *OidcAuth) ProtoReflect() protoreflect.Message
type Plugins ¶ added in v0.11.4
type Plugins struct {
Path string `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
Params map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
This config matches the funnel plugins repo protobuf
func (*Plugins) Descriptor
deprecated
added in
v0.11.4
func (*Plugins) ProtoMessage ¶ added in v0.11.4
func (*Plugins) ProtoMessage()
func (*Plugins) ProtoReflect ¶ added in v0.11.4
func (x *Plugins) ProtoReflect() protoreflect.Message
type Postgres ¶ added in v0.11.8
type Postgres struct {
Host string `protobuf:"bytes,1,opt,name=Host,proto3" json:"Host,omitempty"`
Database string `protobuf:"bytes,2,opt,name=Database,proto3" json:"Database,omitempty"`
User string `protobuf:"bytes,3,opt,name=User,proto3" json:"User,omitempty"`
Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"`
AdminUser string `protobuf:"bytes,5,opt,name=AdminUser,proto3" json:"AdminUser,omitempty"`
AdminPassword string `protobuf:"bytes,6,opt,name=AdminPassword,proto3" json:"AdminPassword,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,7,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
// contains filtered or unexported fields
}
Postgres configures access to a PostgreSQL database.
func (*Postgres) Descriptor
deprecated
added in
v0.11.8
func (*Postgres) GetAdminPassword ¶ added in v0.11.8
func (*Postgres) GetAdminUser ¶ added in v0.11.8
func (*Postgres) GetDatabase ¶ added in v0.11.8
func (*Postgres) GetPassword ¶ added in v0.11.8
func (*Postgres) GetTimeout ¶ added in v0.11.8
func (x *Postgres) GetTimeout() *TimeoutConfig
func (*Postgres) ProtoMessage ¶ added in v0.11.8
func (*Postgres) ProtoMessage()
func (*Postgres) ProtoReflect ¶ added in v0.11.8
func (x *Postgres) ProtoReflect() protoreflect.Message
type PubSub ¶
type PubSub struct {
Topic string `protobuf:"bytes,1,opt,name=Topic,proto3" json:"Topic,omitempty"`
Project string `protobuf:"bytes,2,opt,name=Project,proto3" json:"Project,omitempty"`
CredentialsFile string `protobuf:"bytes,3,opt,name=CredentialsFile,proto3" json:"CredentialsFile,omitempty"`
// contains filtered or unexported fields
}
PubSub configures access to Google Cloud Pub/Sub.
func (*PubSub) Descriptor
deprecated
added in
v0.11.4
func (*PubSub) GetCredentialsFile ¶ added in v0.11.4
func (*PubSub) GetProject ¶ added in v0.11.4
func (*PubSub) ProtoMessage ¶ added in v0.11.4
func (*PubSub) ProtoMessage()
func (*PubSub) ProtoReflect ¶ added in v0.11.4
func (x *PubSub) ProtoReflect() protoreflect.Message
type RPCClient ¶
type RPCClient struct {
Credential *BasicCredential `protobuf:"bytes,1,opt,name=Credential,proto3" json:"Credential,omitempty"`
ServerAddress string `protobuf:"bytes,2,opt,name=ServerAddress,proto3" json:"ServerAddress,omitempty"`
Timeout *TimeoutConfig `protobuf:"bytes,3,opt,name=Timeout,proto3" json:"Timeout,omitempty"`
MaxRetries uint32 `protobuf:"varint,4,opt,name=MaxRetries,proto3" json:"MaxRetries,omitempty"`
// contains filtered or unexported fields
}
RPCClient describes configuration for gRPC clients.
func (*RPCClient) Descriptor
deprecated
added in
v0.11.4
func (*RPCClient) GetCredential ¶ added in v0.11.4
func (x *RPCClient) GetCredential() *BasicCredential
func (*RPCClient) GetMaxRetries ¶ added in v0.11.4
func (*RPCClient) GetServerAddress ¶ added in v0.11.4
func (*RPCClient) GetTimeout ¶ added in v0.11.4
func (x *RPCClient) GetTimeout() *TimeoutConfig
func (*RPCClient) ProtoMessage ¶ added in v0.11.4
func (*RPCClient) ProtoMessage()
func (*RPCClient) ProtoReflect ¶ added in v0.11.4
func (x *RPCClient) ProtoReflect() protoreflect.Message
type ResourceDefaults ¶ added in v0.11.8
type ResourceDefaults struct {
Cpus string `protobuf:"bytes,1,opt,name=Cpus,proto3" json:"Cpus,omitempty"`
RamGb string `protobuf:"bytes,2,opt,name=RamGb,proto3" json:"RamGb,omitempty"`
DiskGb string `protobuf:"bytes,3,opt,name=DiskGb,proto3" json:"DiskGb,omitempty"`
// contains filtered or unexported fields
}
ResourceDefaults describes default and maximum resource limits for tasks.
func (*ResourceDefaults) Descriptor
deprecated
added in
v0.11.8
func (*ResourceDefaults) Descriptor() ([]byte, []int)
Deprecated: Use ResourceDefaults.ProtoReflect.Descriptor instead.
func (*ResourceDefaults) GetCpus ¶ added in v0.11.8
func (x *ResourceDefaults) GetCpus() string
func (*ResourceDefaults) GetDiskGb ¶ added in v0.11.8
func (x *ResourceDefaults) GetDiskGb() string
func (*ResourceDefaults) GetRamGb ¶ added in v0.11.8
func (x *ResourceDefaults) GetRamGb() string
func (*ResourceDefaults) ProtoMessage ¶ added in v0.11.8
func (*ResourceDefaults) ProtoMessage()
func (*ResourceDefaults) ProtoReflect ¶ added in v0.11.8
func (x *ResourceDefaults) ProtoReflect() protoreflect.Message
func (*ResourceDefaults) Reset ¶ added in v0.11.8
func (x *ResourceDefaults) Reset()
func (*ResourceDefaults) String ¶ added in v0.11.8
func (x *ResourceDefaults) String() string
type ResourceLimits ¶ added in v0.11.8
type ResourceLimits struct {
Cpus string `protobuf:"bytes,1,opt,name=Cpus,proto3" json:"Cpus,omitempty"`
RamGb string `protobuf:"bytes,2,opt,name=RamGb,proto3" json:"RamGb,omitempty"`
DiskGb string `protobuf:"bytes,3,opt,name=DiskGb,proto3" json:"DiskGb,omitempty"`
// contains filtered or unexported fields
}
ResourceLimits describes maximum resource limits for tasks.
func (*ResourceLimits) Descriptor
deprecated
added in
v0.11.8
func (*ResourceLimits) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.
func (*ResourceLimits) GetCpus ¶ added in v0.11.8
func (x *ResourceLimits) GetCpus() string
func (*ResourceLimits) GetDiskGb ¶ added in v0.11.8
func (x *ResourceLimits) GetDiskGb() string
func (*ResourceLimits) GetRamGb ¶ added in v0.11.8
func (x *ResourceLimits) GetRamGb() string
func (*ResourceLimits) ProtoMessage ¶ added in v0.11.8
func (*ResourceLimits) ProtoMessage()
func (*ResourceLimits) ProtoReflect ¶ added in v0.11.8
func (x *ResourceLimits) ProtoReflect() protoreflect.Message
func (*ResourceLimits) Reset ¶ added in v0.11.8
func (x *ResourceLimits) Reset()
func (*ResourceLimits) String ¶ added in v0.11.8
func (x *ResourceLimits) String() string
type Resources ¶ added in v0.1.2
type Resources struct {
Cpus float64 `protobuf:"fixed64,1,opt,name=Cpus,proto3" json:"Cpus,omitempty"`
RamGb float64 `protobuf:"fixed64,2,opt,name=RamGb,proto3" json:"RamGb,omitempty"`
DiskGb float64 `protobuf:"fixed64,3,opt,name=DiskGb,proto3" json:"DiskGb,omitempty"`
// contains filtered or unexported fields
}
Resources describes the CPU, RAM, and disk resources required by a task.
func (*Resources) Descriptor
deprecated
added in
v0.11.4
func (*Resources) ProtoMessage ¶ added in v0.11.4
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶ added in v0.11.4
func (x *Resources) ProtoReflect() protoreflect.Message
type SSE ¶ added in v0.11.4
type SSE struct {
CustomerKeyFile string `protobuf:"bytes,1,opt,name=CustomerKeyFile,proto3" json:"CustomerKeyFile,omitempty"`
KMSKey string `protobuf:"bytes,2,opt,name=KMSKey,proto3" json:"KMSKey,omitempty"`
// contains filtered or unexported fields
}
func (*SSE) Descriptor
deprecated
added in
v0.11.4
func (*SSE) GetCustomerKeyFile ¶ added in v0.11.4
func (*SSE) ProtoMessage ¶ added in v0.11.4
func (*SSE) ProtoMessage()
func (*SSE) ProtoReflect ¶ added in v0.11.4
func (x *SSE) ProtoReflect() protoreflect.Message
type Scheduler ¶
type Scheduler struct {
ScheduleRate *durationpb.Duration `protobuf:"bytes,1,opt,name=ScheduleRate,proto3" json:"ScheduleRate,omitempty"`
ScheduleChunk int32 `protobuf:"varint,2,opt,name=ScheduleChunk,proto3" json:"ScheduleChunk,omitempty"`
NodePingTimeout *TimeoutConfig `protobuf:"bytes,3,opt,name=NodePingTimeout,proto3" json:"NodePingTimeout,omitempty"`
NodeInitTimeout *TimeoutConfig `protobuf:"bytes,4,opt,name=NodeInitTimeout,proto3" json:"NodeInitTimeout,omitempty"`
NodeDeadTimeout *TimeoutConfig `protobuf:"bytes,5,opt,name=NodeDeadTimeout,proto3" json:"NodeDeadTimeout,omitempty"`
// contains filtered or unexported fields
}
Scheduler contains Funnel's basic scheduler configuration.
func (*Scheduler) Descriptor
deprecated
added in
v0.11.4
func (*Scheduler) GetNodeDeadTimeout ¶ added in v0.11.4
func (x *Scheduler) GetNodeDeadTimeout() *TimeoutConfig
func (*Scheduler) GetNodeInitTimeout ¶ added in v0.11.4
func (x *Scheduler) GetNodeInitTimeout() *TimeoutConfig
func (*Scheduler) GetNodePingTimeout ¶ added in v0.11.4
func (x *Scheduler) GetNodePingTimeout() *TimeoutConfig
func (*Scheduler) GetScheduleChunk ¶ added in v0.11.4
func (*Scheduler) GetScheduleRate ¶ added in v0.11.4
func (x *Scheduler) GetScheduleRate() *durationpb.Duration
func (*Scheduler) ProtoMessage ¶ added in v0.11.4
func (*Scheduler) ProtoMessage()
func (*Scheduler) ProtoReflect ¶ added in v0.11.4
func (x *Scheduler) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct {
ServiceName string `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"`
HostName string `protobuf:"bytes,2,opt,name=HostName,proto3" json:"HostName,omitempty"`
HTTPPort string `protobuf:"bytes,3,opt,name=HTTPPort,proto3" json:"HTTPPort,omitempty"`
RPCPort string `protobuf:"bytes,4,opt,name=RPCPort,proto3" json:"RPCPort,omitempty"`
BasicAuth []*BasicCredential `protobuf:"bytes,5,rep,name=BasicAuth,proto3" json:"BasicAuth,omitempty"`
OidcAuth *OidcAuth `protobuf:"bytes,6,opt,name=OidcAuth,proto3" json:"OidcAuth,omitempty"`
DisableHTTPCache bool `protobuf:"varint,7,opt,name=DisableHTTPCache,proto3" json:"DisableHTTPCache,omitempty"`
TaskAccess string `protobuf:"bytes,8,opt,name=TaskAccess,proto3" json:"TaskAccess,omitempty"`
// contains filtered or unexported fields
}
Server describes configuration for the server.
func (*Server) Descriptor
deprecated
added in
v0.11.4
func (*Server) GetBasicAuth ¶ added in v0.11.4
func (x *Server) GetBasicAuth() []*BasicCredential
func (*Server) GetDisableHTTPCache ¶ added in v0.11.4
func (*Server) GetHTTPPort ¶ added in v0.11.4
func (*Server) GetHostName ¶ added in v0.11.4
func (*Server) GetOidcAuth ¶ added in v0.11.4
func (*Server) GetRPCPort ¶ added in v0.11.4
func (*Server) GetServiceName ¶ added in v0.11.4
func (*Server) GetTaskAccess ¶ added in v0.11.4
func (*Server) HTTPAddress ¶
HTTPAddress returns the HTTP address based on HostName and HTTPPort
func (*Server) ProtoMessage ¶ added in v0.11.4
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶ added in v0.11.4
func (x *Server) ProtoReflect() protoreflect.Message
func (*Server) RPCAddress ¶
RPCAddress returns the RPC address based on HostName and RPCPort
type SwiftStorage ¶
type SwiftStorage struct {
Disabled bool `protobuf:"varint,1,opt,name=Disabled,proto3" json:"Disabled,omitempty"`
UserName string `protobuf:"bytes,2,opt,name=UserName,proto3" json:"UserName,omitempty"`
Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"`
AuthURL string `protobuf:"bytes,4,opt,name=AuthURL,proto3" json:"AuthURL,omitempty"`
TenantName string `protobuf:"bytes,5,opt,name=TenantName,proto3" json:"TenantName,omitempty"`
TenantID string `protobuf:"bytes,6,opt,name=TenantID,proto3" json:"TenantID,omitempty"`
RegionName string `protobuf:"bytes,7,opt,name=RegionName,proto3" json:"RegionName,omitempty"`
ChunkSizeBytes int64 `protobuf:"varint,8,opt,name=ChunkSizeBytes,proto3" json:"ChunkSizeBytes,omitempty"`
MaxRetries int32 `protobuf:"varint,9,opt,name=MaxRetries,proto3" json:"MaxRetries,omitempty"`
// contains filtered or unexported fields
}
SwiftStorage configures the OpenStack Swift object storage backend.
func (*SwiftStorage) Descriptor
deprecated
added in
v0.11.4
func (*SwiftStorage) Descriptor() ([]byte, []int)
Deprecated: Use SwiftStorage.ProtoReflect.Descriptor instead.
func (*SwiftStorage) GetAuthURL ¶ added in v0.11.4
func (x *SwiftStorage) GetAuthURL() string
func (*SwiftStorage) GetChunkSizeBytes ¶ added in v0.11.4
func (x *SwiftStorage) GetChunkSizeBytes() int64
func (*SwiftStorage) GetDisabled ¶ added in v0.11.4
func (x *SwiftStorage) GetDisabled() bool
func (*SwiftStorage) GetMaxRetries ¶ added in v0.11.4
func (x *SwiftStorage) GetMaxRetries() int32
func (*SwiftStorage) GetPassword ¶ added in v0.11.4
func (x *SwiftStorage) GetPassword() string
func (*SwiftStorage) GetRegionName ¶ added in v0.11.4
func (x *SwiftStorage) GetRegionName() string
func (*SwiftStorage) GetTenantID ¶ added in v0.11.4
func (x *SwiftStorage) GetTenantID() string
func (*SwiftStorage) GetTenantName ¶ added in v0.11.4
func (x *SwiftStorage) GetTenantName() string
func (*SwiftStorage) GetUserName ¶ added in v0.11.4
func (x *SwiftStorage) GetUserName() string
func (*SwiftStorage) ProtoMessage ¶ added in v0.11.4
func (*SwiftStorage) ProtoMessage()
func (*SwiftStorage) ProtoReflect ¶ added in v0.11.4
func (x *SwiftStorage) ProtoReflect() protoreflect.Message
func (*SwiftStorage) Reset ¶ added in v0.11.4
func (x *SwiftStorage) Reset()
func (*SwiftStorage) String ¶ added in v0.11.4
func (x *SwiftStorage) String() string
func (*SwiftStorage) Valid ¶
func (s *SwiftStorage) Valid() bool
Valid validates the SwiftStorage configuration.
type TimeoutConfig ¶ added in v0.11.4
type TimeoutConfig struct {
// Types that are valid to be assigned to TimeoutOption:
//
// *TimeoutConfig_Duration
// *TimeoutConfig_Disabled
TimeoutOption isTimeoutConfig_TimeoutOption `protobuf_oneof:"timeout_option"`
// contains filtered or unexported fields
}
func (*TimeoutConfig) Descriptor
deprecated
added in
v0.11.4
func (*TimeoutConfig) Descriptor() ([]byte, []int)
Deprecated: Use TimeoutConfig.ProtoReflect.Descriptor instead.
func (*TimeoutConfig) GetDisabled ¶ added in v0.11.4
func (x *TimeoutConfig) GetDisabled() bool
func (*TimeoutConfig) GetDuration ¶ added in v0.11.4
func (x *TimeoutConfig) GetDuration() *durationpb.Duration
func (*TimeoutConfig) GetTimeoutOption ¶ added in v0.11.4
func (x *TimeoutConfig) GetTimeoutOption() isTimeoutConfig_TimeoutOption
func (*TimeoutConfig) ProtoMessage ¶ added in v0.11.4
func (*TimeoutConfig) ProtoMessage()
func (*TimeoutConfig) ProtoReflect ¶ added in v0.11.4
func (x *TimeoutConfig) ProtoReflect() protoreflect.Message
func (*TimeoutConfig) Reset ¶ added in v0.11.4
func (x *TimeoutConfig) Reset()
func (*TimeoutConfig) String ¶ added in v0.11.4
func (x *TimeoutConfig) String() string
type TimeoutConfig_Disabled ¶ added in v0.11.4
type TimeoutConfig_Disabled struct {
Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3,oneof"` // Represents an infinite or disabled timeout
}
type TimeoutConfig_Duration ¶ added in v0.11.4
type TimeoutConfig_Duration struct {
Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3,oneof"`
}
type Toleration ¶ added in v0.11.4
type Toleration struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Operator string `protobuf:"bytes,2,opt,name=Operator,proto3" json:"Operator,omitempty"` // "Equal" or "Exists"
Value string `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"` // Required when operator is "Equal"
Effect string `protobuf:"bytes,4,opt,name=Effect,proto3" json:"Effect,omitempty"` // "NoSchedule", "PreferNoSchedule", or "NoExecute"
TolerationSeconds *int64 `protobuf:"varint,5,opt,name=TolerationSeconds,proto3,oneof" json:"TolerationSeconds,omitempty"` // Only used with "NoExecute" effect
// contains filtered or unexported fields
}
Kubernetes toleration https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
func (*Toleration) Descriptor
deprecated
added in
v0.11.4
func (*Toleration) Descriptor() ([]byte, []int)
Deprecated: Use Toleration.ProtoReflect.Descriptor instead.
func (*Toleration) GetEffect ¶ added in v0.11.4
func (x *Toleration) GetEffect() string
func (*Toleration) GetKey ¶ added in v0.11.4
func (x *Toleration) GetKey() string
func (*Toleration) GetOperator ¶ added in v0.11.4
func (x *Toleration) GetOperator() string
func (*Toleration) GetTolerationSeconds ¶ added in v0.11.4
func (x *Toleration) GetTolerationSeconds() int64
func (*Toleration) GetValue ¶ added in v0.11.4
func (x *Toleration) GetValue() string
func (*Toleration) ProtoMessage ¶ added in v0.11.4
func (*Toleration) ProtoMessage()
func (*Toleration) ProtoReflect ¶ added in v0.11.4
func (x *Toleration) ProtoReflect() protoreflect.Message
func (*Toleration) Reset ¶ added in v0.11.4
func (x *Toleration) Reset()
func (*Toleration) String ¶ added in v0.11.4
func (x *Toleration) String() string
type Worker ¶
type Worker struct {
WorkDir string `protobuf:"bytes,1,opt,name=WorkDir,proto3" json:"WorkDir,omitempty"`
ScratchPath string `protobuf:"bytes,2,opt,name=ScratchPath,proto3" json:"ScratchPath,omitempty"`
PollingRate *durationpb.Duration `protobuf:"bytes,3,opt,name=PollingRate,proto3" json:"PollingRate,omitempty"`
LogUpdateRate *durationpb.Duration `protobuf:"bytes,4,opt,name=LogUpdateRate,proto3" json:"LogUpdateRate,omitempty"`
LogTailSize int64 `protobuf:"varint,5,opt,name=LogTailSize,proto3" json:"LogTailSize,omitempty"`
LeaveWorkDir bool `protobuf:"varint,6,opt,name=LeaveWorkDir,proto3" json:"LeaveWorkDir,omitempty"`
MaxParallelTransfers int32 `protobuf:"varint,7,opt,name=MaxParallelTransfers,proto3" json:"MaxParallelTransfers,omitempty"`
Container *ContainerConfig `protobuf:"bytes,8,opt,name=Container,proto3" json:"Container,omitempty"`
DriverCommand string `protobuf:"bytes,9,opt,name=DriverCommand,proto3" json:"DriverCommand,omitempty"`
// contains filtered or unexported fields
}
Worker contains worker configuration.
func (*Worker) Descriptor
deprecated
added in
v0.11.4
func (*Worker) GetContainer ¶ added in v0.11.4
func (x *Worker) GetContainer() *ContainerConfig
func (*Worker) GetDriverCommand ¶ added in v0.11.4
func (*Worker) GetLeaveWorkDir ¶ added in v0.11.4
func (*Worker) GetLogTailSize ¶ added in v0.11.4
func (*Worker) GetLogUpdateRate ¶ added in v0.11.4
func (x *Worker) GetLogUpdateRate() *durationpb.Duration
func (*Worker) GetMaxParallelTransfers ¶ added in v0.11.4
func (*Worker) GetPollingRate ¶ added in v0.11.4
func (x *Worker) GetPollingRate() *durationpb.Duration
func (*Worker) GetScratchPath ¶ added in v0.11.4
func (*Worker) GetWorkDir ¶ added in v0.11.4
func (*Worker) ProtoMessage ¶ added in v0.11.4
func (*Worker) ProtoMessage()
func (*Worker) ProtoReflect ¶ added in v0.11.4
func (x *Worker) ProtoReflect() protoreflect.Message