handler

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	ID    string
	Roles []string
}

type Project

type Project struct {
	ID               string
	Name             string
	Members          []Member
	BillingAccountID string
}

type Projects

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

func New

func New(srv *service.Service) *Projects

func (*Projects) Create

func (p *Projects) Create(ctx context.Context, request *projects.CreateRequest, response *projects.CreateResponse) error

func (*Projects) List

func (p *Projects) List(ctx context.Context, request *projects.ListRequest, response *projects.ListResponse) error

List the projects this user has access to or list the projects for this billing account

func (*Projects) Read

func (p *Projects) Read(ctx context.Context, request *projects.ReadRequest, response *projects.ReadResponse) error

Jump to

Keyboard shortcuts

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