client

package
v0.1.633 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OctopusClient

type OctopusClient struct {
	Url    string
	ApiKey string
	Space  string
}

func (OctopusClient) GetAllResources

func (o OctopusClient) GetAllResources(resourceType string, resources any, queryParams ...[]string) error

func (OctopusClient) GetResource

func (o OctopusClient) GetResource(resourceType string, resources any) (bool, error)

func (OctopusClient) GetResourceById

func (o OctopusClient) GetResourceById(resourceType string, id string, resources any) (bool, error)

func (OctopusClient) GetSpace

func (o OctopusClient) GetSpace(resources *octopus2.Space) error

func (OctopusClient) GetSpaceBaseUrl

func (o OctopusClient) GetSpaceBaseUrl() (string, error)

Jump to

Keyboard shortcuts

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