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 ¶
WithBundle sets the bundle to invoke other services
func WithCMP ¶
func WithCMP(cmp dashboardPb.ClusterResourceServer) Option
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
Click to show internal directories.
Click to hide internal directories.