Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FileHandler ¶ added in v0.3.4
type FileHandler struct {
// contains filtered or unexported fields
}
FileHandler is a simple, concrete file store for schemas. It provides basic Read/Write/Delete operations backed by the local filesystem.
func NewIOHandler ¶
func NewIOHandler(schemasDir string) (*FileHandler, error)
NewIOHandler constructs a concrete FileHandler that stores files under schemasDir.
func (*FileHandler) Delete ¶ added in v0.3.4
func (h *FileHandler) Delete(clusterName string) error
Delete removes the schema file for the given cluster name.
Click to show internal directories.
Click to hide internal directories.