Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateBazelParams ¶ added in v0.16.11
type ActivateBazelParams struct {
Cache CacheParams
BES BESParams
RBE RBEParams
Timestamps bool
}
func DefaultActivateBazelParams ¶ added in v0.16.11
func DefaultActivateBazelParams() ActivateBazelParams
func (ActivateBazelParams) TemplateInventory ¶ added in v0.16.11
func (params ActivateBazelParams) TemplateInventory( logger log.Logger, envs map[string]string, commandFunc common.CommandFunc, isDebug bool, ) (TemplateInventory, error)
type BESTemplateInventory ¶ added in v0.16.11
type CacheParams ¶ added in v0.16.11
type CacheTemplateInventory ¶ added in v0.16.11
type CommonTemplateInventory ¶ added in v0.16.11
type HostMetadataInventory ¶ added in v0.16.11
type RBETemplateInventory ¶ added in v0.16.11
type TemplateInventory ¶ added in v0.16.11
type TemplateInventory struct {
Common CommonTemplateInventory
Cache CacheTemplateInventory
BES BESTemplateInventory
RBE RBETemplateInventory
}
func (TemplateInventory) GenerateBazelrc ¶ added in v0.16.11
func (inventory TemplateInventory) GenerateBazelrc(templateProxy utils.TemplateProxy) (string, error)
GenerateBazelrc creates the bazelrc content from the inventory data
func (TemplateInventory) WriteToBazelrc ¶ added in v0.16.11
func (inventory TemplateInventory) WriteToBazelrc( logger log.Logger, bazelrcPath string, osProxy utils.OsProxy, templateProxy utils.TemplateProxy, ) error
WriteToBazelrc writes the Bazel configuration to the specified bazelrc file. If the file exists, it only appends the generated content within the specified block. If it does not exist, it creates a new file with the content. Previously written content will be updated.
Click to show internal directories.
Click to hide internal directories.