projects

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 6 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 {
	Create(ctx context.Context, accessToken, baseURI, name, key string) ([]byte, error)
	List(ctx context.Context, accessToken, baseURI string) ([]byte, error)
}

type MockClient

type MockClient struct {
	mock.Mock
}

func (*MockClient) Create

func (c *MockClient) Create(
	ctx context.Context,
	accessToken,
	baseURI,
	name,
	key string,
) ([]byte, error)

func (*MockClient) List

func (c *MockClient) List(
	ctx context.Context,
	accessToken,
	baseURI string,
) ([]byte, error)

type ProjectsClient

type ProjectsClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cliVersion string) ProjectsClient

func (ProjectsClient) Create

func (c ProjectsClient) Create(
	ctx context.Context,
	accessToken,
	baseURI,
	name,
	key string,
) ([]byte, error)

func (ProjectsClient) List

func (c ProjectsClient) List(
	ctx context.Context,
	accessToken,
	baseURI string,
) ([]byte, error)

Jump to

Keyboard shortcuts

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