client_wrapper

package
v0.0.0-...-486ae31 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvironments

func GetEnvironments(limit int, client newclient.Client, spaceID string) ([]*environments.Environment, error)

func GetMachines

func GetMachines(limit int, client newclient.Client, spaceID string) ([]*machines.DeploymentTarget, error)

func GetNamedProjects

func GetNamedProjects(client newclient.Client, spaceID string, excludeProjectsExcept config.StringSliceArgs) ([]*projects.Project, error)

func GetProjectByName

func GetProjectByName(name string, client newclient.Client, spaceID string) ([]*projects.Project, error)

func GetProjects

func GetProjects(limit int, client newclient.Client, spaceID string) ([]*projects.Project, error)

func GetProjectsWithFilter

func GetProjectsWithFilter(client newclient.Client, spaceID string, excludeProjectsExcept config.StringSliceArgs, excludeProjects config.StringSliceArgs, maxItems int) ([]*projects.Project, error)

func GetTenants

func GetTenants(limit int, client newclient.Client, spaceID string) ([]*tenants.Tenant, error)

func GetWorkers

func GetWorkers(limit int, client newclient.Client, spaceID string) ([]*machines.Worker, error)

Types

type HeaderRoundTripper

type HeaderRoundTripper struct {
	Transport http.RoundTripper
	Headers   map[string]string
}

func (*HeaderRoundTripper) RoundTrip

func (h *HeaderRoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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