client

package
v0.0.0-...-691b052 Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestClient

type RestClient struct {
	// contains filtered or unexported fields
}

func New

func New(bitfanHost string) *RestClient

func (*RestClient) Asset

func (r *RestClient) Asset(UUID string) (*models.Asset, error)

func (*RestClient) CheckSyntax

func (r *RestClient) CheckSyntax(asset *models.Asset) (map[string]interface{}, error)

func (*RestClient) DeleteAsset

func (r *RestClient) DeleteAsset(UUID string) error

func (*RestClient) DeletePipeline

func (r *RestClient) DeletePipeline(UUID string) error

func (*RestClient) DeleteXProcessor

func (r *RestClient) DeleteXProcessor(UUID string) error

func (*RestClient) Envs

func (r *RestClient) Envs() ([]models.Env, error)

func (*RestClient) NewAsset

func (r *RestClient) NewAsset(initAsset *models.Asset) (*models.Asset, error)

func (*RestClient) NewPipeline

func (r *RestClient) NewPipeline(pipeline *models.Pipeline) (*models.Pipeline, error)

func (*RestClient) NewXProcessor

func (r *RestClient) NewXProcessor(xprocessor *models.XProcessor) (*models.XProcessor, error)

func (*RestClient) Pipeline

func (r *RestClient) Pipeline(ID string) (*models.Pipeline, error)

func (*RestClient) Pipelines

func (r *RestClient) Pipelines() ([]models.Pipeline, error)

func (*RestClient) ReplaceAsset

func (r *RestClient) ReplaceAsset(UUID string, initAsset *models.Asset) (*models.Asset, error)

func (*RestClient) StartPipeline

func (r *RestClient) StartPipeline(UUID string) (*models.Pipeline, error)

func (*RestClient) StopPipeline

func (r *RestClient) StopPipeline(UUID string) (*models.Pipeline, error)

func (*RestClient) UpdateAsset

func (r *RestClient) UpdateAsset(UUID string, data *map[string]interface{}) (*models.Asset, error)

func (*RestClient) UpdatePipeline

func (r *RestClient) UpdatePipeline(UUID string, data *map[string]interface{}) (*models.Pipeline, error)

func (*RestClient) UpdateXProcessor

func (r *RestClient) UpdateXProcessor(UUID string, data *map[string]interface{}) (*models.XProcessor, error)

func (*RestClient) XProcessor

func (r *RestClient) XProcessor(ID string) (*models.XProcessor, error)

func (*RestClient) XProcessors

func (r *RestClient) XProcessors(behavior string) ([]models.XProcessor, error)

Jump to

Keyboard shortcuts

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