Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCacheOptions ¶
type CCacheOptions struct {
CCache credentials.CCache
}
CCacheOptions is options for ccache
type EventListener ¶
type EventListener struct { // Logger logs stuff Logger *logrus.Logger // k8sClient is kubernetes client K8sClient kubernetes.Interface Namespace string }
EventListener implements Eventing for HDFS events
func (*EventListener) StartEventSource ¶
func (listener *EventListener) StartEventSource(eventSource *gateways.EventSource, eventStream gateways.Eventing_StartEventSourceServer) error
StartEventSource starts an event source
func (*EventListener) ValidateEventSource ¶
func (listener *EventListener) ValidateEventSource(ctx context.Context, eventSource *gateways.EventSource) (*gateways.ValidEventSource, error)
ValidateEventSource validates hdfs event source
type HDFSConfig ¶
type HDFSConfig struct { Addresses []string // comma-separated name nodes HDFSUser string KrbOptions *KrbOptions }
HDFSConfig is config for HDFS
type KeytabOptions ¶
KeytabOptions is options for keytab
type KrbOptions ¶
type KrbOptions struct { CCacheOptions *CCacheOptions KeytabOptions *KeytabOptions Config string ServicePrincipalName string }
KrbOptions is options for Kerberos
type WatchableHDFS ¶
type WatchableHDFS struct {
// contains filtered or unexported fields
}
WatchableHDFS wraps hdfs.Client for naivewatcher
func (*WatchableHDFS) GetFileID ¶
func (w *WatchableHDFS) GetFileID(fi os.FileInfo) interface{}
GetFileID returns the file ID
Click to show internal directories.
Click to hide internal directories.