estafetteciapi

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetToken(ctx context.Context) (token string, err error)
	GetRunningBuilds(ctx context.Context, pageNumber, pageSize int) (pagedBuildResponse corev1.PagedBuildResponse, err error)
	GetRunningReleases(ctx context.Context, pageNumber, pageSize int) (pagedReleasesResponse corev1.PagedReleasesResponse, err error)
	CancelBuild(ctx context.Context, build *contracts.Build) (err error)
	CancelRelease(ctx context.Context, release *contracts.Release) (err error)
}

func NewClient

func NewClient(apiBaseURL, clientID, clientSecret string) (Client, error)

NewClient returns a new estafetteciapi.Client

Jump to

Keyboard shortcuts

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