client

package
v0.0.0-...-665dfdd Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

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) CreateGroup

func (c *Client) CreateGroup(ctx context.Context, name string, options *provider.CreateGroupOptions) (*provider.Group, error)

func (*Client) CreatePipeline

func (c *Client) CreatePipeline(ctx context.Context, groupID, name string, options *provider.CreatePipelineOptions) (*provider.Pipeline, error)

func (*Client) CreateUser

func (*Client) CreateUser(ctx context.Context, name string, username string, password string, email string, identities []provider.UserIdentity) (*provider.User, error)

func (*Client) DeleteGroup

func (c *Client) DeleteGroup(ctx context.Context, groupID string, options *provider.DeleteGroupOptions) error

func (*Client) DeletePipeline

func (c *Client) DeletePipeline(ctx context.Context, pipelineID string, options *provider.DeletePipelineOptions) error

Jump to

Keyboard shortcuts

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