client

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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
}

func New

func New(baseUrl string) *Client

func (*Client) GetInstance

func (c *Client) GetInstance(token string, id string) (result Instance, err error)

func (*Client) ListInstances

func (c *Client) ListInstances(token string, options *ListOptions) (result InstancesResponse, err error)

func (*Client) ListInstancesAsAdmin

func (c *Client) ListInstancesAsAdmin(token string, options *ListOptions) (result Instances, err error)

type Instance

type Instance = lib.Instance

type Instances

type Instances = lib.Instances

type InstancesResponse

type InstancesResponse = lib.InstancesResponse

type ListOptions

type ListOptions struct {
	Limit            int
	Offset           int
	Asc              bool
	OrderBy          string
	SearchBy         string // Allowed values: "name", "description", "entity_name", "service_name"
	SearchValue      string
	Generated        *bool
	ExportDatabaseID string
	InternalOnly     *bool
}

Jump to

Keyboard shortcuts

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