config

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0, NCSA Imports: 12 Imported by: 1

Documentation

Overview

Package config contains logic for converting kythe.proto.extraction.RepoConfig to cloudbuild.yaml format as specified by https://cloud.google.com/cloud-build/docs/build-config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KytheToBuild

func KytheToBuild(conf *rpb.Config) (*cloudbuild.Build, error)

KytheToBuild takes a kythe.proto.extraction.RepoConfig and returns the necessary cloudbuild.Build with BuildSteps for running kythe extraction.

func KytheToYAML

func KytheToYAML(input string) ([]byte, error)

KytheToYAML takes an input JSON file defined in kythe.proto.extraction.RepoConfig format, and returns it as marshalled YAML.

Types

This section is empty.

Directories

Path Synopsis
Binary yamlgen generates a Cloud Build yaml config file for extracting a repo using Kythe.
Binary yamlgen generates a Cloud Build yaml config file for extracting a repo using Kythe.

Jump to

Keyboard shortcuts

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