Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetLatestRelease(ctx context.Context, org, repo string) (model.TiltBuild, error)
}

func NewClient

func NewClient() Client

type FakeClient

type FakeClient struct {
	LatestReleaseRet model.TiltBuild
	LatestReleaseErr error
}

func (*FakeClient) GetLatestRelease

func (fc *FakeClient) GetLatestRelease(ctx context.Context, org, repo string) (model.TiltBuild, error)