openpipeline

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client can be used to interact with the Automation API

func NewClient

func NewClient(client *rest.Client) *Client

func (Client) Get

func (c Client) Get(ctx context.Context, id string) (Response, error)

func (Client) GetAll

func (c Client) GetAll(ctx context.Context) ([]Response, error)

func (Client) List

func (c Client) List(ctx context.Context) ([]ListResponse, error)

func (Client) Update

func (c Client) Update(ctx context.Context, id string, data []byte) (Response, error)

type ListResponse

type ListResponse struct {
	Id       string `json:"id"`
	Editable bool   `json:"editable"`
}

type Response

type Response = api.Response

Jump to

Keyboard shortcuts

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