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: 0

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