client

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

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 (c *KobeClient) CreateProject(name string, source string) (*api.Project, error)

func (*KobeClient) GetResult

func (c *KobeClient) GetResult(taskId string) (*api.Result, error)

func (KobeClient) ListProject

func (c KobeClient) ListProject() ([]*api.Project, error)

func (*KobeClient) ListResult

func (c *KobeClient) ListResult() ([]*api.Result, error)

func (KobeClient) RunAdhoc

func (c KobeClient) RunAdhoc(pattern, module, param string, inventory *api.Inventory) (*api.Result, error)

func (KobeClient) RunPlaybook

func (c KobeClient) RunPlaybook(project, playbook, tag string, inventory *api.Inventory) (*api.Result, error)

func (*KobeClient) WatchRun

func (c *KobeClient) WatchRun(taskId string, writer io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL