client

package
v0.0.0-...-0015610 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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