diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-17 04:27:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 04:27:41 +0000 |
commit | 109377435a42dcd036c4cfeff10328b76418099c (patch) | |
tree | 5f0bdb82aac4cd3085969ff5edebd27e516eb623 | |
parent | 2112b66a3f8c074cadd2662ad68555e049427e62 (diff) |
automatic import of python-pulumi-rancher2
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pulumi-rancher2.spec | 282 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 284 insertions, 0 deletions
@@ -0,0 +1 @@ +/pulumi_rancher2-4.0.0.tar.gz diff --git a/python-pulumi-rancher2.spec b/python-pulumi-rancher2.spec new file mode 100644 index 0000000..c8ca8c2 --- /dev/null +++ b/python-pulumi-rancher2.spec @@ -0,0 +1,282 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pulumi-rancher2 +Version: 4.0.0 +Release: 1 +Summary: A Pulumi package for creating and managing rancher2 resources. +License: Apache-2.0 +URL: https://pulumi.io +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/45/62/43ed00a465ecbf56484b427251284823167ddf7164e4600e5227a4179583/pulumi_rancher2-4.0.0.tar.gz +BuildArch: noarch + + +%description +[](https://github.com/pulumi/pulumi-rancher2/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/rancher2) +[](https://pypi.org/project/pulumi-rancher2) +[](https://badge.fury.io/nu/pulumi.rancher2) +[](https://pkg.go.dev/github.com/pulumi/pulumi-rancher2/sdk/v4/go) +[](https://github.com/pulumi/pulumi-rancher2/blob/master/LICENSE) + +# Rancher2 Resource Provider + +The Rancher2 resource provider for Pulumi lets you manage Rancher2 resources in your cloud programs. To use +this package, please [install the Pulumi CLI first](https://pulumi.io/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/rancher2 + +or `yarn`: + + $ yarn add @pulumi/rancher2 + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_rancher2 + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-rancher2/sdk/v4 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Rancher2 + +## Configuration + +The following configuration points are available for the `rancher2` provider: + +- `rancher2:apiUrl` (Required) - The URL to the rancher API. It must be provided, but it can also be sourced from the + `RANCHER_URL` environment variable. +- `rancher2:accessKey` (Optional) - API Key used to authenticate with the rancher server. It can also be sourced from the + `RANCHER_ACCESS_KEY` environment variable. +- `rancher2:secretKey` (Optional) - API secret used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_SECRET_KEY` environment variable. +- `rancher2:tokenKey` (Optional) - API token used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_TOKEN_KEY` environment variable. +- `rancher2:caCerts` (Optional) - CA certificates used to sign rancher server tls certificates. Mandatory if self signed + tls and insecure option false. It can also be sourced from the `RANCHER_CA_CERTS` environment variable. +- `rancher2:bootstrap` (Optional) - Bootstrap rancher server. Default value is `false`. It can also be sourced from the + `RANCHER_BOOTSTRAP` environment variable. +- `rancher2:insecure` (Optional) - Allow insecure connections to Rancher. Mandatory if self signed tls and no caCerts + provided. Default value is `false`. It can also be sourced from the `RANCHER_INSECURE` environment variable. + + +## Reference + +For further information, please visit [the Rancher2 provider docs](https://www.pulumi.com/docs/intro/cloud-providers/rancher2) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/rancher2). + + + + +%package -n python3-pulumi-rancher2 +Summary: A Pulumi package for creating and managing rancher2 resources. +Provides: python-pulumi-rancher2 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pulumi-rancher2 +[](https://github.com/pulumi/pulumi-rancher2/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/rancher2) +[](https://pypi.org/project/pulumi-rancher2) +[](https://badge.fury.io/nu/pulumi.rancher2) +[](https://pkg.go.dev/github.com/pulumi/pulumi-rancher2/sdk/v4/go) +[](https://github.com/pulumi/pulumi-rancher2/blob/master/LICENSE) + +# Rancher2 Resource Provider + +The Rancher2 resource provider for Pulumi lets you manage Rancher2 resources in your cloud programs. To use +this package, please [install the Pulumi CLI first](https://pulumi.io/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/rancher2 + +or `yarn`: + + $ yarn add @pulumi/rancher2 + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_rancher2 + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-rancher2/sdk/v4 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Rancher2 + +## Configuration + +The following configuration points are available for the `rancher2` provider: + +- `rancher2:apiUrl` (Required) - The URL to the rancher API. It must be provided, but it can also be sourced from the + `RANCHER_URL` environment variable. +- `rancher2:accessKey` (Optional) - API Key used to authenticate with the rancher server. It can also be sourced from the + `RANCHER_ACCESS_KEY` environment variable. +- `rancher2:secretKey` (Optional) - API secret used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_SECRET_KEY` environment variable. +- `rancher2:tokenKey` (Optional) - API token used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_TOKEN_KEY` environment variable. +- `rancher2:caCerts` (Optional) - CA certificates used to sign rancher server tls certificates. Mandatory if self signed + tls and insecure option false. It can also be sourced from the `RANCHER_CA_CERTS` environment variable. +- `rancher2:bootstrap` (Optional) - Bootstrap rancher server. Default value is `false`. It can also be sourced from the + `RANCHER_BOOTSTRAP` environment variable. +- `rancher2:insecure` (Optional) - Allow insecure connections to Rancher. Mandatory if self signed tls and no caCerts + provided. Default value is `false`. It can also be sourced from the `RANCHER_INSECURE` environment variable. + + +## Reference + +For further information, please visit [the Rancher2 provider docs](https://www.pulumi.com/docs/intro/cloud-providers/rancher2) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/rancher2). + + + + +%package help +Summary: Development documents and examples for pulumi-rancher2 +Provides: python3-pulumi-rancher2-doc +%description help +[](https://github.com/pulumi/pulumi-rancher2/actions) +[](https://slack.pulumi.com) +[](https://www.npmjs.com/package/@pulumi/rancher2) +[](https://pypi.org/project/pulumi-rancher2) +[](https://badge.fury.io/nu/pulumi.rancher2) +[](https://pkg.go.dev/github.com/pulumi/pulumi-rancher2/sdk/v4/go) +[](https://github.com/pulumi/pulumi-rancher2/blob/master/LICENSE) + +# Rancher2 Resource Provider + +The Rancher2 resource provider for Pulumi lets you manage Rancher2 resources in your cloud programs. To use +this package, please [install the Pulumi CLI first](https://pulumi.io/). + +## Installing + +This package is available in many languages in the standard packaging formats. + +### Node.js (Java/TypeScript) + +To use from JavaScript or TypeScript in Node.js, install using either `npm`: + + $ npm install @pulumi/rancher2 + +or `yarn`: + + $ yarn add @pulumi/rancher2 + +### Python + +To use from Python, install using `pip`: + + $ pip install pulumi_rancher2 + +### Go + +To use from Go, use `go get` to grab the latest version of the library + + $ go get github.com/pulumi/pulumi-rancher2/sdk/v4 + +### .NET + +To use from .NET, install using `dotnet add package`: + + $ dotnet add package Pulumi.Rancher2 + +## Configuration + +The following configuration points are available for the `rancher2` provider: + +- `rancher2:apiUrl` (Required) - The URL to the rancher API. It must be provided, but it can also be sourced from the + `RANCHER_URL` environment variable. +- `rancher2:accessKey` (Optional) - API Key used to authenticate with the rancher server. It can also be sourced from the + `RANCHER_ACCESS_KEY` environment variable. +- `rancher2:secretKey` (Optional) - API secret used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_SECRET_KEY` environment variable. +- `rancher2:tokenKey` (Optional) - API token used to authenticate with the rancher server. It can also be sourced from + the `RANCHER_TOKEN_KEY` environment variable. +- `rancher2:caCerts` (Optional) - CA certificates used to sign rancher server tls certificates. Mandatory if self signed + tls and insecure option false. It can also be sourced from the `RANCHER_CA_CERTS` environment variable. +- `rancher2:bootstrap` (Optional) - Bootstrap rancher server. Default value is `false`. It can also be sourced from the + `RANCHER_BOOTSTRAP` environment variable. +- `rancher2:insecure` (Optional) - Allow insecure connections to Rancher. Mandatory if self signed tls and no caCerts + provided. Default value is `false`. It can also be sourced from the `RANCHER_INSECURE` environment variable. + + +## Reference + +For further information, please visit [the Rancher2 provider docs](https://www.pulumi.com/docs/intro/cloud-providers/rancher2) or for detailed reference documentation, please visit [the API docs](https://www.pulumi.com/docs/reference/pkg/rancher2). + + + + +%prep +%autosetup -n pulumi-rancher2-4.0.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-pulumi-rancher2 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +2f0c44523c6d7897ee388d7c420bb58e pulumi_rancher2-4.0.0.tar.gz |