Documentation ¶
Index ¶
- type KobeClient
- func (c *KobeClient) CreateProject(name string, source string) (*api.Project, error)
- func (c *KobeClient) GetResult(taskId string) (*api.Result, error)
- func (c KobeClient) ListProject() ([]*api.Project, error)
- func (c *KobeClient) ListResult() ([]*api.Result, error)
- func (c KobeClient) RunAdhoc(pattern, module, param string, inventory *api.Inventory) (*api.Result, error)
- func (c KobeClient) RunPlaybook(project, playbook, tag string, inventory *api.Inventory) (*api.Result, error)
- func (c *KobeClient) WatchRun(taskId string, writer io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KobeClient ¶
type KobeClient struct {
// contains filtered or unexported fields
}
func NewKobeClient ¶
func NewKobeClient(host string, port int) *KobeClient
func (*KobeClient) CreateProject ¶
func (KobeClient) ListProject ¶
func (c KobeClient) ListProject() ([]*api.Project, error)
func (*KobeClient) ListResult ¶
func (c *KobeClient) ListResult() ([]*api.Result, error)
func (KobeClient) RunPlaybook ¶
Click to show internal directories.
Click to hide internal directories.