Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_TABLE = "k8s-event"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlKubeEventPoint ¶
type MysqlService ¶
type MysqlService struct {
// contains filtered or unexported fields
}
func NewMysqlClient ¶
func NewMysqlClient(uri *url.URL) (*MysqlService, error)
func (MysqlService) CloseDB ¶
func (mySvc MysqlService) CloseDB() error
func (MysqlService) CreateDatabase ¶
func (mySvc MysqlService) CreateDatabase(name string) error
func (MysqlService) FlushData ¶
func (mySvc MysqlService) FlushData() error
func (MysqlService) SaveData ¶
func (mySvc MysqlService) SaveData(sinkData []interface{}) error
Click to show internal directories.
Click to hide internal directories.