projects

package
v0.0.0-...-4df811a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorAlreadyInKeystoneProject = errors.New("already in keystone project")

Functions

This section is empty.

Types

type ProjectService

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

func NewProjectService

func NewProjectService(
	ctx *core.Context,
	currentfolder, projectName string,
) *ProjectService

NewProjectService function returns a new instance of ProjectService

func (*ProjectService) Create

func (s *ProjectService) Create(
	project *models.Project,
	organizationName string,
) *ProjectService

Create method creates a project in an organization

func (*ProjectService) Err

func (s *ProjectService) Err() error

Err method returns the last error that occurred in the service

func (*ProjectService) Get

func (s *ProjectService) Get(project *models.Project) *ProjectService

Get method gets the project information from the API

func (*ProjectService) GetOrCreate

func (s *ProjectService) GetOrCreate(
	project *models.Project,
	organizationName string,
) *ProjectService

GetOrCreate method gets or create a project in organization

Jump to

Keyboard shortcuts

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