third_party/

directory
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0

README

/third_party

/diff

This package provides functions that allow to compare set of Kubernetes resources using the logic equivalent to kubectl diff.

Source code is developed secondary based on GitHub repo https://github.com/argoproj/gitops-engine, version v0.5.2, you may check them under package pkg/diff.

A few changes made by KusionStack:

  • options.go is part of diff_options.go.
  • diff_normalizer.go is newly developed, which provides a ignoreNormalizer to ignore fields according to given json path.

/dyff

Similar to the standard diff tool, it follows the principle of describing the change by going from the from input file to the target to input file.

Source code mainly comes from GitHub repo https://github.com/homeport/dyff, version v1.1.0, you may check them under package pkg/dyff.

A few changes made by KusionStack:

  • custom_comparator.go provide a map of special fields and its comparator function, which is injected into report of CompareInputFiles.

/pulumi

  • fsutil provides a util function to walk up each file in specified path.
  • gitutil and workspace provides some util functions to simplify git related operations.

Source code mainly comes from GitHub repo https://github.com/pulumi/pulumi, version v3.24.0 you may check them under package sdk/go/common.

Directories

Path Synopsis
Package kubevela contains `Application` API which is copied from [kubevela](https://github.com/oam-dev/kubevela) and [workflow](https://github.com/kubevela/workflow).
Package kubevela contains `Application` API which is copied from [kubevela](https://github.com/oam-dev/kubevela) and [workflow](https://github.com/kubevela/workflow).
Package terraform contains codes about "terraform/dag" and "terraform/tfdiags" copied from Terraform.
Package terraform contains codes about "terraform/dag" and "terraform/tfdiags" copied from Terraform.
dag
tfdiags
Package tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
Package tfdiags is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.

Jump to

Keyboard shortcuts

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