client

package
v0.1.805 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0, MIT Imports: 12 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) EnsureSpaceDeleted added in v0.1.805

func (o OctopusClient) EnsureSpaceDeleted(spaceId string) (funcErr error)

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)

func (OctopusClient) GetSpaces added in v0.1.805

func (o OctopusClient) GetSpaces() (spaces []octopus2.Space, funcErr error)

Jump to

Keyboard shortcuts

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