diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 522b575..8493be5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ on: env: # Common versions - GO_VERSION: '1.22' + GO_VERSION: '1.23' GOLANGCI_VERSION: 'v1.54.2' DOCKER_BUILDX_VERSION: 'v0.11.2' @@ -35,7 +35,7 @@ env: XPKG: xpkg.upbound.io/${{ github.repository}} # The package version to push. The default is 0.0.0-gitsha. - XPKG_VERSION: v0.9.4 + XPKG_VERSION: v0.10.0 jobs: lint: diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index c89b75c..8cd47c8 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -6,7 +6,7 @@ on: branches: [ main ] env: - GO_VERSION: '1.22' + GO_VERSION: '1.23' jobs: test: diff --git a/examples/default/connection_details/Makefile b/examples/default/connection_details/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/default/connection_details/Makefile +++ b/examples/default/connection_details/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/connection_details/README.md b/examples/default/connection_details/README.md index d5a5f75..311cab2 100644 --- a/examples/default/connection_details/README.md +++ b/examples/default/connection_details/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1beta1 kind: XR diff --git a/examples/default/connection_details/functions.yaml b/examples/default/connection_details/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/connection_details/functions.yaml +++ b/examples/default/connection_details/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/dependencies/Makefile b/examples/default/dependencies/Makefile new file mode 100644 index 0000000..d4d1dc0 --- /dev/null +++ b/examples/default/dependencies/Makefile @@ -0,0 +1,2 @@ +run: + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/dependencies/README.md b/examples/default/dependencies/README.md new file mode 100644 index 0000000..e75aa2e --- /dev/null +++ b/examples/default/dependencies/README.md @@ -0,0 +1,85 @@ +# Example Manifests + +You can run your function locally and test it using `crossplane render` +with these example manifests. + +```shell +# Run the function locally +$ go run . --insecure --debug +``` + +```shell +# Then, in another terminal, call it with these example manifests +$ crossplane render xr.yaml composition.yaml functions.yaml -r +--- +apiVersion: example.crossplane.io/v1beta1 +kind: XR +metadata: + name: example +--- +apiVersion: pkg.crossplane.io/v1beta1 +kind: DeploymentRuntimeConfig +metadata: + annotations: + crossplane.io/composition-resource-name: provider-helm + generateName: example- + labels: + crossplane.io/composite: example + name: provider-helm + ownerReferences: + - apiVersion: example.crossplane.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: XR + name: example + uid: "" +spec: + serviceAccountTemplate: + metadata: + name: provider-helm +--- +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRoleBinding +metadata: + annotations: + crossplane.io/composition-resource-name: provider-helm-cluster-admin + generateName: example- + labels: + crossplane.io/composite: example + name: provider-helm-cluster-admin + ownerReferences: + - apiVersion: example.crossplane.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: XR + name: example + uid: "" +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: ClusterRole + name: provider-helm-cluster-admin +subjects: +- kind: ServiceAccount + name: provider-helm + namespace: crossplane-system +--- +apiVersion: helm.crossplane.io/v1beta1 +kind: ProviderConfig +metadata: + annotations: + crossplane.io/composition-resource-name: helm-provider + generateName: example- + labels: + crossplane.io/composite: example + name: helm-provider + ownerReferences: + - apiVersion: example.crossplane.io/v1beta1 + blockOwnerDeletion: true + controller: true + kind: XR + name: example + uid: "" +spec: + credentials: + source: InjectedIdentity +``` diff --git a/examples/default/dependencies/composition.yaml b/examples/default/dependencies/composition.yaml new file mode 100644 index 0000000..6a1cd30 --- /dev/null +++ b/examples/default/dependencies/composition.yaml @@ -0,0 +1,61 @@ +apiVersion: apiextensions.crossplane.io/v1 +kind: Composition +metadata: + name: function-template-go +spec: + compositeTypeRef: + apiVersion: example.crossplane.io/v1 + kind: XR + mode: Pipeline + pipeline: + - step: normal + functionRef: + name: kcl-function + input: + apiVersion: krm.kcl.dev/v1alpha1 + kind: KCLInput + metadata: + name: basic + spec: + dependencies: | + k8s = "1.31" + crossplane = "1.16.0" + source: | + import k8s.api.rbac.v1 as k8srbac + import crossplane.v1 as cpv1 + import crossplane.v1beta1 as cpv1beta1 + + items = [ + cpv1.Provider { + metadata.name = "provider-helm" + spec: { + package = "xpkg.upbound.io/crossplane-contrib/provider-helm:v0.19.0" + runtimeConfigRef.name = "provider-helm" + } + } + cpv1beta1.DeploymentRuntimeConfig { + metadata.name = "provider-helm" + spec: { + serviceAccountTemplate: {metadata.name = "provider-helm"} + } + } + k8srbac.ClusterRoleBinding { + metadata.name = "provider-helm-cluster-admin" + subjects: [{ + kind = "ServiceAccount" + name = "provider-helm" + namespace = "crossplane-system" + }] + roleRef: { + kind = "ClusterRole" + name = "provider-helm-cluster-admin" + apiGroup = "rbac.authorization.k8s.io" + } + } + cpv1beta1.ProviderConfig { + metadata.name = "helm-provider" + spec = { + credentials.source = "InjectedIdentity" + } + } + ] diff --git a/examples/default/dependencies/functions.yaml b/examples/default/dependencies/functions.yaml new file mode 100644 index 0000000..d5679cb --- /dev/null +++ b/examples/default/dependencies/functions.yaml @@ -0,0 +1,9 @@ +apiVersion: pkg.crossplane.io/v1beta1 +kind: Function +metadata: + name: kcl-function + annotations: + # This tells crossplane render to connect to the function locally. + render.crossplane.io/runtime: Development +spec: + package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/dependencies/xr.yaml b/examples/default/dependencies/xr.yaml new file mode 100644 index 0000000..67aa59f --- /dev/null +++ b/examples/default/dependencies/xr.yaml @@ -0,0 +1,6 @@ +apiVersion: example.crossplane.io/v1beta1 +kind: XR +metadata: + name: example +spec: + count: 1 diff --git a/examples/default/external_deps/Makefile b/examples/default/external_deps/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/default/external_deps/Makefile +++ b/examples/default/external_deps/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/external_deps/README.md b/examples/default/external_deps/README.md index d83eff8..b464a70 100644 --- a/examples/default/external_deps/README.md +++ b/examples/default/external_deps/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1beta1 kind: XR diff --git a/examples/default/external_deps/functions.yaml b/examples/default/external_deps/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/external_deps/functions.yaml +++ b/examples/default/external_deps/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/function_ctx/Makefile b/examples/default/function_ctx/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/default/function_ctx/Makefile +++ b/examples/default/function_ctx/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/function_ctx/README.md b/examples/default/function_ctx/README.md index 7de91bc..1b9a57e 100644 --- a/examples/default/function_ctx/README.md +++ b/examples/default/function_ctx/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1beta1 kind: XR diff --git a/examples/default/function_ctx/functions.yaml b/examples/default/function_ctx/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/function_ctx/functions.yaml +++ b/examples/default/function_ctx/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/read_ocds_resource/Makefile b/examples/default/read_ocds_resource/Makefile index fde3dda..e299611 100644 --- a/examples/default/read_ocds_resource/Makefile +++ b/examples/default/read_ocds_resource/Makefile @@ -1,3 +1,3 @@ render: - crossplane beta render xr.yaml composition.yaml functions.yaml \ + crossplane render xr.yaml composition.yaml functions.yaml \ --observed-resources=existing-observed-resources.yaml diff --git a/examples/default/read_ocds_resource/README.md b/examples/default/read_ocds_resource/README.md index e89d78a..a0cf974 100644 --- a/examples/default/read_ocds_resource/README.md +++ b/examples/default/read_ocds_resource/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml \ +$ crossplane render xr.yaml composition.yaml functions.yaml \ --observed-resources=existing-observed-resources.yaml --- apiVersion: example.crossplane.io/v1beta1 diff --git a/examples/default/read_ocds_resource/functions.yaml b/examples/default/read_ocds_resource/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/read_ocds_resource/functions.yaml +++ b/examples/default/read_ocds_resource/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/resources/Makefile b/examples/default/resources/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/default/resources/Makefile +++ b/examples/default/resources/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/resources/README.md b/examples/default/resources/README.md index 7de91bc..1b9a57e 100644 --- a/examples/default/resources/README.md +++ b/examples/default/resources/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1beta1 kind: XR diff --git a/examples/default/resources/functions.yaml b/examples/default/resources/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/resources/functions.yaml +++ b/examples/default/resources/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/default/resources_without_xr/Makefile b/examples/default/resources_without_xr/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/default/resources_without_xr/Makefile +++ b/examples/default/resources_without_xr/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/default/resources_without_xr/README.md b/examples/default/resources_without_xr/README.md index 54d1f2b..e1f5231 100644 --- a/examples/default/resources_without_xr/README.md +++ b/examples/default/resources_without_xr/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1beta1 kind: XR diff --git a/examples/default/resources_without_xr/functions.yaml b/examples/default/resources_without_xr/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/default/resources_without_xr/functions.yaml +++ b/examples/default/resources_without_xr/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/patch_desired/patching/Makefile b/examples/patch_desired/patching/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/patch_desired/patching/Makefile +++ b/examples/patch_desired/patching/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/patch_desired/patching/README.md b/examples/patch_desired/patching/README.md index b55f4ba..bf725ec 100644 --- a/examples/patch_desired/patching/README.md +++ b/examples/patch_desired/patching/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/patch_desired/patching/functions.yaml b/examples/patch_desired/patching/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/patch_desired/patching/functions.yaml +++ b/examples/patch_desired/patching/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/patch_desired/patching_multiple/Makefile b/examples/patch_desired/patching_multiple/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/patch_desired/patching_multiple/Makefile +++ b/examples/patch_desired/patching_multiple/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/patch_desired/patching_multiple/README.md b/examples/patch_desired/patching_multiple/README.md index e8ca1e2..49c7a9c 100644 --- a/examples/patch_desired/patching_multiple/README.md +++ b/examples/patch_desired/patching_multiple/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/patch_desired/patching_multiple/functions.yaml b/examples/patch_desired/patching_multiple/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/patch_desired/patching_multiple/functions.yaml +++ b/examples/patch_desired/patching_multiple/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/patch_resources/patching/Makefile b/examples/patch_resources/patching/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/patch_resources/patching/Makefile +++ b/examples/patch_resources/patching/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/patch_resources/patching/README.md b/examples/patch_resources/patching/README.md index 99f8dad..33a60fb 100644 --- a/examples/patch_resources/patching/README.md +++ b/examples/patch_resources/patching/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/patch_resources/patching/functions.yaml b/examples/patch_resources/patching/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/patch_resources/patching/functions.yaml +++ b/examples/patch_resources/patching/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/patch_resources/patching_multiple/Makefile b/examples/patch_resources/patching_multiple/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/patch_resources/patching_multiple/Makefile +++ b/examples/patch_resources/patching_multiple/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/patch_resources/patching_multiple/README.md b/examples/patch_resources/patching_multiple/README.md index 5c4fc16..f892aa8 100644 --- a/examples/patch_resources/patching_multiple/README.md +++ b/examples/patch_resources/patching_multiple/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,8 +10,8 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r -crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r +crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/patch_resources/patching_multiple/functions.yaml b/examples/patch_resources/patching_multiple/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/patch_resources/patching_multiple/functions.yaml +++ b/examples/patch_resources/patching_multiple/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/basic/Makefile b/examples/resources/basic/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/basic/Makefile +++ b/examples/resources/basic/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/basic/README.md b/examples/resources/basic/README.md index d596b6e..5796524 100644 --- a/examples/resources/basic/README.md +++ b/examples/resources/basic/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/basic/functions.yaml b/examples/resources/basic/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/basic/functions.yaml +++ b/examples/resources/basic/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/condition/Makefile b/examples/resources/condition/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/condition/Makefile +++ b/examples/resources/condition/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/condition/README.md b/examples/resources/condition/README.md index 3b91d28..beb92c0 100644 --- a/examples/resources/condition/README.md +++ b/examples/resources/condition/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XNopResource diff --git a/examples/resources/condition/functions.yaml b/examples/resources/condition/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/condition/functions.yaml +++ b/examples/resources/condition/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/custom_composition_resource_name/Makefile b/examples/resources/custom_composition_resource_name/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/custom_composition_resource_name/Makefile +++ b/examples/resources/custom_composition_resource_name/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/custom_composition_resource_name/README.md b/examples/resources/custom_composition_resource_name/README.md index 92658a3..112c27f 100644 --- a/examples/resources/custom_composition_resource_name/README.md +++ b/examples/resources/custom_composition_resource_name/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/custom_composition_resource_name/functions.yaml b/examples/resources/custom_composition_resource_name/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/custom_composition_resource_name/functions.yaml +++ b/examples/resources/custom_composition_resource_name/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/custom_external_name/Makefile b/examples/resources/custom_external_name/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/custom_external_name/Makefile +++ b/examples/resources/custom_external_name/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/custom_external_name/README.md b/examples/resources/custom_external_name/README.md index 6121b55..f449b98 100644 --- a/examples/resources/custom_external_name/README.md +++ b/examples/resources/custom_external_name/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/custom_external_name/functions.yaml b/examples/resources/custom_external_name/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/custom_external_name/functions.yaml +++ b/examples/resources/custom_external_name/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/database/Makefile b/examples/resources/database/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/database/Makefile +++ b/examples/resources/database/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/database/README.md b/examples/resources/database/README.md index 309f81f..5571c27 100644 --- a/examples/resources/database/README.md +++ b/examples/resources/database/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: fn-demo.crossplane.io/v1alpha1 kind: Database diff --git a/examples/resources/database/functions.yaml b/examples/resources/database/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/database/functions.yaml +++ b/examples/resources/database/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/format/Makefile b/examples/resources/format/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/format/Makefile +++ b/examples/resources/format/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/format/README.md b/examples/resources/format/README.md index 37c1081..5c47104 100644 --- a/examples/resources/format/README.md +++ b/examples/resources/format/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XNopResource diff --git a/examples/resources/format/functions.yaml b/examples/resources/format/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/format/functions.yaml +++ b/examples/resources/format/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/loop/Makefile b/examples/resources/loop/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/loop/Makefile +++ b/examples/resources/loop/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/loop/README.md b/examples/resources/loop/README.md index 219eebe..37da8ec 100644 --- a/examples/resources/loop/README.md +++ b/examples/resources/loop/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/loop/functions.yaml b/examples/resources/loop/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/loop/functions.yaml +++ b/examples/resources/loop/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/network/Makefile b/examples/resources/network/Makefile index 30334ff..54aa287 100644 --- a/examples/resources/network/Makefile +++ b/examples/resources/network/Makefile @@ -1,11 +1,11 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r oci: - crossplane beta render xr.yaml oci_composition.yaml functions.yaml -r + crossplane render xr.yaml oci_composition.yaml functions.yaml -r git: - crossplane beta render xr.yaml git_composition.yaml functions.yaml -r + crossplane render xr.yaml git_composition.yaml functions.yaml -r local: - crossplane beta render xr.yaml local_composition.yaml functions.yaml -r + crossplane render xr.yaml local_composition.yaml functions.yaml -r diff --git a/examples/resources/network/README.md b/examples/resources/network/README.md index 3d1ecf7..6519b4d 100644 --- a/examples/resources/network/README.md +++ b/examples/resources/network/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: fn-demo.crossplane.io/v1alpha1 kind: Network diff --git a/examples/resources/network/functions.yaml b/examples/resources/network/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/network/functions.yaml +++ b/examples/resources/network/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/options/Makefile b/examples/resources/options/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/options/Makefile +++ b/examples/resources/options/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/options/README.md b/examples/resources/options/README.md index 464de73..61b7334 100644 --- a/examples/resources/options/README.md +++ b/examples/resources/options/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/options/functions.yaml b/examples/resources/options/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/options/functions.yaml +++ b/examples/resources/options/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/options_oxr/Makefile b/examples/resources/options_oxr/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/options_oxr/Makefile +++ b/examples/resources/options_oxr/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/options_oxr/README.md b/examples/resources/options_oxr/README.md index 987b72e..9341d2f 100644 --- a/examples/resources/options_oxr/README.md +++ b/examples/resources/options_oxr/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: example.crossplane.io/v1 kind: XR diff --git a/examples/resources/options_oxr/functions.yaml b/examples/resources/options_oxr/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/options_oxr/functions.yaml +++ b/examples/resources/options_oxr/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/pass_data/Makefile b/examples/resources/pass_data/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/pass_data/Makefile +++ b/examples/resources/pass_data/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/pass_data/README.md b/examples/resources/pass_data/README.md index 30e9fda..c5a1f84 100644 --- a/examples/resources/pass_data/README.md +++ b/examples/resources/pass_data/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/resources/pass_data/functions.yaml b/examples/resources/pass_data/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/pass_data/functions.yaml +++ b/examples/resources/pass_data/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/resources/regex/Makefile b/examples/resources/regex/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/resources/regex/Makefile +++ b/examples/resources/regex/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/resources/regex/README.md b/examples/resources/regex/README.md index 8c85869..6449842 100644 --- a/examples/resources/regex/README.md +++ b/examples/resources/regex/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XNopResource diff --git a/examples/resources/regex/functions.yaml b/examples/resources/regex/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/resources/regex/functions.yaml +++ b/examples/resources/regex/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/examples/xr/patching/Makefile b/examples/xr/patching/Makefile index f9a7429..d4d1dc0 100644 --- a/examples/xr/patching/Makefile +++ b/examples/xr/patching/Makefile @@ -1,2 +1,2 @@ run: - crossplane beta render xr.yaml composition.yaml functions.yaml -r + crossplane render xr.yaml composition.yaml functions.yaml -r diff --git a/examples/xr/patching/README.md b/examples/xr/patching/README.md index 30e9fda..c5a1f84 100644 --- a/examples/xr/patching/README.md +++ b/examples/xr/patching/README.md @@ -1,6 +1,6 @@ # Example Manifests -You can run your function locally and test it using `crossplane beta render` +You can run your function locally and test it using `crossplane render` with these example manifests. ```shell @@ -10,7 +10,7 @@ $ go run . --insecure --debug ```shell # Then, in another terminal, call it with these example manifests -$ crossplane beta render xr.yaml composition.yaml functions.yaml -r +$ crossplane render xr.yaml composition.yaml functions.yaml -r --- apiVersion: nopexample.org/v1 kind: XSubnetwork diff --git a/examples/xr/patching/functions.yaml b/examples/xr/patching/functions.yaml index 602bf9b..d5679cb 100644 --- a/examples/xr/patching/functions.yaml +++ b/examples/xr/patching/functions.yaml @@ -3,7 +3,7 @@ kind: Function metadata: name: kcl-function annotations: - # This tells crossplane beta render to connect to the function locally. + # This tells crossplane render to connect to the function locally. render.crossplane.io/runtime: Development spec: package: xpkg.upbound.io/crossplane-contrib/function-kcl:latest diff --git a/go.mod b/go.mod index 78623df..9538d6c 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/crossplane-contrib/function-kcl -go 1.22.4 - -toolchain go1.23.1 +go 1.23 require ( dario.cat/mergo v1.0.1 @@ -14,7 +12,7 @@ require ( google.golang.org/protobuf v1.34.2 gopkg.in/yaml.v2 v2.4.0 k8s.io/apimachinery v0.31.1 - kcl-lang.io/krm-kcl v0.10.0-rc.1 + kcl-lang.io/krm-kcl v0.10.0 sigs.k8s.io/controller-tools v0.16.3 sigs.k8s.io/yaml v1.4.0 ) @@ -147,7 +145,7 @@ require ( github.com/perimeterx/marshmallow v1.1.5 // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/powerman/rpc-codec v1.2.2 // indirect - github.com/prometheus/client_golang v1.19.1 // indirect + github.com/prometheus/client_golang v1.20.0 // indirect github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect @@ -178,39 +176,39 @@ require ( go.opentelemetry.io/otel/trace v1.28.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect - golang.org/x/crypto v0.26.0 // indirect + golang.org/x/crypto v0.27.0 // indirect golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect - golang.org/x/mod v0.20.0 // indirect - golang.org/x/net v0.28.0 // indirect + golang.org/x/mod v0.21.0 // indirect + golang.org/x/net v0.29.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.24.0 // indirect - golang.org/x/term v0.23.0 // indirect - golang.org/x/text v0.17.0 // indirect - golang.org/x/time v0.5.0 // indirect - golang.org/x/tools v0.24.0 // indirect + golang.org/x/sys v0.25.0 // indirect + golang.org/x/term v0.24.0 // indirect + golang.org/x/text v0.18.0 // indirect + golang.org/x/time v0.6.0 // indirect + golang.org/x/tools v0.25.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/api v0.169.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect - google.golang.org/grpc v1.66.0 // indirect + google.golang.org/grpc v1.66.2 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.31.0 // indirect + k8s.io/api v0.31.1 // indirect k8s.io/apiextensions-apiserver v0.31.0 // indirect k8s.io/apiserver v0.31.0 // indirect - k8s.io/client-go v0.31.0 // indirect + k8s.io/client-go v0.31.1 // indirect k8s.io/component-base v0.31.0 // indirect k8s.io/klog/v2 v2.130.1 // indirect k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect - kcl-lang.io/cli v0.10.0-rc.1 // indirect - kcl-lang.io/kcl-go v0.10.0-rc.1 // indirect + kcl-lang.io/cli v0.10.0 // indirect + kcl-lang.io/kcl-go v0.10.1 // indirect kcl-lang.io/kcl-openapi v0.9.0 // indirect - kcl-lang.io/kpm v0.10.0-rc.1 // indirect - kcl-lang.io/lib v0.10.0-rc.1 // indirect + kcl-lang.io/kpm v0.10.0 // indirect + kcl-lang.io/lib v0.10.0 // indirect oras.land/oras-go v1.2.6 // indirect oras.land/oras-go/v2 v2.5.0 // indirect sigs.k8s.io/controller-runtime v0.19.0 // indirect diff --git a/go.sum b/go.sum index 420afba..685b9d9 100644 --- a/go.sum +++ b/go.sum @@ -747,8 +747,8 @@ github.com/powerman/rpc-codec v1.2.2/go.mod h1:3Qr/y/+u3CwcSww9tfJMRn/95lB2qUdUe github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= -github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= +github.com/prometheus/client_golang v1.20.0 h1:jBzTZ7B099Rg24tny+qngoynol8LtVYlA2bqx3vEloI= +github.com/prometheus/client_golang v1.20.0/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -919,8 +919,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= +golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= +golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -960,8 +960,8 @@ golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= -golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= +golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1015,8 +1015,8 @@ golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= +golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1135,16 +1135,16 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= -golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= +golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= +golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1157,13 +1157,13 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= +golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= -golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= +golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= +golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -1219,8 +1219,8 @@ golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= -golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= +golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE= +golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1434,8 +1434,8 @@ google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACu google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= -google.golang.org/grpc v1.66.0 h1:DibZuoBznOxbDQxRINckZcUvnCEvrW9pcWIE2yF9r1c= -google.golang.org/grpc v1.66.0/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= +google.golang.org/grpc v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo= +google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= @@ -1489,16 +1489,16 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.31.0 h1:b9LiSjR2ym/SzTOlfMHm1tr7/21aD7fSkqgD/CVJBCo= -k8s.io/api v0.31.0/go.mod h1:0YiFF+JfFxMM6+1hQei8FY8M7s1Mth+z/q7eF1aJkTE= +k8s.io/api v0.31.1 h1:Xe1hX/fPW3PXYYv8BlozYqw63ytA92snr96zMW9gWTU= +k8s.io/api v0.31.1/go.mod h1:sbN1g6eY6XVLeqNsZGLnI5FwVseTrZX7Fv3O26rhAaI= k8s.io/apiextensions-apiserver v0.31.0 h1:fZgCVhGwsclj3qCw1buVXCV6khjRzKC5eCFt24kyLSk= k8s.io/apiextensions-apiserver v0.31.0/go.mod h1:b9aMDEYaEe5sdK+1T0KU78ApR/5ZVp4i56VacZYEHxk= k8s.io/apimachinery v0.31.1 h1:mhcUBbj7KUjaVhyXILglcVjuS4nYXiwC+KKFBgIVy7U= k8s.io/apimachinery v0.31.1/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= k8s.io/apiserver v0.31.0 h1:p+2dgJjy+bk+B1Csz+mc2wl5gHwvNkC9QJV+w55LVrY= k8s.io/apiserver v0.31.0/go.mod h1:KI9ox5Yu902iBnnyMmy7ajonhKnkeZYJhTZ/YI+WEMk= -k8s.io/client-go v0.31.0 h1:QqEJzNjbN2Yv1H79SsS+SWnXkBgVu4Pj3CJQgbx0gI8= -k8s.io/client-go v0.31.0/go.mod h1:Y9wvC76g4fLjmU0BA+rV+h2cncoadjvjjkkIGoTLcGU= +k8s.io/client-go v0.31.1 h1:f0ugtWSbWpxHR7sjVpQwuvw9a3ZKLXX0u0itkFXufb0= +k8s.io/client-go v0.31.1/go.mod h1:sKI8871MJN2OyeqRlmA4W4KM9KBdBUpDLu/43eGemCg= k8s.io/component-base v0.31.0 h1:/KIzGM5EvPNQcYgwq5NwoQBaOlVFrghoVGr8lG6vNRs= k8s.io/component-base v0.31.0/go.mod h1:TYVuzI1QmN4L5ItVdMSXKvH7/DtvIuas5/mm8YT3rTo= k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= @@ -1507,18 +1507,18 @@ k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7F k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98= k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 h1:pUdcCO1Lk/tbT5ztQWOBi5HBgbBP1J8+AsQnQCKsi8A= k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -kcl-lang.io/cli v0.10.0-rc.1 h1:oWLpUKEvtdbSiZQdGi8RLIrMGa+essTB5b6H+CqkoLk= -kcl-lang.io/cli v0.10.0-rc.1/go.mod h1:ExCF+gawzF8mvcXuGvcz+icmTZqkRUHUvgwBE1EWrkE= -kcl-lang.io/kcl-go v0.10.0-rc.1 h1:6jH1xSW/WsoXQLy++71prlL8DpkXflx0BKFN5Xyi2sI= -kcl-lang.io/kcl-go v0.10.0-rc.1/go.mod h1:7qUv6g/II7VmGUMXmwxdma1bR2UgLGNC3VopfDj0tSU= +kcl-lang.io/cli v0.10.0 h1:pnbE7iev3S2WUC1XGkevwL55OzxULB3DY9/UUvSiPb0= +kcl-lang.io/cli v0.10.0/go.mod h1:lzeTOnp3KIOFU8AJAMCF2lOvBYuQutq+e/Nq2tkvGGo= +kcl-lang.io/kcl-go v0.10.1 h1:2YXQP5QcwNGVLnxdcTNLRoJkYn357gCgqbgU+8hVHxU= +kcl-lang.io/kcl-go v0.10.1/go.mod h1:AQIQplXxCpodSw1Kt+qiFvIB7tzBQ18djT2GytS33nM= kcl-lang.io/kcl-openapi v0.9.0 h1:HUnc5pUGde83PI5CAe1ZvZhdbcxD9X2ABUp1tV+oYqw= kcl-lang.io/kcl-openapi v0.9.0/go.mod h1:kGCf0AZygrZyB+xpmMtiC3FYoiV/1rCLXuAq2QtuLf8= -kcl-lang.io/kpm v0.10.0-rc.1 h1:J4AfkTyls1YXfF5fkogSjWnhMnvxHnSQOB580R6cWqw= -kcl-lang.io/kpm v0.10.0-rc.1/go.mod h1:TEj1XJBBPo3G8UIbFfOzHp6rlPPP4N2Deu6blvRcKpY= -kcl-lang.io/krm-kcl v0.10.0-rc.1 h1:LR8QDZRdmjNIJik8kRWiLkNWqtuIUOytlR/XnyhNMcY= -kcl-lang.io/krm-kcl v0.10.0-rc.1/go.mod h1:pv0wu928WYvAVniWLbUoYadLdTdZ8UwBMLgyLJExvtY= -kcl-lang.io/lib v0.10.0-rc.1 h1:HRHMW2ane3mjKMVBUQQVvln9Z7FDkUJVXRWEVXPtP+w= -kcl-lang.io/lib v0.10.0-rc.1/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs= +kcl-lang.io/kpm v0.10.0 h1:VnsJ5IS8YSvgXYnItLdaJp/1tTrSSmThzmNCWmhm5Bg= +kcl-lang.io/kpm v0.10.0/go.mod h1:MhQh9kewILcUlhuhVBksxWVZfgdwkpkX6xFj1pxF0QM= +kcl-lang.io/krm-kcl v0.10.0 h1:Jo60Zw+jUgIzxKwf0ppdc831nZMbT5QD20TLEIhkcrA= +kcl-lang.io/krm-kcl v0.10.0/go.mod h1:EgYK02//57juS/0317pOoYtkxbI8fzKIOCFtXkqGi8o= +kcl-lang.io/lib v0.10.0 h1:VLwZTMfRZyaGfIJc8qxLn7bKr24PSgZLc3SxMRxUaN4= +kcl-lang.io/lib v0.10.0/go.mod h1:tu+tzwGgHLzYZSIxUG/ntipStrxZd6OvutWYPTxS7cs= oras.land/oras-go v1.2.6 h1:z8cmxQXBU8yZ4mkytWqXfo6tZcamPwjsuxYU81xJ8Lk= oras.land/oras-go v1.2.6/go.mod h1:OVPc1PegSEe/K8YiLfosrlqlqTN9PUyFvOw5Y9gwrT8= oras.land/oras-go/v2 v2.5.0 h1:o8Me9kLY74Vp5uw07QXPiitjsw7qNXi8Twd+19Zf02c=