project

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 20 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(project *Project)

Option the is fun to set *Project property

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle sets the bundle to invoke other services

func WithCMP

WithCMP sets the gRPC client to invoke CMP service Todo: the dependency on CMP will be moved to a service which is more suitable

func WithTrans

func WithTrans(trans i18n.Translator) Option

WithTrans sets the translator for i18n

type Project

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

func New

func New(options ...Option) *Project

func (*Project) ApplicationsResources added in v1.5.0

func (*Project) Get

Get gets the project info. id is the project id.

Jump to

Keyboard shortcuts

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