Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicOperator ¶
type BasicOperator struct {
// contains filtered or unexported fields
}
func NewBasicOperator ¶
func NewBasicOperator(conn config.ConnectionGetter) *BasicOperator
func (BasicOperator) Run ¶
func (o BasicOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) RefreshDataSource ¶
type Config ¶
type Config struct {
Name string `yaml:"name,omitempty" json:"name" mapstructure:"name"`
Host string `yaml:"host,omitempty" json:"host" mapstructure:"host"`
Username string `yaml:"username,omitempty" json:"username" mapstructure:"username"`
Password string `yaml:"password,omitempty" json:"password" mapstructure:"password"`
PersonalAccessTokenName string `yaml:"personal_access_token_name,omitempty" json:"personal_access_token_name" mapstructure:"personal_access_token_name"`
PersonalAccessTokenSecret string `yaml:"personal_access_token_secret,omitempty" json:"personal_access_token_secret" mapstructure:"personal_access_token_secret"`
SiteID string `yaml:"site_id,omitempty" json:"site_id" mapstructure:"site_id"`
APIVersion string `yaml:"api_version,omitempty" json:"api_version" mapstructure:"api_version"`
}
type RefreshResponse ¶
type RefreshResponse struct {
Status string `json:"status"`
}
type TSCredentials ¶
type TSCredentialsResponse ¶
type TSCredentialsResponse struct {
Token string `json:"token"`
Site TSSiteResponse `json:"site"`
User TSUser `json:"user"`
}
type TSResponse ¶
type TSResponse struct {
Credentials TSCredentialsResponse `json:"credentials"`
}
type TSSiteResponse ¶
Click to show internal directories.
Click to hide internal directories.