client

package
v0.1.749 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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) (funcErr error)

func (OctopusClient) GetResource

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

func (OctopusClient) GetResourceById

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

func (OctopusClient) GetSpace

func (o OctopusClient) GetSpace(resources *octopus2.Space) (funcErr 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