Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) Create(ctx context.Context, organizationID string, request *openapi.ProjectWrite) error
- func (c *Client) Delete(ctx context.Context, organizationID, projectID string) error
- func (c *Client) Get(ctx context.Context, organizationID, projectID string) (*openapi.ProjectRead, error)
- func (c *Client) List(ctx context.Context, organizationID string) (openapi.Projects, error)
- func (c *Client) Update(ctx context.Context, organizationID, projectID string, ...) error
- type Scoper
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoScope = errors.New("nothing in scope")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps up project related management handling.
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, organizationID string, request *openapi.ProjectWrite) error
Create creates the implicit project indentified by the JTW claims.
type Scoper ¶
type Scoper struct {
// contains filtered or unexported fields
}
func (*Scoper) ListProjects ¶
func (*Scoper) MustApplyScope ¶
Click to show internal directories.
Click to hide internal directories.