client

package
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 8 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 struct {
	// contains filtered or unexported fields
}

func New

func New(addr string) (*Client, error)

func (*Client) CreateRepository

func (c *Client) CreateRepository(ctx context.Context, namespace string, name string, options *repository.CreateRepositoryOptions) (*repository.Repository, error)

func (*Client) DeleteRepository

func (c *Client) DeleteRepository(ctx context.Context, namespace string, repositoryID string) error

func (*Client) Repositories

func (c *Client) Repositories(ctx context.Context, namespace string, options *repository.RepositoryListOptions) ([]repository.Repository, error)

func (*Client) Repository

func (c *Client) Repository(ctx context.Context, namespace, repositoryID string) (*repository.Repository, error)

func (*Client) RepositoryCredentials

func (c *Client) RepositoryCredentials(ctx context.Context, namespace string, repositoryID string, options *repository.CredentialsListOptions) ([]repository.Credentials, error)

func (*Client) UpdateRepository

func (c *Client) UpdateRepository(ctx context.Context, namespace string, repositoryID string, options *repository.UpdateRepositoryOptions) (*repository.Repository, error)

Jump to

Keyboard shortcuts

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