projects

package
v0.12.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID          *string `json:"id,omitempty"`
	AlternateID string  `json:"alternateId"`
	Name        string  `json:"name"`
}

type ProjectService

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

func NewService

func NewService(organizationID string) ProjectService

func (*ProjectService) CreateProject

func (ps *ProjectService) CreateProject(project Project) (Project, error)

func (*ProjectService) GetProject

func (ps *ProjectService) GetProject(projectID string) (Project, error)

func (*ProjectService) ListProjects

func (ps *ProjectService) ListProjects() ([]Project, error)

type ProjectServicer

type ProjectServicer interface {
	ListProjects() ([]Project, error)
	GetProject(projectID string) (Project, error)
	CreateProject(project Project) (Project, error)
}

func NewTestService

func NewTestService(organizationID string, httpClient httputil.Client) ProjectServicer

Jump to

Keyboard shortcuts

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