From bcd84a3aefdd2b093632211351a8321b4f76ac80 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Mon, 18 Dec 2023 15:08:31 +0100 Subject: [PATCH 1/4] make tfgen --- .pulumi-java-gen.version | 1 + .upgrade-config.yml | 1 + go.work.sum | 297 ++++++++++++- .../bridge-metadata.json | 11 + .../cmd/pulumi-resource-talos/schema.json | 132 +++++- provider/go.mod | 178 ++++---- provider/go.sum | 360 +++++++++------- provider/resources.go | 5 +- provider/shim/go.mod | 111 ----- provider/shim/go.sum | 406 ------------------ provider/shim/shim.go | 10 - sdk/go.mod | 82 ++-- sdk/go.sum | 216 ++++++---- 13 files changed, 884 insertions(+), 926 deletions(-) create mode 100644 .pulumi-java-gen.version create mode 100644 .upgrade-config.yml delete mode 100644 provider/shim/go.mod delete mode 100644 provider/shim/go.sum delete mode 100644 provider/shim/shim.go diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version new file mode 100644 index 0000000..b5d0ec5 --- /dev/null +++ b/.pulumi-java-gen.version @@ -0,0 +1 @@ +0.9.8 \ No newline at end of file diff --git a/.upgrade-config.yml b/.upgrade-config.yml new file mode 100644 index 0000000..a9da971 --- /dev/null +++ b/.upgrade-config.yml @@ -0,0 +1 @@ +upstream-provider-name: terraform-provider-talos diff --git a/go.work.sum b/go.work.sum index 80c27ce..a4771ed 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,121 +1,251 @@ cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= +cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= +cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= +cloud.google.com/go/accessapproval v1.7.4/go.mod h1:/aTEh45LzplQgFYdQdwPMR9YdX0UlhBmvB84uAmQKUc= cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= +cloud.google.com/go/accesscontextmanager v1.8.4/go.mod h1:ParU+WbMpD34s5JFEnGAnPBYAgUHozaTmDJU7aCU9+M= cloud.google.com/go/aiplatform v1.45.0/go.mod h1:Iu2Q7sC7QGhXUeOhAj/oCK9a+ULz1O4AotZiqjQ8MYA= +cloud.google.com/go/aiplatform v1.54.0/go.mod h1:pwZMGvqe0JRkI1GWSZCtnAfrR4K1bv65IHILGA//VEU= cloud.google.com/go/analytics v0.21.2/go.mod h1:U8dcUtmDmjrmUTnnnRnI4m6zKn/yaA5N9RlEkYFHpQo= +cloud.google.com/go/analytics v0.21.6/go.mod h1:eiROFQKosh4hMaNhF85Oc9WO97Cpa7RggD40e/RBy8w= cloud.google.com/go/apigateway v1.6.1/go.mod h1:ufAS3wpbRjqfZrzpvLC2oh0MFlpRJm2E/ts25yyqmXA= +cloud.google.com/go/apigateway v1.6.4/go.mod h1:0EpJlVGH5HwAN4VF4Iec8TAzGN1aQgbxAWGJsnPCGGY= cloud.google.com/go/apigeeconnect v1.6.1/go.mod h1:C4awq7x0JpLtrlQCr8AzVIzAaYgngRqWf9S5Uhg+wWs= +cloud.google.com/go/apigeeconnect v1.6.4/go.mod h1:CapQCWZ8TCjnU0d7PobxhpOdVz/OVJ2Hr/Zcuu1xFx0= cloud.google.com/go/apigeeregistry v0.7.1/go.mod h1:1XgyjZye4Mqtw7T9TsY4NW10U7BojBvG4RMD+vRDrIw= +cloud.google.com/go/apigeeregistry v0.8.2/go.mod h1:h4v11TDGdeXJDJvImtgK2AFVvMIgGWjSb0HRnBSjcX8= cloud.google.com/go/appengine v1.8.1/go.mod h1:6NJXGLVhZCN9aQ/AEDvmfzKEfoYBlfB80/BHiKVputY= +cloud.google.com/go/appengine v1.8.4/go.mod h1:TZ24v+wXBujtkK77CXCpjZbnuTvsFNT41MUaZ28D6vg= cloud.google.com/go/area120 v0.8.1/go.mod h1:BVfZpGpB7KFVNxPiQBuHkX6Ed0rS51xIgmGyjrAfzsg= +cloud.google.com/go/area120 v0.8.4/go.mod h1:jfawXjxf29wyBXr48+W+GyX/f8fflxp642D/bb9v68M= cloud.google.com/go/artifactregistry v1.14.1/go.mod h1:nxVdG19jTaSTu7yA7+VbWL346r3rIdkZ142BSQqhn5E= +cloud.google.com/go/artifactregistry v1.14.6/go.mod h1:np9LSFotNWHcjnOgh8UVK0RFPCTUGbO0ve3384xyHfE= cloud.google.com/go/asset v1.14.1/go.mod h1:4bEJ3dnHCqWCDbWJ/6Vn7GVI9LerSi7Rfdi03hd+WTQ= +cloud.google.com/go/asset v1.15.3/go.mod h1:yYLfUD4wL4X589A9tYrv4rFrba0QlDeag0CMcM5ggXU= cloud.google.com/go/assuredworkloads v1.11.1/go.mod h1:+F04I52Pgn5nmPG36CWFtxmav6+7Q+c5QyJoL18Lry0= +cloud.google.com/go/assuredworkloads v1.11.4/go.mod h1:4pwwGNwy1RP0m+y12ef3Q/8PaiWrIDQ6nD2E8kvWI9U= cloud.google.com/go/automl v1.13.1/go.mod h1:1aowgAHWYZU27MybSCFiukPO7xnyawv7pt3zK4bheQE= +cloud.google.com/go/automl v1.13.4/go.mod h1:ULqwX/OLZ4hBVfKQaMtxMSTlPx0GqGbWN8uA/1EqCP8= cloud.google.com/go/baremetalsolution v1.1.1/go.mod h1:D1AV6xwOksJMV4OSlWHtWuFNZZYujJknMAP4Qa27QIA= +cloud.google.com/go/baremetalsolution v1.2.3/go.mod h1:/UAQ5xG3faDdy180rCUv47e0jvpp3BFxT+Cl0PFjw5g= cloud.google.com/go/batch v1.3.1/go.mod h1:VguXeQKXIYaeeIYbuozUmBR13AfL4SJP7IltNPS+A4A= +cloud.google.com/go/batch v1.6.3/go.mod h1:J64gD4vsNSA2O5TtDB5AAux3nJ9iV8U3ilg3JDBYejU= cloud.google.com/go/beyondcorp v1.0.0/go.mod h1:YhxDWw946SCbmcWo3fAhw3V4XZMSpQ/VYfcKGAEU8/4= +cloud.google.com/go/beyondcorp v1.0.3/go.mod h1:HcBvnEd7eYr+HGDd5ZbuVmBYX019C6CEXBonXbCVwJo= cloud.google.com/go/bigquery v1.52.0/go.mod h1:3b/iXjRQGU4nKa87cXeg6/gogLjO8C6PmuM8i5Bi/u4= +cloud.google.com/go/bigquery v1.57.1/go.mod h1:iYzC0tGVWt1jqSzBHqCr3lrRn0u13E8e+AqowBsDgug= cloud.google.com/go/billing v1.16.0/go.mod h1:y8vx09JSSJG02k5QxbycNRrN7FGZB6F3CAcgum7jvGA= +cloud.google.com/go/billing v1.17.4/go.mod h1:5DOYQStCxquGprqfuid/7haD7th74kyMBHkjO/OvDtk= cloud.google.com/go/binaryauthorization v1.6.1/go.mod h1:TKt4pa8xhowwffiBmbrbcxijJRZED4zrqnwZ1lKH51U= +cloud.google.com/go/binaryauthorization v1.7.3/go.mod h1:VQ/nUGRKhrStlGr+8GMS8f6/vznYLkdK5vaKfdCIpvU= cloud.google.com/go/certificatemanager v1.7.1/go.mod h1:iW8J3nG6SaRYImIa+wXQ0g8IgoofDFRp5UMzaNk1UqI= +cloud.google.com/go/certificatemanager v1.7.4/go.mod h1:FHAylPe/6IIKuaRmHbjbdLhGhVQ+CWHSD5Jq0k4+cCE= cloud.google.com/go/channel v1.16.0/go.mod h1:eN/q1PFSl5gyu0dYdmxNXscY/4Fi7ABmeHCJNf/oHmc= +cloud.google.com/go/channel v1.17.3/go.mod h1:QcEBuZLGGrUMm7kNj9IbU1ZfmJq2apotsV83hbxX7eE= cloud.google.com/go/cloudbuild v1.10.1/go.mod h1:lyJg7v97SUIPq4RC2sGsz/9tNczhyv2AjML/ci4ulzU= +cloud.google.com/go/cloudbuild v1.15.0/go.mod h1:eIXYWmRt3UtggLnFGx4JvXcMj4kShhVzGndL1LwleEM= cloud.google.com/go/clouddms v1.6.1/go.mod h1:Ygo1vL52Ov4TBZQquhz5fiw2CQ58gvu+PlS6PVXCpZI= +cloud.google.com/go/clouddms v1.7.3/go.mod h1:fkN2HQQNUYInAU3NQ3vRLkV2iWs8lIdmBKOx4nrL6Hc= cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8oHwpmFsKspEvM= +cloud.google.com/go/cloudtasks v1.12.4/go.mod h1:BEPu0Gtt2dU6FxZHNqqNdGqIG86qyWKBPGnsb7udGY0= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= +cloud.google.com/go/contactcenterinsights v1.12.0/go.mod h1:HHX5wrz5LHVAwfI2smIotQG9x8Qd6gYilaHcLLLmNis= cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= +cloud.google.com/go/container v1.28.0/go.mod h1:b1A1gJeTBXVLQ6GGw9/9M4FG94BEGsqJ5+t4d/3N7O4= cloud.google.com/go/containeranalysis v0.10.1/go.mod h1:Ya2jiILITMY68ZLPaogjmOMNkwsDrWBSTyBubGXO7j0= +cloud.google.com/go/containeranalysis v0.11.3/go.mod h1:kMeST7yWFQMGjiG9K7Eov+fPNQcGhb8mXj/UcTiWw9U= cloud.google.com/go/datacatalog v1.14.1/go.mod h1:d2CevwTG4yedZilwe+v3E3ZBDRMobQfSG/a6cCCN5R4= +cloud.google.com/go/datacatalog v1.19.0/go.mod h1:5FR6ZIF8RZrtml0VUao22FxhdjkoG+a0866rEnObryM= cloud.google.com/go/dataflow v0.9.1/go.mod h1:Wp7s32QjYuQDWqJPFFlnBKhkAtiFpMTdg00qGbnIHVw= +cloud.google.com/go/dataflow v0.9.4/go.mod h1:4G8vAkHYCSzU8b/kmsoR2lWyHJD85oMJPHMtan40K8w= cloud.google.com/go/dataform v0.8.1/go.mod h1:3BhPSiw8xmppbgzeBbmDvmSWlwouuJkXsXsb8UBih9M= +cloud.google.com/go/dataform v0.9.1/go.mod h1:pWTg+zGQ7i16pyn0bS1ruqIE91SdL2FDMvEYu/8oQxs= cloud.google.com/go/datafusion v1.7.1/go.mod h1:KpoTBbFmoToDExJUso/fcCiguGDk7MEzOWXUsJo0wsI= +cloud.google.com/go/datafusion v1.7.4/go.mod h1:BBs78WTOLYkT4GVZIXQCZT3GFpkpDN4aBY4NDX/jVlM= cloud.google.com/go/datalabeling v0.8.1/go.mod h1:XS62LBSVPbYR54GfYQsPXZjTW8UxCK2fkDciSrpRFdY= +cloud.google.com/go/datalabeling v0.8.4/go.mod h1:Z1z3E6LHtffBGrNUkKwbwbDxTiXEApLzIgmymj8A3S8= cloud.google.com/go/dataplex v1.8.1/go.mod h1:7TyrDT6BCdI8/38Uvp0/ZxBslOslP2X2MPDucliyvSE= +cloud.google.com/go/dataplex v1.11.2/go.mod h1:mHJYQQ2VEJHsyoC0OdNyy988DvEbPhqFs5OOLffLX0c= cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4= +cloud.google.com/go/dataproc/v2 v2.3.0/go.mod h1:G5R6GBc9r36SXv/RtZIVfB8SipI+xVn0bX5SxUzVYbY= cloud.google.com/go/dataqna v0.8.1/go.mod h1:zxZM0Bl6liMePWsHA8RMGAfmTG34vJMapbHAxQ5+WA8= +cloud.google.com/go/dataqna v0.8.4/go.mod h1:mySRKjKg5Lz784P6sCov3p1QD+RZQONRMRjzGNcFd0c= cloud.google.com/go/datastore v1.12.1/go.mod h1:KjdB88W897MRITkvWWJrg2OUtrR5XVj1EoLgSp6/N70= +cloud.google.com/go/datastore v1.15.0/go.mod h1:GAeStMBIt9bPS7jMJA85kgkpsMkvseWWXiaHya9Jes8= cloud.google.com/go/datastream v1.9.1/go.mod h1:hqnmr8kdUBmrnk65k5wNRoHSCYksvpdZIcZIEl8h43Q= +cloud.google.com/go/datastream v1.10.3/go.mod h1:YR0USzgjhqA/Id0Ycu1VvZe8hEWwrkjuXrGbzeDOSEA= cloud.google.com/go/deploy v1.11.0/go.mod h1:tKuSUV5pXbn67KiubiUNUejqLs4f5cxxiCNCeyl0F2g= +cloud.google.com/go/deploy v1.15.0/go.mod h1:e5XOUI5D+YGldyLNZ21wbp9S8otJbBE4i88PtO9x/2g= cloud.google.com/go/dialogflow v1.38.0/go.mod h1:L7jnH+JL2mtmdChzAIcXQHXMvQkE3U4hTaNltEuxXn4= +cloud.google.com/go/dialogflow v1.44.3/go.mod h1:mHly4vU7cPXVweuB5R0zsYKPMzy240aQdAu06SqBbAQ= cloud.google.com/go/dlp v1.10.1/go.mod h1:IM8BWz1iJd8njcNcG0+Kyd9OPnqnRNkDV8j42VT5KOI= +cloud.google.com/go/dlp v1.11.1/go.mod h1:/PA2EnioBeXTL/0hInwgj0rfsQb3lpE3R8XUJxqUNKI= cloud.google.com/go/documentai v1.20.0/go.mod h1:yJkInoMcK0qNAEdRnqY/D5asy73tnPe88I1YTZT+a8E= +cloud.google.com/go/documentai v1.23.5/go.mod h1:ghzBsyVTiVdkfKaUCum/9bGBEyBjDO4GfooEcYKhN+g= cloud.google.com/go/domains v0.9.1/go.mod h1:aOp1c0MbejQQ2Pjf1iJvnVyT+z6R6s8pX66KaCSDYfE= +cloud.google.com/go/domains v0.9.4/go.mod h1:27jmJGShuXYdUNjyDG0SodTfT5RwLi7xmH334Gvi3fY= cloud.google.com/go/edgecontainer v1.1.1/go.mod h1:O5bYcS//7MELQZs3+7mabRqoWQhXCzenBu0R8bz2rwk= +cloud.google.com/go/edgecontainer v1.1.4/go.mod h1:AvFdVuZuVGdgaE5YvlL1faAoa1ndRR/5XhXZvPBHbsE= cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU= cloud.google.com/go/essentialcontacts v1.6.2/go.mod h1:T2tB6tX+TRak7i88Fb2N9Ok3PvY3UNbUsMag9/BARh4= +cloud.google.com/go/essentialcontacts v1.6.5/go.mod h1:jjYbPzw0x+yglXC890l6ECJWdYeZ5dlYACTFL0U/VuM= cloud.google.com/go/eventarc v1.12.1/go.mod h1:mAFCW6lukH5+IZjkvrEss+jmt2kOdYlN8aMx3sRJiAI= +cloud.google.com/go/eventarc v1.13.3/go.mod h1:RWH10IAZIRcj1s/vClXkBgMHwh59ts7hSWcqD3kaclg= cloud.google.com/go/filestore v1.7.1/go.mod h1:y10jsorq40JJnjR/lQ8AfFbbcGlw3g+Dp8oN7i7FjV4= +cloud.google.com/go/filestore v1.8.0/go.mod h1:S5JCxIbFjeBhWMTfIYH2Jx24J6BqjwpkkPl+nBA5DlI= cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay3/DBsIGKKy4= +cloud.google.com/go/firestore v1.14.0/go.mod h1:96MVaHLsEhbvkBEdZgfN+AS/GIkco1LRpH9Xp9YZfzQ= cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= +cloud.google.com/go/functions v1.15.4/go.mod h1:CAsTc3VlRMVvx+XqXxKqVevguqJpnVip4DdonFsX28I= cloud.google.com/go/gkebackup v1.3.0/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= +cloud.google.com/go/gkebackup v1.3.4/go.mod h1:gLVlbM8h/nHIs09ns1qx3q3eaXcGSELgNu1DWXYz1HI= cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= +cloud.google.com/go/gkeconnect v0.8.4/go.mod h1:84hZz4UMlDCKl8ifVW8layK4WHlMAFeq8vbzjU0yJkw= cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V9511C9CQGTY= +cloud.google.com/go/gkehub v0.14.4/go.mod h1:Xispfu2MqnnFt8rV/2/3o73SK1snL8s9dYJ9G2oQMfc= cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= +cloud.google.com/go/gkemulticloud v1.0.3/go.mod h1:7NpJBN94U6DY1xHIbsDqB2+TFZUfjLUKLjUX8NGLor0= cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= +cloud.google.com/go/gsuiteaddons v1.6.4/go.mod h1:rxtstw7Fx22uLOXBpsvb9DUbC+fiXs7rF4U29KHM/pE= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= +cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= +cloud.google.com/go/iam v1.1.3/go.mod h1:3khUlaBXfPKKe7huYgEpDn6FtgRyMEqbkvBxrQyY5SE= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= +cloud.google.com/go/iap v1.9.3/go.mod h1:DTdutSZBqkkOm2HEOTBzhZxh2mwwxshfD/h3yofAiCw= cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= +cloud.google.com/go/ids v1.4.4/go.mod h1:z+WUc2eEl6S/1aZWzwtVNWoSZslgzPxAboS0lZX0HjI= cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= +cloud.google.com/go/iot v1.7.4/go.mod h1:3TWqDVvsddYBG++nHSZmluoCAVGr1hAcabbWZNKEZLk= +cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= +cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= +cloud.google.com/go/language v1.12.2/go.mod h1:9idWapzr/JKXBBQ4lWqVX/hcadxB194ry20m/bTrhWc= cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= +cloud.google.com/go/lifesciences v0.9.4/go.mod h1:bhm64duKhMi7s9jR9WYJYvjAFJwRqNj+Nia7hF0Z7JA= +cloud.google.com/go/logging v1.8.1 h1:26skQWPeYhvIasWKm48+Eq7oUqdcdbwsCVwz5Ys0FvU= +cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= +cloud.google.com/go/longrunning v0.5.2/go.mod h1:nqo6DQbNV2pXhGDbDMoN2bWz68MjZUzqv2YttZiveCs= +cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= +cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= +cloud.google.com/go/managedidentities v1.6.4/go.mod h1:WgyaECfHmF00t/1Uk8Oun3CQ2PGUtjc3e9Alh79wyiM= cloud.google.com/go/maps v1.3.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= +cloud.google.com/go/maps v1.6.1/go.mod h1:4+buOHhYXFBp58Zj/K+Lc1rCmJssxxF4pJ5CJnhdz18= cloud.google.com/go/mediatranslation v0.8.1/go.mod h1:L/7hBdEYbYHQJhX2sldtTO5SZZ1C1vkapubj0T2aGig= +cloud.google.com/go/mediatranslation v0.8.4/go.mod h1:9WstgtNVAdN53m6TQa5GjIjLqKQPXe74hwSCxUP6nj4= cloud.google.com/go/memcache v1.10.1/go.mod h1:47YRQIarv4I3QS5+hoETgKO40InqzLP6kpNLvyXuyaA= +cloud.google.com/go/memcache v1.10.4/go.mod h1:v/d8PuC8d1gD6Yn5+I3INzLR01IDn0N4Ym56RgikSI0= cloud.google.com/go/metastore v1.11.1/go.mod h1:uZuSo80U3Wd4zi6C22ZZliOUJ3XeM/MlYi/z5OAOWRA= +cloud.google.com/go/metastore v1.13.3/go.mod h1:K+wdjXdtkdk7AQg4+sXS8bRrQa9gcOr+foOMF2tqINE= cloud.google.com/go/monitoring v1.15.1/go.mod h1:lADlSAlFdbqQuwwpaImhsJXu1QSdd3ojypXrFSMr2rM= +cloud.google.com/go/monitoring v1.16.3/go.mod h1:KwSsX5+8PnXv5NJnICZzW2R8pWTis8ypC4zmdRD63Tw= cloud.google.com/go/networkconnectivity v1.12.1/go.mod h1:PelxSWYM7Sh9/guf8CFhi6vIqf19Ir/sbfZRUwXh92E= +cloud.google.com/go/networkconnectivity v1.14.3/go.mod h1:4aoeFdrJpYEXNvrnfyD5kIzs8YtHg945Og4koAjHQek= cloud.google.com/go/networkmanagement v1.8.0/go.mod h1:Ho/BUGmtyEqrttTgWEe7m+8vDdK74ibQc+Be0q7Fof0= +cloud.google.com/go/networkmanagement v1.9.3/go.mod h1:y7WMO1bRLaP5h3Obm4tey+NquUvB93Co1oh4wpL+XcU= cloud.google.com/go/networksecurity v0.9.1/go.mod h1:MCMdxOKQ30wsBI1eI659f9kEp4wuuAueoC9AJKSPWZQ= +cloud.google.com/go/networksecurity v0.9.4/go.mod h1:E9CeMZ2zDsNBkr8axKSYm8XyTqNhiCHf1JO/Vb8mD1w= cloud.google.com/go/notebooks v1.9.1/go.mod h1:zqG9/gk05JrzgBt4ghLzEepPHNwE5jgPcHZRKhlC1A8= +cloud.google.com/go/notebooks v1.11.2/go.mod h1:z0tlHI/lREXC8BS2mIsUeR3agM1AkgLiS+Isov3SS70= cloud.google.com/go/optimization v1.4.1/go.mod h1:j64vZQP7h9bO49m2rVaTVoNM0vEBEN5eKPUPbZyXOrk= +cloud.google.com/go/optimization v1.6.2/go.mod h1:mWNZ7B9/EyMCcwNl1frUGEuY6CPijSkz88Fz2vwKPOY= cloud.google.com/go/orchestration v1.8.1/go.mod h1:4sluRF3wgbYVRqz7zJ1/EUNc90TTprliq9477fGobD8= +cloud.google.com/go/orchestration v1.8.4/go.mod h1:d0lywZSVYtIoSZXb0iFjv9SaL13PGyVOKDxqGxEf/qI= cloud.google.com/go/orgpolicy v1.11.1/go.mod h1:8+E3jQcpZJQliP+zaFfayC2Pg5bmhuLK755wKhIIUCE= +cloud.google.com/go/orgpolicy v1.11.4/go.mod h1:0+aNV/nrfoTQ4Mytv+Aw+stBDBjNf4d8fYRA9herfJI= cloud.google.com/go/osconfig v1.12.1/go.mod h1:4CjBxND0gswz2gfYRCUoUzCm9zCABp91EeTtWXyz0tE= +cloud.google.com/go/osconfig v1.12.4/go.mod h1:B1qEwJ/jzqSRslvdOCI8Kdnp0gSng0xW4LOnIebQomA= cloud.google.com/go/oslogin v1.10.1/go.mod h1:x692z7yAue5nE7CsSnoG0aaMbNoRJRXO4sn73R+ZqAs= +cloud.google.com/go/oslogin v1.12.2/go.mod h1:CQ3V8Jvw4Qo4WRhNPF0o+HAM4DiLuE27Ul9CX9g2QdY= cloud.google.com/go/phishingprotection v0.8.1/go.mod h1:AxonW7GovcA8qdEk13NfHq9hNx5KPtfxXNeUxTDxB6I= +cloud.google.com/go/phishingprotection v0.8.4/go.mod h1:6b3kNPAc2AQ6jZfFHioZKg9MQNybDg4ixFd4RPZZ2nE= cloud.google.com/go/policytroubleshooter v1.7.1/go.mod h1:0NaT5v3Ag1M7U5r0GfDCpUFkWd9YqpubBWsQlhanRv0= +cloud.google.com/go/policytroubleshooter v1.10.2/go.mod h1:m4uF3f6LseVEnMV6nknlN2vYGRb+75ylQwJdnOXfnv0= cloud.google.com/go/privatecatalog v0.9.1/go.mod h1:0XlDXW2unJXdf9zFz968Hp35gl/bhF4twwpXZAW50JA= +cloud.google.com/go/privatecatalog v0.9.4/go.mod h1:SOjm93f+5hp/U3PqMZAHTtBtluqLygrDrVO8X8tYtG0= cloud.google.com/go/pubsub v1.32.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= +cloud.google.com/go/pubsub v1.33.0/go.mod h1:f+w71I33OMyxf9VpMVcZbnG5KSUkCOUHYpFd5U1GdRc= cloud.google.com/go/pubsublite v1.8.1/go.mod h1:fOLdU4f5xldK4RGJrBMm+J7zMWNj/k4PxwEZXy39QS0= cloud.google.com/go/recaptchaenterprise/v2 v2.7.2/go.mod h1:kR0KjsJS7Jt1YSyWFkseQ756D45kaYNTlDPPaRAvDBU= +cloud.google.com/go/recaptchaenterprise/v2 v2.8.4/go.mod h1:Dak54rw6lC2gBY8FBznpOCAR58wKf+R+ZSJRoeJok4w= cloud.google.com/go/recommendationengine v0.8.1/go.mod h1:MrZihWwtFYWDzE6Hz5nKcNz3gLizXVIDI/o3G1DLcrE= +cloud.google.com/go/recommendationengine v0.8.4/go.mod h1:GEteCf1PATl5v5ZsQ60sTClUE0phbWmo3rQ1Js8louU= cloud.google.com/go/recommender v1.10.1/go.mod h1:XFvrE4Suqn5Cq0Lf+mCP6oBHD/yRMA8XxP5sb7Q7gpA= +cloud.google.com/go/recommender v1.11.3/go.mod h1:+FJosKKJSId1MBFeJ/TTyoGQZiEelQQIZMKYYD8ruK4= cloud.google.com/go/redis v1.13.1/go.mod h1:VP7DGLpE91M6bcsDdMuyCm2hIpB6Vp2hI090Mfd1tcg= +cloud.google.com/go/redis v1.14.1/go.mod h1:MbmBxN8bEnQI4doZPC1BzADU4HGocHBk2de3SbgOkqs= cloud.google.com/go/resourcemanager v1.9.1/go.mod h1:dVCuosgrh1tINZ/RwBufr8lULmWGOkPS8gL5gqyjdT8= +cloud.google.com/go/resourcemanager v1.9.4/go.mod h1:N1dhP9RFvo3lUfwtfLWVxfUWq8+KUQ+XLlHLH3BoFJ0= cloud.google.com/go/resourcesettings v1.6.1/go.mod h1:M7mk9PIZrC5Fgsu1kZJci6mpgN8o0IUzVx3eJU3y4Jw= +cloud.google.com/go/resourcesettings v1.6.4/go.mod h1:pYTTkWdv2lmQcjsthbZLNBP4QW140cs7wqA3DuqErVI= cloud.google.com/go/retail v1.14.1/go.mod h1:y3Wv3Vr2k54dLNIrCzenyKG8g8dhvhncT2NcNjb/6gE= +cloud.google.com/go/retail v1.14.4/go.mod h1:l/N7cMtY78yRnJqp5JW8emy7MB1nz8E4t2yfOmklYfg= cloud.google.com/go/run v1.2.0/go.mod h1:36V1IlDzQ0XxbQjUx6IYbw8H3TJnWvhii963WW3B/bo= +cloud.google.com/go/run v1.3.3/go.mod h1:WSM5pGyJ7cfYyYbONVQBN4buz42zFqwG67Q3ch07iK4= cloud.google.com/go/scheduler v1.10.1/go.mod h1:R63Ldltd47Bs4gnhQkmNDse5w8gBRrhObZ54PxgR2Oo= +cloud.google.com/go/scheduler v1.10.5/go.mod h1:MTuXcrJC9tqOHhixdbHDFSIuh7xZF2IysiINDuiq6NI= cloud.google.com/go/secretmanager v1.11.1/go.mod h1:znq9JlXgTNdBeQk9TBW/FnR/W4uChEKGeqQWAJ8SXFw= +cloud.google.com/go/secretmanager v1.11.4/go.mod h1:wreJlbS9Zdq21lMzWmJ0XhWW2ZxgPeahsqeV/vZoJ3w= cloud.google.com/go/security v1.15.1/go.mod h1:MvTnnbsWnehoizHi09zoiZob0iCHVcL4AUBj76h9fXA= +cloud.google.com/go/security v1.15.4/go.mod h1:oN7C2uIZKhxCLiAAijKUCuHLZbIt/ghYEo8MqwD/Ty4= cloud.google.com/go/securitycenter v1.23.0/go.mod h1:8pwQ4n+Y9WCWM278R8W3nF65QtY172h4S8aXyI9/hsQ= +cloud.google.com/go/securitycenter v1.24.2/go.mod h1:l1XejOngggzqwr4Fa2Cn+iWZGf+aBLTXtB/vXjy5vXM= cloud.google.com/go/servicedirectory v1.10.1/go.mod h1:Xv0YVH8s4pVOwfM/1eMTl0XJ6bzIOSLDt8f8eLaGOxQ= +cloud.google.com/go/servicedirectory v1.11.3/go.mod h1:LV+cHkomRLr67YoQy3Xq2tUXBGOs5z5bPofdq7qtiAw= cloud.google.com/go/shell v1.7.1/go.mod h1:u1RaM+huXFaTojTbW4g9P5emOrrmLE69KrxqQahKn4g= +cloud.google.com/go/shell v1.7.4/go.mod h1:yLeXB8eKLxw0dpEmXQ/FjriYrBijNsONpwnWsdPqlKM= cloud.google.com/go/spanner v1.47.0/go.mod h1:IXsJwVW2j4UKs0eYDqodab6HgGuA1bViSqW4uH9lfUI= +cloud.google.com/go/spanner v1.53.0/go.mod h1:liG4iCeLqm5L3fFLU5whFITqP0e0orsAW1uUSrd4rws= cloud.google.com/go/speech v1.17.1/go.mod h1:8rVNzU43tQvxDaGvqOhpDqgkJTFowBpDvCJ14kGlJYo= +cloud.google.com/go/speech v1.21.0/go.mod h1:wwolycgONvfz2EDU8rKuHRW3+wc9ILPsAWoikBEWavY= cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI= cloud.google.com/go/storagetransfer v1.10.0/go.mod h1:DM4sTlSmGiNczmV6iZyceIh2dbs+7z2Ayg6YAiQlYfA= +cloud.google.com/go/storagetransfer v1.10.3/go.mod h1:Up8LY2p6X68SZ+WToswpQbQHnJpOty/ACcMafuey8gc= cloud.google.com/go/talent v1.6.2/go.mod h1:CbGvmKCG61mkdjcqTcLOkb2ZN1SrQI8MDyma2l7VD24= +cloud.google.com/go/talent v1.6.5/go.mod h1:Mf5cma696HmE+P2BWJ/ZwYqeJXEeU0UqjHFXVLadEDI= cloud.google.com/go/texttospeech v1.7.1/go.mod h1:m7QfG5IXxeneGqTapXNxv2ItxP/FS0hCZBwXYqucgSk= +cloud.google.com/go/texttospeech v1.7.4/go.mod h1:vgv0002WvR4liGuSd5BJbWy4nDn5Ozco0uJymY5+U74= cloud.google.com/go/tpu v1.6.1/go.mod h1:sOdcHVIgDEEOKuqUoi6Fq53MKHJAtOwtz0GuKsWSH3E= +cloud.google.com/go/tpu v1.6.4/go.mod h1:NAm9q3Rq2wIlGnOhpYICNI7+bpBebMJbh0yyp3aNw1Y= cloud.google.com/go/trace v1.10.1/go.mod h1:gbtL94KE5AJLH3y+WVpfWILmqgc6dXcqgNXdOPAQTYk= +cloud.google.com/go/trace v1.10.4/go.mod h1:Nso99EDIK8Mj5/zmB+iGr9dosS/bzWCJ8wGmE6TXNWY= cloud.google.com/go/translate v1.8.1/go.mod h1:d1ZH5aaOA0CNhWeXeC8ujd4tdCFw8XoNWRljklu5RHs= +cloud.google.com/go/translate v1.9.3/go.mod h1:Kbq9RggWsbqZ9W5YpM94Q1Xv4dshw/gr/SHfsl5yCZ0= cloud.google.com/go/video v1.17.1/go.mod h1:9qmqPqw/Ib2tLqaeHgtakU+l5TcJxCJbhFXM7UJjVzU= +cloud.google.com/go/video v1.20.3/go.mod h1:TnH/mNZKVHeNtpamsSPygSR0iHtvrR/cW1/GDjN5+GU= cloud.google.com/go/videointelligence v1.11.1/go.mod h1:76xn/8InyQHarjTWsBR058SmlPCwQjgcvoW0aZykOvo= +cloud.google.com/go/videointelligence v1.11.4/go.mod h1:kPBMAYsTPFiQxMLmmjpcZUMklJp3nC9+ipJJtprccD8= cloud.google.com/go/vision/v2 v2.7.2/go.mod h1:jKa8oSYBWhYiXarHPvP4USxYANYUEdEsQrloLjrSwJU= +cloud.google.com/go/vision/v2 v2.7.5/go.mod h1:GcviprJLFfK9OLf0z8Gm6lQb6ZFUulvpZws+mm6yPLM= cloud.google.com/go/vmmigration v1.7.1/go.mod h1:WD+5z7a/IpZ5bKK//YmT9E047AD+rjycCAvyMxGJbro= +cloud.google.com/go/vmmigration v1.7.4/go.mod h1:yBXCmiLaB99hEl/G9ZooNx2GyzgsjKnw5fWcINRgD70= cloud.google.com/go/vmwareengine v0.4.1/go.mod h1:Px64x+BvjPZwWuc4HdmVhoygcXqEkGHXoa7uyfTgSI0= +cloud.google.com/go/vmwareengine v1.0.3/go.mod h1:QSpdZ1stlbfKtyt6Iu19M6XRxjmXO+vb5a/R6Fvy2y4= cloud.google.com/go/vpcaccess v1.7.1/go.mod h1:FogoD46/ZU+JUBX9D606X21EnxiszYi2tArQwLY4SXs= +cloud.google.com/go/vpcaccess v1.7.4/go.mod h1:lA0KTvhtEOb/VOdnH/gwPuOzGgM+CWsmGu6bb4IoMKk= cloud.google.com/go/webrisk v1.9.1/go.mod h1:4GCmXKcOa2BZcZPn6DCEvE7HypmEJcJkr4mtM+sqYPc= +cloud.google.com/go/webrisk v1.9.4/go.mod h1:w7m4Ib4C+OseSr2GL66m0zMBywdrVNTDKsdEsfMl7X0= cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv5/rGpFCsBOvPbYgszpg= +cloud.google.com/go/websecurityscanner v1.6.4/go.mod h1:mUiyMQ+dGpPPRkHgknIZeCzSHJ45+fY4F52nZFDHm2o= cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= +cloud.google.com/go/workflows v1.12.3/go.mod h1:fmOUeeqEwPzIU81foMjTRQIdwQHADi/vEr1cx9R1m5g= github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/gopenpgp/v2 v2.7.4 h1:Vz/8+HViFFnf2A6XX8JOvZMrA6F5puwNvvF21O1mRlo= +github.com/ProtonMail/gopenpgp/v2 v2.7.4/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= @@ -124,78 +254,161 @@ github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2 github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= +github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= +github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A= +github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= +github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= +github.com/cilium/ebpf v0.12.3/go.mod h1:TctK1ivibvI3znr66ljgi4hqOT8EYQjz1KWBfb1UVgM= github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cosi-project/runtime v0.3.19 h1:3ripxk5ox93TOmYn0WMbddd5XLerG9URonb5XG4GcFU= +github.com/cosi-project/runtime v0.3.19/go.mod h1:b1e/1IyJssCqS3XBaHQgNkU+HMt0n5YVMolxOUWd5Aw= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= +github.com/envoyproxy/go-control-plane v0.11.1/go.mod h1:uhMcXKCQMEJHiAb0w+YGefQLaTEw+YhGluxZkrTmD0g= github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= +github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= +github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ2tG6yudJd8LBksgI= +github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= +github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.9.0 h1:cD9SFA7sHVRdJ7AYck1ZaAa/yeuBvGPxwXDL8cxrObY= +github.com/go-git/go-git/v5 v5.9.0/go.mod h1:RKIqga24sWdMGZF+1Ekv9kylsDz6LzdTSI2s/OsZWE0= github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/swag v0.21.1 h1:wm0rhTb5z7qpJRHBdPOMuY4QjVUMbF6/kwoYeRAOrKU= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/google/gnostic v0.5.7-v3refs h1:FhTMOKj2VhjpouxvWJAV1TL304uMlb9zcDqkl6cEI54= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-pkcs11 v0.2.1-0.20230907215043-c6f79328ddf9/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.2.4/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 h1:6UKoz5ujsI55KNpsJH3UwCq3T8kKbZwNZBNPuTTje8U= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1/go.mod h1:YvJ2f6MplWDhfxiUC3KpyTy76kYUZA4W3pTv/wdKQ9Y= github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= +github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= +github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/hc-install v0.5.2/go.mod h1:9QISwe6newMWIfEiXpzuu1k9HAGtQYgnSH8H9T8wmoI= github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= +github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE= github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= +github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= +github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 h1:+RyjwU+Gnd/aTJBPZVDNm903eXVjjqhbaR4Ypx3xYyY= github.com/hashicorp/terraform-exec v0.18.1/go.mod h1:58wg4IeuAJ6LVsLUeD2DWZZoc/bYi6dzhLHzxM41980= github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= +github.com/hashicorp/terraform-json v0.18.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= github.com/hashicorp/terraform-plugin-docs v0.16.0/go.mod h1:M3ZrlKBJAbPMtNOPwHicGi1c+hZUh7/g0ifT/z7TVfA= github.com/hashicorp/terraform-plugin-framework v1.3.4/go.mod h1:2gGDpWiTI0irr9NSTLFAKlTi6KwGti3AoU19rFqU30o= +github.com/hashicorp/terraform-plugin-framework v1.3.5/go.mod h1:2gGDpWiTI0irr9NSTLFAKlTi6KwGti3AoU19rFqU30o= +github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI= +github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY= +github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= +github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.16.0 h1:DSOQ0rz5FUiVO4NUzMs8ln9gsPgHMTsfns7Nk+6gPuE= github.com/hashicorp/terraform-plugin-go v0.18.0/go.mod h1:l7VK+2u5Kf2y+A+742GX0ouLut3gttudmvMgN0PA74Y= +github.com/hashicorp/terraform-plugin-go v0.19.1 h1:lf/jTGTeELcz5IIbn/94mJdmnTjRYm6S6ct/JqCSr50= +github.com/hashicorp/terraform-plugin-go v0.19.1/go.mod h1:5NMIS+DXkfacX6o5HCpswda5yjkSYfKzn1Nfl9l+qRs= github.com/hashicorp/terraform-plugin-testing v1.4.0/go.mod h1:b7Bha24iGrbZQjT+ZE8m9crck1YjdVOZ8mfGCQ19OxA= +github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE= github.com/hashicorp/terraform-registry-address v0.2.1 h1:QuTf6oJ1+WSflJw6WYOHhLgwUiQ0FrROpHPYFtwTYWM= github.com/hashicorp/terraform-registry-address v0.2.1/go.mod h1:BSE9fIFzp0qWsJUUyGquo4ldV9k2n+psif6NYkBRS3Y= +github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= +github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= +github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= github.com/ianlancetaylor/demangle v0.0.0-20220517205856-0058ec4f073c/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= +github.com/jsimonetti/rtnetlink v1.4.0 h1:Z1BF0fRgcETPEa0Kt0MRk3yV5+kF1FWTni6KUFKrq2I= +github.com/jsimonetti/rtnetlink v1.4.0/go.mod h1:5W1jDvWdnthFJ7fxYX1GMK07BUpI4oskfOqvPteYS6E= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= +github.com/klauspost/compress v1.17.3 h1:qkRjuerhUU1EmXLYGkSH6EZL+vPSxIrYjLNAK4slzwA= +github.com/klauspost/compress v1.17.3/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/onsi/ginkgo/v2 v2.2.0/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= github.com/onsi/ginkgo/v2 v2.9.4/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM= +github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= +github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +github.com/opencontainers/runtime-spec v1.1.0-rc.1 h1:wHa9jroFfKGQqFHj0I1fMRKLl0pfj+ynAqBxo3v6u9w= +github.com/opencontainers/runtime-spec v1.1.0-rc.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc= +github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= +github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/siderolabs/talos/pkg/machinery v1.5.2 h1:XENjTuWdcCSgmPK6HsN81RAzN0T9mD8VjaRPM1pQMB8= -github.com/siderolabs/talos/pkg/machinery v1.5.2/go.mod h1:7Mmswfab95ULNclTI4ZGR8hZaQyrjDVfSyYGVECgFBs= -github.com/siderolabs/terraform-provider-talos v0.3.4 h1:Z5Fk2K7TFs0qLuD5N/qhuI+HVGCVNFoG2gFUaVXcdhs= -github.com/siderolabs/terraform-provider-talos v0.3.4/go.mod h1:D+H31jal1sWWTPnAMPv9fsZwI4z2wtHjhQhtt3R47xQ= +github.com/siderolabs/gen v0.4.7 h1:lM69UYggT7yzpubf7hEFaNujPdY55Y9zvQf/NC18GvA= +github.com/siderolabs/gen v0.4.7/go.mod h1:4PBYMdXxTg292IDRq4CGn5AymyDxJVEDvobVKDqFBEA= +github.com/siderolabs/go-api-signature v0.3.1 h1:ePXOxBT2fxRICsDntXed9kivmVK269nZe5UXvOxgtnM= +github.com/siderolabs/go-api-signature v0.3.1/go.mod h1:RZQFRiZ4midsdC9XCGhhWyS8QcIWtpEFeigvqoDPYJY= +github.com/siderolabs/go-blockdevice v0.4.7 h1:2bk4WpEEflGxjrNwp57ye24Pr+cYgAiAeNMWiQOuWbQ= +github.com/siderolabs/go-blockdevice v0.4.7/go.mod h1:4PeOuk71pReJj1JQEXDE7kIIQJPVe8a+HZQa+qjxSEA= +github.com/siderolabs/go-cmd v0.1.1/go.mod h1:6hY0JG34LxEEwYE8aH2iIHkHX/ir12VRLqfwAf2yJIY= +github.com/siderolabs/go-retry v0.3.2/go.mod h1:Ac8HIh0nAYDQm04FGZHNofVAXteyd4xR9oujTRrtvK0= +github.com/siderolabs/go-retry v0.3.3 h1:zKV+S1vumtO72E6sYsLlmIdV/G/GcYSBLiEx/c9oCEg= +github.com/siderolabs/go-retry v0.3.3/go.mod h1:Ff/VGc7v7un4uQg3DybgrmOWHEmJ8BzZds/XNn/BqMI= +github.com/siderolabs/protoenc v0.2.1 h1:BqxEmeWQeMpNP3R6WrPqDatX8sM/r4t97OP8mFmg6GA= +github.com/siderolabs/protoenc v0.2.1/go.mod h1:StTHxjet1g11GpNAWiATgc8K0HMKiFSEVVFOa/H0otc= +github.com/siderolabs/talos/pkg/machinery v1.6.0 h1:wWtiUMyokCQMH2xkHyNsQj2vfGhRUnjBZ9eRI5kXSi4= +github.com/siderolabs/talos/pkg/machinery v1.6.0/go.mod h1:WZ/yDqQLHDfol/gf2qcD2u47+CDX819kEB+RQpAKWAU= +github.com/siderolabs/terraform-provider-talos v0.4.0 h1:ZW/kmbEF8maXqcpaQ1LhWoevwP2gzJGnPpa4Eb+14tY= +github.com/siderolabs/terraform-provider-talos v0.4.0/go.mod h1:EPt8CCYaNMorF+Qn4cdeZiDWYfUG0jnCjSypPbz5z+M= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= +github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= github.com/yuin/goldmark v1.5.2/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= @@ -204,66 +417,142 @@ github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeW github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA= +github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= +go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= +go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= +go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= +golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= +golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.14.1-0.20231108175955-e4099bfacb8c/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.9.0 h1:GRRCnKYhdQrD8kfRAdQ6Zcw1P0OcELxGLKJvtjVMZ28= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/time v0.4.0 h1:Z81tqI5ddIoXDPvVQ7/7CC9TnLM7ubaFG2qXYd5BbYY= +golang.org/x/time v0.4.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= +golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= +google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= +google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= +google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97/go.mod h1:t1VqOqqvce95G3hIDCT5FeO3YUc6Q4Oe24L/+rNMxRk= +google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:CgAqfJo+Xmu0GwA0411Ht3OU3OntXwsGmrmjI8ioGXI= +google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405/go.mod h1:3WDQMjmJk36UQhjQ89emUzb1mdaHcPeeAh4SCBKznB4= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f h1:Vn+VyHU5guc9KjB5KrjI2q0wCOWEOIh0OEsleqakHJg= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f/go.mod h1:nWSwAFPb+qfNJXsoeO3Io7zf4tMSfN8EA8RlDA04GhY= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= +google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= +google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= +google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= +google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97/go.mod h1:v7nGkzlmW8P3n/bKmWBn2WpBjpOEx8Q6gMueudAmKfY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 h1:DC7wcm+i+P1rN3Ff07vL+OndGg5OhNddHyTA+ocPqYE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4/go.mod h1:eJVxU6o+4G1PSczBr85xmyvSNYAKvAYgkub40YGomFM= google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= +google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= +google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k= +google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +k8s.io/api v0.28.4 h1:8ZBrLjwosLl/NYgv1P7EQLqoO8MGQApnbgH8tu3BMzY= +k8s.io/api v0.28.4/go.mod h1:axWTGrY88s/5YE+JSt4uUi6NMM+gur1en2REMR7IRj0= +k8s.io/apimachinery v0.28.4 h1:zOSJe1mc+GxuMnFzD4Z/U1wst50X28ZNsn5bhgIIao8= +k8s.io/apimachinery v0.28.4/go.mod h1:wI37ncBvfAoswfq626yPTe6Bz1c22L7uaJ8dho83mgg= +k8s.io/client-go v0.28.4 h1:Np5ocjlZcTrkyRJ3+T3PkXDpe4UpatQxj85+xjaD2wY= +k8s.io/client-go v0.28.4/go.mod h1:0VDZFpgoZfelyP5Wqu0/r/TRYcLYuJ2U1KEeoaPa1N4= k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= diff --git a/provider/cmd/pulumi-resource-talos/bridge-metadata.json b/provider/cmd/pulumi-resource-talos/bridge-metadata.json index 93f04e9..c34d65a 100644 --- a/provider/cmd/pulumi-resource-talos/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-talos/bridge-metadata.json @@ -97,6 +97,7 @@ }, "functions": { "talos:client/configuration:Configuration": "talos_client_configuration", + "talos:cluster/health:Health": "talos_cluster_health", "talos:cluster/kubeconfig:Kubeconfig": "talos_cluster_kubeconfig", "talos:machine/disks:Disks": "talos_machine_disks", "talos:machine/getConfiguration:getConfiguration": "talos_machine_configuration" @@ -112,6 +113,11 @@ "clusterName": "cluster_name", "talosConfig": "talos_config" }, + "talos:cluster/HealthClientConfiguration:HealthClientConfiguration": { + "caCertificate": "ca_certificate", + "clientCertificate": "client_certificate", + "clientKey": "client_key" + }, "talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", @@ -122,6 +128,11 @@ "clientCertificate": "client_certificate", "clientKey": "client_key" }, + "talos:cluster/health:Health": { + "clientConfiguration": "client_configuration", + "controlPlaneNodes": "control_plane_nodes", + "workerNodes": "worker_nodes" + }, "talos:cluster/kubeconfig:Kubeconfig": { "clientConfiguration": "client_configuration", "kubeconfigRaw": "kubeconfig_raw", diff --git a/provider/cmd/pulumi-resource-talos/schema.json b/provider/cmd/pulumi-resource-talos/schema.json index 0d52e7c..78f940b 100644 --- a/provider/cmd/pulumi-resource-talos/schema.json +++ b/provider/cmd/pulumi-resource-talos/schema.json @@ -78,6 +78,38 @@ "clientKey" ] }, + "talos:cluster/HealthClientConfiguration:HealthClientConfiguration": { + "properties": { + "caCertificate": { + "type": "string", + "description": "The client CA certificate\n" + }, + "clientCertificate": { + "type": "string", + "description": "The client certificate\n" + }, + "clientKey": { + "type": "string", + "description": "The client key\n", + "secret": true + } + }, + "type": "object", + "required": [ + "caCertificate", + "clientCertificate", + "clientKey" + ] + }, + "talos:cluster/HealthTimeouts:HealthTimeouts": { + "properties": { + "read": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.\n" + } + }, + "type": "object" + }, "talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration": { "properties": { "caCertificate": { @@ -1270,6 +1302,92 @@ ] } }, + "talos:cluster/health:Health": { + "description": "Checks the health of a Talos cluster\n", + "inputs": { + "description": "A collection of arguments for invoking Health.\n", + "properties": { + "clientConfiguration": { + "$ref": "#/types/talos:cluster/HealthClientConfiguration:HealthClientConfiguration", + "description": "The client configuration data\n" + }, + "controlPlaneNodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of control plane nodes to check for health.\n" + }, + "endpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "endpoints to use for the health check client. Use at least one control plane endpoint.\n" + }, + "timeouts": { + "$ref": "#/types/talos:cluster/HealthTimeouts:HealthTimeouts" + }, + "workerNodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of worker nodes to check for health.\n" + } + }, + "type": "object", + "required": [ + "clientConfiguration", + "controlPlaneNodes", + "endpoints" + ] + }, + "outputs": { + "description": "A collection of values returned by Health.\n", + "properties": { + "clientConfiguration": { + "$ref": "#/types/talos:cluster/HealthClientConfiguration:HealthClientConfiguration", + "description": "The client configuration data\n" + }, + "controlPlaneNodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of control plane nodes to check for health.\n" + }, + "endpoints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "endpoints to use for the health check client. Use at least one control plane endpoint.\n" + }, + "id": { + "type": "string", + "description": "The ID of this resource.\n" + }, + "timeouts": { + "$ref": "#/types/talos:cluster/HealthTimeouts:HealthTimeouts" + }, + "workerNodes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of worker nodes to check for health.\n" + } + }, + "type": "object", + "required": [ + "clientConfiguration", + "controlPlaneNodes", + "endpoints", + "id" + ] + } + }, "talos:cluster/kubeconfig:Kubeconfig": { "description": "Retrieves the kubeconfig for a Talos cluster\n", "inputs": { @@ -1281,7 +1399,7 @@ }, "endpoint": { "type": "string", - "description": "endpoint to use for the talosclient. if not set, the node value will be used\n" + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" }, "node": { "type": "string", @@ -1292,7 +1410,8 @@ }, "wait": { "type": "boolean", - "description": "Wait for the kubernetes api to be available\n" + "description": "Wait for the kubernetes api to be available\n", + "deprecationMessage": "This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead." } }, "type": "object", @@ -1310,7 +1429,7 @@ }, "endpoint": { "type": "string", - "description": "endpoint to use for the talosclient. if not set, the node value will be used\n" + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" }, "id": { "type": "string", @@ -1334,7 +1453,8 @@ }, "wait": { "type": "boolean", - "description": "Wait for the kubernetes api to be available\n" + "description": "Wait for the kubernetes api to be available\n", + "deprecationMessage": "This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead." } }, "type": "object", @@ -1359,7 +1479,7 @@ }, "endpoint": { "type": "string", - "description": "endpoint to use for the talosclient. if not set, the node value will be used\n" + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" }, "filters": { "$ref": "#/types/talos:machine/DisksFilters:DisksFilters", @@ -1395,7 +1515,7 @@ }, "endpoint": { "type": "string", - "description": "endpoint to use for the talosclient. if not set, the node value will be used\n" + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" }, "filters": { "$ref": "#/types/talos:machine/DisksFilters:DisksFilters", diff --git a/provider/go.mod b/provider/go.mod index abc136f..cf5193a 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,34 +1,27 @@ module github.com/pulumiverse/pulumi-talos/provider -go 1.20 +go 1.21.5 -replace ( - github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e - github.com/siderolabs/terraform-provider-talos/shim => ./shim -) +replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e require ( - github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 - github.com/siderolabs/terraform-provider-talos/shim v0.0.0-00010101000000-000000000000 + github.com/pulumi/pulumi-terraform-bridge/pf v0.21.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.68.0 + github.com/pulumi/pulumi/pkg/v3 v3.96.2 + github.com/siderolabs/terraform-provider-talos v0.4.0 ) require ( - cloud.google.com/go v0.110.4 // indirect - cloud.google.com/go/compute v1.20.1 // indirect + cloud.google.com/go v0.110.10 // indirect + cloud.google.com/go/compute v1.23.3 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect - cloud.google.com/go/iam v1.1.1 // indirect - cloud.google.com/go/kms v1.12.1 // indirect - cloud.google.com/go/logging v1.7.0 // indirect - cloud.google.com/go/longrunning v0.5.1 // indirect + cloud.google.com/go/iam v1.1.5 // indirect + cloud.google.com/go/kms v1.15.5 // indirect + cloud.google.com/go/logging v1.8.1 // indirect + cloud.google.com/go/longrunning v0.5.4 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect - github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect - github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.28 // indirect github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect @@ -39,16 +32,15 @@ require ( github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect github.com/Azure/go-autorest/logger v0.2.1 // indirect github.com/Azure/go-autorest/tracing v0.6.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect github.com/BurntSushi/toml v1.2.1 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/semver/v3 v3.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.2 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect - github.com/ProtonMail/gopenpgp/v2 v2.7.2 // indirect + github.com/ProtonMail/gopenpgp/v2 v2.7.4 // indirect github.com/acomagu/bufpipe v1.0.4 // indirect github.com/adrg/xdg v0.4.0 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect @@ -60,21 +52,14 @@ require ( github.com/atotto/clipboard v0.1.4 // indirect github.com/aws/aws-sdk-go v1.44.298 // indirect github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.3 // indirect github.com/aws/aws-sdk-go-v2/config v1.15.15 // indirect github.com/aws/aws-sdk-go-v2/credentials v1.12.10 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.9 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.21 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.13.9 // indirect github.com/aws/aws-sdk-go-v2/service/kms v1.18.1 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.27.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.11.13 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.16.10 // indirect github.com/aws/smithy-go v1.13.5 // indirect @@ -82,6 +67,7 @@ require ( github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect + github.com/blang/semver/v4 v4.0.0 // indirect github.com/cenkalti/backoff/v3 v3.2.2 // indirect github.com/charmbracelet/bubbles v0.16.1 // indirect github.com/charmbracelet/bubbletea v0.24.2 // indirect @@ -91,47 +77,43 @@ require ( github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/containerd/go-cni v1.1.9 // indirect github.com/containernetworking/cni v1.1.2 // indirect - github.com/cosi-project/runtime v0.3.1 // indirect + github.com/cosi-project/runtime v0.3.19 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/davecgh/go-spew v1.1.1 // indirect + github.com/deckarep/golang-set/v2 v2.5.0 // indirect github.com/dimchansky/utfbom v1.1.1 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect - github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/evanphx/json-patch v5.6.0+incompatible // indirect + github.com/evanphx/json-patch v5.7.0+incompatible // indirect github.com/fatih/color v1.14.1 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/gertd/go-pluralize v0.2.1 // indirect github.com/ghodss/yaml v1.0.0 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/go-git/go-billy/v5 v5.4.1 // indirect - github.com/go-git/go-git/v5 v5.8.1 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.9.0 // indirect github.com/go-logr/logr v1.2.4 // indirect - github.com/go-openapi/jsonpointer v0.19.6 // indirect - github.com/go-openapi/jsonreference v0.20.2 // indirect - github.com/go-openapi/swag v0.22.3 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang-jwt/jwt v3.2.1+incompatible // indirect github.com/golang-jwt/jwt/v4 v4.4.2 // indirect - github.com/golang/glog v1.1.0 // indirect + github.com/golang/glog v1.1.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/gnostic-models v0.6.8 // indirect - github.com/google/go-cmp v0.5.9 // indirect + github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect - github.com/google/s2a-go v0.1.4 // indirect + github.com/google/s2a-go v0.1.7 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect - github.com/google/uuid v1.3.0 // indirect + github.com/google/uuid v1.4.0 // indirect github.com/google/wire v0.5.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect - github.com/googleapis/gax-go/v2 v2.11.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect + github.com/googleapis/gax-go/v2 v2.12.0 // indirect github.com/gorilla/mux v1.8.0 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 // indirect + github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect @@ -140,7 +122,7 @@ require ( github.com/hashicorp/go-hclog v1.5.0 // indirect github.com/hashicorp/go-immutable-radix v1.3.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-plugin v1.5.1 // indirect + github.com/hashicorp/go-plugin v1.6.0 // indirect github.com/hashicorp/go-retryablehttp v0.7.1 // indirect github.com/hashicorp/go-rootcerts v1.0.2 // indirect github.com/hashicorp/go-safetemp v1.0.0 // indirect @@ -152,45 +134,39 @@ require ( github.com/hashicorp/go-version v1.6.0 // indirect github.com/hashicorp/golang-lru v0.5.4 // indirect github.com/hashicorp/hcl v1.0.0 // indirect - github.com/hashicorp/hcl/v2 v2.18.0 // indirect + github.com/hashicorp/hcl/v2 v2.19.1 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect - github.com/hashicorp/terraform-plugin-framework v1.4.1 // indirect + github.com/hashicorp/terraform-plugin-framework v1.4.2 // indirect github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect - github.com/hashicorp/terraform-plugin-framework-validators v0.11.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect + github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 // indirect + github.com/hashicorp/terraform-plugin-go v0.20.0 // indirect github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 // indirect - github.com/hashicorp/terraform-registry-address v0.2.2 // indirect + github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 // indirect + github.com/hashicorp/terraform-registry-address v0.2.3 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/hashicorp/vault/api v1.8.2 // indirect github.com/hashicorp/vault/sdk v0.6.1 // indirect github.com/hashicorp/yamux v0.1.1 // indirect github.com/huandu/xstrings v1.3.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect - github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect - github.com/josharian/intern v1.0.0 // indirect github.com/josharian/native v1.1.0 // indirect - github.com/jsimonetti/rtnetlink v1.3.4 // indirect + github.com/jsimonetti/rtnetlink v1.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/klauspost/compress v1.16.7 // indirect - github.com/kylelemons/godebug v1.1.0 // indirect + github.com/klauspost/compress v1.17.3 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect github.com/mattn/go-localereader v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.14 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect github.com/mdlayher/ethtool v0.1.0 // indirect github.com/mdlayher/genetlink v1.3.2 // indirect github.com/mdlayher/netlink v1.7.2 // indirect github.com/mdlayher/socket v0.4.1 // indirect - github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect github.com/mitchellh/cli v1.1.5 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect @@ -202,16 +178,16 @@ require ( github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect + github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect - github.com/muesli/termenv v0.15.1 // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/muesli/termenv v0.15.2 // indirect github.com/natefinch/atomic v1.0.1 // indirect github.com/oklog/run v1.1.0 // indirect - github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect + github.com/opencontainers/runtime-spec v1.1.0-rc.1 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/fx v0.1.6 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect @@ -220,11 +196,12 @@ require ( github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/posener/complete v1.2.3 // indirect - github.com/pulumi/pulumi-java/pkg v0.9.6 // indirect + github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect + github.com/pulumi/esc v0.6.1-0.20231111193429-44b746a5b3b5 // indirect + github.com/pulumi/pulumi-java/pkg v0.9.8 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 // indirect - github.com/pulumi/pulumi-yaml v1.2.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect + github.com/pulumi/pulumi-yaml v1.4.3 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.96.2 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect @@ -237,14 +214,13 @@ require ( github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect github.com/siderolabs/crypto v0.4.1 // indirect - github.com/siderolabs/gen v0.4.5 // indirect - github.com/siderolabs/go-api-signature v0.2.6 // indirect - github.com/siderolabs/go-blockdevice v0.4.6 // indirect + github.com/siderolabs/gen v0.4.7 // indirect + github.com/siderolabs/go-api-signature v0.3.1 // indirect + github.com/siderolabs/go-blockdevice v0.4.7 // indirect github.com/siderolabs/go-pointer v1.0.0 // indirect github.com/siderolabs/net v0.4.0 // indirect - github.com/siderolabs/protoenc v0.2.0 // indirect - github.com/siderolabs/talos/pkg/machinery v1.5.2 // indirect - github.com/siderolabs/terraform-provider-talos v0.3.4 // indirect + github.com/siderolabs/protoenc v0.2.1 // indirect + github.com/siderolabs/talos/pkg/machinery v1.6.0 // indirect github.com/skeema/knownhosts v1.2.0 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.0 // indirect @@ -256,51 +232,49 @@ require ( github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/ulikunitz/xz v0.5.10 // indirect - github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect + github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect - github.com/zclconf/go-cty v1.14.0 // indirect + github.com/zclconf/go-cty v1.14.1 // indirect go.opencensus.io v0.24.0 // indirect go.uber.org/atomic v1.10.0 // indirect - go.uber.org/multierr v1.9.0 // indirect - go.uber.org/zap v1.24.0 // indirect + go.uber.org/multierr v1.10.0 // indirect + go.uber.org/zap v1.26.0 // indirect gocloud.dev v0.27.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect - golang.org/x/crypto v0.14.0 // indirect - golang.org/x/mod v0.13.0 // indirect - golang.org/x/net v0.16.0 // indirect - golang.org/x/oauth2 v0.10.0 // indirect - golang.org/x/sync v0.4.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/term v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect - golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.14.0 // indirect + golang.org/x/crypto v0.16.0 // indirect + golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect + golang.org/x/mod v0.14.0 // indirect + golang.org/x/net v0.18.0 // indirect + golang.org/x/oauth2 v0.13.0 // indirect + golang.org/x/sync v0.5.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/term v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect + golang.org/x/time v0.4.0 // indirect + golang.org/x/tools v0.15.0 // indirect golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect - google.golang.org/api v0.126.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/grpc v1.57.0 // indirect + google.golang.org/api v0.149.0 // indirect + google.golang.org/appengine v1.6.8 // indirect + google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 // indirect + google.golang.org/grpc v1.60.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/square/go-jose.v2 v2.6.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.28.0 // indirect - k8s.io/apimachinery v0.28.0 // indirect - k8s.io/client-go v0.28.0 // indirect + k8s.io/apimachinery v0.28.4 // indirect + k8s.io/client-go v0.28.4 // indirect k8s.io/klog/v2 v2.100.1 // indirect - k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect lukechampine.com/frand v1.4.2 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.3.0 // indirect - sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/provider/go.sum b/provider/go.sum index 6913d86..f417d63 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -37,8 +37,8 @@ cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+ cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU= cloud.google.com/go v0.103.0/go.mod h1:vwLx1nqLrzLX/fpwSMOXmFIqBOyHsvHbnAdbGSJ+mKk= cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA= -cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk= -cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= +cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= +cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw= cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY= cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI= @@ -75,8 +75,8 @@ cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU= cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U= cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU= -cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg= -cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= +cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= +cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= @@ -119,19 +119,19 @@ cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c= cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY= cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc= -cloud.google.com/go/iam v1.1.1 h1:lW7fzj15aVIXYHREOqjRBV9PsH0Z6u8Y46a1YGvQP4Y= -cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= +cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= +cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA= -cloud.google.com/go/kms v1.12.1 h1:xZmZuwy2cwzsocmKDOPu4BL7umg8QXagQx6fKVmf45U= -cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= +cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= +cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic= cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI= cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8= cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08= -cloud.google.com/go/logging v1.7.0 h1:CJYxlNNNNAMkHp9em/YEXcfJg+rPDg7YfwoRpMU+t5I= -cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= -cloud.google.com/go/longrunning v0.5.1 h1:Fr7TXftcqTudoyRJa113hyaqlGdiBQkp0Gq7tErFDWI= -cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= +cloud.google.com/go/logging v1.8.1 h1:26skQWPeYhvIasWKm48+Eq7oUqdcdbwsCVwz5Ys0FvU= +cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= +cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= +cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= @@ -217,8 +217,6 @@ dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= -github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -227,16 +225,12 @@ github.com/Azure/azure-sdk-for-go v66.0.0+incompatible h1:bmmC38SlE8/E81nNADlgmV github.com/Azure/azure-sdk-for-go v66.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U= github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0/go.mod h1:+6sju8gk8FRmSajX3Oz4G5Gm7P+mbqE9FVaXXFYTkCM= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8= -github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w= github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus v1.0.2/go.mod h1:LH9XQnMr2ZYxQdVdCrzLO9mxeDyrDFa6wbSI3x5zCZk= -github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1/go.mod h1:eZ4g6GUvXiGulfIbbhh1Xr4XwUYaYaWMqzGD/284wCA= github.com/Azure/go-amqp v0.17.0/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= github.com/Azure/go-amqp v0.17.5/go.mod h1:9YJ3RhxRT1gquYnzpZO1vcYMMpAdJT+QEg6fwmw9Zlg= @@ -280,7 +274,6 @@ github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+Z github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= @@ -289,6 +282,7 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/GoogleCloudPlatform/cloudsql-proxy v1.31.2/go.mod h1:qR6jVnZTKDCW3j+fC9mOEPHm++1nKDMkqbbkD6KNsfo= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= +github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= @@ -326,15 +320,14 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= -github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= -github.com/ProtonMail/gopenpgp/v2 v2.7.2 h1:mIwxSUPezxNYq0RA5106VPWyKC+Ly3FvBUnBJh/7GWw= -github.com/ProtonMail/gopenpgp/v2 v2.7.2/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= +github.com/ProtonMail/gopenpgp/v2 v2.7.4 h1:Vz/8+HViFFnf2A6XX8JOvZMrA6F5puwNvvF21O1mRlo= +github.com/ProtonMail/gopenpgp/v2 v2.7.4/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= @@ -361,6 +354,7 @@ github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8V github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0= github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= @@ -424,6 +418,7 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.3.16/go.mod h1:CYmI+7x03jjJih8kBEEF github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6 h1:3L8pcjvgaSOs0zzZcMKzxDSkYKEpwJ2dNVDdxm68jAY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.6/go.mod h1:O7Oc4peGZDEKlddivslfYFvAbgzvl/GH3J8j3JIGBXc= github.com/aws/aws-sdk-go-v2/service/iam v1.19.0 h1:9vCynoqC+dgxZKrsjvAniyIopsv3RZFsZ6wkQ+yxtj8= +github.com/aws/aws-sdk-go-v2/service/iam v1.19.0/go.mod h1:OyAuvpFeSVNppcSsp1hFOVQcaTRc1LE24YIR7pMbbAA= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3 h1:4n4KCtv5SUoT5Er5XV41huuzrCqepxlW3SDI9qHQebc= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.3/go.mod h1:gkb2qADY+OHaGLKNTYxMaQNacfeyQpZ4csDTQMeFmcw= github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.10 h1:7LJcuRalaLw+GYQTMGmVUl4opg2HrDZkvn/L3KvIQfw= @@ -450,7 +445,6 @@ github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -466,10 +460,14 @@ github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJm github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= +github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= -github.com/brianvoe/gofakeit/v6 v6.17.0 h1:obbQTJeHfktJtiZzq0Q1bEpsNUs+yHrYlPVWt7BtmJ4= +github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A= +github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk= github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA= +github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8= @@ -515,7 +513,8 @@ github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= -github.com/cilium/ebpf v0.10.0 h1:nk5HPMeoBXtOzbkZBWym+ZWq1GIiHUsBFXxwewXAHLQ= +github.com/cilium/ebpf v0.12.3 h1:8ht6F9MquybnY97at+VDZb3eQQr8ev79RueWeVaEcG4= +github.com/cilium/ebpf v0.12.3/go.mod h1:TctK1ivibvI3znr66ljgi4hqOT8EYQjz1KWBfb1UVgM= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE= @@ -658,18 +657,18 @@ github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+ github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cosi-project/runtime v0.3.1 h1:dRGKOlEDKjvuC+VIG4N2Z5iAftaqgS1h3ttmvbK4nMk= -github.com/cosi-project/runtime v0.3.1/go.mod h1:Q+oiWic2l6TaGuIWtUo0E9tL2RDT2APHvjUc/mJtn24= +github.com/cosi-project/runtime v0.3.19 h1:3ripxk5ox93TOmYn0WMbddd5XLerG9URonb5XG4GcFU= +github.com/cosi-project/runtime v0.3.19/go.mod h1:b1e/1IyJssCqS3XBaHQgNkU+HMt0n5YVMolxOUWd5Aw= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI= -github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4= github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ= github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s= github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8= @@ -677,6 +676,8 @@ github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjI github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/deckarep/golang-set/v2 v2.5.0 h1:hn6cEZtQ0h3J8kFrHR/NrzyOoTnjgW1+FmNJzQ7y/sA= +github.com/deckarep/golang-set/v2 v2.5.0/go.mod h1:VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4= github.com/denisenkom/go-mssqldb v0.12.2/go.mod h1:lnIw1mZukFRZDJYQ0Pb833QS2IaC3l5HkEfra2LJ+sk= github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA= github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0= @@ -693,7 +694,6 @@ github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= github.com/dnaeon/go-vcr v1.1.0/go.mod h1:M7tiix8f0r6mKKJ3Yq/kqU1OYf3MnfmBWVbPx/yU9ko= -github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ= github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY= @@ -724,8 +724,10 @@ github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaB github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819 h1:RIB4cRk+lBqKK3Oy0r2gRX4ui7tuhiZq2SuTtTCi0/0= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= @@ -750,8 +752,8 @@ github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= -github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ2tG6yudJd8LBksgI= +github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= @@ -773,6 +775,7 @@ github.com/frankban/quicktest v1.10.0/go.mod h1:ui7WezCLWMWxVWr1GETZY3smRy0G4KWq github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.13.0/go.mod h1:qLE0fzW0VuyUAJgPU19zByoIr0HtCHN/r/VLSOOIySU= github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU= @@ -792,14 +795,16 @@ github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= +github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= github.com/go-asn1-ber/asn1-ber v1.3.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= -github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= -github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= -github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.9.0 h1:cD9SFA7sHVRdJ7AYck1ZaAa/yeuBvGPxwXDL8cxrObY= +github.com/go-git/go-git/v5 v5.9.0/go.mod h1:RKIqga24sWdMGZF+1Ekv9kylsDz6LzdTSI2s/OsZWE0= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -872,8 +877,10 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4= github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= +github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-test/deep v1.0.2/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= +github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY= @@ -924,7 +931,6 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= @@ -934,8 +940,8 @@ github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2V github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= +github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -997,8 +1003,9 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE= github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= @@ -1039,9 +1046,10 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20220318212150-b2ab0324ddda/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3/go.mod h1:gSuNB+gJaOiQKLEZ+q+PK9Mq3SOzhRcw2GsGS/FhYDk= github.com/google/pprof v0.0.0-20230406165453-00490a63f317 h1:hFhpt7CTmR3DX+b4R19ydQFtofxT0Sv3QsKNMVQYTMQ= +github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc= -github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= +github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= +github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= @@ -1049,15 +1057,16 @@ github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+ github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/wire v0.5.0 h1:I7ELFeVBr3yfPIcc8+MWvrjk+3VjbcSzoXm3JVa+jD8= github.com/google/wire v0.5.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= -github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k= -github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= +github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= +github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= @@ -1067,8 +1076,8 @@ github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99 github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c= github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo= github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY= -github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4= -github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= +github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= @@ -1099,8 +1108,8 @@ github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks= github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2/go.mod h1:chrfS3YoLAlKTRE5cFWvCbt8uGAjshktT4PveTUpsFQ= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 h1:dygLcbEBA+t/P7ck6a8AkXv6juQ4cK0RHBoh32jxhHM= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2/go.mod h1:Ap9RLCIJVtgQg1/BBgVEfypOAySvvlcpcVQkSzJCH4Y= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 h1:6UKoz5ujsI55KNpsJH3UwCq3T8kKbZwNZBNPuTTje8U= +github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1/go.mod h1:YvJ2f6MplWDhfxiUC3KpyTy76kYUZA4W3pTv/wdKQ9Y= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok= @@ -1118,6 +1127,7 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= +github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= @@ -1147,8 +1157,8 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ= github.com/hashicorp/go-plugin v1.4.4/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= -github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= -github.com/hashicorp/go-plugin v1.5.1/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= +github.com/hashicorp/go-plugin v1.6.0 h1:wgd4KxHJTVGGqWBq4QPB1i5BZNEx9BR8+OFmHDmTk8A= +github.com/hashicorp/go-plugin v1.6.0/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs= github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= @@ -1187,11 +1197,12 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= -github.com/hashicorp/hc-install v0.6.0 h1:fDHnU7JNFNSQebVKYhHZ0va1bC6SrPQ8fpebsvNr2w4= +github.com/hashicorp/hc-install v0.6.1 h1:IGxShH7AVhPaSuSJpKtVi/EFORNjO+OYVJJrAtGG2mY= +github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/hcl/v2 v2.18.0 h1:wYnG7Lt31t2zYkcquwgKo6MWXzRUDIeIVU5naZwHLl8= -github.com/hashicorp/hcl/v2 v2.18.0/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= +github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= +github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 h1:T1Q6ag9tCwun16AW+XK3tAql24P4uTGUMIn1/92WsQQ= github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93/go.mod h1:n2TSygSNwsLJ76m8qFXTSc7beTb+auJxYdqrnoqwZWE= github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= @@ -1205,21 +1216,25 @@ github.com/hashicorp/nomad/api v0.0.0-20220629141207-c2428e1673ec/go.mod h1:jP79 github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4= github.com/hashicorp/terraform-exec v0.19.0 h1:FpqZ6n50Tk95mItTSS9BjeOVUb4eg81SpgVtZNNtFSM= -github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= -github.com/hashicorp/terraform-plugin-framework v1.4.1 h1:ZC29MoB3Nbov6axHdgPbMz7799pT5H8kIrM8YAsaVrs= -github.com/hashicorp/terraform-plugin-framework v1.4.1/go.mod h1:XC0hPcQbBvlbxwmjxuV/8sn8SbZRg4XwGMs22f+kqV0= +github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= +github.com/hashicorp/terraform-json v0.18.0 h1:pCjgJEqqDESv4y0Tzdqfxr/edOIGkjs8keY42xfNBwU= +github.com/hashicorp/terraform-json v0.18.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= +github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI= +github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E= github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY= -github.com/hashicorp/terraform-plugin-framework-validators v0.11.0 h1:DKb1bX7/EPZUTW6F5zdwJzS/EZ/ycVD6JAW5RYOj4f8= -github.com/hashicorp/terraform-plugin-framework-validators v0.11.0/go.mod h1:dzxOiHh7O9CAwc6p8N4mR1H++LtRkl+u+21YNiBVNno= -github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= -github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= +github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= +github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= +github.com/hashicorp/terraform-plugin-go v0.20.0 h1:oqvoUlL+2EUbKNsJbIt3zqqZ7wi6lzn4ufkn/UA51xQ= +github.com/hashicorp/terraform-plugin-go v0.20.0/go.mod h1:Rr8LBdMlY53a3Z/HpP+ZU3/xCDqtKNCkeI9qOyT10QE= github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= -github.com/hashicorp/terraform-plugin-testing v1.4.0 h1:DVIXxw7VHZvnwWVik4HzhpC2yytaJ5FpiHxz5debKmE= -github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno= -github.com/hashicorp/terraform-registry-address v0.2.2/go.mod h1:LtwNbCihUoUZ3RYriyS2wF/lGPB6gF9ICLRtuDk7hSo= +github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= +github.com/hashicorp/terraform-plugin-testing v1.6.0 h1:Wsnfh+7XSVRfwcr2jZYHsnLOnZl7UeaOBvsx6dl/608= +github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE= +github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= +github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= github.com/hashicorp/terraform-svchost v0.1.1/go.mod h1:mNsjQfZyf/Jhz35v6/0LWcv26+X7JPS+buii2c9/ctc= github.com/hashicorp/vault/api v1.7.2/go.mod h1:xbfA+1AvxFseDzxxdWaL0uO99n1+tndus4GCrtouy0M= @@ -1235,10 +1250,11 @@ github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbg github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= github.com/hexops/autogold v1.3.0 h1:IEtGNPxBeBu8RMn8eKWh/Ll9dVNgSnJ7bp/qHgMQ14o= +github.com/hexops/autogold v1.3.0/go.mod h1:d4hwi2rid66Sag+BVuHgwakW/EmaFr8vdTSbWDbrDRI= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= -github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= -github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= +github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= @@ -1250,8 +1266,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20210905161508-09a460cdf81d/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= -github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1311,6 +1325,7 @@ github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJS github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c= +github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -1327,8 +1342,8 @@ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFF github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA= github.com/josharian/native v1.1.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/jsimonetti/rtnetlink v1.3.4 h1:uUcd9SE8sQe/enLBEVaWDkgGYWNsX3EU4eIxbEZYmF0= -github.com/jsimonetti/rtnetlink v1.3.4/go.mod h1:jGCNm5lJdGplEXKCVwqhQ5tRIGV0dNREhLyNWVzBxHc= +github.com/jsimonetti/rtnetlink v1.4.0 h1:Z1BF0fRgcETPEa0Kt0MRk3yV5+kF1FWTni6KUFKrq2I= +github.com/jsimonetti/rtnetlink v1.4.0/go.mod h1:5W1jDvWdnthFJ7fxYX1GMK07BUpI4oskfOqvPteYS6E= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= @@ -1344,8 +1359,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -1358,8 +1371,8 @@ github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdY github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= -github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= +github.com/klauspost/compress v1.17.3 h1:qkRjuerhUU1EmXLYGkSH6EZL+vPSxIrYjLNAK4slzwA= +github.com/klauspost/compress v1.17.3/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= github.com/kolo/xmlrpc v0.0.0-20201022064351-38db28db192b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -1371,6 +1384,7 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= @@ -1411,7 +1425,6 @@ github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= @@ -1429,15 +1442,15 @@ github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOA github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= -github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= -github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= +github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= @@ -1452,8 +1465,6 @@ github.com/mdlayher/netlink v1.7.2 h1:/UtM3ofJap7Vl4QWCPDGXY8d3GIY2UGSDbK+QWmY8/ github.com/mdlayher/netlink v1.7.2/go.mod h1:xraEF7uJbxLhc5fpHL4cPe221LI2bdttWlU+ZGLfQSw= github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U= github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/microsoft/ApplicationInsights-Go v0.4.4/go.mod h1:fKRUseBqkw6bDiXTs3ESTiU/4YTIHsQS4W3fP2ieF4U= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso= @@ -1519,14 +1530,14 @@ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJ github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= -github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= -github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= +github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= -github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= -github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= +github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= +github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= @@ -1545,6 +1556,7 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nightlyone/lockfile v1.0.0 h1:RHep2cFKK4PonZJDdEl4GmkabuhbsRMgk/k3uAmxBiA= +github.com/nightlyone/lockfile v1.0.0/go.mod h1:rywoIealpdNse2r832aiD9jRk8ErCatROs6LzC841CI= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= @@ -1569,6 +1581,7 @@ github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= +github.com/onsi/ginkgo/v2 v2.9.4/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM= github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= @@ -1580,7 +1593,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc= github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0= github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= @@ -1603,8 +1617,9 @@ github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/ github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/opencontainers/runtime-spec v1.1.0-rc.1 h1:wHa9jroFfKGQqFHj0I1fMRKLl0pfj+ynAqBxo3v6u9w= +github.com/opencontainers/runtime-spec v1.1.0-rc.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs= github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE= github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo= @@ -1633,6 +1648,8 @@ github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrap github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= +github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386/go.mod h1:MRxHTJrf9FhdfNQ8Hdeh9gmHevC9RJE/fu8M3JIGjoE= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= @@ -1718,24 +1735,30 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6DDTUnn30= -github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= -github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0 h1:ygYjaQmmCAdxlzHbueJeS5jtEyyQ3MMG+S0dNqL/g8Q= -github.com/pulumi/pulumi-terraform-bridge/pf v0.17.0/go.mod h1:h5+uTlLGVEGh6W4RTIbqVIhL3FSAi0VpImxUTYFM7tU= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= +github.com/pulumi/esc v0.6.1-0.20231111193429-44b746a5b3b5 h1:1DJMji9F7XPea46bSuhy4/85n8J4/Mfz8PWLZtjKKiI= +github.com/pulumi/esc v0.6.1-0.20231111193429-44b746a5b3b5/go.mod h1:Y6W21yUukvxS2NnS5ae1beMSPhMvj0xNAYcDqDHVj/g= +github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mcDqjsivQ= +github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= +github.com/pulumi/pulumi-terraform-bridge/pf v0.21.0 h1:rKL6YQh55C6BTElSzox6VyuDDhxu8zh59qlECe4wkIM= +github.com/pulumi/pulumi-terraform-bridge/pf v0.21.0/go.mod h1:4XbozjoCh9lbGcUD5+83LrjAqzGPQGjya0lavqVq1sQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw= +github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.68.0 h1:HNbo4GeJZP2AjKubxV08o+3K0mt6iNrwbQ//EgPz6bc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.68.0/go.mod h1:FQgtkWHv3rMPVA3OMu8yMHkZA4nGEuvCRwshrs4sw0s= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 h1:uy8P3aaAbrOrGvytvCb2KsYqZMA9TJiY8IKeVQgNAJo= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6/go.mod h1:uw1IN0Mlvi5SL0cmWzmKqZ+ZDNueRIXkr9aE+XQkrug= -github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= -github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= -github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= -github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= -github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= +github.com/pulumi/pulumi-yaml v1.4.3 h1:GO36c7FTl8If20Dn/w2Hi3huP7kmsO00KNaz3GJU0Ws= +github.com/pulumi/pulumi-yaml v1.4.3/go.mod h1:1hwsXFnT7hm2ZeftY5fzjkngjs2eT/rv9MsPE48Leb4= +github.com/pulumi/pulumi/pkg/v3 v3.96.2 h1:d+zDsh4K1j90q/upDRkhgxHkspP20Xxd3g6OaMbw574= +github.com/pulumi/pulumi/pkg/v3 v3.96.2/go.mod h1:lR+q06XrnEqRzJXZ6IeHb4nu+U5fswFcc51Q0MRBTio= +github.com/pulumi/pulumi/sdk/v3 v3.96.2 h1:q5ZKdf+e9JR+a6Eiueg0Ohy6jCQGk9pO2V7xI/qGP3I= +github.com/pulumi/pulumi/sdk/v3 v3.96.2/go.mod h1:yvD23IIRiqIXuo4kaZNe5zK/uT0nhO99wr6BVEqoi7A= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= +github.com/pulumi/terraform-diff-reader v0.0.2/go.mod h1:sZ9FUzGO+yM41hsQHs/yIcj/Y993qMdBxBU5mpDmAfQ= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e h1:blSirnXqvm8JXLxwxelsBroUNRhOHakDO7cgJUYTdpQ= github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e/go.mod h1:qH/34G25Ugdj5FcM95cSoXzUgIbgfhVLXCcEcYaMwq8= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= @@ -1788,28 +1811,30 @@ github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17 h1:lRAUE0dIvigSSFAmaM2dfg7OH8T+a8zJ5smEh09a/GI= +github.com/shurcooL/go-goon v0.0.0-20210110234559-7585751d9a17/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw= github.com/siderolabs/crypto v0.4.1 h1:PP84WSDDyCCbjYKePcc0IaMSPXDndz8V3cQ9hMRSvpA= github.com/siderolabs/crypto v0.4.1/go.mod h1:nJmvkqWy1Hngbzw3eg2TdtJ/ZYHHofQK1NbmmYywW8k= -github.com/siderolabs/gen v0.4.5 h1:rwXUVJlL7hYza1LrSVXfT905ZC9Rgei37jMKKs/+eP0= -github.com/siderolabs/gen v0.4.5/go.mod h1:wS8tFq7sn5vqKAuyS30vJUig3tX5v6q79VG4KfUnILM= -github.com/siderolabs/go-api-signature v0.2.6 h1:X4Q+J7CmyfUHKUR+4x4RqmmSSksQ2pYGDajwVX8ZaJ0= -github.com/siderolabs/go-api-signature v0.2.6/go.mod h1:jt7azUqWctrkn7XuTPunfkWllvGPIfRJW8AS3OVkiqE= -github.com/siderolabs/go-blockdevice v0.4.6 h1:yfxFYzXezzszB0mSF2ZG8jPPampoNXa9r8W8nM0IoZI= -github.com/siderolabs/go-blockdevice v0.4.6/go.mod h1:4PeOuk71pReJj1JQEXDE7kIIQJPVe8a+HZQa+qjxSEA= +github.com/siderolabs/gen v0.4.7 h1:lM69UYggT7yzpubf7hEFaNujPdY55Y9zvQf/NC18GvA= +github.com/siderolabs/gen v0.4.7/go.mod h1:4PBYMdXxTg292IDRq4CGn5AymyDxJVEDvobVKDqFBEA= +github.com/siderolabs/go-api-signature v0.3.1 h1:ePXOxBT2fxRICsDntXed9kivmVK269nZe5UXvOxgtnM= +github.com/siderolabs/go-api-signature v0.3.1/go.mod h1:RZQFRiZ4midsdC9XCGhhWyS8QcIWtpEFeigvqoDPYJY= +github.com/siderolabs/go-blockdevice v0.4.7 h1:2bk4WpEEflGxjrNwp57ye24Pr+cYgAiAeNMWiQOuWbQ= +github.com/siderolabs/go-blockdevice v0.4.7/go.mod h1:4PeOuk71pReJj1JQEXDE7kIIQJPVe8a+HZQa+qjxSEA= github.com/siderolabs/go-pointer v1.0.0 h1:6TshPKep2doDQJAAtHUuHWXbca8ZfyRySjSBT/4GsMU= github.com/siderolabs/go-pointer v1.0.0/go.mod h1:HTRFUNYa3R+k0FFKNv11zgkaCLzEkWVzoYZ433P3kHc= -github.com/siderolabs/go-retry v0.3.2 h1:FzWslFm4y8RY1wU0gIskm0oZHOpsSibZqlR8N8/k4Eo= +github.com/siderolabs/go-retry v0.3.3 h1:zKV+S1vumtO72E6sYsLlmIdV/G/GcYSBLiEx/c9oCEg= +github.com/siderolabs/go-retry v0.3.3/go.mod h1:Ff/VGc7v7un4uQg3DybgrmOWHEmJ8BzZds/XNn/BqMI= github.com/siderolabs/net v0.4.0 h1:1bOgVay/ijPkJz4qct98nHsiB/ysLQU0KLoBC4qLm7I= github.com/siderolabs/net v0.4.0/go.mod h1:/ibG+Hm9HU27agp5r9Q3eZicEfjquzNzQNux5uEk0kM= -github.com/siderolabs/protoenc v0.2.0 h1:QFxWIAo//12+/bm27GNYoK/TpQGTYsRrrZCu9jSghvU= -github.com/siderolabs/protoenc v0.2.0/go.mod h1:mu4gc6pJxhdJYpuloacKE4jsJojj87qDXwn8LUvs2bY= -github.com/siderolabs/talos/pkg/machinery v1.5.2 h1:XENjTuWdcCSgmPK6HsN81RAzN0T9mD8VjaRPM1pQMB8= -github.com/siderolabs/talos/pkg/machinery v1.5.2/go.mod h1:7Mmswfab95ULNclTI4ZGR8hZaQyrjDVfSyYGVECgFBs= -github.com/siderolabs/terraform-provider-talos v0.3.4 h1:Z5Fk2K7TFs0qLuD5N/qhuI+HVGCVNFoG2gFUaVXcdhs= -github.com/siderolabs/terraform-provider-talos v0.3.4/go.mod h1:D+H31jal1sWWTPnAMPv9fsZwI4z2wtHjhQhtt3R47xQ= +github.com/siderolabs/protoenc v0.2.1 h1:BqxEmeWQeMpNP3R6WrPqDatX8sM/r4t97OP8mFmg6GA= +github.com/siderolabs/protoenc v0.2.1/go.mod h1:StTHxjet1g11GpNAWiATgc8K0HMKiFSEVVFOa/H0otc= +github.com/siderolabs/talos/pkg/machinery v1.6.0 h1:wWtiUMyokCQMH2xkHyNsQj2vfGhRUnjBZ9eRI5kXSi4= +github.com/siderolabs/talos/pkg/machinery v1.6.0/go.mod h1:WZ/yDqQLHDfol/gf2qcD2u47+CDX819kEB+RQpAKWAU= +github.com/siderolabs/terraform-provider-talos v0.4.0 h1:ZW/kmbEF8maXqcpaQ1LhWoevwP2gzJGnPpa4Eb+14tY= +github.com/siderolabs/terraform-provider-talos v0.4.0/go.mod h1:EPt8CCYaNMorF+Qn4cdeZiDWYfUG0jnCjSypPbz5z+M= github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= @@ -1918,8 +1943,9 @@ github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1 github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= -github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= -github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= +github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= +github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI= @@ -1951,9 +1977,10 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs= github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA= github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg= -github.com/zclconf/go-cty v1.14.0 h1:/Xrd39K7DXbHzlisFP9c4pHao4yyf+/Ug9LEz+Y/yhc= -github.com/zclconf/go-cty v1.14.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA= +github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-yaml v1.0.1 h1:up11wlgAaDvlAGENcFDnZgkn0qUJurso7k6EpURKNF8= +github.com/zclconf/go-cty-yaml v1.0.1/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -2040,22 +2067,23 @@ go.uber.org/automaxprocs v1.5.1/go.mod h1:BF4eumQw0P9GtnuxxovUd06vwm1o18oMzFtK66 go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= -go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= -go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= +go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= +go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= +go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= gocloud.dev v0.27.0 h1:j0WTUsnKTxCsWO7y8T+YCiBZUmLl9w/WIowqAY3yo0g= gocloud.dev v0.27.0/go.mod h1:YlYKhYsY5/1JdHGWQDkAuqkezVKowu7qbe9aIeUF6p0= gocloud.dev/secrets/hashivault v0.27.0 h1:AAeGJXr0tiHHJgg5tL8atOGktB4eK9EJAqkZbPKAcOo= @@ -2093,14 +2121,13 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/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.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= -golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= +golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= 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= @@ -2111,6 +2138,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ= +golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -2141,8 +2170,8 @@ golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= 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.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= -golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= +golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= 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= @@ -2228,8 +2257,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.16.0 h1:7eBu7KsSvFDtSXUIDbh3aqlK4DPsZ1rByC8PFfBThos= -golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.18.0 h1:mIYleuAkSbHh0tCv7RvjL3F6ZVbLjq4+R7zbOn3Kokg= +golang.org/x/net v0.18.0/go.mod h1:/czyP5RqHAH4odGYxBJ1qz0+CE5WZ+2j1YgoEo8F2jQ= 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= @@ -2259,8 +2288,8 @@ golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg= golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A= -golang.org/x/oauth2 v0.10.0 h1:zHCpF2Khkwy4mMB4bv0U37YtJdTGW8jI0glAApi0Kh8= -golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= +golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= +golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -2277,8 +2306,8 @@ golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2429,8 +2458,8 @@ 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.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -2440,8 +2469,8 @@ 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.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= -golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= +golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= +golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= 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= @@ -2455,8 +2484,8 @@ golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= 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.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= 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= @@ -2469,8 +2498,8 @@ golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.4.0 h1:Z81tqI5ddIoXDPvVQ7/7CC9TnLM7ubaFG2qXYd5BbYY= +golang.org/x/time v0.4.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -2556,8 +2585,8 @@ golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4= 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.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= -golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= +golang.org/x/tools v0.15.0 h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8= +golang.org/x/tools v0.15.0/go.mod h1:hpksKq4dtpQWS1uQ61JkdqWM3LscIS6Slf+VVkm+wQk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -2624,8 +2653,8 @@ google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s= google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70= -google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o= -google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= +google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= +google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -2633,8 +2662,9 @@ google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= +google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk= google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -2757,12 +2787,12 @@ google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqw google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM= google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e h1:xIXmWJ303kJCuogpj0bHq+dcjcZHU+XFyc1I0Yl9cRg= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e h1:z3vDksarJxsAKM5dmEGv0GHwE2hKJ096wZra71Vs4sw= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e h1:S83+ibolgyZ0bqz7KEsUOPErxcv4VzlszxY+31OfB/E= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f h1:Vn+VyHU5guc9KjB5KrjI2q0wCOWEOIh0OEsleqakHJg= +google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f/go.mod h1:nWSwAFPb+qfNJXsoeO3Io7zf4tMSfN8EA8RlDA04GhY= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= +google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 h1:DC7wcm+i+P1rN3Ff07vL+OndGg5OhNddHyTA+ocPqYE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4/go.mod h1:eJVxU6o+4G1PSczBr85xmyvSNYAKvAYgkub40YGomFM= google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= @@ -2809,8 +2839,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.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= -google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= +google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k= +google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= 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= @@ -2876,8 +2906,10 @@ gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= +gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= @@ -2893,8 +2925,8 @@ k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8= k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs= k8s.io/api v0.23.5/go.mod h1:Na4XuKng8PXJ2JsploYYrivXrINeTaycCGcYgF91Xm8= k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg= -k8s.io/api v0.28.0 h1:3j3VPWmN9tTDI68NETBWlDiA9qOiGJ7sdKeufehBYsM= -k8s.io/api v0.28.0/go.mod h1:0l8NZJzB0i/etuWnIXcwfIv+xnDOhL3lLW919AWYDuY= +k8s.io/api v0.28.4 h1:8ZBrLjwosLl/NYgv1P7EQLqoO8MGQApnbgH8tu3BMzY= +k8s.io/api v0.28.4/go.mod h1:axWTGrY88s/5YE+JSt4uUi6NMM+gur1en2REMR7IRj0= k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU= k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc= @@ -2902,8 +2934,8 @@ k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U= k8s.io/apimachinery v0.23.5/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= -k8s.io/apimachinery v0.28.0 h1:ScHS2AG16UlYWk63r46oU3D5y54T53cVI5mMJwwqFNA= -k8s.io/apimachinery v0.28.0/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= +k8s.io/apimachinery v0.28.4 h1:zOSJe1mc+GxuMnFzD4Z/U1wst50X28ZNsn5bhgIIao8= +k8s.io/apimachinery v0.28.4/go.mod h1:wI37ncBvfAoswfq626yPTe6Bz1c22L7uaJ8dho83mgg= k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU= k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM= k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q= @@ -2914,8 +2946,8 @@ k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0= k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y= k8s.io/client-go v0.23.5/go.mod h1:flkeinTO1CirYgzMPRWxUCnV0G4Fbu2vLhYCObnt/r4= k8s.io/client-go v0.24.2/go.mod h1:zg4Xaoo+umDsfCWr4fCnmLEtQXyCNXCvJuSsglNcV30= -k8s.io/client-go v0.28.0 h1:ebcPRDZsCjpj62+cMk1eGNX1QkMdRmQ6lmz5BLoFWeM= -k8s.io/client-go v0.28.0/go.mod h1:0Asy9Xt3U98RypWJmU1ZrRAGKhP6NqDPmptlAzK2kMc= +k8s.io/client-go v0.28.4 h1:Np5ocjlZcTrkyRJ3+T3PkXDpe4UpatQxj85+xjaD2wY= +k8s.io/client-go v0.28.4/go.mod h1:0VDZFpgoZfelyP5Wqu0/r/TRYcLYuJ2U1KEeoaPa1N4= k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0= k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk= k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI= @@ -2961,8 +2993,10 @@ k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= +mvdan.cc/gofumpt v0.1.0/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0= pgregory.net/rapid v0.6.1 h1:4eyrDxyht86tT4Ztm+kvlyNBLIk071gR+ZQdhphc9dQ= +pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= @@ -2985,5 +3019,3 @@ sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= diff --git a/provider/resources.go b/provider/resources.go index 98a88ec..df37e83 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -14,7 +14,7 @@ import ( "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" "github.com/pulumi/pulumi/pkg/v3/codegen/schema" "github.com/pulumiverse/pulumi-talos/provider/pkg/version" - "github.com/siderolabs/terraform-provider-talos/shim" + "github.com/siderolabs/terraform-provider-talos/pkg/talos" ) // all of the talos token components used below. @@ -32,7 +32,7 @@ var metadata []byte // Provider returns additional overlaid schema and metadata associated with the provider.. func Provider() tfbridge.ProviderInfo { info := tfbridge.ProviderInfo{ - P: pf.ShimProvider(shim.NewProvider()), + P: pf.ShimProvider(talos.New()), Name: talosPkg, Description: "A Pulumi package for creating and managing Talos Linux machines and clusters.", Keywords: []string{"pulumi", "talos", "category/infrastructure"}, @@ -240,6 +240,7 @@ func Provider() tfbridge.ProviderInfo { }, DataSources: map[string]*tfbridge.DataSourceInfo{ "talos_client_configuration": {Tok: tfbridge.MakeDataSource(talosPkg, clientMod, "Configuration")}, + "talos_cluster_health": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "Health")}, "talos_cluster_kubeconfig": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "Kubeconfig")}, "talos_machine_configuration": { Tok: tfbridge.MakeDataSource(talosPkg, machineMod, "getConfiguration"), diff --git a/provider/shim/go.mod b/provider/shim/go.mod deleted file mode 100644 index 58b6227..0000000 --- a/provider/shim/go.mod +++ /dev/null @@ -1,111 +0,0 @@ -module github.com/pulumiverse/pulumi-talos/shim - -go 1.20 - -require ( - github.com/hashicorp/terraform-plugin-framework v1.4.1 - github.com/siderolabs/terraform-provider-talos v0.3.4 -) - -require ( - github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect - github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect - github.com/ProtonMail/gopenpgp/v2 v2.7.2 // indirect - github.com/adrg/xdg v0.4.0 // indirect - github.com/agext/levenshtein v1.2.3 // indirect - github.com/cloudflare/circl v1.3.3 // indirect - github.com/containerd/go-cni v1.1.9 // indirect - github.com/containernetworking/cni v1.1.2 // indirect - github.com/cosi-project/runtime v0.3.1 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/dustin/go-humanize v1.0.1 // indirect - github.com/emicklei/go-restful/v3 v3.9.0 // indirect - github.com/evanphx/json-patch v5.6.0+incompatible // indirect - github.com/fatih/color v1.14.1 // indirect - github.com/gertd/go-pluralize v0.2.1 // indirect - github.com/ghodss/yaml v1.0.0 // indirect - github.com/go-logr/logr v1.2.4 // indirect - github.com/go-openapi/jsonpointer v0.19.6 // indirect - github.com/go-openapi/jsonreference v0.20.2 // indirect - github.com/go-openapi/swag v0.22.3 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/google/gnostic-models v0.6.8 // indirect - github.com/google/go-cmp v0.5.9 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/google/pprof v0.0.0-20230406165453-00490a63f317 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-hclog v1.5.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-version v1.6.0 // indirect - github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 // indirect - github.com/hashicorp/terraform-plugin-framework-validators v0.11.0 // indirect - github.com/hashicorp/terraform-plugin-go v0.19.0 // indirect - github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect - github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 // indirect - github.com/imdario/mergo v0.3.13 // indirect - github.com/josharian/intern v1.0.0 // indirect - github.com/josharian/native v1.1.0 // indirect - github.com/jsimonetti/rtnetlink v1.3.4 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.7.7 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.18 // indirect - github.com/mdlayher/ethtool v0.1.0 // indirect - github.com/mdlayher/genetlink v1.3.2 // indirect - github.com/mdlayher/netlink v1.7.2 // indirect - github.com/mdlayher/socket v0.4.1 // indirect - github.com/mitchellh/go-testing-interface v1.14.1 // indirect - github.com/mitchellh/go-wordwrap v1.0.1 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect - github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/rogpeppe/go-internal v1.11.0 // indirect - github.com/ryanuber/go-glob v1.0.0 // indirect - github.com/siderolabs/crypto v0.4.1 // indirect - github.com/siderolabs/gen v0.4.5 // indirect - github.com/siderolabs/go-api-signature v0.2.6 // indirect - github.com/siderolabs/go-blockdevice v0.4.6 // indirect - github.com/siderolabs/go-pointer v1.0.0 // indirect - github.com/siderolabs/net v0.4.0 // indirect - github.com/siderolabs/protoenc v0.2.0 // indirect - github.com/siderolabs/talos/pkg/machinery v1.5.2 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/vmihailenco/msgpack/v5 v5.3.5 // indirect - github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - go.uber.org/atomic v1.10.0 // indirect - go.uber.org/multierr v1.9.0 // indirect - go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.11.0 // indirect - golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.13.0 // indirect - golang.org/x/oauth2 v0.10.0 // indirect - golang.org/x/sync v0.3.0 // indirect - golang.org/x/sys v0.10.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.11.0 // indirect - golang.org/x/time v0.3.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e // indirect - google.golang.org/grpc v1.57.0 // indirect - google.golang.org/protobuf v1.31.0 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.28.0 // indirect - k8s.io/apimachinery v0.28.0 // indirect - k8s.io/client-go v0.28.0 // indirect - k8s.io/klog/v2 v2.100.1 // indirect - k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect - k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect -) diff --git a/provider/shim/go.sum b/provider/shim/go.sum deleted file mode 100644 index b697ad3..0000000 --- a/provider/shim/go.sum +++ /dev/null @@ -1,406 +0,0 @@ -github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= -github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= -github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= -github.com/ProtonMail/gopenpgp/v2 v2.7.2 h1:mIwxSUPezxNYq0RA5106VPWyKC+Ly3FvBUnBJh/7GWw= -github.com/ProtonMail/gopenpgp/v2 v2.7.2/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= -github.com/adrg/xdg v0.4.0 h1:RzRqFcjH4nE5C6oTAxhBtoE2IRyjBSa62SCbyPidvls= -github.com/adrg/xdg v0.4.0/go.mod h1:N6ag73EX4wyxeaoeHctc1mas01KZgsj5tYiAIwqJE/E= -github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= -github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/brianvoe/gofakeit/v6 v6.17.0 h1:obbQTJeHfktJtiZzq0Q1bEpsNUs+yHrYlPVWt7BtmJ4= -github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/cilium/ebpf v0.10.0 h1:nk5HPMeoBXtOzbkZBWym+ZWq1GIiHUsBFXxwewXAHLQ= -github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= -github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/containerd/go-cni v1.1.9 h1:ORi7P1dYzCwVM6XPN4n3CbkuOx/NZ2DOqy+SHRdo9rU= -github.com/containerd/go-cni v1.1.9/go.mod h1:XYrZJ1d5W6E2VOvjffL3IZq0Dz6bsVlERHbekNK90PM= -github.com/containernetworking/cni v1.1.2 h1:wtRGZVv7olUHMOqouPpn3cXJWpJgM6+EUl31EQbXALQ= -github.com/containernetworking/cni v1.1.2/go.mod h1:sDpYKmGVENF3s6uvMvGgldDWeG8dMxakj/u+i9ht9vw= -github.com/cosi-project/runtime v0.3.1 h1:dRGKOlEDKjvuC+VIG4N2Z5iAftaqgS1h3ttmvbK4nMk= -github.com/cosi-project/runtime v0.3.1/go.mod h1:Q+oiWic2l6TaGuIWtUo0E9tL2RDT2APHvjUc/mJtn24= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= -github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= -github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= -github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= -github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w= -github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/gertd/go-pluralize v0.2.1 h1:M3uASbVjMnTsPb0PNqg+E/24Vwigyo/tvyMTtAlLgiA= -github.com/gertd/go-pluralize v0.2.1/go.mod h1:rbYaKDbsXxmRfr8uygAEKhOWsjyrrqrkHVpZvoOp8zk= -github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= -github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= -github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= -github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= -github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20230406165453-00490a63f317 h1:hFhpt7CTmR3DX+b4R19ydQFtofxT0Sv3QsKNMVQYTMQ= -github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 h1:dygLcbEBA+t/P7ck6a8AkXv6juQ4cK0RHBoh32jxhHM= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2/go.mod h1:Ap9RLCIJVtgQg1/BBgVEfypOAySvvlcpcVQkSzJCH4Y= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-checkpoint v0.5.0 h1:MFYpPZCnQqQTE18jFwSII6eUQrD/oxMFp3mlgcqk5mU= -github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= -github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= -github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c= -github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-plugin v1.5.1 h1:oGm7cWBaYIp3lJpx1RUEfLWophprE2EV/KUeqBYo+6k= -github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= -github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek= -github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= -github.com/hashicorp/hc-install v0.5.2 h1:SfwMFnEXVVirpwkDuSF5kymUOhrUxrTq3udEseZdOD0= -github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= -github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= -github.com/hashicorp/terraform-exec v0.18.1 h1:LAbfDvNQU1l0NOQlTuudjczVhHj061fNX5H8XZxHlH4= -github.com/hashicorp/terraform-json v0.17.1 h1:eMfvh/uWggKmY7Pmb3T85u86E2EQg6EQHgyRwf3RkyA= -github.com/hashicorp/terraform-plugin-framework v1.4.1 h1:ZC29MoB3Nbov6axHdgPbMz7799pT5H8kIrM8YAsaVrs= -github.com/hashicorp/terraform-plugin-framework v1.4.1/go.mod h1:XC0hPcQbBvlbxwmjxuV/8sn8SbZRg4XwGMs22f+kqV0= -github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1 h1:gm5b1kHgFFhaKFhm4h2TgvMUlNzFAtUqlcOWnWPm+9E= -github.com/hashicorp/terraform-plugin-framework-timeouts v0.4.1/go.mod h1:MsjL1sQ9L7wGwzJ5RjcI6FzEMdyoBnw+XK8ZnOvQOLY= -github.com/hashicorp/terraform-plugin-framework-validators v0.11.0 h1:DKb1bX7/EPZUTW6F5zdwJzS/EZ/ycVD6JAW5RYOj4f8= -github.com/hashicorp/terraform-plugin-framework-validators v0.11.0/go.mod h1:dzxOiHh7O9CAwc6p8N4mR1H++LtRkl+u+21YNiBVNno= -github.com/hashicorp/terraform-plugin-go v0.19.0 h1:BuZx/6Cp+lkmiG0cOBk6Zps0Cb2tmqQpDM3iAtnhDQU= -github.com/hashicorp/terraform-plugin-go v0.19.0/go.mod h1:EhRSkEPNoylLQntYsk5KrDHTZJh9HQoumZXbOGOXmec= -github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= -github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0 h1:I8efBnjuDrgPjNF1MEypHy48VgcTIUY4X6rOFunrR3Y= -github.com/hashicorp/terraform-plugin-sdk/v2 v2.27.0/go.mod h1:cUEP4ly/nxlHy5HzD6YRrHydtlheGvGRJDhiWqqVik4= -github.com/hashicorp/terraform-plugin-testing v1.4.0 h1:DVIXxw7VHZvnwWVik4HzhpC2yytaJ5FpiHxz5debKmE= -github.com/hashicorp/terraform-registry-address v0.2.2 h1:lPQBg403El8PPicg/qONZJDC6YlgCVbWDtNmmZKtBno= -github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= -github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA= -github.com/josharian/native v1.1.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= -github.com/jsimonetti/rtnetlink v1.3.4 h1:uUcd9SE8sQe/enLBEVaWDkgGYWNsX3EU4eIxbEZYmF0= -github.com/jsimonetti/rtnetlink v1.3.4/go.mod h1:jGCNm5lJdGplEXKCVwqhQ5tRIGV0dNREhLyNWVzBxHc= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= -github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mdlayher/ethtool v0.1.0 h1:XAWHsmKhyPOo42qq/yTPb0eFBGUKKTR1rE0dVrWVQ0Y= -github.com/mdlayher/ethtool v0.1.0/go.mod h1:fBMLn2UhfRGtcH5ZFjr+6GUiHEjZsItFD7fSn7jbZVQ= -github.com/mdlayher/genetlink v1.3.2 h1:KdrNKe+CTu+IbZnm/GVUMXSqBBLqcGpRDa0xkQy56gw= -github.com/mdlayher/genetlink v1.3.2/go.mod h1:tcC3pkCrPUGIKKsCsp0B3AdaaKuHtaxoJRz3cc+528o= -github.com/mdlayher/netlink v1.7.2 h1:/UtM3ofJap7Vl4QWCPDGXY8d3GIY2UGSDbK+QWmY8/g= -github.com/mdlayher/netlink v1.7.2/go.mod h1:xraEF7uJbxLhc5fpHL4cPe221LI2bdttWlU+ZGLfQSw= -github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U= -github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA= -github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= -github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= -github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= -github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= -github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= -github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= -github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/ginkgo/v2 v2.9.4 h1:xR7vG4IXt5RWx6FfIjyAtsoMAtnc3C/rFXBBd2AjZwE= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= -github.com/onsi/gomega v1.27.6 h1:ENqfyGeS5AX/rlXDd/ETokDz93u0YufY1Pgxuy/PvWE= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3snG66yBm59tKhhSPQrQ/0bCrv1LQbKt40LnUPiUxdc= -github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 h1:KoWmjvw+nsYOo29YJK9vDA65RGE3NrOnUtO7a+RF9HU= -github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= -github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= -github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= -github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= -github.com/siderolabs/crypto v0.4.1 h1:PP84WSDDyCCbjYKePcc0IaMSPXDndz8V3cQ9hMRSvpA= -github.com/siderolabs/crypto v0.4.1/go.mod h1:nJmvkqWy1Hngbzw3eg2TdtJ/ZYHHofQK1NbmmYywW8k= -github.com/siderolabs/gen v0.4.5 h1:rwXUVJlL7hYza1LrSVXfT905ZC9Rgei37jMKKs/+eP0= -github.com/siderolabs/gen v0.4.5/go.mod h1:wS8tFq7sn5vqKAuyS30vJUig3tX5v6q79VG4KfUnILM= -github.com/siderolabs/go-api-signature v0.2.6 h1:X4Q+J7CmyfUHKUR+4x4RqmmSSksQ2pYGDajwVX8ZaJ0= -github.com/siderolabs/go-api-signature v0.2.6/go.mod h1:jt7azUqWctrkn7XuTPunfkWllvGPIfRJW8AS3OVkiqE= -github.com/siderolabs/go-blockdevice v0.4.6 h1:yfxFYzXezzszB0mSF2ZG8jPPampoNXa9r8W8nM0IoZI= -github.com/siderolabs/go-blockdevice v0.4.6/go.mod h1:4PeOuk71pReJj1JQEXDE7kIIQJPVe8a+HZQa+qjxSEA= -github.com/siderolabs/go-pointer v1.0.0 h1:6TshPKep2doDQJAAtHUuHWXbca8ZfyRySjSBT/4GsMU= -github.com/siderolabs/go-pointer v1.0.0/go.mod h1:HTRFUNYa3R+k0FFKNv11zgkaCLzEkWVzoYZ433P3kHc= -github.com/siderolabs/go-retry v0.3.2 h1:FzWslFm4y8RY1wU0gIskm0oZHOpsSibZqlR8N8/k4Eo= -github.com/siderolabs/net v0.4.0 h1:1bOgVay/ijPkJz4qct98nHsiB/ysLQU0KLoBC4qLm7I= -github.com/siderolabs/net v0.4.0/go.mod h1:/ibG+Hm9HU27agp5r9Q3eZicEfjquzNzQNux5uEk0kM= -github.com/siderolabs/protoenc v0.2.0 h1:QFxWIAo//12+/bm27GNYoK/TpQGTYsRrrZCu9jSghvU= -github.com/siderolabs/protoenc v0.2.0/go.mod h1:mu4gc6pJxhdJYpuloacKE4jsJojj87qDXwn8LUvs2bY= -github.com/siderolabs/talos/pkg/machinery v1.5.2 h1:XENjTuWdcCSgmPK6HsN81RAzN0T9mD8VjaRPM1pQMB8= -github.com/siderolabs/talos/pkg/machinery v1.5.2/go.mod h1:7Mmswfab95ULNclTI4ZGR8hZaQyrjDVfSyYGVECgFBs= -github.com/siderolabs/terraform-provider-talos v0.3.4 h1:Z5Fk2K7TFs0qLuD5N/qhuI+HVGCVNFoG2gFUaVXcdhs= -github.com/siderolabs/terraform-provider-talos v0.3.4/go.mod h1:D+H31jal1sWWTPnAMPv9fsZwI4z2wtHjhQhtt3R47xQ= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= -github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= -github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= -github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= -github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= -go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= -go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -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.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/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.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -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.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY= -golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= -golang.org/x/oauth2 v0.10.0 h1:zHCpF2Khkwy4mMB4bv0U37YtJdTGW8jI0glAApi0Kh8= -golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -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.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -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.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.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -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.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -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.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y= -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= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e h1:xIXmWJ303kJCuogpj0bHq+dcjcZHU+XFyc1I0Yl9cRg= -google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e h1:z3vDksarJxsAKM5dmEGv0GHwE2hKJ096wZra71Vs4sw= -google.golang.org/genproto/googleapis/api v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:rsr7RhLuwsDKL7RmgDDCUc6yaGr1iqceVb5Wv6f6YvQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e h1:S83+ibolgyZ0bqz7KEsUOPErxcv4VzlszxY+31OfB/E= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= -google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw= -google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= -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= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.28.0 h1:3j3VPWmN9tTDI68NETBWlDiA9qOiGJ7sdKeufehBYsM= -k8s.io/api v0.28.0/go.mod h1:0l8NZJzB0i/etuWnIXcwfIv+xnDOhL3lLW919AWYDuY= -k8s.io/apimachinery v0.28.0 h1:ScHS2AG16UlYWk63r46oU3D5y54T53cVI5mMJwwqFNA= -k8s.io/apimachinery v0.28.0/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= -k8s.io/client-go v0.28.0 h1:ebcPRDZsCjpj62+cMk1eGNX1QkMdRmQ6lmz5BLoFWeM= -k8s.io/client-go v0.28.0/go.mod h1:0Asy9Xt3U98RypWJmU1ZrRAGKhP6NqDPmptlAzK2kMc= -k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= -k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= -k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= -k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= -k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/provider/shim/shim.go b/provider/shim/shim.go deleted file mode 100644 index b05162d..0000000 --- a/provider/shim/shim.go +++ /dev/null @@ -1,10 +0,0 @@ -package shim - -import ( - tfpf "github.com/hashicorp/terraform-plugin-framework/provider" - "github.com/siderolabs/terraform-provider-talos/internal/talos" -) - -func NewProvider() tfpf.Provider { - return talos.New() -} diff --git a/sdk/go.mod b/sdk/go.mod index d05803e..634be56 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,64 +4,88 @@ go 1.20 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.62.0 + github.com/pulumi/pulumi/sdk/v3 v3.96.2 ) require ( - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect - github.com/acomagu/bufpipe v1.0.3 // indirect + dario.cat/mergo v1.0.0 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect + github.com/acomagu/bufpipe v1.0.4 // indirect github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.24.2 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect github.com/cheggaaa/pb v1.0.29 // indirect - github.com/cloudflare/circl v1.1.0 // indirect + github.com/cloudflare/circl v1.3.3 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/go-git/gcfg v1.5.0 // indirect - github.com/go-git/go-billy/v5 v5.4.0 // indirect - github.com/go-git/go-git/v5 v5.6.0 // indirect - github.com/gofrs/uuid v4.2.0+incompatible // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.9.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.0.0 // indirect - github.com/golang/protobuf v1.5.2 // indirect + github.com/golang/glog v1.1.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.3 // indirect github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/imdario/mergo v0.3.13 // indirect - github.com/inconshreveable/mousetrap v1.0.1 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/mattn/go-isatty v0.0.16 // indirect - github.com/mattn/go-runewidth v0.0.13 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.18 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.14 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect + github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.1 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/fx v0.1.6 // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect - github.com/rivo/uniseg v0.3.4 // indirect - github.com/rogpeppe/go-internal v1.9.0 // indirect + github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect + github.com/pulumi/esc v0.5.6 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.2.0 // indirect - github.com/skeema/knownhosts v1.1.0 // indirect - github.com/spf13/cobra v1.6.1 // indirect + github.com/sergi/go-diff v1.3.1 // indirect + github.com/skeema/knownhosts v1.2.0 // indirect + github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect github.com/uber/jaeger-lib v2.4.1+incompatible // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect go.uber.org/atomic v1.10.0 // indirect - golang.org/x/crypto v0.3.0 // indirect - golang.org/x/net v0.7.0 // indirect - golang.org/x/sys v0.5.0 // indirect - golang.org/x/term v0.5.0 // indirect - golang.org/x/text v0.7.0 // indirect - google.golang.org/genproto v0.0.0-20220908141613-51c1cc9bc6d0 // indirect - google.golang.org/grpc v1.51.0 // indirect - google.golang.org/protobuf v1.28.1 // indirect + golang.org/x/crypto v0.14.0 // indirect + golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect + golang.org/x/mod v0.13.0 // indirect + golang.org/x/net v0.17.0 // indirect + golang.org/x/sync v0.4.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect + golang.org/x/tools v0.14.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 // indirect + google.golang.org/grpc v1.57.1 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect lukechampine.com/frand v1.4.2 // indirect - sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 // indirect ) diff --git a/sdk/go.sum b/sdk/go.sum index 0e8c857..9271982 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -1,58 +1,73 @@ +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I= -github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= -github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk= -github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= +github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/acomagu/bufpipe v1.0.4 h1:e3H4WUzM3npvo5uv95QuJM3cQspFNtFBzvJ2oNjKIDQ= +github.com/acomagu/bufpipe v1.0.4/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= -github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= +github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= +github.com/charmbracelet/bubbletea v0.24.2 h1:uaQIKx9Ai6Gdh5zpTbGiWpytMU+CfsPp06RaW2cx/SY= +github.com/charmbracelet/bubbletea v0.24.2/go.mod h1:XdrNrV4J8GiyshTtx3DNuYkR1FDaJmO3l2nejekbsgg= +github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= +github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/cloudflare/circl v1.1.0 h1:bZgT/A+cikZnKIwn7xL2OBj012Bmvho/o6RpRvv3GKY= -github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= +github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= +github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= +github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= -github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= -github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.4.0 h1:Vaw7LaSTRJOUric7pe4vnzBSgyuf2KrLsu2Y4ZpQBDE= -github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= -github.com/go-git/go-git-fixtures/v4 v4.3.1 h1:y5z6dd3qi8Hl+stezc8p3JxDkoTRqMAlKnXHuzrfjTQ= -github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.6.0 h1:JvBdYfcttd+0kdpuWO7KTu0FYgCf5W0t5VwkWGobaa4= -github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= -github.com/gofrs/uuid v4.2.0+incompatible h1:yyYWMnhkhrKwwr8gAOcOCYxOOscHgDS9yZgBrnJfGa0= -github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= +github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= +github.com/go-git/go-git/v5 v5.9.0 h1:cD9SFA7sHVRdJ7AYck1ZaAa/yeuBvGPxwXDL8cxrObY= +github.com/go-git/go-git/v5 v5.9.0/go.mod h1:RKIqga24sWdMGZF+1Ekv9kylsDz6LzdTSI2s/OsZWE0= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.0.0 h1:nfP3RFugxnNRyKgeWd4oI1nYvXpxrx8ck8ZrcizshdQ= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= +github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= +github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= @@ -60,45 +75,58 @@ github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= -github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= -github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= +github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= +github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= +github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A= github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA= github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= +github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= +github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU= -github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= +github.com/mattn/go-runewidth v0.0.14 h1:+xnbZSEeDbOIg5/mE6JF0w6n9duR1l3/WmbinWVwUuU= +github.com/mattn/go-runewidth v0.0.14/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b h1:1XF24mVaiu7u+CFywTdcDo2ie1pzzhwjt6RHqzpMU34= +github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b/go.mod h1:fQuZ0gauxyBcmsdE3ZT4NasjaRdxmbCS0jRHsrWu3Ho= +github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= +github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= +github.com/muesli/termenv v0.15.1 h1:UzuTb/+hhlBugQz28rpzey4ZuKcZ03MeKsoG7IJZIxs= +github.com/muesli/termenv v0.15.1/go.mod h1:HeAQPTzpfs016yGtA4g00CsdYnVLJvxsS4ANqrZs2sQ= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= +github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= +github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= @@ -107,26 +135,30 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.62.0 h1:j0n83nwCvnBakw0QHYRTNPnYr0hKs21tJervE+LrjCY= -github.com/pulumi/pulumi/sdk/v3 v3.62.0/go.mod h1:Pb5H3OaRZg0n4TRIfY0pagR/NBIEvjp3lZe2Spr6Umc= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= +github.com/pulumi/esc v0.5.6 h1:4WV3X7OEVcChIwbSG+JxhZDdmq/q7lFPaSjHRYlPwmI= +github.com/pulumi/esc v0.5.6/go.mod h1:wpwNfVS5fV7Kd51j4dJ6FWYlKfxdqyppgp0gtkzqH04= +github.com/pulumi/pulumi/sdk/v3 v3.96.2 h1:q5ZKdf+e9JR+a6Eiueg0Ohy6jCQGk9pO2V7xI/qGP3I= +github.com/pulumi/pulumi/sdk/v3 v3.96.2/go.mod h1:yvD23IIRiqIXuo4kaZNe5zK/uT0nhO99wr6BVEqoi7A= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.3.4 h1:3Z3Eu6FGHZWSfNKJTOUiPatWwfc7DzJRU04jFUqJODw= -github.com/rivo/uniseg v0.3.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= -github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= +github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.1.0 h1:Wvr9V0MxhjRbl3f9nMnKnFfiWTJmtECJ9Njkea3ysW0= -github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= -github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA= -github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY= +github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= +github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= @@ -136,8 +168,7 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= @@ -151,25 +182,29 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= -golang.org/x/crypto v0.3.0 h1:a06MkbcxBrEFc0w0QIZWXrH/9cCX6KJyWbBOIwAn+7A= -golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= +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.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc= +golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= +golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/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.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.13.0 h1:I/DsJXRlw/8l/0c24sM9yb0T4z9liZTduXvdAWYiysY= +golang.org/x/mod v0.13.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -178,55 +213,56 @@ golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= -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.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +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.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= 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.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= +golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= 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.0.0-20220722155259-a9ba230a4035/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 h1:n2a8QNdAb0sZNpU9R1ALUXBbY+w51fCQDN+7EdxNBsY= 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.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= 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 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= 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.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -234,36 +270,32 @@ golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.14.0 h1:jvNa2pY0M4r62jkRQ6RwEZZyPcymeL9XZMLBbV7U2nc= +golang.org/x/tools v0.14.0/go.mod h1:uYBEerGOWcJyEORxN+Ek8+TT266gXkNlHdJBwexUsBg= 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= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto v0.0.0-20220908141613-51c1cc9bc6d0 h1:bMz0aY2wd9TwUp9M7QfjBWuQqaFD/ZaTtvDpPDCo2Ow= -google.golang.org/genproto v0.0.0-20220908141613-51c1cc9bc6d0/go.mod h1:rQWNQYp1kbHR3+n5cARSTCF5rlJOttUn8yIhRklGAWQ= -google.golang.org/grpc v1.51.0 h1:E1eGv1FTqoLIdnBCZufiSHgKjlqG6fKFf6pPWtMTh8U= -google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130 h1:2FZP5XuJY9zQyGM5N0rtovnoXjiMUEIUMvw0m9wlpLc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= +google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg= +google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= -sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= From 10437c0e0925ab910fdb7245aabe72252924b3ca Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Mon, 18 Dec 2023 15:09:09 +0100 Subject: [PATCH 2/4] make build_sdks --- sdk/dotnet/Cluster/Health.cs | 183 +++++ .../Inputs/HealthClientConfiguration.cs | 45 ++ .../Inputs/HealthClientConfigurationArgs.cs | 49 ++ sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs | 27 + .../Cluster/Inputs/HealthTimeoutsArgs.cs | 27 + sdk/dotnet/Cluster/Kubeconfig.cs | 6 +- .../HealthClientConfigurationResult.cs | 43 ++ .../Cluster/Outputs/HealthTimeoutsResult.cs | 28 + sdk/dotnet/Machine/Disks.cs | 6 +- sdk/go/talos/client/configuration.go | 7 - sdk/go/talos/client/pulumiTypes.go | 13 - sdk/go/talos/cluster/health.go | 129 ++++ sdk/go/talos/cluster/kubeconfig.go | 23 +- sdk/go/talos/cluster/pulumiTypes.go | 262 +++++-- sdk/go/talos/internal/pulumiUtilities.go | 71 ++ sdk/go/talos/machine/bootstrap.go | 37 - sdk/go/talos/machine/configurationApply.go | 37 - sdk/go/talos/machine/disks.go | 15 +- sdk/go/talos/machine/getConfiguration.go | 7 - sdk/go/talos/machine/pulumiTypes.go | 721 ------------------ sdk/go/talos/machine/secrets.go | 37 - sdk/go/talos/provider.go | 13 - sdk/nodejs/cluster/health.ts | 101 +++ sdk/nodejs/cluster/index.ts | 5 + sdk/nodejs/cluster/kubeconfig.ts | 12 +- sdk/nodejs/machine/disks.ts | 6 +- sdk/nodejs/tsconfig.json | 1 + sdk/nodejs/types/input.ts | 44 ++ sdk/nodejs/types/output.ts | 22 + sdk/nodejs/utilities.ts | 29 + sdk/python/pulumiverse_talos/_utilities.py | 41 + .../pulumiverse_talos/client/_inputs.py | 21 +- .../pulumiverse_talos/client/configuration.py | 2 +- .../pulumiverse_talos/client/outputs.py | 21 +- .../pulumiverse_talos/cluster/__init__.py | 1 + .../pulumiverse_talos/cluster/_inputs.py | 109 ++- .../pulumiverse_talos/cluster/health.py | 155 ++++ .../pulumiverse_talos/cluster/kubeconfig.py | 11 +- .../pulumiverse_talos/cluster/outputs.py | 116 +-- .../pulumiverse_talos/machine/_inputs.py | 392 ++-------- .../pulumiverse_talos/machine/bootstrap.py | 62 +- .../machine/configuration_apply.py | 90 +-- sdk/python/pulumiverse_talos/machine/disks.py | 8 +- .../machine/get_configuration.py | 2 +- .../pulumiverse_talos/machine/outputs.py | 318 ++------ .../pulumiverse_talos/machine/secrets.py | 36 +- sdk/python/pulumiverse_talos/provider.py | 11 +- 47 files changed, 1564 insertions(+), 1838 deletions(-) create mode 100644 sdk/dotnet/Cluster/Health.cs create mode 100644 sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs create mode 100644 sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs create mode 100644 sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs create mode 100644 sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs create mode 100644 sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs create mode 100644 sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs create mode 100644 sdk/go/talos/cluster/health.go create mode 100644 sdk/nodejs/cluster/health.ts create mode 100644 sdk/python/pulumiverse_talos/cluster/health.py diff --git a/sdk/dotnet/Cluster/Health.cs b/sdk/dotnet/Cluster/Health.cs new file mode 100644 index 0000000..47cfde1 --- /dev/null +++ b/sdk/dotnet/Cluster/Health.cs @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster +{ + public static class Health + { + /// + /// Checks the health of a Talos cluster + /// + public static Task InvokeAsync(HealthArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("talos:cluster/health:Health", args ?? new HealthArgs(), options.WithDefaults()); + + /// + /// Checks the health of a Talos cluster + /// + public static Output Invoke(HealthInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("talos:cluster/health:Health", args ?? new HealthInvokeArgs(), options.WithDefaults()); + } + + + public sealed class HealthArgs : global::Pulumi.InvokeArgs + { + /// + /// The client configuration data + /// + [Input("clientConfiguration", required: true)] + public Inputs.HealthClientConfigurationArgs ClientConfiguration { get; set; } = null!; + + [Input("controlPlaneNodes", required: true)] + private List? _controlPlaneNodes; + + /// + /// List of control plane nodes to check for health. + /// + public List ControlPlaneNodes + { + get => _controlPlaneNodes ?? (_controlPlaneNodes = new List()); + set => _controlPlaneNodes = value; + } + + [Input("endpoints", required: true)] + private List? _endpoints; + + /// + /// endpoints to use for the health check client. Use at least one control plane endpoint. + /// + public List Endpoints + { + get => _endpoints ?? (_endpoints = new List()); + set => _endpoints = value; + } + + [Input("timeouts")] + public Inputs.HealthTimeoutsArgs? Timeouts { get; set; } + + [Input("workerNodes")] + private List? _workerNodes; + + /// + /// List of worker nodes to check for health. + /// + public List WorkerNodes + { + get => _workerNodes ?? (_workerNodes = new List()); + set => _workerNodes = value; + } + + public HealthArgs() + { + } + public static new HealthArgs Empty => new HealthArgs(); + } + + public sealed class HealthInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The client configuration data + /// + [Input("clientConfiguration", required: true)] + public Input ClientConfiguration { get; set; } = null!; + + [Input("controlPlaneNodes", required: true)] + private InputList? _controlPlaneNodes; + + /// + /// List of control plane nodes to check for health. + /// + public InputList ControlPlaneNodes + { + get => _controlPlaneNodes ?? (_controlPlaneNodes = new InputList()); + set => _controlPlaneNodes = value; + } + + [Input("endpoints", required: true)] + private InputList? _endpoints; + + /// + /// endpoints to use for the health check client. Use at least one control plane endpoint. + /// + public InputList Endpoints + { + get => _endpoints ?? (_endpoints = new InputList()); + set => _endpoints = value; + } + + [Input("timeouts")] + public Input? Timeouts { get; set; } + + [Input("workerNodes")] + private InputList? _workerNodes; + + /// + /// List of worker nodes to check for health. + /// + public InputList WorkerNodes + { + get => _workerNodes ?? (_workerNodes = new InputList()); + set => _workerNodes = value; + } + + public HealthInvokeArgs() + { + } + public static new HealthInvokeArgs Empty => new HealthInvokeArgs(); + } + + + [OutputType] + public sealed class HealthResult + { + /// + /// The client configuration data + /// + public readonly Outputs.HealthClientConfigurationResult ClientConfiguration; + /// + /// List of control plane nodes to check for health. + /// + public readonly ImmutableArray ControlPlaneNodes; + /// + /// endpoints to use for the health check client. Use at least one control plane endpoint. + /// + public readonly ImmutableArray Endpoints; + /// + /// The ID of this resource. + /// + public readonly string Id; + public readonly Outputs.HealthTimeoutsResult? Timeouts; + /// + /// List of worker nodes to check for health. + /// + public readonly ImmutableArray WorkerNodes; + + [OutputConstructor] + private HealthResult( + Outputs.HealthClientConfigurationResult clientConfiguration, + + ImmutableArray controlPlaneNodes, + + ImmutableArray endpoints, + + string id, + + Outputs.HealthTimeoutsResult? timeouts, + + ImmutableArray workerNodes) + { + ClientConfiguration = clientConfiguration; + ControlPlaneNodes = controlPlaneNodes; + Endpoints = endpoints; + Id = id; + Timeouts = timeouts; + WorkerNodes = workerNodes; + } + } +} diff --git a/sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs b/sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs new file mode 100644 index 0000000..5f957e0 --- /dev/null +++ b/sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Inputs +{ + + public sealed class HealthClientConfigurationArgs : global::Pulumi.InvokeArgs + { + /// + /// The client CA certificate + /// + [Input("caCertificate", required: true)] + public string CaCertificate { get; set; } = null!; + + /// + /// The client certificate + /// + [Input("clientCertificate", required: true)] + public string ClientCertificate { get; set; } = null!; + + [Input("clientKey", required: true)] + private string? _clientKey; + + /// + /// The client key + /// + public string? ClientKey + { + get => _clientKey; + set => _clientKey = value; + } + + public HealthClientConfigurationArgs() + { + } + public static new HealthClientConfigurationArgs Empty => new HealthClientConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs b/sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs new file mode 100644 index 0000000..c8660e1 --- /dev/null +++ b/sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Inputs +{ + + public sealed class HealthClientConfigurationInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The client CA certificate + /// + [Input("caCertificate", required: true)] + public Input CaCertificate { get; set; } = null!; + + /// + /// The client certificate + /// + [Input("clientCertificate", required: true)] + public Input ClientCertificate { get; set; } = null!; + + [Input("clientKey", required: true)] + private Input? _clientKey; + + /// + /// The client key + /// + public Input? ClientKey + { + get => _clientKey; + set + { + var emptySecret = Output.CreateSecret(0); + _clientKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + public HealthClientConfigurationInputArgs() + { + } + public static new HealthClientConfigurationInputArgs Empty => new HealthClientConfigurationInputArgs(); + } +} diff --git a/sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs b/sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs new file mode 100644 index 0000000..6b6f445 --- /dev/null +++ b/sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Inputs +{ + + public sealed class HealthTimeoutsArgs : global::Pulumi.InvokeArgs + { + /// + /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + /// + [Input("read")] + public string? Read { get; set; } + + public HealthTimeoutsArgs() + { + } + public static new HealthTimeoutsArgs Empty => new HealthTimeoutsArgs(); + } +} diff --git a/sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs b/sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs new file mode 100644 index 0000000..7e5bc6b --- /dev/null +++ b/sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Inputs +{ + + public sealed class HealthTimeoutsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + /// + [Input("read")] + public Input? Read { get; set; } + + public HealthTimeoutsInputArgs() + { + } + public static new HealthTimeoutsInputArgs Empty => new HealthTimeoutsInputArgs(); + } +} diff --git a/sdk/dotnet/Cluster/Kubeconfig.cs b/sdk/dotnet/Cluster/Kubeconfig.cs index f6b15c5..a8fe714 100644 --- a/sdk/dotnet/Cluster/Kubeconfig.cs +++ b/sdk/dotnet/Cluster/Kubeconfig.cs @@ -35,7 +35,7 @@ public sealed class KubeconfigArgs : global::Pulumi.InvokeArgs public Inputs.KubeconfigClientConfigurationArgs ClientConfiguration { get; set; } = null!; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// [Input("endpoint")] public string? Endpoint { get; set; } @@ -70,7 +70,7 @@ public sealed class KubeconfigInvokeArgs : global::Pulumi.InvokeArgs public Input ClientConfiguration { get; set; } = null!; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// [Input("endpoint")] public Input? Endpoint { get; set; } @@ -105,7 +105,7 @@ public sealed class KubeconfigResult /// public readonly Outputs.KubeconfigClientConfigurationResult ClientConfiguration; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// public readonly string Endpoint; /// diff --git a/sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs b/sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs new file mode 100644 index 0000000..f82a820 --- /dev/null +++ b/sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Outputs +{ + + [OutputType] + public sealed class HealthClientConfigurationResult + { + /// + /// The client CA certificate + /// + public readonly string CaCertificate; + /// + /// The client certificate + /// + public readonly string ClientCertificate; + /// + /// The client key + /// + public readonly string ClientKey; + + [OutputConstructor] + private HealthClientConfigurationResult( + string caCertificate, + + string clientCertificate, + + string clientKey) + { + CaCertificate = caCertificate; + ClientCertificate = clientCertificate; + ClientKey = clientKey; + } + } +} diff --git a/sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs b/sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs new file mode 100644 index 0000000..b06921d --- /dev/null +++ b/sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Talos.Cluster.Outputs +{ + + [OutputType] + public sealed class HealthTimeoutsResult + { + /// + /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + /// + public readonly string? Read; + + [OutputConstructor] + private HealthTimeoutsResult(string? read) + { + Read = read; + } + } +} diff --git a/sdk/dotnet/Machine/Disks.cs b/sdk/dotnet/Machine/Disks.cs index 3493778..4f411fc 100644 --- a/sdk/dotnet/Machine/Disks.cs +++ b/sdk/dotnet/Machine/Disks.cs @@ -109,7 +109,7 @@ public sealed class DisksArgs : global::Pulumi.InvokeArgs public Inputs.DisksClientConfigurationArgs ClientConfiguration { get; set; } = null!; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// [Input("endpoint")] public string? Endpoint { get; set; } @@ -144,7 +144,7 @@ public sealed class DisksInvokeArgs : global::Pulumi.InvokeArgs public Input ClientConfiguration { get; set; } = null!; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// [Input("endpoint")] public Input? Endpoint { get; set; } @@ -183,7 +183,7 @@ public sealed class DisksResult /// public readonly ImmutableArray Disks; /// - /// endpoint to use for the talosclient. if not set, the node value will be used + /// endpoint to use for the talosclient. If not set, the node value will be used /// public readonly string Endpoint; /// diff --git a/sdk/go/talos/client/configuration.go b/sdk/go/talos/client/configuration.go index 07e94ba..8e115a7 100644 --- a/sdk/go/talos/client/configuration.go +++ b/sdk/go/talos/client/configuration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -127,12 +126,6 @@ func (o ConfigurationResultOutput) ToConfigurationResultOutputWithContext(ctx co return o } -func (o ConfigurationResultOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigurationResult] { - return pulumix.Output[ConfigurationResult]{ - OutputState: o.OutputState, - } -} - // The client configuration data func (o ConfigurationResultOutput) ClientConfiguration() ConfigurationClientConfigurationOutput { return o.ApplyT(func(v ConfigurationResult) ConfigurationClientConfiguration { return v.ClientConfiguration }).(ConfigurationClientConfigurationOutput) diff --git a/sdk/go/talos/client/pulumiTypes.go b/sdk/go/talos/client/pulumiTypes.go index 63a2ae8..b776253 100644 --- a/sdk/go/talos/client/pulumiTypes.go +++ b/sdk/go/talos/client/pulumiTypes.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -55,12 +54,6 @@ func (i ConfigurationClientConfigurationArgs) ToConfigurationClientConfiguration return pulumi.ToOutputWithContext(ctx, i).(ConfigurationClientConfigurationOutput) } -func (i ConfigurationClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigurationClientConfiguration] { - return pulumix.Output[ConfigurationClientConfiguration]{ - OutputState: i.ToConfigurationClientConfigurationOutputWithContext(ctx).OutputState, - } -} - type ConfigurationClientConfigurationOutput struct{ *pulumi.OutputState } func (ConfigurationClientConfigurationOutput) ElementType() reflect.Type { @@ -75,12 +68,6 @@ func (o ConfigurationClientConfigurationOutput) ToConfigurationClientConfigurati return o } -func (o ConfigurationClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigurationClientConfiguration] { - return pulumix.Output[ConfigurationClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o ConfigurationClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v ConfigurationClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) diff --git a/sdk/go/talos/cluster/health.go b/sdk/go/talos/cluster/health.go new file mode 100644 index 0000000..c6db889 --- /dev/null +++ b/sdk/go/talos/cluster/health.go @@ -0,0 +1,129 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cluster + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" +) + +// Checks the health of a Talos cluster +func Health(ctx *pulumi.Context, args *HealthArgs, opts ...pulumi.InvokeOption) (*HealthResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv HealthResult + err := ctx.Invoke("talos:cluster/health:Health", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking Health. +type HealthArgs struct { + // The client configuration data + ClientConfiguration HealthClientConfiguration `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints []string `pulumi:"endpoints"` + Timeouts *HealthTimeouts `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes []string `pulumi:"workerNodes"` +} + +// A collection of values returned by Health. +type HealthResult struct { + // The client configuration data + ClientConfiguration HealthClientConfiguration `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints []string `pulumi:"endpoints"` + // The ID of this resource. + Id string `pulumi:"id"` + Timeouts *HealthTimeouts `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes []string `pulumi:"workerNodes"` +} + +func HealthOutput(ctx *pulumi.Context, args HealthOutputArgs, opts ...pulumi.InvokeOption) HealthResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (HealthResult, error) { + args := v.(HealthArgs) + r, err := Health(ctx, &args, opts...) + var s HealthResult + if r != nil { + s = *r + } + return s, err + }).(HealthResultOutput) +} + +// A collection of arguments for invoking Health. +type HealthOutputArgs struct { + // The client configuration data + ClientConfiguration HealthClientConfigurationInput `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes pulumi.StringArrayInput `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` + Timeouts HealthTimeoutsPtrInput `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes pulumi.StringArrayInput `pulumi:"workerNodes"` +} + +func (HealthOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HealthArgs)(nil)).Elem() +} + +// A collection of values returned by Health. +type HealthResultOutput struct{ *pulumi.OutputState } + +func (HealthResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HealthResult)(nil)).Elem() +} + +func (o HealthResultOutput) ToHealthResultOutput() HealthResultOutput { + return o +} + +func (o HealthResultOutput) ToHealthResultOutputWithContext(ctx context.Context) HealthResultOutput { + return o +} + +// The client configuration data +func (o HealthResultOutput) ClientConfiguration() HealthClientConfigurationOutput { + return o.ApplyT(func(v HealthResult) HealthClientConfiguration { return v.ClientConfiguration }).(HealthClientConfigurationOutput) +} + +// List of control plane nodes to check for health. +func (o HealthResultOutput) ControlPlaneNodes() pulumi.StringArrayOutput { + return o.ApplyT(func(v HealthResult) []string { return v.ControlPlaneNodes }).(pulumi.StringArrayOutput) +} + +// endpoints to use for the health check client. Use at least one control plane endpoint. +func (o HealthResultOutput) Endpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v HealthResult) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +} + +// The ID of this resource. +func (o HealthResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v HealthResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o HealthResultOutput) Timeouts() HealthTimeoutsPtrOutput { + return o.ApplyT(func(v HealthResult) *HealthTimeouts { return v.Timeouts }).(HealthTimeoutsPtrOutput) +} + +// List of worker nodes to check for health. +func (o HealthResultOutput) WorkerNodes() pulumi.StringArrayOutput { + return o.ApplyT(func(v HealthResult) []string { return v.WorkerNodes }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(HealthResultOutput{}) +} diff --git a/sdk/go/talos/cluster/kubeconfig.go b/sdk/go/talos/cluster/kubeconfig.go index faecb51..ed9b7a5 100644 --- a/sdk/go/talos/cluster/kubeconfig.go +++ b/sdk/go/talos/cluster/kubeconfig.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -27,12 +26,14 @@ func Kubeconfig(ctx *pulumi.Context, args *KubeconfigArgs, opts ...pulumi.Invoke type KubeconfigArgs struct { // The client configuration data ClientConfiguration KubeconfigClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint *string `pulumi:"endpoint"` // controlplane node to retrieve the kubeconfig from Node string `pulumi:"node"` Timeouts *KubeconfigTimeouts `pulumi:"timeouts"` // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. Wait *bool `pulumi:"wait"` } @@ -40,7 +41,7 @@ type KubeconfigArgs struct { type KubeconfigResult struct { // The client configuration data ClientConfiguration KubeconfigClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint string `pulumi:"endpoint"` // The ID of this resource. Id string `pulumi:"id"` @@ -52,6 +53,8 @@ type KubeconfigResult struct { Node string `pulumi:"node"` Timeouts *KubeconfigTimeouts `pulumi:"timeouts"` // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. Wait *bool `pulumi:"wait"` } @@ -72,12 +75,14 @@ func KubeconfigOutput(ctx *pulumi.Context, args KubeconfigOutputArgs, opts ...pu type KubeconfigOutputArgs struct { // The client configuration data ClientConfiguration KubeconfigClientConfigurationInput `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` // controlplane node to retrieve the kubeconfig from Node pulumi.StringInput `pulumi:"node"` Timeouts KubeconfigTimeoutsPtrInput `pulumi:"timeouts"` // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. Wait pulumi.BoolPtrInput `pulumi:"wait"` } @@ -100,18 +105,12 @@ func (o KubeconfigResultOutput) ToKubeconfigResultOutputWithContext(ctx context. return o } -func (o KubeconfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[KubeconfigResult] { - return pulumix.Output[KubeconfigResult]{ - OutputState: o.OutputState, - } -} - // The client configuration data func (o KubeconfigResultOutput) ClientConfiguration() KubeconfigClientConfigurationOutput { return o.ApplyT(func(v KubeconfigResult) KubeconfigClientConfiguration { return v.ClientConfiguration }).(KubeconfigClientConfigurationOutput) } -// endpoint to use for the talosclient. if not set, the node value will be used +// endpoint to use for the talosclient. If not set, the node value will be used func (o KubeconfigResultOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v KubeconfigResult) string { return v.Endpoint }).(pulumi.StringOutput) } @@ -143,6 +142,8 @@ func (o KubeconfigResultOutput) Timeouts() KubeconfigTimeoutsPtrOutput { } // Wait for the kubernetes api to be available +// +// Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. func (o KubeconfigResultOutput) Wait() pulumi.BoolPtrOutput { return o.ApplyT(func(v KubeconfigResult) *bool { return v.Wait }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/talos/cluster/pulumiTypes.go b/sdk/go/talos/cluster/pulumiTypes.go index 8216728..14147c9 100644 --- a/sdk/go/talos/cluster/pulumiTypes.go +++ b/sdk/go/talos/cluster/pulumiTypes.go @@ -8,12 +8,218 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) var _ = internal.GetEnvOrDefault +type HealthClientConfiguration struct { + // The client CA certificate + CaCertificate string `pulumi:"caCertificate"` + // The client certificate + ClientCertificate string `pulumi:"clientCertificate"` + // The client key + ClientKey string `pulumi:"clientKey"` +} + +// HealthClientConfigurationInput is an input type that accepts HealthClientConfigurationArgs and HealthClientConfigurationOutput values. +// You can construct a concrete instance of `HealthClientConfigurationInput` via: +// +// HealthClientConfigurationArgs{...} +type HealthClientConfigurationInput interface { + pulumi.Input + + ToHealthClientConfigurationOutput() HealthClientConfigurationOutput + ToHealthClientConfigurationOutputWithContext(context.Context) HealthClientConfigurationOutput +} + +type HealthClientConfigurationArgs struct { + // The client CA certificate + CaCertificate pulumi.StringInput `pulumi:"caCertificate"` + // The client certificate + ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"` + // The client key + ClientKey pulumi.StringInput `pulumi:"clientKey"` +} + +func (HealthClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HealthClientConfiguration)(nil)).Elem() +} + +func (i HealthClientConfigurationArgs) ToHealthClientConfigurationOutput() HealthClientConfigurationOutput { + return i.ToHealthClientConfigurationOutputWithContext(context.Background()) +} + +func (i HealthClientConfigurationArgs) ToHealthClientConfigurationOutputWithContext(ctx context.Context) HealthClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(HealthClientConfigurationOutput) +} + +type HealthClientConfigurationOutput struct{ *pulumi.OutputState } + +func (HealthClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HealthClientConfiguration)(nil)).Elem() +} + +func (o HealthClientConfigurationOutput) ToHealthClientConfigurationOutput() HealthClientConfigurationOutput { + return o +} + +func (o HealthClientConfigurationOutput) ToHealthClientConfigurationOutputWithContext(ctx context.Context) HealthClientConfigurationOutput { + return o +} + +// The client CA certificate +func (o HealthClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v HealthClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) +} + +// The client certificate +func (o HealthClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v HealthClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) +} + +// The client key +func (o HealthClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v HealthClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +} + +type HealthTimeouts struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + Read *string `pulumi:"read"` +} + +// HealthTimeoutsInput is an input type that accepts HealthTimeoutsArgs and HealthTimeoutsOutput values. +// You can construct a concrete instance of `HealthTimeoutsInput` via: +// +// HealthTimeoutsArgs{...} +type HealthTimeoutsInput interface { + pulumi.Input + + ToHealthTimeoutsOutput() HealthTimeoutsOutput + ToHealthTimeoutsOutputWithContext(context.Context) HealthTimeoutsOutput +} + +type HealthTimeoutsArgs struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + Read pulumi.StringPtrInput `pulumi:"read"` +} + +func (HealthTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HealthTimeouts)(nil)).Elem() +} + +func (i HealthTimeoutsArgs) ToHealthTimeoutsOutput() HealthTimeoutsOutput { + return i.ToHealthTimeoutsOutputWithContext(context.Background()) +} + +func (i HealthTimeoutsArgs) ToHealthTimeoutsOutputWithContext(ctx context.Context) HealthTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsOutput) +} + +func (i HealthTimeoutsArgs) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { + return i.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i HealthTimeoutsArgs) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsOutput).ToHealthTimeoutsPtrOutputWithContext(ctx) +} + +// HealthTimeoutsPtrInput is an input type that accepts HealthTimeoutsArgs, HealthTimeoutsPtr and HealthTimeoutsPtrOutput values. +// You can construct a concrete instance of `HealthTimeoutsPtrInput` via: +// +// HealthTimeoutsArgs{...} +// +// or: +// +// nil +type HealthTimeoutsPtrInput interface { + pulumi.Input + + ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput + ToHealthTimeoutsPtrOutputWithContext(context.Context) HealthTimeoutsPtrOutput +} + +type healthTimeoutsPtrType HealthTimeoutsArgs + +func HealthTimeoutsPtr(v *HealthTimeoutsArgs) HealthTimeoutsPtrInput { + return (*healthTimeoutsPtrType)(v) +} + +func (*healthTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**HealthTimeouts)(nil)).Elem() +} + +func (i *healthTimeoutsPtrType) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { + return i.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *healthTimeoutsPtrType) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsPtrOutput) +} + +type HealthTimeoutsOutput struct{ *pulumi.OutputState } + +func (HealthTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HealthTimeouts)(nil)).Elem() +} + +func (o HealthTimeoutsOutput) ToHealthTimeoutsOutput() HealthTimeoutsOutput { + return o +} + +func (o HealthTimeoutsOutput) ToHealthTimeoutsOutputWithContext(ctx context.Context) HealthTimeoutsOutput { + return o +} + +func (o HealthTimeoutsOutput) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { + return o.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o HealthTimeoutsOutput) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v HealthTimeouts) *HealthTimeouts { + return &v + }).(HealthTimeoutsPtrOutput) +} + +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. +func (o HealthTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v HealthTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +type HealthTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (HealthTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HealthTimeouts)(nil)).Elem() +} + +func (o HealthTimeoutsPtrOutput) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { + return o +} + +func (o HealthTimeoutsPtrOutput) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { + return o +} + +func (o HealthTimeoutsPtrOutput) Elem() HealthTimeoutsOutput { + return o.ApplyT(func(v *HealthTimeouts) HealthTimeouts { + if v != nil { + return *v + } + var ret HealthTimeouts + return ret + }).(HealthTimeoutsOutput) +} + +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. +func (o HealthTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HealthTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + type KubeconfigClientConfiguration struct { // The client CA certificate CaCertificate string `pulumi:"caCertificate"` @@ -55,12 +261,6 @@ func (i KubeconfigClientConfigurationArgs) ToKubeconfigClientConfigurationOutput return pulumi.ToOutputWithContext(ctx, i).(KubeconfigClientConfigurationOutput) } -func (i KubeconfigClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[KubeconfigClientConfiguration] { - return pulumix.Output[KubeconfigClientConfiguration]{ - OutputState: i.ToKubeconfigClientConfigurationOutputWithContext(ctx).OutputState, - } -} - type KubeconfigClientConfigurationOutput struct{ *pulumi.OutputState } func (KubeconfigClientConfigurationOutput) ElementType() reflect.Type { @@ -75,12 +275,6 @@ func (o KubeconfigClientConfigurationOutput) ToKubeconfigClientConfigurationOutp return o } -func (o KubeconfigClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[KubeconfigClientConfiguration] { - return pulumix.Output[KubeconfigClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o KubeconfigClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v KubeconfigClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -141,12 +335,6 @@ func (i KubeconfigKubernetesClientConfigurationArgs) ToKubeconfigKubernetesClien return pulumi.ToOutputWithContext(ctx, i).(KubeconfigKubernetesClientConfigurationOutput) } -func (i KubeconfigKubernetesClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[KubeconfigKubernetesClientConfiguration] { - return pulumix.Output[KubeconfigKubernetesClientConfiguration]{ - OutputState: i.ToKubeconfigKubernetesClientConfigurationOutputWithContext(ctx).OutputState, - } -} - type KubeconfigKubernetesClientConfigurationOutput struct{ *pulumi.OutputState } func (KubeconfigKubernetesClientConfigurationOutput) ElementType() reflect.Type { @@ -161,12 +349,6 @@ func (o KubeconfigKubernetesClientConfigurationOutput) ToKubeconfigKubernetesCli return o } -func (o KubeconfigKubernetesClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[KubeconfigKubernetesClientConfiguration] { - return pulumix.Output[KubeconfigKubernetesClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The kubernetes CA certificate func (o KubeconfigKubernetesClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v KubeconfigKubernetesClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -220,12 +402,6 @@ func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(KubeconfigTimeoutsOutput) } -func (i KubeconfigTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[KubeconfigTimeouts] { - return pulumix.Output[KubeconfigTimeouts]{ - OutputState: i.ToKubeconfigTimeoutsOutputWithContext(ctx).OutputState, - } -} - func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput { return i.ToKubeconfigTimeoutsPtrOutputWithContext(context.Background()) } @@ -267,12 +443,6 @@ func (i *kubeconfigTimeoutsPtrType) ToKubeconfigTimeoutsPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(KubeconfigTimeoutsPtrOutput) } -func (i *kubeconfigTimeoutsPtrType) ToOutput(ctx context.Context) pulumix.Output[*KubeconfigTimeouts] { - return pulumix.Output[*KubeconfigTimeouts]{ - OutputState: i.ToKubeconfigTimeoutsPtrOutputWithContext(ctx).OutputState, - } -} - type KubeconfigTimeoutsOutput struct{ *pulumi.OutputState } func (KubeconfigTimeoutsOutput) ElementType() reflect.Type { @@ -297,12 +467,6 @@ func (o KubeconfigTimeoutsOutput) ToKubeconfigTimeoutsPtrOutputWithContext(ctx c }).(KubeconfigTimeoutsPtrOutput) } -func (o KubeconfigTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[KubeconfigTimeouts] { - return pulumix.Output[KubeconfigTimeouts]{ - OutputState: o.OutputState, - } -} - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. func (o KubeconfigTimeoutsOutput) Read() pulumi.StringPtrOutput { return o.ApplyT(func(v KubeconfigTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) @@ -322,12 +486,6 @@ func (o KubeconfigTimeoutsPtrOutput) ToKubeconfigTimeoutsPtrOutputWithContext(ct return o } -func (o KubeconfigTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KubeconfigTimeouts] { - return pulumix.Output[*KubeconfigTimeouts]{ - OutputState: o.OutputState, - } -} - func (o KubeconfigTimeoutsPtrOutput) Elem() KubeconfigTimeoutsOutput { return o.ApplyT(func(v *KubeconfigTimeouts) KubeconfigTimeouts { if v != nil { @@ -349,10 +507,16 @@ func (o KubeconfigTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HealthClientConfigurationInput)(nil)).Elem(), HealthClientConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HealthTimeoutsInput)(nil)).Elem(), HealthTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HealthTimeoutsPtrInput)(nil)).Elem(), HealthTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigClientConfigurationInput)(nil)).Elem(), KubeconfigClientConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigKubernetesClientConfigurationInput)(nil)).Elem(), KubeconfigKubernetesClientConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigTimeoutsInput)(nil)).Elem(), KubeconfigTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigTimeoutsPtrInput)(nil)).Elem(), KubeconfigTimeoutsArgs{}) + pulumi.RegisterOutputType(HealthClientConfigurationOutput{}) + pulumi.RegisterOutputType(HealthTimeoutsOutput{}) + pulumi.RegisterOutputType(HealthTimeoutsPtrOutput{}) pulumi.RegisterOutputType(KubeconfigClientConfigurationOutput{}) pulumi.RegisterOutputType(KubeconfigKubernetesClientConfigurationOutput{}) pulumi.RegisterOutputType(KubeconfigTimeoutsOutput{}) diff --git a/sdk/go/talos/internal/pulumiUtilities.go b/sdk/go/talos/internal/pulumiUtilities.go index 8036ec2..d1d2ff0 100644 --- a/sdk/go/talos/internal/pulumiUtilities.go +++ b/sdk/go/talos/internal/pulumiUtilities.go @@ -15,6 +15,10 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +import ( + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/internals" +) + type envParser func(v string) interface{} func ParseEnvBool(v string) interface{} { @@ -90,6 +94,73 @@ func IsZero(v interface{}) bool { return reflect.ValueOf(v).IsZero() } +func CallPlain( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + property string, + resultPtr reflect.Value, + errorPtr *error, + opts ...pulumi.InvokeOption, +) { + res, err := callPlainInner(ctx, tok, args, output, self, opts...) + if err != nil { + *errorPtr = err + return + } + + v := reflect.ValueOf(res) + + // extract res.property field if asked to do so + if property != "" { + v = v.FieldByName("Res") + } + + // return by setting the result pointer; this style of returns shortens the generated code without generics + resultPtr.Elem().Set(v) +} + +func callPlainInner( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + opts ...pulumi.InvokeOption, +) (any, error) { + o, err := ctx.Call(tok, args, output, self, opts...) + if err != nil { + return nil, err + } + + outputData, err := internals.UnsafeAwaitOutput(ctx.Context(), o) + if err != nil { + return nil, err + } + + // Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. + known := outputData.Known + value := outputData.Value + secret := outputData.Secret + + problem := "" + if !known { + problem = "an unknown value" + } else if secret { + problem = "a secret value" + } + + if problem != "" { + return nil, fmt.Errorf("Plain resource method %q incorrectly returned %s. "+ + "This is an error in the provider, please report this to the provider developer.", + tok, problem) + } + + return value, nil +} + // PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} diff --git a/sdk/go/talos/machine/bootstrap.go b/sdk/go/talos/machine/bootstrap.go index 2188151..a3ddaa8 100644 --- a/sdk/go/talos/machine/bootstrap.go +++ b/sdk/go/talos/machine/bootstrap.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -139,12 +138,6 @@ func (i *Bootstrap) ToBootstrapOutputWithContext(ctx context.Context) BootstrapO return pulumi.ToOutputWithContext(ctx, i).(BootstrapOutput) } -func (i *Bootstrap) ToOutput(ctx context.Context) pulumix.Output[*Bootstrap] { - return pulumix.Output[*Bootstrap]{ - OutputState: i.ToBootstrapOutputWithContext(ctx).OutputState, - } -} - // BootstrapArrayInput is an input type that accepts BootstrapArray and BootstrapArrayOutput values. // You can construct a concrete instance of `BootstrapArrayInput` via: // @@ -170,12 +163,6 @@ func (i BootstrapArray) ToBootstrapArrayOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BootstrapArrayOutput) } -func (i BootstrapArray) ToOutput(ctx context.Context) pulumix.Output[[]*Bootstrap] { - return pulumix.Output[[]*Bootstrap]{ - OutputState: i.ToBootstrapArrayOutputWithContext(ctx).OutputState, - } -} - // BootstrapMapInput is an input type that accepts BootstrapMap and BootstrapMapOutput values. // You can construct a concrete instance of `BootstrapMapInput` via: // @@ -201,12 +188,6 @@ func (i BootstrapMap) ToBootstrapMapOutputWithContext(ctx context.Context) Boots return pulumi.ToOutputWithContext(ctx, i).(BootstrapMapOutput) } -func (i BootstrapMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bootstrap] { - return pulumix.Output[map[string]*Bootstrap]{ - OutputState: i.ToBootstrapMapOutputWithContext(ctx).OutputState, - } -} - type BootstrapOutput struct{ *pulumi.OutputState } func (BootstrapOutput) ElementType() reflect.Type { @@ -221,12 +202,6 @@ func (o BootstrapOutput) ToBootstrapOutputWithContext(ctx context.Context) Boots return o } -func (o BootstrapOutput) ToOutput(ctx context.Context) pulumix.Output[*Bootstrap] { - return pulumix.Output[*Bootstrap]{ - OutputState: o.OutputState, - } -} - // The client configuration data func (o BootstrapOutput) ClientConfiguration() BootstrapClientConfigurationOutput { return o.ApplyT(func(v *Bootstrap) BootstrapClientConfigurationOutput { return v.ClientConfiguration }).(BootstrapClientConfigurationOutput) @@ -260,12 +235,6 @@ func (o BootstrapArrayOutput) ToBootstrapArrayOutputWithContext(ctx context.Cont return o } -func (o BootstrapArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Bootstrap] { - return pulumix.Output[[]*Bootstrap]{ - OutputState: o.OutputState, - } -} - func (o BootstrapArrayOutput) Index(i pulumi.IntInput) BootstrapOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Bootstrap { return vs[0].([]*Bootstrap)[vs[1].(int)] @@ -286,12 +255,6 @@ func (o BootstrapMapOutput) ToBootstrapMapOutputWithContext(ctx context.Context) return o } -func (o BootstrapMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Bootstrap] { - return pulumix.Output[map[string]*Bootstrap]{ - OutputState: o.OutputState, - } -} - func (o BootstrapMapOutput) MapIndex(k pulumi.StringInput) BootstrapOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Bootstrap { return vs[0].(map[string]*Bootstrap)[vs[1].(string)] diff --git a/sdk/go/talos/machine/configurationApply.go b/sdk/go/talos/machine/configurationApply.go index 92f0f94..64d305c 100644 --- a/sdk/go/talos/machine/configurationApply.go +++ b/sdk/go/talos/machine/configurationApply.go @@ -9,7 +9,6 @@ import ( "errors" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -176,12 +175,6 @@ func (i *ConfigurationApply) ToConfigurationApplyOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(ConfigurationApplyOutput) } -func (i *ConfigurationApply) ToOutput(ctx context.Context) pulumix.Output[*ConfigurationApply] { - return pulumix.Output[*ConfigurationApply]{ - OutputState: i.ToConfigurationApplyOutputWithContext(ctx).OutputState, - } -} - // ConfigurationApplyArrayInput is an input type that accepts ConfigurationApplyArray and ConfigurationApplyArrayOutput values. // You can construct a concrete instance of `ConfigurationApplyArrayInput` via: // @@ -207,12 +200,6 @@ func (i ConfigurationApplyArray) ToConfigurationApplyArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ConfigurationApplyArrayOutput) } -func (i ConfigurationApplyArray) ToOutput(ctx context.Context) pulumix.Output[[]*ConfigurationApply] { - return pulumix.Output[[]*ConfigurationApply]{ - OutputState: i.ToConfigurationApplyArrayOutputWithContext(ctx).OutputState, - } -} - // ConfigurationApplyMapInput is an input type that accepts ConfigurationApplyMap and ConfigurationApplyMapOutput values. // You can construct a concrete instance of `ConfigurationApplyMapInput` via: // @@ -238,12 +225,6 @@ func (i ConfigurationApplyMap) ToConfigurationApplyMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(ConfigurationApplyMapOutput) } -func (i ConfigurationApplyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*ConfigurationApply] { - return pulumix.Output[map[string]*ConfigurationApply]{ - OutputState: i.ToConfigurationApplyMapOutputWithContext(ctx).OutputState, - } -} - type ConfigurationApplyOutput struct{ *pulumi.OutputState } func (ConfigurationApplyOutput) ElementType() reflect.Type { @@ -258,12 +239,6 @@ func (o ConfigurationApplyOutput) ToConfigurationApplyOutputWithContext(ctx cont return o } -func (o ConfigurationApplyOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigurationApply] { - return pulumix.Output[*ConfigurationApply]{ - OutputState: o.OutputState, - } -} - // The mode of the apply operation func (o ConfigurationApplyOutput) ApplyMode() pulumi.StringOutput { return o.ApplyT(func(v *ConfigurationApply) pulumi.StringOutput { return v.ApplyMode }).(pulumi.StringOutput) @@ -317,12 +292,6 @@ func (o ConfigurationApplyArrayOutput) ToConfigurationApplyArrayOutputWithContex return o } -func (o ConfigurationApplyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*ConfigurationApply] { - return pulumix.Output[[]*ConfigurationApply]{ - OutputState: o.OutputState, - } -} - func (o ConfigurationApplyArrayOutput) Index(i pulumi.IntInput) ConfigurationApplyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ConfigurationApply { return vs[0].([]*ConfigurationApply)[vs[1].(int)] @@ -343,12 +312,6 @@ func (o ConfigurationApplyMapOutput) ToConfigurationApplyMapOutputWithContext(ct return o } -func (o ConfigurationApplyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*ConfigurationApply] { - return pulumix.Output[map[string]*ConfigurationApply]{ - OutputState: o.OutputState, - } -} - func (o ConfigurationApplyMapOutput) MapIndex(k pulumi.StringInput) ConfigurationApplyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ConfigurationApply { return vs[0].(map[string]*ConfigurationApply)[vs[1].(string)] diff --git a/sdk/go/talos/machine/disks.go b/sdk/go/talos/machine/disks.go index 150cea9..f5c2b9f 100644 --- a/sdk/go/talos/machine/disks.go +++ b/sdk/go/talos/machine/disks.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -66,7 +65,7 @@ func Disks(ctx *pulumi.Context, args *DisksArgs, opts ...pulumi.InvokeOption) (* type DisksArgs struct { // The client configuration data ClientConfiguration DisksClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint *string `pulumi:"endpoint"` // Filters to apply to the disks Filters *DisksFilters `pulumi:"filters"` @@ -81,7 +80,7 @@ type DisksResult struct { ClientConfiguration DisksClientConfiguration `pulumi:"clientConfiguration"` // The disks that match the filters Disks []DisksDisk `pulumi:"disks"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint string `pulumi:"endpoint"` // Filters to apply to the disks Filters *DisksFilters `pulumi:"filters"` @@ -109,7 +108,7 @@ func DisksOutput(ctx *pulumi.Context, args DisksOutputArgs, opts ...pulumi.Invok type DisksOutputArgs struct { // The client configuration data ClientConfiguration DisksClientConfigurationInput `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. if not set, the node value will be used + // endpoint to use for the talosclient. If not set, the node value will be used Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` // Filters to apply to the disks Filters DisksFiltersPtrInput `pulumi:"filters"` @@ -137,12 +136,6 @@ func (o DisksResultOutput) ToDisksResultOutputWithContext(ctx context.Context) D return o } -func (o DisksResultOutput) ToOutput(ctx context.Context) pulumix.Output[DisksResult] { - return pulumix.Output[DisksResult]{ - OutputState: o.OutputState, - } -} - // The client configuration data func (o DisksResultOutput) ClientConfiguration() DisksClientConfigurationOutput { return o.ApplyT(func(v DisksResult) DisksClientConfiguration { return v.ClientConfiguration }).(DisksClientConfigurationOutput) @@ -153,7 +146,7 @@ func (o DisksResultOutput) Disks() DisksDiskArrayOutput { return o.ApplyT(func(v DisksResult) []DisksDisk { return v.Disks }).(DisksDiskArrayOutput) } -// endpoint to use for the talosclient. if not set, the node value will be used +// endpoint to use for the talosclient. If not set, the node value will be used func (o DisksResultOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v DisksResult) string { return v.Endpoint }).(pulumi.StringOutput) } diff --git a/sdk/go/talos/machine/getConfiguration.go b/sdk/go/talos/machine/getConfiguration.go index bdbf55c..722e5a3 100644 --- a/sdk/go/talos/machine/getConfiguration.go +++ b/sdk/go/talos/machine/getConfiguration.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -157,12 +156,6 @@ func (o GetConfigurationResultOutput) ToGetConfigurationResultOutputWithContext( return o } -func (o GetConfigurationResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationResult] { - return pulumix.Output[GetConfigurationResult]{ - OutputState: o.OutputState, - } -} - // The endpoint of the talos kubernetes cluster func (o GetConfigurationResultOutput) ClusterEndpoint() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationResult) string { return v.ClusterEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/talos/machine/pulumiTypes.go b/sdk/go/talos/machine/pulumiTypes.go index b076328..2bc2ee1 100644 --- a/sdk/go/talos/machine/pulumiTypes.go +++ b/sdk/go/talos/machine/pulumiTypes.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -55,12 +54,6 @@ func (i BootstrapClientConfigurationArgs) ToBootstrapClientConfigurationOutputWi return pulumi.ToOutputWithContext(ctx, i).(BootstrapClientConfigurationOutput) } -func (i BootstrapClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[BootstrapClientConfiguration] { - return pulumix.Output[BootstrapClientConfiguration]{ - OutputState: i.ToBootstrapClientConfigurationOutputWithContext(ctx).OutputState, - } -} - func (i BootstrapClientConfigurationArgs) ToBootstrapClientConfigurationPtrOutput() BootstrapClientConfigurationPtrOutput { return i.ToBootstrapClientConfigurationPtrOutputWithContext(context.Background()) } @@ -102,12 +95,6 @@ func (i *bootstrapClientConfigurationPtrType) ToBootstrapClientConfigurationPtrO return pulumi.ToOutputWithContext(ctx, i).(BootstrapClientConfigurationPtrOutput) } -func (i *bootstrapClientConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*BootstrapClientConfiguration] { - return pulumix.Output[*BootstrapClientConfiguration]{ - OutputState: i.ToBootstrapClientConfigurationPtrOutputWithContext(ctx).OutputState, - } -} - type BootstrapClientConfigurationOutput struct{ *pulumi.OutputState } func (BootstrapClientConfigurationOutput) ElementType() reflect.Type { @@ -132,12 +119,6 @@ func (o BootstrapClientConfigurationOutput) ToBootstrapClientConfigurationPtrOut }).(BootstrapClientConfigurationPtrOutput) } -func (o BootstrapClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[BootstrapClientConfiguration] { - return pulumix.Output[BootstrapClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o BootstrapClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v BootstrapClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -167,12 +148,6 @@ func (o BootstrapClientConfigurationPtrOutput) ToBootstrapClientConfigurationPtr return o } -func (o BootstrapClientConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BootstrapClientConfiguration] { - return pulumix.Output[*BootstrapClientConfiguration]{ - OutputState: o.OutputState, - } -} - func (o BootstrapClientConfigurationPtrOutput) Elem() BootstrapClientConfigurationOutput { return o.ApplyT(func(v *BootstrapClientConfiguration) BootstrapClientConfiguration { if v != nil { @@ -246,12 +221,6 @@ func (i BootstrapTimeoutsArgs) ToBootstrapTimeoutsOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(BootstrapTimeoutsOutput) } -func (i BootstrapTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[BootstrapTimeouts] { - return pulumix.Output[BootstrapTimeouts]{ - OutputState: i.ToBootstrapTimeoutsOutputWithContext(ctx).OutputState, - } -} - func (i BootstrapTimeoutsArgs) ToBootstrapTimeoutsPtrOutput() BootstrapTimeoutsPtrOutput { return i.ToBootstrapTimeoutsPtrOutputWithContext(context.Background()) } @@ -293,12 +262,6 @@ func (i *bootstrapTimeoutsPtrType) ToBootstrapTimeoutsPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(BootstrapTimeoutsPtrOutput) } -func (i *bootstrapTimeoutsPtrType) ToOutput(ctx context.Context) pulumix.Output[*BootstrapTimeouts] { - return pulumix.Output[*BootstrapTimeouts]{ - OutputState: i.ToBootstrapTimeoutsPtrOutputWithContext(ctx).OutputState, - } -} - type BootstrapTimeoutsOutput struct{ *pulumi.OutputState } func (BootstrapTimeoutsOutput) ElementType() reflect.Type { @@ -323,12 +286,6 @@ func (o BootstrapTimeoutsOutput) ToBootstrapTimeoutsPtrOutputWithContext(ctx con }).(BootstrapTimeoutsPtrOutput) } -func (o BootstrapTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[BootstrapTimeouts] { - return pulumix.Output[BootstrapTimeouts]{ - OutputState: o.OutputState, - } -} - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). func (o BootstrapTimeoutsOutput) Create() pulumi.StringPtrOutput { return o.ApplyT(func(v BootstrapTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) @@ -348,12 +305,6 @@ func (o BootstrapTimeoutsPtrOutput) ToBootstrapTimeoutsPtrOutputWithContext(ctx return o } -func (o BootstrapTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BootstrapTimeouts] { - return pulumix.Output[*BootstrapTimeouts]{ - OutputState: o.OutputState, - } -} - func (o BootstrapTimeoutsPtrOutput) Elem() BootstrapTimeoutsOutput { return o.ApplyT(func(v *BootstrapTimeouts) BootstrapTimeouts { if v != nil { @@ -415,12 +366,6 @@ func (i ConfigurationApplyClientConfigurationArgs) ToConfigurationApplyClientCon return pulumi.ToOutputWithContext(ctx, i).(ConfigurationApplyClientConfigurationOutput) } -func (i ConfigurationApplyClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[ConfigurationApplyClientConfiguration] { - return pulumix.Output[ConfigurationApplyClientConfiguration]{ - OutputState: i.ToConfigurationApplyClientConfigurationOutputWithContext(ctx).OutputState, - } -} - func (i ConfigurationApplyClientConfigurationArgs) ToConfigurationApplyClientConfigurationPtrOutput() ConfigurationApplyClientConfigurationPtrOutput { return i.ToConfigurationApplyClientConfigurationPtrOutputWithContext(context.Background()) } @@ -462,12 +407,6 @@ func (i *configurationApplyClientConfigurationPtrType) ToConfigurationApplyClien return pulumi.ToOutputWithContext(ctx, i).(ConfigurationApplyClientConfigurationPtrOutput) } -func (i *configurationApplyClientConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*ConfigurationApplyClientConfiguration] { - return pulumix.Output[*ConfigurationApplyClientConfiguration]{ - OutputState: i.ToConfigurationApplyClientConfigurationPtrOutputWithContext(ctx).OutputState, - } -} - type ConfigurationApplyClientConfigurationOutput struct{ *pulumi.OutputState } func (ConfigurationApplyClientConfigurationOutput) ElementType() reflect.Type { @@ -492,12 +431,6 @@ func (o ConfigurationApplyClientConfigurationOutput) ToConfigurationApplyClientC }).(ConfigurationApplyClientConfigurationPtrOutput) } -func (o ConfigurationApplyClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[ConfigurationApplyClientConfiguration] { - return pulumix.Output[ConfigurationApplyClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o ConfigurationApplyClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v ConfigurationApplyClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -527,12 +460,6 @@ func (o ConfigurationApplyClientConfigurationPtrOutput) ToConfigurationApplyClie return o } -func (o ConfigurationApplyClientConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ConfigurationApplyClientConfiguration] { - return pulumix.Output[*ConfigurationApplyClientConfiguration]{ - OutputState: o.OutputState, - } -} - func (o ConfigurationApplyClientConfigurationPtrOutput) Elem() ConfigurationApplyClientConfigurationOutput { return o.ApplyT(func(v *ConfigurationApplyClientConfiguration) ConfigurationApplyClientConfiguration { if v != nil { @@ -614,12 +541,6 @@ func (i DisksClientConfigurationArgs) ToDisksClientConfigurationOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(DisksClientConfigurationOutput) } -func (i DisksClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[DisksClientConfiguration] { - return pulumix.Output[DisksClientConfiguration]{ - OutputState: i.ToDisksClientConfigurationOutputWithContext(ctx).OutputState, - } -} - type DisksClientConfigurationOutput struct{ *pulumi.OutputState } func (DisksClientConfigurationOutput) ElementType() reflect.Type { @@ -634,12 +555,6 @@ func (o DisksClientConfigurationOutput) ToDisksClientConfigurationOutputWithCont return o } -func (o DisksClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[DisksClientConfiguration] { - return pulumix.Output[DisksClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o DisksClientConfigurationOutput) CaCertificate() pulumi.StringOutput { return o.ApplyT(func(v DisksClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) @@ -720,12 +635,6 @@ func (i DisksDiskArgs) ToDisksDiskOutputWithContext(ctx context.Context) DisksDi return pulumi.ToOutputWithContext(ctx, i).(DisksDiskOutput) } -func (i DisksDiskArgs) ToOutput(ctx context.Context) pulumix.Output[DisksDisk] { - return pulumix.Output[DisksDisk]{ - OutputState: i.ToDisksDiskOutputWithContext(ctx).OutputState, - } -} - // DisksDiskArrayInput is an input type that accepts DisksDiskArray and DisksDiskArrayOutput values. // You can construct a concrete instance of `DisksDiskArrayInput` via: // @@ -751,12 +660,6 @@ func (i DisksDiskArray) ToDisksDiskArrayOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DisksDiskArrayOutput) } -func (i DisksDiskArray) ToOutput(ctx context.Context) pulumix.Output[[]DisksDisk] { - return pulumix.Output[[]DisksDisk]{ - OutputState: i.ToDisksDiskArrayOutputWithContext(ctx).OutputState, - } -} - type DisksDiskOutput struct{ *pulumi.OutputState } func (DisksDiskOutput) ElementType() reflect.Type { @@ -771,12 +674,6 @@ func (o DisksDiskOutput) ToDisksDiskOutputWithContext(ctx context.Context) Disks return o } -func (o DisksDiskOutput) ToOutput(ctx context.Context) pulumix.Output[DisksDisk] { - return pulumix.Output[DisksDisk]{ - OutputState: o.OutputState, - } -} - // The bus path of the disk func (o DisksDiskOutput) BusPath() pulumi.StringOutput { return o.ApplyT(func(v DisksDisk) string { return v.BusPath }).(pulumi.StringOutput) @@ -836,12 +733,6 @@ func (o DisksDiskArrayOutput) ToDisksDiskArrayOutputWithContext(ctx context.Cont return o } -func (o DisksDiskArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]DisksDisk] { - return pulumix.Output[[]DisksDisk]{ - OutputState: o.OutputState, - } -} - func (o DisksDiskArrayOutput) Index(i pulumi.IntInput) DisksDiskOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) DisksDisk { return vs[0].([]DisksDisk)[vs[1].(int)] @@ -913,12 +804,6 @@ func (i DisksFiltersArgs) ToDisksFiltersOutputWithContext(ctx context.Context) D return pulumi.ToOutputWithContext(ctx, i).(DisksFiltersOutput) } -func (i DisksFiltersArgs) ToOutput(ctx context.Context) pulumix.Output[DisksFilters] { - return pulumix.Output[DisksFilters]{ - OutputState: i.ToDisksFiltersOutputWithContext(ctx).OutputState, - } -} - func (i DisksFiltersArgs) ToDisksFiltersPtrOutput() DisksFiltersPtrOutput { return i.ToDisksFiltersPtrOutputWithContext(context.Background()) } @@ -960,12 +845,6 @@ func (i *disksFiltersPtrType) ToDisksFiltersPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(DisksFiltersPtrOutput) } -func (i *disksFiltersPtrType) ToOutput(ctx context.Context) pulumix.Output[*DisksFilters] { - return pulumix.Output[*DisksFilters]{ - OutputState: i.ToDisksFiltersPtrOutputWithContext(ctx).OutputState, - } -} - type DisksFiltersOutput struct{ *pulumi.OutputState } func (DisksFiltersOutput) ElementType() reflect.Type { @@ -990,12 +869,6 @@ func (o DisksFiltersOutput) ToDisksFiltersPtrOutputWithContext(ctx context.Conte }).(DisksFiltersPtrOutput) } -func (o DisksFiltersOutput) ToOutput(ctx context.Context) pulumix.Output[DisksFilters] { - return pulumix.Output[DisksFilters]{ - OutputState: o.OutputState, - } -} - // Filter disks by bus path func (o DisksFiltersOutput) BusPath() pulumi.StringPtrOutput { return o.ApplyT(func(v DisksFilters) *string { return v.BusPath }).(pulumi.StringPtrOutput) @@ -1055,12 +928,6 @@ func (o DisksFiltersPtrOutput) ToDisksFiltersPtrOutputWithContext(ctx context.Co return o } -func (o DisksFiltersPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DisksFilters] { - return pulumix.Output[*DisksFilters]{ - OutputState: o.OutputState, - } -} - func (o DisksFiltersPtrOutput) Elem() DisksFiltersOutput { return o.ApplyT(func(v *DisksFilters) DisksFilters { if v != nil { @@ -1194,12 +1061,6 @@ func (i DisksTimeoutsArgs) ToDisksTimeoutsOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(DisksTimeoutsOutput) } -func (i DisksTimeoutsArgs) ToOutput(ctx context.Context) pulumix.Output[DisksTimeouts] { - return pulumix.Output[DisksTimeouts]{ - OutputState: i.ToDisksTimeoutsOutputWithContext(ctx).OutputState, - } -} - func (i DisksTimeoutsArgs) ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput { return i.ToDisksTimeoutsPtrOutputWithContext(context.Background()) } @@ -1241,12 +1102,6 @@ func (i *disksTimeoutsPtrType) ToDisksTimeoutsPtrOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(DisksTimeoutsPtrOutput) } -func (i *disksTimeoutsPtrType) ToOutput(ctx context.Context) pulumix.Output[*DisksTimeouts] { - return pulumix.Output[*DisksTimeouts]{ - OutputState: i.ToDisksTimeoutsPtrOutputWithContext(ctx).OutputState, - } -} - type DisksTimeoutsOutput struct{ *pulumi.OutputState } func (DisksTimeoutsOutput) ElementType() reflect.Type { @@ -1271,12 +1126,6 @@ func (o DisksTimeoutsOutput) ToDisksTimeoutsPtrOutputWithContext(ctx context.Con }).(DisksTimeoutsPtrOutput) } -func (o DisksTimeoutsOutput) ToOutput(ctx context.Context) pulumix.Output[DisksTimeouts] { - return pulumix.Output[DisksTimeouts]{ - OutputState: o.OutputState, - } -} - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. func (o DisksTimeoutsOutput) Read() pulumi.StringPtrOutput { return o.ApplyT(func(v DisksTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) @@ -1296,12 +1145,6 @@ func (o DisksTimeoutsPtrOutput) ToDisksTimeoutsPtrOutputWithContext(ctx context. return o } -func (o DisksTimeoutsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*DisksTimeouts] { - return pulumix.Output[*DisksTimeouts]{ - OutputState: o.OutputState, - } -} - func (o DisksTimeoutsPtrOutput) Elem() DisksTimeoutsOutput { return o.ApplyT(func(v *DisksTimeouts) DisksTimeouts { if v != nil { @@ -1363,12 +1206,6 @@ func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationOutput) } -func (i SecretsClientConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsClientConfiguration] { - return pulumix.Output[SecretsClientConfiguration]{ - OutputState: i.ToSecretsClientConfigurationOutputWithContext(ctx).OutputState, - } -} - func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { return i.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) } @@ -1410,12 +1247,6 @@ func (i *secretsClientConfigurationPtrType) ToSecretsClientConfigurationPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationPtrOutput) } -func (i *secretsClientConfigurationPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsClientConfiguration] { - return pulumix.Output[*SecretsClientConfiguration]{ - OutputState: i.ToSecretsClientConfigurationPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsClientConfigurationOutput struct{ *pulumi.OutputState } func (SecretsClientConfigurationOutput) ElementType() reflect.Type { @@ -1440,12 +1271,6 @@ func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationPtrOutputW }).(SecretsClientConfigurationPtrOutput) } -func (o SecretsClientConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsClientConfiguration] { - return pulumix.Output[SecretsClientConfiguration]{ - OutputState: o.OutputState, - } -} - // The client CA certificate func (o SecretsClientConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) @@ -1475,12 +1300,6 @@ func (o SecretsClientConfigurationPtrOutput) ToSecretsClientConfigurationPtrOutp return o } -func (o SecretsClientConfigurationPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsClientConfiguration] { - return pulumix.Output[*SecretsClientConfiguration]{ - OutputState: o.OutputState, - } -} - func (o SecretsClientConfigurationPtrOutput) Elem() SecretsClientConfigurationOutput { return o.ApplyT(func(v *SecretsClientConfiguration) SecretsClientConfiguration { if v != nil { @@ -1564,12 +1383,6 @@ func (i SecretsMachineSecretsArgs) ToSecretsMachineSecretsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsOutput) } -func (i SecretsMachineSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecrets] { - return pulumix.Output[SecretsMachineSecrets]{ - OutputState: i.ToSecretsMachineSecretsOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsOutput) ElementType() reflect.Type { @@ -1584,12 +1397,6 @@ func (o SecretsMachineSecretsOutput) ToSecretsMachineSecretsOutputWithContext(ct return o } -func (o SecretsMachineSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecrets] { - return pulumix.Output[SecretsMachineSecrets]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsOutput) Certs() SecretsMachineSecretsCertsPtrOutput { return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsCerts { return v.Certs }).(SecretsMachineSecretsCertsPtrOutput) } @@ -1658,12 +1465,6 @@ func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOutput) } -func (i SecretsMachineSecretsCertsArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCerts] { - return pulumix.Output[SecretsMachineSecretsCerts]{ - OutputState: i.ToSecretsMachineSecretsCertsOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { return i.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) } @@ -1705,12 +1506,6 @@ func (i *secretsMachineSecretsCertsPtrType) ToSecretsMachineSecretsCertsPtrOutpu return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsPtrOutput) } -func (i *secretsMachineSecretsCertsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCerts] { - return pulumix.Output[*SecretsMachineSecretsCerts]{ - OutputState: i.ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsOutput) ElementType() reflect.Type { @@ -1735,12 +1530,6 @@ func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsPtrOutputW }).(SecretsMachineSecretsCertsPtrOutput) } -func (o SecretsMachineSecretsCertsOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCerts] { - return pulumix.Output[SecretsMachineSecretsCerts]{ - OutputState: o.OutputState, - } -} - // The certificate and key pair func (o SecretsMachineSecretsCertsOutput) Etcd() SecretsMachineSecretsCertsEtcdPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsEtcd { return v.Etcd }).(SecretsMachineSecretsCertsEtcdPtrOutput) @@ -1782,12 +1571,6 @@ func (o SecretsMachineSecretsCertsPtrOutput) ToSecretsMachineSecretsCertsPtrOutp return o } -func (o SecretsMachineSecretsCertsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCerts] { - return pulumix.Output[*SecretsMachineSecretsCerts]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsPtrOutput) Elem() SecretsMachineSecretsCertsOutput { return o.ApplyT(func(v *SecretsMachineSecretsCerts) SecretsMachineSecretsCerts { if v != nil { @@ -1885,12 +1668,6 @@ func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdOutp return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdOutput) } -func (i SecretsMachineSecretsCertsEtcdArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsEtcd] { - return pulumix.Output[SecretsMachineSecretsCertsEtcd]{ - OutputState: i.ToSecretsMachineSecretsCertsEtcdOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { return i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) } @@ -1932,12 +1709,6 @@ func (i *secretsMachineSecretsCertsEtcdPtrType) ToSecretsMachineSecretsCertsEtcd return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdPtrOutput) } -func (i *secretsMachineSecretsCertsEtcdPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsEtcd] { - return pulumix.Output[*SecretsMachineSecretsCertsEtcd]{ - OutputState: i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { @@ -1962,12 +1733,6 @@ func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdPt }).(SecretsMachineSecretsCertsEtcdPtrOutput) } -func (o SecretsMachineSecretsCertsEtcdOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsEtcd] { - return pulumix.Output[SecretsMachineSecretsCertsEtcd]{ - OutputState: o.OutputState, - } -} - // certificate data func (o SecretsMachineSecretsCertsEtcdOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCertsEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -1992,12 +1757,6 @@ func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToSecretsMachineSecretsCertsEtc return o } -func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsEtcd] { - return pulumix.Output[*SecretsMachineSecretsCertsEtcd]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsEtcdPtrOutput) Elem() SecretsMachineSecretsCertsEtcdOutput { return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) SecretsMachineSecretsCertsEtcd { if v != nil { @@ -2065,12 +1824,6 @@ func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sOutput return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sOutput) } -func (i SecretsMachineSecretsCertsK8sArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8s] { - return pulumix.Output[SecretsMachineSecretsCertsK8s]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { return i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) } @@ -2112,12 +1865,6 @@ func (i *secretsMachineSecretsCertsK8sPtrType) ToSecretsMachineSecretsCertsK8sPt return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sPtrOutput) } -func (i *secretsMachineSecretsCertsK8sPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8s] { - return pulumix.Output[*SecretsMachineSecretsCertsK8s]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsK8sOutput) ElementType() reflect.Type { @@ -2142,12 +1889,6 @@ func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sPtrO }).(SecretsMachineSecretsCertsK8sPtrOutput) } -func (o SecretsMachineSecretsCertsK8sOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8s] { - return pulumix.Output[SecretsMachineSecretsCertsK8s]{ - OutputState: o.OutputState, - } -} - // certificate data func (o SecretsMachineSecretsCertsK8sOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCertsK8s) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -2172,12 +1913,6 @@ func (o SecretsMachineSecretsCertsK8sPtrOutput) ToSecretsMachineSecretsCertsK8sP return o } -func (o SecretsMachineSecretsCertsK8sPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8s] { - return pulumix.Output[*SecretsMachineSecretsCertsK8s]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsK8sPtrOutput) Elem() SecretsMachineSecretsCertsK8sOutput { return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) SecretsMachineSecretsCertsK8s { if v != nil { @@ -2245,12 +1980,6 @@ func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCert return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorOutput) } -func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8sAggregator] { - return pulumix.Output[SecretsMachineSecretsCertsK8sAggregator]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { return i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) } @@ -2292,12 +2021,6 @@ func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToSecretsMachineSecrets return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8sAggregator] { - return pulumix.Output[*SecretsMachineSecretsCertsK8sAggregator]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { @@ -2322,12 +2045,6 @@ func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCe }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8sAggregator] { - return pulumix.Output[SecretsMachineSecretsCertsK8sAggregator]{ - OutputState: o.OutputState, - } -} - // certificate data func (o SecretsMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCertsK8sAggregator) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -2352,12 +2069,6 @@ func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToSecretsMachineSecret return o } -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8sAggregator] { - return pulumix.Output[*SecretsMachineSecretsCertsK8sAggregator]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Elem() SecretsMachineSecretsCertsK8sAggregatorOutput { return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) SecretsMachineSecretsCertsK8sAggregator { if v != nil { @@ -2421,12 +2132,6 @@ func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecrets return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountOutput) } -func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[SecretsMachineSecretsCertsK8sServiceaccount]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { return i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) } @@ -2468,12 +2173,6 @@ func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToSecretsMachineSec return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } -func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[*SecretsMachineSecretsCertsK8sServiceaccount]{ - OutputState: i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { @@ -2498,12 +2197,6 @@ func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecre }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[SecretsMachineSecretsCertsK8sServiceaccount]{ - OutputState: o.OutputState, - } -} - // key data func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCertsK8sServiceaccount) *string { return v.Key }).(pulumi.StringPtrOutput) @@ -2523,12 +2216,6 @@ func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToSecretsMachineSe return o } -func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[*SecretsMachineSecretsCertsK8sServiceaccount]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) Elem() SecretsMachineSecretsCertsK8sServiceaccountOutput { return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sServiceaccount) SecretsMachineSecretsCertsK8sServiceaccount { if v != nil { @@ -2586,12 +2273,6 @@ func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsOutput) } -func (i SecretsMachineSecretsCertsOsArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsOs] { - return pulumix.Output[SecretsMachineSecretsCertsOs]{ - OutputState: i.ToSecretsMachineSecretsCertsOsOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { return i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) } @@ -2633,12 +2314,6 @@ func (i *secretsMachineSecretsCertsOsPtrType) ToSecretsMachineSecretsCertsOsPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsPtrOutput) } -func (i *secretsMachineSecretsCertsOsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsOs] { - return pulumix.Output[*SecretsMachineSecretsCertsOs]{ - OutputState: i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsCertsOsOutput) ElementType() reflect.Type { @@ -2663,12 +2338,6 @@ func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsPtrOut }).(SecretsMachineSecretsCertsOsPtrOutput) } -func (o SecretsMachineSecretsCertsOsOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCertsOs] { - return pulumix.Output[SecretsMachineSecretsCertsOs]{ - OutputState: o.OutputState, - } -} - // certificate data func (o SecretsMachineSecretsCertsOsOutput) Cert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCertsOs) *string { return v.Cert }).(pulumi.StringPtrOutput) @@ -2693,12 +2362,6 @@ func (o SecretsMachineSecretsCertsOsPtrOutput) ToSecretsMachineSecretsCertsOsPtr return o } -func (o SecretsMachineSecretsCertsOsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCertsOs] { - return pulumix.Output[*SecretsMachineSecretsCertsOs]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsCertsOsPtrOutput) Elem() SecretsMachineSecretsCertsOsOutput { return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) SecretsMachineSecretsCertsOs { if v != nil { @@ -2766,12 +2429,6 @@ func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterOutput) } -func (i SecretsMachineSecretsClusterArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCluster] { - return pulumix.Output[SecretsMachineSecretsCluster]{ - OutputState: i.ToSecretsMachineSecretsClusterOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { return i.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) } @@ -2813,12 +2470,6 @@ func (i *secretsMachineSecretsClusterPtrType) ToSecretsMachineSecretsClusterPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterPtrOutput) } -func (i *secretsMachineSecretsClusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCluster] { - return pulumix.Output[*SecretsMachineSecretsCluster]{ - OutputState: i.ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsClusterOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsClusterOutput) ElementType() reflect.Type { @@ -2843,12 +2494,6 @@ func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterPtrOut }).(SecretsMachineSecretsClusterPtrOutput) } -func (o SecretsMachineSecretsClusterOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsCluster] { - return pulumix.Output[SecretsMachineSecretsCluster]{ - OutputState: o.OutputState, - } -} - // The cluster ID func (o SecretsMachineSecretsClusterOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsCluster) *string { return v.Id }).(pulumi.StringPtrOutput) @@ -2873,12 +2518,6 @@ func (o SecretsMachineSecretsClusterPtrOutput) ToSecretsMachineSecretsClusterPtr return o } -func (o SecretsMachineSecretsClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsCluster] { - return pulumix.Output[*SecretsMachineSecretsCluster]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsClusterPtrOutput) Elem() SecretsMachineSecretsClusterOutput { return o.ApplyT(func(v *SecretsMachineSecretsCluster) SecretsMachineSecretsCluster { if v != nil { @@ -2950,12 +2589,6 @@ func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsOutput) } -func (i SecretsMachineSecretsSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsSecrets] { - return pulumix.Output[SecretsMachineSecretsSecrets]{ - OutputState: i.ToSecretsMachineSecretsSecretsOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { return i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) } @@ -2997,12 +2630,6 @@ func (i *secretsMachineSecretsSecretsPtrType) ToSecretsMachineSecretsSecretsPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsPtrOutput) } -func (i *secretsMachineSecretsSecretsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsSecrets] { - return pulumix.Output[*SecretsMachineSecretsSecrets]{ - OutputState: i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsSecretsOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsSecretsOutput) ElementType() reflect.Type { @@ -3027,12 +2654,6 @@ func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsPtrOut }).(SecretsMachineSecretsSecretsPtrOutput) } -func (o SecretsMachineSecretsSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsSecrets] { - return pulumix.Output[SecretsMachineSecretsSecrets]{ - OutputState: o.OutputState, - } -} - // The AES-CBC encryption secret func (o SecretsMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) @@ -3062,12 +2683,6 @@ func (o SecretsMachineSecretsSecretsPtrOutput) ToSecretsMachineSecretsSecretsPtr return o } -func (o SecretsMachineSecretsSecretsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsSecrets] { - return pulumix.Output[*SecretsMachineSecretsSecrets]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsSecretsPtrOutput) Elem() SecretsMachineSecretsSecretsOutput { return o.ApplyT(func(v *SecretsMachineSecretsSecrets) SecretsMachineSecretsSecrets { if v != nil { @@ -3141,12 +2756,6 @@ func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoOu return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoOutput) } -func (i SecretsMachineSecretsTrustdinfoArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsTrustdinfo] { - return pulumix.Output[SecretsMachineSecretsTrustdinfo]{ - OutputState: i.ToSecretsMachineSecretsTrustdinfoOutputWithContext(ctx).OutputState, - } -} - func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { return i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) } @@ -3188,12 +2797,6 @@ func (i *secretsMachineSecretsTrustdinfoPtrType) ToSecretsMachineSecretsTrustdin return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoPtrOutput) } -func (i *secretsMachineSecretsTrustdinfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsTrustdinfo] { - return pulumix.Output[*SecretsMachineSecretsTrustdinfo]{ - OutputState: i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx).OutputState, - } -} - type SecretsMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } func (SecretsMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { @@ -3218,12 +2821,6 @@ func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfo }).(SecretsMachineSecretsTrustdinfoPtrOutput) } -func (o SecretsMachineSecretsTrustdinfoOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMachineSecretsTrustdinfo] { - return pulumix.Output[SecretsMachineSecretsTrustdinfo]{ - OutputState: o.OutputState, - } -} - // The trustd token func (o SecretsMachineSecretsTrustdinfoOutput) Token() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretsMachineSecretsTrustdinfo) *string { return v.Token }).(pulumi.StringPtrOutput) @@ -3243,12 +2840,6 @@ func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToSecretsMachineSecretsTrustdi return o } -func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMachineSecretsTrustdinfo] { - return pulumix.Output[*SecretsMachineSecretsTrustdinfo]{ - OutputState: o.OutputState, - } -} - func (o SecretsMachineSecretsTrustdinfoPtrOutput) Elem() SecretsMachineSecretsTrustdinfoOutput { return o.ApplyT(func(v *SecretsMachineSecretsTrustdinfo) SecretsMachineSecretsTrustdinfo { if v != nil { @@ -3306,12 +2897,6 @@ func (i TimeoutArgs) ToTimeoutOutputWithContext(ctx context.Context) TimeoutOutp return pulumi.ToOutputWithContext(ctx, i).(TimeoutOutput) } -func (i TimeoutArgs) ToOutput(ctx context.Context) pulumix.Output[Timeout] { - return pulumix.Output[Timeout]{ - OutputState: i.ToTimeoutOutputWithContext(ctx).OutputState, - } -} - func (i TimeoutArgs) ToTimeoutPtrOutput() TimeoutPtrOutput { return i.ToTimeoutPtrOutputWithContext(context.Background()) } @@ -3353,12 +2938,6 @@ func (i *timeoutPtrType) ToTimeoutPtrOutputWithContext(ctx context.Context) Time return pulumi.ToOutputWithContext(ctx, i).(TimeoutPtrOutput) } -func (i *timeoutPtrType) ToOutput(ctx context.Context) pulumix.Output[*Timeout] { - return pulumix.Output[*Timeout]{ - OutputState: i.ToTimeoutPtrOutputWithContext(ctx).OutputState, - } -} - type TimeoutOutput struct{ *pulumi.OutputState } func (TimeoutOutput) ElementType() reflect.Type { @@ -3383,12 +2962,6 @@ func (o TimeoutOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) Timeou }).(TimeoutPtrOutput) } -func (o TimeoutOutput) ToOutput(ctx context.Context) pulumix.Output[Timeout] { - return pulumix.Output[Timeout]{ - OutputState: o.OutputState, - } -} - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). func (o TimeoutOutput) Create() pulumi.StringPtrOutput { return o.ApplyT(func(v Timeout) *string { return v.Create }).(pulumi.StringPtrOutput) @@ -3413,12 +2986,6 @@ func (o TimeoutPtrOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) Tim return o } -func (o TimeoutPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Timeout] { - return pulumix.Output[*Timeout]{ - OutputState: o.OutputState, - } -} - func (o TimeoutPtrOutput) Elem() TimeoutOutput { return o.ApplyT(func(v *Timeout) Timeout { if v != nil { @@ -3488,12 +3055,6 @@ func (i CertificateArgs) ToCertificateOutputWithContext(ctx context.Context) Cer return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } -func (i CertificateArgs) ToOutput(ctx context.Context) pulumix.Output[Certificate] { - return pulumix.Output[Certificate]{ - OutputState: i.ToCertificateOutputWithContext(ctx).OutputState, - } -} - func (i CertificateArgs) ToCertificatePtrOutput() CertificatePtrOutput { return i.ToCertificatePtrOutputWithContext(context.Background()) } @@ -3535,12 +3096,6 @@ func (i *certificatePtrType) ToCertificatePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(CertificatePtrOutput) } -func (i *certificatePtrType) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { - return pulumix.Output[*Certificate]{ - OutputState: i.ToCertificatePtrOutputWithContext(ctx).OutputState, - } -} - // A Machine Secrets Certificate type CertificateOutput struct{ *pulumi.OutputState } @@ -3566,12 +3121,6 @@ func (o CertificateOutput) ToCertificatePtrOutputWithContext(ctx context.Context }).(CertificatePtrOutput) } -func (o CertificateOutput) ToOutput(ctx context.Context) pulumix.Output[Certificate] { - return pulumix.Output[Certificate]{ - OutputState: o.OutputState, - } -} - // Certificate func (o CertificateOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v Certificate) string { return v.Cert }).(pulumi.StringOutput) @@ -3596,12 +3145,6 @@ func (o CertificatePtrOutput) ToCertificatePtrOutputWithContext(ctx context.Cont return o } -func (o CertificatePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Certificate] { - return pulumix.Output[*Certificate]{ - OutputState: o.OutputState, - } -} - func (o CertificatePtrOutput) Elem() CertificateOutput { return o.ApplyT(func(v *Certificate) Certificate { if v != nil { @@ -3673,12 +3216,6 @@ func (i CertificatesArgs) ToCertificatesOutputWithContext(ctx context.Context) C return pulumi.ToOutputWithContext(ctx, i).(CertificatesOutput) } -func (i CertificatesArgs) ToOutput(ctx context.Context) pulumix.Output[Certificates] { - return pulumix.Output[Certificates]{ - OutputState: i.ToCertificatesOutputWithContext(ctx).OutputState, - } -} - func (i CertificatesArgs) ToCertificatesPtrOutput() CertificatesPtrOutput { return i.ToCertificatesPtrOutputWithContext(context.Background()) } @@ -3720,12 +3257,6 @@ func (i *certificatesPtrType) ToCertificatesPtrOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(CertificatesPtrOutput) } -func (i *certificatesPtrType) ToOutput(ctx context.Context) pulumix.Output[*Certificates] { - return pulumix.Output[*Certificates]{ - OutputState: i.ToCertificatesPtrOutputWithContext(ctx).OutputState, - } -} - // A complete Machine Secrets Certificates configuration type CertificatesOutput struct{ *pulumi.OutputState } @@ -3751,12 +3282,6 @@ func (o CertificatesOutput) ToCertificatesPtrOutputWithContext(ctx context.Conte }).(CertificatesPtrOutput) } -func (o CertificatesOutput) ToOutput(ctx context.Context) pulumix.Output[Certificates] { - return pulumix.Output[Certificates]{ - OutputState: o.OutputState, - } -} - func (o CertificatesOutput) Etcd() CertificateOutput { return o.ApplyT(func(v Certificates) Certificate { return v.Etcd }).(CertificateOutput) } @@ -3791,12 +3316,6 @@ func (o CertificatesPtrOutput) ToCertificatesPtrOutputWithContext(ctx context.Co return o } -func (o CertificatesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Certificates] { - return pulumix.Output[*Certificates]{ - OutputState: o.OutputState, - } -} - func (o CertificatesPtrOutput) Elem() CertificatesOutput { return o.ApplyT(func(v *Certificates) Certificates { if v != nil { @@ -3891,12 +3410,6 @@ func (i ClusterArgs) ToClusterOutputWithContext(ctx context.Context) ClusterOutp return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } -func (i ClusterArgs) ToOutput(ctx context.Context) pulumix.Output[Cluster] { - return pulumix.Output[Cluster]{ - OutputState: i.ToClusterOutputWithContext(ctx).OutputState, - } -} - func (i ClusterArgs) ToClusterPtrOutput() ClusterPtrOutput { return i.ToClusterPtrOutputWithContext(context.Background()) } @@ -3938,12 +3451,6 @@ func (i *clusterPtrType) ToClusterPtrOutputWithContext(ctx context.Context) Clus return pulumi.ToOutputWithContext(ctx, i).(ClusterPtrOutput) } -func (i *clusterPtrType) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { - return pulumix.Output[*Cluster]{ - OutputState: i.ToClusterPtrOutputWithContext(ctx).OutputState, - } -} - // A Machine Secrets Cluster Info type ClusterOutput struct{ *pulumi.OutputState } @@ -3969,12 +3476,6 @@ func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) Cluste }).(ClusterPtrOutput) } -func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[Cluster] { - return pulumix.Output[Cluster]{ - OutputState: o.OutputState, - } -} - // Certificate func (o ClusterOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v Cluster) string { return v.Id }).(pulumi.StringOutput) @@ -3999,12 +3500,6 @@ func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) Clu return o } -func (o ClusterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster] { - return pulumix.Output[*Cluster]{ - OutputState: o.OutputState, - } -} - func (o ClusterPtrOutput) Elem() ClusterOutput { return o.ApplyT(func(v *Cluster) Cluster { if v != nil { @@ -4070,12 +3565,6 @@ func (i KeyArgs) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) } -func (i KeyArgs) ToOutput(ctx context.Context) pulumix.Output[Key] { - return pulumix.Output[Key]{ - OutputState: i.ToKeyOutputWithContext(ctx).OutputState, - } -} - func (i KeyArgs) ToKeyPtrOutput() KeyPtrOutput { return i.ToKeyPtrOutputWithContext(context.Background()) } @@ -4117,12 +3606,6 @@ func (i *keyPtrType) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput return pulumi.ToOutputWithContext(ctx, i).(KeyPtrOutput) } -func (i *keyPtrType) ToOutput(ctx context.Context) pulumix.Output[*Key] { - return pulumix.Output[*Key]{ - OutputState: i.ToKeyPtrOutputWithContext(ctx).OutputState, - } -} - // A Machine Secrets Private Key type KeyOutput struct{ *pulumi.OutputState } @@ -4148,12 +3631,6 @@ func (o KeyOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { }).(KeyPtrOutput) } -func (o KeyOutput) ToOutput(ctx context.Context) pulumix.Output[Key] { - return pulumix.Output[Key]{ - OutputState: o.OutputState, - } -} - // Private Key func (o KeyOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v Key) string { return v.Key }).(pulumi.StringOutput) @@ -4173,12 +3650,6 @@ func (o KeyPtrOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutpu return o } -func (o KeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*Key] { - return pulumix.Output[*Key]{ - OutputState: o.OutputState, - } -} - func (o KeyPtrOutput) Elem() KeyOutput { return o.ApplyT(func(v *Key) Key { if v != nil { @@ -4238,12 +3709,6 @@ func (i MachineSecretsArgs) ToMachineSecretsOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsOutput) } -func (i MachineSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[MachineSecrets] { - return pulumix.Output[MachineSecrets]{ - OutputState: i.ToMachineSecretsOutputWithContext(ctx).OutputState, - } -} - func (i MachineSecretsArgs) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { return i.ToMachineSecretsPtrOutputWithContext(context.Background()) } @@ -4285,12 +3750,6 @@ func (i *machineSecretsPtrType) ToMachineSecretsPtrOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsPtrOutput) } -func (i *machineSecretsPtrType) ToOutput(ctx context.Context) pulumix.Output[*MachineSecrets] { - return pulumix.Output[*MachineSecrets]{ - OutputState: i.ToMachineSecretsPtrOutputWithContext(ctx).OutputState, - } -} - // A complete Machine Secrets configuration type MachineSecretsOutput struct{ *pulumi.OutputState } @@ -4316,12 +3775,6 @@ func (o MachineSecretsOutput) ToMachineSecretsPtrOutputWithContext(ctx context.C }).(MachineSecretsPtrOutput) } -func (o MachineSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[MachineSecrets] { - return pulumix.Output[MachineSecrets]{ - OutputState: o.OutputState, - } -} - func (o MachineSecretsOutput) Certs() CertificatesOutput { return o.ApplyT(func(v MachineSecrets) Certificates { return v.Certs }).(CertificatesOutput) } @@ -4352,12 +3805,6 @@ func (o MachineSecretsPtrOutput) ToMachineSecretsPtrOutputWithContext(ctx contex return o } -func (o MachineSecretsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MachineSecrets] { - return pulumix.Output[*MachineSecrets]{ - OutputState: o.OutputState, - } -} - func (o MachineSecretsPtrOutput) Elem() MachineSecretsOutput { return o.ApplyT(func(v *MachineSecrets) MachineSecrets { if v != nil { @@ -4443,12 +3890,6 @@ func (i SecretsTypeArgs) ToSecretsTypeOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput) } -func (i SecretsTypeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsType] { - return pulumix.Output[SecretsType]{ - OutputState: i.ToSecretsTypeOutputWithContext(ctx).OutputState, - } -} - func (i SecretsTypeArgs) ToSecretsTypePtrOutput() SecretsTypePtrOutput { return i.ToSecretsTypePtrOutputWithContext(context.Background()) } @@ -4490,12 +3931,6 @@ func (i *secretsTypePtrType) ToSecretsTypePtrOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SecretsTypePtrOutput) } -func (i *secretsTypePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretsType] { - return pulumix.Output[*SecretsType]{ - OutputState: i.ToSecretsTypePtrOutputWithContext(ctx).OutputState, - } -} - // A Machine Secrets Bootstrap data type SecretsTypeOutput struct{ *pulumi.OutputState } @@ -4521,12 +3956,6 @@ func (o SecretsTypeOutput) ToSecretsTypePtrOutputWithContext(ctx context.Context }).(SecretsTypePtrOutput) } -func (o SecretsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsType] { - return pulumix.Output[SecretsType]{ - OutputState: o.OutputState, - } -} - // The bootstrap token for the talos kubernetes cluster func (o SecretsTypeOutput) Bootstrap_token() pulumi.StringOutput { return o.ApplyT(func(v SecretsType) string { return v.Bootstrap_token }).(pulumi.StringOutput) @@ -4551,12 +3980,6 @@ func (o SecretsTypePtrOutput) ToSecretsTypePtrOutputWithContext(ctx context.Cont return o } -func (o SecretsTypePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsType] { - return pulumix.Output[*SecretsType]{ - OutputState: o.OutputState, - } -} - func (o SecretsTypePtrOutput) Elem() SecretsTypeOutput { return o.ApplyT(func(v *SecretsType) SecretsType { if v != nil { @@ -4622,12 +4045,6 @@ func (i TrustdInfoArgs) ToTrustdInfoOutputWithContext(ctx context.Context) Trust return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoOutput) } -func (i TrustdInfoArgs) ToOutput(ctx context.Context) pulumix.Output[TrustdInfo] { - return pulumix.Output[TrustdInfo]{ - OutputState: i.ToTrustdInfoOutputWithContext(ctx).OutputState, - } -} - func (i TrustdInfoArgs) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { return i.ToTrustdInfoPtrOutputWithContext(context.Background()) } @@ -4669,12 +4086,6 @@ func (i *trustdInfoPtrType) ToTrustdInfoPtrOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoPtrOutput) } -func (i *trustdInfoPtrType) ToOutput(ctx context.Context) pulumix.Output[*TrustdInfo] { - return pulumix.Output[*TrustdInfo]{ - OutputState: i.ToTrustdInfoPtrOutputWithContext(ctx).OutputState, - } -} - // A Machine Secrets Trust daemon info type TrustdInfoOutput struct{ *pulumi.OutputState } @@ -4700,12 +4111,6 @@ func (o TrustdInfoOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Context) }).(TrustdInfoPtrOutput) } -func (o TrustdInfoOutput) ToOutput(ctx context.Context) pulumix.Output[TrustdInfo] { - return pulumix.Output[TrustdInfo]{ - OutputState: o.OutputState, - } -} - // The trustd token for the talos kubernetes cluster func (o TrustdInfoOutput) Token() pulumi.StringOutput { return o.ApplyT(func(v TrustdInfo) string { return v.Token }).(pulumi.StringOutput) @@ -4725,12 +4130,6 @@ func (o TrustdInfoPtrOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Contex return o } -func (o TrustdInfoPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*TrustdInfo] { - return pulumix.Output[*TrustdInfo]{ - OutputState: o.OutputState, - } -} - func (o TrustdInfoPtrOutput) Elem() TrustdInfoOutput { return o.ApplyT(func(v *TrustdInfo) TrustdInfo { if v != nil { @@ -4796,12 +4195,6 @@ func (i GetConfigurationMachineSecretsArgs) ToGetConfigurationMachineSecretsOutp return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsOutput) } -func (i GetConfigurationMachineSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecrets] { - return pulumix.Output[GetConfigurationMachineSecrets]{ - OutputState: i.ToGetConfigurationMachineSecretsOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsOutput) ElementType() reflect.Type { @@ -4816,12 +4209,6 @@ func (o GetConfigurationMachineSecretsOutput) ToGetConfigurationMachineSecretsOu return o } -func (o GetConfigurationMachineSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecrets] { - return pulumix.Output[GetConfigurationMachineSecrets]{ - OutputState: o.OutputState, - } -} - // The certs for the talos kubernetes cluster func (o GetConfigurationMachineSecretsOutput) Certs() GetConfigurationMachineSecretsCertsOutput { return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsCerts { return v.Certs }).(GetConfigurationMachineSecretsCertsOutput) @@ -4889,12 +4276,6 @@ func (i GetConfigurationMachineSecretsCertsArgs) ToGetConfigurationMachineSecret return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOutput) } -func (i GetConfigurationMachineSecretsCertsArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCerts] { - return pulumix.Output[GetConfigurationMachineSecretsCerts]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsOutput) ElementType() reflect.Type { @@ -4909,12 +4290,6 @@ func (o GetConfigurationMachineSecretsCertsOutput) ToGetConfigurationMachineSecr return o } -func (o GetConfigurationMachineSecretsCertsOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCerts] { - return pulumix.Output[GetConfigurationMachineSecretsCerts]{ - OutputState: o.OutputState, - } -} - // The certificate and key pair func (o GetConfigurationMachineSecretsCertsOutput) Etcd() GetConfigurationMachineSecretsCertsEtcdOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsEtcd { return v.Etcd }).(GetConfigurationMachineSecretsCertsEtcdOutput) @@ -4980,12 +4355,6 @@ func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToGetConfigurationMachineSe return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsEtcdOutput) } -func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsEtcd] { - return pulumix.Output[GetConfigurationMachineSecretsCertsEtcd]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { @@ -5000,12 +4369,6 @@ func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToGetConfigurationMachine return o } -func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsEtcd] { - return pulumix.Output[GetConfigurationMachineSecretsCertsEtcd]{ - OutputState: o.OutputState, - } -} - // certificate data func (o GetConfigurationMachineSecretsCertsEtcdOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCertsEtcd) string { return v.Cert }).(pulumi.StringOutput) @@ -5053,12 +4416,6 @@ func (i GetConfigurationMachineSecretsCertsK8sArgs) ToGetConfigurationMachineSec return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sOutput) } -func (i GetConfigurationMachineSecretsCertsK8sArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8s] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8s]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsK8sOutput) ElementType() reflect.Type { @@ -5073,12 +4430,6 @@ func (o GetConfigurationMachineSecretsCertsK8sOutput) ToGetConfigurationMachineS return o } -func (o GetConfigurationMachineSecretsCertsK8sOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8s] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8s]{ - OutputState: o.OutputState, - } -} - // certificate data func (o GetConfigurationMachineSecretsCertsK8sOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8s) string { return v.Cert }).(pulumi.StringOutput) @@ -5126,12 +4477,6 @@ func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToGetConfiguration return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sAggregatorOutput) } -func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8sAggregator] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8sAggregator]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { @@ -5146,12 +4491,6 @@ func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToGetConfigurati return o } -func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8sAggregator] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8sAggregator]{ - OutputState: o.OutputState, - } -} - // certificate data func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sAggregator) string { return v.Cert }).(pulumi.StringOutput) @@ -5195,12 +4534,6 @@ func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToGetConfigura return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) } -func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8sServiceaccount]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { @@ -5215,12 +4548,6 @@ func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToGetConfigu return o } -func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsK8sServiceaccount] { - return pulumix.Output[GetConfigurationMachineSecretsCertsK8sServiceaccount]{ - OutputState: o.OutputState, - } -} - // key data func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sServiceaccount) string { return v.Key }).(pulumi.StringOutput) @@ -5263,12 +4590,6 @@ func (i GetConfigurationMachineSecretsCertsOsArgs) ToGetConfigurationMachineSecr return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOsOutput) } -func (i GetConfigurationMachineSecretsCertsOsArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsOs] { - return pulumix.Output[GetConfigurationMachineSecretsCertsOs]{ - OutputState: i.ToGetConfigurationMachineSecretsCertsOsOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsCertsOsOutput) ElementType() reflect.Type { @@ -5283,12 +4604,6 @@ func (o GetConfigurationMachineSecretsCertsOsOutput) ToGetConfigurationMachineSe return o } -func (o GetConfigurationMachineSecretsCertsOsOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCertsOs] { - return pulumix.Output[GetConfigurationMachineSecretsCertsOs]{ - OutputState: o.OutputState, - } -} - // certificate data func (o GetConfigurationMachineSecretsCertsOsOutput) Cert() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCertsOs) string { return v.Cert }).(pulumi.StringOutput) @@ -5336,12 +4651,6 @@ func (i GetConfigurationMachineSecretsClusterArgs) ToGetConfigurationMachineSecr return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsClusterOutput) } -func (i GetConfigurationMachineSecretsClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCluster] { - return pulumix.Output[GetConfigurationMachineSecretsCluster]{ - OutputState: i.ToGetConfigurationMachineSecretsClusterOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsClusterOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsClusterOutput) ElementType() reflect.Type { @@ -5356,12 +4665,6 @@ func (o GetConfigurationMachineSecretsClusterOutput) ToGetConfigurationMachineSe return o } -func (o GetConfigurationMachineSecretsClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsCluster] { - return pulumix.Output[GetConfigurationMachineSecretsCluster]{ - OutputState: o.OutputState, - } -} - // The cluster id func (o GetConfigurationMachineSecretsClusterOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsCluster) string { return v.Id }).(pulumi.StringOutput) @@ -5413,12 +4716,6 @@ func (i GetConfigurationMachineSecretsSecretsArgs) ToGetConfigurationMachineSecr return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsSecretsOutput) } -func (i GetConfigurationMachineSecretsSecretsArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsSecrets] { - return pulumix.Output[GetConfigurationMachineSecretsSecrets]{ - OutputState: i.ToGetConfigurationMachineSecretsSecretsOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsSecretsOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsSecretsOutput) ElementType() reflect.Type { @@ -5433,12 +4730,6 @@ func (o GetConfigurationMachineSecretsSecretsOutput) ToGetConfigurationMachineSe return o } -func (o GetConfigurationMachineSecretsSecretsOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsSecrets] { - return pulumix.Output[GetConfigurationMachineSecretsSecrets]{ - OutputState: o.OutputState, - } -} - // The aescbc encryption secret for the talos kubernetes cluster func (o GetConfigurationMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) @@ -5487,12 +4778,6 @@ func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToGetConfigurationMachineS return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsTrustdinfoOutput) } -func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsTrustdinfo] { - return pulumix.Output[GetConfigurationMachineSecretsTrustdinfo]{ - OutputState: i.ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(ctx).OutputState, - } -} - type GetConfigurationMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } func (GetConfigurationMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { @@ -5507,12 +4792,6 @@ func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToGetConfigurationMachin return o } -func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToOutput(ctx context.Context) pulumix.Output[GetConfigurationMachineSecretsTrustdinfo] { - return pulumix.Output[GetConfigurationMachineSecretsTrustdinfo]{ - OutputState: o.OutputState, - } -} - // The trustd token for the talos kubernetes cluster func (o GetConfigurationMachineSecretsTrustdinfoOutput) Token() pulumi.StringOutput { return o.ApplyT(func(v GetConfigurationMachineSecretsTrustdinfo) string { return v.Token }).(pulumi.StringOutput) diff --git a/sdk/go/talos/machine/secrets.go b/sdk/go/talos/machine/secrets.go index d75c1c1..16d60d0 100644 --- a/sdk/go/talos/machine/secrets.go +++ b/sdk/go/talos/machine/secrets.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -143,12 +142,6 @@ func (i *SecretsType) ToSecretsTypeOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput) } -func (i *SecretsType) ToOutput(ctx context.Context) pulumix.Output[*SecretsType] { - return pulumix.Output[*SecretsType]{ - OutputState: i.ToSecretsTypeOutputWithContext(ctx).OutputState, - } -} - // SecretsTypeArrayInput is an input type that accepts SecretsTypeArray and SecretsTypeArrayOutput values. // You can construct a concrete instance of `SecretsTypeArrayInput` via: // @@ -174,12 +167,6 @@ func (i SecretsTypeArray) ToSecretsTypeArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeArrayOutput) } -func (i SecretsTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretsType] { - return pulumix.Output[[]*SecretsType]{ - OutputState: i.ToSecretsTypeArrayOutputWithContext(ctx).OutputState, - } -} - // SecretsTypeMapInput is an input type that accepts SecretsTypeMap and SecretsTypeMapOutput values. // You can construct a concrete instance of `SecretsTypeMapInput` via: // @@ -205,12 +192,6 @@ func (i SecretsTypeMap) ToSecretsTypeMapOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeMapOutput) } -func (i SecretsTypeMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretsType] { - return pulumix.Output[map[string]*SecretsType]{ - OutputState: i.ToSecretsTypeMapOutputWithContext(ctx).OutputState, - } -} - type SecretsTypeOutput struct{ *pulumi.OutputState } func (SecretsTypeOutput) ElementType() reflect.Type { @@ -225,12 +206,6 @@ func (o SecretsTypeOutput) ToSecretsTypeOutputWithContext(ctx context.Context) S return o } -func (o SecretsTypeOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsType] { - return pulumix.Output[*SecretsType]{ - OutputState: o.OutputState, - } -} - // The generated client configuration data func (o SecretsTypeOutput) ClientConfiguration() SecretsClientConfigurationOutput { return o.ApplyT(func(v *SecretsType) SecretsClientConfigurationOutput { return v.ClientConfiguration }).(SecretsClientConfigurationOutput) @@ -260,12 +235,6 @@ func (o SecretsTypeArrayOutput) ToSecretsTypeArrayOutputWithContext(ctx context. return o } -func (o SecretsTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretsType] { - return pulumix.Output[[]*SecretsType]{ - OutputState: o.OutputState, - } -} - func (o SecretsTypeArrayOutput) Index(i pulumi.IntInput) SecretsTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretsType { return vs[0].([]*SecretsType)[vs[1].(int)] @@ -286,12 +255,6 @@ func (o SecretsTypeMapOutput) ToSecretsTypeMapOutputWithContext(ctx context.Cont return o } -func (o SecretsTypeMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretsType] { - return pulumix.Output[map[string]*SecretsType]{ - OutputState: o.OutputState, - } -} - func (o SecretsTypeMapOutput) MapIndex(k pulumi.StringInput) SecretsTypeOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretsType { return vs[0].(map[string]*SecretsType)[vs[1].(string)] diff --git a/sdk/go/talos/provider.go b/sdk/go/talos/provider.go index 6b35d9a..53a5668 100644 --- a/sdk/go/talos/provider.go +++ b/sdk/go/talos/provider.go @@ -8,7 +8,6 @@ import ( "reflect" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" ) @@ -66,12 +65,6 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } -func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: i.ToProviderOutputWithContext(ctx).OutputState, - } -} - type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -86,12 +79,6 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } -func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: o.OutputState, - } -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) pulumi.RegisterOutputType(ProviderOutput{}) diff --git a/sdk/nodejs/cluster/health.ts b/sdk/nodejs/cluster/health.ts new file mode 100644 index 0000000..3f730b0 --- /dev/null +++ b/sdk/nodejs/cluster/health.ts @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Checks the health of a Talos cluster + */ +export function health(args: HealthArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("talos:cluster/health:Health", { + "clientConfiguration": args.clientConfiguration, + "controlPlaneNodes": args.controlPlaneNodes, + "endpoints": args.endpoints, + "timeouts": args.timeouts, + "workerNodes": args.workerNodes, + }, opts); +} + +/** + * A collection of arguments for invoking Health. + */ +export interface HealthArgs { + /** + * The client configuration data + */ + clientConfiguration: inputs.cluster.HealthClientConfiguration; + /** + * List of control plane nodes to check for health. + */ + controlPlaneNodes: string[]; + /** + * endpoints to use for the health check client. Use at least one control plane endpoint. + */ + endpoints: string[]; + timeouts?: inputs.cluster.HealthTimeouts; + /** + * List of worker nodes to check for health. + */ + workerNodes?: string[]; +} + +/** + * A collection of values returned by Health. + */ +export interface HealthResult { + /** + * The client configuration data + */ + readonly clientConfiguration: outputs.cluster.HealthClientConfiguration; + /** + * List of control plane nodes to check for health. + */ + readonly controlPlaneNodes: string[]; + /** + * endpoints to use for the health check client. Use at least one control plane endpoint. + */ + readonly endpoints: string[]; + /** + * The ID of this resource. + */ + readonly id: string; + readonly timeouts?: outputs.cluster.HealthTimeouts; + /** + * List of worker nodes to check for health. + */ + readonly workerNodes?: string[]; +} +/** + * Checks the health of a Talos cluster + */ +export function healthOutput(args: HealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => health(a, opts)) +} + +/** + * A collection of arguments for invoking Health. + */ +export interface HealthOutputArgs { + /** + * The client configuration data + */ + clientConfiguration: pulumi.Input; + /** + * List of control plane nodes to check for health. + */ + controlPlaneNodes: pulumi.Input[]>; + /** + * endpoints to use for the health check client. Use at least one control plane endpoint. + */ + endpoints: pulumi.Input[]>; + timeouts?: pulumi.Input; + /** + * List of worker nodes to check for health. + */ + workerNodes?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/cluster/index.ts b/sdk/nodejs/cluster/index.ts index f41e80c..fe2f760 100644 --- a/sdk/nodejs/cluster/index.ts +++ b/sdk/nodejs/cluster/index.ts @@ -4,6 +4,11 @@ import * as utilities from "../utilities"; // Export members: +export { HealthArgs, HealthResult, HealthOutputArgs } from "./health"; +export const health: typeof import("./health").health = null as any; +export const healthOutput: typeof import("./health").healthOutput = null as any; +utilities.lazyLoad(exports, ["health","healthOutput"], () => require("./health")); + export { KubeconfigArgs, KubeconfigResult, KubeconfigOutputArgs } from "./kubeconfig"; export const kubeconfig: typeof import("./kubeconfig").kubeconfig = null as any; export const kubeconfigOutput: typeof import("./kubeconfig").kubeconfigOutput = null as any; diff --git a/sdk/nodejs/cluster/kubeconfig.ts b/sdk/nodejs/cluster/kubeconfig.ts index a703bd9..2eb3a77 100644 --- a/sdk/nodejs/cluster/kubeconfig.ts +++ b/sdk/nodejs/cluster/kubeconfig.ts @@ -30,7 +30,7 @@ export interface KubeconfigArgs { */ clientConfiguration: inputs.cluster.KubeconfigClientConfiguration; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ endpoint?: string; /** @@ -40,6 +40,8 @@ export interface KubeconfigArgs { timeouts?: inputs.cluster.KubeconfigTimeouts; /** * Wait for the kubernetes api to be available + * + * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. */ wait?: boolean; } @@ -53,7 +55,7 @@ export interface KubeconfigResult { */ readonly clientConfiguration: outputs.cluster.KubeconfigClientConfiguration; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ readonly endpoint: string; /** @@ -75,6 +77,8 @@ export interface KubeconfigResult { readonly timeouts?: outputs.cluster.KubeconfigTimeouts; /** * Wait for the kubernetes api to be available + * + * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. */ readonly wait?: boolean; } @@ -94,7 +98,7 @@ export interface KubeconfigOutputArgs { */ clientConfiguration: pulumi.Input; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ endpoint?: pulumi.Input; /** @@ -104,6 +108,8 @@ export interface KubeconfigOutputArgs { timeouts?: pulumi.Input; /** * Wait for the kubernetes api to be available + * + * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. */ wait?: pulumi.Input; } diff --git a/sdk/nodejs/machine/disks.ts b/sdk/nodejs/machine/disks.ts index 83b0e46..265ec3d 100644 --- a/sdk/nodejs/machine/disks.ts +++ b/sdk/nodejs/machine/disks.ts @@ -51,7 +51,7 @@ export interface DisksArgs { */ clientConfiguration: inputs.machine.DisksClientConfiguration; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ endpoint?: string; /** @@ -78,7 +78,7 @@ export interface DisksResult { */ readonly disks: outputs.machine.DisksDisk[]; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ readonly endpoint: string; /** @@ -132,7 +132,7 @@ export interface DisksOutputArgs { */ clientConfiguration: pulumi.Input; /** - * endpoint to use for the talosclient. if not set, the node value will be used + * endpoint to use for the talosclient. If not set, the node value will be used */ endpoint?: pulumi.Input; /** diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 1716f32..b86be81 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -15,6 +15,7 @@ "files": [ "client/configuration.ts", "client/index.ts", + "cluster/health.ts", "cluster/index.ts", "cluster/kubeconfig.ts", "index.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index e573fee..79b2351 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -38,6 +38,50 @@ export namespace client { } export namespace cluster { + export interface HealthClientConfiguration { + /** + * The client CA certificate + */ + caCertificate: string; + /** + * The client certificate + */ + clientCertificate: string; + /** + * The client key + */ + clientKey: string; + } + + export interface HealthClientConfigurationArgs { + /** + * The client CA certificate + */ + caCertificate: pulumi.Input; + /** + * The client certificate + */ + clientCertificate: pulumi.Input; + /** + * The client key + */ + clientKey: pulumi.Input; + } + + export interface HealthTimeouts { + /** + * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + */ + read?: string; + } + + export interface HealthTimeoutsArgs { + /** + * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + */ + read?: pulumi.Input; + } + export interface KubeconfigClientConfiguration { /** * The client CA certificate diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 8fb09bf..29a1545 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -24,6 +24,28 @@ export namespace client { } export namespace cluster { + export interface HealthClientConfiguration { + /** + * The client CA certificate + */ + caCertificate: string; + /** + * The client certificate + */ + clientCertificate: string; + /** + * The client key + */ + clientKey: string; + } + + export interface HealthTimeouts { + /** + * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + */ + read?: string; + } + export interface KubeconfigClientConfiguration { /** * The client CA certificate diff --git a/sdk/nodejs/utilities.ts b/sdk/nodejs/utilities.ts index ff05d49..43fa0af 100644 --- a/sdk/nodejs/utilities.ts +++ b/sdk/nodejs/utilities.ts @@ -2,6 +2,9 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** +import * as runtime from "@pulumi/pulumi/runtime"; +import * as pulumi from "@pulumi/pulumi"; + export function getEnv(...vars: string[]): string | undefined { for (const v of vars) { const value = process.env[v]; @@ -64,3 +67,29 @@ export function lazyLoad(exports: any, props: string[], loadModule: any) { }); } } + +export async function callAsync( + tok: string, + props: pulumi.Inputs, + res?: pulumi.Resource, + opts?: {property?: string}, +): Promise { + const o: any = runtime.call(tok, props, res); + const value = await o.promise(true /*withUnknowns*/); + const isKnown = await o.isKnown; + const isSecret = await o.isSecret; + const problem: string|undefined = + !isKnown ? "an unknown value" + : isSecret ? "a secret value" + : undefined; + // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency. + if (problem) { + throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` + + "This is an error in the provider, please report this to the provider developer."); + } + // Extract a single property if requested. + if (opts && opts.property) { + return value[opts.property]; + } + return value; +} diff --git a/sdk/python/pulumiverse_talos/_utilities.py b/sdk/python/pulumiverse_talos/_utilities.py index 0bb35cf..bced1a1 100644 --- a/sdk/python/pulumiverse_talos/_utilities.py +++ b/sdk/python/pulumiverse_talos/_utilities.py @@ -3,6 +3,7 @@ # *** Do not edit by hand unless you're certain you know what you are doing! *** +import asyncio import importlib.util import inspect import json @@ -13,6 +14,7 @@ import pulumi import pulumi.runtime +from pulumi.runtime.sync_await import _sync_await from semver import VersionInfo as SemverVersion from parver import Version as PEP440Version @@ -246,5 +248,44 @@ def lifted_func(*args, opts=None, **kwargs): return (lambda _: lifted_func) + +def call_plain( + tok: str, + props: pulumi.Inputs, + res: typing.Optional[pulumi.Resource] = None, + typ: typing.Optional[type] = None, +) -> typing.Any: + """ + Wraps pulumi.runtime.plain to force the output and return it plainly. + """ + + output = pulumi.runtime.call(tok, props, res, typ) + + # Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. + result, known, secret, _ = _sync_await(asyncio.ensure_future(_await_output(output))) + + problem = None + if not known: + problem = ' an unknown value' + elif secret: + problem = ' a secret value' + + if problem: + raise AssertionError( + f"Plain resource method '{tok}' incorrectly returned {problem}. " + + "This is an error in the provider, please report this to the provider developer." + ) + + return result + + +async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bool, bool, set]: + return ( + await o._future, + await o._is_known, + await o._is_secret, + await o._resources, + ) + def get_plugin_download_url(): return "github://api.github.com/pulumiverse" diff --git a/sdk/python/pulumiverse_talos/client/_inputs.py b/sdk/python/pulumiverse_talos/client/_inputs.py index 7a9f596..9a7a54e 100644 --- a/sdk/python/pulumiverse_talos/client/_inputs.py +++ b/sdk/python/pulumiverse_talos/client/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,22 +24,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - ConfigurationClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") diff --git a/sdk/python/pulumiverse_talos/client/configuration.py b/sdk/python/pulumiverse_talos/client/configuration.py index 372d32b..d35d803 100644 --- a/sdk/python/pulumiverse_talos/client/configuration.py +++ b/sdk/python/pulumiverse_talos/client/configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumiverse_talos/client/outputs.py b/sdk/python/pulumiverse_talos/client/outputs.py index c77da20..bf6ec24 100644 --- a/sdk/python/pulumiverse_talos/client/outputs.py +++ b/sdk/python/pulumiverse_talos/client/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,22 +24,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - ConfigurationClientConfigurationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") diff --git a/sdk/python/pulumiverse_talos/cluster/__init__.py b/sdk/python/pulumiverse_talos/cluster/__init__.py index d15400a..187fa43 100644 --- a/sdk/python/pulumiverse_talos/cluster/__init__.py +++ b/sdk/python/pulumiverse_talos/cluster/__init__.py @@ -5,6 +5,7 @@ from .. import _utilities import typing # Export this package's modules as members: +from .health import * from .kubeconfig import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumiverse_talos/cluster/_inputs.py b/sdk/python/pulumiverse_talos/cluster/_inputs.py index 995f340..c33ac91 100644 --- a/sdk/python/pulumiverse_talos/cluster/_inputs.py +++ b/sdk/python/pulumiverse_talos/cluster/_inputs.py @@ -6,14 +6,91 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ + 'HealthClientConfigurationArgs', + 'HealthTimeoutsArgs', 'KubeconfigClientConfigurationArgs', 'KubeconfigTimeoutsArgs', ] +@pulumi.input_type +class HealthClientConfigurationArgs: + def __init__(__self__, *, + ca_certificate: str, + client_certificate: str, + client_key: str): + """ + :param str ca_certificate: The client CA certificate + :param str client_certificate: The client certificate + :param str client_key: The client key + """ + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) + + @property + @pulumi.getter(name="caCertificate") + def ca_certificate(self) -> str: + """ + The client CA certificate + """ + return pulumi.get(self, "ca_certificate") + + @ca_certificate.setter + def ca_certificate(self, value: str): + pulumi.set(self, "ca_certificate", value) + + @property + @pulumi.getter(name="clientCertificate") + def client_certificate(self) -> str: + """ + The client certificate + """ + return pulumi.get(self, "client_certificate") + + @client_certificate.setter + def client_certificate(self, value: str): + pulumi.set(self, "client_certificate", value) + + @property + @pulumi.getter(name="clientKey") + def client_key(self) -> str: + """ + The client key + """ + return pulumi.get(self, "client_key") + + @client_key.setter + def client_key(self, value: str): + pulumi.set(self, "client_key", value) + + +@pulumi.input_type +class HealthTimeoutsArgs: + def __init__(__self__, *, + read: Optional[str] = None): + """ + :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + if read is not None: + pulumi.set(__self__, "read", read) + + @property + @pulumi.getter + def read(self) -> Optional[str]: + """ + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + return pulumi.get(self, "read") + + @read.setter + def read(self, value: Optional[str]): + pulumi.set(self, "read", value) + + @pulumi.input_type class KubeconfigClientConfigurationArgs: def __init__(__self__, *, @@ -25,22 +102,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - KubeconfigClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -86,17 +150,8 @@ def __init__(__self__, *, """ :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - KubeconfigTimeoutsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - read=read, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - read: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) @property @pulumi.getter diff --git a/sdk/python/pulumiverse_talos/cluster/health.py b/sdk/python/pulumiverse_talos/cluster/health.py new file mode 100644 index 0000000..4ed6ca4 --- /dev/null +++ b/sdk/python/pulumiverse_talos/cluster/health.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'HealthResult', + 'AwaitableHealthResult', + 'health', + 'health_output', +] + +@pulumi.output_type +class HealthResult: + """ + A collection of values returned by Health. + """ + def __init__(__self__, client_configuration=None, control_plane_nodes=None, endpoints=None, id=None, timeouts=None, worker_nodes=None): + if client_configuration and not isinstance(client_configuration, dict): + raise TypeError("Expected argument 'client_configuration' to be a dict") + pulumi.set(__self__, "client_configuration", client_configuration) + if control_plane_nodes and not isinstance(control_plane_nodes, list): + raise TypeError("Expected argument 'control_plane_nodes' to be a list") + pulumi.set(__self__, "control_plane_nodes", control_plane_nodes) + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if timeouts and not isinstance(timeouts, dict): + raise TypeError("Expected argument 'timeouts' to be a dict") + pulumi.set(__self__, "timeouts", timeouts) + if worker_nodes and not isinstance(worker_nodes, list): + raise TypeError("Expected argument 'worker_nodes' to be a list") + pulumi.set(__self__, "worker_nodes", worker_nodes) + + @property + @pulumi.getter(name="clientConfiguration") + def client_configuration(self) -> 'outputs.HealthClientConfigurationResult': + """ + The client configuration data + """ + return pulumi.get(self, "client_configuration") + + @property + @pulumi.getter(name="controlPlaneNodes") + def control_plane_nodes(self) -> Sequence[str]: + """ + List of control plane nodes to check for health. + """ + return pulumi.get(self, "control_plane_nodes") + + @property + @pulumi.getter + def endpoints(self) -> Sequence[str]: + """ + endpoints to use for the health check client. Use at least one control plane endpoint. + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of this resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def timeouts(self) -> Optional['outputs.HealthTimeoutsResult']: + return pulumi.get(self, "timeouts") + + @property + @pulumi.getter(name="workerNodes") + def worker_nodes(self) -> Optional[Sequence[str]]: + """ + List of worker nodes to check for health. + """ + return pulumi.get(self, "worker_nodes") + + +class AwaitableHealthResult(HealthResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return HealthResult( + client_configuration=self.client_configuration, + control_plane_nodes=self.control_plane_nodes, + endpoints=self.endpoints, + id=self.id, + timeouts=self.timeouts, + worker_nodes=self.worker_nodes) + + +def health(client_configuration: Optional[pulumi.InputType['HealthClientConfigurationArgs']] = None, + control_plane_nodes: Optional[Sequence[str]] = None, + endpoints: Optional[Sequence[str]] = None, + timeouts: Optional[pulumi.InputType['HealthTimeoutsArgs']] = None, + worker_nodes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableHealthResult: + """ + Checks the health of a Talos cluster + + + :param pulumi.InputType['HealthClientConfigurationArgs'] client_configuration: The client configuration data + :param Sequence[str] control_plane_nodes: List of control plane nodes to check for health. + :param Sequence[str] endpoints: endpoints to use for the health check client. Use at least one control plane endpoint. + :param Sequence[str] worker_nodes: List of worker nodes to check for health. + """ + __args__ = dict() + __args__['clientConfiguration'] = client_configuration + __args__['controlPlaneNodes'] = control_plane_nodes + __args__['endpoints'] = endpoints + __args__['timeouts'] = timeouts + __args__['workerNodes'] = worker_nodes + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('talos:cluster/health:Health', __args__, opts=opts, typ=HealthResult).value + + return AwaitableHealthResult( + client_configuration=pulumi.get(__ret__, 'client_configuration'), + control_plane_nodes=pulumi.get(__ret__, 'control_plane_nodes'), + endpoints=pulumi.get(__ret__, 'endpoints'), + id=pulumi.get(__ret__, 'id'), + timeouts=pulumi.get(__ret__, 'timeouts'), + worker_nodes=pulumi.get(__ret__, 'worker_nodes')) + + +@_utilities.lift_output_func(health) +def health_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['HealthClientConfigurationArgs']]] = None, + control_plane_nodes: Optional[pulumi.Input[Sequence[str]]] = None, + endpoints: Optional[pulumi.Input[Sequence[str]]] = None, + timeouts: Optional[pulumi.Input[Optional[pulumi.InputType['HealthTimeoutsArgs']]]] = None, + worker_nodes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[HealthResult]: + """ + Checks the health of a Talos cluster + + + :param pulumi.InputType['HealthClientConfigurationArgs'] client_configuration: The client configuration data + :param Sequence[str] control_plane_nodes: List of control plane nodes to check for health. + :param Sequence[str] endpoints: endpoints to use for the health check client. Use at least one control plane endpoint. + :param Sequence[str] worker_nodes: List of worker nodes to check for health. + """ + ... diff --git a/sdk/python/pulumiverse_talos/cluster/kubeconfig.py b/sdk/python/pulumiverse_talos/cluster/kubeconfig.py index 9e14a8f..2c80499 100644 --- a/sdk/python/pulumiverse_talos/cluster/kubeconfig.py +++ b/sdk/python/pulumiverse_talos/cluster/kubeconfig.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -61,7 +61,7 @@ def client_configuration(self) -> 'outputs.KubeconfigClientConfigurationResult': @pulumi.getter def endpoint(self) -> str: """ - endpoint to use for the talosclient. if not set, the node value will be used + endpoint to use for the talosclient. If not set, the node value will be used """ return pulumi.get(self, "endpoint") @@ -108,6 +108,9 @@ def wait(self) -> Optional[bool]: """ Wait for the kubernetes api to be available """ + warnings.warn("""This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.""", DeprecationWarning) + pulumi.log.warn("""wait is deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.""") + return pulumi.get(self, "wait") @@ -138,7 +141,7 @@ def kubeconfig(client_configuration: Optional[pulumi.InputType['KubeconfigClient :param pulumi.InputType['KubeconfigClientConfigurationArgs'] client_configuration: The client configuration data - :param str endpoint: endpoint to use for the talosclient. if not set, the node value will be used + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used :param str node: controlplane node to retrieve the kubeconfig from :param bool wait: Wait for the kubernetes api to be available """ @@ -174,7 +177,7 @@ def kubeconfig_output(client_configuration: Optional[pulumi.Input[pulumi.InputTy :param pulumi.InputType['KubeconfigClientConfigurationArgs'] client_configuration: The client configuration data - :param str endpoint: endpoint to use for the talosclient. if not set, the node value will be used + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used :param str node: controlplane node to retrieve the kubeconfig from :param bool wait: Wait for the kubernetes api to be available """ diff --git a/sdk/python/pulumiverse_talos/cluster/outputs.py b/sdk/python/pulumiverse_talos/cluster/outputs.py index 16d463f..fab3ac7 100644 --- a/sdk/python/pulumiverse_talos/cluster/outputs.py +++ b/sdk/python/pulumiverse_talos/cluster/outputs.py @@ -6,15 +6,76 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ + 'HealthClientConfigurationResult', + 'HealthTimeoutsResult', 'KubeconfigClientConfigurationResult', 'KubeconfigKubernetesClientConfigurationResult', 'KubeconfigTimeoutsResult', ] +@pulumi.output_type +class HealthClientConfigurationResult(dict): + def __init__(__self__, *, + ca_certificate: str, + client_certificate: str, + client_key: str): + """ + :param str ca_certificate: The client CA certificate + :param str client_certificate: The client certificate + :param str client_key: The client key + """ + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) + + @property + @pulumi.getter(name="caCertificate") + def ca_certificate(self) -> str: + """ + The client CA certificate + """ + return pulumi.get(self, "ca_certificate") + + @property + @pulumi.getter(name="clientCertificate") + def client_certificate(self) -> str: + """ + The client certificate + """ + return pulumi.get(self, "client_certificate") + + @property + @pulumi.getter(name="clientKey") + def client_key(self) -> str: + """ + The client key + """ + return pulumi.get(self, "client_key") + + +@pulumi.output_type +class HealthTimeoutsResult(dict): + def __init__(__self__, *, + read: Optional[str] = None): + """ + :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + if read is not None: + pulumi.set(__self__, "read", read) + + @property + @pulumi.getter + def read(self) -> Optional[str]: + """ + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + return pulumi.get(self, "read") + + @pulumi.output_type class KubeconfigClientConfigurationResult(dict): def __init__(__self__, *, @@ -26,22 +87,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - KubeconfigClientConfigurationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -81,25 +129,10 @@ def __init__(__self__, *, :param str client_key: The kubernetes client key :param str host: The kubernetes host """ - KubeconfigKubernetesClientConfigurationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - host=host, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - host: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) - _setter("host", host) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) + pulumi.set(__self__, "host", host) @property @pulumi.getter(name="caCertificate") @@ -141,17 +174,8 @@ def __init__(__self__, *, """ :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - KubeconfigTimeoutsResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - read=read, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - read: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) @property @pulumi.getter diff --git a/sdk/python/pulumiverse_talos/machine/_inputs.py b/sdk/python/pulumiverse_talos/machine/_inputs.py index 106d048..131b057 100644 --- a/sdk/python/pulumiverse_talos/machine/_inputs.py +++ b/sdk/python/pulumiverse_talos/machine/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -45,22 +45,9 @@ def __init__(__self__, *, :param pulumi.Input[str] client_certificate: The client certificate :param pulumi.Input[str] client_key: The client key """ - BootstrapClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: pulumi.Input[str], - client_certificate: pulumi.Input[str], - client_key: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -106,17 +93,8 @@ def __init__(__self__, *, """ :param pulumi.Input[str] create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - BootstrapTimeoutsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - create=create, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - create: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): if create is not None: - _setter("create", create) + pulumi.set(__self__, "create", create) @property @pulumi.getter @@ -142,22 +120,9 @@ def __init__(__self__, *, :param pulumi.Input[str] client_certificate: The client certificate :param pulumi.Input[str] client_key: The client key """ - ConfigurationApplyClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: pulumi.Input[str], - client_certificate: pulumi.Input[str], - client_key: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -207,22 +172,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - DisksClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -284,49 +236,24 @@ def __init__(__self__, *, :param str uuid: Filter disks by uuid :param str wwid: Filter disks by wwid """ - DisksFiltersArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - bus_path=bus_path, - modalias=modalias, - model=model, - name=name, - serial=serial, - size=size, - type=type, - uuid=uuid, - wwid=wwid, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bus_path: Optional[str] = None, - modalias: Optional[str] = None, - model: Optional[str] = None, - name: Optional[str] = None, - serial: Optional[str] = None, - size: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None, - wwid: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if bus_path is not None: - _setter("bus_path", bus_path) + pulumi.set(__self__, "bus_path", bus_path) if modalias is not None: - _setter("modalias", modalias) + pulumi.set(__self__, "modalias", modalias) if model is not None: - _setter("model", model) + pulumi.set(__self__, "model", model) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if serial is not None: - _setter("serial", serial) + pulumi.set(__self__, "serial", serial) if size is not None: - _setter("size", size) + pulumi.set(__self__, "size", size) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if wwid is not None: - _setter("wwid", wwid) + pulumi.set(__self__, "wwid", wwid) @property @pulumi.getter(name="busPath") @@ -444,17 +371,8 @@ def __init__(__self__, *, """ :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - DisksTimeoutsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - read=read, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - read: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) @property @pulumi.getter @@ -480,25 +398,12 @@ def __init__(__self__, *, :param pulumi.Input[str] client_certificate: The client certificate :param pulumi.Input[str] client_key: The client key """ - SecretsClientConfigurationArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: Optional[pulumi.Input[str]] = None, - client_certificate: Optional[pulumi.Input[str]] = None, - client_key: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): if ca_certificate is not None: - _setter("ca_certificate", ca_certificate) + pulumi.set(__self__, "ca_certificate", ca_certificate) if client_certificate is not None: - _setter("client_certificate", client_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) if client_key is not None: - _setter("client_key", client_key) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -546,21 +451,10 @@ def __init__(__self__, *, :param pulumi.Input[str] create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). :param pulumi.Input[str] update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - TimeoutArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - create=create, - update=update, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - create: Optional[pulumi.Input[str]] = None, - update: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): if create is not None: - _setter("create", create) + pulumi.set(__self__, "create", create) if update is not None: - _setter("update", update) + pulumi.set(__self__, "update", update) @property @pulumi.getter @@ -597,19 +491,8 @@ def __init__(__self__, *, :param str cert: Certificate :param str key: Private Key """ - CertificateArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - cert=cert, - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - cert: str, - key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("cert", cert) - _setter("key", key) + pulumi.set(__self__, "cert", cert) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -647,28 +530,11 @@ def __init__(__self__, *, """ A complete Machine Secrets Certificates configuration """ - CertificatesArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - etcd=etcd, - k8s=k8s, - k8s_aggregator=k8s_aggregator, - k8s_serviceaccount=k8s_serviceaccount, - os=os, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - etcd: 'CertificateArgs', - k8s: 'CertificateArgs', - k8s_aggregator: 'CertificateArgs', - k8s_serviceaccount: 'KeyArgs', - os: 'CertificateArgs', - opts: Optional[pulumi.ResourceOptions]=None): - _setter("etcd", etcd) - _setter("k8s", k8s) - _setter("k8s_aggregator", k8s_aggregator) - _setter("k8s_serviceaccount", k8s_serviceaccount) - _setter("os", os) + pulumi.set(__self__, "etcd", etcd) + pulumi.set(__self__, "k8s", k8s) + pulumi.set(__self__, "k8s_aggregator", k8s_aggregator) + pulumi.set(__self__, "k8s_serviceaccount", k8s_serviceaccount) + pulumi.set(__self__, "os", os) @property @pulumi.getter @@ -727,28 +593,11 @@ def __init__(__self__, *, """ A complete Machine Secrets Certificates configuration """ - CertificatesArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - etcd=etcd, - k8s=k8s, - k8s_aggregator=k8s_aggregator, - k8s_serviceaccount=k8s_serviceaccount, - os=os, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - etcd: pulumi.Input['CertificateArgs'], - k8s: pulumi.Input['CertificateArgs'], - k8s_aggregator: pulumi.Input['CertificateArgs'], - k8s_serviceaccount: pulumi.Input['KeyArgs'], - os: pulumi.Input['CertificateArgs'], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("etcd", etcd) - _setter("k8s", k8s) - _setter("k8s_aggregator", k8s_aggregator) - _setter("k8s_serviceaccount", k8s_serviceaccount) - _setter("os", os) + pulumi.set(__self__, "etcd", etcd) + pulumi.set(__self__, "k8s", k8s) + pulumi.set(__self__, "k8s_aggregator", k8s_aggregator) + pulumi.set(__self__, "k8s_serviceaccount", k8s_serviceaccount) + pulumi.set(__self__, "os", os) @property @pulumi.getter @@ -806,19 +655,8 @@ def __init__(__self__, *, :param pulumi.Input[str] cert: Certificate :param pulumi.Input[str] key: Private Key """ - CertificateArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - cert=cert, - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - cert: pulumi.Input[str], - key: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("cert", cert) - _setter("key", key) + pulumi.set(__self__, "cert", cert) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -855,19 +693,8 @@ def __init__(__self__, *, :param str id: Certificate :param str secret: Private Key """ - ClusterArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - secret=secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: str, - secret: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("id", id) - _setter("secret", secret) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter @@ -904,19 +731,8 @@ def __init__(__self__, *, :param pulumi.Input[str] id: Certificate :param pulumi.Input[str] secret: Private Key """ - ClusterArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - secret=secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: pulumi.Input[str], - secret: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("id", id) - _setter("secret", secret) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter @@ -951,16 +767,7 @@ def __init__(__self__, *, A Machine Secrets Private Key :param str key: Private Key """ - KeyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("key", key) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -983,16 +790,7 @@ def __init__(__self__, *, A Machine Secrets Private Key :param pulumi.Input[str] key: Private Key """ - KeyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - key: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("key", key) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -1017,25 +815,10 @@ def __init__(__self__, *, """ A complete Machine Secrets configuration """ - MachineSecretsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - certs=certs, - cluster=cluster, - secrets=secrets, - trustdinfo=trustdinfo, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - certs: 'CertificatesArgs', - cluster: 'ClusterArgs', - secrets: 'SecretsArgs', - trustdinfo: 'TrustdInfoArgs', - opts: Optional[pulumi.ResourceOptions]=None): - _setter("certs", certs) - _setter("cluster", cluster) - _setter("secrets", secrets) - _setter("trustdinfo", trustdinfo) + pulumi.set(__self__, "certs", certs) + pulumi.set(__self__, "cluster", cluster) + pulumi.set(__self__, "secrets", secrets) + pulumi.set(__self__, "trustdinfo", trustdinfo) @property @pulumi.getter @@ -1084,25 +867,10 @@ def __init__(__self__, *, """ A complete Machine Secrets configuration """ - MachineSecretsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - certs=certs, - cluster=cluster, - secrets=secrets, - trustdinfo=trustdinfo, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - certs: pulumi.Input['CertificatesArgs'], - cluster: pulumi.Input['ClusterArgs'], - secrets: pulumi.Input['SecretsArgs'], - trustdinfo: pulumi.Input['TrustdInfoArgs'], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("certs", certs) - _setter("cluster", cluster) - _setter("secrets", secrets) - _setter("trustdinfo", trustdinfo) + pulumi.set(__self__, "certs", certs) + pulumi.set(__self__, "cluster", cluster) + pulumi.set(__self__, "secrets", secrets) + pulumi.set(__self__, "trustdinfo", trustdinfo) @property @pulumi.getter @@ -1151,19 +919,8 @@ def __init__(__self__, *, :param str bootstrap_token: The bootstrap token for the talos kubernetes cluster :param str secretbox_encryption_secret: The secretbox encryption secret for the talos kubernetes cluster """ - SecretsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - bootstrap_token=bootstrap_token, - secretbox_encryption_secret=secretbox_encryption_secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bootstrap_token: str, - secretbox_encryption_secret: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("bootstrap_token", bootstrap_token) - _setter("secretbox_encryption_secret", secretbox_encryption_secret) + pulumi.set(__self__, "bootstrap_token", bootstrap_token) + pulumi.set(__self__, "secretbox_encryption_secret", secretbox_encryption_secret) @property @pulumi.getter @@ -1200,19 +957,8 @@ def __init__(__self__, *, :param pulumi.Input[str] bootstrap_token: The bootstrap token for the talos kubernetes cluster :param pulumi.Input[str] secretbox_encryption_secret: The secretbox encryption secret for the talos kubernetes cluster """ - SecretsArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - bootstrap_token=bootstrap_token, - secretbox_encryption_secret=secretbox_encryption_secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bootstrap_token: pulumi.Input[str], - secretbox_encryption_secret: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("bootstrap_token", bootstrap_token) - _setter("secretbox_encryption_secret", secretbox_encryption_secret) + pulumi.set(__self__, "bootstrap_token", bootstrap_token) + pulumi.set(__self__, "secretbox_encryption_secret", secretbox_encryption_secret) @property @pulumi.getter @@ -1247,16 +993,7 @@ def __init__(__self__, *, A Machine Secrets Trust daemon info :param str token: The trustd token for the talos kubernetes cluster """ - TrustdInfoArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - token=token, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - token: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("token", token) + pulumi.set(__self__, "token", token) @property @pulumi.getter @@ -1279,16 +1016,7 @@ def __init__(__self__, *, A Machine Secrets Trust daemon info :param pulumi.Input[str] token: The trustd token for the talos kubernetes cluster """ - TrustdInfoArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - token=token, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - token: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions]=None): - _setter("token", token) + pulumi.set(__self__, "token", token) @property @pulumi.getter diff --git a/sdk/python/pulumiverse_talos/machine/bootstrap.py b/sdk/python/pulumiverse_talos/machine/bootstrap.py index 8481ec1..30a9d00 100644 --- a/sdk/python/pulumiverse_talos/machine/bootstrap.py +++ b/sdk/python/pulumiverse_talos/machine/bootstrap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -26,27 +26,12 @@ def __init__(__self__, *, :param pulumi.Input[str] node: The name of the node to bootstrap :param pulumi.Input[str] endpoint: The endpoint of the machine to bootstrap """ - BootstrapArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - client_configuration=client_configuration, - node=node, - endpoint=endpoint, - timeouts=timeouts, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - client_configuration: pulumi.Input['BootstrapClientConfigurationArgs'], - node: pulumi.Input[str], - endpoint: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input['BootstrapTimeoutsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("client_configuration", client_configuration) - _setter("node", node) + pulumi.set(__self__, "client_configuration", client_configuration) + pulumi.set(__self__, "node", node) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if timeouts is not None: - _setter("timeouts", timeouts) + pulumi.set(__self__, "timeouts", timeouts) @property @pulumi.getter(name="clientConfiguration") @@ -107,29 +92,14 @@ def __init__(__self__, *, :param pulumi.Input[str] endpoint: The endpoint of the machine to bootstrap :param pulumi.Input[str] node: The name of the node to bootstrap """ - _BootstrapState._configure( - lambda key, value: pulumi.set(__self__, key, value), - client_configuration=client_configuration, - endpoint=endpoint, - node=node, - timeouts=timeouts, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - client_configuration: Optional[pulumi.Input['BootstrapClientConfigurationArgs']] = None, - endpoint: Optional[pulumi.Input[str]] = None, - node: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input['BootstrapTimeoutsArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): if client_configuration is not None: - _setter("client_configuration", client_configuration) + pulumi.set(__self__, "client_configuration", client_configuration) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if node is not None: - _setter("node", node) + pulumi.set(__self__, "node", node) if timeouts is not None: - _setter("timeouts", timeouts) + pulumi.set(__self__, "timeouts", timeouts) @property @pulumi.getter(name="clientConfiguration") @@ -231,10 +201,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - BootstrapArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -253,11 +219,6 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = BootstrapArgs.__new__(BootstrapArgs) - if client_configuration is not None and not isinstance(client_configuration, BootstrapClientConfigurationArgs): - client_configuration = client_configuration or {} - def _setter(key, value): - client_configuration[key] = value - BootstrapClientConfigurationArgs._configure(_setter, **client_configuration) if client_configuration is None and not opts.urn: raise TypeError("Missing required property 'client_configuration'") __props__.__dict__["client_configuration"] = client_configuration @@ -265,11 +226,6 @@ def _setter(key, value): if node is None and not opts.urn: raise TypeError("Missing required property 'node'") __props__.__dict__["node"] = node - if timeouts is not None and not isinstance(timeouts, BootstrapTimeoutsArgs): - timeouts = timeouts or {} - def _setter(key, value): - timeouts[key] = value - BootstrapTimeoutsArgs._configure(_setter, **timeouts) __props__.__dict__["timeouts"] = timeouts super(Bootstrap, __self__).__init__( 'talos:machine/bootstrap:Bootstrap', diff --git a/sdk/python/pulumiverse_talos/machine/configuration_apply.py b/sdk/python/pulumiverse_talos/machine/configuration_apply.py index 3d79f3d..b390a07 100644 --- a/sdk/python/pulumiverse_talos/machine/configuration_apply.py +++ b/sdk/python/pulumiverse_talos/machine/configuration_apply.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -32,38 +32,17 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] config_patches: The list of config patches to apply :param pulumi.Input[str] endpoint: The endpoint of the machine to bootstrap """ - ConfigurationApplyArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - client_configuration=client_configuration, - machine_configuration_input=machine_configuration_input, - node=node, - apply_mode=apply_mode, - config_patches=config_patches, - endpoint=endpoint, - timeouts=timeouts, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - client_configuration: pulumi.Input['ConfigurationApplyClientConfigurationArgs'], - machine_configuration_input: pulumi.Input[str], - node: pulumi.Input[str], - apply_mode: Optional[pulumi.Input[str]] = None, - config_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input['TimeoutArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("client_configuration", client_configuration) - _setter("machine_configuration_input", machine_configuration_input) - _setter("node", node) + pulumi.set(__self__, "client_configuration", client_configuration) + pulumi.set(__self__, "machine_configuration_input", machine_configuration_input) + pulumi.set(__self__, "node", node) if apply_mode is not None: - _setter("apply_mode", apply_mode) + pulumi.set(__self__, "apply_mode", apply_mode) if config_patches is not None: - _setter("config_patches", config_patches) + pulumi.set(__self__, "config_patches", config_patches) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if timeouts is not None: - _setter("timeouts", timeouts) + pulumi.set(__self__, "timeouts", timeouts) @property @pulumi.getter(name="clientConfiguration") @@ -168,45 +147,22 @@ def __init__(__self__, *, :param pulumi.Input[str] machine_configuration_input: The machine configuration to apply :param pulumi.Input[str] node: The name of the node to bootstrap """ - _ConfigurationApplyState._configure( - lambda key, value: pulumi.set(__self__, key, value), - apply_mode=apply_mode, - client_configuration=client_configuration, - config_patches=config_patches, - endpoint=endpoint, - machine_configuration=machine_configuration, - machine_configuration_input=machine_configuration_input, - node=node, - timeouts=timeouts, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - apply_mode: Optional[pulumi.Input[str]] = None, - client_configuration: Optional[pulumi.Input['ConfigurationApplyClientConfigurationArgs']] = None, - config_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - endpoint: Optional[pulumi.Input[str]] = None, - machine_configuration: Optional[pulumi.Input[str]] = None, - machine_configuration_input: Optional[pulumi.Input[str]] = None, - node: Optional[pulumi.Input[str]] = None, - timeouts: Optional[pulumi.Input['TimeoutArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None): if apply_mode is not None: - _setter("apply_mode", apply_mode) + pulumi.set(__self__, "apply_mode", apply_mode) if client_configuration is not None: - _setter("client_configuration", client_configuration) + pulumi.set(__self__, "client_configuration", client_configuration) if config_patches is not None: - _setter("config_patches", config_patches) + pulumi.set(__self__, "config_patches", config_patches) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if machine_configuration is not None: - _setter("machine_configuration", machine_configuration) + pulumi.set(__self__, "machine_configuration", machine_configuration) if machine_configuration_input is not None: - _setter("machine_configuration_input", machine_configuration_input) + pulumi.set(__self__, "machine_configuration_input", machine_configuration_input) if node is not None: - _setter("node", node) + pulumi.set(__self__, "node", node) if timeouts is not None: - _setter("timeouts", timeouts) + pulumi.set(__self__, "timeouts", timeouts) @property @pulumi.getter(name="applyMode") @@ -346,10 +302,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ConfigurationApplyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -372,11 +324,6 @@ def _internal_init(__self__, __props__ = ConfigurationApplyArgs.__new__(ConfigurationApplyArgs) __props__.__dict__["apply_mode"] = apply_mode - if client_configuration is not None and not isinstance(client_configuration, ConfigurationApplyClientConfigurationArgs): - client_configuration = client_configuration or {} - def _setter(key, value): - client_configuration[key] = value - ConfigurationApplyClientConfigurationArgs._configure(_setter, **client_configuration) if client_configuration is None and not opts.urn: raise TypeError("Missing required property 'client_configuration'") __props__.__dict__["client_configuration"] = client_configuration @@ -388,11 +335,6 @@ def _setter(key, value): if node is None and not opts.urn: raise TypeError("Missing required property 'node'") __props__.__dict__["node"] = node - if timeouts is not None and not isinstance(timeouts, TimeoutArgs): - timeouts = timeouts or {} - def _setter(key, value): - timeouts[key] = value - TimeoutArgs._configure(_setter, **timeouts) __props__.__dict__["timeouts"] = timeouts __props__.__dict__["machine_configuration"] = None secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["machineConfiguration", "machineConfigurationInput"]) diff --git a/sdk/python/pulumiverse_talos/machine/disks.py b/sdk/python/pulumiverse_talos/machine/disks.py index 816fa68..7d6bc6f 100644 --- a/sdk/python/pulumiverse_talos/machine/disks.py +++ b/sdk/python/pulumiverse_talos/machine/disks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -66,7 +66,7 @@ def disks(self) -> Sequence['outputs.DisksDiskResult']: @pulumi.getter def endpoint(self) -> str: """ - endpoint to use for the talosclient. if not set, the node value will be used + endpoint to use for the talosclient. If not set, the node value will be used """ return pulumi.get(self, "endpoint") @@ -145,7 +145,7 @@ def disks(client_configuration: Optional[pulumi.InputType['DisksClientConfigurat :param pulumi.InputType['DisksClientConfigurationArgs'] client_configuration: The client configuration data - :param str endpoint: endpoint to use for the talosclient. if not set, the node value will be used + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used :param pulumi.InputType['DisksFiltersArgs'] filters: Filters to apply to the disks :param str node: controlplane node to retrieve the kubeconfig from """ @@ -199,7 +199,7 @@ def disks_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['D :param pulumi.InputType['DisksClientConfigurationArgs'] client_configuration: The client configuration data - :param str endpoint: endpoint to use for the talosclient. if not set, the node value will be used + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used :param pulumi.InputType['DisksFiltersArgs'] filters: Filters to apply to the disks :param str node: controlplane node to retrieve the kubeconfig from """ diff --git a/sdk/python/pulumiverse_talos/machine/get_configuration.py b/sdk/python/pulumiverse_talos/machine/get_configuration.py index df03ce4..1d8684c 100644 --- a/sdk/python/pulumiverse_talos/machine/get_configuration.py +++ b/sdk/python/pulumiverse_talos/machine/get_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumiverse_talos/machine/outputs.py b/sdk/python/pulumiverse_talos/machine/outputs.py index cbfe47c..8efd997 100644 --- a/sdk/python/pulumiverse_talos/machine/outputs.py +++ b/sdk/python/pulumiverse_talos/machine/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -61,22 +61,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - BootstrapClientConfiguration._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -110,17 +97,8 @@ def __init__(__self__, *, """ :param str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - BootstrapTimeouts._configure( - lambda key, value: pulumi.set(__self__, key, value), - create=create, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - create: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if create is not None: - _setter("create", create) + pulumi.set(__self__, "create", create) @property @pulumi.getter @@ -163,22 +141,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - ConfigurationApplyClientConfiguration._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -216,22 +181,9 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - DisksClientConfigurationResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: str, - client_certificate: str, - client_key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("ca_certificate", ca_certificate) - _setter("client_certificate", client_certificate) - _setter("client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -281,40 +233,15 @@ def __init__(__self__, *, :param str uuid: The uuid of the disk :param str wwid: The wwid of the disk """ - DisksDiskResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - bus_path=bus_path, - modalias=modalias, - model=model, - name=name, - serial=serial, - size=size, - type=type, - uuid=uuid, - wwid=wwid, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bus_path: str, - modalias: str, - model: str, - name: str, - serial: str, - size: str, - type: str, - uuid: str, - wwid: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("bus_path", bus_path) - _setter("modalias", modalias) - _setter("model", model) - _setter("name", name) - _setter("serial", serial) - _setter("size", size) - _setter("type", type) - _setter("uuid", uuid) - _setter("wwid", wwid) + pulumi.set(__self__, "bus_path", bus_path) + pulumi.set(__self__, "modalias", modalias) + pulumi.set(__self__, "model", model) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "serial", serial) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) + pulumi.set(__self__, "wwid", wwid) @property @pulumi.getter(name="busPath") @@ -412,49 +339,24 @@ def __init__(__self__, *, :param str uuid: Filter disks by uuid :param str wwid: Filter disks by wwid """ - DisksFiltersResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - bus_path=bus_path, - modalias=modalias, - model=model, - name=name, - serial=serial, - size=size, - type=type, - uuid=uuid, - wwid=wwid, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bus_path: Optional[str] = None, - modalias: Optional[str] = None, - model: Optional[str] = None, - name: Optional[str] = None, - serial: Optional[str] = None, - size: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None, - wwid: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if bus_path is not None: - _setter("bus_path", bus_path) + pulumi.set(__self__, "bus_path", bus_path) if modalias is not None: - _setter("modalias", modalias) + pulumi.set(__self__, "modalias", modalias) if model is not None: - _setter("model", model) + pulumi.set(__self__, "model", model) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if serial is not None: - _setter("serial", serial) + pulumi.set(__self__, "serial", serial) if size is not None: - _setter("size", size) + pulumi.set(__self__, "size", size) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if wwid is not None: - _setter("wwid", wwid) + pulumi.set(__self__, "wwid", wwid) @property @pulumi.getter(name="busPath") @@ -536,17 +438,8 @@ def __init__(__self__, *, """ :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - DisksTimeoutsResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - read=read, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - read: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if read is not None: - _setter("read", read) + pulumi.set(__self__, "read", read) @property @pulumi.getter @@ -589,25 +482,12 @@ def __init__(__self__, *, :param str client_certificate: The client certificate :param str client_key: The client key """ - SecretsClientConfiguration._configure( - lambda key, value: pulumi.set(__self__, key, value), - ca_certificate=ca_certificate, - client_certificate=client_certificate, - client_key=client_key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - ca_certificate: Optional[str] = None, - client_certificate: Optional[str] = None, - client_key: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if ca_certificate is not None: - _setter("ca_certificate", ca_certificate) + pulumi.set(__self__, "ca_certificate", ca_certificate) if client_certificate is not None: - _setter("client_certificate", client_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) if client_key is not None: - _setter("client_key", client_key) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") @@ -643,21 +523,10 @@ def __init__(__self__, *, :param str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). :param str update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - Timeout._configure( - lambda key, value: pulumi.set(__self__, key, value), - create=create, - update=update, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - create: Optional[str] = None, - update: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None): if create is not None: - _setter("create", create) + pulumi.set(__self__, "create", create) if update is not None: - _setter("update", update) + pulumi.set(__self__, "update", update) @property @pulumi.getter @@ -689,19 +558,8 @@ def __init__(__self__, *, :param str cert: Certificate :param str key: Private Key """ - CertificateResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - cert=cert, - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - cert: str, - key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("cert", cert) - _setter("key", key) + pulumi.set(__self__, "cert", cert) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -734,28 +592,11 @@ def __init__(__self__, *, """ A complete Machine Secrets Certificates configuration """ - CertificatesResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - etcd=etcd, - k8s=k8s, - k8s_aggregator=k8s_aggregator, - k8s_serviceaccount=k8s_serviceaccount, - os=os, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - etcd: 'outputs.CertificateResult', - k8s: 'outputs.CertificateResult', - k8s_aggregator: 'outputs.CertificateResult', - k8s_serviceaccount: 'outputs.KeyResult', - os: 'outputs.CertificateResult', - opts: Optional[pulumi.ResourceOptions]=None): - _setter("etcd", etcd) - _setter("k8s", k8s) - _setter("k8s_aggregator", k8s_aggregator) - _setter("k8s_serviceaccount", k8s_serviceaccount) - _setter("os", os) + pulumi.set(__self__, "etcd", etcd) + pulumi.set(__self__, "k8s", k8s) + pulumi.set(__self__, "k8s_aggregator", k8s_aggregator) + pulumi.set(__self__, "k8s_serviceaccount", k8s_serviceaccount) + pulumi.set(__self__, "os", os) @property @pulumi.getter @@ -796,19 +637,8 @@ def __init__(__self__, *, :param str id: Certificate :param str secret: Private Key """ - ClusterResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - id=id, - secret=secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - id: str, - secret: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("id", id) - _setter("secret", secret) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "secret", secret) @property @pulumi.getter @@ -838,16 +668,7 @@ def __init__(__self__, *, A Machine Secrets Private Key :param str key: Private Key """ - KeyResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - key=key, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - key: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("key", key) + pulumi.set(__self__, "key", key) @property @pulumi.getter @@ -871,25 +692,10 @@ def __init__(__self__, *, """ A complete Machine Secrets configuration """ - MachineSecretsResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - certs=certs, - cluster=cluster, - secrets=secrets, - trustdinfo=trustdinfo, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - certs: 'outputs.CertificatesResult', - cluster: 'outputs.ClusterResult', - secrets: 'outputs.SecretsResult', - trustdinfo: 'outputs.TrustdInfoResult', - opts: Optional[pulumi.ResourceOptions]=None): - _setter("certs", certs) - _setter("cluster", cluster) - _setter("secrets", secrets) - _setter("trustdinfo", trustdinfo) + pulumi.set(__self__, "certs", certs) + pulumi.set(__self__, "cluster", cluster) + pulumi.set(__self__, "secrets", secrets) + pulumi.set(__self__, "trustdinfo", trustdinfo) @property @pulumi.getter @@ -925,19 +731,8 @@ def __init__(__self__, *, :param str bootstrap_token: The bootstrap token for the talos kubernetes cluster :param str secretbox_encryption_secret: The secretbox encryption secret for the talos kubernetes cluster """ - SecretsResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - bootstrap_token=bootstrap_token, - secretbox_encryption_secret=secretbox_encryption_secret, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - bootstrap_token: str, - secretbox_encryption_secret: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("bootstrap_token", bootstrap_token) - _setter("secretbox_encryption_secret", secretbox_encryption_secret) + pulumi.set(__self__, "bootstrap_token", bootstrap_token) + pulumi.set(__self__, "secretbox_encryption_secret", secretbox_encryption_secret) @property @pulumi.getter @@ -967,16 +762,7 @@ def __init__(__self__, *, A Machine Secrets Trust daemon info :param str token: The trustd token for the talos kubernetes cluster """ - TrustdInfoResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - token=token, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - token: str, - opts: Optional[pulumi.ResourceOptions]=None): - _setter("token", token) + pulumi.set(__self__, "token", token) @property @pulumi.getter diff --git a/sdk/python/pulumiverse_talos/machine/secrets.py b/sdk/python/pulumiverse_talos/machine/secrets.py index b14e235..fabd7c3 100644 --- a/sdk/python/pulumiverse_talos/machine/secrets.py +++ b/sdk/python/pulumiverse_talos/machine/secrets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -21,17 +21,8 @@ def __init__(__self__, *, The set of arguments for constructing a Secrets resource. :param pulumi.Input[str] talos_version: The version of talos features to use in generated machine configuration """ - SecretsInitArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - talos_version=talos_version, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - talos_version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): if talos_version is not None: - _setter("talos_version", talos_version) + pulumi.set(__self__, "talos_version", talos_version) @property @pulumi.getter(name="talosVersion") @@ -58,25 +49,12 @@ def __init__(__self__, *, :param pulumi.Input['MachineSecretsArgs'] machine_secrets: The secrets for the talos cluster :param pulumi.Input[str] talos_version: The version of talos features to use in generated machine configuration """ - _SecretsState._configure( - lambda key, value: pulumi.set(__self__, key, value), - client_configuration=client_configuration, - machine_secrets=machine_secrets, - talos_version=talos_version, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - client_configuration: Optional[pulumi.Input['SecretsClientConfigurationArgs']] = None, - machine_secrets: Optional[pulumi.Input['MachineSecretsArgs']] = None, - talos_version: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None): if client_configuration is not None: - _setter("client_configuration", client_configuration) + pulumi.set(__self__, "client_configuration", client_configuration) if machine_secrets is not None: - _setter("machine_secrets", machine_secrets) + pulumi.set(__self__, "machine_secrets", machine_secrets) if talos_version is not None: - _setter("talos_version", talos_version) + pulumi.set(__self__, "talos_version", talos_version) @property @pulumi.getter(name="clientConfiguration") @@ -182,10 +160,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - SecretsInitArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumiverse_talos/provider.py b/sdk/python/pulumiverse_talos/provider.py index e691d4d..fe71607 100644 --- a/sdk/python/pulumiverse_talos/provider.py +++ b/sdk/python/pulumiverse_talos/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -18,11 +18,6 @@ def __init__(__self__): The set of arguments for constructing a Provider resource. """ pass - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - opts: Optional[pulumi.ResourceOptions]=None): - pass class Provider(pulumi.ProviderResource): @@ -62,10 +57,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: - kwargs = kwargs or {} - def _setter(key, value): - kwargs[key] = value - ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, From 87cbaaf01334512412022e7783e25b6fe309a430 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Mon, 18 Dec 2023 15:14:50 +0100 Subject: [PATCH 3/4] Upgrade to Go 1.21.5 --- .github/workflows/release.yaml | 2 +- go.work | 2 +- go.work.sum | 276 +++++++++++++++------------------ sdk/go.mod | 2 +- 4 files changed, 132 insertions(+), 150 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b957e80..4b10bcd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ env: DOTNETVERSION: | 6.0.x 3.1.301 - GOVERSION: 1.20.x + GOVERSION: 1.21.x JAVAVERSION: "11" NODEVERSION: 20.x PYTHONVERSION: "3.9" diff --git a/go.work b/go.work index 43525ea..df58274 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.20 +go 1.21.5 use ( ./examples diff --git a/go.work.sum b/go.work.sum index a4771ed..c3472c1 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,7 +1,6 @@ cloud.google.com/go v0.110.2/go.mod h1:k04UEeEtb6ZBRTv3dZz4CeJC3jKGxyhl0sAiVVquxiw= +cloud.google.com/go v0.110.4/go.mod h1:+EYjdK8e5RME/VY/qLCAtuyALQ9q67dvuum8i+H5xsI= cloud.google.com/go v0.110.8/go.mod h1:Iz8AkXJf1qmxC3Oxoep8R1T36w8B92yU29PcBhHO5fk= -cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y= -cloud.google.com/go v0.110.10/go.mod h1:v1OoFqYxiBkUrruItNM3eT4lLByNjxmJSV/xDKJNnic= cloud.google.com/go/accessapproval v1.7.1/go.mod h1:JYczztsHRMK7NTXb6Xw+dwbs/WnOJxbo/2mTI+Kgg68= cloud.google.com/go/accessapproval v1.7.4/go.mod h1:/aTEh45LzplQgFYdQdwPMR9YdX0UlhBmvB84uAmQKUc= cloud.google.com/go/accesscontextmanager v1.8.1/go.mod h1:JFJHfvuaTC+++1iL1coPiG1eu5D24db2wXCDWDjIrxo= @@ -52,10 +51,9 @@ cloud.google.com/go/cloudtasks v1.11.1/go.mod h1:a9udmnou9KO2iulGscKR0qBYjreuX8o cloud.google.com/go/cloudtasks v1.12.4/go.mod h1:BEPu0Gtt2dU6FxZHNqqNdGqIG86qyWKBPGnsb7udGY0= cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE= cloud.google.com/go/compute v1.19.3/go.mod h1:qxvISKp/gYnXkSAD1ppcSOveRAmzxicEv/JlizULFrI= +cloud.google.com/go/compute v1.20.1/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM= cloud.google.com/go/compute v1.23.1/go.mod h1:CqB3xpmPKKt3OJpW2ndFIXnA9A4xAy/F3Xp1ixncW78= -cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk= -cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI= cloud.google.com/go/contactcenterinsights v1.9.1/go.mod h1:bsg/R7zGLYMVxFFzfh9ooLTruLRCG9fnzhH9KznHhbM= cloud.google.com/go/contactcenterinsights v1.12.0/go.mod h1:HHX5wrz5LHVAwfI2smIotQG9x8Qd6gYilaHcLLLmNis= cloud.google.com/go/container v1.22.1/go.mod h1:lTNExE2R7f+DLbAN+rJiKTisauFCaoDq6NURZ83eVH4= @@ -105,6 +103,7 @@ cloud.google.com/go/firestore v1.11.0/go.mod h1:b38dKhgzlmNNGTNZZwe7ZRFEuRab1Hay cloud.google.com/go/firestore v1.14.0/go.mod h1:96MVaHLsEhbvkBEdZgfN+AS/GIkco1LRpH9Xp9YZfzQ= cloud.google.com/go/functions v1.15.1/go.mod h1:P5yNWUTkyU+LvW/S9O6V+V423VZooALQlqoXdoPz5AE= cloud.google.com/go/functions v1.15.4/go.mod h1:CAsTc3VlRMVvx+XqXxKqVevguqJpnVip4DdonFsX28I= +cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0= cloud.google.com/go/gkebackup v1.3.0/go.mod h1:vUDOu++N0U5qs4IhG1pcOnD1Mac79xWy6GoBFlWCWBU= cloud.google.com/go/gkebackup v1.3.4/go.mod h1:gLVlbM8h/nHIs09ns1qx3q3eaXcGSELgNu1DWXYz1HI= cloud.google.com/go/gkeconnect v0.8.1/go.mod h1:KWiK1g9sDLZqhxB2xEuPV8V9NYzrqTUmQR9shJHpOZw= @@ -113,31 +112,28 @@ cloud.google.com/go/gkehub v0.14.1/go.mod h1:VEXKIJZ2avzrbd7u+zeMtW00Y8ddk/4V951 cloud.google.com/go/gkehub v0.14.4/go.mod h1:Xispfu2MqnnFt8rV/2/3o73SK1snL8s9dYJ9G2oQMfc= cloud.google.com/go/gkemulticloud v0.6.1/go.mod h1:kbZ3HKyTsiwqKX7Yw56+wUGwwNZViRnxWK2DVknXWfw= cloud.google.com/go/gkemulticloud v1.0.3/go.mod h1:7NpJBN94U6DY1xHIbsDqB2+TFZUfjLUKLjUX8NGLor0= +cloud.google.com/go/grafeas v0.3.0/go.mod h1:P7hgN24EyONOTMyeJH6DxG4zD7fwiYa5Q6GUgyFSOU8= cloud.google.com/go/gsuiteaddons v1.6.1/go.mod h1:CodrdOqRZcLp5WOwejHWYBjZvfY0kOphkAKpF/3qdZY= cloud.google.com/go/gsuiteaddons v1.6.4/go.mod h1:rxtstw7Fx22uLOXBpsvb9DUbC+fiXs7rF4U29KHM/pE= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= cloud.google.com/go/iam v1.1.0/go.mod h1:nxdHjaKfCr7fNYx/HJMM8LgiMugmveWlkatear5gVyk= +cloud.google.com/go/iam v1.1.1/go.mod h1:A5avdyVL2tCppe4unb0951eI9jreack+RJ0/d+KUZOU= cloud.google.com/go/iam v1.1.3/go.mod h1:3khUlaBXfPKKe7huYgEpDn6FtgRyMEqbkvBxrQyY5SE= -cloud.google.com/go/iam v1.1.5 h1:1jTsCu4bcsNsE4iiqNT5SHwrDRCfRmIaaaVFhRveTJI= -cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= cloud.google.com/go/iap v1.8.1/go.mod h1:sJCbeqg3mvWLqjZNsI6dfAtbbV1DL2Rl7e1mTyXYREQ= cloud.google.com/go/iap v1.9.3/go.mod h1:DTdutSZBqkkOm2HEOTBzhZxh2mwwxshfD/h3yofAiCw= cloud.google.com/go/ids v1.4.1/go.mod h1:np41ed8YMU8zOgv53MMMoCntLTn2lF+SUzlM+O3u/jw= cloud.google.com/go/ids v1.4.4/go.mod h1:z+WUc2eEl6S/1aZWzwtVNWoSZslgzPxAboS0lZX0HjI= cloud.google.com/go/iot v1.7.1/go.mod h1:46Mgw7ev1k9KqK1ao0ayW9h0lI+3hxeanz+L1zmbbbk= cloud.google.com/go/iot v1.7.4/go.mod h1:3TWqDVvsddYBG++nHSZmluoCAVGr1hAcabbWZNKEZLk= -cloud.google.com/go/kms v1.15.5 h1:pj1sRfut2eRbD9pFRjNnPNg/CzJPuQAzUujMIM1vVeM= -cloud.google.com/go/kms v1.15.5/go.mod h1:cU2H5jnp6G2TDpUGZyqTCoy1n16fbubHZjmVXSMtwDI= +cloud.google.com/go/kms v1.12.1/go.mod h1:c9J991h5DTl+kg7gi3MYomh12YEENGrf48ee/N/2CDM= cloud.google.com/go/language v1.10.1/go.mod h1:CPp94nsdVNiQEt1CNjF5WkTcisLiHPyIbMhvR8H2AW0= cloud.google.com/go/language v1.12.2/go.mod h1:9idWapzr/JKXBBQ4lWqVX/hcadxB194ry20m/bTrhWc= cloud.google.com/go/lifesciences v0.9.1/go.mod h1:hACAOd1fFbCGLr/+weUKRAJas82Y4vrL3O5326N//Wc= cloud.google.com/go/lifesciences v0.9.4/go.mod h1:bhm64duKhMi7s9jR9WYJYvjAFJwRqNj+Nia7hF0Z7JA= -cloud.google.com/go/logging v1.8.1 h1:26skQWPeYhvIasWKm48+Eq7oUqdcdbwsCVwz5Ys0FvU= -cloud.google.com/go/logging v1.8.1/go.mod h1:TJjR+SimHwuC8MZ9cjByQulAMgni+RkXeI3wwctHJEI= +cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M= cloud.google.com/go/longrunning v0.5.0/go.mod h1:0JNuqRShmscVAhIACGtskSAWtqtOoPkwP0YF1oVEchc= +cloud.google.com/go/longrunning v0.5.1/go.mod h1:spvimkwdz6SPWKEt/XBij79E9fiTkHSQl/fRUUQJYJc= cloud.google.com/go/longrunning v0.5.2/go.mod h1:nqo6DQbNV2pXhGDbDMoN2bWz68MjZUzqv2YttZiveCs= -cloud.google.com/go/longrunning v0.5.4 h1:w8xEcbZodnA2BbW6sVirkkoC+1gP8wS57EUUgGS0GVg= -cloud.google.com/go/longrunning v0.5.4/go.mod h1:zqNVncI0BOP8ST6XQD1+VcvuShMmq7+xFSzOL++V0dI= cloud.google.com/go/managedidentities v1.6.1/go.mod h1:h/irGhTN2SkZ64F43tfGPMbHnypMbu4RB3yl8YcuEak= cloud.google.com/go/managedidentities v1.6.4/go.mod h1:WgyaECfHmF00t/1Uk8Oun3CQ2PGUtjc3e9Alh79wyiM= cloud.google.com/go/maps v1.3.0/go.mod h1:6mWTUv+WhnOwAgjVsSW2QPPECmW+s3PcRyOa9vgG/5s= @@ -240,218 +236,222 @@ cloud.google.com/go/websecurityscanner v1.6.1/go.mod h1:Njgaw3rttgRHXzwCB8kgCYqv cloud.google.com/go/websecurityscanner v1.6.4/go.mod h1:mUiyMQ+dGpPPRkHgknIZeCzSHJ45+fY4F52nZFDHm2o= cloud.google.com/go/workflows v1.11.1/go.mod h1:Z+t10G1wF7h8LgdY/EmRcQY8ptBD/nvofaL6FqlET6g= cloud.google.com/go/workflows v1.12.3/go.mod h1:fmOUeeqEwPzIU81foMjTRQIdwQHADi/vEr1cx9R1m5g= -github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 h1:tz19qLF65vuu2ibfTqGVJxG/zZAI27NEIIbvAOQwYbw= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 h1:Yoicul8bnVdQrhDMTHxdEckRGX01XvwXDHUT9zYZ3k0= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY= +github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.4.1 h1:QSdcrd/UFJv6Bp/CfoVf2SrENpFn9P6Yh8yb+xNhYMM= +github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 h1:WVsrXCnHlDDX8ls+tootqRE87/hL9S/g4ewig9RsD/c= github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg= -github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/ProtonMail/gopenpgp/v2 v2.7.4 h1:Vz/8+HViFFnf2A6XX8JOvZMrA6F5puwNvvF21O1mRlo= -github.com/ProtonMail/gopenpgp/v2 v2.7.4/go.mod h1:IhkNEDaxec6NyzSI0PlxapinnwPVIESk8/76da3Ct3g= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= +github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= +github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8= +github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d/go.mod h1:asat636LX7Bqt5lYEZ27JNDcqxfjdBQuJ/MM4CN/Lzo= +github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4= github.com/agext/levenshtein v1.2.1/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= +github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= +github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= +github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0 h1:rRmlIsPEEhUTIKQb7T++Nz/A5Q6C9IuX2wFoYVvnCs0= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= -github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/brianvoe/gofakeit/v6 v6.24.0 h1:74yq7RRz/noddscZHRS2T84oHZisW9muwbb8sRnU52A= -github.com/brianvoe/gofakeit/v6 v6.24.0/go.mod h1:Ow6qC71xtwm79anlwKRlWZW6zVq9D2XHE4QSSMP/rU8= -github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= +github.com/aymanbagabas/go-osc52 v1.0.3 h1:DTwqENW7X9arYimJrPeGZcV0ln14sGMt3pHZspWD+Mg= +github.com/aymanbagabas/go-osc52 v1.0.3/go.mod h1:zT8H+Rk4VSabYN90pWyugflM3ZhpTZNC7cASDfUCdT4= +github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= +github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= +github.com/ccojocar/zxcvbn-go v1.0.1/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60= github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/charmbracelet/glamour v0.6.0/go.mod h1:taqWV4swIMMbWALc0m7AfE9JkPSU8om2538k9ITBxOc= github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= -github.com/cilium/ebpf v0.12.3/go.mod h1:TctK1ivibvI3znr66ljgi4hqOT8EYQjz1KWBfb1UVgM= +github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cosi-project/runtime v0.3.19 h1:3ripxk5ox93TOmYn0WMbddd5XLerG9URonb5XG4GcFU= -github.com/cosi-project/runtime v0.3.19/go.mod h1:b1e/1IyJssCqS3XBaHQgNkU+HMt0n5YVMolxOUWd5Aw= -github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= -github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= +github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= +github.com/dlclark/regexp2 v1.4.0/go.mod h1:2pZnwuY/m+8K6iRw6wQdMtk+rH5tNGR1i55kozfMjCc= +github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI= github.com/elazarl/goproxy v0.0.0-20221015165544-a0805db90819/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= -github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2/go.mod h1:gNh8nYJoAm43RfaxurUnxr+N1PwuFV3ZMl/efxlIlY8= -github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f/go.mod h1:sfYdkwUW4BA3PbKjySwjJy+O4Pu0h62rlqCMHNk+K+Q= github.com/envoyproxy/go-control-plane v0.11.1/go.mod h1:uhMcXKCQMEJHiAb0w+YGefQLaTEw+YhGluxZkrTmD0g= github.com/envoyproxy/protoc-gen-validate v0.10.1/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss= github.com/envoyproxy/protoc-gen-validate v1.0.2/go.mod h1:GpiZQP3dDbg4JouG/NNS7QWXpgx6x8QiMKdmN72jogE= -github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ2tG6yudJd8LBksgI= -github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/erikgeiser/promptkit v0.9.0/go.mod h1:pU9dtogSe3Jlc2AY77EP7R4WFP/vgD4v+iImC83KsCo= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= -github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= -github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= -github.com/go-git/go-git/v5 v5.9.0 h1:cD9SFA7sHVRdJ7AYck1ZaAa/yeuBvGPxwXDL8cxrObY= -github.com/go-git/go-git/v5 v5.9.0/go.mod h1:RKIqga24sWdMGZF+1Ekv9kylsDz6LzdTSI2s/OsZWE0= +github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= +github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo= +github.com/go-git/go-git/v5 v5.6.0/go.mod h1:6nmJ0tJ3N4noMV1Omv7rC5FG3/o8Cm51TB4CJp7mRmE= github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= +github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/swag v0.21.1 h1:wm0rhTb5z7qpJRHBdPOMuY4QjVUMbF6/kwoYeRAOrKU= -github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= -github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= +github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I= +github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/glog v1.1.2 h1:DVjP2PbBOzHyzA+dn3WhHIq4NdVu3Q+pvivFICf/7fo= -github.com/golang/glog v1.1.2/go.mod h1:zR+okUeTbrL6EL3xHUDxZuEtGv04p5shwip1+mL/rLQ= +github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/gnostic v0.5.7-v3refs h1:FhTMOKj2VhjpouxvWJAV1TL304uMlb9zcDqkl6cEI54= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-pkcs11 v0.2.1-0.20230907215043-c6f79328ddf9/go.mod h1:6eQoGcuNJpa7jnd5pMGdkSaQpNDYvPlXWMcjXXThLlY= -github.com/google/pprof v0.0.0-20230406165453-00490a63f317/go.mod h1:79YE0hCXdHag9sBkw2o+N/YnZtTkXi0UT9Nnixa5eYk= -github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o= -github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= +github.com/google/s2a-go v0.1.4/go.mod h1:Ej+mSEMGRnqRzjc7VtF+jdBwYG5fuJfiZ8ELkjEwM0A= github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= github.com/googleapis/enterprise-certificate-proxy v0.2.4/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k= -github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs= -github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= -github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas= -github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU= +github.com/googleapis/gax-go/v2 v2.11.0/go.mod h1:DxmR61SGKkGLa2xigwuZIQpkCI2S5iydzRfb3peWZJI= +github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1 h1:6UKoz5ujsI55KNpsJH3UwCq3T8kKbZwNZBNPuTTje8U= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.1/go.mod h1:YvJ2f6MplWDhfxiUC3KpyTy76kYUZA4W3pTv/wdKQ9Y= -github.com/hashicorp/go-checkpoint v0.5.0/go.mod h1:7nfLNL10NsxqO4iWuW6tWW0HjZuDrwkBuEQsVcpCOgg= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= +github.com/hashicorp/go-plugin v1.4.6/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s= github.com/hashicorp/go-plugin v1.4.10 h1:xUbmA4jC6Dq163/fWcp8P3JuHilrHHMLNRxzGQJ9hNk= github.com/hashicorp/go-plugin v1.4.10/go.mod h1:6/1TEzT0eQznvI/gV2CM29DLSkAK/e58mUWKVsPaph0= github.com/hashicorp/go-plugin v1.5.2 h1:aWv8eimFqWlsEiMrYZdPYl+FdHaBJSN4AWwGWfT1G2Y= github.com/hashicorp/go-plugin v1.5.2/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/hc-install v0.5.2/go.mod h1:9QISwe6newMWIfEiXpzuu1k9HAGtQYgnSH8H9T8wmoI= github.com/hashicorp/hc-install v0.6.0/go.mod h1:10I912u3nntx9Umo1VAeYPUUuehk0aRQJYpMwbX5wQA= -github.com/hashicorp/hc-install v0.6.1/go.mod h1:0fW3jpg+wraYSnFDJ6Rlie3RvLf1bIqVIkzoon4KoVE= github.com/hashicorp/hcl/v2 v2.16.1/go.mod h1:JRmR89jycNkrrqnMmvPDMd56n1rQJ2Q6KocSLCMCXng= -github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= -github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= -github.com/hashicorp/hcl/v2 v2.19.1 h1://i05Jqznmb2EXqa39Nsvyan2o5XyMowW5fnCKW5RPI= -github.com/hashicorp/hcl/v2 v2.19.1/go.mod h1:ThLC89FV4p9MPW804KVbe/cEXoQ8NZEh+JtMeeGErHE= github.com/hashicorp/terraform-config-inspect v0.0.0-20191115094559-17f92b0546e8 h1:+RyjwU+Gnd/aTJBPZVDNm903eXVjjqhbaR4Ypx3xYyY= github.com/hashicorp/terraform-exec v0.18.1/go.mod h1:58wg4IeuAJ6LVsLUeD2DWZZoc/bYi6dzhLHzxM41980= -github.com/hashicorp/terraform-exec v0.19.0/go.mod h1:tbxUpe3JKruE9Cuf65mycSIT8KiNPZ0FkuTE3H4urQg= github.com/hashicorp/terraform-json v0.17.1/go.mod h1:Huy6zt6euxaY9knPAFKjUITn8QxUFIe9VuSzb4zn/0o= -github.com/hashicorp/terraform-json v0.18.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk= github.com/hashicorp/terraform-plugin-docs v0.16.0/go.mod h1:M3ZrlKBJAbPMtNOPwHicGi1c+hZUh7/g0ifT/z7TVfA= github.com/hashicorp/terraform-plugin-framework v1.3.4/go.mod h1:2gGDpWiTI0irr9NSTLFAKlTi6KwGti3AoU19rFqU30o= github.com/hashicorp/terraform-plugin-framework v1.3.5/go.mod h1:2gGDpWiTI0irr9NSTLFAKlTi6KwGti3AoU19rFqU30o= -github.com/hashicorp/terraform-plugin-framework v1.4.2 h1:P7a7VP1GZbjc4rv921Xy5OckzhoiO3ig6SGxwelD2sI= -github.com/hashicorp/terraform-plugin-framework v1.4.2/go.mod h1:GWl3InPFZi2wVQmdVnINPKys09s9mLmTZr95/ngLnbY= -github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc= -github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg= github.com/hashicorp/terraform-plugin-go v0.16.0 h1:DSOQ0rz5FUiVO4NUzMs8ln9gsPgHMTsfns7Nk+6gPuE= github.com/hashicorp/terraform-plugin-go v0.18.0/go.mod h1:l7VK+2u5Kf2y+A+742GX0ouLut3gttudmvMgN0PA74Y= github.com/hashicorp/terraform-plugin-go v0.19.1 h1:lf/jTGTeELcz5IIbn/94mJdmnTjRYm6S6ct/JqCSr50= github.com/hashicorp/terraform-plugin-go v0.19.1/go.mod h1:5NMIS+DXkfacX6o5HCpswda5yjkSYfKzn1Nfl9l+qRs= github.com/hashicorp/terraform-plugin-testing v1.4.0/go.mod h1:b7Bha24iGrbZQjT+ZE8m9crck1YjdVOZ8mfGCQ19OxA= -github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE= github.com/hashicorp/terraform-registry-address v0.2.1 h1:QuTf6oJ1+WSflJw6WYOHhLgwUiQ0FrROpHPYFtwTYWM= github.com/hashicorp/terraform-registry-address v0.2.1/go.mod h1:BSE9fIFzp0qWsJUUyGquo4ldV9k2n+psif6NYkBRS3Y= -github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= -github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= +github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/ianlancetaylor/demangle v0.0.0-20220517205856-0058ec4f073c/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= +github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd h1:anPrsicrIi2ColgWTVPk+TrN42hJIWlfPHSBP9S0ZkM= +github.com/ijc/Gotty v0.0.0-20170406111628-a8b993ba6abd/go.mod h1:3LVOLeyx9XVvwPgrt2be44XgSqndprz1G18rSk8KD84= github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= -github.com/jsimonetti/rtnetlink v1.4.0 h1:Z1BF0fRgcETPEa0Kt0MRk3yV5+kF1FWTni6KUFKrq2I= -github.com/jsimonetti/rtnetlink v1.4.0/go.mod h1:5W1jDvWdnthFJ7fxYX1GMK07BUpI4oskfOqvPteYS6E= +github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg= +github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI= +github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= -github.com/klauspost/compress v1.17.3 h1:qkRjuerhUU1EmXLYGkSH6EZL+vPSxIrYjLNAK4slzwA= -github.com/klauspost/compress v1.17.3/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= +github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= +github.com/liquidgecka/testlib v0.0.0-20180123051607-561e6b271c63/go.mod h1:vwMPvLIhXhkJaBfsk/6l+eDuiQaIVHC0b6eCvUVBsB0= +github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= +github.com/lyft/protoc-gen-star/v2 v2.0.3/go.mod h1:amey7yeodaJhXSbf/TlLvWiqQfLOSpEk//mLlc+axEk= +github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= +github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= +github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= +github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/mmcloughlin/avo v0.5.0/go.mod h1:ChHFdoV7ql95Wi7vuq2YT1bwCJqiWdZrQ1im3VujLYM= +github.com/moby/moby v23.0.3+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= +github.com/muesli/termenv v0.13.0/go.mod h1:sP1+uffeLaEYpyOTb8pLCUctGcGLnoFjSn4YJK5e2bc= +github.com/mxschmitt/golang-combinations v1.0.0/go.mod h1:RbMhWvfCelHR6WROvT2bVfxJvZHoEvBj71SKe+H0MYU= +github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= +github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo/v2 v2.2.0/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= github.com/onsi/ginkgo/v2 v2.9.2/go.mod h1:WHcJJG2dIlcCqVfBAwUCrJxSPFb6v4azBwgxeMeDuts= -github.com/onsi/ginkgo/v2 v2.9.4/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM= github.com/onsi/ginkgo/v2 v2.11.0/go.mod h1:ZhrRA5XmEE3x3rhlzamx/JJvujdZoJ2uvgI7kR0iZvM= github.com/onsi/gomega v1.20.1/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo= github.com/onsi/gomega v1.27.6/go.mod h1:PIQNjfQwkP3aQAH7lf7j87O/5FiNr+ZR8+ipb+qQlhg= github.com/onsi/gomega v1.27.8/go.mod h1:2J8vzI/s+2shY9XHRApDkdgPo1TKT7P2u6fXeJKFnNQ= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= -github.com/opencontainers/runtime-spec v1.1.0-rc.1 h1:wHa9jroFfKGQqFHj0I1fMRKLl0pfj+ynAqBxo3v6u9w= -github.com/opencontainers/runtime-spec v1.1.0-rc.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= +github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e/go.mod h1:EHPiTAKtiFmrMldLUNswFwfZ2eJIYBHktdaUTZxYWRw= +github.com/pgavlin/diff v0.0.0-20230503175810-113847418e2e/go.mod h1:WGwlmuPAiQTGQUjxyAfP7j4JgbgiFvFpI/qRtsQtS/4= +github.com/pgavlin/text v0.0.0-20230428184845-84c285f11d2f/go.mod h1:fk4+YyTLi0Ap0CsL1HA70/tAs6evqw3hbPGdR8rD/3E= +github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= +github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= +github.com/pulumi/pulumi/pkg/v3 v3.78.2-0.20231010213836-fd8c4dd81928/go.mod h1:6Fcjl5pVXv4ctBuluuDIYdq8DHc9da3erQJ1NI+ha94= +github.com/pulumi/pulumi/sdk/v3 v3.88.1-0.20231010213836-fd8c4dd81928/go.mod h1:M2j1xLl93+NYHtyprVK9Tdyxbnjs4AivPuAKqm5goCo= github.com/rogpeppe/go-charset v0.0.0-20180617210344-2471d30d28b4/go.mod h1:qgYeAmZ5ZIpBWTGllZSQnw97Dj+woV0toclVaRGI8pc= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww= github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/siderolabs/gen v0.4.7 h1:lM69UYggT7yzpubf7hEFaNujPdY55Y9zvQf/NC18GvA= -github.com/siderolabs/gen v0.4.7/go.mod h1:4PBYMdXxTg292IDRq4CGn5AymyDxJVEDvobVKDqFBEA= -github.com/siderolabs/go-api-signature v0.3.1 h1:ePXOxBT2fxRICsDntXed9kivmVK269nZe5UXvOxgtnM= -github.com/siderolabs/go-api-signature v0.3.1/go.mod h1:RZQFRiZ4midsdC9XCGhhWyS8QcIWtpEFeigvqoDPYJY= -github.com/siderolabs/go-blockdevice v0.4.7 h1:2bk4WpEEflGxjrNwp57ye24Pr+cYgAiAeNMWiQOuWbQ= -github.com/siderolabs/go-blockdevice v0.4.7/go.mod h1:4PeOuk71pReJj1JQEXDE7kIIQJPVe8a+HZQa+qjxSEA= +github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/shirou/gopsutil/v3 v3.22.3/go.mod h1:D01hZJ4pVHPpCTZ3m3T2+wDF2YAGfd+H4ifUguaQzHM= github.com/siderolabs/go-cmd v0.1.1/go.mod h1:6hY0JG34LxEEwYE8aH2iIHkHX/ir12VRLqfwAf2yJIY= github.com/siderolabs/go-retry v0.3.2/go.mod h1:Ac8HIh0nAYDQm04FGZHNofVAXteyd4xR9oujTRrtvK0= -github.com/siderolabs/go-retry v0.3.3 h1:zKV+S1vumtO72E6sYsLlmIdV/G/GcYSBLiEx/c9oCEg= -github.com/siderolabs/go-retry v0.3.3/go.mod h1:Ff/VGc7v7un4uQg3DybgrmOWHEmJ8BzZds/XNn/BqMI= -github.com/siderolabs/protoenc v0.2.1 h1:BqxEmeWQeMpNP3R6WrPqDatX8sM/r4t97OP8mFmg6GA= -github.com/siderolabs/protoenc v0.2.1/go.mod h1:StTHxjet1g11GpNAWiATgc8K0HMKiFSEVVFOa/H0otc= -github.com/siderolabs/talos/pkg/machinery v1.6.0 h1:wWtiUMyokCQMH2xkHyNsQj2vfGhRUnjBZ9eRI5kXSi4= -github.com/siderolabs/talos/pkg/machinery v1.6.0/go.mod h1:WZ/yDqQLHDfol/gf2qcD2u47+CDX819kEB+RQpAKWAU= -github.com/siderolabs/terraform-provider-talos v0.4.0 h1:ZW/kmbEF8maXqcpaQ1LhWoevwP2gzJGnPpa4Eb+14tY= -github.com/siderolabs/terraform-provider-talos v0.4.0/go.mod h1:EPt8CCYaNMorF+Qn4cdeZiDWYfUG0jnCjSypPbz5z+M= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag= +github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:tNZjgbYncKL5HxvDULAr/mWDmFz4B7H8yrXEDlnoIiw= github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/pflag v1.0.2/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= -github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= -github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= +github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk= +github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY= github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= github.com/yuin/goldmark v1.5.2/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/yuin/goldmark-emoji v1.0.1/go.mod h1:2w1E6FEWLcDQkoTE+7HU6QF1F6SLlNGjRIBbIZQFqkQ= +github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8= github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= -github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -github.com/zclconf/go-cty v1.14.1 h1:t9fyA35fwjjUMcmL5hLER+e/rEPqrbCK1/OSE4SI9KA= -github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= +github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA= go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= +go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= +go.pennock.tech/tabular v1.1.3/go.mod h1:UzyxF5itNqTCS1ZGXfwDwbFgYj/lS+e67Fid68QOYZ0= go.uber.org/goleak v1.2.0/go.mod h1:XJYK+MuIchqpmGmUSAzotztawfKvYLUIgg7guXrwVUo= -go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= -go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= -go.uber.org/multierr v1.10.0 h1:S0h4aNzvfcFsC3dRF1jLoaov7oRaKqRGC/pUEJ2yvPQ= -go.uber.org/multierr v1.10.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo= -go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so= +golang.org/x/arch v0.1.0/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8= +golang.org/x/crypto v0.0.0-20220314234659-1baeb1ce4c0b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= +golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.8.0/go.mod h1:mRqEX+O9/h5TFCrQhkgjo2yKi0yYA+9ecGkdQoHrywE= golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw= golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= -golang.org/x/crypto v0.16.0 h1:mMMrFzRSCF0GvB7Ne27XVtVAaXLrPmgPC7/v0tkwHaY= -golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= +golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI= golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.11.0 h1:Gi2tvZIJyBtO9SDr1q9h5hEQCp/4L2RQ+ar0qjx2oNU= @@ -459,17 +459,14 @@ golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk= -golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= -golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= -golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s= @@ -477,24 +474,20 @@ golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.14.1-0.20231108175955-e4099bfacb8c/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.9.0 h1:GRRCnKYhdQrD8kfRAdQ6Zcw1P0OcELxGLKJvtjVMZ28= golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/time v0.4.0 h1:Z81tqI5ddIoXDPvVQ7/7CC9TnLM7ubaFG2qXYd5BbYY= -golang.org/x/time v0.4.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc= @@ -503,56 +496,45 @@ gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJ gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0= gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= +google.golang.org/api v0.126.0/go.mod h1:mBwVAtz+87bEN6CbA1GtZPDOqY2R5ONPqJeIlvyo4Aw= google.golang.org/api v0.128.0/go.mod h1:Y611qgqaE92On/7g65MQgxYul3c0rEB894kniWLY750= -google.golang.org/api v0.149.0 h1:b2CqT6kG+zqJIVKRQ3ELJVLN1PwHZ6DJ3dW8yl82rgY= -google.golang.org/api v0.149.0/go.mod h1:Mwn1B7JTXrzXtnvmzQE2BD6bYZQ8DShKZDZbeN9I7qI= -google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= -google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54/go.mod h1:zqTuNwFlFRsw5zIts5VnzLQxSRqh+CGOTVMlYbY0Eyk= google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= google.golang.org/genproto v0.0.0-20230629202037-9506855d4529/go.mod h1:xZnkP7mREFX5MORlOPEzLMr+90PPZQ2QWzrVTWfAq64= google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y= +google.golang.org/genproto v0.0.0-20230726155614-23370e0ffb3e/go.mod h1:0ggbjUrZYpy1q+ANUS30SEoGZ53cdfwtbuG7Ptgy108= google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4= google.golang.org/genproto v0.0.0-20231002182017-d307bd883b97/go.mod h1:t1VqOqqvce95G3hIDCT5FeO3YUc6Q4Oe24L/+rNMxRk= google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:CgAqfJo+Xmu0GwA0411Ht3OU3OntXwsGmrmjI8ioGXI= google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405/go.mod h1:3WDQMjmJk36UQhjQ89emUzb1mdaHcPeeAh4SCBKznB4= -google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f h1:Vn+VyHU5guc9KjB5KrjI2q0wCOWEOIh0OEsleqakHJg= -google.golang.org/genproto v0.0.0-20231120223509-83a465c0220f/go.mod h1:nWSwAFPb+qfNJXsoeO3Io7zf4tMSfN8EA8RlDA04GhY= google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig= google.golang.org/genproto/googleapis/api v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:mPBs5jNgx2GuQGvFwUvVKqtn6HsUw9nP64BedgvqEsQ= google.golang.org/genproto/googleapis/api v0.0.0-20230822172742-b8732ec3820d/go.mod h1:KjSP20unUpOx5kyQUFa7k4OJg0qeJ7DEZflGDu2p6Bk= google.golang.org/genproto/googleapis/api v0.0.0-20231002182017-d307bd883b97/go.mod h1:iargEX0SFPm3xcfMI0d1domjg0ZF4Aa0p2awqyxhvF0= google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:IBQ646DjkDkvUIsVq/cc03FUFQ9wbZu7yE396YcL870= -google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 h1:JpwMPBpFN3uKhdaekDpiNlImDdkUAyiJ6ez/uxGaUSo= -google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:0xJLfVdJqpAPl8tDg1ujOCGzx6LFLttXT5NhllGOXY4= google.golang.org/genproto/googleapis/bytestream v0.0.0-20231030173426-d783a09b4405/go.mod h1:GRUCuLdzVqZte8+Dl/D4N25yLzcGqqWaYkeVOwulFqw= google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:8mL13HKkDa+IuJ8yruA3ci0q+0vsUz4m//+ottjwS5o= google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d/go.mod h1:+Bk1OCOj40wS2hwAMA+aCW9ypzm63QTBBHp6lQ3p+9M= google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97/go.mod h1:v7nGkzlmW8P3n/bKmWBn2WpBjpOEx8Q6gMueudAmKfY= google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b/go.mod h1:swOH3j0KzcDDgGUWr+SNpyTen5YrXjS3eyPzFYKc6lc= google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405/go.mod h1:67X1fPuzjcrkymZzZV1vvkFeTn2Rvc6lYF9MYFGCcwE= google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4 h1:DC7wcm+i+P1rN3Ff07vL+OndGg5OhNddHyTA+ocPqYE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231127180814-3a041ad873d4/go.mod h1:eJVxU6o+4G1PSczBr85xmyvSNYAKvAYgkub40YGomFM= google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8= google.golang.org/grpc v1.56.1/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo= google.golang.org/grpc v1.59.0/go.mod h1:aUPDwccQo6OTjy7Hct4AfBPD1GptF4fyUjIkQ9YtF98= -google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k= -google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= -k8s.io/api v0.28.4 h1:8ZBrLjwosLl/NYgv1P7EQLqoO8MGQApnbgH8tu3BMzY= -k8s.io/api v0.28.4/go.mod h1:axWTGrY88s/5YE+JSt4uUi6NMM+gur1en2REMR7IRj0= -k8s.io/apimachinery v0.28.4 h1:zOSJe1mc+GxuMnFzD4Z/U1wst50X28ZNsn5bhgIIao8= -k8s.io/apimachinery v0.28.4/go.mod h1:wI37ncBvfAoswfq626yPTe6Bz1c22L7uaJ8dho83mgg= -k8s.io/client-go v0.28.4 h1:Np5ocjlZcTrkyRJ3+T3PkXDpe4UpatQxj85+xjaD2wY= -k8s.io/client-go v0.28.4/go.mod h1:0VDZFpgoZfelyP5Wqu0/r/TRYcLYuJ2U1KEeoaPa1N4= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= +mvdan.cc/sh/v3 v3.7.0/go.mod h1:K2gwkaesF/D7av7Kxl0HbF5kGOd2ArupNTX3X44+8l8= pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= -pgregory.net/rapid v0.6.1/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= +rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 h1:hfyJ5ku9yFtLVOiSxa3IN+dx5eBQT9mPmKFypAmg8XM= +sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU= +sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k= diff --git a/sdk/go.mod b/sdk/go.mod index 634be56..fa014a4 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -1,6 +1,6 @@ module github.com/pulumiverse/pulumi-talos/sdk -go 1.20 +go 1.21.5 require ( github.com/blang/semver v3.5.1+incompatible From a0d2632944c49a4a117279f1a0580cdedc216337 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Mon, 18 Dec 2023 15:23:53 +0100 Subject: [PATCH 4/4] Prefixed functions with `get` --- .../bridge-metadata.json | 68 +- .../cmd/pulumi-resource-talos/schema.json | 464 +- provider/resources.go | 8 +- .../{Configuration.cs => GetConfiguration.cs} | 38 +- ...=> GetConfigurationClientConfiguration.cs} | 6 +- ...etConfigurationClientConfigurationArgs.cs} | 6 +- ...ConfigurationClientConfigurationResult.cs} | 4 +- .../Cluster/{Health.cs => GetHealth.cs} | 42 +- .../{Kubeconfig.cs => GetKubeconfig.cs} | 46 +- ...ion.cs => GetHealthClientConfiguration.cs} | 6 +- ...cs => GetHealthClientConfigurationArgs.cs} | 6 +- ...HealthTimeouts.cs => GetHealthTimeouts.cs} | 6 +- ...meoutsArgs.cs => GetHealthTimeoutsArgs.cs} | 6 +- ...cs => GetKubeconfigClientConfiguration.cs} | 6 +- ...> GetKubeconfigClientConfigurationArgs.cs} | 6 +- ...igTimeouts.cs => GetKubeconfigTimeouts.cs} | 6 +- ...tsArgs.cs => GetKubeconfigTimeoutsArgs.cs} | 6 +- ... => GetHealthClientConfigurationResult.cs} | 4 +- ...tsResult.cs => GetHealthTimeoutsResult.cs} | 4 +- ...GetKubeconfigClientConfigurationResult.cs} | 4 +- ...figKubernetesClientConfigurationResult.cs} | 4 +- ...sult.cs => GetKubeconfigTimeoutsResult.cs} | 4 +- sdk/dotnet/Machine/{Disks.cs => GetDisks.cs} | 70 +- ...tion.cs => GetDisksClientConfiguration.cs} | 6 +- ....cs => GetDisksClientConfigurationArgs.cs} | 6 +- .../{DisksFilters.cs => GetDisksFilters.cs} | 6 +- ...sFiltersArgs.cs => GetDisksFiltersArgs.cs} | 6 +- .../{DisksTimeouts.cs => GetDisksTimeouts.cs} | 6 +- ...imeoutsArgs.cs => GetDisksTimeoutsArgs.cs} | 6 +- ...s => GetDisksClientConfigurationResult.cs} | 4 +- ...sksDiskResult.cs => GetDisksDiskResult.cs} | 4 +- ...tersResult.cs => GetDisksFiltersResult.cs} | 4 +- ...utsResult.cs => GetDisksTimeoutsResult.cs} | 4 +- sdk/go/talos/client/configuration.go | 161 - sdk/go/talos/client/getConfiguration.go | 161 + sdk/go/talos/client/pulumiTypes.go | 54 +- sdk/go/talos/cluster/getHealth.go | 129 + sdk/go/talos/cluster/getKubeconfig.go | 153 + sdk/go/talos/cluster/health.go | 129 - sdk/go/talos/cluster/kubeconfig.go | 153 - sdk/go/talos/cluster/pulumiTypes.go | 406 +- sdk/go/talos/machine/disks.go | 175 - sdk/go/talos/machine/getDisks.go | 175 + sdk/go/talos/machine/pulumiTypes.go | 4788 ++++++++--------- .../{configuration.ts => getConfiguration.ts} | 30 +- sdk/nodejs/client/index.ts | 8 +- .../cluster/{health.ts => getHealth.ts} | 32 +- .../{kubeconfig.ts => getKubeconfig.ts} | 34 +- sdk/nodejs/cluster/index.ts | 16 +- sdk/nodejs/machine/{disks.ts => getDisks.ts} | 48 +- sdk/nodejs/machine/index.ts | 10 +- sdk/nodejs/tsconfig.json | 8 +- sdk/nodejs/types/input.ts | 32 +- sdk/nodejs/types/output.ts | 20 +- .../pulumiverse_talos/client/__init__.py | 2 +- .../pulumiverse_talos/client/_inputs.py | 4 +- .../client/get_configuration.py | 181 + .../pulumiverse_talos/client/outputs.py | 4 +- .../pulumiverse_talos/cluster/__init__.py | 4 +- .../pulumiverse_talos/cluster/_inputs.py | 16 +- .../pulumiverse_talos/cluster/get_health.py | 155 + .../cluster/get_kubeconfig.py | 184 + .../pulumiverse_talos/cluster/outputs.py | 20 +- .../pulumiverse_talos/machine/__init__.py | 2 +- .../pulumiverse_talos/machine/_inputs.py | 458 +- .../pulumiverse_talos/machine/get_disks.py | 206 + .../pulumiverse_talos/machine/outputs.py | 714 +-- 67 files changed, 5135 insertions(+), 4409 deletions(-) rename sdk/dotnet/Client/{Configuration.cs => GetConfiguration.cs} (76%) rename sdk/dotnet/Client/Inputs/{ConfigurationClientConfiguration.cs => GetConfigurationClientConfiguration.cs} (79%) rename sdk/dotnet/Client/Inputs/{ConfigurationClientConfigurationArgs.cs => GetConfigurationClientConfigurationArgs.cs} (81%) rename sdk/dotnet/Client/Outputs/{ConfigurationClientConfigurationResult.cs => GetConfigurationClientConfigurationResult.cs} (89%) rename sdk/dotnet/Cluster/{Health.cs => GetHealth.cs} (73%) rename sdk/dotnet/Cluster/{Kubeconfig.cs => GetKubeconfig.cs} (64%) rename sdk/dotnet/Cluster/Inputs/{HealthClientConfiguration.cs => GetHealthClientConfiguration.cs} (81%) rename sdk/dotnet/Cluster/Inputs/{HealthClientConfigurationArgs.cs => GetHealthClientConfigurationArgs.cs} (82%) rename sdk/dotnet/Cluster/Inputs/{HealthTimeouts.cs => GetHealthTimeouts.cs} (80%) rename sdk/dotnet/Cluster/Inputs/{HealthTimeoutsArgs.cs => GetHealthTimeoutsArgs.cs} (79%) rename sdk/dotnet/Cluster/Inputs/{KubeconfigClientConfiguration.cs => GetKubeconfigClientConfiguration.cs} (80%) rename sdk/dotnet/Cluster/Inputs/{KubeconfigClientConfigurationArgs.cs => GetKubeconfigClientConfigurationArgs.cs} (81%) rename sdk/dotnet/Cluster/Inputs/{KubeconfigTimeouts.cs => GetKubeconfigTimeouts.cs} (79%) rename sdk/dotnet/Cluster/Inputs/{KubeconfigTimeoutsArgs.cs => GetKubeconfigTimeoutsArgs.cs} (78%) rename sdk/dotnet/Cluster/Outputs/{HealthClientConfigurationResult.cs => GetHealthClientConfigurationResult.cs} (90%) rename sdk/dotnet/Cluster/Outputs/{HealthTimeoutsResult.cs => GetHealthTimeoutsResult.cs} (89%) rename sdk/dotnet/Cluster/Outputs/{KubeconfigClientConfigurationResult.cs => GetKubeconfigClientConfigurationResult.cs} (89%) rename sdk/dotnet/Cluster/Outputs/{KubeconfigKubernetesClientConfigurationResult.cs => GetKubeconfigKubernetesClientConfigurationResult.cs} (90%) rename sdk/dotnet/Cluster/Outputs/{KubeconfigTimeoutsResult.cs => GetKubeconfigTimeoutsResult.cs} (88%) rename sdk/dotnet/Machine/{Disks.cs => GetDisks.cs} (63%) rename sdk/dotnet/Machine/Inputs/{DisksClientConfiguration.cs => GetDisksClientConfiguration.cs} (81%) rename sdk/dotnet/Machine/Inputs/{DisksClientConfigurationArgs.cs => GetDisksClientConfigurationArgs.cs} (82%) rename sdk/dotnet/Machine/Inputs/{DisksFilters.cs => GetDisksFilters.cs} (90%) rename sdk/dotnet/Machine/Inputs/{DisksFiltersArgs.cs => GetDisksFiltersArgs.cs} (89%) rename sdk/dotnet/Machine/Inputs/{DisksTimeouts.cs => GetDisksTimeouts.cs} (81%) rename sdk/dotnet/Machine/Inputs/{DisksTimeoutsArgs.cs => GetDisksTimeoutsArgs.cs} (79%) rename sdk/dotnet/Machine/Outputs/{DisksClientConfigurationResult.cs => GetDisksClientConfigurationResult.cs} (90%) rename sdk/dotnet/Machine/Outputs/{DisksDiskResult.cs => GetDisksDiskResult.cs} (96%) rename sdk/dotnet/Machine/Outputs/{DisksFiltersResult.cs => GetDisksFiltersResult.cs} (95%) rename sdk/dotnet/Machine/Outputs/{DisksTimeoutsResult.cs => GetDisksTimeoutsResult.cs} (89%) delete mode 100644 sdk/go/talos/client/configuration.go create mode 100644 sdk/go/talos/client/getConfiguration.go create mode 100644 sdk/go/talos/cluster/getHealth.go create mode 100644 sdk/go/talos/cluster/getKubeconfig.go delete mode 100644 sdk/go/talos/cluster/health.go delete mode 100644 sdk/go/talos/cluster/kubeconfig.go delete mode 100644 sdk/go/talos/machine/disks.go create mode 100644 sdk/go/talos/machine/getDisks.go rename sdk/nodejs/client/{configuration.ts => getConfiguration.ts} (71%) rename sdk/nodejs/cluster/{health.ts => getHealth.ts} (67%) rename sdk/nodejs/cluster/{kubeconfig.ts => getKubeconfig.ts} (67%) rename sdk/nodejs/machine/{disks.ts => getDisks.ts} (63%) create mode 100644 sdk/python/pulumiverse_talos/client/get_configuration.py create mode 100644 sdk/python/pulumiverse_talos/cluster/get_health.py create mode 100644 sdk/python/pulumiverse_talos/cluster/get_kubeconfig.py create mode 100644 sdk/python/pulumiverse_talos/machine/get_disks.py diff --git a/provider/cmd/pulumi-resource-talos/bridge-metadata.json b/provider/cmd/pulumi-resource-talos/bridge-metadata.json index c34d65a..89cd961 100644 --- a/provider/cmd/pulumi-resource-talos/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-talos/bridge-metadata.json @@ -96,68 +96,57 @@ "talos:machine/secrets:Secrets": "talos_machine_secrets" }, "functions": { - "talos:client/configuration:Configuration": "talos_client_configuration", - "talos:cluster/health:Health": "talos_cluster_health", - "talos:cluster/kubeconfig:Kubeconfig": "talos_cluster_kubeconfig", - "talos:machine/disks:Disks": "talos_machine_disks", - "talos:machine/getConfiguration:getConfiguration": "talos_machine_configuration" + "talos:client/getConfiguration:getConfiguration": "talos_client_configuration", + "talos:cluster/getHealth:getHealth": "talos_cluster_health", + "talos:cluster/getKubeconfig:getKubeconfig": "talos_cluster_kubeconfig", + "talos:machine/getConfiguration:getConfiguration": "talos_machine_configuration", + "talos:machine/getDisks:getDisks": "talos_machine_disks" }, "renamedProperties": { - "talos:client/ConfigurationClientConfiguration:ConfigurationClientConfiguration": { - "caCertificate": "ca_certificate", - "clientCertificate": "client_certificate", - "clientKey": "client_key" - }, - "talos:client/configuration:Configuration": { + "talos:client/getConfiguration:getConfiguration": { "clientConfiguration": "client_configuration", "clusterName": "cluster_name", "talosConfig": "talos_config" }, - "talos:cluster/HealthClientConfiguration:HealthClientConfiguration": { + "talos:client/getConfigurationClientConfiguration:getConfigurationClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", "clientKey": "client_key" }, - "talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration": { - "caCertificate": "ca_certificate", - "clientCertificate": "client_certificate", - "clientKey": "client_key" + "talos:cluster/getHealth:getHealth": { + "clientConfiguration": "client_configuration", + "controlPlaneNodes": "control_plane_nodes", + "workerNodes": "worker_nodes" }, - "talos:cluster/KubeconfigKubernetesClientConfiguration:KubeconfigKubernetesClientConfiguration": { + "talos:cluster/getHealthClientConfiguration:getHealthClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", "clientKey": "client_key" }, - "talos:cluster/health:Health": { - "clientConfiguration": "client_configuration", - "controlPlaneNodes": "control_plane_nodes", - "workerNodes": "worker_nodes" - }, - "talos:cluster/kubeconfig:Kubeconfig": { + "talos:cluster/getKubeconfig:getKubeconfig": { "clientConfiguration": "client_configuration", "kubeconfigRaw": "kubeconfig_raw", "kubernetesClientConfiguration": "kubernetes_client_configuration" }, - "talos:machine/BootstrapClientConfiguration:BootstrapClientConfiguration": { + "talos:cluster/getKubeconfigClientConfiguration:getKubeconfigClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", "clientKey": "client_key" }, - "talos:machine/ConfigurationApplyClientConfiguration:ConfigurationApplyClientConfiguration": { + "talos:cluster/getKubeconfigKubernetesClientConfiguration:getKubeconfigKubernetesClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", "clientKey": "client_key" }, - "talos:machine/DisksClientConfiguration:DisksClientConfiguration": { + "talos:machine/BootstrapClientConfiguration:BootstrapClientConfiguration": { "caCertificate": "ca_certificate", "clientCertificate": "client_certificate", "clientKey": "client_key" }, - "talos:machine/DisksDisk:DisksDisk": { - "busPath": "bus_path" - }, - "talos:machine/DisksFilters:DisksFilters": { - "busPath": "bus_path" + "talos:machine/ConfigurationApplyClientConfiguration:ConfigurationApplyClientConfiguration": { + "caCertificate": "ca_certificate", + "clientCertificate": "client_certificate", + "clientKey": "client_key" }, "talos:machine/SecretsClientConfiguration:SecretsClientConfiguration": { "caCertificate": "ca_certificate", @@ -183,9 +172,6 @@ "machineConfiguration": "machine_configuration", "machineConfigurationInput": "machine_configuration_input" }, - "talos:machine/disks:Disks": { - "clientConfiguration": "client_configuration" - }, "talos:machine/getConfiguration:getConfiguration": { "clusterEndpoint": "cluster_endpoint", "clusterName": "cluster_name", @@ -205,6 +191,20 @@ "bootstrapToken": "bootstrap_token", "secretboxEncryptionSecret": "secretbox_encryption_secret" }, + "talos:machine/getDisks:getDisks": { + "clientConfiguration": "client_configuration" + }, + "talos:machine/getDisksClientConfiguration:getDisksClientConfiguration": { + "caCertificate": "ca_certificate", + "clientCertificate": "client_certificate", + "clientKey": "client_key" + }, + "talos:machine/getDisksDisk:getDisksDisk": { + "busPath": "bus_path" + }, + "talos:machine/getDisksFilters:getDisksFilters": { + "busPath": "bus_path" + }, "talos:machine/secrets:Secrets": { "clientConfiguration": "client_configuration", "machineSecrets": "machine_secrets", diff --git a/provider/cmd/pulumi-resource-talos/schema.json b/provider/cmd/pulumi-resource-talos/schema.json index 78f940b..2778b2f 100644 --- a/provider/cmd/pulumi-resource-talos/schema.json +++ b/provider/cmd/pulumi-resource-talos/schema.json @@ -55,7 +55,7 @@ }, "config": {}, "types": { - "talos:client/ConfigurationClientConfiguration:ConfigurationClientConfiguration": { + "talos:client/getConfigurationClientConfiguration:getConfigurationClientConfiguration": { "properties": { "caCertificate": { "type": "string", @@ -78,7 +78,7 @@ "clientKey" ] }, - "talos:cluster/HealthClientConfiguration:HealthClientConfiguration": { + "talos:cluster/getHealthClientConfiguration:getHealthClientConfiguration": { "properties": { "caCertificate": { "type": "string", @@ -101,7 +101,7 @@ "clientKey" ] }, - "talos:cluster/HealthTimeouts:HealthTimeouts": { + "talos:cluster/getHealthTimeouts:getHealthTimeouts": { "properties": { "read": { "type": "string", @@ -110,7 +110,7 @@ }, "type": "object" }, - "talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration": { + "talos:cluster/getKubeconfigClientConfiguration:getKubeconfigClientConfiguration": { "properties": { "caCertificate": { "type": "string", @@ -133,7 +133,7 @@ "clientKey" ] }, - "talos:cluster/KubeconfigKubernetesClientConfiguration:KubeconfigKubernetesClientConfiguration": { + "talos:cluster/getKubeconfigKubernetesClientConfiguration:getKubeconfigKubernetesClientConfiguration": { "properties": { "caCertificate": { "type": "string", @@ -166,7 +166,7 @@ } } }, - "talos:cluster/KubeconfigTimeouts:KubeconfigTimeouts": { + "talos:cluster/getKubeconfigTimeouts:getKubeconfigTimeouts": { "properties": { "read": { "type": "string", @@ -230,136 +230,6 @@ "clientKey" ] }, - "talos:machine/DisksClientConfiguration:DisksClientConfiguration": { - "properties": { - "caCertificate": { - "type": "string", - "description": "The client CA certificate\n" - }, - "clientCertificate": { - "type": "string", - "description": "The client certificate\n" - }, - "clientKey": { - "type": "string", - "description": "The client key\n", - "secret": true - } - }, - "type": "object", - "required": [ - "caCertificate", - "clientCertificate", - "clientKey" - ] - }, - "talos:machine/DisksDisk:DisksDisk": { - "properties": { - "busPath": { - "type": "string", - "description": "The bus path of the disk\n" - }, - "modalias": { - "type": "string", - "description": "The modalias of the disk\n" - }, - "model": { - "type": "string", - "description": "The model of the disk\n" - }, - "name": { - "type": "string", - "description": "The name of the disk\n" - }, - "serial": { - "type": "string", - "description": "The serial number of the disk\n" - }, - "size": { - "type": "string", - "description": "The size of the disk\n" - }, - "type": { - "type": "string", - "description": "The type of the disk\n" - }, - "uuid": { - "type": "string", - "description": "The uuid of the disk\n" - }, - "wwid": { - "type": "string", - "description": "The wwid of the disk\n" - } - }, - "type": "object", - "required": [ - "busPath", - "modalias", - "model", - "name", - "serial", - "size", - "type", - "uuid", - "wwid" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "talos:machine/DisksFilters:DisksFilters": { - "properties": { - "busPath": { - "type": "string", - "description": "Filter disks by bus path\n" - }, - "modalias": { - "type": "string", - "description": "Filter disks by modalias\n" - }, - "model": { - "type": "string", - "description": "Filter disks by model\n" - }, - "name": { - "type": "string", - "description": "Filter disks by name\n" - }, - "serial": { - "type": "string", - "description": "Filter disks by serial number\n" - }, - "size": { - "type": "string", - "description": "Filter disks by size\n" - }, - "type": { - "type": "string", - "description": "Filter disks by type\n" - }, - "uuid": { - "type": "string", - "description": "Filter disks by uuid\n" - }, - "wwid": { - "type": "string", - "description": "Filter disks by wwid\n" - } - }, - "type": "object" - }, - "talos:machine/DisksTimeouts:DisksTimeouts": { - "properties": { - "read": { - "type": "string", - "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.\n" - } - }, - "type": "object" - }, "talos:machine/SecretsClientConfiguration:SecretsClientConfiguration": { "properties": { "caCertificate": { @@ -974,6 +844,136 @@ "required": [ "token" ] + }, + "talos:machine/getDisksClientConfiguration:getDisksClientConfiguration": { + "properties": { + "caCertificate": { + "type": "string", + "description": "The client CA certificate\n" + }, + "clientCertificate": { + "type": "string", + "description": "The client certificate\n" + }, + "clientKey": { + "type": "string", + "description": "The client key\n", + "secret": true + } + }, + "type": "object", + "required": [ + "caCertificate", + "clientCertificate", + "clientKey" + ] + }, + "talos:machine/getDisksDisk:getDisksDisk": { + "properties": { + "busPath": { + "type": "string", + "description": "The bus path of the disk\n" + }, + "modalias": { + "type": "string", + "description": "The modalias of the disk\n" + }, + "model": { + "type": "string", + "description": "The model of the disk\n" + }, + "name": { + "type": "string", + "description": "The name of the disk\n" + }, + "serial": { + "type": "string", + "description": "The serial number of the disk\n" + }, + "size": { + "type": "string", + "description": "The size of the disk\n" + }, + "type": { + "type": "string", + "description": "The type of the disk\n" + }, + "uuid": { + "type": "string", + "description": "The uuid of the disk\n" + }, + "wwid": { + "type": "string", + "description": "The wwid of the disk\n" + } + }, + "type": "object", + "required": [ + "busPath", + "modalias", + "model", + "name", + "serial", + "size", + "type", + "uuid", + "wwid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "talos:machine/getDisksFilters:getDisksFilters": { + "properties": { + "busPath": { + "type": "string", + "description": "Filter disks by bus path\n" + }, + "modalias": { + "type": "string", + "description": "Filter disks by modalias\n" + }, + "model": { + "type": "string", + "description": "Filter disks by model\n" + }, + "name": { + "type": "string", + "description": "Filter disks by name\n" + }, + "serial": { + "type": "string", + "description": "Filter disks by serial number\n" + }, + "size": { + "type": "string", + "description": "Filter disks by size\n" + }, + "type": { + "type": "string", + "description": "Filter disks by type\n" + }, + "uuid": { + "type": "string", + "description": "Filter disks by uuid\n" + }, + "wwid": { + "type": "string", + "description": "Filter disks by wwid\n" + } + }, + "type": "object" + }, + "talos:machine/getDisksTimeouts:getDisksTimeouts": { + "properties": { + "read": { + "type": "string", + "description": "A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as \"30s\" or \"2h45m\". Valid time units are \"s\" (seconds), \"m\" (minutes), \"h\" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.\n" + } + }, + "type": "object" } }, "provider": { @@ -1224,13 +1224,13 @@ } }, "functions": { - "talos:client/configuration:Configuration": { - "description": "Generate client configuration for a Talos cluster\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as talos from \"@pulumi/talos\";\nimport * as talos from \"@pulumiverse/talos\";\n\nconst thisSecrets = new talos.machine.Secrets(\"thisSecrets\", {});\nconst thisConfiguration = talos.client.ConfigurationOutput({\n clusterName: \"example-cluster\",\n clientConfiguration: thisSecrets.clientConfiguration,\n nodes: [\"10.5.0.2\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_talos as talos\nimport pulumiverse_talos as talos\n\nthis_secrets = talos.machine.Secrets(\"thisSecrets\")\nthis_configuration = talos.client.configuration_output(cluster_name=\"example-cluster\",\n client_configuration=this_secrets.client_configuration,\n nodes=[\"10.5.0.2\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Talos = Pulumi.Talos;\nusing Talos = Pulumiverse.Talos;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var thisSecrets = new Talos.Machine.Secrets(\"thisSecrets\");\n\n var thisConfiguration = Talos.Client.Configuration.Invoke(new()\n {\n ClusterName = \"example-cluster\",\n ClientConfiguration = thisSecrets.ClientConfiguration,\n Nodes = new[]\n {\n \"10.5.0.2\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/client\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthisSecrets, err := machine.NewSecrets(ctx, \"thisSecrets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = client.ConfigurationOutput(ctx, client.ConfigurationOutputArgs{\n\t\t\tClusterName: pulumi.String(\"example-cluster\"),\n\t\t\tClientConfiguration: thisSecrets.ClientConfiguration,\n\t\t\tNodes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.5.0.2\"),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.talos.machine.Secrets;\nimport com.pulumi.talos.client.ClientFunctions;\nimport com.pulumi.talos.client.inputs.ConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisSecrets = new Secrets(\"thisSecrets\");\n\n final var thisConfiguration = ClientFunctions.Configuration(ConfigurationArgs.builder()\n .clusterName(\"example-cluster\")\n .clientConfiguration(thisSecrets.clientConfiguration())\n .nodes(\"10.5.0.2\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n thisSecrets:\n type: talos:machine:Secrets\nvariables:\n thisConfiguration:\n fn::invoke:\n Function: talos:client:Configuration\n Arguments:\n clusterName: example-cluster\n clientConfiguration: ${thisSecrets.clientConfiguration}\n nodes:\n - 10.5.0.2\n```\n{{% /example %}}\n{{% /examples %}}", + "talos:client/getConfiguration:getConfiguration": { + "description": "Generate client configuration for a Talos cluster\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as talos from \"@pulumi/talos\";\nimport * as talos from \"@pulumiverse/talos\";\n\nconst thisSecrets = new talos.machine.Secrets(\"thisSecrets\", {});\nconst thisConfiguration = talos.client.getConfigurationOutput({\n clusterName: \"example-cluster\",\n clientConfiguration: thisSecrets.clientConfiguration,\n nodes: [\"10.5.0.2\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_talos as talos\nimport pulumiverse_talos as talos\n\nthis_secrets = talos.machine.Secrets(\"thisSecrets\")\nthis_configuration = talos.client.get_configuration_output(cluster_name=\"example-cluster\",\n client_configuration=this_secrets.client_configuration,\n nodes=[\"10.5.0.2\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Talos = Pulumi.Talos;\nusing Talos = Pulumiverse.Talos;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var thisSecrets = new Talos.Machine.Secrets(\"thisSecrets\");\n\n var thisConfiguration = Talos.Client.GetConfiguration.Invoke(new()\n {\n ClusterName = \"example-cluster\",\n ClientConfiguration = thisSecrets.ClientConfiguration,\n Nodes = new[]\n {\n \"10.5.0.2\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/client\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthisSecrets, err := machine.NewSecrets(ctx, \"thisSecrets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = client.GetConfigurationOutput(ctx, client.GetConfigurationOutputArgs{\n\t\t\tClusterName: pulumi.String(\"example-cluster\"),\n\t\t\tClientConfiguration: thisSecrets.ClientConfiguration,\n\t\t\tNodes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"10.5.0.2\"),\n\t\t\t},\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.talos.machine.Secrets;\nimport com.pulumi.talos.client.ClientFunctions;\nimport com.pulumi.talos.client.inputs.GetConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisSecrets = new Secrets(\"thisSecrets\");\n\n final var thisConfiguration = ClientFunctions.getConfiguration(GetConfigurationArgs.builder()\n .clusterName(\"example-cluster\")\n .clientConfiguration(thisSecrets.clientConfiguration())\n .nodes(\"10.5.0.2\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n thisSecrets:\n type: talos:machine:Secrets\nvariables:\n thisConfiguration:\n fn::invoke:\n Function: talos:client:getConfiguration\n Arguments:\n clusterName: example-cluster\n clientConfiguration: ${thisSecrets.clientConfiguration}\n nodes:\n - 10.5.0.2\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { - "description": "A collection of arguments for invoking Configuration.\n", + "description": "A collection of arguments for invoking getConfiguration.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:client/ConfigurationClientConfiguration:ConfigurationClientConfiguration", + "$ref": "#/types/talos:client/getConfigurationClientConfiguration:getConfigurationClientConfiguration", "description": "The client configuration data\n" }, "clusterName": { @@ -1259,10 +1259,10 @@ ] }, "outputs": { - "description": "A collection of values returned by Configuration.\n", + "description": "A collection of values returned by getConfiguration.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:client/ConfigurationClientConfiguration:ConfigurationClientConfiguration", + "$ref": "#/types/talos:client/getConfigurationClientConfiguration:getConfigurationClientConfiguration", "description": "The client configuration data\n" }, "clusterName": { @@ -1302,13 +1302,13 @@ ] } }, - "talos:cluster/health:Health": { + "talos:cluster/getHealth:getHealth": { "description": "Checks the health of a Talos cluster\n", "inputs": { - "description": "A collection of arguments for invoking Health.\n", + "description": "A collection of arguments for invoking getHealth.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:cluster/HealthClientConfiguration:HealthClientConfiguration", + "$ref": "#/types/talos:cluster/getHealthClientConfiguration:getHealthClientConfiguration", "description": "The client configuration data\n" }, "controlPlaneNodes": { @@ -1326,7 +1326,7 @@ "description": "endpoints to use for the health check client. Use at least one control plane endpoint.\n" }, "timeouts": { - "$ref": "#/types/talos:cluster/HealthTimeouts:HealthTimeouts" + "$ref": "#/types/talos:cluster/getHealthTimeouts:getHealthTimeouts" }, "workerNodes": { "type": "array", @@ -1344,10 +1344,10 @@ ] }, "outputs": { - "description": "A collection of values returned by Health.\n", + "description": "A collection of values returned by getHealth.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:cluster/HealthClientConfiguration:HealthClientConfiguration", + "$ref": "#/types/talos:cluster/getHealthClientConfiguration:getHealthClientConfiguration", "description": "The client configuration data\n" }, "controlPlaneNodes": { @@ -1369,7 +1369,7 @@ "description": "The ID of this resource.\n" }, "timeouts": { - "$ref": "#/types/talos:cluster/HealthTimeouts:HealthTimeouts" + "$ref": "#/types/talos:cluster/getHealthTimeouts:getHealthTimeouts" }, "workerNodes": { "type": "array", @@ -1388,13 +1388,13 @@ ] } }, - "talos:cluster/kubeconfig:Kubeconfig": { + "talos:cluster/getKubeconfig:getKubeconfig": { "description": "Retrieves the kubeconfig for a Talos cluster\n", "inputs": { - "description": "A collection of arguments for invoking Kubeconfig.\n", + "description": "A collection of arguments for invoking getKubeconfig.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration", + "$ref": "#/types/talos:cluster/getKubeconfigClientConfiguration:getKubeconfigClientConfiguration", "description": "The client configuration data\n" }, "endpoint": { @@ -1406,7 +1406,7 @@ "description": "controlplane node to retrieve the kubeconfig from\n" }, "timeouts": { - "$ref": "#/types/talos:cluster/KubeconfigTimeouts:KubeconfigTimeouts" + "$ref": "#/types/talos:cluster/getKubeconfigTimeouts:getKubeconfigTimeouts" }, "wait": { "type": "boolean", @@ -1421,10 +1421,10 @@ ] }, "outputs": { - "description": "A collection of values returned by Kubeconfig.\n", + "description": "A collection of values returned by getKubeconfig.\n", "properties": { "clientConfiguration": { - "$ref": "#/types/talos:cluster/KubeconfigClientConfiguration:KubeconfigClientConfiguration", + "$ref": "#/types/talos:cluster/getKubeconfigClientConfiguration:getKubeconfigClientConfiguration", "description": "The client configuration data\n" }, "endpoint": { @@ -1441,7 +1441,7 @@ "secret": true }, "kubernetesClientConfiguration": { - "$ref": "#/types/talos:cluster/KubeconfigKubernetesClientConfiguration:KubeconfigKubernetesClientConfiguration", + "$ref": "#/types/talos:cluster/getKubeconfigKubernetesClientConfiguration:getKubeconfigKubernetesClientConfiguration", "description": "The kubernetes client configuration\n" }, "node": { @@ -1449,7 +1449,7 @@ "description": "controlplane node to retrieve the kubeconfig from\n" }, "timeouts": { - "$ref": "#/types/talos:cluster/KubeconfigTimeouts:KubeconfigTimeouts" + "$ref": "#/types/talos:cluster/getKubeconfigTimeouts:getKubeconfigTimeouts" }, "wait": { "type": "boolean", @@ -1468,81 +1468,6 @@ ] } }, - "talos:machine/disks:Disks": { - "description": "Generate a machine configuration for a node type\n\n\u003e **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as talos from \"@pulumi/talos\";\nimport * as talos from \"@pulumiverse/talos\";\n\nconst thisSecrets = new talos.machine.Secrets(\"thisSecrets\", {});\nconst thisDisks = talos.machine.DisksOutput({\n clientConfiguration: thisSecrets.clientConfiguration,\n node: \"10.5.0.2\",\n filters: {\n size: \"\u003e 100GB\",\n type: \"nvme\",\n },\n});\nexport const nvmeDisks = thisDisks.apply(thisDisks =\u003e thisDisks.disks.map(__item =\u003e __item.name));\n```\n```python\nimport pulumi\nimport pulumi_talos as talos\nimport pulumiverse_talos as talos\n\nthis_secrets = talos.machine.Secrets(\"thisSecrets\")\nthis_disks = talos.machine.disks_output(client_configuration=this_secrets.client_configuration,\n node=\"10.5.0.2\",\n filters=talos.machine.DisksFiltersArgs(\n size=\"\u003e 100GB\",\n type=\"nvme\",\n ))\npulumi.export(\"nvmeDisks\", this_disks.apply(lambda this_disks: [__item.name for __item in this_disks.disks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Talos = Pulumi.Talos;\nusing Talos = Pulumiverse.Talos;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var thisSecrets = new Talos.Machine.Secrets(\"thisSecrets\");\n\n var thisDisks = Talos.Machine.Disks.Invoke(new()\n {\n ClientConfiguration = thisSecrets.ClientConfiguration,\n Node = \"10.5.0.2\",\n Filters = new Talos.Machine.Inputs.DisksFiltersInputArgs\n {\n Size = \"\u003e 100GB\",\n Type = \"nvme\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"nvmeDisks\"] = thisDisks.Apply(disksResult =\u003e disksResult.Disks).Select(__item =\u003e __item.Name).ToList(),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nthisSecrets, err := machine.NewSecrets(ctx, \"thisSecrets\", nil)\nif err != nil {\nreturn err\n}\nthisDisks := machine.DisksOutput(ctx, machine.DisksOutputArgs{\nClientConfiguration: thisSecrets.ClientConfiguration,\nNode: pulumi.String(\"10.5.0.2\"),\nFilters: \u0026machine.DisksFiltersArgs{\nSize: pulumi.String(\"\u003e 100GB\"),\nType: pulumi.String(\"nvme\"),\n},\n}, nil);\nctx.Export(\"nvmeDisks\", thisDisks.ApplyT(func(thisDisks machine.DisksResult) ([]*string, error) {\nvar splat0 []*string\nfor _, val0 := range thisDisks.Disks {\nsplat0 = append(splat0, val0.Name)\n}\nreturn splat0, nil\n}).(pulumi.[]*stringOutput))\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.talos.machine.Secrets;\nimport com.pulumi.talos.machine.MachineFunctions;\nimport com.pulumi.talos.machine.inputs.DisksArgs;\nimport com.pulumi.talos.machine.inputs.DisksFiltersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisSecrets = new Secrets(\"thisSecrets\");\n\n final var thisDisks = MachineFunctions.Disks(DisksArgs.builder()\n .clientConfiguration(thisSecrets.clientConfiguration())\n .node(\"10.5.0.2\")\n .filters(DisksFiltersArgs.builder()\n .size(\"\u003e 100GB\")\n .type(\"nvme\")\n .build())\n .build());\n\n ctx.export(\"nvmeDisks\", thisDisks.applyValue(disksResult -\u003e disksResult).applyValue(thisDisks -\u003e thisDisks.applyValue(disksResult -\u003e disksResult.disks()).stream().map(element -\u003e element.name()).collect(toList())));\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}", - "inputs": { - "description": "A collection of arguments for invoking Disks.\n", - "properties": { - "clientConfiguration": { - "$ref": "#/types/talos:machine/DisksClientConfiguration:DisksClientConfiguration", - "description": "The client configuration data\n" - }, - "endpoint": { - "type": "string", - "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" - }, - "filters": { - "$ref": "#/types/talos:machine/DisksFilters:DisksFilters", - "description": "Filters to apply to the disks\n" - }, - "node": { - "type": "string", - "description": "controlplane node to retrieve the kubeconfig from\n" - }, - "timeouts": { - "$ref": "#/types/talos:machine/DisksTimeouts:DisksTimeouts" - } - }, - "type": "object", - "required": [ - "clientConfiguration", - "node" - ] - }, - "outputs": { - "description": "A collection of values returned by Disks.\n", - "properties": { - "clientConfiguration": { - "$ref": "#/types/talos:machine/DisksClientConfiguration:DisksClientConfiguration", - "description": "The client configuration data\n" - }, - "disks": { - "type": "array", - "items": { - "$ref": "#/types/talos:machine/DisksDisk:DisksDisk" - }, - "description": "The disks that match the filters\n" - }, - "endpoint": { - "type": "string", - "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" - }, - "filters": { - "$ref": "#/types/talos:machine/DisksFilters:DisksFilters", - "description": "Filters to apply to the disks\n" - }, - "id": { - "type": "string", - "description": "The generated ID of this resource\n" - }, - "node": { - "type": "string", - "description": "controlplane node to retrieve the kubeconfig from\n" - }, - "timeouts": { - "$ref": "#/types/talos:machine/DisksTimeouts:DisksTimeouts" - } - }, - "type": "object", - "required": [ - "clientConfiguration", - "disks", - "endpoint", - "id", - "node" - ] - } - }, "talos:machine/getConfiguration:getConfiguration": { "description": "Generate a machine configuration for a node type\n\n\u003e **Note:** It is recommended to set the optional `talos_version` attribute. Otherwise when using a new version of the provider with a new major version of the Talos SDK, new machineconfig features will be enabled by default which could cause unexpected behavior.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as talos from \"@pulumi/talos\";\nimport * as talos from \"@pulumiverse/talos\";\n\nconst thisSecrets = new talos.machine.Secrets(\"thisSecrets\", {});\nconst thisConfiguration = talos.machine.getConfigurationOutput({\n clusterName: \"example-cluster\",\n machineType: \"controlplane\",\n clusterEndpoint: \"https://cluster.local:6443\",\n machineSecrets: thisSecrets.machineSecrets,\n});\n```\n```python\nimport pulumi\nimport pulumi_talos as talos\nimport pulumiverse_talos as talos\n\nthis_secrets = talos.machine.Secrets(\"thisSecrets\")\nthis_configuration = talos.machine.get_configuration_output(cluster_name=\"example-cluster\",\n machine_type=\"controlplane\",\n cluster_endpoint=\"https://cluster.local:6443\",\n machine_secrets=this_secrets.machine_secrets)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Talos = Pulumi.Talos;\nusing Talos = Pulumiverse.Talos;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var thisSecrets = new Talos.Machine.Secrets(\"thisSecrets\");\n\n var thisConfiguration = Talos.Machine.GetConfiguration.Invoke(new()\n {\n ClusterName = \"example-cluster\",\n MachineType = \"controlplane\",\n ClusterEndpoint = \"https://cluster.local:6443\",\n MachineSecrets = thisSecrets.MachineSecrets,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tthisSecrets, err := machine.NewSecrets(ctx, \"thisSecrets\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = machine.GetConfigurationOutput(ctx, machine.GetConfigurationOutputArgs{\n\t\t\tClusterName: pulumi.String(\"example-cluster\"),\n\t\t\tMachineType: pulumi.String(\"controlplane\"),\n\t\t\tClusterEndpoint: pulumi.String(\"https://cluster.local:6443\"),\n\t\t\tMachineSecrets: thisSecrets.MachineSecrets,\n\t\t}, nil)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.talos.machine.Secrets;\nimport com.pulumi.talos.machine.MachineFunctions;\nimport com.pulumi.talos.machine.inputs.GetConfigurationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisSecrets = new Secrets(\"thisSecrets\");\n\n final var thisConfiguration = MachineFunctions.getConfiguration(GetConfigurationArgs.builder()\n .clusterName(\"example-cluster\")\n .machineType(\"controlplane\")\n .clusterEndpoint(\"https://cluster.local:6443\")\n .machineSecrets(thisSecrets.machineSecrets())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n thisSecrets:\n type: talos:machine:Secrets\nvariables:\n thisConfiguration:\n fn::invoke:\n Function: talos:machine:getConfiguration\n Arguments:\n clusterName: example-cluster\n machineType: controlplane\n clusterEndpoint: https://cluster.local:6443\n machineSecrets: ${thisSecrets.machineSecrets}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -1658,6 +1583,81 @@ "machineType" ] } + }, + "talos:machine/getDisks:getDisks": { + "description": "Generate a machine configuration for a node type\n\n\u003e **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as talos from \"@pulumi/talos\";\nimport * as talos from \"@pulumiverse/talos\";\n\nconst thisSecrets = new talos.machine.Secrets(\"thisSecrets\", {});\nconst thisDisks = talos.machine.getDisksOutput({\n clientConfiguration: thisSecrets.clientConfiguration,\n node: \"10.5.0.2\",\n filters: {\n size: \"\u003e 100GB\",\n type: \"nvme\",\n },\n});\nexport const nvmeDisks = thisDisks.apply(thisDisks =\u003e thisDisks.disks.map(__item =\u003e __item.name));\n```\n```python\nimport pulumi\nimport pulumi_talos as talos\nimport pulumiverse_talos as talos\n\nthis_secrets = talos.machine.Secrets(\"thisSecrets\")\nthis_disks = talos.machine.get_disks_output(client_configuration=this_secrets.client_configuration,\n node=\"10.5.0.2\",\n filters=talos.machine.GetDisksFiltersArgs(\n size=\"\u003e 100GB\",\n type=\"nvme\",\n ))\npulumi.export(\"nvmeDisks\", this_disks.apply(lambda this_disks: [__item.name for __item in this_disks.disks]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Talos = Pulumi.Talos;\nusing Talos = Pulumiverse.Talos;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var thisSecrets = new Talos.Machine.Secrets(\"thisSecrets\");\n\n var thisDisks = Talos.Machine.GetDisks.Invoke(new()\n {\n ClientConfiguration = thisSecrets.ClientConfiguration,\n Node = \"10.5.0.2\",\n Filters = new Talos.Machine.Inputs.GetDisksFiltersInputArgs\n {\n Size = \"\u003e 100GB\",\n Type = \"nvme\",\n },\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"nvmeDisks\"] = thisDisks.Apply(getDisksResult =\u003e getDisksResult.Disks).Select(__item =\u003e __item.Name).ToList(),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nthisSecrets, err := machine.NewSecrets(ctx, \"thisSecrets\", nil)\nif err != nil {\nreturn err\n}\nthisDisks := machine.GetDisksOutput(ctx, machine.GetDisksOutputArgs{\nClientConfiguration: thisSecrets.ClientConfiguration,\nNode: pulumi.String(\"10.5.0.2\"),\nFilters: \u0026machine.GetDisksFiltersArgs{\nSize: pulumi.String(\"\u003e 100GB\"),\nType: pulumi.String(\"nvme\"),\n},\n}, nil);\nctx.Export(\"nvmeDisks\", thisDisks.ApplyT(func(thisDisks machine.GetDisksResult) ([]*string, error) {\nvar splat0 []*string\nfor _, val0 := range thisDisks.Disks {\nsplat0 = append(splat0, val0.Name)\n}\nreturn splat0, nil\n}).(pulumi.[]*stringOutput))\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.talos.machine.Secrets;\nimport com.pulumi.talos.machine.MachineFunctions;\nimport com.pulumi.talos.machine.inputs.GetDisksArgs;\nimport com.pulumi.talos.machine.inputs.GetDisksFiltersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var thisSecrets = new Secrets(\"thisSecrets\");\n\n final var thisDisks = MachineFunctions.getDisks(GetDisksArgs.builder()\n .clientConfiguration(thisSecrets.clientConfiguration())\n .node(\"10.5.0.2\")\n .filters(GetDisksFiltersArgs.builder()\n .size(\"\u003e 100GB\")\n .type(\"nvme\")\n .build())\n .build());\n\n ctx.export(\"nvmeDisks\", thisDisks.applyValue(getDisksResult -\u003e getDisksResult).applyValue(thisDisks -\u003e thisDisks.applyValue(getDisksResult -\u003e getDisksResult.disks()).stream().map(element -\u003e element.name()).collect(toList())));\n }\n}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getDisks.\n", + "properties": { + "clientConfiguration": { + "$ref": "#/types/talos:machine/getDisksClientConfiguration:getDisksClientConfiguration", + "description": "The client configuration data\n" + }, + "endpoint": { + "type": "string", + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" + }, + "filters": { + "$ref": "#/types/talos:machine/getDisksFilters:getDisksFilters", + "description": "Filters to apply to the disks\n" + }, + "node": { + "type": "string", + "description": "controlplane node to retrieve the kubeconfig from\n" + }, + "timeouts": { + "$ref": "#/types/talos:machine/getDisksTimeouts:getDisksTimeouts" + } + }, + "type": "object", + "required": [ + "clientConfiguration", + "node" + ] + }, + "outputs": { + "description": "A collection of values returned by getDisks.\n", + "properties": { + "clientConfiguration": { + "$ref": "#/types/talos:machine/getDisksClientConfiguration:getDisksClientConfiguration", + "description": "The client configuration data\n" + }, + "disks": { + "type": "array", + "items": { + "$ref": "#/types/talos:machine/getDisksDisk:getDisksDisk" + }, + "description": "The disks that match the filters\n" + }, + "endpoint": { + "type": "string", + "description": "endpoint to use for the talosclient. If not set, the node value will be used\n" + }, + "filters": { + "$ref": "#/types/talos:machine/getDisksFilters:getDisksFilters", + "description": "Filters to apply to the disks\n" + }, + "id": { + "type": "string", + "description": "The generated ID of this resource\n" + }, + "node": { + "type": "string", + "description": "controlplane node to retrieve the kubeconfig from\n" + }, + "timeouts": { + "$ref": "#/types/talos:machine/getDisksTimeouts:getDisksTimeouts" + } + }, + "type": "object", + "required": [ + "clientConfiguration", + "disks", + "endpoint", + "id", + "node" + ] + } } } } \ No newline at end of file diff --git a/provider/resources.go b/provider/resources.go index df37e83..0151de6 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -239,9 +239,9 @@ func Provider() tfbridge.ProviderInfo { }, }, DataSources: map[string]*tfbridge.DataSourceInfo{ - "talos_client_configuration": {Tok: tfbridge.MakeDataSource(talosPkg, clientMod, "Configuration")}, - "talos_cluster_health": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "Health")}, - "talos_cluster_kubeconfig": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "Kubeconfig")}, + "talos_client_configuration": {Tok: tfbridge.MakeDataSource(talosPkg, clientMod, "getConfiguration")}, + "talos_cluster_health": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "getHealth")}, + "talos_cluster_kubeconfig": {Tok: tfbridge.MakeDataSource(talosPkg, clusterMod, "getKubeconfig")}, "talos_machine_configuration": { Tok: tfbridge.MakeDataSource(talosPkg, machineMod, "getConfiguration"), Fields: map[string]*tfbridge.SchemaInfo{ @@ -252,7 +252,7 @@ func Provider() tfbridge.ProviderInfo { }, }, }, - "talos_machine_disks": {Tok: tfbridge.MakeDataSource(talosPkg, machineMod, "Disks")}, + "talos_machine_disks": {Tok: tfbridge.MakeDataSource(talosPkg, machineMod, "getDisks")}, }, JavaScript: &tfbridge.JavaScriptInfo{ PackageName: "@pulumiverse/talos", diff --git a/sdk/dotnet/Client/Configuration.cs b/sdk/dotnet/Client/GetConfiguration.cs similarity index 76% rename from sdk/dotnet/Client/Configuration.cs rename to sdk/dotnet/Client/GetConfiguration.cs index 79a2c9e..878adf8 100644 --- a/sdk/dotnet/Client/Configuration.cs +++ b/sdk/dotnet/Client/GetConfiguration.cs @@ -10,7 +10,7 @@ namespace Pulumiverse.Talos.Client { - public static class Configuration + public static class GetConfiguration { /// /// Generate client configuration for a Talos cluster @@ -30,7 +30,7 @@ public static class Configuration /// { /// var thisSecrets = new Talos.Machine.Secrets("thisSecrets"); /// - /// var thisConfiguration = Talos.Client.Configuration.Invoke(new() + /// var thisConfiguration = Talos.Client.GetConfiguration.Invoke(new() /// { /// ClusterName = "example-cluster", /// ClientConfiguration = thisSecrets.ClientConfiguration, @@ -45,8 +45,8 @@ public static class Configuration /// {{% /example %}} /// {{% /examples %}} /// - public static Task InvokeAsync(ConfigurationArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("talos:client/configuration:Configuration", args ?? new ConfigurationArgs(), options.WithDefaults()); + public static Task InvokeAsync(GetConfigurationArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("talos:client/getConfiguration:getConfiguration", args ?? new GetConfigurationArgs(), options.WithDefaults()); /// /// Generate client configuration for a Talos cluster @@ -66,7 +66,7 @@ public static Task InvokeAsync(ConfigurationArgs args, Invo /// { /// var thisSecrets = new Talos.Machine.Secrets("thisSecrets"); /// - /// var thisConfiguration = Talos.Client.Configuration.Invoke(new() + /// var thisConfiguration = Talos.Client.GetConfiguration.Invoke(new() /// { /// ClusterName = "example-cluster", /// ClientConfiguration = thisSecrets.ClientConfiguration, @@ -81,18 +81,18 @@ public static Task InvokeAsync(ConfigurationArgs args, Invo /// {{% /example %}} /// {{% /examples %}} /// - public static Output Invoke(ConfigurationInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("talos:client/configuration:Configuration", args ?? new ConfigurationInvokeArgs(), options.WithDefaults()); + public static Output Invoke(GetConfigurationInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("talos:client/getConfiguration:getConfiguration", args ?? new GetConfigurationInvokeArgs(), options.WithDefaults()); } - public sealed class ConfigurationArgs : global::Pulumi.InvokeArgs + public sealed class GetConfigurationArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Inputs.ConfigurationClientConfigurationArgs ClientConfiguration { get; set; } = null!; + public Inputs.GetConfigurationClientConfigurationArgs ClientConfiguration { get; set; } = null!; /// /// The name of the cluster in the generated config @@ -124,19 +124,19 @@ public List Nodes set => _nodes = value; } - public ConfigurationArgs() + public GetConfigurationArgs() { } - public static new ConfigurationArgs Empty => new ConfigurationArgs(); + public static new GetConfigurationArgs Empty => new GetConfigurationArgs(); } - public sealed class ConfigurationInvokeArgs : global::Pulumi.InvokeArgs + public sealed class GetConfigurationInvokeArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Input ClientConfiguration { get; set; } = null!; + public Input ClientConfiguration { get; set; } = null!; /// /// The name of the cluster in the generated config @@ -168,20 +168,20 @@ public InputList Nodes set => _nodes = value; } - public ConfigurationInvokeArgs() + public GetConfigurationInvokeArgs() { } - public static new ConfigurationInvokeArgs Empty => new ConfigurationInvokeArgs(); + public static new GetConfigurationInvokeArgs Empty => new GetConfigurationInvokeArgs(); } [OutputType] - public sealed class ConfigurationResult + public sealed class GetConfigurationResult { /// /// The client configuration data /// - public readonly Outputs.ConfigurationClientConfigurationResult ClientConfiguration; + public readonly Outputs.GetConfigurationClientConfigurationResult ClientConfiguration; /// /// The name of the cluster in the generated config /// @@ -204,8 +204,8 @@ public sealed class ConfigurationResult public readonly string TalosConfig; [OutputConstructor] - private ConfigurationResult( - Outputs.ConfigurationClientConfigurationResult clientConfiguration, + private GetConfigurationResult( + Outputs.GetConfigurationClientConfigurationResult clientConfiguration, string clusterName, diff --git a/sdk/dotnet/Client/Inputs/ConfigurationClientConfiguration.cs b/sdk/dotnet/Client/Inputs/GetConfigurationClientConfiguration.cs similarity index 79% rename from sdk/dotnet/Client/Inputs/ConfigurationClientConfiguration.cs rename to sdk/dotnet/Client/Inputs/GetConfigurationClientConfiguration.cs index e7d67a0..3ec62a8 100644 --- a/sdk/dotnet/Client/Inputs/ConfigurationClientConfiguration.cs +++ b/sdk/dotnet/Client/Inputs/GetConfigurationClientConfiguration.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Client.Inputs { - public sealed class ConfigurationClientConfigurationArgs : global::Pulumi.InvokeArgs + public sealed class GetConfigurationClientConfigurationArgs : global::Pulumi.InvokeArgs { /// /// The client CA certificate @@ -37,9 +37,9 @@ public string? ClientKey set => _clientKey = value; } - public ConfigurationClientConfigurationArgs() + public GetConfigurationClientConfigurationArgs() { } - public static new ConfigurationClientConfigurationArgs Empty => new ConfigurationClientConfigurationArgs(); + public static new GetConfigurationClientConfigurationArgs Empty => new GetConfigurationClientConfigurationArgs(); } } diff --git a/sdk/dotnet/Client/Inputs/ConfigurationClientConfigurationArgs.cs b/sdk/dotnet/Client/Inputs/GetConfigurationClientConfigurationArgs.cs similarity index 81% rename from sdk/dotnet/Client/Inputs/ConfigurationClientConfigurationArgs.cs rename to sdk/dotnet/Client/Inputs/GetConfigurationClientConfigurationArgs.cs index 71bfef1..6e5c6ff 100644 --- a/sdk/dotnet/Client/Inputs/ConfigurationClientConfigurationArgs.cs +++ b/sdk/dotnet/Client/Inputs/GetConfigurationClientConfigurationArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Client.Inputs { - public sealed class ConfigurationClientConfigurationInputArgs : global::Pulumi.ResourceArgs + public sealed class GetConfigurationClientConfigurationInputArgs : global::Pulumi.ResourceArgs { /// /// The client CA certificate @@ -41,9 +41,9 @@ public Input? ClientKey } } - public ConfigurationClientConfigurationInputArgs() + public GetConfigurationClientConfigurationInputArgs() { } - public static new ConfigurationClientConfigurationInputArgs Empty => new ConfigurationClientConfigurationInputArgs(); + public static new GetConfigurationClientConfigurationInputArgs Empty => new GetConfigurationClientConfigurationInputArgs(); } } diff --git a/sdk/dotnet/Client/Outputs/ConfigurationClientConfigurationResult.cs b/sdk/dotnet/Client/Outputs/GetConfigurationClientConfigurationResult.cs similarity index 89% rename from sdk/dotnet/Client/Outputs/ConfigurationClientConfigurationResult.cs rename to sdk/dotnet/Client/Outputs/GetConfigurationClientConfigurationResult.cs index 84c01fb..bdbec0f 100644 --- a/sdk/dotnet/Client/Outputs/ConfigurationClientConfigurationResult.cs +++ b/sdk/dotnet/Client/Outputs/GetConfigurationClientConfigurationResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Client.Outputs { [OutputType] - public sealed class ConfigurationClientConfigurationResult + public sealed class GetConfigurationClientConfigurationResult { /// /// The client CA certificate @@ -28,7 +28,7 @@ public sealed class ConfigurationClientConfigurationResult public readonly string ClientKey; [OutputConstructor] - private ConfigurationClientConfigurationResult( + private GetConfigurationClientConfigurationResult( string caCertificate, string clientCertificate, diff --git a/sdk/dotnet/Cluster/Health.cs b/sdk/dotnet/Cluster/GetHealth.cs similarity index 73% rename from sdk/dotnet/Cluster/Health.cs rename to sdk/dotnet/Cluster/GetHealth.cs index 47cfde1..ccbb23d 100644 --- a/sdk/dotnet/Cluster/Health.cs +++ b/sdk/dotnet/Cluster/GetHealth.cs @@ -10,29 +10,29 @@ namespace Pulumiverse.Talos.Cluster { - public static class Health + public static class GetHealth { /// /// Checks the health of a Talos cluster /// - public static Task InvokeAsync(HealthArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("talos:cluster/health:Health", args ?? new HealthArgs(), options.WithDefaults()); + public static Task InvokeAsync(GetHealthArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("talos:cluster/getHealth:getHealth", args ?? new GetHealthArgs(), options.WithDefaults()); /// /// Checks the health of a Talos cluster /// - public static Output Invoke(HealthInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("talos:cluster/health:Health", args ?? new HealthInvokeArgs(), options.WithDefaults()); + public static Output Invoke(GetHealthInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("talos:cluster/getHealth:getHealth", args ?? new GetHealthInvokeArgs(), options.WithDefaults()); } - public sealed class HealthArgs : global::Pulumi.InvokeArgs + public sealed class GetHealthArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Inputs.HealthClientConfigurationArgs ClientConfiguration { get; set; } = null!; + public Inputs.GetHealthClientConfigurationArgs ClientConfiguration { get; set; } = null!; [Input("controlPlaneNodes", required: true)] private List? _controlPlaneNodes; @@ -59,7 +59,7 @@ public List Endpoints } [Input("timeouts")] - public Inputs.HealthTimeoutsArgs? Timeouts { get; set; } + public Inputs.GetHealthTimeoutsArgs? Timeouts { get; set; } [Input("workerNodes")] private List? _workerNodes; @@ -73,19 +73,19 @@ public List WorkerNodes set => _workerNodes = value; } - public HealthArgs() + public GetHealthArgs() { } - public static new HealthArgs Empty => new HealthArgs(); + public static new GetHealthArgs Empty => new GetHealthArgs(); } - public sealed class HealthInvokeArgs : global::Pulumi.InvokeArgs + public sealed class GetHealthInvokeArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Input ClientConfiguration { get; set; } = null!; + public Input ClientConfiguration { get; set; } = null!; [Input("controlPlaneNodes", required: true)] private InputList? _controlPlaneNodes; @@ -112,7 +112,7 @@ public InputList Endpoints } [Input("timeouts")] - public Input? Timeouts { get; set; } + public Input? Timeouts { get; set; } [Input("workerNodes")] private InputList? _workerNodes; @@ -126,20 +126,20 @@ public InputList WorkerNodes set => _workerNodes = value; } - public HealthInvokeArgs() + public GetHealthInvokeArgs() { } - public static new HealthInvokeArgs Empty => new HealthInvokeArgs(); + public static new GetHealthInvokeArgs Empty => new GetHealthInvokeArgs(); } [OutputType] - public sealed class HealthResult + public sealed class GetHealthResult { /// /// The client configuration data /// - public readonly Outputs.HealthClientConfigurationResult ClientConfiguration; + public readonly Outputs.GetHealthClientConfigurationResult ClientConfiguration; /// /// List of control plane nodes to check for health. /// @@ -152,15 +152,15 @@ public sealed class HealthResult /// The ID of this resource. /// public readonly string Id; - public readonly Outputs.HealthTimeoutsResult? Timeouts; + public readonly Outputs.GetHealthTimeoutsResult? Timeouts; /// /// List of worker nodes to check for health. /// public readonly ImmutableArray WorkerNodes; [OutputConstructor] - private HealthResult( - Outputs.HealthClientConfigurationResult clientConfiguration, + private GetHealthResult( + Outputs.GetHealthClientConfigurationResult clientConfiguration, ImmutableArray controlPlaneNodes, @@ -168,7 +168,7 @@ private HealthResult( string id, - Outputs.HealthTimeoutsResult? timeouts, + Outputs.GetHealthTimeoutsResult? timeouts, ImmutableArray workerNodes) { diff --git a/sdk/dotnet/Cluster/Kubeconfig.cs b/sdk/dotnet/Cluster/GetKubeconfig.cs similarity index 64% rename from sdk/dotnet/Cluster/Kubeconfig.cs rename to sdk/dotnet/Cluster/GetKubeconfig.cs index a8fe714..6c3870a 100644 --- a/sdk/dotnet/Cluster/Kubeconfig.cs +++ b/sdk/dotnet/Cluster/GetKubeconfig.cs @@ -10,29 +10,29 @@ namespace Pulumiverse.Talos.Cluster { - public static class Kubeconfig + public static class GetKubeconfig { /// /// Retrieves the kubeconfig for a Talos cluster /// - public static Task InvokeAsync(KubeconfigArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("talos:cluster/kubeconfig:Kubeconfig", args ?? new KubeconfigArgs(), options.WithDefaults()); + public static Task InvokeAsync(GetKubeconfigArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("talos:cluster/getKubeconfig:getKubeconfig", args ?? new GetKubeconfigArgs(), options.WithDefaults()); /// /// Retrieves the kubeconfig for a Talos cluster /// - public static Output Invoke(KubeconfigInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("talos:cluster/kubeconfig:Kubeconfig", args ?? new KubeconfigInvokeArgs(), options.WithDefaults()); + public static Output Invoke(GetKubeconfigInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("talos:cluster/getKubeconfig:getKubeconfig", args ?? new GetKubeconfigInvokeArgs(), options.WithDefaults()); } - public sealed class KubeconfigArgs : global::Pulumi.InvokeArgs + public sealed class GetKubeconfigArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Inputs.KubeconfigClientConfigurationArgs ClientConfiguration { get; set; } = null!; + public Inputs.GetKubeconfigClientConfigurationArgs ClientConfiguration { get; set; } = null!; /// /// endpoint to use for the talosclient. If not set, the node value will be used @@ -47,7 +47,7 @@ public sealed class KubeconfigArgs : global::Pulumi.InvokeArgs public string Node { get; set; } = null!; [Input("timeouts")] - public Inputs.KubeconfigTimeoutsArgs? Timeouts { get; set; } + public Inputs.GetKubeconfigTimeoutsArgs? Timeouts { get; set; } /// /// Wait for the kubernetes api to be available @@ -55,19 +55,19 @@ public sealed class KubeconfigArgs : global::Pulumi.InvokeArgs [Input("wait")] public bool? Wait { get; set; } - public KubeconfigArgs() + public GetKubeconfigArgs() { } - public static new KubeconfigArgs Empty => new KubeconfigArgs(); + public static new GetKubeconfigArgs Empty => new GetKubeconfigArgs(); } - public sealed class KubeconfigInvokeArgs : global::Pulumi.InvokeArgs + public sealed class GetKubeconfigInvokeArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Input ClientConfiguration { get; set; } = null!; + public Input ClientConfiguration { get; set; } = null!; /// /// endpoint to use for the talosclient. If not set, the node value will be used @@ -82,7 +82,7 @@ public sealed class KubeconfigInvokeArgs : global::Pulumi.InvokeArgs public Input Node { get; set; } = null!; [Input("timeouts")] - public Input? Timeouts { get; set; } + public Input? Timeouts { get; set; } /// /// Wait for the kubernetes api to be available @@ -90,20 +90,20 @@ public sealed class KubeconfigInvokeArgs : global::Pulumi.InvokeArgs [Input("wait")] public Input? Wait { get; set; } - public KubeconfigInvokeArgs() + public GetKubeconfigInvokeArgs() { } - public static new KubeconfigInvokeArgs Empty => new KubeconfigInvokeArgs(); + public static new GetKubeconfigInvokeArgs Empty => new GetKubeconfigInvokeArgs(); } [OutputType] - public sealed class KubeconfigResult + public sealed class GetKubeconfigResult { /// /// The client configuration data /// - public readonly Outputs.KubeconfigClientConfigurationResult ClientConfiguration; + public readonly Outputs.GetKubeconfigClientConfigurationResult ClientConfiguration; /// /// endpoint to use for the talosclient. If not set, the node value will be used /// @@ -119,20 +119,20 @@ public sealed class KubeconfigResult /// /// The kubernetes client configuration /// - public readonly Outputs.KubeconfigKubernetesClientConfigurationResult KubernetesClientConfiguration; + public readonly Outputs.GetKubeconfigKubernetesClientConfigurationResult KubernetesClientConfiguration; /// /// controlplane node to retrieve the kubeconfig from /// public readonly string Node; - public readonly Outputs.KubeconfigTimeoutsResult? Timeouts; + public readonly Outputs.GetKubeconfigTimeoutsResult? Timeouts; /// /// Wait for the kubernetes api to be available /// public readonly bool? Wait; [OutputConstructor] - private KubeconfigResult( - Outputs.KubeconfigClientConfigurationResult clientConfiguration, + private GetKubeconfigResult( + Outputs.GetKubeconfigClientConfigurationResult clientConfiguration, string endpoint, @@ -140,11 +140,11 @@ private KubeconfigResult( string kubeconfigRaw, - Outputs.KubeconfigKubernetesClientConfigurationResult kubernetesClientConfiguration, + Outputs.GetKubeconfigKubernetesClientConfigurationResult kubernetesClientConfiguration, string node, - Outputs.KubeconfigTimeoutsResult? timeouts, + Outputs.GetKubeconfigTimeoutsResult? timeouts, bool? wait) { diff --git a/sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs b/sdk/dotnet/Cluster/Inputs/GetHealthClientConfiguration.cs similarity index 81% rename from sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs rename to sdk/dotnet/Cluster/Inputs/GetHealthClientConfiguration.cs index 5f957e0..8a991e8 100644 --- a/sdk/dotnet/Cluster/Inputs/HealthClientConfiguration.cs +++ b/sdk/dotnet/Cluster/Inputs/GetHealthClientConfiguration.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class HealthClientConfigurationArgs : global::Pulumi.InvokeArgs + public sealed class GetHealthClientConfigurationArgs : global::Pulumi.InvokeArgs { /// /// The client CA certificate @@ -37,9 +37,9 @@ public string? ClientKey set => _clientKey = value; } - public HealthClientConfigurationArgs() + public GetHealthClientConfigurationArgs() { } - public static new HealthClientConfigurationArgs Empty => new HealthClientConfigurationArgs(); + public static new GetHealthClientConfigurationArgs Empty => new GetHealthClientConfigurationArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs b/sdk/dotnet/Cluster/Inputs/GetHealthClientConfigurationArgs.cs similarity index 82% rename from sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs rename to sdk/dotnet/Cluster/Inputs/GetHealthClientConfigurationArgs.cs index c8660e1..9ca9318 100644 --- a/sdk/dotnet/Cluster/Inputs/HealthClientConfigurationArgs.cs +++ b/sdk/dotnet/Cluster/Inputs/GetHealthClientConfigurationArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class HealthClientConfigurationInputArgs : global::Pulumi.ResourceArgs + public sealed class GetHealthClientConfigurationInputArgs : global::Pulumi.ResourceArgs { /// /// The client CA certificate @@ -41,9 +41,9 @@ public Input? ClientKey } } - public HealthClientConfigurationInputArgs() + public GetHealthClientConfigurationInputArgs() { } - public static new HealthClientConfigurationInputArgs Empty => new HealthClientConfigurationInputArgs(); + public static new GetHealthClientConfigurationInputArgs Empty => new GetHealthClientConfigurationInputArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs b/sdk/dotnet/Cluster/Inputs/GetHealthTimeouts.cs similarity index 80% rename from sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs rename to sdk/dotnet/Cluster/Inputs/GetHealthTimeouts.cs index 6b6f445..3de9409 100644 --- a/sdk/dotnet/Cluster/Inputs/HealthTimeouts.cs +++ b/sdk/dotnet/Cluster/Inputs/GetHealthTimeouts.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class HealthTimeoutsArgs : global::Pulumi.InvokeArgs + public sealed class GetHealthTimeoutsArgs : global::Pulumi.InvokeArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class HealthTimeoutsArgs : global::Pulumi.InvokeArgs [Input("read")] public string? Read { get; set; } - public HealthTimeoutsArgs() + public GetHealthTimeoutsArgs() { } - public static new HealthTimeoutsArgs Empty => new HealthTimeoutsArgs(); + public static new GetHealthTimeoutsArgs Empty => new GetHealthTimeoutsArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs b/sdk/dotnet/Cluster/Inputs/GetHealthTimeoutsArgs.cs similarity index 79% rename from sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs rename to sdk/dotnet/Cluster/Inputs/GetHealthTimeoutsArgs.cs index 7e5bc6b..c3a66ee 100644 --- a/sdk/dotnet/Cluster/Inputs/HealthTimeoutsArgs.cs +++ b/sdk/dotnet/Cluster/Inputs/GetHealthTimeoutsArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class HealthTimeoutsInputArgs : global::Pulumi.ResourceArgs + public sealed class GetHealthTimeoutsInputArgs : global::Pulumi.ResourceArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class HealthTimeoutsInputArgs : global::Pulumi.ResourceArgs [Input("read")] public Input? Read { get; set; } - public HealthTimeoutsInputArgs() + public GetHealthTimeoutsInputArgs() { } - public static new HealthTimeoutsInputArgs Empty => new HealthTimeoutsInputArgs(); + public static new GetHealthTimeoutsInputArgs Empty => new GetHealthTimeoutsInputArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/KubeconfigClientConfiguration.cs b/sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfiguration.cs similarity index 80% rename from sdk/dotnet/Cluster/Inputs/KubeconfigClientConfiguration.cs rename to sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfiguration.cs index 45de726..9cce197 100644 --- a/sdk/dotnet/Cluster/Inputs/KubeconfigClientConfiguration.cs +++ b/sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfiguration.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class KubeconfigClientConfigurationArgs : global::Pulumi.InvokeArgs + public sealed class GetKubeconfigClientConfigurationArgs : global::Pulumi.InvokeArgs { /// /// The client CA certificate @@ -37,9 +37,9 @@ public string? ClientKey set => _clientKey = value; } - public KubeconfigClientConfigurationArgs() + public GetKubeconfigClientConfigurationArgs() { } - public static new KubeconfigClientConfigurationArgs Empty => new KubeconfigClientConfigurationArgs(); + public static new GetKubeconfigClientConfigurationArgs Empty => new GetKubeconfigClientConfigurationArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/KubeconfigClientConfigurationArgs.cs b/sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfigurationArgs.cs similarity index 81% rename from sdk/dotnet/Cluster/Inputs/KubeconfigClientConfigurationArgs.cs rename to sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfigurationArgs.cs index 44139d7..44d177f 100644 --- a/sdk/dotnet/Cluster/Inputs/KubeconfigClientConfigurationArgs.cs +++ b/sdk/dotnet/Cluster/Inputs/GetKubeconfigClientConfigurationArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class KubeconfigClientConfigurationInputArgs : global::Pulumi.ResourceArgs + public sealed class GetKubeconfigClientConfigurationInputArgs : global::Pulumi.ResourceArgs { /// /// The client CA certificate @@ -41,9 +41,9 @@ public Input? ClientKey } } - public KubeconfigClientConfigurationInputArgs() + public GetKubeconfigClientConfigurationInputArgs() { } - public static new KubeconfigClientConfigurationInputArgs Empty => new KubeconfigClientConfigurationInputArgs(); + public static new GetKubeconfigClientConfigurationInputArgs Empty => new GetKubeconfigClientConfigurationInputArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/KubeconfigTimeouts.cs b/sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeouts.cs similarity index 79% rename from sdk/dotnet/Cluster/Inputs/KubeconfigTimeouts.cs rename to sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeouts.cs index f9e77f2..77c78b1 100644 --- a/sdk/dotnet/Cluster/Inputs/KubeconfigTimeouts.cs +++ b/sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeouts.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class KubeconfigTimeoutsArgs : global::Pulumi.InvokeArgs + public sealed class GetKubeconfigTimeoutsArgs : global::Pulumi.InvokeArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class KubeconfigTimeoutsArgs : global::Pulumi.InvokeArgs [Input("read")] public string? Read { get; set; } - public KubeconfigTimeoutsArgs() + public GetKubeconfigTimeoutsArgs() { } - public static new KubeconfigTimeoutsArgs Empty => new KubeconfigTimeoutsArgs(); + public static new GetKubeconfigTimeoutsArgs Empty => new GetKubeconfigTimeoutsArgs(); } } diff --git a/sdk/dotnet/Cluster/Inputs/KubeconfigTimeoutsArgs.cs b/sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeoutsArgs.cs similarity index 78% rename from sdk/dotnet/Cluster/Inputs/KubeconfigTimeoutsArgs.cs rename to sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeoutsArgs.cs index eaad34e..9c58baa 100644 --- a/sdk/dotnet/Cluster/Inputs/KubeconfigTimeoutsArgs.cs +++ b/sdk/dotnet/Cluster/Inputs/GetKubeconfigTimeoutsArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Cluster.Inputs { - public sealed class KubeconfigTimeoutsInputArgs : global::Pulumi.ResourceArgs + public sealed class GetKubeconfigTimeoutsInputArgs : global::Pulumi.ResourceArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class KubeconfigTimeoutsInputArgs : global::Pulumi.ResourceArgs [Input("read")] public Input? Read { get; set; } - public KubeconfigTimeoutsInputArgs() + public GetKubeconfigTimeoutsInputArgs() { } - public static new KubeconfigTimeoutsInputArgs Empty => new KubeconfigTimeoutsInputArgs(); + public static new GetKubeconfigTimeoutsInputArgs Empty => new GetKubeconfigTimeoutsInputArgs(); } } diff --git a/sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs b/sdk/dotnet/Cluster/Outputs/GetHealthClientConfigurationResult.cs similarity index 90% rename from sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs rename to sdk/dotnet/Cluster/Outputs/GetHealthClientConfigurationResult.cs index f82a820..10b7365 100644 --- a/sdk/dotnet/Cluster/Outputs/HealthClientConfigurationResult.cs +++ b/sdk/dotnet/Cluster/Outputs/GetHealthClientConfigurationResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Cluster.Outputs { [OutputType] - public sealed class HealthClientConfigurationResult + public sealed class GetHealthClientConfigurationResult { /// /// The client CA certificate @@ -28,7 +28,7 @@ public sealed class HealthClientConfigurationResult public readonly string ClientKey; [OutputConstructor] - private HealthClientConfigurationResult( + private GetHealthClientConfigurationResult( string caCertificate, string clientCertificate, diff --git a/sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs b/sdk/dotnet/Cluster/Outputs/GetHealthTimeoutsResult.cs similarity index 89% rename from sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs rename to sdk/dotnet/Cluster/Outputs/GetHealthTimeoutsResult.cs index b06921d..52ddb8b 100644 --- a/sdk/dotnet/Cluster/Outputs/HealthTimeoutsResult.cs +++ b/sdk/dotnet/Cluster/Outputs/GetHealthTimeoutsResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Cluster.Outputs { [OutputType] - public sealed class HealthTimeoutsResult + public sealed class GetHealthTimeoutsResult { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -20,7 +20,7 @@ public sealed class HealthTimeoutsResult public readonly string? Read; [OutputConstructor] - private HealthTimeoutsResult(string? read) + private GetHealthTimeoutsResult(string? read) { Read = read; } diff --git a/sdk/dotnet/Cluster/Outputs/KubeconfigClientConfigurationResult.cs b/sdk/dotnet/Cluster/Outputs/GetKubeconfigClientConfigurationResult.cs similarity index 89% rename from sdk/dotnet/Cluster/Outputs/KubeconfigClientConfigurationResult.cs rename to sdk/dotnet/Cluster/Outputs/GetKubeconfigClientConfigurationResult.cs index 63fcaee..494bc4e 100644 --- a/sdk/dotnet/Cluster/Outputs/KubeconfigClientConfigurationResult.cs +++ b/sdk/dotnet/Cluster/Outputs/GetKubeconfigClientConfigurationResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Cluster.Outputs { [OutputType] - public sealed class KubeconfigClientConfigurationResult + public sealed class GetKubeconfigClientConfigurationResult { /// /// The client CA certificate @@ -28,7 +28,7 @@ public sealed class KubeconfigClientConfigurationResult public readonly string ClientKey; [OutputConstructor] - private KubeconfigClientConfigurationResult( + private GetKubeconfigClientConfigurationResult( string caCertificate, string clientCertificate, diff --git a/sdk/dotnet/Cluster/Outputs/KubeconfigKubernetesClientConfigurationResult.cs b/sdk/dotnet/Cluster/Outputs/GetKubeconfigKubernetesClientConfigurationResult.cs similarity index 90% rename from sdk/dotnet/Cluster/Outputs/KubeconfigKubernetesClientConfigurationResult.cs rename to sdk/dotnet/Cluster/Outputs/GetKubeconfigKubernetesClientConfigurationResult.cs index da29b41..c489925 100644 --- a/sdk/dotnet/Cluster/Outputs/KubeconfigKubernetesClientConfigurationResult.cs +++ b/sdk/dotnet/Cluster/Outputs/GetKubeconfigKubernetesClientConfigurationResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Cluster.Outputs { [OutputType] - public sealed class KubeconfigKubernetesClientConfigurationResult + public sealed class GetKubeconfigKubernetesClientConfigurationResult { /// /// The kubernetes CA certificate @@ -32,7 +32,7 @@ public sealed class KubeconfigKubernetesClientConfigurationResult public readonly string Host; [OutputConstructor] - private KubeconfigKubernetesClientConfigurationResult( + private GetKubeconfigKubernetesClientConfigurationResult( string caCertificate, string clientCertificate, diff --git a/sdk/dotnet/Cluster/Outputs/KubeconfigTimeoutsResult.cs b/sdk/dotnet/Cluster/Outputs/GetKubeconfigTimeoutsResult.cs similarity index 88% rename from sdk/dotnet/Cluster/Outputs/KubeconfigTimeoutsResult.cs rename to sdk/dotnet/Cluster/Outputs/GetKubeconfigTimeoutsResult.cs index c24f4a2..19287a0 100644 --- a/sdk/dotnet/Cluster/Outputs/KubeconfigTimeoutsResult.cs +++ b/sdk/dotnet/Cluster/Outputs/GetKubeconfigTimeoutsResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Cluster.Outputs { [OutputType] - public sealed class KubeconfigTimeoutsResult + public sealed class GetKubeconfigTimeoutsResult { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -20,7 +20,7 @@ public sealed class KubeconfigTimeoutsResult public readonly string? Read; [OutputConstructor] - private KubeconfigTimeoutsResult(string? read) + private GetKubeconfigTimeoutsResult(string? read) { Read = read; } diff --git a/sdk/dotnet/Machine/Disks.cs b/sdk/dotnet/Machine/GetDisks.cs similarity index 63% rename from sdk/dotnet/Machine/Disks.cs rename to sdk/dotnet/Machine/GetDisks.cs index 4f411fc..fcf12fa 100644 --- a/sdk/dotnet/Machine/Disks.cs +++ b/sdk/dotnet/Machine/GetDisks.cs @@ -10,12 +10,12 @@ namespace Pulumiverse.Talos.Machine { - public static class Disks + public static class GetDisks { /// /// Generate a machine configuration for a node type /// - /// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + /// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. /// /// {{% examples %}} /// ## Example Usage @@ -32,11 +32,11 @@ public static class Disks /// { /// var thisSecrets = new Talos.Machine.Secrets("thisSecrets"); /// - /// var thisDisks = Talos.Machine.Disks.Invoke(new() + /// var thisDisks = Talos.Machine.GetDisks.Invoke(new() /// { /// ClientConfiguration = thisSecrets.ClientConfiguration, /// Node = "10.5.0.2", - /// Filters = new Talos.Machine.Inputs.DisksFiltersInputArgs + /// Filters = new Talos.Machine.Inputs.GetDisksFiltersInputArgs /// { /// Size = "> 100GB", /// Type = "nvme", @@ -45,20 +45,20 @@ public static class Disks /// /// return new Dictionary<string, object?> /// { - /// ["nvmeDisks"] = thisDisks.Apply(disksResult => disksResult.Disks).Select(__item => __item.Name).ToList(), + /// ["nvmeDisks"] = thisDisks.Apply(getDisksResult => getDisksResult.Disks).Select(__item => __item.Name).ToList(), /// }; /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// - public static Task InvokeAsync(DisksArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("talos:machine/disks:Disks", args ?? new DisksArgs(), options.WithDefaults()); + public static Task InvokeAsync(GetDisksArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("talos:machine/getDisks:getDisks", args ?? new GetDisksArgs(), options.WithDefaults()); /// /// Generate a machine configuration for a node type /// - /// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + /// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. /// /// {{% examples %}} /// ## Example Usage @@ -75,11 +75,11 @@ public static Task InvokeAsync(DisksArgs args, InvokeOptions? optio /// { /// var thisSecrets = new Talos.Machine.Secrets("thisSecrets"); /// - /// var thisDisks = Talos.Machine.Disks.Invoke(new() + /// var thisDisks = Talos.Machine.GetDisks.Invoke(new() /// { /// ClientConfiguration = thisSecrets.ClientConfiguration, /// Node = "10.5.0.2", - /// Filters = new Talos.Machine.Inputs.DisksFiltersInputArgs + /// Filters = new Talos.Machine.Inputs.GetDisksFiltersInputArgs /// { /// Size = "> 100GB", /// Type = "nvme", @@ -88,25 +88,25 @@ public static Task InvokeAsync(DisksArgs args, InvokeOptions? optio /// /// return new Dictionary<string, object?> /// { - /// ["nvmeDisks"] = thisDisks.Apply(disksResult => disksResult.Disks).Select(__item => __item.Name).ToList(), + /// ["nvmeDisks"] = thisDisks.Apply(getDisksResult => getDisksResult.Disks).Select(__item => __item.Name).ToList(), /// }; /// }); /// ``` /// {{% /example %}} /// {{% /examples %}} /// - public static Output Invoke(DisksInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("talos:machine/disks:Disks", args ?? new DisksInvokeArgs(), options.WithDefaults()); + public static Output Invoke(GetDisksInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("talos:machine/getDisks:getDisks", args ?? new GetDisksInvokeArgs(), options.WithDefaults()); } - public sealed class DisksArgs : global::Pulumi.InvokeArgs + public sealed class GetDisksArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Inputs.DisksClientConfigurationArgs ClientConfiguration { get; set; } = null!; + public Inputs.GetDisksClientConfigurationArgs ClientConfiguration { get; set; } = null!; /// /// endpoint to use for the talosclient. If not set, the node value will be used @@ -118,7 +118,7 @@ public sealed class DisksArgs : global::Pulumi.InvokeArgs /// Filters to apply to the disks /// [Input("filters")] - public Inputs.DisksFiltersArgs? Filters { get; set; } + public Inputs.GetDisksFiltersArgs? Filters { get; set; } /// /// controlplane node to retrieve the kubeconfig from @@ -127,21 +127,21 @@ public sealed class DisksArgs : global::Pulumi.InvokeArgs public string Node { get; set; } = null!; [Input("timeouts")] - public Inputs.DisksTimeoutsArgs? Timeouts { get; set; } + public Inputs.GetDisksTimeoutsArgs? Timeouts { get; set; } - public DisksArgs() + public GetDisksArgs() { } - public static new DisksArgs Empty => new DisksArgs(); + public static new GetDisksArgs Empty => new GetDisksArgs(); } - public sealed class DisksInvokeArgs : global::Pulumi.InvokeArgs + public sealed class GetDisksInvokeArgs : global::Pulumi.InvokeArgs { /// /// The client configuration data /// [Input("clientConfiguration", required: true)] - public Input ClientConfiguration { get; set; } = null!; + public Input ClientConfiguration { get; set; } = null!; /// /// endpoint to use for the talosclient. If not set, the node value will be used @@ -153,7 +153,7 @@ public sealed class DisksInvokeArgs : global::Pulumi.InvokeArgs /// Filters to apply to the disks /// [Input("filters")] - public Input? Filters { get; set; } + public Input? Filters { get; set; } /// /// controlplane node to retrieve the kubeconfig from @@ -162,26 +162,26 @@ public sealed class DisksInvokeArgs : global::Pulumi.InvokeArgs public Input Node { get; set; } = null!; [Input("timeouts")] - public Input? Timeouts { get; set; } + public Input? Timeouts { get; set; } - public DisksInvokeArgs() + public GetDisksInvokeArgs() { } - public static new DisksInvokeArgs Empty => new DisksInvokeArgs(); + public static new GetDisksInvokeArgs Empty => new GetDisksInvokeArgs(); } [OutputType] - public sealed class DisksResult + public sealed class GetDisksResult { /// /// The client configuration data /// - public readonly Outputs.DisksClientConfigurationResult ClientConfiguration; + public readonly Outputs.GetDisksClientConfigurationResult ClientConfiguration; /// /// The disks that match the filters /// - public readonly ImmutableArray Disks; + public readonly ImmutableArray Disks; /// /// endpoint to use for the talosclient. If not set, the node value will be used /// @@ -189,7 +189,7 @@ public sealed class DisksResult /// /// Filters to apply to the disks /// - public readonly Outputs.DisksFiltersResult? Filters; + public readonly Outputs.GetDisksFiltersResult? Filters; /// /// The generated ID of this resource /// @@ -198,23 +198,23 @@ public sealed class DisksResult /// controlplane node to retrieve the kubeconfig from /// public readonly string Node; - public readonly Outputs.DisksTimeoutsResult? Timeouts; + public readonly Outputs.GetDisksTimeoutsResult? Timeouts; [OutputConstructor] - private DisksResult( - Outputs.DisksClientConfigurationResult clientConfiguration, + private GetDisksResult( + Outputs.GetDisksClientConfigurationResult clientConfiguration, - ImmutableArray disks, + ImmutableArray disks, string endpoint, - Outputs.DisksFiltersResult? filters, + Outputs.GetDisksFiltersResult? filters, string id, string node, - Outputs.DisksTimeoutsResult? timeouts) + Outputs.GetDisksTimeoutsResult? timeouts) { ClientConfiguration = clientConfiguration; Disks = disks; diff --git a/sdk/dotnet/Machine/Inputs/DisksClientConfiguration.cs b/sdk/dotnet/Machine/Inputs/GetDisksClientConfiguration.cs similarity index 81% rename from sdk/dotnet/Machine/Inputs/DisksClientConfiguration.cs rename to sdk/dotnet/Machine/Inputs/GetDisksClientConfiguration.cs index 9bd73d7..a2fb28d 100644 --- a/sdk/dotnet/Machine/Inputs/DisksClientConfiguration.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksClientConfiguration.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksClientConfigurationArgs : global::Pulumi.InvokeArgs + public sealed class GetDisksClientConfigurationArgs : global::Pulumi.InvokeArgs { /// /// The client CA certificate @@ -37,9 +37,9 @@ public string? ClientKey set => _clientKey = value; } - public DisksClientConfigurationArgs() + public GetDisksClientConfigurationArgs() { } - public static new DisksClientConfigurationArgs Empty => new DisksClientConfigurationArgs(); + public static new GetDisksClientConfigurationArgs Empty => new GetDisksClientConfigurationArgs(); } } diff --git a/sdk/dotnet/Machine/Inputs/DisksClientConfigurationArgs.cs b/sdk/dotnet/Machine/Inputs/GetDisksClientConfigurationArgs.cs similarity index 82% rename from sdk/dotnet/Machine/Inputs/DisksClientConfigurationArgs.cs rename to sdk/dotnet/Machine/Inputs/GetDisksClientConfigurationArgs.cs index 0375344..84dea05 100644 --- a/sdk/dotnet/Machine/Inputs/DisksClientConfigurationArgs.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksClientConfigurationArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksClientConfigurationInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDisksClientConfigurationInputArgs : global::Pulumi.ResourceArgs { /// /// The client CA certificate @@ -41,9 +41,9 @@ public Input? ClientKey } } - public DisksClientConfigurationInputArgs() + public GetDisksClientConfigurationInputArgs() { } - public static new DisksClientConfigurationInputArgs Empty => new DisksClientConfigurationInputArgs(); + public static new GetDisksClientConfigurationInputArgs Empty => new GetDisksClientConfigurationInputArgs(); } } diff --git a/sdk/dotnet/Machine/Inputs/DisksFilters.cs b/sdk/dotnet/Machine/Inputs/GetDisksFilters.cs similarity index 90% rename from sdk/dotnet/Machine/Inputs/DisksFilters.cs rename to sdk/dotnet/Machine/Inputs/GetDisksFilters.cs index 5f3a52b..e1f56e8 100644 --- a/sdk/dotnet/Machine/Inputs/DisksFilters.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksFilters.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksFiltersArgs : global::Pulumi.InvokeArgs + public sealed class GetDisksFiltersArgs : global::Pulumi.InvokeArgs { /// /// Filter disks by bus path @@ -67,9 +67,9 @@ public sealed class DisksFiltersArgs : global::Pulumi.InvokeArgs [Input("wwid")] public string? Wwid { get; set; } - public DisksFiltersArgs() + public GetDisksFiltersArgs() { } - public static new DisksFiltersArgs Empty => new DisksFiltersArgs(); + public static new GetDisksFiltersArgs Empty => new GetDisksFiltersArgs(); } } diff --git a/sdk/dotnet/Machine/Inputs/DisksFiltersArgs.cs b/sdk/dotnet/Machine/Inputs/GetDisksFiltersArgs.cs similarity index 89% rename from sdk/dotnet/Machine/Inputs/DisksFiltersArgs.cs rename to sdk/dotnet/Machine/Inputs/GetDisksFiltersArgs.cs index af1b6b9..34f667b 100644 --- a/sdk/dotnet/Machine/Inputs/DisksFiltersArgs.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksFiltersArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksFiltersInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDisksFiltersInputArgs : global::Pulumi.ResourceArgs { /// /// Filter disks by bus path @@ -67,9 +67,9 @@ public sealed class DisksFiltersInputArgs : global::Pulumi.ResourceArgs [Input("wwid")] public Input? Wwid { get; set; } - public DisksFiltersInputArgs() + public GetDisksFiltersInputArgs() { } - public static new DisksFiltersInputArgs Empty => new DisksFiltersInputArgs(); + public static new GetDisksFiltersInputArgs Empty => new GetDisksFiltersInputArgs(); } } diff --git a/sdk/dotnet/Machine/Inputs/DisksTimeouts.cs b/sdk/dotnet/Machine/Inputs/GetDisksTimeouts.cs similarity index 81% rename from sdk/dotnet/Machine/Inputs/DisksTimeouts.cs rename to sdk/dotnet/Machine/Inputs/GetDisksTimeouts.cs index 28741e8..ed4184e 100644 --- a/sdk/dotnet/Machine/Inputs/DisksTimeouts.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksTimeouts.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksTimeoutsArgs : global::Pulumi.InvokeArgs + public sealed class GetDisksTimeoutsArgs : global::Pulumi.InvokeArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class DisksTimeoutsArgs : global::Pulumi.InvokeArgs [Input("read")] public string? Read { get; set; } - public DisksTimeoutsArgs() + public GetDisksTimeoutsArgs() { } - public static new DisksTimeoutsArgs Empty => new DisksTimeoutsArgs(); + public static new GetDisksTimeoutsArgs Empty => new GetDisksTimeoutsArgs(); } } diff --git a/sdk/dotnet/Machine/Inputs/DisksTimeoutsArgs.cs b/sdk/dotnet/Machine/Inputs/GetDisksTimeoutsArgs.cs similarity index 79% rename from sdk/dotnet/Machine/Inputs/DisksTimeoutsArgs.cs rename to sdk/dotnet/Machine/Inputs/GetDisksTimeoutsArgs.cs index c588ebe..96d9c10 100644 --- a/sdk/dotnet/Machine/Inputs/DisksTimeoutsArgs.cs +++ b/sdk/dotnet/Machine/Inputs/GetDisksTimeoutsArgs.cs @@ -11,7 +11,7 @@ namespace Pulumiverse.Talos.Machine.Inputs { - public sealed class DisksTimeoutsInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDisksTimeoutsInputArgs : global::Pulumi.ResourceArgs { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -19,9 +19,9 @@ public sealed class DisksTimeoutsInputArgs : global::Pulumi.ResourceArgs [Input("read")] public Input? Read { get; set; } - public DisksTimeoutsInputArgs() + public GetDisksTimeoutsInputArgs() { } - public static new DisksTimeoutsInputArgs Empty => new DisksTimeoutsInputArgs(); + public static new GetDisksTimeoutsInputArgs Empty => new GetDisksTimeoutsInputArgs(); } } diff --git a/sdk/dotnet/Machine/Outputs/DisksClientConfigurationResult.cs b/sdk/dotnet/Machine/Outputs/GetDisksClientConfigurationResult.cs similarity index 90% rename from sdk/dotnet/Machine/Outputs/DisksClientConfigurationResult.cs rename to sdk/dotnet/Machine/Outputs/GetDisksClientConfigurationResult.cs index 3c1d8ff..a0a30d1 100644 --- a/sdk/dotnet/Machine/Outputs/DisksClientConfigurationResult.cs +++ b/sdk/dotnet/Machine/Outputs/GetDisksClientConfigurationResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Machine.Outputs { [OutputType] - public sealed class DisksClientConfigurationResult + public sealed class GetDisksClientConfigurationResult { /// /// The client CA certificate @@ -28,7 +28,7 @@ public sealed class DisksClientConfigurationResult public readonly string ClientKey; [OutputConstructor] - private DisksClientConfigurationResult( + private GetDisksClientConfigurationResult( string caCertificate, string clientCertificate, diff --git a/sdk/dotnet/Machine/Outputs/DisksDiskResult.cs b/sdk/dotnet/Machine/Outputs/GetDisksDiskResult.cs similarity index 96% rename from sdk/dotnet/Machine/Outputs/DisksDiskResult.cs rename to sdk/dotnet/Machine/Outputs/GetDisksDiskResult.cs index 5c2b0f8..379ccd8 100644 --- a/sdk/dotnet/Machine/Outputs/DisksDiskResult.cs +++ b/sdk/dotnet/Machine/Outputs/GetDisksDiskResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Machine.Outputs { [OutputType] - public sealed class DisksDiskResult + public sealed class GetDisksDiskResult { /// /// The bus path of the disk @@ -52,7 +52,7 @@ public sealed class DisksDiskResult public readonly string Wwid; [OutputConstructor] - private DisksDiskResult( + private GetDisksDiskResult( string busPath, string modalias, diff --git a/sdk/dotnet/Machine/Outputs/DisksFiltersResult.cs b/sdk/dotnet/Machine/Outputs/GetDisksFiltersResult.cs similarity index 95% rename from sdk/dotnet/Machine/Outputs/DisksFiltersResult.cs rename to sdk/dotnet/Machine/Outputs/GetDisksFiltersResult.cs index 6c6e15c..ddd9627 100644 --- a/sdk/dotnet/Machine/Outputs/DisksFiltersResult.cs +++ b/sdk/dotnet/Machine/Outputs/GetDisksFiltersResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Machine.Outputs { [OutputType] - public sealed class DisksFiltersResult + public sealed class GetDisksFiltersResult { /// /// Filter disks by bus path @@ -52,7 +52,7 @@ public sealed class DisksFiltersResult public readonly string? Wwid; [OutputConstructor] - private DisksFiltersResult( + private GetDisksFiltersResult( string? busPath, string? modalias, diff --git a/sdk/dotnet/Machine/Outputs/DisksTimeoutsResult.cs b/sdk/dotnet/Machine/Outputs/GetDisksTimeoutsResult.cs similarity index 89% rename from sdk/dotnet/Machine/Outputs/DisksTimeoutsResult.cs rename to sdk/dotnet/Machine/Outputs/GetDisksTimeoutsResult.cs index d0d2991..cbd8f40 100644 --- a/sdk/dotnet/Machine/Outputs/DisksTimeoutsResult.cs +++ b/sdk/dotnet/Machine/Outputs/GetDisksTimeoutsResult.cs @@ -12,7 +12,7 @@ namespace Pulumiverse.Talos.Machine.Outputs { [OutputType] - public sealed class DisksTimeoutsResult + public sealed class GetDisksTimeoutsResult { /// /// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. @@ -20,7 +20,7 @@ public sealed class DisksTimeoutsResult public readonly string? Read; [OutputConstructor] - private DisksTimeoutsResult(string? read) + private GetDisksTimeoutsResult(string? read) { Read = read; } diff --git a/sdk/go/talos/client/configuration.go b/sdk/go/talos/client/configuration.go deleted file mode 100644 index 8e115a7..0000000 --- a/sdk/go/talos/client/configuration.go +++ /dev/null @@ -1,161 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package client - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" -) - -// Generate client configuration for a Talos cluster -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/client" -// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// thisSecrets, err := machine.NewSecrets(ctx, "thisSecrets", nil) -// if err != nil { -// return err -// } -// _ = client.ConfigurationOutput(ctx, client.ConfigurationOutputArgs{ -// ClusterName: pulumi.String("example-cluster"), -// ClientConfiguration: thisSecrets.ClientConfiguration, -// Nodes: pulumi.StringArray{ -// pulumi.String("10.5.0.2"), -// }, -// }, nil) -// return nil -// }) -// } -// -// ``` -func Configuration(ctx *pulumi.Context, args *ConfigurationArgs, opts ...pulumi.InvokeOption) (*ConfigurationResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv ConfigurationResult - err := ctx.Invoke("talos:client/configuration:Configuration", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking Configuration. -type ConfigurationArgs struct { - // The client configuration data - ClientConfiguration ConfigurationClientConfiguration `pulumi:"clientConfiguration"` - // The name of the cluster in the generated config - ClusterName string `pulumi:"clusterName"` - // endpoints to set in the generated config - Endpoints []string `pulumi:"endpoints"` - // nodes to set in the generated config - Nodes []string `pulumi:"nodes"` -} - -// A collection of values returned by Configuration. -type ConfigurationResult struct { - // The client configuration data - ClientConfiguration ConfigurationClientConfiguration `pulumi:"clientConfiguration"` - // The name of the cluster in the generated config - ClusterName string `pulumi:"clusterName"` - // endpoints to set in the generated config - Endpoints []string `pulumi:"endpoints"` - // The ID of this resource - Id string `pulumi:"id"` - // nodes to set in the generated config - Nodes []string `pulumi:"nodes"` - // The generated client configuration - TalosConfig string `pulumi:"talosConfig"` -} - -func ConfigurationOutput(ctx *pulumi.Context, args ConfigurationOutputArgs, opts ...pulumi.InvokeOption) ConfigurationResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (ConfigurationResult, error) { - args := v.(ConfigurationArgs) - r, err := Configuration(ctx, &args, opts...) - var s ConfigurationResult - if r != nil { - s = *r - } - return s, err - }).(ConfigurationResultOutput) -} - -// A collection of arguments for invoking Configuration. -type ConfigurationOutputArgs struct { - // The client configuration data - ClientConfiguration ConfigurationClientConfigurationInput `pulumi:"clientConfiguration"` - // The name of the cluster in the generated config - ClusterName pulumi.StringInput `pulumi:"clusterName"` - // endpoints to set in the generated config - Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` - // nodes to set in the generated config - Nodes pulumi.StringArrayInput `pulumi:"nodes"` -} - -func (ConfigurationOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationArgs)(nil)).Elem() -} - -// A collection of values returned by Configuration. -type ConfigurationResultOutput struct{ *pulumi.OutputState } - -func (ConfigurationResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationResult)(nil)).Elem() -} - -func (o ConfigurationResultOutput) ToConfigurationResultOutput() ConfigurationResultOutput { - return o -} - -func (o ConfigurationResultOutput) ToConfigurationResultOutputWithContext(ctx context.Context) ConfigurationResultOutput { - return o -} - -// The client configuration data -func (o ConfigurationResultOutput) ClientConfiguration() ConfigurationClientConfigurationOutput { - return o.ApplyT(func(v ConfigurationResult) ConfigurationClientConfiguration { return v.ClientConfiguration }).(ConfigurationClientConfigurationOutput) -} - -// The name of the cluster in the generated config -func (o ConfigurationResultOutput) ClusterName() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationResult) string { return v.ClusterName }).(pulumi.StringOutput) -} - -// endpoints to set in the generated config -func (o ConfigurationResultOutput) Endpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationResult) []string { return v.Endpoints }).(pulumi.StringArrayOutput) -} - -// The ID of this resource -func (o ConfigurationResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationResult) string { return v.Id }).(pulumi.StringOutput) -} - -// nodes to set in the generated config -func (o ConfigurationResultOutput) Nodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v ConfigurationResult) []string { return v.Nodes }).(pulumi.StringArrayOutput) -} - -// The generated client configuration -func (o ConfigurationResultOutput) TalosConfig() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationResult) string { return v.TalosConfig }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(ConfigurationResultOutput{}) -} diff --git a/sdk/go/talos/client/getConfiguration.go b/sdk/go/talos/client/getConfiguration.go new file mode 100644 index 0000000..a140fe3 --- /dev/null +++ b/sdk/go/talos/client/getConfiguration.go @@ -0,0 +1,161 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package client + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" +) + +// Generate client configuration for a Talos cluster +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/client" +// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// thisSecrets, err := machine.NewSecrets(ctx, "thisSecrets", nil) +// if err != nil { +// return err +// } +// _ = client.GetConfigurationOutput(ctx, client.GetConfigurationOutputArgs{ +// ClusterName: pulumi.String("example-cluster"), +// ClientConfiguration: thisSecrets.ClientConfiguration, +// Nodes: pulumi.StringArray{ +// pulumi.String("10.5.0.2"), +// }, +// }, nil) +// return nil +// }) +// } +// +// ``` +func GetConfiguration(ctx *pulumi.Context, args *GetConfigurationArgs, opts ...pulumi.InvokeOption) (*GetConfigurationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetConfigurationResult + err := ctx.Invoke("talos:client/getConfiguration:getConfiguration", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getConfiguration. +type GetConfigurationArgs struct { + // The client configuration data + ClientConfiguration GetConfigurationClientConfiguration `pulumi:"clientConfiguration"` + // The name of the cluster in the generated config + ClusterName string `pulumi:"clusterName"` + // endpoints to set in the generated config + Endpoints []string `pulumi:"endpoints"` + // nodes to set in the generated config + Nodes []string `pulumi:"nodes"` +} + +// A collection of values returned by getConfiguration. +type GetConfigurationResult struct { + // The client configuration data + ClientConfiguration GetConfigurationClientConfiguration `pulumi:"clientConfiguration"` + // The name of the cluster in the generated config + ClusterName string `pulumi:"clusterName"` + // endpoints to set in the generated config + Endpoints []string `pulumi:"endpoints"` + // The ID of this resource + Id string `pulumi:"id"` + // nodes to set in the generated config + Nodes []string `pulumi:"nodes"` + // The generated client configuration + TalosConfig string `pulumi:"talosConfig"` +} + +func GetConfigurationOutput(ctx *pulumi.Context, args GetConfigurationOutputArgs, opts ...pulumi.InvokeOption) GetConfigurationResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetConfigurationResult, error) { + args := v.(GetConfigurationArgs) + r, err := GetConfiguration(ctx, &args, opts...) + var s GetConfigurationResult + if r != nil { + s = *r + } + return s, err + }).(GetConfigurationResultOutput) +} + +// A collection of arguments for invoking getConfiguration. +type GetConfigurationOutputArgs struct { + // The client configuration data + ClientConfiguration GetConfigurationClientConfigurationInput `pulumi:"clientConfiguration"` + // The name of the cluster in the generated config + ClusterName pulumi.StringInput `pulumi:"clusterName"` + // endpoints to set in the generated config + Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` + // nodes to set in the generated config + Nodes pulumi.StringArrayInput `pulumi:"nodes"` +} + +func (GetConfigurationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationArgs)(nil)).Elem() +} + +// A collection of values returned by getConfiguration. +type GetConfigurationResultOutput struct{ *pulumi.OutputState } + +func (GetConfigurationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationResult)(nil)).Elem() +} + +func (o GetConfigurationResultOutput) ToGetConfigurationResultOutput() GetConfigurationResultOutput { + return o +} + +func (o GetConfigurationResultOutput) ToGetConfigurationResultOutputWithContext(ctx context.Context) GetConfigurationResultOutput { + return o +} + +// The client configuration data +func (o GetConfigurationResultOutput) ClientConfiguration() GetConfigurationClientConfigurationOutput { + return o.ApplyT(func(v GetConfigurationResult) GetConfigurationClientConfiguration { return v.ClientConfiguration }).(GetConfigurationClientConfigurationOutput) +} + +// The name of the cluster in the generated config +func (o GetConfigurationResultOutput) ClusterName() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationResult) string { return v.ClusterName }).(pulumi.StringOutput) +} + +// endpoints to set in the generated config +func (o GetConfigurationResultOutput) Endpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetConfigurationResult) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +} + +// The ID of this resource +func (o GetConfigurationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationResult) string { return v.Id }).(pulumi.StringOutput) +} + +// nodes to set in the generated config +func (o GetConfigurationResultOutput) Nodes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetConfigurationResult) []string { return v.Nodes }).(pulumi.StringArrayOutput) +} + +// The generated client configuration +func (o GetConfigurationResultOutput) TalosConfig() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationResult) string { return v.TalosConfig }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetConfigurationResultOutput{}) +} diff --git a/sdk/go/talos/client/pulumiTypes.go b/sdk/go/talos/client/pulumiTypes.go index b776253..15115e8 100644 --- a/sdk/go/talos/client/pulumiTypes.go +++ b/sdk/go/talos/client/pulumiTypes.go @@ -13,7 +13,7 @@ import ( var _ = internal.GetEnvOrDefault -type ConfigurationClientConfiguration struct { +type GetConfigurationClientConfiguration struct { // The client CA certificate CaCertificate string `pulumi:"caCertificate"` // The client certificate @@ -22,18 +22,18 @@ type ConfigurationClientConfiguration struct { ClientKey string `pulumi:"clientKey"` } -// ConfigurationClientConfigurationInput is an input type that accepts ConfigurationClientConfigurationArgs and ConfigurationClientConfigurationOutput values. -// You can construct a concrete instance of `ConfigurationClientConfigurationInput` via: +// GetConfigurationClientConfigurationInput is an input type that accepts GetConfigurationClientConfigurationArgs and GetConfigurationClientConfigurationOutput values. +// You can construct a concrete instance of `GetConfigurationClientConfigurationInput` via: // -// ConfigurationClientConfigurationArgs{...} -type ConfigurationClientConfigurationInput interface { +// GetConfigurationClientConfigurationArgs{...} +type GetConfigurationClientConfigurationInput interface { pulumi.Input - ToConfigurationClientConfigurationOutput() ConfigurationClientConfigurationOutput - ToConfigurationClientConfigurationOutputWithContext(context.Context) ConfigurationClientConfigurationOutput + ToGetConfigurationClientConfigurationOutput() GetConfigurationClientConfigurationOutput + ToGetConfigurationClientConfigurationOutputWithContext(context.Context) GetConfigurationClientConfigurationOutput } -type ConfigurationClientConfigurationArgs struct { +type GetConfigurationClientConfigurationArgs struct { // The client CA certificate CaCertificate pulumi.StringInput `pulumi:"caCertificate"` // The client certificate @@ -42,48 +42,48 @@ type ConfigurationClientConfigurationArgs struct { ClientKey pulumi.StringInput `pulumi:"clientKey"` } -func (ConfigurationClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationClientConfiguration)(nil)).Elem() +func (GetConfigurationClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationClientConfiguration)(nil)).Elem() } -func (i ConfigurationClientConfigurationArgs) ToConfigurationClientConfigurationOutput() ConfigurationClientConfigurationOutput { - return i.ToConfigurationClientConfigurationOutputWithContext(context.Background()) +func (i GetConfigurationClientConfigurationArgs) ToGetConfigurationClientConfigurationOutput() GetConfigurationClientConfigurationOutput { + return i.ToGetConfigurationClientConfigurationOutputWithContext(context.Background()) } -func (i ConfigurationClientConfigurationArgs) ToConfigurationClientConfigurationOutputWithContext(ctx context.Context) ConfigurationClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ConfigurationClientConfigurationOutput) +func (i GetConfigurationClientConfigurationArgs) ToGetConfigurationClientConfigurationOutputWithContext(ctx context.Context) GetConfigurationClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationClientConfigurationOutput) } -type ConfigurationClientConfigurationOutput struct{ *pulumi.OutputState } +type GetConfigurationClientConfigurationOutput struct{ *pulumi.OutputState } -func (ConfigurationClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ConfigurationClientConfiguration)(nil)).Elem() +func (GetConfigurationClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationClientConfiguration)(nil)).Elem() } -func (o ConfigurationClientConfigurationOutput) ToConfigurationClientConfigurationOutput() ConfigurationClientConfigurationOutput { +func (o GetConfigurationClientConfigurationOutput) ToGetConfigurationClientConfigurationOutput() GetConfigurationClientConfigurationOutput { return o } -func (o ConfigurationClientConfigurationOutput) ToConfigurationClientConfigurationOutputWithContext(ctx context.Context) ConfigurationClientConfigurationOutput { +func (o GetConfigurationClientConfigurationOutput) ToGetConfigurationClientConfigurationOutputWithContext(ctx context.Context) GetConfigurationClientConfigurationOutput { return o } // The client CA certificate -func (o ConfigurationClientConfigurationOutput) CaCertificate() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) +func (o GetConfigurationClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) } // The client certificate -func (o ConfigurationClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) +func (o GetConfigurationClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) } // The client key -func (o ConfigurationClientConfigurationOutput) ClientKey() pulumi.StringOutput { - return o.ApplyT(func(v ConfigurationClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +func (o GetConfigurationClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) } func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ConfigurationClientConfigurationInput)(nil)).Elem(), ConfigurationClientConfigurationArgs{}) - pulumi.RegisterOutputType(ConfigurationClientConfigurationOutput{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetConfigurationClientConfigurationInput)(nil)).Elem(), GetConfigurationClientConfigurationArgs{}) + pulumi.RegisterOutputType(GetConfigurationClientConfigurationOutput{}) } diff --git a/sdk/go/talos/cluster/getHealth.go b/sdk/go/talos/cluster/getHealth.go new file mode 100644 index 0000000..f5ec8ff --- /dev/null +++ b/sdk/go/talos/cluster/getHealth.go @@ -0,0 +1,129 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cluster + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" +) + +// Checks the health of a Talos cluster +func GetHealth(ctx *pulumi.Context, args *GetHealthArgs, opts ...pulumi.InvokeOption) (*GetHealthResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetHealthResult + err := ctx.Invoke("talos:cluster/getHealth:getHealth", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHealth. +type GetHealthArgs struct { + // The client configuration data + ClientConfiguration GetHealthClientConfiguration `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints []string `pulumi:"endpoints"` + Timeouts *GetHealthTimeouts `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes []string `pulumi:"workerNodes"` +} + +// A collection of values returned by getHealth. +type GetHealthResult struct { + // The client configuration data + ClientConfiguration GetHealthClientConfiguration `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints []string `pulumi:"endpoints"` + // The ID of this resource. + Id string `pulumi:"id"` + Timeouts *GetHealthTimeouts `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes []string `pulumi:"workerNodes"` +} + +func GetHealthOutput(ctx *pulumi.Context, args GetHealthOutputArgs, opts ...pulumi.InvokeOption) GetHealthResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetHealthResult, error) { + args := v.(GetHealthArgs) + r, err := GetHealth(ctx, &args, opts...) + var s GetHealthResult + if r != nil { + s = *r + } + return s, err + }).(GetHealthResultOutput) +} + +// A collection of arguments for invoking getHealth. +type GetHealthOutputArgs struct { + // The client configuration data + ClientConfiguration GetHealthClientConfigurationInput `pulumi:"clientConfiguration"` + // List of control plane nodes to check for health. + ControlPlaneNodes pulumi.StringArrayInput `pulumi:"controlPlaneNodes"` + // endpoints to use for the health check client. Use at least one control plane endpoint. + Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` + Timeouts GetHealthTimeoutsPtrInput `pulumi:"timeouts"` + // List of worker nodes to check for health. + WorkerNodes pulumi.StringArrayInput `pulumi:"workerNodes"` +} + +func (GetHealthOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthArgs)(nil)).Elem() +} + +// A collection of values returned by getHealth. +type GetHealthResultOutput struct{ *pulumi.OutputState } + +func (GetHealthResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthResult)(nil)).Elem() +} + +func (o GetHealthResultOutput) ToGetHealthResultOutput() GetHealthResultOutput { + return o +} + +func (o GetHealthResultOutput) ToGetHealthResultOutputWithContext(ctx context.Context) GetHealthResultOutput { + return o +} + +// The client configuration data +func (o GetHealthResultOutput) ClientConfiguration() GetHealthClientConfigurationOutput { + return o.ApplyT(func(v GetHealthResult) GetHealthClientConfiguration { return v.ClientConfiguration }).(GetHealthClientConfigurationOutput) +} + +// List of control plane nodes to check for health. +func (o GetHealthResultOutput) ControlPlaneNodes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetHealthResult) []string { return v.ControlPlaneNodes }).(pulumi.StringArrayOutput) +} + +// endpoints to use for the health check client. Use at least one control plane endpoint. +func (o GetHealthResultOutput) Endpoints() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetHealthResult) []string { return v.Endpoints }).(pulumi.StringArrayOutput) +} + +// The ID of this resource. +func (o GetHealthResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetHealthResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetHealthResultOutput) Timeouts() GetHealthTimeoutsPtrOutput { + return o.ApplyT(func(v GetHealthResult) *GetHealthTimeouts { return v.Timeouts }).(GetHealthTimeoutsPtrOutput) +} + +// List of worker nodes to check for health. +func (o GetHealthResultOutput) WorkerNodes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetHealthResult) []string { return v.WorkerNodes }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetHealthResultOutput{}) +} diff --git a/sdk/go/talos/cluster/getKubeconfig.go b/sdk/go/talos/cluster/getKubeconfig.go new file mode 100644 index 0000000..e6adfb5 --- /dev/null +++ b/sdk/go/talos/cluster/getKubeconfig.go @@ -0,0 +1,153 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package cluster + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" +) + +// Retrieves the kubeconfig for a Talos cluster +func GetKubeconfig(ctx *pulumi.Context, args *GetKubeconfigArgs, opts ...pulumi.InvokeOption) (*GetKubeconfigResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetKubeconfigResult + err := ctx.Invoke("talos:cluster/getKubeconfig:getKubeconfig", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getKubeconfig. +type GetKubeconfigArgs struct { + // The client configuration data + ClientConfiguration GetKubeconfigClientConfiguration `pulumi:"clientConfiguration"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint *string `pulumi:"endpoint"` + // controlplane node to retrieve the kubeconfig from + Node string `pulumi:"node"` + Timeouts *GetKubeconfigTimeouts `pulumi:"timeouts"` + // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. + Wait *bool `pulumi:"wait"` +} + +// A collection of values returned by getKubeconfig. +type GetKubeconfigResult struct { + // The client configuration data + ClientConfiguration GetKubeconfigClientConfiguration `pulumi:"clientConfiguration"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint string `pulumi:"endpoint"` + // The ID of this resource. + Id string `pulumi:"id"` + // The raw kubeconfig + KubeconfigRaw string `pulumi:"kubeconfigRaw"` + // The kubernetes client configuration + KubernetesClientConfiguration GetKubeconfigKubernetesClientConfiguration `pulumi:"kubernetesClientConfiguration"` + // controlplane node to retrieve the kubeconfig from + Node string `pulumi:"node"` + Timeouts *GetKubeconfigTimeouts `pulumi:"timeouts"` + // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. + Wait *bool `pulumi:"wait"` +} + +func GetKubeconfigOutput(ctx *pulumi.Context, args GetKubeconfigOutputArgs, opts ...pulumi.InvokeOption) GetKubeconfigResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetKubeconfigResult, error) { + args := v.(GetKubeconfigArgs) + r, err := GetKubeconfig(ctx, &args, opts...) + var s GetKubeconfigResult + if r != nil { + s = *r + } + return s, err + }).(GetKubeconfigResultOutput) +} + +// A collection of arguments for invoking getKubeconfig. +type GetKubeconfigOutputArgs struct { + // The client configuration data + ClientConfiguration GetKubeconfigClientConfigurationInput `pulumi:"clientConfiguration"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // controlplane node to retrieve the kubeconfig from + Node pulumi.StringInput `pulumi:"node"` + Timeouts GetKubeconfigTimeoutsPtrInput `pulumi:"timeouts"` + // Wait for the kubernetes api to be available + // + // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. + Wait pulumi.BoolPtrInput `pulumi:"wait"` +} + +func (GetKubeconfigOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigArgs)(nil)).Elem() +} + +// A collection of values returned by getKubeconfig. +type GetKubeconfigResultOutput struct{ *pulumi.OutputState } + +func (GetKubeconfigResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigResult)(nil)).Elem() +} + +func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutput() GetKubeconfigResultOutput { + return o +} + +func (o GetKubeconfigResultOutput) ToGetKubeconfigResultOutputWithContext(ctx context.Context) GetKubeconfigResultOutput { + return o +} + +// The client configuration data +func (o GetKubeconfigResultOutput) ClientConfiguration() GetKubeconfigClientConfigurationOutput { + return o.ApplyT(func(v GetKubeconfigResult) GetKubeconfigClientConfiguration { return v.ClientConfiguration }).(GetKubeconfigClientConfigurationOutput) +} + +// endpoint to use for the talosclient. If not set, the node value will be used +func (o GetKubeconfigResultOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigResult) string { return v.Endpoint }).(pulumi.StringOutput) +} + +// The ID of this resource. +func (o GetKubeconfigResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The raw kubeconfig +func (o GetKubeconfigResultOutput) KubeconfigRaw() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigResult) string { return v.KubeconfigRaw }).(pulumi.StringOutput) +} + +// The kubernetes client configuration +func (o GetKubeconfigResultOutput) KubernetesClientConfiguration() GetKubeconfigKubernetesClientConfigurationOutput { + return o.ApplyT(func(v GetKubeconfigResult) GetKubeconfigKubernetesClientConfiguration { + return v.KubernetesClientConfiguration + }).(GetKubeconfigKubernetesClientConfigurationOutput) +} + +// controlplane node to retrieve the kubeconfig from +func (o GetKubeconfigResultOutput) Node() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigResult) string { return v.Node }).(pulumi.StringOutput) +} + +func (o GetKubeconfigResultOutput) Timeouts() GetKubeconfigTimeoutsPtrOutput { + return o.ApplyT(func(v GetKubeconfigResult) *GetKubeconfigTimeouts { return v.Timeouts }).(GetKubeconfigTimeoutsPtrOutput) +} + +// Wait for the kubernetes api to be available +// +// Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. +func (o GetKubeconfigResultOutput) Wait() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetKubeconfigResult) *bool { return v.Wait }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetKubeconfigResultOutput{}) +} diff --git a/sdk/go/talos/cluster/health.go b/sdk/go/talos/cluster/health.go deleted file mode 100644 index c6db889..0000000 --- a/sdk/go/talos/cluster/health.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package cluster - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" -) - -// Checks the health of a Talos cluster -func Health(ctx *pulumi.Context, args *HealthArgs, opts ...pulumi.InvokeOption) (*HealthResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv HealthResult - err := ctx.Invoke("talos:cluster/health:Health", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking Health. -type HealthArgs struct { - // The client configuration data - ClientConfiguration HealthClientConfiguration `pulumi:"clientConfiguration"` - // List of control plane nodes to check for health. - ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` - // endpoints to use for the health check client. Use at least one control plane endpoint. - Endpoints []string `pulumi:"endpoints"` - Timeouts *HealthTimeouts `pulumi:"timeouts"` - // List of worker nodes to check for health. - WorkerNodes []string `pulumi:"workerNodes"` -} - -// A collection of values returned by Health. -type HealthResult struct { - // The client configuration data - ClientConfiguration HealthClientConfiguration `pulumi:"clientConfiguration"` - // List of control plane nodes to check for health. - ControlPlaneNodes []string `pulumi:"controlPlaneNodes"` - // endpoints to use for the health check client. Use at least one control plane endpoint. - Endpoints []string `pulumi:"endpoints"` - // The ID of this resource. - Id string `pulumi:"id"` - Timeouts *HealthTimeouts `pulumi:"timeouts"` - // List of worker nodes to check for health. - WorkerNodes []string `pulumi:"workerNodes"` -} - -func HealthOutput(ctx *pulumi.Context, args HealthOutputArgs, opts ...pulumi.InvokeOption) HealthResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (HealthResult, error) { - args := v.(HealthArgs) - r, err := Health(ctx, &args, opts...) - var s HealthResult - if r != nil { - s = *r - } - return s, err - }).(HealthResultOutput) -} - -// A collection of arguments for invoking Health. -type HealthOutputArgs struct { - // The client configuration data - ClientConfiguration HealthClientConfigurationInput `pulumi:"clientConfiguration"` - // List of control plane nodes to check for health. - ControlPlaneNodes pulumi.StringArrayInput `pulumi:"controlPlaneNodes"` - // endpoints to use for the health check client. Use at least one control plane endpoint. - Endpoints pulumi.StringArrayInput `pulumi:"endpoints"` - Timeouts HealthTimeoutsPtrInput `pulumi:"timeouts"` - // List of worker nodes to check for health. - WorkerNodes pulumi.StringArrayInput `pulumi:"workerNodes"` -} - -func (HealthOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*HealthArgs)(nil)).Elem() -} - -// A collection of values returned by Health. -type HealthResultOutput struct{ *pulumi.OutputState } - -func (HealthResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*HealthResult)(nil)).Elem() -} - -func (o HealthResultOutput) ToHealthResultOutput() HealthResultOutput { - return o -} - -func (o HealthResultOutput) ToHealthResultOutputWithContext(ctx context.Context) HealthResultOutput { - return o -} - -// The client configuration data -func (o HealthResultOutput) ClientConfiguration() HealthClientConfigurationOutput { - return o.ApplyT(func(v HealthResult) HealthClientConfiguration { return v.ClientConfiguration }).(HealthClientConfigurationOutput) -} - -// List of control plane nodes to check for health. -func (o HealthResultOutput) ControlPlaneNodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v HealthResult) []string { return v.ControlPlaneNodes }).(pulumi.StringArrayOutput) -} - -// endpoints to use for the health check client. Use at least one control plane endpoint. -func (o HealthResultOutput) Endpoints() pulumi.StringArrayOutput { - return o.ApplyT(func(v HealthResult) []string { return v.Endpoints }).(pulumi.StringArrayOutput) -} - -// The ID of this resource. -func (o HealthResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v HealthResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o HealthResultOutput) Timeouts() HealthTimeoutsPtrOutput { - return o.ApplyT(func(v HealthResult) *HealthTimeouts { return v.Timeouts }).(HealthTimeoutsPtrOutput) -} - -// List of worker nodes to check for health. -func (o HealthResultOutput) WorkerNodes() pulumi.StringArrayOutput { - return o.ApplyT(func(v HealthResult) []string { return v.WorkerNodes }).(pulumi.StringArrayOutput) -} - -func init() { - pulumi.RegisterOutputType(HealthResultOutput{}) -} diff --git a/sdk/go/talos/cluster/kubeconfig.go b/sdk/go/talos/cluster/kubeconfig.go deleted file mode 100644 index ed9b7a5..0000000 --- a/sdk/go/talos/cluster/kubeconfig.go +++ /dev/null @@ -1,153 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package cluster - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" -) - -// Retrieves the kubeconfig for a Talos cluster -func Kubeconfig(ctx *pulumi.Context, args *KubeconfigArgs, opts ...pulumi.InvokeOption) (*KubeconfigResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv KubeconfigResult - err := ctx.Invoke("talos:cluster/kubeconfig:Kubeconfig", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking Kubeconfig. -type KubeconfigArgs struct { - // The client configuration data - ClientConfiguration KubeconfigClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint *string `pulumi:"endpoint"` - // controlplane node to retrieve the kubeconfig from - Node string `pulumi:"node"` - Timeouts *KubeconfigTimeouts `pulumi:"timeouts"` - // Wait for the kubernetes api to be available - // - // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. - Wait *bool `pulumi:"wait"` -} - -// A collection of values returned by Kubeconfig. -type KubeconfigResult struct { - // The client configuration data - ClientConfiguration KubeconfigClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint string `pulumi:"endpoint"` - // The ID of this resource. - Id string `pulumi:"id"` - // The raw kubeconfig - KubeconfigRaw string `pulumi:"kubeconfigRaw"` - // The kubernetes client configuration - KubernetesClientConfiguration KubeconfigKubernetesClientConfiguration `pulumi:"kubernetesClientConfiguration"` - // controlplane node to retrieve the kubeconfig from - Node string `pulumi:"node"` - Timeouts *KubeconfigTimeouts `pulumi:"timeouts"` - // Wait for the kubernetes api to be available - // - // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. - Wait *bool `pulumi:"wait"` -} - -func KubeconfigOutput(ctx *pulumi.Context, args KubeconfigOutputArgs, opts ...pulumi.InvokeOption) KubeconfigResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (KubeconfigResult, error) { - args := v.(KubeconfigArgs) - r, err := Kubeconfig(ctx, &args, opts...) - var s KubeconfigResult - if r != nil { - s = *r - } - return s, err - }).(KubeconfigResultOutput) -} - -// A collection of arguments for invoking Kubeconfig. -type KubeconfigOutputArgs struct { - // The client configuration data - ClientConfiguration KubeconfigClientConfigurationInput `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // controlplane node to retrieve the kubeconfig from - Node pulumi.StringInput `pulumi:"node"` - Timeouts KubeconfigTimeoutsPtrInput `pulumi:"timeouts"` - // Wait for the kubernetes api to be available - // - // Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. - Wait pulumi.BoolPtrInput `pulumi:"wait"` -} - -func (KubeconfigOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigArgs)(nil)).Elem() -} - -// A collection of values returned by Kubeconfig. -type KubeconfigResultOutput struct{ *pulumi.OutputState } - -func (KubeconfigResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigResult)(nil)).Elem() -} - -func (o KubeconfigResultOutput) ToKubeconfigResultOutput() KubeconfigResultOutput { - return o -} - -func (o KubeconfigResultOutput) ToKubeconfigResultOutputWithContext(ctx context.Context) KubeconfigResultOutput { - return o -} - -// The client configuration data -func (o KubeconfigResultOutput) ClientConfiguration() KubeconfigClientConfigurationOutput { - return o.ApplyT(func(v KubeconfigResult) KubeconfigClientConfiguration { return v.ClientConfiguration }).(KubeconfigClientConfigurationOutput) -} - -// endpoint to use for the talosclient. If not set, the node value will be used -func (o KubeconfigResultOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigResult) string { return v.Endpoint }).(pulumi.StringOutput) -} - -// The ID of this resource. -func (o KubeconfigResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The raw kubeconfig -func (o KubeconfigResultOutput) KubeconfigRaw() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigResult) string { return v.KubeconfigRaw }).(pulumi.StringOutput) -} - -// The kubernetes client configuration -func (o KubeconfigResultOutput) KubernetesClientConfiguration() KubeconfigKubernetesClientConfigurationOutput { - return o.ApplyT(func(v KubeconfigResult) KubeconfigKubernetesClientConfiguration { - return v.KubernetesClientConfiguration - }).(KubeconfigKubernetesClientConfigurationOutput) -} - -// controlplane node to retrieve the kubeconfig from -func (o KubeconfigResultOutput) Node() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigResult) string { return v.Node }).(pulumi.StringOutput) -} - -func (o KubeconfigResultOutput) Timeouts() KubeconfigTimeoutsPtrOutput { - return o.ApplyT(func(v KubeconfigResult) *KubeconfigTimeouts { return v.Timeouts }).(KubeconfigTimeoutsPtrOutput) -} - -// Wait for the kubernetes api to be available -// -// Deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead. -func (o KubeconfigResultOutput) Wait() pulumi.BoolPtrOutput { - return o.ApplyT(func(v KubeconfigResult) *bool { return v.Wait }).(pulumi.BoolPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(KubeconfigResultOutput{}) -} diff --git a/sdk/go/talos/cluster/pulumiTypes.go b/sdk/go/talos/cluster/pulumiTypes.go index 14147c9..93d3ff8 100644 --- a/sdk/go/talos/cluster/pulumiTypes.go +++ b/sdk/go/talos/cluster/pulumiTypes.go @@ -13,7 +13,7 @@ import ( var _ = internal.GetEnvOrDefault -type HealthClientConfiguration struct { +type GetHealthClientConfiguration struct { // The client CA certificate CaCertificate string `pulumi:"caCertificate"` // The client certificate @@ -22,18 +22,18 @@ type HealthClientConfiguration struct { ClientKey string `pulumi:"clientKey"` } -// HealthClientConfigurationInput is an input type that accepts HealthClientConfigurationArgs and HealthClientConfigurationOutput values. -// You can construct a concrete instance of `HealthClientConfigurationInput` via: +// GetHealthClientConfigurationInput is an input type that accepts GetHealthClientConfigurationArgs and GetHealthClientConfigurationOutput values. +// You can construct a concrete instance of `GetHealthClientConfigurationInput` via: // -// HealthClientConfigurationArgs{...} -type HealthClientConfigurationInput interface { +// GetHealthClientConfigurationArgs{...} +type GetHealthClientConfigurationInput interface { pulumi.Input - ToHealthClientConfigurationOutput() HealthClientConfigurationOutput - ToHealthClientConfigurationOutputWithContext(context.Context) HealthClientConfigurationOutput + ToGetHealthClientConfigurationOutput() GetHealthClientConfigurationOutput + ToGetHealthClientConfigurationOutputWithContext(context.Context) GetHealthClientConfigurationOutput } -type HealthClientConfigurationArgs struct { +type GetHealthClientConfigurationArgs struct { // The client CA certificate CaCertificate pulumi.StringInput `pulumi:"caCertificate"` // The client certificate @@ -42,177 +42,177 @@ type HealthClientConfigurationArgs struct { ClientKey pulumi.StringInput `pulumi:"clientKey"` } -func (HealthClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*HealthClientConfiguration)(nil)).Elem() +func (GetHealthClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthClientConfiguration)(nil)).Elem() } -func (i HealthClientConfigurationArgs) ToHealthClientConfigurationOutput() HealthClientConfigurationOutput { - return i.ToHealthClientConfigurationOutputWithContext(context.Background()) +func (i GetHealthClientConfigurationArgs) ToGetHealthClientConfigurationOutput() GetHealthClientConfigurationOutput { + return i.ToGetHealthClientConfigurationOutputWithContext(context.Background()) } -func (i HealthClientConfigurationArgs) ToHealthClientConfigurationOutputWithContext(ctx context.Context) HealthClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(HealthClientConfigurationOutput) +func (i GetHealthClientConfigurationArgs) ToGetHealthClientConfigurationOutputWithContext(ctx context.Context) GetHealthClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHealthClientConfigurationOutput) } -type HealthClientConfigurationOutput struct{ *pulumi.OutputState } +type GetHealthClientConfigurationOutput struct{ *pulumi.OutputState } -func (HealthClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*HealthClientConfiguration)(nil)).Elem() +func (GetHealthClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthClientConfiguration)(nil)).Elem() } -func (o HealthClientConfigurationOutput) ToHealthClientConfigurationOutput() HealthClientConfigurationOutput { +func (o GetHealthClientConfigurationOutput) ToGetHealthClientConfigurationOutput() GetHealthClientConfigurationOutput { return o } -func (o HealthClientConfigurationOutput) ToHealthClientConfigurationOutputWithContext(ctx context.Context) HealthClientConfigurationOutput { +func (o GetHealthClientConfigurationOutput) ToGetHealthClientConfigurationOutputWithContext(ctx context.Context) GetHealthClientConfigurationOutput { return o } // The client CA certificate -func (o HealthClientConfigurationOutput) CaCertificate() pulumi.StringOutput { - return o.ApplyT(func(v HealthClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) +func (o GetHealthClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetHealthClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) } // The client certificate -func (o HealthClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { - return o.ApplyT(func(v HealthClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) +func (o GetHealthClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetHealthClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) } // The client key -func (o HealthClientConfigurationOutput) ClientKey() pulumi.StringOutput { - return o.ApplyT(func(v HealthClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +func (o GetHealthClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v GetHealthClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) } -type HealthTimeouts struct { +type GetHealthTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. Read *string `pulumi:"read"` } -// HealthTimeoutsInput is an input type that accepts HealthTimeoutsArgs and HealthTimeoutsOutput values. -// You can construct a concrete instance of `HealthTimeoutsInput` via: +// GetHealthTimeoutsInput is an input type that accepts GetHealthTimeoutsArgs and GetHealthTimeoutsOutput values. +// You can construct a concrete instance of `GetHealthTimeoutsInput` via: // -// HealthTimeoutsArgs{...} -type HealthTimeoutsInput interface { +// GetHealthTimeoutsArgs{...} +type GetHealthTimeoutsInput interface { pulumi.Input - ToHealthTimeoutsOutput() HealthTimeoutsOutput - ToHealthTimeoutsOutputWithContext(context.Context) HealthTimeoutsOutput + ToGetHealthTimeoutsOutput() GetHealthTimeoutsOutput + ToGetHealthTimeoutsOutputWithContext(context.Context) GetHealthTimeoutsOutput } -type HealthTimeoutsArgs struct { +type GetHealthTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. Read pulumi.StringPtrInput `pulumi:"read"` } -func (HealthTimeoutsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*HealthTimeouts)(nil)).Elem() +func (GetHealthTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthTimeouts)(nil)).Elem() } -func (i HealthTimeoutsArgs) ToHealthTimeoutsOutput() HealthTimeoutsOutput { - return i.ToHealthTimeoutsOutputWithContext(context.Background()) +func (i GetHealthTimeoutsArgs) ToGetHealthTimeoutsOutput() GetHealthTimeoutsOutput { + return i.ToGetHealthTimeoutsOutputWithContext(context.Background()) } -func (i HealthTimeoutsArgs) ToHealthTimeoutsOutputWithContext(ctx context.Context) HealthTimeoutsOutput { - return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsOutput) +func (i GetHealthTimeoutsArgs) ToGetHealthTimeoutsOutputWithContext(ctx context.Context) GetHealthTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHealthTimeoutsOutput) } -func (i HealthTimeoutsArgs) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { - return i.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +func (i GetHealthTimeoutsArgs) ToGetHealthTimeoutsPtrOutput() GetHealthTimeoutsPtrOutput { + return i.ToGetHealthTimeoutsPtrOutputWithContext(context.Background()) } -func (i HealthTimeoutsArgs) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsOutput).ToHealthTimeoutsPtrOutputWithContext(ctx) +func (i GetHealthTimeoutsArgs) ToGetHealthTimeoutsPtrOutputWithContext(ctx context.Context) GetHealthTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHealthTimeoutsOutput).ToGetHealthTimeoutsPtrOutputWithContext(ctx) } -// HealthTimeoutsPtrInput is an input type that accepts HealthTimeoutsArgs, HealthTimeoutsPtr and HealthTimeoutsPtrOutput values. -// You can construct a concrete instance of `HealthTimeoutsPtrInput` via: +// GetHealthTimeoutsPtrInput is an input type that accepts GetHealthTimeoutsArgs, GetHealthTimeoutsPtr and GetHealthTimeoutsPtrOutput values. +// You can construct a concrete instance of `GetHealthTimeoutsPtrInput` via: // -// HealthTimeoutsArgs{...} +// GetHealthTimeoutsArgs{...} // // or: // // nil -type HealthTimeoutsPtrInput interface { +type GetHealthTimeoutsPtrInput interface { pulumi.Input - ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput - ToHealthTimeoutsPtrOutputWithContext(context.Context) HealthTimeoutsPtrOutput + ToGetHealthTimeoutsPtrOutput() GetHealthTimeoutsPtrOutput + ToGetHealthTimeoutsPtrOutputWithContext(context.Context) GetHealthTimeoutsPtrOutput } -type healthTimeoutsPtrType HealthTimeoutsArgs +type getHealthTimeoutsPtrType GetHealthTimeoutsArgs -func HealthTimeoutsPtr(v *HealthTimeoutsArgs) HealthTimeoutsPtrInput { - return (*healthTimeoutsPtrType)(v) +func GetHealthTimeoutsPtr(v *GetHealthTimeoutsArgs) GetHealthTimeoutsPtrInput { + return (*getHealthTimeoutsPtrType)(v) } -func (*healthTimeoutsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**HealthTimeouts)(nil)).Elem() +func (*getHealthTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetHealthTimeouts)(nil)).Elem() } -func (i *healthTimeoutsPtrType) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { - return i.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +func (i *getHealthTimeoutsPtrType) ToGetHealthTimeoutsPtrOutput() GetHealthTimeoutsPtrOutput { + return i.ToGetHealthTimeoutsPtrOutputWithContext(context.Background()) } -func (i *healthTimeoutsPtrType) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(HealthTimeoutsPtrOutput) +func (i *getHealthTimeoutsPtrType) ToGetHealthTimeoutsPtrOutputWithContext(ctx context.Context) GetHealthTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHealthTimeoutsPtrOutput) } -type HealthTimeoutsOutput struct{ *pulumi.OutputState } +type GetHealthTimeoutsOutput struct{ *pulumi.OutputState } -func (HealthTimeoutsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*HealthTimeouts)(nil)).Elem() +func (GetHealthTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetHealthTimeouts)(nil)).Elem() } -func (o HealthTimeoutsOutput) ToHealthTimeoutsOutput() HealthTimeoutsOutput { +func (o GetHealthTimeoutsOutput) ToGetHealthTimeoutsOutput() GetHealthTimeoutsOutput { return o } -func (o HealthTimeoutsOutput) ToHealthTimeoutsOutputWithContext(ctx context.Context) HealthTimeoutsOutput { +func (o GetHealthTimeoutsOutput) ToGetHealthTimeoutsOutputWithContext(ctx context.Context) GetHealthTimeoutsOutput { return o } -func (o HealthTimeoutsOutput) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { - return o.ToHealthTimeoutsPtrOutputWithContext(context.Background()) +func (o GetHealthTimeoutsOutput) ToGetHealthTimeoutsPtrOutput() GetHealthTimeoutsPtrOutput { + return o.ToGetHealthTimeoutsPtrOutputWithContext(context.Background()) } -func (o HealthTimeoutsOutput) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v HealthTimeouts) *HealthTimeouts { +func (o GetHealthTimeoutsOutput) ToGetHealthTimeoutsPtrOutputWithContext(ctx context.Context) GetHealthTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetHealthTimeouts) *GetHealthTimeouts { return &v - }).(HealthTimeoutsPtrOutput) + }).(GetHealthTimeoutsPtrOutput) } // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o HealthTimeoutsOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v HealthTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +func (o GetHealthTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetHealthTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) } -type HealthTimeoutsPtrOutput struct{ *pulumi.OutputState } +type GetHealthTimeoutsPtrOutput struct{ *pulumi.OutputState } -func (HealthTimeoutsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**HealthTimeouts)(nil)).Elem() +func (GetHealthTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetHealthTimeouts)(nil)).Elem() } -func (o HealthTimeoutsPtrOutput) ToHealthTimeoutsPtrOutput() HealthTimeoutsPtrOutput { +func (o GetHealthTimeoutsPtrOutput) ToGetHealthTimeoutsPtrOutput() GetHealthTimeoutsPtrOutput { return o } -func (o HealthTimeoutsPtrOutput) ToHealthTimeoutsPtrOutputWithContext(ctx context.Context) HealthTimeoutsPtrOutput { +func (o GetHealthTimeoutsPtrOutput) ToGetHealthTimeoutsPtrOutputWithContext(ctx context.Context) GetHealthTimeoutsPtrOutput { return o } -func (o HealthTimeoutsPtrOutput) Elem() HealthTimeoutsOutput { - return o.ApplyT(func(v *HealthTimeouts) HealthTimeouts { +func (o GetHealthTimeoutsPtrOutput) Elem() GetHealthTimeoutsOutput { + return o.ApplyT(func(v *GetHealthTimeouts) GetHealthTimeouts { if v != nil { return *v } - var ret HealthTimeouts + var ret GetHealthTimeouts return ret - }).(HealthTimeoutsOutput) + }).(GetHealthTimeoutsOutput) } // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o HealthTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v *HealthTimeouts) *string { +func (o GetHealthTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetHealthTimeouts) *string { if v == nil { return nil } @@ -220,7 +220,7 @@ func (o HealthTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type KubeconfigClientConfiguration struct { +type GetKubeconfigClientConfiguration struct { // The client CA certificate CaCertificate string `pulumi:"caCertificate"` // The client certificate @@ -229,18 +229,18 @@ type KubeconfigClientConfiguration struct { ClientKey string `pulumi:"clientKey"` } -// KubeconfigClientConfigurationInput is an input type that accepts KubeconfigClientConfigurationArgs and KubeconfigClientConfigurationOutput values. -// You can construct a concrete instance of `KubeconfigClientConfigurationInput` via: +// GetKubeconfigClientConfigurationInput is an input type that accepts GetKubeconfigClientConfigurationArgs and GetKubeconfigClientConfigurationOutput values. +// You can construct a concrete instance of `GetKubeconfigClientConfigurationInput` via: // -// KubeconfigClientConfigurationArgs{...} -type KubeconfigClientConfigurationInput interface { +// GetKubeconfigClientConfigurationArgs{...} +type GetKubeconfigClientConfigurationInput interface { pulumi.Input - ToKubeconfigClientConfigurationOutput() KubeconfigClientConfigurationOutput - ToKubeconfigClientConfigurationOutputWithContext(context.Context) KubeconfigClientConfigurationOutput + ToGetKubeconfigClientConfigurationOutput() GetKubeconfigClientConfigurationOutput + ToGetKubeconfigClientConfigurationOutputWithContext(context.Context) GetKubeconfigClientConfigurationOutput } -type KubeconfigClientConfigurationArgs struct { +type GetKubeconfigClientConfigurationArgs struct { // The client CA certificate CaCertificate pulumi.StringInput `pulumi:"caCertificate"` // The client certificate @@ -249,48 +249,48 @@ type KubeconfigClientConfigurationArgs struct { ClientKey pulumi.StringInput `pulumi:"clientKey"` } -func (KubeconfigClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigClientConfiguration)(nil)).Elem() +func (GetKubeconfigClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigClientConfiguration)(nil)).Elem() } -func (i KubeconfigClientConfigurationArgs) ToKubeconfigClientConfigurationOutput() KubeconfigClientConfigurationOutput { - return i.ToKubeconfigClientConfigurationOutputWithContext(context.Background()) +func (i GetKubeconfigClientConfigurationArgs) ToGetKubeconfigClientConfigurationOutput() GetKubeconfigClientConfigurationOutput { + return i.ToGetKubeconfigClientConfigurationOutputWithContext(context.Background()) } -func (i KubeconfigClientConfigurationArgs) ToKubeconfigClientConfigurationOutputWithContext(ctx context.Context) KubeconfigClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(KubeconfigClientConfigurationOutput) +func (i GetKubeconfigClientConfigurationArgs) ToGetKubeconfigClientConfigurationOutputWithContext(ctx context.Context) GetKubeconfigClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKubeconfigClientConfigurationOutput) } -type KubeconfigClientConfigurationOutput struct{ *pulumi.OutputState } +type GetKubeconfigClientConfigurationOutput struct{ *pulumi.OutputState } -func (KubeconfigClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigClientConfiguration)(nil)).Elem() +func (GetKubeconfigClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigClientConfiguration)(nil)).Elem() } -func (o KubeconfigClientConfigurationOutput) ToKubeconfigClientConfigurationOutput() KubeconfigClientConfigurationOutput { +func (o GetKubeconfigClientConfigurationOutput) ToGetKubeconfigClientConfigurationOutput() GetKubeconfigClientConfigurationOutput { return o } -func (o KubeconfigClientConfigurationOutput) ToKubeconfigClientConfigurationOutputWithContext(ctx context.Context) KubeconfigClientConfigurationOutput { +func (o GetKubeconfigClientConfigurationOutput) ToGetKubeconfigClientConfigurationOutputWithContext(ctx context.Context) GetKubeconfigClientConfigurationOutput { return o } // The client CA certificate -func (o KubeconfigClientConfigurationOutput) CaCertificate() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) +func (o GetKubeconfigClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) } // The client certificate -func (o KubeconfigClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) +func (o GetKubeconfigClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) } // The client key -func (o KubeconfigClientConfigurationOutput) ClientKey() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +func (o GetKubeconfigClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) } -type KubeconfigKubernetesClientConfiguration struct { +type GetKubeconfigKubernetesClientConfiguration struct { // The kubernetes CA certificate CaCertificate string `pulumi:"caCertificate"` // The kubernetes client certificate @@ -301,18 +301,18 @@ type KubeconfigKubernetesClientConfiguration struct { Host string `pulumi:"host"` } -// KubeconfigKubernetesClientConfigurationInput is an input type that accepts KubeconfigKubernetesClientConfigurationArgs and KubeconfigKubernetesClientConfigurationOutput values. -// You can construct a concrete instance of `KubeconfigKubernetesClientConfigurationInput` via: +// GetKubeconfigKubernetesClientConfigurationInput is an input type that accepts GetKubeconfigKubernetesClientConfigurationArgs and GetKubeconfigKubernetesClientConfigurationOutput values. +// You can construct a concrete instance of `GetKubeconfigKubernetesClientConfigurationInput` via: // -// KubeconfigKubernetesClientConfigurationArgs{...} -type KubeconfigKubernetesClientConfigurationInput interface { +// GetKubeconfigKubernetesClientConfigurationArgs{...} +type GetKubeconfigKubernetesClientConfigurationInput interface { pulumi.Input - ToKubeconfigKubernetesClientConfigurationOutput() KubeconfigKubernetesClientConfigurationOutput - ToKubeconfigKubernetesClientConfigurationOutputWithContext(context.Context) KubeconfigKubernetesClientConfigurationOutput + ToGetKubeconfigKubernetesClientConfigurationOutput() GetKubeconfigKubernetesClientConfigurationOutput + ToGetKubeconfigKubernetesClientConfigurationOutputWithContext(context.Context) GetKubeconfigKubernetesClientConfigurationOutput } -type KubeconfigKubernetesClientConfigurationArgs struct { +type GetKubeconfigKubernetesClientConfigurationArgs struct { // The kubernetes CA certificate CaCertificate pulumi.StringInput `pulumi:"caCertificate"` // The kubernetes client certificate @@ -323,182 +323,182 @@ type KubeconfigKubernetesClientConfigurationArgs struct { Host pulumi.StringInput `pulumi:"host"` } -func (KubeconfigKubernetesClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigKubernetesClientConfiguration)(nil)).Elem() +func (GetKubeconfigKubernetesClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigKubernetesClientConfiguration)(nil)).Elem() } -func (i KubeconfigKubernetesClientConfigurationArgs) ToKubeconfigKubernetesClientConfigurationOutput() KubeconfigKubernetesClientConfigurationOutput { - return i.ToKubeconfigKubernetesClientConfigurationOutputWithContext(context.Background()) +func (i GetKubeconfigKubernetesClientConfigurationArgs) ToGetKubeconfigKubernetesClientConfigurationOutput() GetKubeconfigKubernetesClientConfigurationOutput { + return i.ToGetKubeconfigKubernetesClientConfigurationOutputWithContext(context.Background()) } -func (i KubeconfigKubernetesClientConfigurationArgs) ToKubeconfigKubernetesClientConfigurationOutputWithContext(ctx context.Context) KubeconfigKubernetesClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(KubeconfigKubernetesClientConfigurationOutput) +func (i GetKubeconfigKubernetesClientConfigurationArgs) ToGetKubeconfigKubernetesClientConfigurationOutputWithContext(ctx context.Context) GetKubeconfigKubernetesClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKubeconfigKubernetesClientConfigurationOutput) } -type KubeconfigKubernetesClientConfigurationOutput struct{ *pulumi.OutputState } +type GetKubeconfigKubernetesClientConfigurationOutput struct{ *pulumi.OutputState } -func (KubeconfigKubernetesClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigKubernetesClientConfiguration)(nil)).Elem() +func (GetKubeconfigKubernetesClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigKubernetesClientConfiguration)(nil)).Elem() } -func (o KubeconfigKubernetesClientConfigurationOutput) ToKubeconfigKubernetesClientConfigurationOutput() KubeconfigKubernetesClientConfigurationOutput { +func (o GetKubeconfigKubernetesClientConfigurationOutput) ToGetKubeconfigKubernetesClientConfigurationOutput() GetKubeconfigKubernetesClientConfigurationOutput { return o } -func (o KubeconfigKubernetesClientConfigurationOutput) ToKubeconfigKubernetesClientConfigurationOutputWithContext(ctx context.Context) KubeconfigKubernetesClientConfigurationOutput { +func (o GetKubeconfigKubernetesClientConfigurationOutput) ToGetKubeconfigKubernetesClientConfigurationOutputWithContext(ctx context.Context) GetKubeconfigKubernetesClientConfigurationOutput { return o } // The kubernetes CA certificate -func (o KubeconfigKubernetesClientConfigurationOutput) CaCertificate() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigKubernetesClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) +func (o GetKubeconfigKubernetesClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigKubernetesClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) } // The kubernetes client certificate -func (o KubeconfigKubernetesClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigKubernetesClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) +func (o GetKubeconfigKubernetesClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigKubernetesClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) } // The kubernetes client key -func (o KubeconfigKubernetesClientConfigurationOutput) ClientKey() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigKubernetesClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +func (o GetKubeconfigKubernetesClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigKubernetesClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) } // The kubernetes host -func (o KubeconfigKubernetesClientConfigurationOutput) Host() pulumi.StringOutput { - return o.ApplyT(func(v KubeconfigKubernetesClientConfiguration) string { return v.Host }).(pulumi.StringOutput) +func (o GetKubeconfigKubernetesClientConfigurationOutput) Host() pulumi.StringOutput { + return o.ApplyT(func(v GetKubeconfigKubernetesClientConfiguration) string { return v.Host }).(pulumi.StringOutput) } -type KubeconfigTimeouts struct { +type GetKubeconfigTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. Read *string `pulumi:"read"` } -// KubeconfigTimeoutsInput is an input type that accepts KubeconfigTimeoutsArgs and KubeconfigTimeoutsOutput values. -// You can construct a concrete instance of `KubeconfigTimeoutsInput` via: +// GetKubeconfigTimeoutsInput is an input type that accepts GetKubeconfigTimeoutsArgs and GetKubeconfigTimeoutsOutput values. +// You can construct a concrete instance of `GetKubeconfigTimeoutsInput` via: // -// KubeconfigTimeoutsArgs{...} -type KubeconfigTimeoutsInput interface { +// GetKubeconfigTimeoutsArgs{...} +type GetKubeconfigTimeoutsInput interface { pulumi.Input - ToKubeconfigTimeoutsOutput() KubeconfigTimeoutsOutput - ToKubeconfigTimeoutsOutputWithContext(context.Context) KubeconfigTimeoutsOutput + ToGetKubeconfigTimeoutsOutput() GetKubeconfigTimeoutsOutput + ToGetKubeconfigTimeoutsOutputWithContext(context.Context) GetKubeconfigTimeoutsOutput } -type KubeconfigTimeoutsArgs struct { +type GetKubeconfigTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. Read pulumi.StringPtrInput `pulumi:"read"` } -func (KubeconfigTimeoutsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigTimeouts)(nil)).Elem() +func (GetKubeconfigTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigTimeouts)(nil)).Elem() } -func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsOutput() KubeconfigTimeoutsOutput { - return i.ToKubeconfigTimeoutsOutputWithContext(context.Background()) +func (i GetKubeconfigTimeoutsArgs) ToGetKubeconfigTimeoutsOutput() GetKubeconfigTimeoutsOutput { + return i.ToGetKubeconfigTimeoutsOutputWithContext(context.Background()) } -func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsOutputWithContext(ctx context.Context) KubeconfigTimeoutsOutput { - return pulumi.ToOutputWithContext(ctx, i).(KubeconfigTimeoutsOutput) +func (i GetKubeconfigTimeoutsArgs) ToGetKubeconfigTimeoutsOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKubeconfigTimeoutsOutput) } -func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput { - return i.ToKubeconfigTimeoutsPtrOutputWithContext(context.Background()) +func (i GetKubeconfigTimeoutsArgs) ToGetKubeconfigTimeoutsPtrOutput() GetKubeconfigTimeoutsPtrOutput { + return i.ToGetKubeconfigTimeoutsPtrOutputWithContext(context.Background()) } -func (i KubeconfigTimeoutsArgs) ToKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) KubeconfigTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(KubeconfigTimeoutsOutput).ToKubeconfigTimeoutsPtrOutputWithContext(ctx) +func (i GetKubeconfigTimeoutsArgs) ToGetKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKubeconfigTimeoutsOutput).ToGetKubeconfigTimeoutsPtrOutputWithContext(ctx) } -// KubeconfigTimeoutsPtrInput is an input type that accepts KubeconfigTimeoutsArgs, KubeconfigTimeoutsPtr and KubeconfigTimeoutsPtrOutput values. -// You can construct a concrete instance of `KubeconfigTimeoutsPtrInput` via: +// GetKubeconfigTimeoutsPtrInput is an input type that accepts GetKubeconfigTimeoutsArgs, GetKubeconfigTimeoutsPtr and GetKubeconfigTimeoutsPtrOutput values. +// You can construct a concrete instance of `GetKubeconfigTimeoutsPtrInput` via: // -// KubeconfigTimeoutsArgs{...} +// GetKubeconfigTimeoutsArgs{...} // // or: // // nil -type KubeconfigTimeoutsPtrInput interface { +type GetKubeconfigTimeoutsPtrInput interface { pulumi.Input - ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput - ToKubeconfigTimeoutsPtrOutputWithContext(context.Context) KubeconfigTimeoutsPtrOutput + ToGetKubeconfigTimeoutsPtrOutput() GetKubeconfigTimeoutsPtrOutput + ToGetKubeconfigTimeoutsPtrOutputWithContext(context.Context) GetKubeconfigTimeoutsPtrOutput } -type kubeconfigTimeoutsPtrType KubeconfigTimeoutsArgs +type getKubeconfigTimeoutsPtrType GetKubeconfigTimeoutsArgs -func KubeconfigTimeoutsPtr(v *KubeconfigTimeoutsArgs) KubeconfigTimeoutsPtrInput { - return (*kubeconfigTimeoutsPtrType)(v) +func GetKubeconfigTimeoutsPtr(v *GetKubeconfigTimeoutsArgs) GetKubeconfigTimeoutsPtrInput { + return (*getKubeconfigTimeoutsPtrType)(v) } -func (*kubeconfigTimeoutsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**KubeconfigTimeouts)(nil)).Elem() +func (*getKubeconfigTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetKubeconfigTimeouts)(nil)).Elem() } -func (i *kubeconfigTimeoutsPtrType) ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput { - return i.ToKubeconfigTimeoutsPtrOutputWithContext(context.Background()) +func (i *getKubeconfigTimeoutsPtrType) ToGetKubeconfigTimeoutsPtrOutput() GetKubeconfigTimeoutsPtrOutput { + return i.ToGetKubeconfigTimeoutsPtrOutputWithContext(context.Background()) } -func (i *kubeconfigTimeoutsPtrType) ToKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) KubeconfigTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(KubeconfigTimeoutsPtrOutput) +func (i *getKubeconfigTimeoutsPtrType) ToGetKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKubeconfigTimeoutsPtrOutput) } -type KubeconfigTimeoutsOutput struct{ *pulumi.OutputState } +type GetKubeconfigTimeoutsOutput struct{ *pulumi.OutputState } -func (KubeconfigTimeoutsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*KubeconfigTimeouts)(nil)).Elem() +func (GetKubeconfigTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKubeconfigTimeouts)(nil)).Elem() } -func (o KubeconfigTimeoutsOutput) ToKubeconfigTimeoutsOutput() KubeconfigTimeoutsOutput { +func (o GetKubeconfigTimeoutsOutput) ToGetKubeconfigTimeoutsOutput() GetKubeconfigTimeoutsOutput { return o } -func (o KubeconfigTimeoutsOutput) ToKubeconfigTimeoutsOutputWithContext(ctx context.Context) KubeconfigTimeoutsOutput { +func (o GetKubeconfigTimeoutsOutput) ToGetKubeconfigTimeoutsOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsOutput { return o } -func (o KubeconfigTimeoutsOutput) ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput { - return o.ToKubeconfigTimeoutsPtrOutputWithContext(context.Background()) +func (o GetKubeconfigTimeoutsOutput) ToGetKubeconfigTimeoutsPtrOutput() GetKubeconfigTimeoutsPtrOutput { + return o.ToGetKubeconfigTimeoutsPtrOutputWithContext(context.Background()) } -func (o KubeconfigTimeoutsOutput) ToKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) KubeconfigTimeoutsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v KubeconfigTimeouts) *KubeconfigTimeouts { +func (o GetKubeconfigTimeoutsOutput) ToGetKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetKubeconfigTimeouts) *GetKubeconfigTimeouts { return &v - }).(KubeconfigTimeoutsPtrOutput) + }).(GetKubeconfigTimeoutsPtrOutput) } // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o KubeconfigTimeoutsOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v KubeconfigTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +func (o GetKubeconfigTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetKubeconfigTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) } -type KubeconfigTimeoutsPtrOutput struct{ *pulumi.OutputState } +type GetKubeconfigTimeoutsPtrOutput struct{ *pulumi.OutputState } -func (KubeconfigTimeoutsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**KubeconfigTimeouts)(nil)).Elem() +func (GetKubeconfigTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetKubeconfigTimeouts)(nil)).Elem() } -func (o KubeconfigTimeoutsPtrOutput) ToKubeconfigTimeoutsPtrOutput() KubeconfigTimeoutsPtrOutput { +func (o GetKubeconfigTimeoutsPtrOutput) ToGetKubeconfigTimeoutsPtrOutput() GetKubeconfigTimeoutsPtrOutput { return o } -func (o KubeconfigTimeoutsPtrOutput) ToKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) KubeconfigTimeoutsPtrOutput { +func (o GetKubeconfigTimeoutsPtrOutput) ToGetKubeconfigTimeoutsPtrOutputWithContext(ctx context.Context) GetKubeconfigTimeoutsPtrOutput { return o } -func (o KubeconfigTimeoutsPtrOutput) Elem() KubeconfigTimeoutsOutput { - return o.ApplyT(func(v *KubeconfigTimeouts) KubeconfigTimeouts { +func (o GetKubeconfigTimeoutsPtrOutput) Elem() GetKubeconfigTimeoutsOutput { + return o.ApplyT(func(v *GetKubeconfigTimeouts) GetKubeconfigTimeouts { if v != nil { return *v } - var ret KubeconfigTimeouts + var ret GetKubeconfigTimeouts return ret - }).(KubeconfigTimeoutsOutput) + }).(GetKubeconfigTimeoutsOutput) } // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o KubeconfigTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v *KubeconfigTimeouts) *string { +func (o GetKubeconfigTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetKubeconfigTimeouts) *string { if v == nil { return nil } @@ -507,18 +507,18 @@ func (o KubeconfigTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { } func init() { - pulumi.RegisterInputType(reflect.TypeOf((*HealthClientConfigurationInput)(nil)).Elem(), HealthClientConfigurationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*HealthTimeoutsInput)(nil)).Elem(), HealthTimeoutsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*HealthTimeoutsPtrInput)(nil)).Elem(), HealthTimeoutsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigClientConfigurationInput)(nil)).Elem(), KubeconfigClientConfigurationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigKubernetesClientConfigurationInput)(nil)).Elem(), KubeconfigKubernetesClientConfigurationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigTimeoutsInput)(nil)).Elem(), KubeconfigTimeoutsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*KubeconfigTimeoutsPtrInput)(nil)).Elem(), KubeconfigTimeoutsArgs{}) - pulumi.RegisterOutputType(HealthClientConfigurationOutput{}) - pulumi.RegisterOutputType(HealthTimeoutsOutput{}) - pulumi.RegisterOutputType(HealthTimeoutsPtrOutput{}) - pulumi.RegisterOutputType(KubeconfigClientConfigurationOutput{}) - pulumi.RegisterOutputType(KubeconfigKubernetesClientConfigurationOutput{}) - pulumi.RegisterOutputType(KubeconfigTimeoutsOutput{}) - pulumi.RegisterOutputType(KubeconfigTimeoutsPtrOutput{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHealthClientConfigurationInput)(nil)).Elem(), GetHealthClientConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHealthTimeoutsInput)(nil)).Elem(), GetHealthTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHealthTimeoutsPtrInput)(nil)).Elem(), GetHealthTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKubeconfigClientConfigurationInput)(nil)).Elem(), GetKubeconfigClientConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKubeconfigKubernetesClientConfigurationInput)(nil)).Elem(), GetKubeconfigKubernetesClientConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKubeconfigTimeoutsInput)(nil)).Elem(), GetKubeconfigTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKubeconfigTimeoutsPtrInput)(nil)).Elem(), GetKubeconfigTimeoutsArgs{}) + pulumi.RegisterOutputType(GetHealthClientConfigurationOutput{}) + pulumi.RegisterOutputType(GetHealthTimeoutsOutput{}) + pulumi.RegisterOutputType(GetHealthTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(GetKubeconfigClientConfigurationOutput{}) + pulumi.RegisterOutputType(GetKubeconfigKubernetesClientConfigurationOutput{}) + pulumi.RegisterOutputType(GetKubeconfigTimeoutsOutput{}) + pulumi.RegisterOutputType(GetKubeconfigTimeoutsPtrOutput{}) } diff --git a/sdk/go/talos/machine/disks.go b/sdk/go/talos/machine/disks.go deleted file mode 100644 index f5c2b9f..0000000 --- a/sdk/go/talos/machine/disks.go +++ /dev/null @@ -1,175 +0,0 @@ -// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. -// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** - -package machine - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" -) - -// Generate a machine configuration for a node type -// -// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine" -// -// ) -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// thisSecrets, err := machine.NewSecrets(ctx, "thisSecrets", nil) -// if err != nil { -// return err -// } -// thisDisks := machine.DisksOutput(ctx, machine.DisksOutputArgs{ -// ClientConfiguration: thisSecrets.ClientConfiguration, -// Node: pulumi.String("10.5.0.2"), -// Filters: &machine.DisksFiltersArgs{ -// Size: pulumi.String("> 100GB"), -// Type: pulumi.String("nvme"), -// }, -// }, nil); -// ctx.Export("nvmeDisks", thisDisks.ApplyT(func(thisDisks machine.DisksResult) ([]*string, error) { -// var splat0 []*string -// for _, val0 := range thisDisks.Disks { -// splat0 = append(splat0, val0.Name) -// } -// return splat0, nil -// }).(pulumi.[]*stringOutput)) -// return nil -// }) -// } -// ``` -func Disks(ctx *pulumi.Context, args *DisksArgs, opts ...pulumi.InvokeOption) (*DisksResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv DisksResult - err := ctx.Invoke("talos:machine/disks:Disks", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking Disks. -type DisksArgs struct { - // The client configuration data - ClientConfiguration DisksClientConfiguration `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint *string `pulumi:"endpoint"` - // Filters to apply to the disks - Filters *DisksFilters `pulumi:"filters"` - // controlplane node to retrieve the kubeconfig from - Node string `pulumi:"node"` - Timeouts *DisksTimeouts `pulumi:"timeouts"` -} - -// A collection of values returned by Disks. -type DisksResult struct { - // The client configuration data - ClientConfiguration DisksClientConfiguration `pulumi:"clientConfiguration"` - // The disks that match the filters - Disks []DisksDisk `pulumi:"disks"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint string `pulumi:"endpoint"` - // Filters to apply to the disks - Filters *DisksFilters `pulumi:"filters"` - // The generated ID of this resource - Id string `pulumi:"id"` - // controlplane node to retrieve the kubeconfig from - Node string `pulumi:"node"` - Timeouts *DisksTimeouts `pulumi:"timeouts"` -} - -func DisksOutput(ctx *pulumi.Context, args DisksOutputArgs, opts ...pulumi.InvokeOption) DisksResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (DisksResult, error) { - args := v.(DisksArgs) - r, err := Disks(ctx, &args, opts...) - var s DisksResult - if r != nil { - s = *r - } - return s, err - }).(DisksResultOutput) -} - -// A collection of arguments for invoking Disks. -type DisksOutputArgs struct { - // The client configuration data - ClientConfiguration DisksClientConfigurationInput `pulumi:"clientConfiguration"` - // endpoint to use for the talosclient. If not set, the node value will be used - Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // Filters to apply to the disks - Filters DisksFiltersPtrInput `pulumi:"filters"` - // controlplane node to retrieve the kubeconfig from - Node pulumi.StringInput `pulumi:"node"` - Timeouts DisksTimeoutsPtrInput `pulumi:"timeouts"` -} - -func (DisksOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DisksArgs)(nil)).Elem() -} - -// A collection of values returned by Disks. -type DisksResultOutput struct{ *pulumi.OutputState } - -func (DisksResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DisksResult)(nil)).Elem() -} - -func (o DisksResultOutput) ToDisksResultOutput() DisksResultOutput { - return o -} - -func (o DisksResultOutput) ToDisksResultOutputWithContext(ctx context.Context) DisksResultOutput { - return o -} - -// The client configuration data -func (o DisksResultOutput) ClientConfiguration() DisksClientConfigurationOutput { - return o.ApplyT(func(v DisksResult) DisksClientConfiguration { return v.ClientConfiguration }).(DisksClientConfigurationOutput) -} - -// The disks that match the filters -func (o DisksResultOutput) Disks() DisksDiskArrayOutput { - return o.ApplyT(func(v DisksResult) []DisksDisk { return v.Disks }).(DisksDiskArrayOutput) -} - -// endpoint to use for the talosclient. If not set, the node value will be used -func (o DisksResultOutput) Endpoint() pulumi.StringOutput { - return o.ApplyT(func(v DisksResult) string { return v.Endpoint }).(pulumi.StringOutput) -} - -// Filters to apply to the disks -func (o DisksResultOutput) Filters() DisksFiltersPtrOutput { - return o.ApplyT(func(v DisksResult) *DisksFilters { return v.Filters }).(DisksFiltersPtrOutput) -} - -// The generated ID of this resource -func (o DisksResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v DisksResult) string { return v.Id }).(pulumi.StringOutput) -} - -// controlplane node to retrieve the kubeconfig from -func (o DisksResultOutput) Node() pulumi.StringOutput { - return o.ApplyT(func(v DisksResult) string { return v.Node }).(pulumi.StringOutput) -} - -func (o DisksResultOutput) Timeouts() DisksTimeoutsPtrOutput { - return o.ApplyT(func(v DisksResult) *DisksTimeouts { return v.Timeouts }).(DisksTimeoutsPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(DisksResultOutput{}) -} diff --git a/sdk/go/talos/machine/getDisks.go b/sdk/go/talos/machine/getDisks.go new file mode 100644 index 0000000..ba752fb --- /dev/null +++ b/sdk/go/talos/machine/getDisks.go @@ -0,0 +1,175 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package machine + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-talos/sdk/go/talos/internal" +) + +// Generate a machine configuration for a node type +// +// > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// "github.com/pulumiverse/pulumi-talos/sdk/go/talos/machine" +// +// ) +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// thisSecrets, err := machine.NewSecrets(ctx, "thisSecrets", nil) +// if err != nil { +// return err +// } +// thisDisks := machine.GetDisksOutput(ctx, machine.GetDisksOutputArgs{ +// ClientConfiguration: thisSecrets.ClientConfiguration, +// Node: pulumi.String("10.5.0.2"), +// Filters: &machine.GetDisksFiltersArgs{ +// Size: pulumi.String("> 100GB"), +// Type: pulumi.String("nvme"), +// }, +// }, nil); +// ctx.Export("nvmeDisks", thisDisks.ApplyT(func(thisDisks machine.GetDisksResult) ([]*string, error) { +// var splat0 []*string +// for _, val0 := range thisDisks.Disks { +// splat0 = append(splat0, val0.Name) +// } +// return splat0, nil +// }).(pulumi.[]*stringOutput)) +// return nil +// }) +// } +// ``` +func GetDisks(ctx *pulumi.Context, args *GetDisksArgs, opts ...pulumi.InvokeOption) (*GetDisksResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDisksResult + err := ctx.Invoke("talos:machine/getDisks:getDisks", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDisks. +type GetDisksArgs struct { + // The client configuration data + ClientConfiguration GetDisksClientConfiguration `pulumi:"clientConfiguration"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint *string `pulumi:"endpoint"` + // Filters to apply to the disks + Filters *GetDisksFilters `pulumi:"filters"` + // controlplane node to retrieve the kubeconfig from + Node string `pulumi:"node"` + Timeouts *GetDisksTimeouts `pulumi:"timeouts"` +} + +// A collection of values returned by getDisks. +type GetDisksResult struct { + // The client configuration data + ClientConfiguration GetDisksClientConfiguration `pulumi:"clientConfiguration"` + // The disks that match the filters + Disks []GetDisksDisk `pulumi:"disks"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint string `pulumi:"endpoint"` + // Filters to apply to the disks + Filters *GetDisksFilters `pulumi:"filters"` + // The generated ID of this resource + Id string `pulumi:"id"` + // controlplane node to retrieve the kubeconfig from + Node string `pulumi:"node"` + Timeouts *GetDisksTimeouts `pulumi:"timeouts"` +} + +func GetDisksOutput(ctx *pulumi.Context, args GetDisksOutputArgs, opts ...pulumi.InvokeOption) GetDisksResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDisksResult, error) { + args := v.(GetDisksArgs) + r, err := GetDisks(ctx, &args, opts...) + var s GetDisksResult + if r != nil { + s = *r + } + return s, err + }).(GetDisksResultOutput) +} + +// A collection of arguments for invoking getDisks. +type GetDisksOutputArgs struct { + // The client configuration data + ClientConfiguration GetDisksClientConfigurationInput `pulumi:"clientConfiguration"` + // endpoint to use for the talosclient. If not set, the node value will be used + Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` + // Filters to apply to the disks + Filters GetDisksFiltersPtrInput `pulumi:"filters"` + // controlplane node to retrieve the kubeconfig from + Node pulumi.StringInput `pulumi:"node"` + Timeouts GetDisksTimeoutsPtrInput `pulumi:"timeouts"` +} + +func (GetDisksOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksArgs)(nil)).Elem() +} + +// A collection of values returned by getDisks. +type GetDisksResultOutput struct{ *pulumi.OutputState } + +func (GetDisksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksResult)(nil)).Elem() +} + +func (o GetDisksResultOutput) ToGetDisksResultOutput() GetDisksResultOutput { + return o +} + +func (o GetDisksResultOutput) ToGetDisksResultOutputWithContext(ctx context.Context) GetDisksResultOutput { + return o +} + +// The client configuration data +func (o GetDisksResultOutput) ClientConfiguration() GetDisksClientConfigurationOutput { + return o.ApplyT(func(v GetDisksResult) GetDisksClientConfiguration { return v.ClientConfiguration }).(GetDisksClientConfigurationOutput) +} + +// The disks that match the filters +func (o GetDisksResultOutput) Disks() GetDisksDiskArrayOutput { + return o.ApplyT(func(v GetDisksResult) []GetDisksDisk { return v.Disks }).(GetDisksDiskArrayOutput) +} + +// endpoint to use for the talosclient. If not set, the node value will be used +func (o GetDisksResultOutput) Endpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksResult) string { return v.Endpoint }).(pulumi.StringOutput) +} + +// Filters to apply to the disks +func (o GetDisksResultOutput) Filters() GetDisksFiltersPtrOutput { + return o.ApplyT(func(v GetDisksResult) *GetDisksFilters { return v.Filters }).(GetDisksFiltersPtrOutput) +} + +// The generated ID of this resource +func (o GetDisksResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksResult) string { return v.Id }).(pulumi.StringOutput) +} + +// controlplane node to retrieve the kubeconfig from +func (o GetDisksResultOutput) Node() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksResult) string { return v.Node }).(pulumi.StringOutput) +} + +func (o GetDisksResultOutput) Timeouts() GetDisksTimeoutsPtrOutput { + return o.ApplyT(func(v GetDisksResult) *GetDisksTimeouts { return v.Timeouts }).(GetDisksTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDisksResultOutput{}) +} diff --git a/sdk/go/talos/machine/pulumiTypes.go b/sdk/go/talos/machine/pulumiTypes.go index 2bc2ee1..42353b7 100644 --- a/sdk/go/talos/machine/pulumiTypes.go +++ b/sdk/go/talos/machine/pulumiTypes.go @@ -500,1286 +500,1070 @@ func (o ConfigurationApplyClientConfigurationPtrOutput) ClientKey() pulumi.Strin }).(pulumi.StringPtrOutput) } -type DisksClientConfiguration struct { +type SecretsClientConfiguration struct { // The client CA certificate - CaCertificate string `pulumi:"caCertificate"` + CaCertificate *string `pulumi:"caCertificate"` // The client certificate - ClientCertificate string `pulumi:"clientCertificate"` + ClientCertificate *string `pulumi:"clientCertificate"` // The client key - ClientKey string `pulumi:"clientKey"` + ClientKey *string `pulumi:"clientKey"` } -// DisksClientConfigurationInput is an input type that accepts DisksClientConfigurationArgs and DisksClientConfigurationOutput values. -// You can construct a concrete instance of `DisksClientConfigurationInput` via: +// SecretsClientConfigurationInput is an input type that accepts SecretsClientConfigurationArgs and SecretsClientConfigurationOutput values. +// You can construct a concrete instance of `SecretsClientConfigurationInput` via: // -// DisksClientConfigurationArgs{...} -type DisksClientConfigurationInput interface { +// SecretsClientConfigurationArgs{...} +type SecretsClientConfigurationInput interface { pulumi.Input - ToDisksClientConfigurationOutput() DisksClientConfigurationOutput - ToDisksClientConfigurationOutputWithContext(context.Context) DisksClientConfigurationOutput + ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput + ToSecretsClientConfigurationOutputWithContext(context.Context) SecretsClientConfigurationOutput } -type DisksClientConfigurationArgs struct { +type SecretsClientConfigurationArgs struct { // The client CA certificate - CaCertificate pulumi.StringInput `pulumi:"caCertificate"` + CaCertificate pulumi.StringPtrInput `pulumi:"caCertificate"` // The client certificate - ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"` + ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"` // The client key - ClientKey pulumi.StringInput `pulumi:"clientKey"` + ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` } -func (DisksClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DisksClientConfiguration)(nil)).Elem() +func (SecretsClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsClientConfiguration)(nil)).Elem() } -func (i DisksClientConfigurationArgs) ToDisksClientConfigurationOutput() DisksClientConfigurationOutput { - return i.ToDisksClientConfigurationOutputWithContext(context.Background()) +func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput { + return i.ToSecretsClientConfigurationOutputWithContext(context.Background()) } -func (i DisksClientConfigurationArgs) ToDisksClientConfigurationOutputWithContext(ctx context.Context) DisksClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksClientConfigurationOutput) +func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationOutputWithContext(ctx context.Context) SecretsClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationOutput) } -type DisksClientConfigurationOutput struct{ *pulumi.OutputState } - -func (DisksClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DisksClientConfiguration)(nil)).Elem() +func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { + return i.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) } -func (o DisksClientConfigurationOutput) ToDisksClientConfigurationOutput() DisksClientConfigurationOutput { - return o +func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationOutput).ToSecretsClientConfigurationPtrOutputWithContext(ctx) } -func (o DisksClientConfigurationOutput) ToDisksClientConfigurationOutputWithContext(ctx context.Context) DisksClientConfigurationOutput { - return o -} +// SecretsClientConfigurationPtrInput is an input type that accepts SecretsClientConfigurationArgs, SecretsClientConfigurationPtr and SecretsClientConfigurationPtrOutput values. +// You can construct a concrete instance of `SecretsClientConfigurationPtrInput` via: +// +// SecretsClientConfigurationArgs{...} +// +// or: +// +// nil +type SecretsClientConfigurationPtrInput interface { + pulumi.Input -// The client CA certificate -func (o DisksClientConfigurationOutput) CaCertificate() pulumi.StringOutput { - return o.ApplyT(func(v DisksClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) + ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput + ToSecretsClientConfigurationPtrOutputWithContext(context.Context) SecretsClientConfigurationPtrOutput } -// The client certificate -func (o DisksClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { - return o.ApplyT(func(v DisksClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) -} +type secretsClientConfigurationPtrType SecretsClientConfigurationArgs -// The client key -func (o DisksClientConfigurationOutput) ClientKey() pulumi.StringOutput { - return o.ApplyT(func(v DisksClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) +func SecretsClientConfigurationPtr(v *SecretsClientConfigurationArgs) SecretsClientConfigurationPtrInput { + return (*secretsClientConfigurationPtrType)(v) } -type DisksDisk struct { - // The bus path of the disk - BusPath string `pulumi:"busPath"` - // The modalias of the disk - Modalias string `pulumi:"modalias"` - // The model of the disk - Model string `pulumi:"model"` - // The name of the disk - Name string `pulumi:"name"` - // The serial number of the disk - Serial string `pulumi:"serial"` - // The size of the disk - Size string `pulumi:"size"` - // The type of the disk - Type string `pulumi:"type"` - // The uuid of the disk - Uuid string `pulumi:"uuid"` - // The wwid of the disk - Wwid string `pulumi:"wwid"` +func (*secretsClientConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsClientConfiguration)(nil)).Elem() } -// DisksDiskInput is an input type that accepts DisksDiskArgs and DisksDiskOutput values. -// You can construct a concrete instance of `DisksDiskInput` via: -// -// DisksDiskArgs{...} -type DisksDiskInput interface { - pulumi.Input - - ToDisksDiskOutput() DisksDiskOutput - ToDisksDiskOutputWithContext(context.Context) DisksDiskOutput +func (i *secretsClientConfigurationPtrType) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { + return i.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) } -type DisksDiskArgs struct { - // The bus path of the disk - BusPath pulumi.StringInput `pulumi:"busPath"` - // The modalias of the disk - Modalias pulumi.StringInput `pulumi:"modalias"` - // The model of the disk - Model pulumi.StringInput `pulumi:"model"` - // The name of the disk - Name pulumi.StringInput `pulumi:"name"` - // The serial number of the disk - Serial pulumi.StringInput `pulumi:"serial"` - // The size of the disk - Size pulumi.StringInput `pulumi:"size"` - // The type of the disk - Type pulumi.StringInput `pulumi:"type"` - // The uuid of the disk - Uuid pulumi.StringInput `pulumi:"uuid"` - // The wwid of the disk - Wwid pulumi.StringInput `pulumi:"wwid"` +func (i *secretsClientConfigurationPtrType) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationPtrOutput) } -func (DisksDiskArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DisksDisk)(nil)).Elem() -} +type SecretsClientConfigurationOutput struct{ *pulumi.OutputState } -func (i DisksDiskArgs) ToDisksDiskOutput() DisksDiskOutput { - return i.ToDisksDiskOutputWithContext(context.Background()) +func (SecretsClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsClientConfiguration)(nil)).Elem() } -func (i DisksDiskArgs) ToDisksDiskOutputWithContext(ctx context.Context) DisksDiskOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksDiskOutput) +func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput { + return o } -// DisksDiskArrayInput is an input type that accepts DisksDiskArray and DisksDiskArrayOutput values. -// You can construct a concrete instance of `DisksDiskArrayInput` via: -// -// DisksDiskArray{ DisksDiskArgs{...} } -type DisksDiskArrayInput interface { - pulumi.Input +func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationOutputWithContext(ctx context.Context) SecretsClientConfigurationOutput { + return o +} - ToDisksDiskArrayOutput() DisksDiskArrayOutput - ToDisksDiskArrayOutputWithContext(context.Context) DisksDiskArrayOutput +func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { + return o.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) } -type DisksDiskArray []DisksDiskInput +func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsClientConfiguration) *SecretsClientConfiguration { + return &v + }).(SecretsClientConfigurationPtrOutput) +} -func (DisksDiskArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DisksDisk)(nil)).Elem() +// The client CA certificate +func (o SecretsClientConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) } -func (i DisksDiskArray) ToDisksDiskArrayOutput() DisksDiskArrayOutput { - return i.ToDisksDiskArrayOutputWithContext(context.Background()) +// The client certificate +func (o SecretsClientConfigurationOutput) ClientCertificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.ClientCertificate }).(pulumi.StringPtrOutput) } -func (i DisksDiskArray) ToDisksDiskArrayOutputWithContext(ctx context.Context) DisksDiskArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksDiskArrayOutput) +// The client key +func (o SecretsClientConfigurationOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.ClientKey }).(pulumi.StringPtrOutput) } -type DisksDiskOutput struct{ *pulumi.OutputState } +type SecretsClientConfigurationPtrOutput struct{ *pulumi.OutputState } -func (DisksDiskOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DisksDisk)(nil)).Elem() +func (SecretsClientConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsClientConfiguration)(nil)).Elem() } -func (o DisksDiskOutput) ToDisksDiskOutput() DisksDiskOutput { +func (o SecretsClientConfigurationPtrOutput) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { return o } -func (o DisksDiskOutput) ToDisksDiskOutputWithContext(ctx context.Context) DisksDiskOutput { +func (o SecretsClientConfigurationPtrOutput) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { return o } -// The bus path of the disk -func (o DisksDiskOutput) BusPath() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.BusPath }).(pulumi.StringOutput) +func (o SecretsClientConfigurationPtrOutput) Elem() SecretsClientConfigurationOutput { + return o.ApplyT(func(v *SecretsClientConfiguration) SecretsClientConfiguration { + if v != nil { + return *v + } + var ret SecretsClientConfiguration + return ret + }).(SecretsClientConfigurationOutput) } -// The modalias of the disk -func (o DisksDiskOutput) Modalias() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Modalias }).(pulumi.StringOutput) +// The client CA certificate +func (o SecretsClientConfigurationPtrOutput) CaCertificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsClientConfiguration) *string { + if v == nil { + return nil + } + return v.CaCertificate + }).(pulumi.StringPtrOutput) } -// The model of the disk -func (o DisksDiskOutput) Model() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Model }).(pulumi.StringOutput) +// The client certificate +func (o SecretsClientConfigurationPtrOutput) ClientCertificate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsClientConfiguration) *string { + if v == nil { + return nil + } + return v.ClientCertificate + }).(pulumi.StringPtrOutput) } -// The name of the disk -func (o DisksDiskOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Name }).(pulumi.StringOutput) +// The client key +func (o SecretsClientConfigurationPtrOutput) ClientKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsClientConfiguration) *string { + if v == nil { + return nil + } + return v.ClientKey + }).(pulumi.StringPtrOutput) } -// The serial number of the disk -func (o DisksDiskOutput) Serial() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Serial }).(pulumi.StringOutput) +type SecretsMachineSecrets struct { + Certs *SecretsMachineSecretsCerts `pulumi:"certs"` + // The cluster secrets + Cluster *SecretsMachineSecretsCluster `pulumi:"cluster"` + // kubernetes cluster secrets + Secrets *SecretsMachineSecretsSecrets `pulumi:"secrets"` + // trustd secrets + Trustdinfo *SecretsMachineSecretsTrustdinfo `pulumi:"trustdinfo"` } -// The size of the disk -func (o DisksDiskOutput) Size() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Size }).(pulumi.StringOutput) +// SecretsMachineSecretsInput is an input type that accepts SecretsMachineSecretsArgs and SecretsMachineSecretsOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsInput` via: +// +// SecretsMachineSecretsArgs{...} +type SecretsMachineSecretsInput interface { + pulumi.Input + + ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput + ToSecretsMachineSecretsOutputWithContext(context.Context) SecretsMachineSecretsOutput } -// The type of the disk -func (o DisksDiskOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Type }).(pulumi.StringOutput) +type SecretsMachineSecretsArgs struct { + Certs SecretsMachineSecretsCertsPtrInput `pulumi:"certs"` + // The cluster secrets + Cluster SecretsMachineSecretsClusterPtrInput `pulumi:"cluster"` + // kubernetes cluster secrets + Secrets SecretsMachineSecretsSecretsPtrInput `pulumi:"secrets"` + // trustd secrets + Trustdinfo SecretsMachineSecretsTrustdinfoPtrInput `pulumi:"trustdinfo"` } -// The uuid of the disk -func (o DisksDiskOutput) Uuid() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Uuid }).(pulumi.StringOutput) +func (SecretsMachineSecretsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecrets)(nil)).Elem() } -// The wwid of the disk -func (o DisksDiskOutput) Wwid() pulumi.StringOutput { - return o.ApplyT(func(v DisksDisk) string { return v.Wwid }).(pulumi.StringOutput) +func (i SecretsMachineSecretsArgs) ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput { + return i.ToSecretsMachineSecretsOutputWithContext(context.Background()) } -type DisksDiskArrayOutput struct{ *pulumi.OutputState } +func (i SecretsMachineSecretsArgs) ToSecretsMachineSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsOutput) +} + +type SecretsMachineSecretsOutput struct{ *pulumi.OutputState } -func (DisksDiskArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DisksDisk)(nil)).Elem() +func (SecretsMachineSecretsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecrets)(nil)).Elem() } -func (o DisksDiskArrayOutput) ToDisksDiskArrayOutput() DisksDiskArrayOutput { +func (o SecretsMachineSecretsOutput) ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput { return o } -func (o DisksDiskArrayOutput) ToDisksDiskArrayOutputWithContext(ctx context.Context) DisksDiskArrayOutput { +func (o SecretsMachineSecretsOutput) ToSecretsMachineSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsOutput { return o } -func (o DisksDiskArrayOutput) Index(i pulumi.IntInput) DisksDiskOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DisksDisk { - return vs[0].([]DisksDisk)[vs[1].(int)] - }).(DisksDiskOutput) +func (o SecretsMachineSecretsOutput) Certs() SecretsMachineSecretsCertsPtrOutput { + return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsCerts { return v.Certs }).(SecretsMachineSecretsCertsPtrOutput) } -type DisksFilters struct { - // Filter disks by bus path - BusPath *string `pulumi:"busPath"` - // Filter disks by modalias - Modalias *string `pulumi:"modalias"` - // Filter disks by model - Model *string `pulumi:"model"` - // Filter disks by name - Name *string `pulumi:"name"` - // Filter disks by serial number - Serial *string `pulumi:"serial"` - // Filter disks by size - Size *string `pulumi:"size"` - // Filter disks by type - Type *string `pulumi:"type"` - // Filter disks by uuid - Uuid *string `pulumi:"uuid"` - // Filter disks by wwid - Wwid *string `pulumi:"wwid"` +// The cluster secrets +func (o SecretsMachineSecretsOutput) Cluster() SecretsMachineSecretsClusterPtrOutput { + return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsCluster { return v.Cluster }).(SecretsMachineSecretsClusterPtrOutput) } -// DisksFiltersInput is an input type that accepts DisksFiltersArgs and DisksFiltersOutput values. -// You can construct a concrete instance of `DisksFiltersInput` via: -// -// DisksFiltersArgs{...} -type DisksFiltersInput interface { - pulumi.Input +// kubernetes cluster secrets +func (o SecretsMachineSecretsOutput) Secrets() SecretsMachineSecretsSecretsPtrOutput { + return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsSecrets { return v.Secrets }).(SecretsMachineSecretsSecretsPtrOutput) +} - ToDisksFiltersOutput() DisksFiltersOutput - ToDisksFiltersOutputWithContext(context.Context) DisksFiltersOutput +// trustd secrets +func (o SecretsMachineSecretsOutput) Trustdinfo() SecretsMachineSecretsTrustdinfoPtrOutput { + return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsTrustdinfo { return v.Trustdinfo }).(SecretsMachineSecretsTrustdinfoPtrOutput) } -type DisksFiltersArgs struct { - // Filter disks by bus path - BusPath pulumi.StringPtrInput `pulumi:"busPath"` - // Filter disks by modalias - Modalias pulumi.StringPtrInput `pulumi:"modalias"` - // Filter disks by model - Model pulumi.StringPtrInput `pulumi:"model"` - // Filter disks by name - Name pulumi.StringPtrInput `pulumi:"name"` - // Filter disks by serial number - Serial pulumi.StringPtrInput `pulumi:"serial"` - // Filter disks by size - Size pulumi.StringPtrInput `pulumi:"size"` - // Filter disks by type - Type pulumi.StringPtrInput `pulumi:"type"` - // Filter disks by uuid - Uuid pulumi.StringPtrInput `pulumi:"uuid"` - // Filter disks by wwid - Wwid pulumi.StringPtrInput `pulumi:"wwid"` +type SecretsMachineSecretsCerts struct { + // The certificate and key pair + Etcd *SecretsMachineSecretsCertsEtcd `pulumi:"etcd"` + // The certificate and key pair + K8s *SecretsMachineSecretsCertsK8s `pulumi:"k8s"` + // The certificate and key pair + K8sAggregator *SecretsMachineSecretsCertsK8sAggregator `pulumi:"k8sAggregator"` + // The service account secrets + K8sServiceaccount *SecretsMachineSecretsCertsK8sServiceaccount `pulumi:"k8sServiceaccount"` + // The certificate and key pair + Os *SecretsMachineSecretsCertsOs `pulumi:"os"` +} + +// SecretsMachineSecretsCertsInput is an input type that accepts SecretsMachineSecretsCertsArgs and SecretsMachineSecretsCertsOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsInput` via: +// +// SecretsMachineSecretsCertsArgs{...} +type SecretsMachineSecretsCertsInput interface { + pulumi.Input + + ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput + ToSecretsMachineSecretsCertsOutputWithContext(context.Context) SecretsMachineSecretsCertsOutput +} + +type SecretsMachineSecretsCertsArgs struct { + // The certificate and key pair + Etcd SecretsMachineSecretsCertsEtcdPtrInput `pulumi:"etcd"` + // The certificate and key pair + K8s SecretsMachineSecretsCertsK8sPtrInput `pulumi:"k8s"` + // The certificate and key pair + K8sAggregator SecretsMachineSecretsCertsK8sAggregatorPtrInput `pulumi:"k8sAggregator"` + // The service account secrets + K8sServiceaccount SecretsMachineSecretsCertsK8sServiceaccountPtrInput `pulumi:"k8sServiceaccount"` + // The certificate and key pair + Os SecretsMachineSecretsCertsOsPtrInput `pulumi:"os"` } -func (DisksFiltersArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DisksFilters)(nil)).Elem() +func (SecretsMachineSecretsCertsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCerts)(nil)).Elem() } -func (i DisksFiltersArgs) ToDisksFiltersOutput() DisksFiltersOutput { - return i.ToDisksFiltersOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput { + return i.ToSecretsMachineSecretsCertsOutputWithContext(context.Background()) } -func (i DisksFiltersArgs) ToDisksFiltersOutputWithContext(ctx context.Context) DisksFiltersOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksFiltersOutput) +func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOutput) } -func (i DisksFiltersArgs) ToDisksFiltersPtrOutput() DisksFiltersPtrOutput { - return i.ToDisksFiltersPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { + return i.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) } -func (i DisksFiltersArgs) ToDisksFiltersPtrOutputWithContext(ctx context.Context) DisksFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksFiltersOutput).ToDisksFiltersPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOutput).ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx) } -// DisksFiltersPtrInput is an input type that accepts DisksFiltersArgs, DisksFiltersPtr and DisksFiltersPtrOutput values. -// You can construct a concrete instance of `DisksFiltersPtrInput` via: +// SecretsMachineSecretsCertsPtrInput is an input type that accepts SecretsMachineSecretsCertsArgs, SecretsMachineSecretsCertsPtr and SecretsMachineSecretsCertsPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsPtrInput` via: // -// DisksFiltersArgs{...} +// SecretsMachineSecretsCertsArgs{...} // // or: // // nil -type DisksFiltersPtrInput interface { +type SecretsMachineSecretsCertsPtrInput interface { pulumi.Input - ToDisksFiltersPtrOutput() DisksFiltersPtrOutput - ToDisksFiltersPtrOutputWithContext(context.Context) DisksFiltersPtrOutput + ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput + ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsPtrOutput } -type disksFiltersPtrType DisksFiltersArgs +type secretsMachineSecretsCertsPtrType SecretsMachineSecretsCertsArgs -func DisksFiltersPtr(v *DisksFiltersArgs) DisksFiltersPtrInput { - return (*disksFiltersPtrType)(v) +func SecretsMachineSecretsCertsPtr(v *SecretsMachineSecretsCertsArgs) SecretsMachineSecretsCertsPtrInput { + return (*secretsMachineSecretsCertsPtrType)(v) } -func (*disksFiltersPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DisksFilters)(nil)).Elem() +func (*secretsMachineSecretsCertsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCerts)(nil)).Elem() } -func (i *disksFiltersPtrType) ToDisksFiltersPtrOutput() DisksFiltersPtrOutput { - return i.ToDisksFiltersPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsPtrType) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { + return i.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) } -func (i *disksFiltersPtrType) ToDisksFiltersPtrOutputWithContext(ctx context.Context) DisksFiltersPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksFiltersPtrOutput) +func (i *secretsMachineSecretsCertsPtrType) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsPtrOutput) } -type DisksFiltersOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsOutput struct{ *pulumi.OutputState } -func (DisksFiltersOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DisksFilters)(nil)).Elem() +func (SecretsMachineSecretsCertsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCerts)(nil)).Elem() } -func (o DisksFiltersOutput) ToDisksFiltersOutput() DisksFiltersOutput { +func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput { return o } -func (o DisksFiltersOutput) ToDisksFiltersOutputWithContext(ctx context.Context) DisksFiltersOutput { +func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOutput { return o } -func (o DisksFiltersOutput) ToDisksFiltersPtrOutput() DisksFiltersPtrOutput { - return o.ToDisksFiltersPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { + return o.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) } -func (o DisksFiltersOutput) ToDisksFiltersPtrOutputWithContext(ctx context.Context) DisksFiltersPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DisksFilters) *DisksFilters { +func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCerts) *SecretsMachineSecretsCerts { return &v - }).(DisksFiltersPtrOutput) -} - -// Filter disks by bus path -func (o DisksFiltersOutput) BusPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.BusPath }).(pulumi.StringPtrOutput) -} - -// Filter disks by modalias -func (o DisksFiltersOutput) Modalias() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Modalias }).(pulumi.StringPtrOutput) -} - -// Filter disks by model -func (o DisksFiltersOutput) Model() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Model }).(pulumi.StringPtrOutput) -} - -// Filter disks by name -func (o DisksFiltersOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Name }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsPtrOutput) } -// Filter disks by serial number -func (o DisksFiltersOutput) Serial() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Serial }).(pulumi.StringPtrOutput) +// The certificate and key pair +func (o SecretsMachineSecretsCertsOutput) Etcd() SecretsMachineSecretsCertsEtcdPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsEtcd { return v.Etcd }).(SecretsMachineSecretsCertsEtcdPtrOutput) } -// Filter disks by size -func (o DisksFiltersOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Size }).(pulumi.StringPtrOutput) +// The certificate and key pair +func (o SecretsMachineSecretsCertsOutput) K8s() SecretsMachineSecretsCertsK8sPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8s { return v.K8s }).(SecretsMachineSecretsCertsK8sPtrOutput) } -// Filter disks by type -func (o DisksFiltersOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Type }).(pulumi.StringPtrOutput) +// The certificate and key pair +func (o SecretsMachineSecretsCertsOutput) K8sAggregator() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sAggregator { return v.K8sAggregator }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -// Filter disks by uuid -func (o DisksFiltersOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Uuid }).(pulumi.StringPtrOutput) +// The service account secrets +func (o SecretsMachineSecretsCertsOutput) K8sServiceaccount() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sServiceaccount { + return v.K8sServiceaccount + }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } -// Filter disks by wwid -func (o DisksFiltersOutput) Wwid() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksFilters) *string { return v.Wwid }).(pulumi.StringPtrOutput) +// The certificate and key pair +func (o SecretsMachineSecretsCertsOutput) Os() SecretsMachineSecretsCertsOsPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsOs { return v.Os }).(SecretsMachineSecretsCertsOsPtrOutput) } -type DisksFiltersPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsPtrOutput struct{ *pulumi.OutputState } -func (DisksFiltersPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DisksFilters)(nil)).Elem() +func (SecretsMachineSecretsCertsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCerts)(nil)).Elem() } -func (o DisksFiltersPtrOutput) ToDisksFiltersPtrOutput() DisksFiltersPtrOutput { +func (o SecretsMachineSecretsCertsPtrOutput) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { return o } -func (o DisksFiltersPtrOutput) ToDisksFiltersPtrOutputWithContext(ctx context.Context) DisksFiltersPtrOutput { +func (o SecretsMachineSecretsCertsPtrOutput) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { return o } -func (o DisksFiltersPtrOutput) Elem() DisksFiltersOutput { - return o.ApplyT(func(v *DisksFilters) DisksFilters { +func (o SecretsMachineSecretsCertsPtrOutput) Elem() SecretsMachineSecretsCertsOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) SecretsMachineSecretsCerts { if v != nil { return *v } - var ret DisksFilters + var ret SecretsMachineSecretsCerts return ret - }).(DisksFiltersOutput) -} - -// Filter disks by bus path -func (o DisksFiltersPtrOutput) BusPath() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { - if v == nil { - return nil - } - return v.BusPath - }).(pulumi.StringPtrOutput) -} - -// Filter disks by modalias -func (o DisksFiltersPtrOutput) Modalias() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { - if v == nil { - return nil - } - return v.Modalias - }).(pulumi.StringPtrOutput) -} - -// Filter disks by model -func (o DisksFiltersPtrOutput) Model() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { - if v == nil { - return nil - } - return v.Model - }).(pulumi.StringPtrOutput) -} - -// Filter disks by name -func (o DisksFiltersPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { - if v == nil { - return nil - } - return v.Name - }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsOutput) } -// Filter disks by serial number -func (o DisksFiltersPtrOutput) Serial() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { +// The certificate and key pair +func (o SecretsMachineSecretsCertsPtrOutput) Etcd() SecretsMachineSecretsCertsEtcdPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsEtcd { if v == nil { return nil } - return v.Serial - }).(pulumi.StringPtrOutput) + return v.Etcd + }).(SecretsMachineSecretsCertsEtcdPtrOutput) } -// Filter disks by size -func (o DisksFiltersPtrOutput) Size() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { +// The certificate and key pair +func (o SecretsMachineSecretsCertsPtrOutput) K8s() SecretsMachineSecretsCertsK8sPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8s { if v == nil { return nil } - return v.Size - }).(pulumi.StringPtrOutput) + return v.K8s + }).(SecretsMachineSecretsCertsK8sPtrOutput) } -// Filter disks by type -func (o DisksFiltersPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { +// The certificate and key pair +func (o SecretsMachineSecretsCertsPtrOutput) K8sAggregator() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sAggregator { if v == nil { return nil } - return v.Type - }).(pulumi.StringPtrOutput) + return v.K8sAggregator + }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -// Filter disks by uuid -func (o DisksFiltersPtrOutput) Uuid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { +// The service account secrets +func (o SecretsMachineSecretsCertsPtrOutput) K8sServiceaccount() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sServiceaccount { if v == nil { return nil } - return v.Uuid - }).(pulumi.StringPtrOutput) + return v.K8sServiceaccount + }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } -// Filter disks by wwid -func (o DisksFiltersPtrOutput) Wwid() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksFilters) *string { +// The certificate and key pair +func (o SecretsMachineSecretsCertsPtrOutput) Os() SecretsMachineSecretsCertsOsPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsOs { if v == nil { return nil } - return v.Wwid - }).(pulumi.StringPtrOutput) + return v.Os + }).(SecretsMachineSecretsCertsOsPtrOutput) } -type DisksTimeouts struct { - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. - Read *string `pulumi:"read"` +type SecretsMachineSecretsCertsEtcd struct { + // certificate data + Cert *string `pulumi:"cert"` + // key data + Key *string `pulumi:"key"` } -// DisksTimeoutsInput is an input type that accepts DisksTimeoutsArgs and DisksTimeoutsOutput values. -// You can construct a concrete instance of `DisksTimeoutsInput` via: +// SecretsMachineSecretsCertsEtcdInput is an input type that accepts SecretsMachineSecretsCertsEtcdArgs and SecretsMachineSecretsCertsEtcdOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsEtcdInput` via: // -// DisksTimeoutsArgs{...} -type DisksTimeoutsInput interface { +// SecretsMachineSecretsCertsEtcdArgs{...} +type SecretsMachineSecretsCertsEtcdInput interface { pulumi.Input - ToDisksTimeoutsOutput() DisksTimeoutsOutput - ToDisksTimeoutsOutputWithContext(context.Context) DisksTimeoutsOutput + ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput + ToSecretsMachineSecretsCertsEtcdOutputWithContext(context.Context) SecretsMachineSecretsCertsEtcdOutput } -type DisksTimeoutsArgs struct { - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. - Read pulumi.StringPtrInput `pulumi:"read"` +type SecretsMachineSecretsCertsEtcdArgs struct { + // certificate data + Cert pulumi.StringPtrInput `pulumi:"cert"` + // key data + Key pulumi.StringPtrInput `pulumi:"key"` } -func (DisksTimeoutsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DisksTimeouts)(nil)).Elem() +func (SecretsMachineSecretsCertsEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsEtcd)(nil)).Elem() } -func (i DisksTimeoutsArgs) ToDisksTimeoutsOutput() DisksTimeoutsOutput { - return i.ToDisksTimeoutsOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput { + return i.ToSecretsMachineSecretsCertsEtcdOutputWithContext(context.Background()) } -func (i DisksTimeoutsArgs) ToDisksTimeoutsOutputWithContext(ctx context.Context) DisksTimeoutsOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksTimeoutsOutput) +func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdOutput) } -func (i DisksTimeoutsArgs) ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput { - return i.ToDisksTimeoutsPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { + return i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) } -func (i DisksTimeoutsArgs) ToDisksTimeoutsPtrOutputWithContext(ctx context.Context) DisksTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksTimeoutsOutput).ToDisksTimeoutsPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdOutput).ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx) } -// DisksTimeoutsPtrInput is an input type that accepts DisksTimeoutsArgs, DisksTimeoutsPtr and DisksTimeoutsPtrOutput values. -// You can construct a concrete instance of `DisksTimeoutsPtrInput` via: +// SecretsMachineSecretsCertsEtcdPtrInput is an input type that accepts SecretsMachineSecretsCertsEtcdArgs, SecretsMachineSecretsCertsEtcdPtr and SecretsMachineSecretsCertsEtcdPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsEtcdPtrInput` via: // -// DisksTimeoutsArgs{...} +// SecretsMachineSecretsCertsEtcdArgs{...} // // or: // // nil -type DisksTimeoutsPtrInput interface { +type SecretsMachineSecretsCertsEtcdPtrInput interface { pulumi.Input - ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput - ToDisksTimeoutsPtrOutputWithContext(context.Context) DisksTimeoutsPtrOutput + ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput + ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsEtcdPtrOutput } -type disksTimeoutsPtrType DisksTimeoutsArgs +type secretsMachineSecretsCertsEtcdPtrType SecretsMachineSecretsCertsEtcdArgs -func DisksTimeoutsPtr(v *DisksTimeoutsArgs) DisksTimeoutsPtrInput { - return (*disksTimeoutsPtrType)(v) +func SecretsMachineSecretsCertsEtcdPtr(v *SecretsMachineSecretsCertsEtcdArgs) SecretsMachineSecretsCertsEtcdPtrInput { + return (*secretsMachineSecretsCertsEtcdPtrType)(v) } -func (*disksTimeoutsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**DisksTimeouts)(nil)).Elem() +func (*secretsMachineSecretsCertsEtcdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsEtcd)(nil)).Elem() } -func (i *disksTimeoutsPtrType) ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput { - return i.ToDisksTimeoutsPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsEtcdPtrType) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { + return i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) } -func (i *disksTimeoutsPtrType) ToDisksTimeoutsPtrOutputWithContext(ctx context.Context) DisksTimeoutsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(DisksTimeoutsPtrOutput) +func (i *secretsMachineSecretsCertsEtcdPtrType) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdPtrOutput) } -type DisksTimeoutsOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } -func (DisksTimeoutsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DisksTimeouts)(nil)).Elem() +func (SecretsMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsEtcd)(nil)).Elem() } -func (o DisksTimeoutsOutput) ToDisksTimeoutsOutput() DisksTimeoutsOutput { +func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput { return o } -func (o DisksTimeoutsOutput) ToDisksTimeoutsOutputWithContext(ctx context.Context) DisksTimeoutsOutput { +func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdOutput { return o } -func (o DisksTimeoutsOutput) ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput { - return o.ToDisksTimeoutsPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { + return o.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) } -func (o DisksTimeoutsOutput) ToDisksTimeoutsPtrOutputWithContext(ctx context.Context) DisksTimeoutsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v DisksTimeouts) *DisksTimeouts { +func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsEtcd) *SecretsMachineSecretsCertsEtcd { return &v - }).(DisksTimeoutsPtrOutput) + }).(SecretsMachineSecretsCertsEtcdPtrOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o DisksTimeoutsOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v DisksTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +// certificate data +func (o SecretsMachineSecretsCertsEtcdOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) +} + +// key data +func (o SecretsMachineSecretsCertsEtcdOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) } -type DisksTimeoutsPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsEtcdPtrOutput struct{ *pulumi.OutputState } -func (DisksTimeoutsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**DisksTimeouts)(nil)).Elem() +func (SecretsMachineSecretsCertsEtcdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsEtcd)(nil)).Elem() } -func (o DisksTimeoutsPtrOutput) ToDisksTimeoutsPtrOutput() DisksTimeoutsPtrOutput { +func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { return o } -func (o DisksTimeoutsPtrOutput) ToDisksTimeoutsPtrOutputWithContext(ctx context.Context) DisksTimeoutsPtrOutput { +func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { return o } -func (o DisksTimeoutsPtrOutput) Elem() DisksTimeoutsOutput { - return o.ApplyT(func(v *DisksTimeouts) DisksTimeouts { +func (o SecretsMachineSecretsCertsEtcdPtrOutput) Elem() SecretsMachineSecretsCertsEtcdOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) SecretsMachineSecretsCertsEtcd { if v != nil { return *v } - var ret DisksTimeouts + var ret SecretsMachineSecretsCertsEtcd return ret - }).(DisksTimeoutsOutput) + }).(SecretsMachineSecretsCertsEtcdOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. -func (o DisksTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DisksTimeouts) *string { +// certificate data +func (o SecretsMachineSecretsCertsEtcdPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) *string { if v == nil { return nil } - return v.Read + return v.Cert }).(pulumi.StringPtrOutput) } -type SecretsClientConfiguration struct { - // The client CA certificate - CaCertificate *string `pulumi:"caCertificate"` - // The client certificate - ClientCertificate *string `pulumi:"clientCertificate"` - // The client key - ClientKey *string `pulumi:"clientKey"` +// key data +func (o SecretsMachineSecretsCertsEtcdPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) *string { + if v == nil { + return nil + } + return v.Key + }).(pulumi.StringPtrOutput) } -// SecretsClientConfigurationInput is an input type that accepts SecretsClientConfigurationArgs and SecretsClientConfigurationOutput values. -// You can construct a concrete instance of `SecretsClientConfigurationInput` via: +type SecretsMachineSecretsCertsK8s struct { + // certificate data + Cert *string `pulumi:"cert"` + // key data + Key *string `pulumi:"key"` +} + +// SecretsMachineSecretsCertsK8sInput is an input type that accepts SecretsMachineSecretsCertsK8sArgs and SecretsMachineSecretsCertsK8sOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sInput` via: // -// SecretsClientConfigurationArgs{...} -type SecretsClientConfigurationInput interface { +// SecretsMachineSecretsCertsK8sArgs{...} +type SecretsMachineSecretsCertsK8sInput interface { pulumi.Input - ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput - ToSecretsClientConfigurationOutputWithContext(context.Context) SecretsClientConfigurationOutput + ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput + ToSecretsMachineSecretsCertsK8sOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sOutput } -type SecretsClientConfigurationArgs struct { - // The client CA certificate - CaCertificate pulumi.StringPtrInput `pulumi:"caCertificate"` - // The client certificate - ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"` - // The client key - ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` +type SecretsMachineSecretsCertsK8sArgs struct { + // certificate data + Cert pulumi.StringPtrInput `pulumi:"cert"` + // key data + Key pulumi.StringPtrInput `pulumi:"key"` } -func (SecretsClientConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsClientConfiguration)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8s)(nil)).Elem() } -func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput { - return i.ToSecretsClientConfigurationOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput { + return i.ToSecretsMachineSecretsCertsK8sOutputWithContext(context.Background()) } -func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationOutputWithContext(ctx context.Context) SecretsClientConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationOutput) +func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sOutput) } -func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { - return i.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) } -func (i SecretsClientConfigurationArgs) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationOutput).ToSecretsClientConfigurationPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sOutput).ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx) } -// SecretsClientConfigurationPtrInput is an input type that accepts SecretsClientConfigurationArgs, SecretsClientConfigurationPtr and SecretsClientConfigurationPtrOutput values. -// You can construct a concrete instance of `SecretsClientConfigurationPtrInput` via: +// SecretsMachineSecretsCertsK8sPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sArgs, SecretsMachineSecretsCertsK8sPtr and SecretsMachineSecretsCertsK8sPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sPtrInput` via: // -// SecretsClientConfigurationArgs{...} +// SecretsMachineSecretsCertsK8sArgs{...} // // or: // // nil -type SecretsClientConfigurationPtrInput interface { +type SecretsMachineSecretsCertsK8sPtrInput interface { pulumi.Input - ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput - ToSecretsClientConfigurationPtrOutputWithContext(context.Context) SecretsClientConfigurationPtrOutput + ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput + ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sPtrOutput } -type secretsClientConfigurationPtrType SecretsClientConfigurationArgs +type secretsMachineSecretsCertsK8sPtrType SecretsMachineSecretsCertsK8sArgs -func SecretsClientConfigurationPtr(v *SecretsClientConfigurationArgs) SecretsClientConfigurationPtrInput { - return (*secretsClientConfigurationPtrType)(v) +func SecretsMachineSecretsCertsK8sPtr(v *SecretsMachineSecretsCertsK8sArgs) SecretsMachineSecretsCertsK8sPtrInput { + return (*secretsMachineSecretsCertsK8sPtrType)(v) } -func (*secretsClientConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsClientConfiguration)(nil)).Elem() +func (*secretsMachineSecretsCertsK8sPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8s)(nil)).Elem() } -func (i *secretsClientConfigurationPtrType) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { - return i.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsK8sPtrType) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) } -func (i *secretsClientConfigurationPtrType) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsClientConfigurationPtrOutput) +func (i *secretsMachineSecretsCertsK8sPtrType) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sPtrOutput) } -type SecretsClientConfigurationOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } -func (SecretsClientConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsClientConfiguration)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8s)(nil)).Elem() } -func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationOutput() SecretsClientConfigurationOutput { +func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput { return o } -func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationOutputWithContext(ctx context.Context) SecretsClientConfigurationOutput { +func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sOutput { return o } -func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { - return o.ToSecretsClientConfigurationPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { + return o.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) } -func (o SecretsClientConfigurationOutput) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsClientConfiguration) *SecretsClientConfiguration { +func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8s) *SecretsMachineSecretsCertsK8s { return &v - }).(SecretsClientConfigurationPtrOutput) -} - -// The client CA certificate -func (o SecretsClientConfigurationOutput) CaCertificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.CaCertificate }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsK8sPtrOutput) } -// The client certificate -func (o SecretsClientConfigurationOutput) ClientCertificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.ClientCertificate }).(pulumi.StringPtrOutput) +// certificate data +func (o SecretsMachineSecretsCertsK8sOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsK8s) *string { return v.Cert }).(pulumi.StringPtrOutput) } -// The client key -func (o SecretsClientConfigurationOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsClientConfiguration) *string { return v.ClientKey }).(pulumi.StringPtrOutput) +// key data +func (o SecretsMachineSecretsCertsK8sOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsK8s) *string { return v.Key }).(pulumi.StringPtrOutput) } -type SecretsClientConfigurationPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sPtrOutput struct{ *pulumi.OutputState } -func (SecretsClientConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsClientConfiguration)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8s)(nil)).Elem() } -func (o SecretsClientConfigurationPtrOutput) ToSecretsClientConfigurationPtrOutput() SecretsClientConfigurationPtrOutput { +func (o SecretsMachineSecretsCertsK8sPtrOutput) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { return o } -func (o SecretsClientConfigurationPtrOutput) ToSecretsClientConfigurationPtrOutputWithContext(ctx context.Context) SecretsClientConfigurationPtrOutput { +func (o SecretsMachineSecretsCertsK8sPtrOutput) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { return o } -func (o SecretsClientConfigurationPtrOutput) Elem() SecretsClientConfigurationOutput { - return o.ApplyT(func(v *SecretsClientConfiguration) SecretsClientConfiguration { +func (o SecretsMachineSecretsCertsK8sPtrOutput) Elem() SecretsMachineSecretsCertsK8sOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) SecretsMachineSecretsCertsK8s { if v != nil { return *v } - var ret SecretsClientConfiguration + var ret SecretsMachineSecretsCertsK8s return ret - }).(SecretsClientConfigurationOutput) -} - -// The client CA certificate -func (o SecretsClientConfigurationPtrOutput) CaCertificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsClientConfiguration) *string { - if v == nil { - return nil - } - return v.CaCertificate - }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsK8sOutput) } -// The client certificate -func (o SecretsClientConfigurationPtrOutput) ClientCertificate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsClientConfiguration) *string { +// certificate data +func (o SecretsMachineSecretsCertsK8sPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) *string { if v == nil { return nil } - return v.ClientCertificate + return v.Cert }).(pulumi.StringPtrOutput) } -// The client key -func (o SecretsClientConfigurationPtrOutput) ClientKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsClientConfiguration) *string { +// key data +func (o SecretsMachineSecretsCertsK8sPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) *string { if v == nil { return nil } - return v.ClientKey + return v.Key }).(pulumi.StringPtrOutput) } -type SecretsMachineSecrets struct { - Certs *SecretsMachineSecretsCerts `pulumi:"certs"` - // The cluster secrets - Cluster *SecretsMachineSecretsCluster `pulumi:"cluster"` - // kubernetes cluster secrets - Secrets *SecretsMachineSecretsSecrets `pulumi:"secrets"` - // trustd secrets - Trustdinfo *SecretsMachineSecretsTrustdinfo `pulumi:"trustdinfo"` +type SecretsMachineSecretsCertsK8sAggregator struct { + // certificate data + Cert *string `pulumi:"cert"` + // key data + Key *string `pulumi:"key"` } -// SecretsMachineSecretsInput is an input type that accepts SecretsMachineSecretsArgs and SecretsMachineSecretsOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsInput` via: +// SecretsMachineSecretsCertsK8sAggregatorInput is an input type that accepts SecretsMachineSecretsCertsK8sAggregatorArgs and SecretsMachineSecretsCertsK8sAggregatorOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sAggregatorInput` via: // -// SecretsMachineSecretsArgs{...} -type SecretsMachineSecretsInput interface { +// SecretsMachineSecretsCertsK8sAggregatorArgs{...} +type SecretsMachineSecretsCertsK8sAggregatorInput interface { pulumi.Input - ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput - ToSecretsMachineSecretsOutputWithContext(context.Context) SecretsMachineSecretsOutput -} - -type SecretsMachineSecretsArgs struct { - Certs SecretsMachineSecretsCertsPtrInput `pulumi:"certs"` - // The cluster secrets - Cluster SecretsMachineSecretsClusterPtrInput `pulumi:"cluster"` - // kubernetes cluster secrets - Secrets SecretsMachineSecretsSecretsPtrInput `pulumi:"secrets"` - // trustd secrets - Trustdinfo SecretsMachineSecretsTrustdinfoPtrInput `pulumi:"trustdinfo"` -} - -func (SecretsMachineSecretsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecrets)(nil)).Elem() + ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput + ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput } -func (i SecretsMachineSecretsArgs) ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput { - return i.ToSecretsMachineSecretsOutputWithContext(context.Background()) +type SecretsMachineSecretsCertsK8sAggregatorArgs struct { + // certificate data + Cert pulumi.StringPtrInput `pulumi:"cert"` + // key data + Key pulumi.StringPtrInput `pulumi:"key"` } -func (i SecretsMachineSecretsArgs) ToSecretsMachineSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsOutput) +func (SecretsMachineSecretsCertsK8sAggregatorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() } -type SecretsMachineSecretsOutput struct{ *pulumi.OutputState } - -func (SecretsMachineSecretsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecrets)(nil)).Elem() +func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput { + return i.ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsOutput) ToSecretsMachineSecretsOutput() SecretsMachineSecretsOutput { - return o +func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorOutput) } -func (o SecretsMachineSecretsOutput) ToSecretsMachineSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsOutput { - return o +func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsOutput) Certs() SecretsMachineSecretsCertsPtrOutput { - return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsCerts { return v.Certs }).(SecretsMachineSecretsCertsPtrOutput) +func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorOutput).ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx) } -// The cluster secrets -func (o SecretsMachineSecretsOutput) Cluster() SecretsMachineSecretsClusterPtrOutput { - return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsCluster { return v.Cluster }).(SecretsMachineSecretsClusterPtrOutput) -} - -// kubernetes cluster secrets -func (o SecretsMachineSecretsOutput) Secrets() SecretsMachineSecretsSecretsPtrOutput { - return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsSecrets { return v.Secrets }).(SecretsMachineSecretsSecretsPtrOutput) -} - -// trustd secrets -func (o SecretsMachineSecretsOutput) Trustdinfo() SecretsMachineSecretsTrustdinfoPtrOutput { - return o.ApplyT(func(v SecretsMachineSecrets) *SecretsMachineSecretsTrustdinfo { return v.Trustdinfo }).(SecretsMachineSecretsTrustdinfoPtrOutput) -} - -type SecretsMachineSecretsCerts struct { - // The certificate and key pair - Etcd *SecretsMachineSecretsCertsEtcd `pulumi:"etcd"` - // The certificate and key pair - K8s *SecretsMachineSecretsCertsK8s `pulumi:"k8s"` - // The certificate and key pair - K8sAggregator *SecretsMachineSecretsCertsK8sAggregator `pulumi:"k8sAggregator"` - // The service account secrets - K8sServiceaccount *SecretsMachineSecretsCertsK8sServiceaccount `pulumi:"k8sServiceaccount"` - // The certificate and key pair - Os *SecretsMachineSecretsCertsOs `pulumi:"os"` -} - -// SecretsMachineSecretsCertsInput is an input type that accepts SecretsMachineSecretsCertsArgs and SecretsMachineSecretsCertsOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsInput` via: -// -// SecretsMachineSecretsCertsArgs{...} -type SecretsMachineSecretsCertsInput interface { - pulumi.Input - - ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput - ToSecretsMachineSecretsCertsOutputWithContext(context.Context) SecretsMachineSecretsCertsOutput -} - -type SecretsMachineSecretsCertsArgs struct { - // The certificate and key pair - Etcd SecretsMachineSecretsCertsEtcdPtrInput `pulumi:"etcd"` - // The certificate and key pair - K8s SecretsMachineSecretsCertsK8sPtrInput `pulumi:"k8s"` - // The certificate and key pair - K8sAggregator SecretsMachineSecretsCertsK8sAggregatorPtrInput `pulumi:"k8sAggregator"` - // The service account secrets - K8sServiceaccount SecretsMachineSecretsCertsK8sServiceaccountPtrInput `pulumi:"k8sServiceaccount"` - // The certificate and key pair - Os SecretsMachineSecretsCertsOsPtrInput `pulumi:"os"` -} - -func (SecretsMachineSecretsCertsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCerts)(nil)).Elem() -} - -func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput { - return i.ToSecretsMachineSecretsCertsOutputWithContext(context.Background()) -} - -func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOutput) -} - -func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { - return i.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) -} - -func (i SecretsMachineSecretsCertsArgs) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOutput).ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx) -} - -// SecretsMachineSecretsCertsPtrInput is an input type that accepts SecretsMachineSecretsCertsArgs, SecretsMachineSecretsCertsPtr and SecretsMachineSecretsCertsPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsPtrInput` via: +// SecretsMachineSecretsCertsK8sAggregatorPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sAggregatorArgs, SecretsMachineSecretsCertsK8sAggregatorPtr and SecretsMachineSecretsCertsK8sAggregatorPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sAggregatorPtrInput` via: // -// SecretsMachineSecretsCertsArgs{...} +// SecretsMachineSecretsCertsK8sAggregatorArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsPtrInput interface { +type SecretsMachineSecretsCertsK8sAggregatorPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput - ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsPtrOutput + ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput + ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput } -type secretsMachineSecretsCertsPtrType SecretsMachineSecretsCertsArgs +type secretsMachineSecretsCertsK8sAggregatorPtrType SecretsMachineSecretsCertsK8sAggregatorArgs -func SecretsMachineSecretsCertsPtr(v *SecretsMachineSecretsCertsArgs) SecretsMachineSecretsCertsPtrInput { - return (*secretsMachineSecretsCertsPtrType)(v) +func SecretsMachineSecretsCertsK8sAggregatorPtr(v *SecretsMachineSecretsCertsK8sAggregatorArgs) SecretsMachineSecretsCertsK8sAggregatorPtrInput { + return (*secretsMachineSecretsCertsK8sAggregatorPtrType)(v) } -func (*secretsMachineSecretsCertsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCerts)(nil)).Elem() +func (*secretsMachineSecretsCertsK8sAggregatorPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() } -func (i *secretsMachineSecretsCertsPtrType) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { - return i.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsPtrType) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsPtrOutput) +func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -type SecretsMachineSecretsCertsOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCerts)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() } -func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsOutput() SecretsMachineSecretsCertsOutput { +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput { return o } -func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOutput { +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput { return o } -func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { - return o.ToSecretsMachineSecretsCertsPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return o.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsOutput) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCerts) *SecretsMachineSecretsCerts { +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8sAggregator) *SecretsMachineSecretsCertsK8sAggregator { return &v - }).(SecretsMachineSecretsCertsPtrOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsOutput) Etcd() SecretsMachineSecretsCertsEtcdPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsEtcd { return v.Etcd }).(SecretsMachineSecretsCertsEtcdPtrOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsOutput) K8s() SecretsMachineSecretsCertsK8sPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8s { return v.K8s }).(SecretsMachineSecretsCertsK8sPtrOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsOutput) K8sAggregator() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sAggregator { return v.K8sAggregator }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) + }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) } -// The service account secrets -func (o SecretsMachineSecretsCertsOutput) K8sServiceaccount() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sServiceaccount { - return v.K8sServiceaccount - }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) +// certificate data +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsK8sAggregator) *string { return v.Cert }).(pulumi.StringPtrOutput) } -// The certificate and key pair -func (o SecretsMachineSecretsCertsOutput) Os() SecretsMachineSecretsCertsOsPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsOs { return v.Os }).(SecretsMachineSecretsCertsOsPtrOutput) +// key data +func (o SecretsMachineSecretsCertsK8sAggregatorOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsK8sAggregator) *string { return v.Key }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sAggregatorPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCerts)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() } -func (o SecretsMachineSecretsCertsPtrOutput) ToSecretsMachineSecretsCertsPtrOutput() SecretsMachineSecretsCertsPtrOutput { +func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { return o } -func (o SecretsMachineSecretsCertsPtrOutput) ToSecretsMachineSecretsCertsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsPtrOutput { +func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { return o } -func (o SecretsMachineSecretsCertsPtrOutput) Elem() SecretsMachineSecretsCertsOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) SecretsMachineSecretsCerts { +func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Elem() SecretsMachineSecretsCertsK8sAggregatorOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) SecretsMachineSecretsCertsK8sAggregator { if v != nil { return *v } - var ret SecretsMachineSecretsCerts + var ret SecretsMachineSecretsCertsK8sAggregator return ret - }).(SecretsMachineSecretsCertsOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsPtrOutput) Etcd() SecretsMachineSecretsCertsEtcdPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsEtcd { - if v == nil { - return nil - } - return v.Etcd - }).(SecretsMachineSecretsCertsEtcdPtrOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsPtrOutput) K8s() SecretsMachineSecretsCertsK8sPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8s { - if v == nil { - return nil - } - return v.K8s - }).(SecretsMachineSecretsCertsK8sPtrOutput) -} - -// The certificate and key pair -func (o SecretsMachineSecretsCertsPtrOutput) K8sAggregator() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sAggregator { - if v == nil { - return nil - } - return v.K8sAggregator - }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) + }).(SecretsMachineSecretsCertsK8sAggregatorOutput) } -// The service account secrets -func (o SecretsMachineSecretsCertsPtrOutput) K8sServiceaccount() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsK8sServiceaccount { +// certificate data +func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) *string { if v == nil { return nil } - return v.K8sServiceaccount - }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) + return v.Cert + }).(pulumi.StringPtrOutput) } -// The certificate and key pair -func (o SecretsMachineSecretsCertsPtrOutput) Os() SecretsMachineSecretsCertsOsPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCerts) *SecretsMachineSecretsCertsOs { +// key data +func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) *string { if v == nil { return nil } - return v.Os - }).(SecretsMachineSecretsCertsOsPtrOutput) + return v.Key + }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsEtcd struct { - // certificate data - Cert *string `pulumi:"cert"` +type SecretsMachineSecretsCertsK8sServiceaccount struct { // key data Key *string `pulumi:"key"` } -// SecretsMachineSecretsCertsEtcdInput is an input type that accepts SecretsMachineSecretsCertsEtcdArgs and SecretsMachineSecretsCertsEtcdOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsEtcdInput` via: +// SecretsMachineSecretsCertsK8sServiceaccountInput is an input type that accepts SecretsMachineSecretsCertsK8sServiceaccountArgs and SecretsMachineSecretsCertsK8sServiceaccountOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sServiceaccountInput` via: // -// SecretsMachineSecretsCertsEtcdArgs{...} -type SecretsMachineSecretsCertsEtcdInput interface { +// SecretsMachineSecretsCertsK8sServiceaccountArgs{...} +type SecretsMachineSecretsCertsK8sServiceaccountInput interface { pulumi.Input - ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput - ToSecretsMachineSecretsCertsEtcdOutputWithContext(context.Context) SecretsMachineSecretsCertsEtcdOutput + ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput + ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput } -type SecretsMachineSecretsCertsEtcdArgs struct { - // certificate data - Cert pulumi.StringPtrInput `pulumi:"cert"` +type SecretsMachineSecretsCertsK8sServiceaccountArgs struct { // key data Key pulumi.StringPtrInput `pulumi:"key"` } -func (SecretsMachineSecretsCertsEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsEtcd)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sServiceaccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput { - return i.ToSecretsMachineSecretsCertsEtcdOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput { + return i.ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdOutput) +func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountOutput) } -func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { - return i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsEtcdArgs) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdOutput).ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountOutput).ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx) } -// SecretsMachineSecretsCertsEtcdPtrInput is an input type that accepts SecretsMachineSecretsCertsEtcdArgs, SecretsMachineSecretsCertsEtcdPtr and SecretsMachineSecretsCertsEtcdPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsEtcdPtrInput` via: +// SecretsMachineSecretsCertsK8sServiceaccountPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sServiceaccountArgs, SecretsMachineSecretsCertsK8sServiceaccountPtr and SecretsMachineSecretsCertsK8sServiceaccountPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sServiceaccountPtrInput` via: // -// SecretsMachineSecretsCertsEtcdArgs{...} +// SecretsMachineSecretsCertsK8sServiceaccountArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsEtcdPtrInput interface { +type SecretsMachineSecretsCertsK8sServiceaccountPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput - ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsEtcdPtrOutput + ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput + ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput } -type secretsMachineSecretsCertsEtcdPtrType SecretsMachineSecretsCertsEtcdArgs +type secretsMachineSecretsCertsK8sServiceaccountPtrType SecretsMachineSecretsCertsK8sServiceaccountArgs -func SecretsMachineSecretsCertsEtcdPtr(v *SecretsMachineSecretsCertsEtcdArgs) SecretsMachineSecretsCertsEtcdPtrInput { - return (*secretsMachineSecretsCertsEtcdPtrType)(v) +func SecretsMachineSecretsCertsK8sServiceaccountPtr(v *SecretsMachineSecretsCertsK8sServiceaccountArgs) SecretsMachineSecretsCertsK8sServiceaccountPtrInput { + return (*secretsMachineSecretsCertsK8sServiceaccountPtrType)(v) } -func (*secretsMachineSecretsCertsEtcdPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsEtcd)(nil)).Elem() +func (*secretsMachineSecretsCertsK8sServiceaccountPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (i *secretsMachineSecretsCertsEtcdPtrType) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { - return i.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsEtcdPtrType) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsEtcdPtrOutput) +func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } -type SecretsMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsEtcd)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdOutput() SecretsMachineSecretsCertsEtcdOutput { +func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput { return o } -func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdOutput { +func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput { return o } -func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { - return o.ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return o.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsEtcdOutput) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsEtcd) *SecretsMachineSecretsCertsEtcd { +func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8sServiceaccount) *SecretsMachineSecretsCertsK8sServiceaccount { return &v - }).(SecretsMachineSecretsCertsEtcdPtrOutput) -} - -// certificate data -func (o SecretsMachineSecretsCertsEtcdOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsEtcd) *string { return v.Cert }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) } // key data -func (o SecretsMachineSecretsCertsEtcdOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsEtcd) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsK8sServiceaccount) *string { return v.Key }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsEtcdPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsK8sServiceaccountPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsEtcdPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsEtcd)(nil)).Elem() +func (SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToSecretsMachineSecretsCertsEtcdPtrOutput() SecretsMachineSecretsCertsEtcdPtrOutput { +func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { return o } -func (o SecretsMachineSecretsCertsEtcdPtrOutput) ToSecretsMachineSecretsCertsEtcdPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsEtcdPtrOutput { +func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { return o } -func (o SecretsMachineSecretsCertsEtcdPtrOutput) Elem() SecretsMachineSecretsCertsEtcdOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) SecretsMachineSecretsCertsEtcd { +func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) Elem() SecretsMachineSecretsCertsK8sServiceaccountOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sServiceaccount) SecretsMachineSecretsCertsK8sServiceaccount { if v != nil { return *v } - var ret SecretsMachineSecretsCertsEtcd + var ret SecretsMachineSecretsCertsK8sServiceaccount return ret - }).(SecretsMachineSecretsCertsEtcdOutput) -} - -// certificate data -func (o SecretsMachineSecretsCertsEtcdPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) *string { - if v == nil { - return nil - } - return v.Cert - }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsCertsK8sServiceaccountOutput) } // key data -func (o SecretsMachineSecretsCertsEtcdPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsEtcd) *string { +func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sServiceaccount) *string { if v == nil { return nil } @@ -1787,145 +1571,145 @@ func (o SecretsMachineSecretsCertsEtcdPtrOutput) Key() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8s struct { +type SecretsMachineSecretsCertsOs struct { // certificate data Cert *string `pulumi:"cert"` // key data Key *string `pulumi:"key"` } -// SecretsMachineSecretsCertsK8sInput is an input type that accepts SecretsMachineSecretsCertsK8sArgs and SecretsMachineSecretsCertsK8sOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sInput` via: +// SecretsMachineSecretsCertsOsInput is an input type that accepts SecretsMachineSecretsCertsOsArgs and SecretsMachineSecretsCertsOsOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsOsInput` via: // -// SecretsMachineSecretsCertsK8sArgs{...} -type SecretsMachineSecretsCertsK8sInput interface { +// SecretsMachineSecretsCertsOsArgs{...} +type SecretsMachineSecretsCertsOsInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput - ToSecretsMachineSecretsCertsK8sOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sOutput + ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput + ToSecretsMachineSecretsCertsOsOutputWithContext(context.Context) SecretsMachineSecretsCertsOsOutput } -type SecretsMachineSecretsCertsK8sArgs struct { +type SecretsMachineSecretsCertsOsArgs struct { // certificate data Cert pulumi.StringPtrInput `pulumi:"cert"` // key data Key pulumi.StringPtrInput `pulumi:"key"` } -func (SecretsMachineSecretsCertsK8sArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8s)(nil)).Elem() +func (SecretsMachineSecretsCertsOsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsOs)(nil)).Elem() } -func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput { - return i.ToSecretsMachineSecretsCertsK8sOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput { + return i.ToSecretsMachineSecretsCertsOsOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sOutput) +func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsOutput) } -func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { + return i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sArgs) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sOutput).ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsOutput).ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx) } -// SecretsMachineSecretsCertsK8sPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sArgs, SecretsMachineSecretsCertsK8sPtr and SecretsMachineSecretsCertsK8sPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sPtrInput` via: +// SecretsMachineSecretsCertsOsPtrInput is an input type that accepts SecretsMachineSecretsCertsOsArgs, SecretsMachineSecretsCertsOsPtr and SecretsMachineSecretsCertsOsPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsCertsOsPtrInput` via: // -// SecretsMachineSecretsCertsK8sArgs{...} +// SecretsMachineSecretsCertsOsArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsK8sPtrInput interface { +type SecretsMachineSecretsCertsOsPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput - ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sPtrOutput + ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput + ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsOsPtrOutput } -type secretsMachineSecretsCertsK8sPtrType SecretsMachineSecretsCertsK8sArgs +type secretsMachineSecretsCertsOsPtrType SecretsMachineSecretsCertsOsArgs -func SecretsMachineSecretsCertsK8sPtr(v *SecretsMachineSecretsCertsK8sArgs) SecretsMachineSecretsCertsK8sPtrInput { - return (*secretsMachineSecretsCertsK8sPtrType)(v) +func SecretsMachineSecretsCertsOsPtr(v *SecretsMachineSecretsCertsOsArgs) SecretsMachineSecretsCertsOsPtrInput { + return (*secretsMachineSecretsCertsOsPtrType)(v) } -func (*secretsMachineSecretsCertsK8sPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8s)(nil)).Elem() +func (*secretsMachineSecretsCertsOsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsOs)(nil)).Elem() } -func (i *secretsMachineSecretsCertsK8sPtrType) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsCertsOsPtrType) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { + return i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsK8sPtrType) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sPtrOutput) +func (i *secretsMachineSecretsCertsOsPtrType) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsPtrOutput) } -type SecretsMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsK8sOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8s)(nil)).Elem() +func (SecretsMachineSecretsCertsOsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCertsOs)(nil)).Elem() } -func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sOutput() SecretsMachineSecretsCertsK8sOutput { +func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput { return o } -func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sOutput { +func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsOutput { return o } -func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { - return o.ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { + return o.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsK8sOutput) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8s) *SecretsMachineSecretsCertsK8s { +func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsOs) *SecretsMachineSecretsCertsOs { return &v - }).(SecretsMachineSecretsCertsK8sPtrOutput) + }).(SecretsMachineSecretsCertsOsPtrOutput) } // certificate data -func (o SecretsMachineSecretsCertsK8sOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsK8s) *string { return v.Cert }).(pulumi.StringPtrOutput) +func (o SecretsMachineSecretsCertsOsOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsOs) *string { return v.Cert }).(pulumi.StringPtrOutput) } // key data -func (o SecretsMachineSecretsCertsK8sOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsK8s) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o SecretsMachineSecretsCertsOsOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCertsOs) *string { return v.Key }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8sPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsCertsOsPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsK8sPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8s)(nil)).Elem() +func (SecretsMachineSecretsCertsOsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCertsOs)(nil)).Elem() } -func (o SecretsMachineSecretsCertsK8sPtrOutput) ToSecretsMachineSecretsCertsK8sPtrOutput() SecretsMachineSecretsCertsK8sPtrOutput { +func (o SecretsMachineSecretsCertsOsPtrOutput) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sPtrOutput) ToSecretsMachineSecretsCertsK8sPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sPtrOutput { +func (o SecretsMachineSecretsCertsOsPtrOutput) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sPtrOutput) Elem() SecretsMachineSecretsCertsK8sOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) SecretsMachineSecretsCertsK8s { +func (o SecretsMachineSecretsCertsOsPtrOutput) Elem() SecretsMachineSecretsCertsOsOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) SecretsMachineSecretsCertsOs { if v != nil { return *v } - var ret SecretsMachineSecretsCertsK8s + var ret SecretsMachineSecretsCertsOs return ret - }).(SecretsMachineSecretsCertsK8sOutput) + }).(SecretsMachineSecretsCertsOsOutput) } // certificate data -func (o SecretsMachineSecretsCertsK8sPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) *string { +func (o SecretsMachineSecretsCertsOsPtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) *string { if v == nil { return nil } @@ -1934,8 +1718,8 @@ func (o SecretsMachineSecretsCertsK8sPtrOutput) Cert() pulumi.StringPtrOutput { } // key data -func (o SecretsMachineSecretsCertsK8sPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8s) *string { +func (o SecretsMachineSecretsCertsOsPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) *string { if v == nil { return nil } @@ -1943,1231 +1727,1277 @@ func (o SecretsMachineSecretsCertsK8sPtrOutput) Key() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8sAggregator struct { - // certificate data - Cert *string `pulumi:"cert"` - // key data - Key *string `pulumi:"key"` +type SecretsMachineSecretsCluster struct { + // The cluster ID + Id *string `pulumi:"id"` + // The cluster secret + Secret *string `pulumi:"secret"` } -// SecretsMachineSecretsCertsK8sAggregatorInput is an input type that accepts SecretsMachineSecretsCertsK8sAggregatorArgs and SecretsMachineSecretsCertsK8sAggregatorOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sAggregatorInput` via: +// SecretsMachineSecretsClusterInput is an input type that accepts SecretsMachineSecretsClusterArgs and SecretsMachineSecretsClusterOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsClusterInput` via: // -// SecretsMachineSecretsCertsK8sAggregatorArgs{...} -type SecretsMachineSecretsCertsK8sAggregatorInput interface { +// SecretsMachineSecretsClusterArgs{...} +type SecretsMachineSecretsClusterInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput - ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput + ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput + ToSecretsMachineSecretsClusterOutputWithContext(context.Context) SecretsMachineSecretsClusterOutput } -type SecretsMachineSecretsCertsK8sAggregatorArgs struct { - // certificate data - Cert pulumi.StringPtrInput `pulumi:"cert"` - // key data - Key pulumi.StringPtrInput `pulumi:"key"` +type SecretsMachineSecretsClusterArgs struct { + // The cluster ID + Id pulumi.StringPtrInput `pulumi:"id"` + // The cluster secret + Secret pulumi.StringPtrInput `pulumi:"secret"` } -func (SecretsMachineSecretsCertsK8sAggregatorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() +func (SecretsMachineSecretsClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCluster)(nil)).Elem() } -func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput { - return i.ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(context.Background()) +func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput { + return i.ToSecretsMachineSecretsClusterOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorOutput) +func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterOutput) } -func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { + return i.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sAggregatorArgs) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorOutput).ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterOutput).ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx) } -// SecretsMachineSecretsCertsK8sAggregatorPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sAggregatorArgs, SecretsMachineSecretsCertsK8sAggregatorPtr and SecretsMachineSecretsCertsK8sAggregatorPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sAggregatorPtrInput` via: +// SecretsMachineSecretsClusterPtrInput is an input type that accepts SecretsMachineSecretsClusterArgs, SecretsMachineSecretsClusterPtr and SecretsMachineSecretsClusterPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsClusterPtrInput` via: // -// SecretsMachineSecretsCertsK8sAggregatorArgs{...} +// SecretsMachineSecretsClusterArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsK8sAggregatorPtrInput interface { +type SecretsMachineSecretsClusterPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput - ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput + ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput + ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Context) SecretsMachineSecretsClusterPtrOutput } -type secretsMachineSecretsCertsK8sAggregatorPtrType SecretsMachineSecretsCertsK8sAggregatorArgs +type secretsMachineSecretsClusterPtrType SecretsMachineSecretsClusterArgs -func SecretsMachineSecretsCertsK8sAggregatorPtr(v *SecretsMachineSecretsCertsK8sAggregatorArgs) SecretsMachineSecretsCertsK8sAggregatorPtrInput { - return (*secretsMachineSecretsCertsK8sAggregatorPtrType)(v) +func SecretsMachineSecretsClusterPtr(v *SecretsMachineSecretsClusterArgs) SecretsMachineSecretsClusterPtrInput { + return (*secretsMachineSecretsClusterPtrType)(v) } -func (*secretsMachineSecretsCertsK8sAggregatorPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() +func (*secretsMachineSecretsClusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCluster)(nil)).Elem() } -func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsClusterPtrType) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { + return i.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsK8sAggregatorPtrType) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) +func (i *secretsMachineSecretsClusterPtrType) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterPtrOutput) } -type SecretsMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsClusterOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() +func (SecretsMachineSecretsClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsCluster)(nil)).Elem() } -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorOutput() SecretsMachineSecretsCertsK8sAggregatorOutput { +func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput { return o } -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorOutput { +func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterOutput { return o } -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return o.ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { + return o.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8sAggregator) *SecretsMachineSecretsCertsK8sAggregator { +func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCluster) *SecretsMachineSecretsCluster { return &v - }).(SecretsMachineSecretsCertsK8sAggregatorPtrOutput) + }).(SecretsMachineSecretsClusterPtrOutput) } -// certificate data -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsK8sAggregator) *string { return v.Cert }).(pulumi.StringPtrOutput) +// The cluster ID +func (o SecretsMachineSecretsClusterOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCluster) *string { return v.Id }).(pulumi.StringPtrOutput) } -// key data -func (o SecretsMachineSecretsCertsK8sAggregatorOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsK8sAggregator) *string { return v.Key }).(pulumi.StringPtrOutput) +// The cluster secret +func (o SecretsMachineSecretsClusterOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsCluster) *string { return v.Secret }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8sAggregatorPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsClusterPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8sAggregator)(nil)).Elem() +func (SecretsMachineSecretsClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsCluster)(nil)).Elem() } -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutput() SecretsMachineSecretsCertsK8sAggregatorPtrOutput { +func (o SecretsMachineSecretsClusterPtrOutput) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) ToSecretsMachineSecretsCertsK8sAggregatorPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sAggregatorPtrOutput { +func (o SecretsMachineSecretsClusterPtrOutput) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Elem() SecretsMachineSecretsCertsK8sAggregatorOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) SecretsMachineSecretsCertsK8sAggregator { +func (o SecretsMachineSecretsClusterPtrOutput) Elem() SecretsMachineSecretsClusterOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCluster) SecretsMachineSecretsCluster { if v != nil { return *v } - var ret SecretsMachineSecretsCertsK8sAggregator + var ret SecretsMachineSecretsCluster return ret - }).(SecretsMachineSecretsCertsK8sAggregatorOutput) + }).(SecretsMachineSecretsClusterOutput) } -// certificate data -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) *string { +// The cluster ID +func (o SecretsMachineSecretsClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCluster) *string { if v == nil { return nil } - return v.Cert + return v.Id }).(pulumi.StringPtrOutput) } -// key data -func (o SecretsMachineSecretsCertsK8sAggregatorPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sAggregator) *string { +// The cluster secret +func (o SecretsMachineSecretsClusterPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsCluster) *string { if v == nil { return nil } - return v.Key + return v.Secret }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8sServiceaccount struct { - // key data - Key *string `pulumi:"key"` +type SecretsMachineSecretsSecrets struct { + // The AES-CBC encryption secret + AescbcEncryptionSecret *string `pulumi:"aescbcEncryptionSecret"` + // The bootstrap token + BootstrapToken *string `pulumi:"bootstrapToken"` + // The secretbox encryption secret + SecretboxEncryptionSecret *string `pulumi:"secretboxEncryptionSecret"` } -// SecretsMachineSecretsCertsK8sServiceaccountInput is an input type that accepts SecretsMachineSecretsCertsK8sServiceaccountArgs and SecretsMachineSecretsCertsK8sServiceaccountOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sServiceaccountInput` via: +// SecretsMachineSecretsSecretsInput is an input type that accepts SecretsMachineSecretsSecretsArgs and SecretsMachineSecretsSecretsOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsSecretsInput` via: // -// SecretsMachineSecretsCertsK8sServiceaccountArgs{...} -type SecretsMachineSecretsCertsK8sServiceaccountInput interface { +// SecretsMachineSecretsSecretsArgs{...} +type SecretsMachineSecretsSecretsInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput - ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput + ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput + ToSecretsMachineSecretsSecretsOutputWithContext(context.Context) SecretsMachineSecretsSecretsOutput } -type SecretsMachineSecretsCertsK8sServiceaccountArgs struct { - // key data - Key pulumi.StringPtrInput `pulumi:"key"` +type SecretsMachineSecretsSecretsArgs struct { + // The AES-CBC encryption secret + AescbcEncryptionSecret pulumi.StringPtrInput `pulumi:"aescbcEncryptionSecret"` + // The bootstrap token + BootstrapToken pulumi.StringPtrInput `pulumi:"bootstrapToken"` + // The secretbox encryption secret + SecretboxEncryptionSecret pulumi.StringPtrInput `pulumi:"secretboxEncryptionSecret"` } -func (SecretsMachineSecretsCertsK8sServiceaccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() +func (SecretsMachineSecretsSecretsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsSecrets)(nil)).Elem() } -func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput { - return i.ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Background()) +func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput { + return i.ToSecretsMachineSecretsSecretsOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountOutput) +func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsOutput) } -func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { + return i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsK8sServiceaccountArgs) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountOutput).ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsOutput).ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx) } -// SecretsMachineSecretsCertsK8sServiceaccountPtrInput is an input type that accepts SecretsMachineSecretsCertsK8sServiceaccountArgs, SecretsMachineSecretsCertsK8sServiceaccountPtr and SecretsMachineSecretsCertsK8sServiceaccountPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsK8sServiceaccountPtrInput` via: +// SecretsMachineSecretsSecretsPtrInput is an input type that accepts SecretsMachineSecretsSecretsArgs, SecretsMachineSecretsSecretsPtr and SecretsMachineSecretsSecretsPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsSecretsPtrInput` via: // -// SecretsMachineSecretsCertsK8sServiceaccountArgs{...} +// SecretsMachineSecretsSecretsArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsK8sServiceaccountPtrInput interface { +type SecretsMachineSecretsSecretsPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput - ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput + ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput + ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Context) SecretsMachineSecretsSecretsPtrOutput } -type secretsMachineSecretsCertsK8sServiceaccountPtrType SecretsMachineSecretsCertsK8sServiceaccountArgs +type secretsMachineSecretsSecretsPtrType SecretsMachineSecretsSecretsArgs -func SecretsMachineSecretsCertsK8sServiceaccountPtr(v *SecretsMachineSecretsCertsK8sServiceaccountArgs) SecretsMachineSecretsCertsK8sServiceaccountPtrInput { - return (*secretsMachineSecretsCertsK8sServiceaccountPtrType)(v) +func SecretsMachineSecretsSecretsPtr(v *SecretsMachineSecretsSecretsArgs) SecretsMachineSecretsSecretsPtrInput { + return (*secretsMachineSecretsSecretsPtrType)(v) } -func (*secretsMachineSecretsCertsK8sServiceaccountPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() +func (*secretsMachineSecretsSecretsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsSecrets)(nil)).Elem() } -func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return i.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsSecretsPtrType) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { + return i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsK8sServiceaccountPtrType) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) +func (i *secretsMachineSecretsSecretsPtrType) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsPtrOutput) } -type SecretsMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsSecretsOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() +func (SecretsMachineSecretsSecretsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsSecrets)(nil)).Elem() } -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountOutput() SecretsMachineSecretsCertsK8sServiceaccountOutput { +func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput { return o } -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountOutput { +func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsOutput { return o } -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return o.ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { + return o.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsK8sServiceaccount) *SecretsMachineSecretsCertsK8sServiceaccount { +func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsSecrets) *SecretsMachineSecretsSecrets { return &v - }).(SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) + }).(SecretsMachineSecretsSecretsPtrOutput) } -// key data -func (o SecretsMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsK8sServiceaccount) *string { return v.Key }).(pulumi.StringPtrOutput) +// The AES-CBC encryption secret +func (o SecretsMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsK8sServiceaccountPtrOutput struct{ *pulumi.OutputState } +// The bootstrap token +func (o SecretsMachineSecretsSecretsOutput) BootstrapToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.BootstrapToken }).(pulumi.StringPtrOutput) +} -func (SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsK8sServiceaccount)(nil)).Elem() +// The secretbox encryption secret +func (o SecretsMachineSecretsSecretsOutput) SecretboxEncryptionSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.SecretboxEncryptionSecret }).(pulumi.StringPtrOutput) } -func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutput() SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { +type SecretsMachineSecretsSecretsPtrOutput struct{ *pulumi.OutputState } + +func (SecretsMachineSecretsSecretsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsSecrets)(nil)).Elem() +} + +func (o SecretsMachineSecretsSecretsPtrOutput) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) ToSecretsMachineSecretsCertsK8sServiceaccountPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsK8sServiceaccountPtrOutput { +func (o SecretsMachineSecretsSecretsPtrOutput) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { return o } -func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) Elem() SecretsMachineSecretsCertsK8sServiceaccountOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sServiceaccount) SecretsMachineSecretsCertsK8sServiceaccount { +func (o SecretsMachineSecretsSecretsPtrOutput) Elem() SecretsMachineSecretsSecretsOutput { + return o.ApplyT(func(v *SecretsMachineSecretsSecrets) SecretsMachineSecretsSecrets { if v != nil { return *v } - var ret SecretsMachineSecretsCertsK8sServiceaccount + var ret SecretsMachineSecretsSecrets return ret - }).(SecretsMachineSecretsCertsK8sServiceaccountOutput) + }).(SecretsMachineSecretsSecretsOutput) } -// key data -func (o SecretsMachineSecretsCertsK8sServiceaccountPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsK8sServiceaccount) *string { +// The AES-CBC encryption secret +func (o SecretsMachineSecretsSecretsPtrOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { if v == nil { return nil } - return v.Key + return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsOs struct { - // certificate data - Cert *string `pulumi:"cert"` - // key data - Key *string `pulumi:"key"` -} +// The bootstrap token +func (o SecretsMachineSecretsSecretsPtrOutput) BootstrapToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { + if v == nil { + return nil + } + return v.BootstrapToken + }).(pulumi.StringPtrOutput) +} -// SecretsMachineSecretsCertsOsInput is an input type that accepts SecretsMachineSecretsCertsOsArgs and SecretsMachineSecretsCertsOsOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsOsInput` via: +// The secretbox encryption secret +func (o SecretsMachineSecretsSecretsPtrOutput) SecretboxEncryptionSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { + if v == nil { + return nil + } + return v.SecretboxEncryptionSecret + }).(pulumi.StringPtrOutput) +} + +type SecretsMachineSecretsTrustdinfo struct { + // The trustd token + Token *string `pulumi:"token"` +} + +// SecretsMachineSecretsTrustdinfoInput is an input type that accepts SecretsMachineSecretsTrustdinfoArgs and SecretsMachineSecretsTrustdinfoOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsTrustdinfoInput` via: // -// SecretsMachineSecretsCertsOsArgs{...} -type SecretsMachineSecretsCertsOsInput interface { +// SecretsMachineSecretsTrustdinfoArgs{...} +type SecretsMachineSecretsTrustdinfoInput interface { pulumi.Input - ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput - ToSecretsMachineSecretsCertsOsOutputWithContext(context.Context) SecretsMachineSecretsCertsOsOutput + ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput + ToSecretsMachineSecretsTrustdinfoOutputWithContext(context.Context) SecretsMachineSecretsTrustdinfoOutput } -type SecretsMachineSecretsCertsOsArgs struct { - // certificate data - Cert pulumi.StringPtrInput `pulumi:"cert"` - // key data - Key pulumi.StringPtrInput `pulumi:"key"` +type SecretsMachineSecretsTrustdinfoArgs struct { + // The trustd token + Token pulumi.StringPtrInput `pulumi:"token"` } -func (SecretsMachineSecretsCertsOsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsOs)(nil)).Elem() +func (SecretsMachineSecretsTrustdinfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsTrustdinfo)(nil)).Elem() } -func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput { - return i.ToSecretsMachineSecretsCertsOsOutputWithContext(context.Background()) +func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput { + return i.ToSecretsMachineSecretsTrustdinfoOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsOutput) +func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoOutput) } -func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { - return i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) +func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { + return i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsCertsOsArgs) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsOutput).ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx) +func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoOutput).ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx) } -// SecretsMachineSecretsCertsOsPtrInput is an input type that accepts SecretsMachineSecretsCertsOsArgs, SecretsMachineSecretsCertsOsPtr and SecretsMachineSecretsCertsOsPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsCertsOsPtrInput` via: +// SecretsMachineSecretsTrustdinfoPtrInput is an input type that accepts SecretsMachineSecretsTrustdinfoArgs, SecretsMachineSecretsTrustdinfoPtr and SecretsMachineSecretsTrustdinfoPtrOutput values. +// You can construct a concrete instance of `SecretsMachineSecretsTrustdinfoPtrInput` via: // -// SecretsMachineSecretsCertsOsArgs{...} +// SecretsMachineSecretsTrustdinfoArgs{...} // // or: // // nil -type SecretsMachineSecretsCertsOsPtrInput interface { +type SecretsMachineSecretsTrustdinfoPtrInput interface { pulumi.Input - ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput - ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Context) SecretsMachineSecretsCertsOsPtrOutput + ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput + ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Context) SecretsMachineSecretsTrustdinfoPtrOutput } -type secretsMachineSecretsCertsOsPtrType SecretsMachineSecretsCertsOsArgs +type secretsMachineSecretsTrustdinfoPtrType SecretsMachineSecretsTrustdinfoArgs -func SecretsMachineSecretsCertsOsPtr(v *SecretsMachineSecretsCertsOsArgs) SecretsMachineSecretsCertsOsPtrInput { - return (*secretsMachineSecretsCertsOsPtrType)(v) +func SecretsMachineSecretsTrustdinfoPtr(v *SecretsMachineSecretsTrustdinfoArgs) SecretsMachineSecretsTrustdinfoPtrInput { + return (*secretsMachineSecretsTrustdinfoPtrType)(v) } -func (*secretsMachineSecretsCertsOsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsOs)(nil)).Elem() +func (*secretsMachineSecretsTrustdinfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsTrustdinfo)(nil)).Elem() } -func (i *secretsMachineSecretsCertsOsPtrType) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { - return i.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) +func (i *secretsMachineSecretsTrustdinfoPtrType) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { + return i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsCertsOsPtrType) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsCertsOsPtrOutput) +func (i *secretsMachineSecretsTrustdinfoPtrType) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoPtrOutput) } -type SecretsMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsOsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCertsOs)(nil)).Elem() +func (SecretsMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsMachineSecretsTrustdinfo)(nil)).Elem() } -func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsOutput() SecretsMachineSecretsCertsOsOutput { +func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput { return o } -func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsOutput { +func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoOutput { return o } -func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { - return o.ToSecretsMachineSecretsCertsOsPtrOutputWithContext(context.Background()) +func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { + return o.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsCertsOsOutput) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCertsOs) *SecretsMachineSecretsCertsOs { +func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsTrustdinfo) *SecretsMachineSecretsTrustdinfo { return &v - }).(SecretsMachineSecretsCertsOsPtrOutput) -} - -// certificate data -func (o SecretsMachineSecretsCertsOsOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsOs) *string { return v.Cert }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsTrustdinfoPtrOutput) } -// key data -func (o SecretsMachineSecretsCertsOsOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCertsOs) *string { return v.Key }).(pulumi.StringPtrOutput) +// The trustd token +func (o SecretsMachineSecretsTrustdinfoOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecretsMachineSecretsTrustdinfo) *string { return v.Token }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCertsOsPtrOutput struct{ *pulumi.OutputState } +type SecretsMachineSecretsTrustdinfoPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsCertsOsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCertsOs)(nil)).Elem() +func (SecretsMachineSecretsTrustdinfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsMachineSecretsTrustdinfo)(nil)).Elem() } -func (o SecretsMachineSecretsCertsOsPtrOutput) ToSecretsMachineSecretsCertsOsPtrOutput() SecretsMachineSecretsCertsOsPtrOutput { +func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { return o } -func (o SecretsMachineSecretsCertsOsPtrOutput) ToSecretsMachineSecretsCertsOsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsCertsOsPtrOutput { +func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { return o } -func (o SecretsMachineSecretsCertsOsPtrOutput) Elem() SecretsMachineSecretsCertsOsOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) SecretsMachineSecretsCertsOs { +func (o SecretsMachineSecretsTrustdinfoPtrOutput) Elem() SecretsMachineSecretsTrustdinfoOutput { + return o.ApplyT(func(v *SecretsMachineSecretsTrustdinfo) SecretsMachineSecretsTrustdinfo { if v != nil { return *v } - var ret SecretsMachineSecretsCertsOs + var ret SecretsMachineSecretsTrustdinfo return ret - }).(SecretsMachineSecretsCertsOsOutput) -} - -// certificate data -func (o SecretsMachineSecretsCertsOsPtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) *string { - if v == nil { - return nil - } - return v.Cert - }).(pulumi.StringPtrOutput) + }).(SecretsMachineSecretsTrustdinfoOutput) } -// key data -func (o SecretsMachineSecretsCertsOsPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCertsOs) *string { +// The trustd token +func (o SecretsMachineSecretsTrustdinfoPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsMachineSecretsTrustdinfo) *string { if v == nil { return nil } - return v.Key + return v.Token }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsCluster struct { - // The cluster ID - Id *string `pulumi:"id"` - // The cluster secret - Secret *string `pulumi:"secret"` +type Timeout struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + Create *string `pulumi:"create"` + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + Update *string `pulumi:"update"` } -// SecretsMachineSecretsClusterInput is an input type that accepts SecretsMachineSecretsClusterArgs and SecretsMachineSecretsClusterOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsClusterInput` via: +// TimeoutInput is an input type that accepts TimeoutArgs and TimeoutOutput values. +// You can construct a concrete instance of `TimeoutInput` via: // -// SecretsMachineSecretsClusterArgs{...} -type SecretsMachineSecretsClusterInput interface { +// TimeoutArgs{...} +type TimeoutInput interface { pulumi.Input - ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput - ToSecretsMachineSecretsClusterOutputWithContext(context.Context) SecretsMachineSecretsClusterOutput + ToTimeoutOutput() TimeoutOutput + ToTimeoutOutputWithContext(context.Context) TimeoutOutput } -type SecretsMachineSecretsClusterArgs struct { - // The cluster ID - Id pulumi.StringPtrInput `pulumi:"id"` - // The cluster secret - Secret pulumi.StringPtrInput `pulumi:"secret"` +type TimeoutArgs struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + Create pulumi.StringPtrInput `pulumi:"create"` + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + Update pulumi.StringPtrInput `pulumi:"update"` } -func (SecretsMachineSecretsClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCluster)(nil)).Elem() +func (TimeoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Timeout)(nil)).Elem() } -func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput { - return i.ToSecretsMachineSecretsClusterOutputWithContext(context.Background()) +func (i TimeoutArgs) ToTimeoutOutput() TimeoutOutput { + return i.ToTimeoutOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterOutput) +func (i TimeoutArgs) ToTimeoutOutputWithContext(ctx context.Context) TimeoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(TimeoutOutput) } -func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { - return i.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) +func (i TimeoutArgs) ToTimeoutPtrOutput() TimeoutPtrOutput { + return i.ToTimeoutPtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsClusterArgs) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterOutput).ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx) +func (i TimeoutArgs) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TimeoutOutput).ToTimeoutPtrOutputWithContext(ctx) } -// SecretsMachineSecretsClusterPtrInput is an input type that accepts SecretsMachineSecretsClusterArgs, SecretsMachineSecretsClusterPtr and SecretsMachineSecretsClusterPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsClusterPtrInput` via: +// TimeoutPtrInput is an input type that accepts TimeoutArgs, TimeoutPtr and TimeoutPtrOutput values. +// You can construct a concrete instance of `TimeoutPtrInput` via: // -// SecretsMachineSecretsClusterArgs{...} +// TimeoutArgs{...} // // or: // // nil -type SecretsMachineSecretsClusterPtrInput interface { +type TimeoutPtrInput interface { pulumi.Input - ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput - ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Context) SecretsMachineSecretsClusterPtrOutput + ToTimeoutPtrOutput() TimeoutPtrOutput + ToTimeoutPtrOutputWithContext(context.Context) TimeoutPtrOutput } -type secretsMachineSecretsClusterPtrType SecretsMachineSecretsClusterArgs +type timeoutPtrType TimeoutArgs -func SecretsMachineSecretsClusterPtr(v *SecretsMachineSecretsClusterArgs) SecretsMachineSecretsClusterPtrInput { - return (*secretsMachineSecretsClusterPtrType)(v) +func TimeoutPtr(v *TimeoutArgs) TimeoutPtrInput { + return (*timeoutPtrType)(v) } -func (*secretsMachineSecretsClusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCluster)(nil)).Elem() +func (*timeoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Timeout)(nil)).Elem() } -func (i *secretsMachineSecretsClusterPtrType) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { - return i.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) +func (i *timeoutPtrType) ToTimeoutPtrOutput() TimeoutPtrOutput { + return i.ToTimeoutPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsClusterPtrType) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsClusterPtrOutput) +func (i *timeoutPtrType) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TimeoutPtrOutput) } -type SecretsMachineSecretsClusterOutput struct{ *pulumi.OutputState } +type TimeoutOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsCluster)(nil)).Elem() +func (TimeoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Timeout)(nil)).Elem() } -func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterOutput() SecretsMachineSecretsClusterOutput { +func (o TimeoutOutput) ToTimeoutOutput() TimeoutOutput { return o } -func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterOutput { +func (o TimeoutOutput) ToTimeoutOutputWithContext(ctx context.Context) TimeoutOutput { return o } -func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { - return o.ToSecretsMachineSecretsClusterPtrOutputWithContext(context.Background()) -} +func (o TimeoutOutput) ToTimeoutPtrOutput() TimeoutPtrOutput { + return o.ToTimeoutPtrOutputWithContext(context.Background()) +} -func (o SecretsMachineSecretsClusterOutput) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsCluster) *SecretsMachineSecretsCluster { +func (o TimeoutOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Timeout) *Timeout { return &v - }).(SecretsMachineSecretsClusterPtrOutput) + }).(TimeoutPtrOutput) } -// The cluster ID -func (o SecretsMachineSecretsClusterOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCluster) *string { return v.Id }).(pulumi.StringPtrOutput) +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). +func (o TimeoutOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v Timeout) *string { return v.Create }).(pulumi.StringPtrOutput) } -// The cluster secret -func (o SecretsMachineSecretsClusterOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsCluster) *string { return v.Secret }).(pulumi.StringPtrOutput) +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). +func (o TimeoutOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v Timeout) *string { return v.Update }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsClusterPtrOutput struct{ *pulumi.OutputState } +type TimeoutPtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsCluster)(nil)).Elem() +func (TimeoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Timeout)(nil)).Elem() } -func (o SecretsMachineSecretsClusterPtrOutput) ToSecretsMachineSecretsClusterPtrOutput() SecretsMachineSecretsClusterPtrOutput { +func (o TimeoutPtrOutput) ToTimeoutPtrOutput() TimeoutPtrOutput { return o } -func (o SecretsMachineSecretsClusterPtrOutput) ToSecretsMachineSecretsClusterPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsClusterPtrOutput { +func (o TimeoutPtrOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { return o } -func (o SecretsMachineSecretsClusterPtrOutput) Elem() SecretsMachineSecretsClusterOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCluster) SecretsMachineSecretsCluster { +func (o TimeoutPtrOutput) Elem() TimeoutOutput { + return o.ApplyT(func(v *Timeout) Timeout { if v != nil { return *v } - var ret SecretsMachineSecretsCluster + var ret Timeout return ret - }).(SecretsMachineSecretsClusterOutput) + }).(TimeoutOutput) } -// The cluster ID -func (o SecretsMachineSecretsClusterPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCluster) *string { +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). +func (o TimeoutPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Timeout) *string { if v == nil { return nil } - return v.Id + return v.Create }).(pulumi.StringPtrOutput) } -// The cluster secret -func (o SecretsMachineSecretsClusterPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsCluster) *string { +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). +func (o TimeoutPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Timeout) *string { if v == nil { return nil } - return v.Secret + return v.Update }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsSecrets struct { - // The AES-CBC encryption secret - AescbcEncryptionSecret *string `pulumi:"aescbcEncryptionSecret"` - // The bootstrap token - BootstrapToken *string `pulumi:"bootstrapToken"` - // The secretbox encryption secret - SecretboxEncryptionSecret *string `pulumi:"secretboxEncryptionSecret"` +// A Machine Secrets Certificate +type Certificate struct { + // Certificate + Cert string `pulumi:"cert"` + // Private Key + Key string `pulumi:"key"` } -// SecretsMachineSecretsSecretsInput is an input type that accepts SecretsMachineSecretsSecretsArgs and SecretsMachineSecretsSecretsOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsSecretsInput` via: +// CertificateInput is an input type that accepts CertificateArgs and CertificateOutput values. +// You can construct a concrete instance of `CertificateInput` via: // -// SecretsMachineSecretsSecretsArgs{...} -type SecretsMachineSecretsSecretsInput interface { +// CertificateArgs{...} +type CertificateInput interface { pulumi.Input - ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput - ToSecretsMachineSecretsSecretsOutputWithContext(context.Context) SecretsMachineSecretsSecretsOutput + ToCertificateOutput() CertificateOutput + ToCertificateOutputWithContext(context.Context) CertificateOutput } -type SecretsMachineSecretsSecretsArgs struct { - // The AES-CBC encryption secret - AescbcEncryptionSecret pulumi.StringPtrInput `pulumi:"aescbcEncryptionSecret"` - // The bootstrap token - BootstrapToken pulumi.StringPtrInput `pulumi:"bootstrapToken"` - // The secretbox encryption secret - SecretboxEncryptionSecret pulumi.StringPtrInput `pulumi:"secretboxEncryptionSecret"` +// A Machine Secrets Certificate +type CertificateArgs struct { + // Certificate + Cert pulumi.StringInput `pulumi:"cert"` + // Private Key + Key pulumi.StringInput `pulumi:"key"` } -func (SecretsMachineSecretsSecretsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsSecrets)(nil)).Elem() +func (CertificateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Certificate)(nil)).Elem() } -func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput { - return i.ToSecretsMachineSecretsSecretsOutputWithContext(context.Background()) +func (i CertificateArgs) ToCertificateOutput() CertificateOutput { + return i.ToCertificateOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsOutput) +func (i CertificateArgs) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) } -func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { - return i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) +func (i CertificateArgs) ToCertificatePtrOutput() CertificatePtrOutput { + return i.ToCertificatePtrOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsSecretsArgs) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsOutput).ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx) +func (i CertificateArgs) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput).ToCertificatePtrOutputWithContext(ctx) } -// SecretsMachineSecretsSecretsPtrInput is an input type that accepts SecretsMachineSecretsSecretsArgs, SecretsMachineSecretsSecretsPtr and SecretsMachineSecretsSecretsPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsSecretsPtrInput` via: +// CertificatePtrInput is an input type that accepts CertificateArgs, CertificatePtr and CertificatePtrOutput values. +// You can construct a concrete instance of `CertificatePtrInput` via: // -// SecretsMachineSecretsSecretsArgs{...} +// CertificateArgs{...} // // or: // // nil -type SecretsMachineSecretsSecretsPtrInput interface { +type CertificatePtrInput interface { pulumi.Input - ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput - ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Context) SecretsMachineSecretsSecretsPtrOutput + ToCertificatePtrOutput() CertificatePtrOutput + ToCertificatePtrOutputWithContext(context.Context) CertificatePtrOutput } -type secretsMachineSecretsSecretsPtrType SecretsMachineSecretsSecretsArgs +type certificatePtrType CertificateArgs -func SecretsMachineSecretsSecretsPtr(v *SecretsMachineSecretsSecretsArgs) SecretsMachineSecretsSecretsPtrInput { - return (*secretsMachineSecretsSecretsPtrType)(v) +func CertificatePtr(v *CertificateArgs) CertificatePtrInput { + return (*certificatePtrType)(v) } -func (*secretsMachineSecretsSecretsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsSecrets)(nil)).Elem() +func (*certificatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Certificate)(nil)).Elem() } -func (i *secretsMachineSecretsSecretsPtrType) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { - return i.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) +func (i *certificatePtrType) ToCertificatePtrOutput() CertificatePtrOutput { + return i.ToCertificatePtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsSecretsPtrType) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsSecretsPtrOutput) +func (i *certificatePtrType) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatePtrOutput) } -type SecretsMachineSecretsSecretsOutput struct{ *pulumi.OutputState } +// A Machine Secrets Certificate +type CertificateOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsSecretsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsSecrets)(nil)).Elem() +func (CertificateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Certificate)(nil)).Elem() } -func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsOutput() SecretsMachineSecretsSecretsOutput { +func (o CertificateOutput) ToCertificateOutput() CertificateOutput { return o } -func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsOutput { +func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput { return o } -func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { - return o.ToSecretsMachineSecretsSecretsPtrOutputWithContext(context.Background()) +func (o CertificateOutput) ToCertificatePtrOutput() CertificatePtrOutput { + return o.ToCertificatePtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsSecretsOutput) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsSecrets) *SecretsMachineSecretsSecrets { +func (o CertificateOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Certificate) *Certificate { return &v - }).(SecretsMachineSecretsSecretsPtrOutput) -} - -// The AES-CBC encryption secret -func (o SecretsMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) + }).(CertificatePtrOutput) } -// The bootstrap token -func (o SecretsMachineSecretsSecretsOutput) BootstrapToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.BootstrapToken }).(pulumi.StringPtrOutput) +// Certificate +func (o CertificateOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v Certificate) string { return v.Cert }).(pulumi.StringOutput) } -// The secretbox encryption secret -func (o SecretsMachineSecretsSecretsOutput) SecretboxEncryptionSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsSecrets) *string { return v.SecretboxEncryptionSecret }).(pulumi.StringPtrOutput) +// Private Key +func (o CertificateOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v Certificate) string { return v.Key }).(pulumi.StringOutput) } -type SecretsMachineSecretsSecretsPtrOutput struct{ *pulumi.OutputState } +type CertificatePtrOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsSecretsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsSecrets)(nil)).Elem() +func (CertificatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Certificate)(nil)).Elem() } -func (o SecretsMachineSecretsSecretsPtrOutput) ToSecretsMachineSecretsSecretsPtrOutput() SecretsMachineSecretsSecretsPtrOutput { +func (o CertificatePtrOutput) ToCertificatePtrOutput() CertificatePtrOutput { return o } -func (o SecretsMachineSecretsSecretsPtrOutput) ToSecretsMachineSecretsSecretsPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsSecretsPtrOutput { +func (o CertificatePtrOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { return o } -func (o SecretsMachineSecretsSecretsPtrOutput) Elem() SecretsMachineSecretsSecretsOutput { - return o.ApplyT(func(v *SecretsMachineSecretsSecrets) SecretsMachineSecretsSecrets { +func (o CertificatePtrOutput) Elem() CertificateOutput { + return o.ApplyT(func(v *Certificate) Certificate { if v != nil { return *v } - var ret SecretsMachineSecretsSecrets + var ret Certificate return ret - }).(SecretsMachineSecretsSecretsOutput) -} - -// The AES-CBC encryption secret -func (o SecretsMachineSecretsSecretsPtrOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { - if v == nil { - return nil - } - return v.AescbcEncryptionSecret - }).(pulumi.StringPtrOutput) + }).(CertificateOutput) } -// The bootstrap token -func (o SecretsMachineSecretsSecretsPtrOutput) BootstrapToken() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { +// Certificate +func (o CertificatePtrOutput) Cert() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Certificate) *string { if v == nil { return nil } - return v.BootstrapToken + return &v.Cert }).(pulumi.StringPtrOutput) } -// The secretbox encryption secret -func (o SecretsMachineSecretsSecretsPtrOutput) SecretboxEncryptionSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsSecrets) *string { +// Private Key +func (o CertificatePtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Certificate) *string { if v == nil { return nil } - return v.SecretboxEncryptionSecret + return &v.Key }).(pulumi.StringPtrOutput) } -type SecretsMachineSecretsTrustdinfo struct { - // The trustd token - Token *string `pulumi:"token"` +// A complete Machine Secrets Certificates configuration +type Certificates struct { + Etcd Certificate `pulumi:"etcd"` + K8s Certificate `pulumi:"k8s"` + K8s_aggregator Certificate `pulumi:"k8s_aggregator"` + K8s_serviceaccount Key `pulumi:"k8s_serviceaccount"` + Os Certificate `pulumi:"os"` } -// SecretsMachineSecretsTrustdinfoInput is an input type that accepts SecretsMachineSecretsTrustdinfoArgs and SecretsMachineSecretsTrustdinfoOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsTrustdinfoInput` via: +// CertificatesInput is an input type that accepts CertificatesArgs and CertificatesOutput values. +// You can construct a concrete instance of `CertificatesInput` via: // -// SecretsMachineSecretsTrustdinfoArgs{...} -type SecretsMachineSecretsTrustdinfoInput interface { +// CertificatesArgs{...} +type CertificatesInput interface { pulumi.Input - ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput - ToSecretsMachineSecretsTrustdinfoOutputWithContext(context.Context) SecretsMachineSecretsTrustdinfoOutput -} - -type SecretsMachineSecretsTrustdinfoArgs struct { - // The trustd token - Token pulumi.StringPtrInput `pulumi:"token"` -} - -func (SecretsMachineSecretsTrustdinfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsTrustdinfo)(nil)).Elem() + ToCertificatesOutput() CertificatesOutput + ToCertificatesOutputWithContext(context.Context) CertificatesOutput } -func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput { - return i.ToSecretsMachineSecretsTrustdinfoOutputWithContext(context.Background()) +// A complete Machine Secrets Certificates configuration +type CertificatesArgs struct { + Etcd CertificateInput `pulumi:"etcd"` + K8s CertificateInput `pulumi:"k8s"` + K8s_aggregator CertificateInput `pulumi:"k8s_aggregator"` + K8s_serviceaccount KeyInput `pulumi:"k8s_serviceaccount"` + Os CertificateInput `pulumi:"os"` } -func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoOutput) +func (CertificatesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Certificates)(nil)).Elem() } -func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { - return i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) +func (i CertificatesArgs) ToCertificatesOutput() CertificatesOutput { + return i.ToCertificatesOutputWithContext(context.Background()) } -func (i SecretsMachineSecretsTrustdinfoArgs) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoOutput).ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx) +func (i CertificatesArgs) ToCertificatesOutputWithContext(ctx context.Context) CertificatesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatesOutput) } -// SecretsMachineSecretsTrustdinfoPtrInput is an input type that accepts SecretsMachineSecretsTrustdinfoArgs, SecretsMachineSecretsTrustdinfoPtr and SecretsMachineSecretsTrustdinfoPtrOutput values. -// You can construct a concrete instance of `SecretsMachineSecretsTrustdinfoPtrInput` via: +func (i CertificatesArgs) ToCertificatesPtrOutput() CertificatesPtrOutput { + return i.ToCertificatesPtrOutputWithContext(context.Background()) +} + +func (i CertificatesArgs) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatesOutput).ToCertificatesPtrOutputWithContext(ctx) +} + +// CertificatesPtrInput is an input type that accepts CertificatesArgs, CertificatesPtr and CertificatesPtrOutput values. +// You can construct a concrete instance of `CertificatesPtrInput` via: // -// SecretsMachineSecretsTrustdinfoArgs{...} +// CertificatesArgs{...} // // or: // // nil -type SecretsMachineSecretsTrustdinfoPtrInput interface { +type CertificatesPtrInput interface { pulumi.Input - ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput - ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Context) SecretsMachineSecretsTrustdinfoPtrOutput + ToCertificatesPtrOutput() CertificatesPtrOutput + ToCertificatesPtrOutputWithContext(context.Context) CertificatesPtrOutput } -type secretsMachineSecretsTrustdinfoPtrType SecretsMachineSecretsTrustdinfoArgs +type certificatesPtrType CertificatesArgs -func SecretsMachineSecretsTrustdinfoPtr(v *SecretsMachineSecretsTrustdinfoArgs) SecretsMachineSecretsTrustdinfoPtrInput { - return (*secretsMachineSecretsTrustdinfoPtrType)(v) +func CertificatesPtr(v *CertificatesArgs) CertificatesPtrInput { + return (*certificatesPtrType)(v) } -func (*secretsMachineSecretsTrustdinfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsTrustdinfo)(nil)).Elem() +func (*certificatesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Certificates)(nil)).Elem() } -func (i *secretsMachineSecretsTrustdinfoPtrType) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { - return i.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) +func (i *certificatesPtrType) ToCertificatesPtrOutput() CertificatesPtrOutput { + return i.ToCertificatesPtrOutputWithContext(context.Background()) } -func (i *secretsMachineSecretsTrustdinfoPtrType) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsMachineSecretsTrustdinfoPtrOutput) +func (i *certificatesPtrType) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CertificatesPtrOutput) } -type SecretsMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } +// A complete Machine Secrets Certificates configuration +type CertificatesOutput struct{ *pulumi.OutputState } -func (SecretsMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsMachineSecretsTrustdinfo)(nil)).Elem() +func (CertificatesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Certificates)(nil)).Elem() } -func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoOutput() SecretsMachineSecretsTrustdinfoOutput { +func (o CertificatesOutput) ToCertificatesOutput() CertificatesOutput { return o } -func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoOutput { +func (o CertificatesOutput) ToCertificatesOutputWithContext(ctx context.Context) CertificatesOutput { return o } -func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { - return o.ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(context.Background()) +func (o CertificatesOutput) ToCertificatesPtrOutput() CertificatesPtrOutput { + return o.ToCertificatesPtrOutputWithContext(context.Background()) } -func (o SecretsMachineSecretsTrustdinfoOutput) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsMachineSecretsTrustdinfo) *SecretsMachineSecretsTrustdinfo { +func (o CertificatesOutput) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Certificates) *Certificates { return &v - }).(SecretsMachineSecretsTrustdinfoPtrOutput) + }).(CertificatesPtrOutput) } -// The trustd token -func (o SecretsMachineSecretsTrustdinfoOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecretsMachineSecretsTrustdinfo) *string { return v.Token }).(pulumi.StringPtrOutput) +func (o CertificatesOutput) Etcd() CertificateOutput { + return o.ApplyT(func(v Certificates) Certificate { return v.Etcd }).(CertificateOutput) } -type SecretsMachineSecretsTrustdinfoPtrOutput struct{ *pulumi.OutputState } +func (o CertificatesOutput) K8s() CertificateOutput { + return o.ApplyT(func(v Certificates) Certificate { return v.K8s }).(CertificateOutput) +} -func (SecretsMachineSecretsTrustdinfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsMachineSecretsTrustdinfo)(nil)).Elem() +func (o CertificatesOutput) K8s_aggregator() CertificateOutput { + return o.ApplyT(func(v Certificates) Certificate { return v.K8s_aggregator }).(CertificateOutput) } -func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToSecretsMachineSecretsTrustdinfoPtrOutput() SecretsMachineSecretsTrustdinfoPtrOutput { +func (o CertificatesOutput) K8s_serviceaccount() KeyOutput { + return o.ApplyT(func(v Certificates) Key { return v.K8s_serviceaccount }).(KeyOutput) +} + +func (o CertificatesOutput) Os() CertificateOutput { + return o.ApplyT(func(v Certificates) Certificate { return v.Os }).(CertificateOutput) +} + +type CertificatesPtrOutput struct{ *pulumi.OutputState } + +func (CertificatesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Certificates)(nil)).Elem() +} + +func (o CertificatesPtrOutput) ToCertificatesPtrOutput() CertificatesPtrOutput { return o } -func (o SecretsMachineSecretsTrustdinfoPtrOutput) ToSecretsMachineSecretsTrustdinfoPtrOutputWithContext(ctx context.Context) SecretsMachineSecretsTrustdinfoPtrOutput { +func (o CertificatesPtrOutput) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { return o } -func (o SecretsMachineSecretsTrustdinfoPtrOutput) Elem() SecretsMachineSecretsTrustdinfoOutput { - return o.ApplyT(func(v *SecretsMachineSecretsTrustdinfo) SecretsMachineSecretsTrustdinfo { +func (o CertificatesPtrOutput) Elem() CertificatesOutput { + return o.ApplyT(func(v *Certificates) Certificates { if v != nil { return *v } - var ret SecretsMachineSecretsTrustdinfo + var ret Certificates return ret - }).(SecretsMachineSecretsTrustdinfoOutput) + }).(CertificatesOutput) } -// The trustd token -func (o SecretsMachineSecretsTrustdinfoPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsMachineSecretsTrustdinfo) *string { +func (o CertificatesPtrOutput) Etcd() CertificatePtrOutput { + return o.ApplyT(func(v *Certificates) *Certificate { if v == nil { return nil } - return v.Token - }).(pulumi.StringPtrOutput) + return &v.Etcd + }).(CertificatePtrOutput) } -type Timeout struct { - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - Create *string `pulumi:"create"` - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - Update *string `pulumi:"update"` +func (o CertificatesPtrOutput) K8s() CertificatePtrOutput { + return o.ApplyT(func(v *Certificates) *Certificate { + if v == nil { + return nil + } + return &v.K8s + }).(CertificatePtrOutput) } -// TimeoutInput is an input type that accepts TimeoutArgs and TimeoutOutput values. -// You can construct a concrete instance of `TimeoutInput` via: +func (o CertificatesPtrOutput) K8s_aggregator() CertificatePtrOutput { + return o.ApplyT(func(v *Certificates) *Certificate { + if v == nil { + return nil + } + return &v.K8s_aggregator + }).(CertificatePtrOutput) +} + +func (o CertificatesPtrOutput) K8s_serviceaccount() KeyPtrOutput { + return o.ApplyT(func(v *Certificates) *Key { + if v == nil { + return nil + } + return &v.K8s_serviceaccount + }).(KeyPtrOutput) +} + +func (o CertificatesPtrOutput) Os() CertificatePtrOutput { + return o.ApplyT(func(v *Certificates) *Certificate { + if v == nil { + return nil + } + return &v.Os + }).(CertificatePtrOutput) +} + +// A Machine Secrets Cluster Info +type Cluster struct { + // Certificate + Id string `pulumi:"id"` + // Private Key + Secret string `pulumi:"secret"` +} + +// ClusterInput is an input type that accepts ClusterArgs and ClusterOutput values. +// You can construct a concrete instance of `ClusterInput` via: // -// TimeoutArgs{...} -type TimeoutInput interface { +// ClusterArgs{...} +type ClusterInput interface { pulumi.Input - ToTimeoutOutput() TimeoutOutput - ToTimeoutOutputWithContext(context.Context) TimeoutOutput + ToClusterOutput() ClusterOutput + ToClusterOutputWithContext(context.Context) ClusterOutput } -type TimeoutArgs struct { - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - Create pulumi.StringPtrInput `pulumi:"create"` - // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - Update pulumi.StringPtrInput `pulumi:"update"` +// A Machine Secrets Cluster Info +type ClusterArgs struct { + // Certificate + Id pulumi.StringInput `pulumi:"id"` + // Private Key + Secret pulumi.StringInput `pulumi:"secret"` } -func (TimeoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Timeout)(nil)).Elem() +func (ClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Cluster)(nil)).Elem() } -func (i TimeoutArgs) ToTimeoutOutput() TimeoutOutput { - return i.ToTimeoutOutputWithContext(context.Background()) +func (i ClusterArgs) ToClusterOutput() ClusterOutput { + return i.ToClusterOutputWithContext(context.Background()) } -func (i TimeoutArgs) ToTimeoutOutputWithContext(ctx context.Context) TimeoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(TimeoutOutput) +func (i ClusterArgs) ToClusterOutputWithContext(ctx context.Context) ClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) } -func (i TimeoutArgs) ToTimeoutPtrOutput() TimeoutPtrOutput { - return i.ToTimeoutPtrOutputWithContext(context.Background()) +func (i ClusterArgs) ToClusterPtrOutput() ClusterPtrOutput { + return i.ToClusterPtrOutputWithContext(context.Background()) } -func (i TimeoutArgs) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TimeoutOutput).ToTimeoutPtrOutputWithContext(ctx) +func (i ClusterArgs) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput).ToClusterPtrOutputWithContext(ctx) } -// TimeoutPtrInput is an input type that accepts TimeoutArgs, TimeoutPtr and TimeoutPtrOutput values. -// You can construct a concrete instance of `TimeoutPtrInput` via: +// ClusterPtrInput is an input type that accepts ClusterArgs, ClusterPtr and ClusterPtrOutput values. +// You can construct a concrete instance of `ClusterPtrInput` via: // -// TimeoutArgs{...} +// ClusterArgs{...} // // or: // // nil -type TimeoutPtrInput interface { +type ClusterPtrInput interface { pulumi.Input - ToTimeoutPtrOutput() TimeoutPtrOutput - ToTimeoutPtrOutputWithContext(context.Context) TimeoutPtrOutput + ToClusterPtrOutput() ClusterPtrOutput + ToClusterPtrOutputWithContext(context.Context) ClusterPtrOutput } -type timeoutPtrType TimeoutArgs +type clusterPtrType ClusterArgs -func TimeoutPtr(v *TimeoutArgs) TimeoutPtrInput { - return (*timeoutPtrType)(v) +func ClusterPtr(v *ClusterArgs) ClusterPtrInput { + return (*clusterPtrType)(v) } -func (*timeoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Timeout)(nil)).Elem() +func (*clusterPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Cluster)(nil)).Elem() } -func (i *timeoutPtrType) ToTimeoutPtrOutput() TimeoutPtrOutput { - return i.ToTimeoutPtrOutputWithContext(context.Background()) +func (i *clusterPtrType) ToClusterPtrOutput() ClusterPtrOutput { + return i.ToClusterPtrOutputWithContext(context.Background()) } -func (i *timeoutPtrType) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TimeoutPtrOutput) +func (i *clusterPtrType) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClusterPtrOutput) } -type TimeoutOutput struct{ *pulumi.OutputState } +// A Machine Secrets Cluster Info +type ClusterOutput struct{ *pulumi.OutputState } -func (TimeoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Timeout)(nil)).Elem() +func (ClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Cluster)(nil)).Elem() } -func (o TimeoutOutput) ToTimeoutOutput() TimeoutOutput { +func (o ClusterOutput) ToClusterOutput() ClusterOutput { return o } -func (o TimeoutOutput) ToTimeoutOutputWithContext(ctx context.Context) TimeoutOutput { +func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput { return o } -func (o TimeoutOutput) ToTimeoutPtrOutput() TimeoutPtrOutput { - return o.ToTimeoutPtrOutputWithContext(context.Background()) +func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput { + return o.ToClusterPtrOutputWithContext(context.Background()) } -func (o TimeoutOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Timeout) *Timeout { +func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Cluster) *Cluster { return &v - }).(TimeoutPtrOutput) + }).(ClusterPtrOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). -func (o TimeoutOutput) Create() pulumi.StringPtrOutput { - return o.ApplyT(func(v Timeout) *string { return v.Create }).(pulumi.StringPtrOutput) +// Certificate +func (o ClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v Cluster) string { return v.Id }).(pulumi.StringOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). -func (o TimeoutOutput) Update() pulumi.StringPtrOutput { - return o.ApplyT(func(v Timeout) *string { return v.Update }).(pulumi.StringPtrOutput) +// Private Key +func (o ClusterOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v Cluster) string { return v.Secret }).(pulumi.StringOutput) } -type TimeoutPtrOutput struct{ *pulumi.OutputState } +type ClusterPtrOutput struct{ *pulumi.OutputState } -func (TimeoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Timeout)(nil)).Elem() +func (ClusterPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Cluster)(nil)).Elem() } -func (o TimeoutPtrOutput) ToTimeoutPtrOutput() TimeoutPtrOutput { +func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput { return o } -func (o TimeoutPtrOutput) ToTimeoutPtrOutputWithContext(ctx context.Context) TimeoutPtrOutput { +func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { return o } -func (o TimeoutPtrOutput) Elem() TimeoutOutput { - return o.ApplyT(func(v *Timeout) Timeout { +func (o ClusterPtrOutput) Elem() ClusterOutput { + return o.ApplyT(func(v *Cluster) Cluster { if v != nil { return *v } - var ret Timeout + var ret Cluster return ret - }).(TimeoutOutput) + }).(ClusterOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). -func (o TimeoutPtrOutput) Create() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Timeout) *string { +// Certificate +func (o ClusterPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) *string { if v == nil { return nil } - return v.Create + return &v.Id }).(pulumi.StringPtrOutput) } -// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). -func (o TimeoutPtrOutput) Update() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Timeout) *string { +// Private Key +func (o ClusterPtrOutput) Secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Cluster) *string { if v == nil { return nil } - return v.Update + return &v.Secret }).(pulumi.StringPtrOutput) } -// A Machine Secrets Certificate -type Certificate struct { - // Certificate - Cert string `pulumi:"cert"` +// A Machine Secrets Private Key +type Key struct { // Private Key Key string `pulumi:"key"` } -// CertificateInput is an input type that accepts CertificateArgs and CertificateOutput values. -// You can construct a concrete instance of `CertificateInput` via: +// KeyInput is an input type that accepts KeyArgs and KeyOutput values. +// You can construct a concrete instance of `KeyInput` via: // -// CertificateArgs{...} -type CertificateInput interface { +// KeyArgs{...} +type KeyInput interface { pulumi.Input - ToCertificateOutput() CertificateOutput - ToCertificateOutputWithContext(context.Context) CertificateOutput + ToKeyOutput() KeyOutput + ToKeyOutputWithContext(context.Context) KeyOutput } -// A Machine Secrets Certificate -type CertificateArgs struct { - // Certificate - Cert pulumi.StringInput `pulumi:"cert"` +// A Machine Secrets Private Key +type KeyArgs struct { // Private Key Key pulumi.StringInput `pulumi:"key"` } -func (CertificateArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Certificate)(nil)).Elem() +func (KeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*Key)(nil)).Elem() } -func (i CertificateArgs) ToCertificateOutput() CertificateOutput { - return i.ToCertificateOutputWithContext(context.Background()) +func (i KeyArgs) ToKeyOutput() KeyOutput { + return i.ToKeyOutputWithContext(context.Background()) } -func (i CertificateArgs) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput) +func (i KeyArgs) ToKeyOutputWithContext(ctx context.Context) KeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) } -func (i CertificateArgs) ToCertificatePtrOutput() CertificatePtrOutput { - return i.ToCertificatePtrOutputWithContext(context.Background()) +func (i KeyArgs) ToKeyPtrOutput() KeyPtrOutput { + return i.ToKeyPtrOutputWithContext(context.Background()) } -func (i CertificateArgs) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificateOutput).ToCertificatePtrOutputWithContext(ctx) +func (i KeyArgs) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyOutput).ToKeyPtrOutputWithContext(ctx) } -// CertificatePtrInput is an input type that accepts CertificateArgs, CertificatePtr and CertificatePtrOutput values. -// You can construct a concrete instance of `CertificatePtrInput` via: +// KeyPtrInput is an input type that accepts KeyArgs, KeyPtr and KeyPtrOutput values. +// You can construct a concrete instance of `KeyPtrInput` via: // -// CertificateArgs{...} +// KeyArgs{...} // // or: // // nil -type CertificatePtrInput interface { +type KeyPtrInput interface { pulumi.Input - ToCertificatePtrOutput() CertificatePtrOutput - ToCertificatePtrOutputWithContext(context.Context) CertificatePtrOutput + ToKeyPtrOutput() KeyPtrOutput + ToKeyPtrOutputWithContext(context.Context) KeyPtrOutput } -type certificatePtrType CertificateArgs +type keyPtrType KeyArgs -func CertificatePtr(v *CertificateArgs) CertificatePtrInput { - return (*certificatePtrType)(v) +func KeyPtr(v *KeyArgs) KeyPtrInput { + return (*keyPtrType)(v) } -func (*certificatePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Certificate)(nil)).Elem() +func (*keyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**Key)(nil)).Elem() } -func (i *certificatePtrType) ToCertificatePtrOutput() CertificatePtrOutput { - return i.ToCertificatePtrOutputWithContext(context.Background()) +func (i *keyPtrType) ToKeyPtrOutput() KeyPtrOutput { + return i.ToKeyPtrOutputWithContext(context.Background()) } -func (i *certificatePtrType) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificatePtrOutput) +func (i *keyPtrType) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyPtrOutput) } -// A Machine Secrets Certificate -type CertificateOutput struct{ *pulumi.OutputState } +// A Machine Secrets Private Key +type KeyOutput struct{ *pulumi.OutputState } -func (CertificateOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Certificate)(nil)).Elem() +func (KeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*Key)(nil)).Elem() } -func (o CertificateOutput) ToCertificateOutput() CertificateOutput { +func (o KeyOutput) ToKeyOutput() KeyOutput { return o } -func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput { +func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput { return o } -func (o CertificateOutput) ToCertificatePtrOutput() CertificatePtrOutput { - return o.ToCertificatePtrOutputWithContext(context.Background()) +func (o KeyOutput) ToKeyPtrOutput() KeyPtrOutput { + return o.ToKeyPtrOutputWithContext(context.Background()) } -func (o CertificateOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Certificate) *Certificate { +func (o KeyOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v Key) *Key { return &v - }).(CertificatePtrOutput) -} - -// Certificate -func (o CertificateOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v Certificate) string { return v.Cert }).(pulumi.StringOutput) + }).(KeyPtrOutput) } // Private Key -func (o CertificateOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v Certificate) string { return v.Key }).(pulumi.StringOutput) +func (o KeyOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v Key) string { return v.Key }).(pulumi.StringOutput) } -type CertificatePtrOutput struct{ *pulumi.OutputState } +type KeyPtrOutput struct{ *pulumi.OutputState } -func (CertificatePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Certificate)(nil)).Elem() +func (KeyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Key)(nil)).Elem() } -func (o CertificatePtrOutput) ToCertificatePtrOutput() CertificatePtrOutput { +func (o KeyPtrOutput) ToKeyPtrOutput() KeyPtrOutput { return o } -func (o CertificatePtrOutput) ToCertificatePtrOutputWithContext(ctx context.Context) CertificatePtrOutput { +func (o KeyPtrOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { return o } -func (o CertificatePtrOutput) Elem() CertificateOutput { - return o.ApplyT(func(v *Certificate) Certificate { +func (o KeyPtrOutput) Elem() KeyOutput { + return o.ApplyT(func(v *Key) Key { if v != nil { return *v } - var ret Certificate + var ret Key return ret - }).(CertificateOutput) -} - -// Certificate -func (o CertificatePtrOutput) Cert() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Certificate) *string { - if v == nil { - return nil - } - return &v.Cert - }).(pulumi.StringPtrOutput) + }).(KeyOutput) } // Private Key -func (o CertificatePtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Certificate) *string { +func (o KeyPtrOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Key) *string { if v == nil { return nil } @@ -3175,1626 +3005,1796 @@ func (o CertificatePtrOutput) Key() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// A complete Machine Secrets Certificates configuration -type Certificates struct { - Etcd Certificate `pulumi:"etcd"` - K8s Certificate `pulumi:"k8s"` - K8s_aggregator Certificate `pulumi:"k8s_aggregator"` - K8s_serviceaccount Key `pulumi:"k8s_serviceaccount"` - Os Certificate `pulumi:"os"` +// A complete Machine Secrets configuration +type MachineSecrets struct { + Certs Certificates `pulumi:"certs"` + Cluster Cluster `pulumi:"cluster"` + Secrets SecretsType `pulumi:"secrets"` + Trustdinfo TrustdInfo `pulumi:"trustdinfo"` } -// CertificatesInput is an input type that accepts CertificatesArgs and CertificatesOutput values. -// You can construct a concrete instance of `CertificatesInput` via: +// MachineSecretsInput is an input type that accepts MachineSecretsArgs and MachineSecretsOutput values. +// You can construct a concrete instance of `MachineSecretsInput` via: // -// CertificatesArgs{...} -type CertificatesInput interface { +// MachineSecretsArgs{...} +type MachineSecretsInput interface { pulumi.Input - ToCertificatesOutput() CertificatesOutput - ToCertificatesOutputWithContext(context.Context) CertificatesOutput + ToMachineSecretsOutput() MachineSecretsOutput + ToMachineSecretsOutputWithContext(context.Context) MachineSecretsOutput } -// A complete Machine Secrets Certificates configuration -type CertificatesArgs struct { - Etcd CertificateInput `pulumi:"etcd"` - K8s CertificateInput `pulumi:"k8s"` - K8s_aggregator CertificateInput `pulumi:"k8s_aggregator"` - K8s_serviceaccount KeyInput `pulumi:"k8s_serviceaccount"` - Os CertificateInput `pulumi:"os"` +// A complete Machine Secrets configuration +type MachineSecretsArgs struct { + Certs CertificatesInput `pulumi:"certs"` + Cluster ClusterInput `pulumi:"cluster"` + Secrets SecretsTypeInput `pulumi:"secrets"` + Trustdinfo TrustdInfoInput `pulumi:"trustdinfo"` } -func (CertificatesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Certificates)(nil)).Elem() +func (MachineSecretsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MachineSecrets)(nil)).Elem() } -func (i CertificatesArgs) ToCertificatesOutput() CertificatesOutput { - return i.ToCertificatesOutputWithContext(context.Background()) +func (i MachineSecretsArgs) ToMachineSecretsOutput() MachineSecretsOutput { + return i.ToMachineSecretsOutputWithContext(context.Background()) } -func (i CertificatesArgs) ToCertificatesOutputWithContext(ctx context.Context) CertificatesOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificatesOutput) +func (i MachineSecretsArgs) ToMachineSecretsOutputWithContext(ctx context.Context) MachineSecretsOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsOutput) } -func (i CertificatesArgs) ToCertificatesPtrOutput() CertificatesPtrOutput { - return i.ToCertificatesPtrOutputWithContext(context.Background()) +func (i MachineSecretsArgs) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { + return i.ToMachineSecretsPtrOutputWithContext(context.Background()) } -func (i CertificatesArgs) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificatesOutput).ToCertificatesPtrOutputWithContext(ctx) +func (i MachineSecretsArgs) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsOutput).ToMachineSecretsPtrOutputWithContext(ctx) } -// CertificatesPtrInput is an input type that accepts CertificatesArgs, CertificatesPtr and CertificatesPtrOutput values. -// You can construct a concrete instance of `CertificatesPtrInput` via: +// MachineSecretsPtrInput is an input type that accepts MachineSecretsArgs, MachineSecretsPtr and MachineSecretsPtrOutput values. +// You can construct a concrete instance of `MachineSecretsPtrInput` via: // -// CertificatesArgs{...} +// MachineSecretsArgs{...} // // or: // // nil -type CertificatesPtrInput interface { +type MachineSecretsPtrInput interface { pulumi.Input - ToCertificatesPtrOutput() CertificatesPtrOutput - ToCertificatesPtrOutputWithContext(context.Context) CertificatesPtrOutput + ToMachineSecretsPtrOutput() MachineSecretsPtrOutput + ToMachineSecretsPtrOutputWithContext(context.Context) MachineSecretsPtrOutput } -type certificatesPtrType CertificatesArgs +type machineSecretsPtrType MachineSecretsArgs -func CertificatesPtr(v *CertificatesArgs) CertificatesPtrInput { - return (*certificatesPtrType)(v) +func MachineSecretsPtr(v *MachineSecretsArgs) MachineSecretsPtrInput { + return (*machineSecretsPtrType)(v) } -func (*certificatesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Certificates)(nil)).Elem() +func (*machineSecretsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MachineSecrets)(nil)).Elem() } -func (i *certificatesPtrType) ToCertificatesPtrOutput() CertificatesPtrOutput { - return i.ToCertificatesPtrOutputWithContext(context.Background()) +func (i *machineSecretsPtrType) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { + return i.ToMachineSecretsPtrOutputWithContext(context.Background()) } -func (i *certificatesPtrType) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CertificatesPtrOutput) +func (i *machineSecretsPtrType) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsPtrOutput) } -// A complete Machine Secrets Certificates configuration -type CertificatesOutput struct{ *pulumi.OutputState } +// A complete Machine Secrets configuration +type MachineSecretsOutput struct{ *pulumi.OutputState } -func (CertificatesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Certificates)(nil)).Elem() +func (MachineSecretsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MachineSecrets)(nil)).Elem() } -func (o CertificatesOutput) ToCertificatesOutput() CertificatesOutput { +func (o MachineSecretsOutput) ToMachineSecretsOutput() MachineSecretsOutput { return o } -func (o CertificatesOutput) ToCertificatesOutputWithContext(ctx context.Context) CertificatesOutput { +func (o MachineSecretsOutput) ToMachineSecretsOutputWithContext(ctx context.Context) MachineSecretsOutput { return o } -func (o CertificatesOutput) ToCertificatesPtrOutput() CertificatesPtrOutput { - return o.ToCertificatesPtrOutputWithContext(context.Background()) +func (o MachineSecretsOutput) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { + return o.ToMachineSecretsPtrOutputWithContext(context.Background()) } -func (o CertificatesOutput) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Certificates) *Certificates { +func (o MachineSecretsOutput) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineSecrets) *MachineSecrets { return &v - }).(CertificatesPtrOutput) -} - -func (o CertificatesOutput) Etcd() CertificateOutput { - return o.ApplyT(func(v Certificates) Certificate { return v.Etcd }).(CertificateOutput) + }).(MachineSecretsPtrOutput) } -func (o CertificatesOutput) K8s() CertificateOutput { - return o.ApplyT(func(v Certificates) Certificate { return v.K8s }).(CertificateOutput) +func (o MachineSecretsOutput) Certs() CertificatesOutput { + return o.ApplyT(func(v MachineSecrets) Certificates { return v.Certs }).(CertificatesOutput) } -func (o CertificatesOutput) K8s_aggregator() CertificateOutput { - return o.ApplyT(func(v Certificates) Certificate { return v.K8s_aggregator }).(CertificateOutput) +func (o MachineSecretsOutput) Cluster() ClusterOutput { + return o.ApplyT(func(v MachineSecrets) Cluster { return v.Cluster }).(ClusterOutput) } -func (o CertificatesOutput) K8s_serviceaccount() KeyOutput { - return o.ApplyT(func(v Certificates) Key { return v.K8s_serviceaccount }).(KeyOutput) +func (o MachineSecretsOutput) Secrets() SecretsTypeOutput { + return o.ApplyT(func(v MachineSecrets) SecretsType { return v.Secrets }).(SecretsTypeOutput) } -func (o CertificatesOutput) Os() CertificateOutput { - return o.ApplyT(func(v Certificates) Certificate { return v.Os }).(CertificateOutput) +func (o MachineSecretsOutput) Trustdinfo() TrustdInfoOutput { + return o.ApplyT(func(v MachineSecrets) TrustdInfo { return v.Trustdinfo }).(TrustdInfoOutput) } -type CertificatesPtrOutput struct{ *pulumi.OutputState } +type MachineSecretsPtrOutput struct{ *pulumi.OutputState } -func (CertificatesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Certificates)(nil)).Elem() +func (MachineSecretsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MachineSecrets)(nil)).Elem() } -func (o CertificatesPtrOutput) ToCertificatesPtrOutput() CertificatesPtrOutput { +func (o MachineSecretsPtrOutput) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { return o } -func (o CertificatesPtrOutput) ToCertificatesPtrOutputWithContext(ctx context.Context) CertificatesPtrOutput { +func (o MachineSecretsPtrOutput) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { return o } -func (o CertificatesPtrOutput) Elem() CertificatesOutput { - return o.ApplyT(func(v *Certificates) Certificates { +func (o MachineSecretsPtrOutput) Elem() MachineSecretsOutput { + return o.ApplyT(func(v *MachineSecrets) MachineSecrets { if v != nil { return *v } - var ret Certificates + var ret MachineSecrets return ret - }).(CertificatesOutput) -} - -func (o CertificatesPtrOutput) Etcd() CertificatePtrOutput { - return o.ApplyT(func(v *Certificates) *Certificate { - if v == nil { - return nil - } - return &v.Etcd - }).(CertificatePtrOutput) + }).(MachineSecretsOutput) } -func (o CertificatesPtrOutput) K8s() CertificatePtrOutput { - return o.ApplyT(func(v *Certificates) *Certificate { +func (o MachineSecretsPtrOutput) Certs() CertificatesPtrOutput { + return o.ApplyT(func(v *MachineSecrets) *Certificates { if v == nil { return nil } - return &v.K8s - }).(CertificatePtrOutput) + return &v.Certs + }).(CertificatesPtrOutput) } -func (o CertificatesPtrOutput) K8s_aggregator() CertificatePtrOutput { - return o.ApplyT(func(v *Certificates) *Certificate { +func (o MachineSecretsPtrOutput) Cluster() ClusterPtrOutput { + return o.ApplyT(func(v *MachineSecrets) *Cluster { if v == nil { return nil } - return &v.K8s_aggregator - }).(CertificatePtrOutput) + return &v.Cluster + }).(ClusterPtrOutput) } -func (o CertificatesPtrOutput) K8s_serviceaccount() KeyPtrOutput { - return o.ApplyT(func(v *Certificates) *Key { +func (o MachineSecretsPtrOutput) Secrets() SecretsTypePtrOutput { + return o.ApplyT(func(v *MachineSecrets) *SecretsType { if v == nil { return nil } - return &v.K8s_serviceaccount - }).(KeyPtrOutput) + return &v.Secrets + }).(SecretsTypePtrOutput) } -func (o CertificatesPtrOutput) Os() CertificatePtrOutput { - return o.ApplyT(func(v *Certificates) *Certificate { +func (o MachineSecretsPtrOutput) Trustdinfo() TrustdInfoPtrOutput { + return o.ApplyT(func(v *MachineSecrets) *TrustdInfo { if v == nil { return nil } - return &v.Os - }).(CertificatePtrOutput) + return &v.Trustdinfo + }).(TrustdInfoPtrOutput) } -// A Machine Secrets Cluster Info -type Cluster struct { - // Certificate - Id string `pulumi:"id"` - // Private Key - Secret string `pulumi:"secret"` +// A Machine Secrets Bootstrap data +type SecretsType struct { + // The bootstrap token for the talos kubernetes cluster + Bootstrap_token string `pulumi:"bootstrap_token"` + // The secretbox encryption secret for the talos kubernetes cluster + Secretbox_encryption_secret string `pulumi:"secretbox_encryption_secret"` } -// ClusterInput is an input type that accepts ClusterArgs and ClusterOutput values. -// You can construct a concrete instance of `ClusterInput` via: +// SecretsTypeInput is an input type that accepts SecretsTypeArgs and SecretsTypeOutput values. +// You can construct a concrete instance of `SecretsTypeInput` via: // -// ClusterArgs{...} -type ClusterInput interface { +// SecretsTypeArgs{...} +type SecretsTypeInput interface { pulumi.Input - ToClusterOutput() ClusterOutput - ToClusterOutputWithContext(context.Context) ClusterOutput + ToSecretsTypeOutput() SecretsTypeOutput + ToSecretsTypeOutputWithContext(context.Context) SecretsTypeOutput } -// A Machine Secrets Cluster Info -type ClusterArgs struct { - // Certificate - Id pulumi.StringInput `pulumi:"id"` - // Private Key - Secret pulumi.StringInput `pulumi:"secret"` +// A Machine Secrets Bootstrap data +type SecretsTypeArgs struct { + // The bootstrap token for the talos kubernetes cluster + Bootstrap_token pulumi.StringInput `pulumi:"bootstrap_token"` + // The secretbox encryption secret for the talos kubernetes cluster + Secretbox_encryption_secret pulumi.StringInput `pulumi:"secretbox_encryption_secret"` } -func (ClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Cluster)(nil)).Elem() +func (SecretsTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsType)(nil)).Elem() } -func (i ClusterArgs) ToClusterOutput() ClusterOutput { - return i.ToClusterOutputWithContext(context.Background()) +func (i SecretsTypeArgs) ToSecretsTypeOutput() SecretsTypeOutput { + return i.ToSecretsTypeOutputWithContext(context.Background()) } -func (i ClusterArgs) ToClusterOutputWithContext(ctx context.Context) ClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput) +func (i SecretsTypeArgs) ToSecretsTypeOutputWithContext(ctx context.Context) SecretsTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput) } -func (i ClusterArgs) ToClusterPtrOutput() ClusterPtrOutput { - return i.ToClusterPtrOutputWithContext(context.Background()) +func (i SecretsTypeArgs) ToSecretsTypePtrOutput() SecretsTypePtrOutput { + return i.ToSecretsTypePtrOutputWithContext(context.Background()) } -func (i ClusterArgs) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterOutput).ToClusterPtrOutputWithContext(ctx) +func (i SecretsTypeArgs) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput).ToSecretsTypePtrOutputWithContext(ctx) } -// ClusterPtrInput is an input type that accepts ClusterArgs, ClusterPtr and ClusterPtrOutput values. -// You can construct a concrete instance of `ClusterPtrInput` via: +// SecretsTypePtrInput is an input type that accepts SecretsTypeArgs, SecretsTypePtr and SecretsTypePtrOutput values. +// You can construct a concrete instance of `SecretsTypePtrInput` via: // -// ClusterArgs{...} +// SecretsTypeArgs{...} // // or: // // nil -type ClusterPtrInput interface { +type SecretsTypePtrInput interface { pulumi.Input - ToClusterPtrOutput() ClusterPtrOutput - ToClusterPtrOutputWithContext(context.Context) ClusterPtrOutput + ToSecretsTypePtrOutput() SecretsTypePtrOutput + ToSecretsTypePtrOutputWithContext(context.Context) SecretsTypePtrOutput } -type clusterPtrType ClusterArgs +type secretsTypePtrType SecretsTypeArgs -func ClusterPtr(v *ClusterArgs) ClusterPtrInput { - return (*clusterPtrType)(v) +func SecretsTypePtr(v *SecretsTypeArgs) SecretsTypePtrInput { + return (*secretsTypePtrType)(v) } -func (*clusterPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Cluster)(nil)).Elem() +func (*secretsTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsType)(nil)).Elem() } -func (i *clusterPtrType) ToClusterPtrOutput() ClusterPtrOutput { - return i.ToClusterPtrOutputWithContext(context.Background()) +func (i *secretsTypePtrType) ToSecretsTypePtrOutput() SecretsTypePtrOutput { + return i.ToSecretsTypePtrOutputWithContext(context.Background()) } -func (i *clusterPtrType) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ClusterPtrOutput) +func (i *secretsTypePtrType) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecretsTypePtrOutput) } -// A Machine Secrets Cluster Info -type ClusterOutput struct{ *pulumi.OutputState } +// A Machine Secrets Bootstrap data +type SecretsTypeOutput struct{ *pulumi.OutputState } -func (ClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Cluster)(nil)).Elem() +func (SecretsTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecretsType)(nil)).Elem() } -func (o ClusterOutput) ToClusterOutput() ClusterOutput { +func (o SecretsTypeOutput) ToSecretsTypeOutput() SecretsTypeOutput { return o } -func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput { +func (o SecretsTypeOutput) ToSecretsTypeOutputWithContext(ctx context.Context) SecretsTypeOutput { return o } -func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput { - return o.ToClusterPtrOutputWithContext(context.Background()) +func (o SecretsTypeOutput) ToSecretsTypePtrOutput() SecretsTypePtrOutput { + return o.ToSecretsTypePtrOutputWithContext(context.Background()) } -func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Cluster) *Cluster { +func (o SecretsTypeOutput) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsType) *SecretsType { return &v - }).(ClusterPtrOutput) + }).(SecretsTypePtrOutput) } -// Certificate -func (o ClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v Cluster) string { return v.Id }).(pulumi.StringOutput) +// The bootstrap token for the talos kubernetes cluster +func (o SecretsTypeOutput) Bootstrap_token() pulumi.StringOutput { + return o.ApplyT(func(v SecretsType) string { return v.Bootstrap_token }).(pulumi.StringOutput) } -// Private Key -func (o ClusterOutput) Secret() pulumi.StringOutput { - return o.ApplyT(func(v Cluster) string { return v.Secret }).(pulumi.StringOutput) +// The secretbox encryption secret for the talos kubernetes cluster +func (o SecretsTypeOutput) Secretbox_encryption_secret() pulumi.StringOutput { + return o.ApplyT(func(v SecretsType) string { return v.Secretbox_encryption_secret }).(pulumi.StringOutput) } -type ClusterPtrOutput struct{ *pulumi.OutputState } +type SecretsTypePtrOutput struct{ *pulumi.OutputState } -func (ClusterPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Cluster)(nil)).Elem() +func (SecretsTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecretsType)(nil)).Elem() } -func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput { +func (o SecretsTypePtrOutput) ToSecretsTypePtrOutput() SecretsTypePtrOutput { return o } -func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput { +func (o SecretsTypePtrOutput) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { return o } -func (o ClusterPtrOutput) Elem() ClusterOutput { - return o.ApplyT(func(v *Cluster) Cluster { +func (o SecretsTypePtrOutput) Elem() SecretsTypeOutput { + return o.ApplyT(func(v *SecretsType) SecretsType { if v != nil { return *v } - var ret Cluster + var ret SecretsType return ret - }).(ClusterOutput) + }).(SecretsTypeOutput) } -// Certificate -func (o ClusterPtrOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Cluster) *string { +// The bootstrap token for the talos kubernetes cluster +func (o SecretsTypePtrOutput) Bootstrap_token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsType) *string { if v == nil { return nil } - return &v.Id + return &v.Bootstrap_token }).(pulumi.StringPtrOutput) } -// Private Key -func (o ClusterPtrOutput) Secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Cluster) *string { +// The secretbox encryption secret for the talos kubernetes cluster +func (o SecretsTypePtrOutput) Secretbox_encryption_secret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecretsType) *string { if v == nil { return nil } - return &v.Secret + return &v.Secretbox_encryption_secret }).(pulumi.StringPtrOutput) } -// A Machine Secrets Private Key -type Key struct { - // Private Key - Key string `pulumi:"key"` +// A Machine Secrets Trust daemon info +type TrustdInfo struct { + // The trustd token for the talos kubernetes cluster + Token string `pulumi:"token"` } -// KeyInput is an input type that accepts KeyArgs and KeyOutput values. -// You can construct a concrete instance of `KeyInput` via: +// TrustdInfoInput is an input type that accepts TrustdInfoArgs and TrustdInfoOutput values. +// You can construct a concrete instance of `TrustdInfoInput` via: // -// KeyArgs{...} -type KeyInput interface { +// TrustdInfoArgs{...} +type TrustdInfoInput interface { pulumi.Input - ToKeyOutput() KeyOutput - ToKeyOutputWithContext(context.Context) KeyOutput + ToTrustdInfoOutput() TrustdInfoOutput + ToTrustdInfoOutputWithContext(context.Context) TrustdInfoOutput } -// A Machine Secrets Private Key -type KeyArgs struct { - // Private Key - Key pulumi.StringInput `pulumi:"key"` +// A Machine Secrets Trust daemon info +type TrustdInfoArgs struct { + // The trustd token for the talos kubernetes cluster + Token pulumi.StringInput `pulumi:"token"` } -func (KeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*Key)(nil)).Elem() +func (TrustdInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TrustdInfo)(nil)).Elem() } -func (i KeyArgs) ToKeyOutput() KeyOutput { - return i.ToKeyOutputWithContext(context.Background()) +func (i TrustdInfoArgs) ToTrustdInfoOutput() TrustdInfoOutput { + return i.ToTrustdInfoOutputWithContext(context.Background()) } -func (i KeyArgs) ToKeyOutputWithContext(ctx context.Context) KeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeyOutput) +func (i TrustdInfoArgs) ToTrustdInfoOutputWithContext(ctx context.Context) TrustdInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoOutput) } -func (i KeyArgs) ToKeyPtrOutput() KeyPtrOutput { - return i.ToKeyPtrOutputWithContext(context.Background()) +func (i TrustdInfoArgs) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { + return i.ToTrustdInfoPtrOutputWithContext(context.Background()) } -func (i KeyArgs) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeyOutput).ToKeyPtrOutputWithContext(ctx) +func (i TrustdInfoArgs) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoOutput).ToTrustdInfoPtrOutputWithContext(ctx) } -// KeyPtrInput is an input type that accepts KeyArgs, KeyPtr and KeyPtrOutput values. -// You can construct a concrete instance of `KeyPtrInput` via: +// TrustdInfoPtrInput is an input type that accepts TrustdInfoArgs, TrustdInfoPtr and TrustdInfoPtrOutput values. +// You can construct a concrete instance of `TrustdInfoPtrInput` via: // -// KeyArgs{...} +// TrustdInfoArgs{...} // // or: // // nil -type KeyPtrInput interface { +type TrustdInfoPtrInput interface { pulumi.Input - ToKeyPtrOutput() KeyPtrOutput - ToKeyPtrOutputWithContext(context.Context) KeyPtrOutput + ToTrustdInfoPtrOutput() TrustdInfoPtrOutput + ToTrustdInfoPtrOutputWithContext(context.Context) TrustdInfoPtrOutput } -type keyPtrType KeyArgs +type trustdInfoPtrType TrustdInfoArgs -func KeyPtr(v *KeyArgs) KeyPtrInput { - return (*keyPtrType)(v) +func TrustdInfoPtr(v *TrustdInfoArgs) TrustdInfoPtrInput { + return (*trustdInfoPtrType)(v) } -func (*keyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**Key)(nil)).Elem() +func (*trustdInfoPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**TrustdInfo)(nil)).Elem() } -func (i *keyPtrType) ToKeyPtrOutput() KeyPtrOutput { - return i.ToKeyPtrOutputWithContext(context.Background()) +func (i *trustdInfoPtrType) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { + return i.ToTrustdInfoPtrOutputWithContext(context.Background()) } -func (i *keyPtrType) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(KeyPtrOutput) +func (i *trustdInfoPtrType) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoPtrOutput) } -// A Machine Secrets Private Key -type KeyOutput struct{ *pulumi.OutputState } +// A Machine Secrets Trust daemon info +type TrustdInfoOutput struct{ *pulumi.OutputState } -func (KeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*Key)(nil)).Elem() +func (TrustdInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TrustdInfo)(nil)).Elem() } -func (o KeyOutput) ToKeyOutput() KeyOutput { +func (o TrustdInfoOutput) ToTrustdInfoOutput() TrustdInfoOutput { return o } -func (o KeyOutput) ToKeyOutputWithContext(ctx context.Context) KeyOutput { +func (o TrustdInfoOutput) ToTrustdInfoOutputWithContext(ctx context.Context) TrustdInfoOutput { return o } -func (o KeyOutput) ToKeyPtrOutput() KeyPtrOutput { - return o.ToKeyPtrOutputWithContext(context.Background()) +func (o TrustdInfoOutput) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { + return o.ToTrustdInfoPtrOutputWithContext(context.Background()) } -func (o KeyOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v Key) *Key { +func (o TrustdInfoOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v TrustdInfo) *TrustdInfo { return &v - }).(KeyPtrOutput) + }).(TrustdInfoPtrOutput) } -// Private Key -func (o KeyOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v Key) string { return v.Key }).(pulumi.StringOutput) +// The trustd token for the talos kubernetes cluster +func (o TrustdInfoOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v TrustdInfo) string { return v.Token }).(pulumi.StringOutput) } -type KeyPtrOutput struct{ *pulumi.OutputState } +type TrustdInfoPtrOutput struct{ *pulumi.OutputState } -func (KeyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**Key)(nil)).Elem() +func (TrustdInfoPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**TrustdInfo)(nil)).Elem() } -func (o KeyPtrOutput) ToKeyPtrOutput() KeyPtrOutput { +func (o TrustdInfoPtrOutput) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { return o } -func (o KeyPtrOutput) ToKeyPtrOutputWithContext(ctx context.Context) KeyPtrOutput { +func (o TrustdInfoPtrOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { return o } -func (o KeyPtrOutput) Elem() KeyOutput { - return o.ApplyT(func(v *Key) Key { +func (o TrustdInfoPtrOutput) Elem() TrustdInfoOutput { + return o.ApplyT(func(v *TrustdInfo) TrustdInfo { if v != nil { return *v } - var ret Key + var ret TrustdInfo return ret - }).(KeyOutput) + }).(TrustdInfoOutput) } -// Private Key -func (o KeyPtrOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v *Key) *string { +// The trustd token for the talos kubernetes cluster +func (o TrustdInfoPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *TrustdInfo) *string { if v == nil { return nil } - return &v.Key + return &v.Token }).(pulumi.StringPtrOutput) } -// A complete Machine Secrets configuration -type MachineSecrets struct { - Certs Certificates `pulumi:"certs"` - Cluster Cluster `pulumi:"cluster"` - Secrets SecretsType `pulumi:"secrets"` - Trustdinfo TrustdInfo `pulumi:"trustdinfo"` +type GetConfigurationMachineSecrets struct { + // The certs for the talos kubernetes cluster + Certs GetConfigurationMachineSecretsCerts `pulumi:"certs"` + // The cluster secrets + Cluster GetConfigurationMachineSecretsCluster `pulumi:"cluster"` + // The secrets for the talos kubernetes cluster + Secrets GetConfigurationMachineSecretsSecrets `pulumi:"secrets"` + // The trustd info for the talos kubernetes cluster + Trustdinfo GetConfigurationMachineSecretsTrustdinfo `pulumi:"trustdinfo"` } -// MachineSecretsInput is an input type that accepts MachineSecretsArgs and MachineSecretsOutput values. -// You can construct a concrete instance of `MachineSecretsInput` via: +// GetConfigurationMachineSecretsInput is an input type that accepts GetConfigurationMachineSecretsArgs and GetConfigurationMachineSecretsOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsInput` via: // -// MachineSecretsArgs{...} -type MachineSecretsInput interface { +// GetConfigurationMachineSecretsArgs{...} +type GetConfigurationMachineSecretsInput interface { pulumi.Input - ToMachineSecretsOutput() MachineSecretsOutput - ToMachineSecretsOutputWithContext(context.Context) MachineSecretsOutput + ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput + ToGetConfigurationMachineSecretsOutputWithContext(context.Context) GetConfigurationMachineSecretsOutput } -// A complete Machine Secrets configuration -type MachineSecretsArgs struct { - Certs CertificatesInput `pulumi:"certs"` - Cluster ClusterInput `pulumi:"cluster"` - Secrets SecretsTypeInput `pulumi:"secrets"` - Trustdinfo TrustdInfoInput `pulumi:"trustdinfo"` +type GetConfigurationMachineSecretsArgs struct { + // The certs for the talos kubernetes cluster + Certs GetConfigurationMachineSecretsCertsInput `pulumi:"certs"` + // The cluster secrets + Cluster GetConfigurationMachineSecretsClusterInput `pulumi:"cluster"` + // The secrets for the talos kubernetes cluster + Secrets GetConfigurationMachineSecretsSecretsInput `pulumi:"secrets"` + // The trustd info for the talos kubernetes cluster + Trustdinfo GetConfigurationMachineSecretsTrustdinfoInput `pulumi:"trustdinfo"` } -func (MachineSecretsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*MachineSecrets)(nil)).Elem() +func (GetConfigurationMachineSecretsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecrets)(nil)).Elem() } -func (i MachineSecretsArgs) ToMachineSecretsOutput() MachineSecretsOutput { - return i.ToMachineSecretsOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsArgs) ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput { + return i.ToGetConfigurationMachineSecretsOutputWithContext(context.Background()) } -func (i MachineSecretsArgs) ToMachineSecretsOutputWithContext(ctx context.Context) MachineSecretsOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsOutput) +func (i GetConfigurationMachineSecretsArgs) ToGetConfigurationMachineSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsOutput) } -func (i MachineSecretsArgs) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { - return i.ToMachineSecretsPtrOutputWithContext(context.Background()) -} +type GetConfigurationMachineSecretsOutput struct{ *pulumi.OutputState } -func (i MachineSecretsArgs) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsOutput).ToMachineSecretsPtrOutputWithContext(ctx) +func (GetConfigurationMachineSecretsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecrets)(nil)).Elem() } -// MachineSecretsPtrInput is an input type that accepts MachineSecretsArgs, MachineSecretsPtr and MachineSecretsPtrOutput values. -// You can construct a concrete instance of `MachineSecretsPtrInput` via: -// -// MachineSecretsArgs{...} -// -// or: -// -// nil -type MachineSecretsPtrInput interface { - pulumi.Input - - ToMachineSecretsPtrOutput() MachineSecretsPtrOutput - ToMachineSecretsPtrOutputWithContext(context.Context) MachineSecretsPtrOutput +func (o GetConfigurationMachineSecretsOutput) ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput { + return o } -type machineSecretsPtrType MachineSecretsArgs +func (o GetConfigurationMachineSecretsOutput) ToGetConfigurationMachineSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsOutput { + return o +} -func MachineSecretsPtr(v *MachineSecretsArgs) MachineSecretsPtrInput { - return (*machineSecretsPtrType)(v) +// The certs for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsOutput) Certs() GetConfigurationMachineSecretsCertsOutput { + return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsCerts { return v.Certs }).(GetConfigurationMachineSecretsCertsOutput) } -func (*machineSecretsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**MachineSecrets)(nil)).Elem() +// The cluster secrets +func (o GetConfigurationMachineSecretsOutput) Cluster() GetConfigurationMachineSecretsClusterOutput { + return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsCluster { return v.Cluster }).(GetConfigurationMachineSecretsClusterOutput) } -func (i *machineSecretsPtrType) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { - return i.ToMachineSecretsPtrOutputWithContext(context.Background()) +// The secrets for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsOutput) Secrets() GetConfigurationMachineSecretsSecretsOutput { + return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsSecrets { return v.Secrets }).(GetConfigurationMachineSecretsSecretsOutput) } -func (i *machineSecretsPtrType) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(MachineSecretsPtrOutput) -} - -// A complete Machine Secrets configuration -type MachineSecretsOutput struct{ *pulumi.OutputState } - -func (MachineSecretsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*MachineSecrets)(nil)).Elem() -} - -func (o MachineSecretsOutput) ToMachineSecretsOutput() MachineSecretsOutput { - return o +// The trustd info for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsOutput) Trustdinfo() GetConfigurationMachineSecretsTrustdinfoOutput { + return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsTrustdinfo { return v.Trustdinfo }).(GetConfigurationMachineSecretsTrustdinfoOutput) } -func (o MachineSecretsOutput) ToMachineSecretsOutputWithContext(ctx context.Context) MachineSecretsOutput { - return o +type GetConfigurationMachineSecretsCerts struct { + // The certificate and key pair + Etcd GetConfigurationMachineSecretsCertsEtcd `pulumi:"etcd"` + // The certificate and key pair + K8s GetConfigurationMachineSecretsCertsK8s `pulumi:"k8s"` + // The certificate and key pair + K8sAggregator GetConfigurationMachineSecretsCertsK8sAggregator `pulumi:"k8sAggregator"` + K8sServiceaccount GetConfigurationMachineSecretsCertsK8sServiceaccount `pulumi:"k8sServiceaccount"` + // The certificate and key pair + Os GetConfigurationMachineSecretsCertsOs `pulumi:"os"` } -func (o MachineSecretsOutput) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { - return o.ToMachineSecretsPtrOutputWithContext(context.Background()) -} +// GetConfigurationMachineSecretsCertsInput is an input type that accepts GetConfigurationMachineSecretsCertsArgs and GetConfigurationMachineSecretsCertsOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsInput` via: +// +// GetConfigurationMachineSecretsCertsArgs{...} +type GetConfigurationMachineSecretsCertsInput interface { + pulumi.Input -func (o MachineSecretsOutput) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v MachineSecrets) *MachineSecrets { - return &v - }).(MachineSecretsPtrOutput) + ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput + ToGetConfigurationMachineSecretsCertsOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsOutput } -func (o MachineSecretsOutput) Certs() CertificatesOutput { - return o.ApplyT(func(v MachineSecrets) Certificates { return v.Certs }).(CertificatesOutput) +type GetConfigurationMachineSecretsCertsArgs struct { + // The certificate and key pair + Etcd GetConfigurationMachineSecretsCertsEtcdInput `pulumi:"etcd"` + // The certificate and key pair + K8s GetConfigurationMachineSecretsCertsK8sInput `pulumi:"k8s"` + // The certificate and key pair + K8sAggregator GetConfigurationMachineSecretsCertsK8sAggregatorInput `pulumi:"k8sAggregator"` + K8sServiceaccount GetConfigurationMachineSecretsCertsK8sServiceaccountInput `pulumi:"k8sServiceaccount"` + // The certificate and key pair + Os GetConfigurationMachineSecretsCertsOsInput `pulumi:"os"` } -func (o MachineSecretsOutput) Cluster() ClusterOutput { - return o.ApplyT(func(v MachineSecrets) Cluster { return v.Cluster }).(ClusterOutput) +func (GetConfigurationMachineSecretsCertsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCerts)(nil)).Elem() } -func (o MachineSecretsOutput) Secrets() SecretsTypeOutput { - return o.ApplyT(func(v MachineSecrets) SecretsType { return v.Secrets }).(SecretsTypeOutput) +func (i GetConfigurationMachineSecretsCertsArgs) ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput { + return i.ToGetConfigurationMachineSecretsCertsOutputWithContext(context.Background()) } -func (o MachineSecretsOutput) Trustdinfo() TrustdInfoOutput { - return o.ApplyT(func(v MachineSecrets) TrustdInfo { return v.Trustdinfo }).(TrustdInfoOutput) +func (i GetConfigurationMachineSecretsCertsArgs) ToGetConfigurationMachineSecretsCertsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOutput) } -type MachineSecretsPtrOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsCertsOutput struct{ *pulumi.OutputState } -func (MachineSecretsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**MachineSecrets)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCerts)(nil)).Elem() } -func (o MachineSecretsPtrOutput) ToMachineSecretsPtrOutput() MachineSecretsPtrOutput { +func (o GetConfigurationMachineSecretsCertsOutput) ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput { return o } -func (o MachineSecretsPtrOutput) ToMachineSecretsPtrOutputWithContext(ctx context.Context) MachineSecretsPtrOutput { +func (o GetConfigurationMachineSecretsCertsOutput) ToGetConfigurationMachineSecretsCertsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOutput { return o } -func (o MachineSecretsPtrOutput) Elem() MachineSecretsOutput { - return o.ApplyT(func(v *MachineSecrets) MachineSecrets { - if v != nil { - return *v - } - var ret MachineSecrets - return ret - }).(MachineSecretsOutput) +// The certificate and key pair +func (o GetConfigurationMachineSecretsCertsOutput) Etcd() GetConfigurationMachineSecretsCertsEtcdOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsEtcd { return v.Etcd }).(GetConfigurationMachineSecretsCertsEtcdOutput) } -func (o MachineSecretsPtrOutput) Certs() CertificatesPtrOutput { - return o.ApplyT(func(v *MachineSecrets) *Certificates { - if v == nil { - return nil - } - return &v.Certs - }).(CertificatesPtrOutput) +// The certificate and key pair +func (o GetConfigurationMachineSecretsCertsOutput) K8s() GetConfigurationMachineSecretsCertsK8sOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8s { return v.K8s }).(GetConfigurationMachineSecretsCertsK8sOutput) } -func (o MachineSecretsPtrOutput) Cluster() ClusterPtrOutput { - return o.ApplyT(func(v *MachineSecrets) *Cluster { - if v == nil { - return nil - } - return &v.Cluster - }).(ClusterPtrOutput) +// The certificate and key pair +func (o GetConfigurationMachineSecretsCertsOutput) K8sAggregator() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8sAggregator { + return v.K8sAggregator + }).(GetConfigurationMachineSecretsCertsK8sAggregatorOutput) } -func (o MachineSecretsPtrOutput) Secrets() SecretsTypePtrOutput { - return o.ApplyT(func(v *MachineSecrets) *SecretsType { - if v == nil { - return nil - } - return &v.Secrets - }).(SecretsTypePtrOutput) +func (o GetConfigurationMachineSecretsCertsOutput) K8sServiceaccount() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8sServiceaccount { + return v.K8sServiceaccount + }).(GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) } -func (o MachineSecretsPtrOutput) Trustdinfo() TrustdInfoPtrOutput { - return o.ApplyT(func(v *MachineSecrets) *TrustdInfo { - if v == nil { - return nil - } - return &v.Trustdinfo - }).(TrustdInfoPtrOutput) +// The certificate and key pair +func (o GetConfigurationMachineSecretsCertsOutput) Os() GetConfigurationMachineSecretsCertsOsOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsOs { return v.Os }).(GetConfigurationMachineSecretsCertsOsOutput) } -// A Machine Secrets Bootstrap data -type SecretsType struct { - // The bootstrap token for the talos kubernetes cluster - Bootstrap_token string `pulumi:"bootstrap_token"` - // The secretbox encryption secret for the talos kubernetes cluster - Secretbox_encryption_secret string `pulumi:"secretbox_encryption_secret"` +type GetConfigurationMachineSecretsCertsEtcd struct { + // certificate data + Cert string `pulumi:"cert"` + // key data + Key string `pulumi:"key"` } -// SecretsTypeInput is an input type that accepts SecretsTypeArgs and SecretsTypeOutput values. -// You can construct a concrete instance of `SecretsTypeInput` via: +// GetConfigurationMachineSecretsCertsEtcdInput is an input type that accepts GetConfigurationMachineSecretsCertsEtcdArgs and GetConfigurationMachineSecretsCertsEtcdOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsEtcdInput` via: // -// SecretsTypeArgs{...} -type SecretsTypeInput interface { +// GetConfigurationMachineSecretsCertsEtcdArgs{...} +type GetConfigurationMachineSecretsCertsEtcdInput interface { pulumi.Input - ToSecretsTypeOutput() SecretsTypeOutput - ToSecretsTypeOutputWithContext(context.Context) SecretsTypeOutput + ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput + ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsEtcdOutput } -// A Machine Secrets Bootstrap data -type SecretsTypeArgs struct { - // The bootstrap token for the talos kubernetes cluster - Bootstrap_token pulumi.StringInput `pulumi:"bootstrap_token"` - // The secretbox encryption secret for the talos kubernetes cluster - Secretbox_encryption_secret pulumi.StringInput `pulumi:"secretbox_encryption_secret"` +type GetConfigurationMachineSecretsCertsEtcdArgs struct { + // certificate data + Cert pulumi.StringInput `pulumi:"cert"` + // key data + Key pulumi.StringInput `pulumi:"key"` } -func (SecretsTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsType)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsEtcdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsEtcd)(nil)).Elem() } -func (i SecretsTypeArgs) ToSecretsTypeOutput() SecretsTypeOutput { - return i.ToSecretsTypeOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput { + return i.ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(context.Background()) } -func (i SecretsTypeArgs) ToSecretsTypeOutputWithContext(ctx context.Context) SecretsTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput) +func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsEtcdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsEtcdOutput) } -func (i SecretsTypeArgs) ToSecretsTypePtrOutput() SecretsTypePtrOutput { - return i.ToSecretsTypePtrOutputWithContext(context.Background()) +type GetConfigurationMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } + +func (GetConfigurationMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsEtcd)(nil)).Elem() } -func (i SecretsTypeArgs) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsTypeOutput).ToSecretsTypePtrOutputWithContext(ctx) +func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput { + return o } -// SecretsTypePtrInput is an input type that accepts SecretsTypeArgs, SecretsTypePtr and SecretsTypePtrOutput values. -// You can construct a concrete instance of `SecretsTypePtrInput` via: -// -// SecretsTypeArgs{...} -// -// or: +func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsEtcdOutput { + return o +} + +// certificate data +func (o GetConfigurationMachineSecretsCertsEtcdOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsEtcd) string { return v.Cert }).(pulumi.StringOutput) +} + +// key data +func (o GetConfigurationMachineSecretsCertsEtcdOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsEtcd) string { return v.Key }).(pulumi.StringOutput) +} + +type GetConfigurationMachineSecretsCertsK8s struct { + // certificate data + Cert string `pulumi:"cert"` + // key data + Key string `pulumi:"key"` +} + +// GetConfigurationMachineSecretsCertsK8sInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sArgs and GetConfigurationMachineSecretsCertsK8sOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sInput` via: // -// nil -type SecretsTypePtrInput interface { +// GetConfigurationMachineSecretsCertsK8sArgs{...} +type GetConfigurationMachineSecretsCertsK8sInput interface { pulumi.Input - ToSecretsTypePtrOutput() SecretsTypePtrOutput - ToSecretsTypePtrOutputWithContext(context.Context) SecretsTypePtrOutput + ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput + ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sOutput } -type secretsTypePtrType SecretsTypeArgs - -func SecretsTypePtr(v *SecretsTypeArgs) SecretsTypePtrInput { - return (*secretsTypePtrType)(v) +type GetConfigurationMachineSecretsCertsK8sArgs struct { + // certificate data + Cert pulumi.StringInput `pulumi:"cert"` + // key data + Key pulumi.StringInput `pulumi:"key"` } -func (*secretsTypePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsType)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsK8sArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8s)(nil)).Elem() } -func (i *secretsTypePtrType) ToSecretsTypePtrOutput() SecretsTypePtrOutput { - return i.ToSecretsTypePtrOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsCertsK8sArgs) ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput { + return i.ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(context.Background()) } -func (i *secretsTypePtrType) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecretsTypePtrOutput) +func (i GetConfigurationMachineSecretsCertsK8sArgs) ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sOutput) } -// A Machine Secrets Bootstrap data -type SecretsTypeOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } -func (SecretsTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecretsType)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsK8sOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8s)(nil)).Elem() } -func (o SecretsTypeOutput) ToSecretsTypeOutput() SecretsTypeOutput { +func (o GetConfigurationMachineSecretsCertsK8sOutput) ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput { return o } -func (o SecretsTypeOutput) ToSecretsTypeOutputWithContext(ctx context.Context) SecretsTypeOutput { +func (o GetConfigurationMachineSecretsCertsK8sOutput) ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sOutput { return o } -func (o SecretsTypeOutput) ToSecretsTypePtrOutput() SecretsTypePtrOutput { - return o.ToSecretsTypePtrOutputWithContext(context.Background()) +// certificate data +func (o GetConfigurationMachineSecretsCertsK8sOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8s) string { return v.Cert }).(pulumi.StringOutput) } -func (o SecretsTypeOutput) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecretsType) *SecretsType { - return &v - }).(SecretsTypePtrOutput) +// key data +func (o GetConfigurationMachineSecretsCertsK8sOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8s) string { return v.Key }).(pulumi.StringOutput) } -// The bootstrap token for the talos kubernetes cluster -func (o SecretsTypeOutput) Bootstrap_token() pulumi.StringOutput { - return o.ApplyT(func(v SecretsType) string { return v.Bootstrap_token }).(pulumi.StringOutput) +type GetConfigurationMachineSecretsCertsK8sAggregator struct { + // certificate data + Cert string `pulumi:"cert"` + // key data + Key string `pulumi:"key"` } -// The secretbox encryption secret for the talos kubernetes cluster -func (o SecretsTypeOutput) Secretbox_encryption_secret() pulumi.StringOutput { - return o.ApplyT(func(v SecretsType) string { return v.Secretbox_encryption_secret }).(pulumi.StringOutput) +// GetConfigurationMachineSecretsCertsK8sAggregatorInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sAggregatorArgs and GetConfigurationMachineSecretsCertsK8sAggregatorOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sAggregatorInput` via: +// +// GetConfigurationMachineSecretsCertsK8sAggregatorArgs{...} +type GetConfigurationMachineSecretsCertsK8sAggregatorInput interface { + pulumi.Input + + ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput + ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput } -type SecretsTypePtrOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsCertsK8sAggregatorArgs struct { + // certificate data + Cert pulumi.StringInput `pulumi:"cert"` + // key data + Key pulumi.StringInput `pulumi:"key"` +} -func (SecretsTypePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecretsType)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sAggregator)(nil)).Elem() } -func (o SecretsTypePtrOutput) ToSecretsTypePtrOutput() SecretsTypePtrOutput { - return o +func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { + return i.ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(context.Background()) } -func (o SecretsTypePtrOutput) ToSecretsTypePtrOutputWithContext(ctx context.Context) SecretsTypePtrOutput { +func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sAggregatorOutput) +} + +type GetConfigurationMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } + +func (GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sAggregator)(nil)).Elem() +} + +func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { return o } -func (o SecretsTypePtrOutput) Elem() SecretsTypeOutput { - return o.ApplyT(func(v *SecretsType) SecretsType { - if v != nil { - return *v - } - var ret SecretsType - return ret - }).(SecretsTypeOutput) +func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput { + return o } -// The bootstrap token for the talos kubernetes cluster -func (o SecretsTypePtrOutput) Bootstrap_token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsType) *string { - if v == nil { - return nil - } - return &v.Bootstrap_token - }).(pulumi.StringPtrOutput) +// certificate data +func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sAggregator) string { return v.Cert }).(pulumi.StringOutput) } -// The secretbox encryption secret for the talos kubernetes cluster -func (o SecretsTypePtrOutput) Secretbox_encryption_secret() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecretsType) *string { - if v == nil { - return nil - } - return &v.Secretbox_encryption_secret - }).(pulumi.StringPtrOutput) +// key data +func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sAggregator) string { return v.Key }).(pulumi.StringOutput) } -// A Machine Secrets Trust daemon info -type TrustdInfo struct { - // The trustd token for the talos kubernetes cluster - Token string `pulumi:"token"` +type GetConfigurationMachineSecretsCertsK8sServiceaccount struct { + // key data + Key string `pulumi:"key"` } -// TrustdInfoInput is an input type that accepts TrustdInfoArgs and TrustdInfoOutput values. -// You can construct a concrete instance of `TrustdInfoInput` via: +// GetConfigurationMachineSecretsCertsK8sServiceaccountInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sServiceaccountArgs and GetConfigurationMachineSecretsCertsK8sServiceaccountOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sServiceaccountInput` via: // -// TrustdInfoArgs{...} -type TrustdInfoInput interface { +// GetConfigurationMachineSecretsCertsK8sServiceaccountArgs{...} +type GetConfigurationMachineSecretsCertsK8sServiceaccountInput interface { pulumi.Input - ToTrustdInfoOutput() TrustdInfoOutput - ToTrustdInfoOutputWithContext(context.Context) TrustdInfoOutput + ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput + ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput } -// A Machine Secrets Trust daemon info -type TrustdInfoArgs struct { - // The trustd token for the talos kubernetes cluster - Token pulumi.StringInput `pulumi:"token"` +type GetConfigurationMachineSecretsCertsK8sServiceaccountArgs struct { + // key data + Key pulumi.StringInput `pulumi:"key"` } -func (TrustdInfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TrustdInfo)(nil)).Elem() +func (GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (i TrustdInfoArgs) ToTrustdInfoOutput() TrustdInfoOutput { - return i.ToTrustdInfoOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { + return i.ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Background()) } -func (i TrustdInfoArgs) ToTrustdInfoOutputWithContext(ctx context.Context) TrustdInfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoOutput) +func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) } -func (i TrustdInfoArgs) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { - return i.ToTrustdInfoPtrOutputWithContext(context.Background()) +type GetConfigurationMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } + +func (GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sServiceaccount)(nil)).Elem() } -func (i TrustdInfoArgs) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoOutput).ToTrustdInfoPtrOutputWithContext(ctx) +func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { + return o } -// TrustdInfoPtrInput is an input type that accepts TrustdInfoArgs, TrustdInfoPtr and TrustdInfoPtrOutput values. -// You can construct a concrete instance of `TrustdInfoPtrInput` via: -// -// TrustdInfoArgs{...} -// -// or: +func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { + return o +} + +// key data +func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sServiceaccount) string { return v.Key }).(pulumi.StringOutput) +} + +type GetConfigurationMachineSecretsCertsOs struct { + // certificate data + Cert string `pulumi:"cert"` + // key data + Key string `pulumi:"key"` +} + +// GetConfigurationMachineSecretsCertsOsInput is an input type that accepts GetConfigurationMachineSecretsCertsOsArgs and GetConfigurationMachineSecretsCertsOsOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsOsInput` via: // -// nil -type TrustdInfoPtrInput interface { +// GetConfigurationMachineSecretsCertsOsArgs{...} +type GetConfigurationMachineSecretsCertsOsInput interface { pulumi.Input - ToTrustdInfoPtrOutput() TrustdInfoPtrOutput - ToTrustdInfoPtrOutputWithContext(context.Context) TrustdInfoPtrOutput + ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput + ToGetConfigurationMachineSecretsCertsOsOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsOsOutput } -type trustdInfoPtrType TrustdInfoArgs +type GetConfigurationMachineSecretsCertsOsArgs struct { + // certificate data + Cert pulumi.StringInput `pulumi:"cert"` + // key data + Key pulumi.StringInput `pulumi:"key"` +} -func TrustdInfoPtr(v *TrustdInfoArgs) TrustdInfoPtrInput { - return (*trustdInfoPtrType)(v) +func (GetConfigurationMachineSecretsCertsOsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsOs)(nil)).Elem() } -func (*trustdInfoPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**TrustdInfo)(nil)).Elem() +func (i GetConfigurationMachineSecretsCertsOsArgs) ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput { + return i.ToGetConfigurationMachineSecretsCertsOsOutputWithContext(context.Background()) } -func (i *trustdInfoPtrType) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { - return i.ToTrustdInfoPtrOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsCertsOsArgs) ToGetConfigurationMachineSecretsCertsOsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOsOutput) +} + +type GetConfigurationMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } + +func (GetConfigurationMachineSecretsCertsOsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCertsOs)(nil)).Elem() +} + +func (o GetConfigurationMachineSecretsCertsOsOutput) ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput { + return o +} + +func (o GetConfigurationMachineSecretsCertsOsOutput) ToGetConfigurationMachineSecretsCertsOsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOsOutput { + return o +} + +// certificate data +func (o GetConfigurationMachineSecretsCertsOsOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsOs) string { return v.Cert }).(pulumi.StringOutput) } -func (i *trustdInfoPtrType) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(TrustdInfoPtrOutput) +// key data +func (o GetConfigurationMachineSecretsCertsOsOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCertsOs) string { return v.Key }).(pulumi.StringOutput) } -// A Machine Secrets Trust daemon info -type TrustdInfoOutput struct{ *pulumi.OutputState } - -func (TrustdInfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TrustdInfo)(nil)).Elem() +type GetConfigurationMachineSecretsCluster struct { + // The cluster id + Id string `pulumi:"id"` + // The cluster secret + Secret string `pulumi:"secret"` } -func (o TrustdInfoOutput) ToTrustdInfoOutput() TrustdInfoOutput { - return o +// GetConfigurationMachineSecretsClusterInput is an input type that accepts GetConfigurationMachineSecretsClusterArgs and GetConfigurationMachineSecretsClusterOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsClusterInput` via: +// +// GetConfigurationMachineSecretsClusterArgs{...} +type GetConfigurationMachineSecretsClusterInput interface { + pulumi.Input + + ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput + ToGetConfigurationMachineSecretsClusterOutputWithContext(context.Context) GetConfigurationMachineSecretsClusterOutput } -func (o TrustdInfoOutput) ToTrustdInfoOutputWithContext(ctx context.Context) TrustdInfoOutput { - return o +type GetConfigurationMachineSecretsClusterArgs struct { + // The cluster id + Id pulumi.StringInput `pulumi:"id"` + // The cluster secret + Secret pulumi.StringInput `pulumi:"secret"` } -func (o TrustdInfoOutput) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { - return o.ToTrustdInfoPtrOutputWithContext(context.Background()) +func (GetConfigurationMachineSecretsClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCluster)(nil)).Elem() } -func (o TrustdInfoOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v TrustdInfo) *TrustdInfo { - return &v - }).(TrustdInfoPtrOutput) +func (i GetConfigurationMachineSecretsClusterArgs) ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput { + return i.ToGetConfigurationMachineSecretsClusterOutputWithContext(context.Background()) } -// The trustd token for the talos kubernetes cluster -func (o TrustdInfoOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v TrustdInfo) string { return v.Token }).(pulumi.StringOutput) +func (i GetConfigurationMachineSecretsClusterArgs) ToGetConfigurationMachineSecretsClusterOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsClusterOutput) } -type TrustdInfoPtrOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsClusterOutput struct{ *pulumi.OutputState } -func (TrustdInfoPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**TrustdInfo)(nil)).Elem() +func (GetConfigurationMachineSecretsClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsCluster)(nil)).Elem() } -func (o TrustdInfoPtrOutput) ToTrustdInfoPtrOutput() TrustdInfoPtrOutput { +func (o GetConfigurationMachineSecretsClusterOutput) ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput { return o } -func (o TrustdInfoPtrOutput) ToTrustdInfoPtrOutputWithContext(ctx context.Context) TrustdInfoPtrOutput { +func (o GetConfigurationMachineSecretsClusterOutput) ToGetConfigurationMachineSecretsClusterOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsClusterOutput { return o } -func (o TrustdInfoPtrOutput) Elem() TrustdInfoOutput { - return o.ApplyT(func(v *TrustdInfo) TrustdInfo { - if v != nil { - return *v - } - var ret TrustdInfo - return ret - }).(TrustdInfoOutput) +// The cluster id +func (o GetConfigurationMachineSecretsClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCluster) string { return v.Id }).(pulumi.StringOutput) } -// The trustd token for the talos kubernetes cluster -func (o TrustdInfoPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *TrustdInfo) *string { - if v == nil { - return nil - } - return &v.Token - }).(pulumi.StringPtrOutput) +// The cluster secret +func (o GetConfigurationMachineSecretsClusterOutput) Secret() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsCluster) string { return v.Secret }).(pulumi.StringOutput) } -type GetConfigurationMachineSecrets struct { - // The certs for the talos kubernetes cluster - Certs GetConfigurationMachineSecretsCerts `pulumi:"certs"` - // The cluster secrets - Cluster GetConfigurationMachineSecretsCluster `pulumi:"cluster"` - // The secrets for the talos kubernetes cluster - Secrets GetConfigurationMachineSecretsSecrets `pulumi:"secrets"` - // The trustd info for the talos kubernetes cluster - Trustdinfo GetConfigurationMachineSecretsTrustdinfo `pulumi:"trustdinfo"` +type GetConfigurationMachineSecretsSecrets struct { + // The aescbc encryption secret for the talos kubernetes cluster + AescbcEncryptionSecret *string `pulumi:"aescbcEncryptionSecret"` + // The bootstrap token for the talos kubernetes cluster + BootstrapToken string `pulumi:"bootstrapToken"` + // The secretbox encryption secret for the talos kubernetes cluster + SecretboxEncryptionSecret string `pulumi:"secretboxEncryptionSecret"` } -// GetConfigurationMachineSecretsInput is an input type that accepts GetConfigurationMachineSecretsArgs and GetConfigurationMachineSecretsOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsInput` via: +// GetConfigurationMachineSecretsSecretsInput is an input type that accepts GetConfigurationMachineSecretsSecretsArgs and GetConfigurationMachineSecretsSecretsOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsSecretsInput` via: // -// GetConfigurationMachineSecretsArgs{...} -type GetConfigurationMachineSecretsInput interface { +// GetConfigurationMachineSecretsSecretsArgs{...} +type GetConfigurationMachineSecretsSecretsInput interface { pulumi.Input - ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput - ToGetConfigurationMachineSecretsOutputWithContext(context.Context) GetConfigurationMachineSecretsOutput + ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput + ToGetConfigurationMachineSecretsSecretsOutputWithContext(context.Context) GetConfigurationMachineSecretsSecretsOutput } -type GetConfigurationMachineSecretsArgs struct { - // The certs for the talos kubernetes cluster - Certs GetConfigurationMachineSecretsCertsInput `pulumi:"certs"` - // The cluster secrets - Cluster GetConfigurationMachineSecretsClusterInput `pulumi:"cluster"` - // The secrets for the talos kubernetes cluster - Secrets GetConfigurationMachineSecretsSecretsInput `pulumi:"secrets"` - // The trustd info for the talos kubernetes cluster - Trustdinfo GetConfigurationMachineSecretsTrustdinfoInput `pulumi:"trustdinfo"` +type GetConfigurationMachineSecretsSecretsArgs struct { + // The aescbc encryption secret for the talos kubernetes cluster + AescbcEncryptionSecret pulumi.StringPtrInput `pulumi:"aescbcEncryptionSecret"` + // The bootstrap token for the talos kubernetes cluster + BootstrapToken pulumi.StringInput `pulumi:"bootstrapToken"` + // The secretbox encryption secret for the talos kubernetes cluster + SecretboxEncryptionSecret pulumi.StringInput `pulumi:"secretboxEncryptionSecret"` } -func (GetConfigurationMachineSecretsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecrets)(nil)).Elem() +func (GetConfigurationMachineSecretsSecretsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsSecrets)(nil)).Elem() } -func (i GetConfigurationMachineSecretsArgs) ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput { - return i.ToGetConfigurationMachineSecretsOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsSecretsArgs) ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput { + return i.ToGetConfigurationMachineSecretsSecretsOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsArgs) ToGetConfigurationMachineSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsOutput) +func (i GetConfigurationMachineSecretsSecretsArgs) ToGetConfigurationMachineSecretsSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsSecretsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsSecretsOutput) } -type GetConfigurationMachineSecretsOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsSecretsOutput struct{ *pulumi.OutputState } -func (GetConfigurationMachineSecretsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecrets)(nil)).Elem() +func (GetConfigurationMachineSecretsSecretsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsSecrets)(nil)).Elem() } -func (o GetConfigurationMachineSecretsOutput) ToGetConfigurationMachineSecretsOutput() GetConfigurationMachineSecretsOutput { +func (o GetConfigurationMachineSecretsSecretsOutput) ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput { return o } -func (o GetConfigurationMachineSecretsOutput) ToGetConfigurationMachineSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsOutput { +func (o GetConfigurationMachineSecretsSecretsOutput) ToGetConfigurationMachineSecretsSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsSecretsOutput { return o } -// The certs for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsOutput) Certs() GetConfigurationMachineSecretsCertsOutput { - return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsCerts { return v.Certs }).(GetConfigurationMachineSecretsCertsOutput) -} - -// The cluster secrets -func (o GetConfigurationMachineSecretsOutput) Cluster() GetConfigurationMachineSecretsClusterOutput { - return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsCluster { return v.Cluster }).(GetConfigurationMachineSecretsClusterOutput) +// The aescbc encryption secret for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) } -// The secrets for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsOutput) Secrets() GetConfigurationMachineSecretsSecretsOutput { - return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsSecrets { return v.Secrets }).(GetConfigurationMachineSecretsSecretsOutput) +// The bootstrap token for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsSecretsOutput) BootstrapToken() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) string { return v.BootstrapToken }).(pulumi.StringOutput) } -// The trustd info for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsOutput) Trustdinfo() GetConfigurationMachineSecretsTrustdinfoOutput { - return o.ApplyT(func(v GetConfigurationMachineSecrets) GetConfigurationMachineSecretsTrustdinfo { return v.Trustdinfo }).(GetConfigurationMachineSecretsTrustdinfoOutput) +// The secretbox encryption secret for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsSecretsOutput) SecretboxEncryptionSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) string { return v.SecretboxEncryptionSecret }).(pulumi.StringOutput) } -type GetConfigurationMachineSecretsCerts struct { - // The certificate and key pair - Etcd GetConfigurationMachineSecretsCertsEtcd `pulumi:"etcd"` - // The certificate and key pair - K8s GetConfigurationMachineSecretsCertsK8s `pulumi:"k8s"` - // The certificate and key pair - K8sAggregator GetConfigurationMachineSecretsCertsK8sAggregator `pulumi:"k8sAggregator"` - K8sServiceaccount GetConfigurationMachineSecretsCertsK8sServiceaccount `pulumi:"k8sServiceaccount"` - // The certificate and key pair - Os GetConfigurationMachineSecretsCertsOs `pulumi:"os"` +type GetConfigurationMachineSecretsTrustdinfo struct { + // The trustd token for the talos kubernetes cluster + Token string `pulumi:"token"` } -// GetConfigurationMachineSecretsCertsInput is an input type that accepts GetConfigurationMachineSecretsCertsArgs and GetConfigurationMachineSecretsCertsOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsInput` via: +// GetConfigurationMachineSecretsTrustdinfoInput is an input type that accepts GetConfigurationMachineSecretsTrustdinfoArgs and GetConfigurationMachineSecretsTrustdinfoOutput values. +// You can construct a concrete instance of `GetConfigurationMachineSecretsTrustdinfoInput` via: // -// GetConfigurationMachineSecretsCertsArgs{...} -type GetConfigurationMachineSecretsCertsInput interface { +// GetConfigurationMachineSecretsTrustdinfoArgs{...} +type GetConfigurationMachineSecretsTrustdinfoInput interface { pulumi.Input - ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput - ToGetConfigurationMachineSecretsCertsOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsOutput + ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput + ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(context.Context) GetConfigurationMachineSecretsTrustdinfoOutput } -type GetConfigurationMachineSecretsCertsArgs struct { - // The certificate and key pair - Etcd GetConfigurationMachineSecretsCertsEtcdInput `pulumi:"etcd"` - // The certificate and key pair - K8s GetConfigurationMachineSecretsCertsK8sInput `pulumi:"k8s"` - // The certificate and key pair - K8sAggregator GetConfigurationMachineSecretsCertsK8sAggregatorInput `pulumi:"k8sAggregator"` - K8sServiceaccount GetConfigurationMachineSecretsCertsK8sServiceaccountInput `pulumi:"k8sServiceaccount"` - // The certificate and key pair - Os GetConfigurationMachineSecretsCertsOsInput `pulumi:"os"` +type GetConfigurationMachineSecretsTrustdinfoArgs struct { + // The trustd token for the talos kubernetes cluster + Token pulumi.StringInput `pulumi:"token"` } -func (GetConfigurationMachineSecretsCertsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCerts)(nil)).Elem() +func (GetConfigurationMachineSecretsTrustdinfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsTrustdinfo)(nil)).Elem() } -func (i GetConfigurationMachineSecretsCertsArgs) ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput { - return i.ToGetConfigurationMachineSecretsCertsOutputWithContext(context.Background()) +func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput { + return i.ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsCertsArgs) ToGetConfigurationMachineSecretsCertsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOutput) +func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsTrustdinfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsTrustdinfoOutput) } -type GetConfigurationMachineSecretsCertsOutput struct{ *pulumi.OutputState } +type GetConfigurationMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } -func (GetConfigurationMachineSecretsCertsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCerts)(nil)).Elem() +func (GetConfigurationMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetConfigurationMachineSecretsTrustdinfo)(nil)).Elem() } -func (o GetConfigurationMachineSecretsCertsOutput) ToGetConfigurationMachineSecretsCertsOutput() GetConfigurationMachineSecretsCertsOutput { +func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput { return o } -func (o GetConfigurationMachineSecretsCertsOutput) ToGetConfigurationMachineSecretsCertsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOutput { +func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsTrustdinfoOutput { return o } -// The certificate and key pair -func (o GetConfigurationMachineSecretsCertsOutput) Etcd() GetConfigurationMachineSecretsCertsEtcdOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsEtcd { return v.Etcd }).(GetConfigurationMachineSecretsCertsEtcdOutput) -} - -// The certificate and key pair -func (o GetConfigurationMachineSecretsCertsOutput) K8s() GetConfigurationMachineSecretsCertsK8sOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8s { return v.K8s }).(GetConfigurationMachineSecretsCertsK8sOutput) -} - -// The certificate and key pair -func (o GetConfigurationMachineSecretsCertsOutput) K8sAggregator() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8sAggregator { - return v.K8sAggregator - }).(GetConfigurationMachineSecretsCertsK8sAggregatorOutput) -} - -func (o GetConfigurationMachineSecretsCertsOutput) K8sServiceaccount() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsK8sServiceaccount { - return v.K8sServiceaccount - }).(GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) -} - -// The certificate and key pair -func (o GetConfigurationMachineSecretsCertsOutput) Os() GetConfigurationMachineSecretsCertsOsOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCerts) GetConfigurationMachineSecretsCertsOs { return v.Os }).(GetConfigurationMachineSecretsCertsOsOutput) +// The trustd token for the talos kubernetes cluster +func (o GetConfigurationMachineSecretsTrustdinfoOutput) Token() pulumi.StringOutput { + return o.ApplyT(func(v GetConfigurationMachineSecretsTrustdinfo) string { return v.Token }).(pulumi.StringOutput) } -type GetConfigurationMachineSecretsCertsEtcd struct { - // certificate data - Cert string `pulumi:"cert"` - // key data - Key string `pulumi:"key"` +type GetDisksClientConfiguration struct { + // The client CA certificate + CaCertificate string `pulumi:"caCertificate"` + // The client certificate + ClientCertificate string `pulumi:"clientCertificate"` + // The client key + ClientKey string `pulumi:"clientKey"` } -// GetConfigurationMachineSecretsCertsEtcdInput is an input type that accepts GetConfigurationMachineSecretsCertsEtcdArgs and GetConfigurationMachineSecretsCertsEtcdOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsEtcdInput` via: +// GetDisksClientConfigurationInput is an input type that accepts GetDisksClientConfigurationArgs and GetDisksClientConfigurationOutput values. +// You can construct a concrete instance of `GetDisksClientConfigurationInput` via: // -// GetConfigurationMachineSecretsCertsEtcdArgs{...} -type GetConfigurationMachineSecretsCertsEtcdInput interface { +// GetDisksClientConfigurationArgs{...} +type GetDisksClientConfigurationInput interface { pulumi.Input - ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput - ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsEtcdOutput + ToGetDisksClientConfigurationOutput() GetDisksClientConfigurationOutput + ToGetDisksClientConfigurationOutputWithContext(context.Context) GetDisksClientConfigurationOutput } -type GetConfigurationMachineSecretsCertsEtcdArgs struct { - // certificate data - Cert pulumi.StringInput `pulumi:"cert"` - // key data - Key pulumi.StringInput `pulumi:"key"` +type GetDisksClientConfigurationArgs struct { + // The client CA certificate + CaCertificate pulumi.StringInput `pulumi:"caCertificate"` + // The client certificate + ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"` + // The client key + ClientKey pulumi.StringInput `pulumi:"clientKey"` } -func (GetConfigurationMachineSecretsCertsEtcdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsEtcd)(nil)).Elem() +func (GetDisksClientConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksClientConfiguration)(nil)).Elem() } -func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput { - return i.ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(context.Background()) +func (i GetDisksClientConfigurationArgs) ToGetDisksClientConfigurationOutput() GetDisksClientConfigurationOutput { + return i.ToGetDisksClientConfigurationOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsCertsEtcdArgs) ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsEtcdOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsEtcdOutput) +func (i GetDisksClientConfigurationArgs) ToGetDisksClientConfigurationOutputWithContext(ctx context.Context) GetDisksClientConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksClientConfigurationOutput) } -type GetConfigurationMachineSecretsCertsEtcdOutput struct{ *pulumi.OutputState } +type GetDisksClientConfigurationOutput struct{ *pulumi.OutputState } -func (GetConfigurationMachineSecretsCertsEtcdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsEtcd)(nil)).Elem() +func (GetDisksClientConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksClientConfiguration)(nil)).Elem() } -func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToGetConfigurationMachineSecretsCertsEtcdOutput() GetConfigurationMachineSecretsCertsEtcdOutput { +func (o GetDisksClientConfigurationOutput) ToGetDisksClientConfigurationOutput() GetDisksClientConfigurationOutput { return o } -func (o GetConfigurationMachineSecretsCertsEtcdOutput) ToGetConfigurationMachineSecretsCertsEtcdOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsEtcdOutput { +func (o GetDisksClientConfigurationOutput) ToGetDisksClientConfigurationOutputWithContext(ctx context.Context) GetDisksClientConfigurationOutput { return o } -// certificate data -func (o GetConfigurationMachineSecretsCertsEtcdOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsEtcd) string { return v.Cert }).(pulumi.StringOutput) +// The client CA certificate +func (o GetDisksClientConfigurationOutput) CaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksClientConfiguration) string { return v.CaCertificate }).(pulumi.StringOutput) } -// key data -func (o GetConfigurationMachineSecretsCertsEtcdOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsEtcd) string { return v.Key }).(pulumi.StringOutput) +// The client certificate +func (o GetDisksClientConfigurationOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksClientConfiguration) string { return v.ClientCertificate }).(pulumi.StringOutput) } -type GetConfigurationMachineSecretsCertsK8s struct { - // certificate data - Cert string `pulumi:"cert"` - // key data - Key string `pulumi:"key"` +// The client key +func (o GetDisksClientConfigurationOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksClientConfiguration) string { return v.ClientKey }).(pulumi.StringOutput) } -// GetConfigurationMachineSecretsCertsK8sInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sArgs and GetConfigurationMachineSecretsCertsK8sOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sInput` via: +type GetDisksDisk struct { + // The bus path of the disk + BusPath string `pulumi:"busPath"` + // The modalias of the disk + Modalias string `pulumi:"modalias"` + // The model of the disk + Model string `pulumi:"model"` + // The name of the disk + Name string `pulumi:"name"` + // The serial number of the disk + Serial string `pulumi:"serial"` + // The size of the disk + Size string `pulumi:"size"` + // The type of the disk + Type string `pulumi:"type"` + // The uuid of the disk + Uuid string `pulumi:"uuid"` + // The wwid of the disk + Wwid string `pulumi:"wwid"` +} + +// GetDisksDiskInput is an input type that accepts GetDisksDiskArgs and GetDisksDiskOutput values. +// You can construct a concrete instance of `GetDisksDiskInput` via: // -// GetConfigurationMachineSecretsCertsK8sArgs{...} -type GetConfigurationMachineSecretsCertsK8sInput interface { +// GetDisksDiskArgs{...} +type GetDisksDiskInput interface { pulumi.Input - ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput - ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sOutput + ToGetDisksDiskOutput() GetDisksDiskOutput + ToGetDisksDiskOutputWithContext(context.Context) GetDisksDiskOutput } -type GetConfigurationMachineSecretsCertsK8sArgs struct { - // certificate data - Cert pulumi.StringInput `pulumi:"cert"` - // key data - Key pulumi.StringInput `pulumi:"key"` +type GetDisksDiskArgs struct { + // The bus path of the disk + BusPath pulumi.StringInput `pulumi:"busPath"` + // The modalias of the disk + Modalias pulumi.StringInput `pulumi:"modalias"` + // The model of the disk + Model pulumi.StringInput `pulumi:"model"` + // The name of the disk + Name pulumi.StringInput `pulumi:"name"` + // The serial number of the disk + Serial pulumi.StringInput `pulumi:"serial"` + // The size of the disk + Size pulumi.StringInput `pulumi:"size"` + // The type of the disk + Type pulumi.StringInput `pulumi:"type"` + // The uuid of the disk + Uuid pulumi.StringInput `pulumi:"uuid"` + // The wwid of the disk + Wwid pulumi.StringInput `pulumi:"wwid"` } -func (GetConfigurationMachineSecretsCertsK8sArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8s)(nil)).Elem() +func (GetDisksDiskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksDisk)(nil)).Elem() } -func (i GetConfigurationMachineSecretsCertsK8sArgs) ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput { - return i.ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(context.Background()) +func (i GetDisksDiskArgs) ToGetDisksDiskOutput() GetDisksDiskOutput { + return i.ToGetDisksDiskOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsCertsK8sArgs) ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sOutput) +func (i GetDisksDiskArgs) ToGetDisksDiskOutputWithContext(ctx context.Context) GetDisksDiskOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksDiskOutput) } -type GetConfigurationMachineSecretsCertsK8sOutput struct{ *pulumi.OutputState } - -func (GetConfigurationMachineSecretsCertsK8sOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8s)(nil)).Elem() -} +// GetDisksDiskArrayInput is an input type that accepts GetDisksDiskArray and GetDisksDiskArrayOutput values. +// You can construct a concrete instance of `GetDisksDiskArrayInput` via: +// +// GetDisksDiskArray{ GetDisksDiskArgs{...} } +type GetDisksDiskArrayInput interface { + pulumi.Input -func (o GetConfigurationMachineSecretsCertsK8sOutput) ToGetConfigurationMachineSecretsCertsK8sOutput() GetConfigurationMachineSecretsCertsK8sOutput { - return o + ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput + ToGetDisksDiskArrayOutputWithContext(context.Context) GetDisksDiskArrayOutput } -func (o GetConfigurationMachineSecretsCertsK8sOutput) ToGetConfigurationMachineSecretsCertsK8sOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sOutput { - return o -} +type GetDisksDiskArray []GetDisksDiskInput -// certificate data -func (o GetConfigurationMachineSecretsCertsK8sOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8s) string { return v.Cert }).(pulumi.StringOutput) +func (GetDisksDiskArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDisksDisk)(nil)).Elem() } -// key data -func (o GetConfigurationMachineSecretsCertsK8sOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8s) string { return v.Key }).(pulumi.StringOutput) +func (i GetDisksDiskArray) ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput { + return i.ToGetDisksDiskArrayOutputWithContext(context.Background()) } -type GetConfigurationMachineSecretsCertsK8sAggregator struct { - // certificate data - Cert string `pulumi:"cert"` - // key data - Key string `pulumi:"key"` +func (i GetDisksDiskArray) ToGetDisksDiskArrayOutputWithContext(ctx context.Context) GetDisksDiskArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksDiskArrayOutput) } -// GetConfigurationMachineSecretsCertsK8sAggregatorInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sAggregatorArgs and GetConfigurationMachineSecretsCertsK8sAggregatorOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sAggregatorInput` via: -// -// GetConfigurationMachineSecretsCertsK8sAggregatorArgs{...} -type GetConfigurationMachineSecretsCertsK8sAggregatorInput interface { - pulumi.Input +type GetDisksDiskOutput struct{ *pulumi.OutputState } - ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput - ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput +func (GetDisksDiskOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksDisk)(nil)).Elem() } -type GetConfigurationMachineSecretsCertsK8sAggregatorArgs struct { - // certificate data - Cert pulumi.StringInput `pulumi:"cert"` - // key data - Key pulumi.StringInput `pulumi:"key"` +func (o GetDisksDiskOutput) ToGetDisksDiskOutput() GetDisksDiskOutput { + return o } -func (GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sAggregator)(nil)).Elem() +func (o GetDisksDiskOutput) ToGetDisksDiskOutputWithContext(ctx context.Context) GetDisksDiskOutput { + return o } -func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { - return i.ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(context.Background()) +// The bus path of the disk +func (o GetDisksDiskOutput) BusPath() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.BusPath }).(pulumi.StringOutput) } -func (i GetConfigurationMachineSecretsCertsK8sAggregatorArgs) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sAggregatorOutput) +// The modalias of the disk +func (o GetDisksDiskOutput) Modalias() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Modalias }).(pulumi.StringOutput) } -type GetConfigurationMachineSecretsCertsK8sAggregatorOutput struct{ *pulumi.OutputState } +// The model of the disk +func (o GetDisksDiskOutput) Model() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Model }).(pulumi.StringOutput) +} -func (GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sAggregator)(nil)).Elem() +// The name of the disk +func (o GetDisksDiskOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Name }).(pulumi.StringOutput) } -func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutput() GetConfigurationMachineSecretsCertsK8sAggregatorOutput { - return o +// The serial number of the disk +func (o GetDisksDiskOutput) Serial() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Serial }).(pulumi.StringOutput) } -func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) ToGetConfigurationMachineSecretsCertsK8sAggregatorOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sAggregatorOutput { - return o +// The size of the disk +func (o GetDisksDiskOutput) Size() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Size }).(pulumi.StringOutput) } -// certificate data -func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sAggregator) string { return v.Cert }).(pulumi.StringOutput) +// The type of the disk +func (o GetDisksDiskOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Type }).(pulumi.StringOutput) } -// key data -func (o GetConfigurationMachineSecretsCertsK8sAggregatorOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sAggregator) string { return v.Key }).(pulumi.StringOutput) +// The uuid of the disk +func (o GetDisksDiskOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Uuid }).(pulumi.StringOutput) } -type GetConfigurationMachineSecretsCertsK8sServiceaccount struct { - // key data - Key string `pulumi:"key"` +// The wwid of the disk +func (o GetDisksDiskOutput) Wwid() pulumi.StringOutput { + return o.ApplyT(func(v GetDisksDisk) string { return v.Wwid }).(pulumi.StringOutput) } -// GetConfigurationMachineSecretsCertsK8sServiceaccountInput is an input type that accepts GetConfigurationMachineSecretsCertsK8sServiceaccountArgs and GetConfigurationMachineSecretsCertsK8sServiceaccountOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsK8sServiceaccountInput` via: -// -// GetConfigurationMachineSecretsCertsK8sServiceaccountArgs{...} -type GetConfigurationMachineSecretsCertsK8sServiceaccountInput interface { - pulumi.Input +type GetDisksDiskArrayOutput struct{ *pulumi.OutputState } - ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput - ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput +func (GetDisksDiskArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDisksDisk)(nil)).Elem() } -type GetConfigurationMachineSecretsCertsK8sServiceaccountArgs struct { - // key data - Key pulumi.StringInput `pulumi:"key"` +func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutput() GetDisksDiskArrayOutput { + return o } -func (GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sServiceaccount)(nil)).Elem() +func (o GetDisksDiskArrayOutput) ToGetDisksDiskArrayOutputWithContext(ctx context.Context) GetDisksDiskArrayOutput { + return o } -func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { - return i.ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(context.Background()) +func (o GetDisksDiskArrayOutput) Index(i pulumi.IntInput) GetDisksDiskOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDisksDisk { + return vs[0].([]GetDisksDisk)[vs[1].(int)] + }).(GetDisksDiskOutput) } -func (i GetConfigurationMachineSecretsCertsK8sServiceaccountArgs) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) +type GetDisksFilters struct { + // Filter disks by bus path + BusPath *string `pulumi:"busPath"` + // Filter disks by modalias + Modalias *string `pulumi:"modalias"` + // Filter disks by model + Model *string `pulumi:"model"` + // Filter disks by name + Name *string `pulumi:"name"` + // Filter disks by serial number + Serial *string `pulumi:"serial"` + // Filter disks by size + Size *string `pulumi:"size"` + // Filter disks by type + Type *string `pulumi:"type"` + // Filter disks by uuid + Uuid *string `pulumi:"uuid"` + // Filter disks by wwid + Wwid *string `pulumi:"wwid"` } -type GetConfigurationMachineSecretsCertsK8sServiceaccountOutput struct{ *pulumi.OutputState } +// GetDisksFiltersInput is an input type that accepts GetDisksFiltersArgs and GetDisksFiltersOutput values. +// You can construct a concrete instance of `GetDisksFiltersInput` via: +// +// GetDisksFiltersArgs{...} +type GetDisksFiltersInput interface { + pulumi.Input -func (GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsK8sServiceaccount)(nil)).Elem() + ToGetDisksFiltersOutput() GetDisksFiltersOutput + ToGetDisksFiltersOutputWithContext(context.Context) GetDisksFiltersOutput } -func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutput() GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { - return o +type GetDisksFiltersArgs struct { + // Filter disks by bus path + BusPath pulumi.StringPtrInput `pulumi:"busPath"` + // Filter disks by modalias + Modalias pulumi.StringPtrInput `pulumi:"modalias"` + // Filter disks by model + Model pulumi.StringPtrInput `pulumi:"model"` + // Filter disks by name + Name pulumi.StringPtrInput `pulumi:"name"` + // Filter disks by serial number + Serial pulumi.StringPtrInput `pulumi:"serial"` + // Filter disks by size + Size pulumi.StringPtrInput `pulumi:"size"` + // Filter disks by type + Type pulumi.StringPtrInput `pulumi:"type"` + // Filter disks by uuid + Uuid pulumi.StringPtrInput `pulumi:"uuid"` + // Filter disks by wwid + Wwid pulumi.StringPtrInput `pulumi:"wwid"` } -func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) ToGetConfigurationMachineSecretsCertsK8sServiceaccountOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsK8sServiceaccountOutput { - return o +func (GetDisksFiltersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksFilters)(nil)).Elem() } -// key data -func (o GetConfigurationMachineSecretsCertsK8sServiceaccountOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsK8sServiceaccount) string { return v.Key }).(pulumi.StringOutput) +func (i GetDisksFiltersArgs) ToGetDisksFiltersOutput() GetDisksFiltersOutput { + return i.ToGetDisksFiltersOutputWithContext(context.Background()) } -type GetConfigurationMachineSecretsCertsOs struct { - // certificate data - Cert string `pulumi:"cert"` - // key data - Key string `pulumi:"key"` +func (i GetDisksFiltersArgs) ToGetDisksFiltersOutputWithContext(ctx context.Context) GetDisksFiltersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksFiltersOutput) +} + +func (i GetDisksFiltersArgs) ToGetDisksFiltersPtrOutput() GetDisksFiltersPtrOutput { + return i.ToGetDisksFiltersPtrOutputWithContext(context.Background()) +} + +func (i GetDisksFiltersArgs) ToGetDisksFiltersPtrOutputWithContext(ctx context.Context) GetDisksFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksFiltersOutput).ToGetDisksFiltersPtrOutputWithContext(ctx) } -// GetConfigurationMachineSecretsCertsOsInput is an input type that accepts GetConfigurationMachineSecretsCertsOsArgs and GetConfigurationMachineSecretsCertsOsOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsCertsOsInput` via: +// GetDisksFiltersPtrInput is an input type that accepts GetDisksFiltersArgs, GetDisksFiltersPtr and GetDisksFiltersPtrOutput values. +// You can construct a concrete instance of `GetDisksFiltersPtrInput` via: // -// GetConfigurationMachineSecretsCertsOsArgs{...} -type GetConfigurationMachineSecretsCertsOsInput interface { +// GetDisksFiltersArgs{...} +// +// or: +// +// nil +type GetDisksFiltersPtrInput interface { pulumi.Input - ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput - ToGetConfigurationMachineSecretsCertsOsOutputWithContext(context.Context) GetConfigurationMachineSecretsCertsOsOutput + ToGetDisksFiltersPtrOutput() GetDisksFiltersPtrOutput + ToGetDisksFiltersPtrOutputWithContext(context.Context) GetDisksFiltersPtrOutput } -type GetConfigurationMachineSecretsCertsOsArgs struct { - // certificate data - Cert pulumi.StringInput `pulumi:"cert"` - // key data - Key pulumi.StringInput `pulumi:"key"` +type getDisksFiltersPtrType GetDisksFiltersArgs + +func GetDisksFiltersPtr(v *GetDisksFiltersArgs) GetDisksFiltersPtrInput { + return (*getDisksFiltersPtrType)(v) } -func (GetConfigurationMachineSecretsCertsOsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsOs)(nil)).Elem() +func (*getDisksFiltersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetDisksFilters)(nil)).Elem() } -func (i GetConfigurationMachineSecretsCertsOsArgs) ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput { - return i.ToGetConfigurationMachineSecretsCertsOsOutputWithContext(context.Background()) +func (i *getDisksFiltersPtrType) ToGetDisksFiltersPtrOutput() GetDisksFiltersPtrOutput { + return i.ToGetDisksFiltersPtrOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsCertsOsArgs) ToGetConfigurationMachineSecretsCertsOsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsCertsOsOutput) +func (i *getDisksFiltersPtrType) ToGetDisksFiltersPtrOutputWithContext(ctx context.Context) GetDisksFiltersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksFiltersPtrOutput) } -type GetConfigurationMachineSecretsCertsOsOutput struct{ *pulumi.OutputState } +type GetDisksFiltersOutput struct{ *pulumi.OutputState } -func (GetConfigurationMachineSecretsCertsOsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCertsOs)(nil)).Elem() +func (GetDisksFiltersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksFilters)(nil)).Elem() } -func (o GetConfigurationMachineSecretsCertsOsOutput) ToGetConfigurationMachineSecretsCertsOsOutput() GetConfigurationMachineSecretsCertsOsOutput { +func (o GetDisksFiltersOutput) ToGetDisksFiltersOutput() GetDisksFiltersOutput { return o } -func (o GetConfigurationMachineSecretsCertsOsOutput) ToGetConfigurationMachineSecretsCertsOsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsCertsOsOutput { +func (o GetDisksFiltersOutput) ToGetDisksFiltersOutputWithContext(ctx context.Context) GetDisksFiltersOutput { return o } -// certificate data -func (o GetConfigurationMachineSecretsCertsOsOutput) Cert() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsOs) string { return v.Cert }).(pulumi.StringOutput) +func (o GetDisksFiltersOutput) ToGetDisksFiltersPtrOutput() GetDisksFiltersPtrOutput { + return o.ToGetDisksFiltersPtrOutputWithContext(context.Background()) } -// key data -func (o GetConfigurationMachineSecretsCertsOsOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCertsOs) string { return v.Key }).(pulumi.StringOutput) +func (o GetDisksFiltersOutput) ToGetDisksFiltersPtrOutputWithContext(ctx context.Context) GetDisksFiltersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetDisksFilters) *GetDisksFilters { + return &v + }).(GetDisksFiltersPtrOutput) } -type GetConfigurationMachineSecretsCluster struct { - // The cluster id - Id string `pulumi:"id"` - // The cluster secret - Secret string `pulumi:"secret"` +// Filter disks by bus path +func (o GetDisksFiltersOutput) BusPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.BusPath }).(pulumi.StringPtrOutput) } -// GetConfigurationMachineSecretsClusterInput is an input type that accepts GetConfigurationMachineSecretsClusterArgs and GetConfigurationMachineSecretsClusterOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsClusterInput` via: -// -// GetConfigurationMachineSecretsClusterArgs{...} -type GetConfigurationMachineSecretsClusterInput interface { - pulumi.Input +// Filter disks by modalias +func (o GetDisksFiltersOutput) Modalias() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Modalias }).(pulumi.StringPtrOutput) +} - ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput - ToGetConfigurationMachineSecretsClusterOutputWithContext(context.Context) GetConfigurationMachineSecretsClusterOutput +// Filter disks by model +func (o GetDisksFiltersOutput) Model() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Model }).(pulumi.StringPtrOutput) } -type GetConfigurationMachineSecretsClusterArgs struct { - // The cluster id - Id pulumi.StringInput `pulumi:"id"` - // The cluster secret - Secret pulumi.StringInput `pulumi:"secret"` +// Filter disks by name +func (o GetDisksFiltersOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (GetConfigurationMachineSecretsClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCluster)(nil)).Elem() +// Filter disks by serial number +func (o GetDisksFiltersOutput) Serial() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Serial }).(pulumi.StringPtrOutput) } -func (i GetConfigurationMachineSecretsClusterArgs) ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput { - return i.ToGetConfigurationMachineSecretsClusterOutputWithContext(context.Background()) +// Filter disks by size +func (o GetDisksFiltersOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Size }).(pulumi.StringPtrOutput) } -func (i GetConfigurationMachineSecretsClusterArgs) ToGetConfigurationMachineSecretsClusterOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsClusterOutput) +// Filter disks by type +func (o GetDisksFiltersOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Type }).(pulumi.StringPtrOutput) } -type GetConfigurationMachineSecretsClusterOutput struct{ *pulumi.OutputState } +// Filter disks by uuid +func (o GetDisksFiltersOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Uuid }).(pulumi.StringPtrOutput) +} -func (GetConfigurationMachineSecretsClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsCluster)(nil)).Elem() +// Filter disks by wwid +func (o GetDisksFiltersOutput) Wwid() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksFilters) *string { return v.Wwid }).(pulumi.StringPtrOutput) } -func (o GetConfigurationMachineSecretsClusterOutput) ToGetConfigurationMachineSecretsClusterOutput() GetConfigurationMachineSecretsClusterOutput { +type GetDisksFiltersPtrOutput struct{ *pulumi.OutputState } + +func (GetDisksFiltersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetDisksFilters)(nil)).Elem() +} + +func (o GetDisksFiltersPtrOutput) ToGetDisksFiltersPtrOutput() GetDisksFiltersPtrOutput { return o } -func (o GetConfigurationMachineSecretsClusterOutput) ToGetConfigurationMachineSecretsClusterOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsClusterOutput { +func (o GetDisksFiltersPtrOutput) ToGetDisksFiltersPtrOutputWithContext(ctx context.Context) GetDisksFiltersPtrOutput { return o } -// The cluster id -func (o GetConfigurationMachineSecretsClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCluster) string { return v.Id }).(pulumi.StringOutput) +func (o GetDisksFiltersPtrOutput) Elem() GetDisksFiltersOutput { + return o.ApplyT(func(v *GetDisksFilters) GetDisksFilters { + if v != nil { + return *v + } + var ret GetDisksFilters + return ret + }).(GetDisksFiltersOutput) } -// The cluster secret -func (o GetConfigurationMachineSecretsClusterOutput) Secret() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsCluster) string { return v.Secret }).(pulumi.StringOutput) +// Filter disks by bus path +func (o GetDisksFiltersPtrOutput) BusPath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.BusPath + }).(pulumi.StringPtrOutput) } -type GetConfigurationMachineSecretsSecrets struct { - // The aescbc encryption secret for the talos kubernetes cluster - AescbcEncryptionSecret *string `pulumi:"aescbcEncryptionSecret"` - // The bootstrap token for the talos kubernetes cluster - BootstrapToken string `pulumi:"bootstrapToken"` - // The secretbox encryption secret for the talos kubernetes cluster - SecretboxEncryptionSecret string `pulumi:"secretboxEncryptionSecret"` +// Filter disks by modalias +func (o GetDisksFiltersPtrOutput) Modalias() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Modalias + }).(pulumi.StringPtrOutput) } -// GetConfigurationMachineSecretsSecretsInput is an input type that accepts GetConfigurationMachineSecretsSecretsArgs and GetConfigurationMachineSecretsSecretsOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsSecretsInput` via: -// -// GetConfigurationMachineSecretsSecretsArgs{...} -type GetConfigurationMachineSecretsSecretsInput interface { - pulumi.Input +// Filter disks by model +func (o GetDisksFiltersPtrOutput) Model() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Model + }).(pulumi.StringPtrOutput) +} - ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput - ToGetConfigurationMachineSecretsSecretsOutputWithContext(context.Context) GetConfigurationMachineSecretsSecretsOutput +// Filter disks by name +func (o GetDisksFiltersPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -type GetConfigurationMachineSecretsSecretsArgs struct { - // The aescbc encryption secret for the talos kubernetes cluster - AescbcEncryptionSecret pulumi.StringPtrInput `pulumi:"aescbcEncryptionSecret"` - // The bootstrap token for the talos kubernetes cluster - BootstrapToken pulumi.StringInput `pulumi:"bootstrapToken"` - // The secretbox encryption secret for the talos kubernetes cluster - SecretboxEncryptionSecret pulumi.StringInput `pulumi:"secretboxEncryptionSecret"` +// Filter disks by serial number +func (o GetDisksFiltersPtrOutput) Serial() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Serial + }).(pulumi.StringPtrOutput) } -func (GetConfigurationMachineSecretsSecretsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsSecrets)(nil)).Elem() +// Filter disks by size +func (o GetDisksFiltersPtrOutput) Size() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Size + }).(pulumi.StringPtrOutput) } -func (i GetConfigurationMachineSecretsSecretsArgs) ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput { - return i.ToGetConfigurationMachineSecretsSecretsOutputWithContext(context.Background()) +// Filter disks by type +func (o GetDisksFiltersPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -func (i GetConfigurationMachineSecretsSecretsArgs) ToGetConfigurationMachineSecretsSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsSecretsOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsSecretsOutput) +// Filter disks by uuid +func (o GetDisksFiltersPtrOutput) Uuid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Uuid + }).(pulumi.StringPtrOutput) } -type GetConfigurationMachineSecretsSecretsOutput struct{ *pulumi.OutputState } +// Filter disks by wwid +func (o GetDisksFiltersPtrOutput) Wwid() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksFilters) *string { + if v == nil { + return nil + } + return v.Wwid + }).(pulumi.StringPtrOutput) +} -func (GetConfigurationMachineSecretsSecretsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsSecrets)(nil)).Elem() +type GetDisksTimeouts struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + Read *string `pulumi:"read"` } -func (o GetConfigurationMachineSecretsSecretsOutput) ToGetConfigurationMachineSecretsSecretsOutput() GetConfigurationMachineSecretsSecretsOutput { - return o +// GetDisksTimeoutsInput is an input type that accepts GetDisksTimeoutsArgs and GetDisksTimeoutsOutput values. +// You can construct a concrete instance of `GetDisksTimeoutsInput` via: +// +// GetDisksTimeoutsArgs{...} +type GetDisksTimeoutsInput interface { + pulumi.Input + + ToGetDisksTimeoutsOutput() GetDisksTimeoutsOutput + ToGetDisksTimeoutsOutputWithContext(context.Context) GetDisksTimeoutsOutput } -func (o GetConfigurationMachineSecretsSecretsOutput) ToGetConfigurationMachineSecretsSecretsOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsSecretsOutput { - return o +type GetDisksTimeoutsArgs struct { + // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + Read pulumi.StringPtrInput `pulumi:"read"` } -// The aescbc encryption secret for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsSecretsOutput) AescbcEncryptionSecret() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) *string { return v.AescbcEncryptionSecret }).(pulumi.StringPtrOutput) +func (GetDisksTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksTimeouts)(nil)).Elem() } -// The bootstrap token for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsSecretsOutput) BootstrapToken() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) string { return v.BootstrapToken }).(pulumi.StringOutput) +func (i GetDisksTimeoutsArgs) ToGetDisksTimeoutsOutput() GetDisksTimeoutsOutput { + return i.ToGetDisksTimeoutsOutputWithContext(context.Background()) } -// The secretbox encryption secret for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsSecretsOutput) SecretboxEncryptionSecret() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsSecrets) string { return v.SecretboxEncryptionSecret }).(pulumi.StringOutput) +func (i GetDisksTimeoutsArgs) ToGetDisksTimeoutsOutputWithContext(ctx context.Context) GetDisksTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksTimeoutsOutput) } -type GetConfigurationMachineSecretsTrustdinfo struct { - // The trustd token for the talos kubernetes cluster - Token string `pulumi:"token"` +func (i GetDisksTimeoutsArgs) ToGetDisksTimeoutsPtrOutput() GetDisksTimeoutsPtrOutput { + return i.ToGetDisksTimeoutsPtrOutputWithContext(context.Background()) } -// GetConfigurationMachineSecretsTrustdinfoInput is an input type that accepts GetConfigurationMachineSecretsTrustdinfoArgs and GetConfigurationMachineSecretsTrustdinfoOutput values. -// You can construct a concrete instance of `GetConfigurationMachineSecretsTrustdinfoInput` via: +func (i GetDisksTimeoutsArgs) ToGetDisksTimeoutsPtrOutputWithContext(ctx context.Context) GetDisksTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksTimeoutsOutput).ToGetDisksTimeoutsPtrOutputWithContext(ctx) +} + +// GetDisksTimeoutsPtrInput is an input type that accepts GetDisksTimeoutsArgs, GetDisksTimeoutsPtr and GetDisksTimeoutsPtrOutput values. +// You can construct a concrete instance of `GetDisksTimeoutsPtrInput` via: // -// GetConfigurationMachineSecretsTrustdinfoArgs{...} -type GetConfigurationMachineSecretsTrustdinfoInput interface { +// GetDisksTimeoutsArgs{...} +// +// or: +// +// nil +type GetDisksTimeoutsPtrInput interface { pulumi.Input - ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput - ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(context.Context) GetConfigurationMachineSecretsTrustdinfoOutput + ToGetDisksTimeoutsPtrOutput() GetDisksTimeoutsPtrOutput + ToGetDisksTimeoutsPtrOutputWithContext(context.Context) GetDisksTimeoutsPtrOutput } -type GetConfigurationMachineSecretsTrustdinfoArgs struct { - // The trustd token for the talos kubernetes cluster - Token pulumi.StringInput `pulumi:"token"` +type getDisksTimeoutsPtrType GetDisksTimeoutsArgs + +func GetDisksTimeoutsPtr(v *GetDisksTimeoutsArgs) GetDisksTimeoutsPtrInput { + return (*getDisksTimeoutsPtrType)(v) } -func (GetConfigurationMachineSecretsTrustdinfoArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsTrustdinfo)(nil)).Elem() +func (*getDisksTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetDisksTimeouts)(nil)).Elem() } -func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput { - return i.ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(context.Background()) +func (i *getDisksTimeoutsPtrType) ToGetDisksTimeoutsPtrOutput() GetDisksTimeoutsPtrOutput { + return i.ToGetDisksTimeoutsPtrOutputWithContext(context.Background()) } -func (i GetConfigurationMachineSecretsTrustdinfoArgs) ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsTrustdinfoOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetConfigurationMachineSecretsTrustdinfoOutput) +func (i *getDisksTimeoutsPtrType) ToGetDisksTimeoutsPtrOutputWithContext(ctx context.Context) GetDisksTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDisksTimeoutsPtrOutput) } -type GetConfigurationMachineSecretsTrustdinfoOutput struct{ *pulumi.OutputState } +type GetDisksTimeoutsOutput struct{ *pulumi.OutputState } -func (GetConfigurationMachineSecretsTrustdinfoOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetConfigurationMachineSecretsTrustdinfo)(nil)).Elem() +func (GetDisksTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDisksTimeouts)(nil)).Elem() } -func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToGetConfigurationMachineSecretsTrustdinfoOutput() GetConfigurationMachineSecretsTrustdinfoOutput { +func (o GetDisksTimeoutsOutput) ToGetDisksTimeoutsOutput() GetDisksTimeoutsOutput { return o } -func (o GetConfigurationMachineSecretsTrustdinfoOutput) ToGetConfigurationMachineSecretsTrustdinfoOutputWithContext(ctx context.Context) GetConfigurationMachineSecretsTrustdinfoOutput { +func (o GetDisksTimeoutsOutput) ToGetDisksTimeoutsOutputWithContext(ctx context.Context) GetDisksTimeoutsOutput { return o } -// The trustd token for the talos kubernetes cluster -func (o GetConfigurationMachineSecretsTrustdinfoOutput) Token() pulumi.StringOutput { - return o.ApplyT(func(v GetConfigurationMachineSecretsTrustdinfo) string { return v.Token }).(pulumi.StringOutput) +func (o GetDisksTimeoutsOutput) ToGetDisksTimeoutsPtrOutput() GetDisksTimeoutsPtrOutput { + return o.ToGetDisksTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o GetDisksTimeoutsOutput) ToGetDisksTimeoutsPtrOutputWithContext(ctx context.Context) GetDisksTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetDisksTimeouts) *GetDisksTimeouts { + return &v + }).(GetDisksTimeoutsPtrOutput) +} + +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. +func (o GetDisksTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDisksTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +type GetDisksTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (GetDisksTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetDisksTimeouts)(nil)).Elem() +} + +func (o GetDisksTimeoutsPtrOutput) ToGetDisksTimeoutsPtrOutput() GetDisksTimeoutsPtrOutput { + return o +} + +func (o GetDisksTimeoutsPtrOutput) ToGetDisksTimeoutsPtrOutputWithContext(ctx context.Context) GetDisksTimeoutsPtrOutput { + return o +} + +func (o GetDisksTimeoutsPtrOutput) Elem() GetDisksTimeoutsOutput { + return o.ApplyT(func(v *GetDisksTimeouts) GetDisksTimeouts { + if v != nil { + return *v + } + var ret GetDisksTimeouts + return ret + }).(GetDisksTimeoutsOutput) +} + +// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. +func (o GetDisksTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetDisksTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) } func init() { @@ -4804,13 +4804,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*BootstrapTimeoutsPtrInput)(nil)).Elem(), BootstrapTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConfigurationApplyClientConfigurationInput)(nil)).Elem(), ConfigurationApplyClientConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConfigurationApplyClientConfigurationPtrInput)(nil)).Elem(), ConfigurationApplyClientConfigurationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksClientConfigurationInput)(nil)).Elem(), DisksClientConfigurationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksDiskInput)(nil)).Elem(), DisksDiskArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksDiskArrayInput)(nil)).Elem(), DisksDiskArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksFiltersInput)(nil)).Elem(), DisksFiltersArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksFiltersPtrInput)(nil)).Elem(), DisksFiltersArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksTimeoutsInput)(nil)).Elem(), DisksTimeoutsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*DisksTimeoutsPtrInput)(nil)).Elem(), DisksTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretsClientConfigurationInput)(nil)).Elem(), SecretsClientConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretsClientConfigurationPtrInput)(nil)).Elem(), SecretsClientConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecretsMachineSecretsInput)(nil)).Elem(), SecretsMachineSecretsArgs{}) @@ -4858,19 +4851,19 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetConfigurationMachineSecretsClusterInput)(nil)).Elem(), GetConfigurationMachineSecretsClusterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConfigurationMachineSecretsSecretsInput)(nil)).Elem(), GetConfigurationMachineSecretsSecretsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConfigurationMachineSecretsTrustdinfoInput)(nil)).Elem(), GetConfigurationMachineSecretsTrustdinfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksClientConfigurationInput)(nil)).Elem(), GetDisksClientConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksDiskInput)(nil)).Elem(), GetDisksDiskArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksDiskArrayInput)(nil)).Elem(), GetDisksDiskArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksFiltersInput)(nil)).Elem(), GetDisksFiltersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksFiltersPtrInput)(nil)).Elem(), GetDisksFiltersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksTimeoutsInput)(nil)).Elem(), GetDisksTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDisksTimeoutsPtrInput)(nil)).Elem(), GetDisksTimeoutsArgs{}) pulumi.RegisterOutputType(BootstrapClientConfigurationOutput{}) pulumi.RegisterOutputType(BootstrapClientConfigurationPtrOutput{}) pulumi.RegisterOutputType(BootstrapTimeoutsOutput{}) pulumi.RegisterOutputType(BootstrapTimeoutsPtrOutput{}) pulumi.RegisterOutputType(ConfigurationApplyClientConfigurationOutput{}) pulumi.RegisterOutputType(ConfigurationApplyClientConfigurationPtrOutput{}) - pulumi.RegisterOutputType(DisksClientConfigurationOutput{}) - pulumi.RegisterOutputType(DisksDiskOutput{}) - pulumi.RegisterOutputType(DisksDiskArrayOutput{}) - pulumi.RegisterOutputType(DisksFiltersOutput{}) - pulumi.RegisterOutputType(DisksFiltersPtrOutput{}) - pulumi.RegisterOutputType(DisksTimeoutsOutput{}) - pulumi.RegisterOutputType(DisksTimeoutsPtrOutput{}) pulumi.RegisterOutputType(SecretsClientConfigurationOutput{}) pulumi.RegisterOutputType(SecretsClientConfigurationPtrOutput{}) pulumi.RegisterOutputType(SecretsMachineSecretsOutput{}) @@ -4918,4 +4911,11 @@ func init() { pulumi.RegisterOutputType(GetConfigurationMachineSecretsClusterOutput{}) pulumi.RegisterOutputType(GetConfigurationMachineSecretsSecretsOutput{}) pulumi.RegisterOutputType(GetConfigurationMachineSecretsTrustdinfoOutput{}) + pulumi.RegisterOutputType(GetDisksClientConfigurationOutput{}) + pulumi.RegisterOutputType(GetDisksDiskOutput{}) + pulumi.RegisterOutputType(GetDisksDiskArrayOutput{}) + pulumi.RegisterOutputType(GetDisksFiltersOutput{}) + pulumi.RegisterOutputType(GetDisksFiltersPtrOutput{}) + pulumi.RegisterOutputType(GetDisksTimeoutsOutput{}) + pulumi.RegisterOutputType(GetDisksTimeoutsPtrOutput{}) } diff --git a/sdk/nodejs/client/configuration.ts b/sdk/nodejs/client/getConfiguration.ts similarity index 71% rename from sdk/nodejs/client/configuration.ts rename to sdk/nodejs/client/getConfiguration.ts index 2cf38eb..804fd01 100644 --- a/sdk/nodejs/client/configuration.ts +++ b/sdk/nodejs/client/getConfiguration.ts @@ -17,17 +17,17 @@ import * as utilities from "../utilities"; * import * as talos from "@pulumiverse/talos"; * * const thisSecrets = new talos.machine.Secrets("thisSecrets", {}); - * const thisConfiguration = talos.client.ConfigurationOutput({ + * const thisConfiguration = talos.client.getConfigurationOutput({ * clusterName: "example-cluster", * clientConfiguration: thisSecrets.clientConfiguration, * nodes: ["10.5.0.2"], * }); * ``` */ -export function configuration(args: ConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { +export function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("talos:client/configuration:Configuration", { + return pulumi.runtime.invoke("talos:client/getConfiguration:getConfiguration", { "clientConfiguration": args.clientConfiguration, "clusterName": args.clusterName, "endpoints": args.endpoints, @@ -36,13 +36,13 @@ export function configuration(args: ConfigurationArgs, opts?: pulumi.InvokeOptio } /** - * A collection of arguments for invoking Configuration. + * A collection of arguments for invoking getConfiguration. */ -export interface ConfigurationArgs { +export interface GetConfigurationArgs { /** * The client configuration data */ - clientConfiguration: inputs.client.ConfigurationClientConfiguration; + clientConfiguration: inputs.client.GetConfigurationClientConfiguration; /** * The name of the cluster in the generated config */ @@ -58,13 +58,13 @@ export interface ConfigurationArgs { } /** - * A collection of values returned by Configuration. + * A collection of values returned by getConfiguration. */ -export interface ConfigurationResult { +export interface GetConfigurationResult { /** * The client configuration data */ - readonly clientConfiguration: outputs.client.ConfigurationClientConfiguration; + readonly clientConfiguration: outputs.client.GetConfigurationClientConfiguration; /** * The name of the cluster in the generated config */ @@ -97,25 +97,25 @@ export interface ConfigurationResult { * import * as talos from "@pulumiverse/talos"; * * const thisSecrets = new talos.machine.Secrets("thisSecrets", {}); - * const thisConfiguration = talos.client.ConfigurationOutput({ + * const thisConfiguration = talos.client.getConfigurationOutput({ * clusterName: "example-cluster", * clientConfiguration: thisSecrets.clientConfiguration, * nodes: ["10.5.0.2"], * }); * ``` */ -export function configurationOutput(args: ConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => configuration(a, opts)) +export function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getConfiguration(a, opts)) } /** - * A collection of arguments for invoking Configuration. + * A collection of arguments for invoking getConfiguration. */ -export interface ConfigurationOutputArgs { +export interface GetConfigurationOutputArgs { /** * The client configuration data */ - clientConfiguration: pulumi.Input; + clientConfiguration: pulumi.Input; /** * The name of the cluster in the generated config */ diff --git a/sdk/nodejs/client/index.ts b/sdk/nodejs/client/index.ts index 006b70b..ee3ed1d 100644 --- a/sdk/nodejs/client/index.ts +++ b/sdk/nodejs/client/index.ts @@ -4,8 +4,8 @@ import * as utilities from "../utilities"; // Export members: -export { ConfigurationArgs, ConfigurationResult, ConfigurationOutputArgs } from "./configuration"; -export const configuration: typeof import("./configuration").configuration = null as any; -export const configurationOutput: typeof import("./configuration").configurationOutput = null as any; -utilities.lazyLoad(exports, ["configuration","configurationOutput"], () => require("./configuration")); +export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration"; +export const getConfiguration: typeof import("./getConfiguration").getConfiguration = null as any; +export const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput = null as any; +utilities.lazyLoad(exports, ["getConfiguration","getConfigurationOutput"], () => require("./getConfiguration")); diff --git a/sdk/nodejs/cluster/health.ts b/sdk/nodejs/cluster/getHealth.ts similarity index 67% rename from sdk/nodejs/cluster/health.ts rename to sdk/nodejs/cluster/getHealth.ts index 3f730b0..7648cc9 100644 --- a/sdk/nodejs/cluster/health.ts +++ b/sdk/nodejs/cluster/getHealth.ts @@ -9,10 +9,10 @@ import * as utilities from "../utilities"; /** * Checks the health of a Talos cluster */ -export function health(args: HealthArgs, opts?: pulumi.InvokeOptions): Promise { +export function getHealth(args: GetHealthArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("talos:cluster/health:Health", { + return pulumi.runtime.invoke("talos:cluster/getHealth:getHealth", { "clientConfiguration": args.clientConfiguration, "controlPlaneNodes": args.controlPlaneNodes, "endpoints": args.endpoints, @@ -22,13 +22,13 @@ export function health(args: HealthArgs, opts?: pulumi.InvokeOptions): Promise { - return pulumi.output(args).apply((a: any) => health(a, opts)) +export function getHealthOutput(args: GetHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getHealth(a, opts)) } /** - * A collection of arguments for invoking Health. + * A collection of arguments for invoking getHealth. */ -export interface HealthOutputArgs { +export interface GetHealthOutputArgs { /** * The client configuration data */ - clientConfiguration: pulumi.Input; + clientConfiguration: pulumi.Input; /** * List of control plane nodes to check for health. */ @@ -93,7 +93,7 @@ export interface HealthOutputArgs { * endpoints to use for the health check client. Use at least one control plane endpoint. */ endpoints: pulumi.Input[]>; - timeouts?: pulumi.Input; + timeouts?: pulumi.Input; /** * List of worker nodes to check for health. */ diff --git a/sdk/nodejs/cluster/kubeconfig.ts b/sdk/nodejs/cluster/getKubeconfig.ts similarity index 67% rename from sdk/nodejs/cluster/kubeconfig.ts rename to sdk/nodejs/cluster/getKubeconfig.ts index 2eb3a77..d1da758 100644 --- a/sdk/nodejs/cluster/kubeconfig.ts +++ b/sdk/nodejs/cluster/getKubeconfig.ts @@ -9,10 +9,10 @@ import * as utilities from "../utilities"; /** * Retrieves the kubeconfig for a Talos cluster */ -export function kubeconfig(args: KubeconfigArgs, opts?: pulumi.InvokeOptions): Promise { +export function getKubeconfig(args: GetKubeconfigArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("talos:cluster/kubeconfig:Kubeconfig", { + return pulumi.runtime.invoke("talos:cluster/getKubeconfig:getKubeconfig", { "clientConfiguration": args.clientConfiguration, "endpoint": args.endpoint, "node": args.node, @@ -22,13 +22,13 @@ export function kubeconfig(args: KubeconfigArgs, opts?: pulumi.InvokeOptions): P } /** - * A collection of arguments for invoking Kubeconfig. + * A collection of arguments for invoking getKubeconfig. */ -export interface KubeconfigArgs { +export interface GetKubeconfigArgs { /** * The client configuration data */ - clientConfiguration: inputs.cluster.KubeconfigClientConfiguration; + clientConfiguration: inputs.cluster.GetKubeconfigClientConfiguration; /** * endpoint to use for the talosclient. If not set, the node value will be used */ @@ -37,7 +37,7 @@ export interface KubeconfigArgs { * controlplane node to retrieve the kubeconfig from */ node: string; - timeouts?: inputs.cluster.KubeconfigTimeouts; + timeouts?: inputs.cluster.GetKubeconfigTimeouts; /** * Wait for the kubernetes api to be available * @@ -47,13 +47,13 @@ export interface KubeconfigArgs { } /** - * A collection of values returned by Kubeconfig. + * A collection of values returned by getKubeconfig. */ -export interface KubeconfigResult { +export interface GetKubeconfigResult { /** * The client configuration data */ - readonly clientConfiguration: outputs.cluster.KubeconfigClientConfiguration; + readonly clientConfiguration: outputs.cluster.GetKubeconfigClientConfiguration; /** * endpoint to use for the talosclient. If not set, the node value will be used */ @@ -69,12 +69,12 @@ export interface KubeconfigResult { /** * The kubernetes client configuration */ - readonly kubernetesClientConfiguration: outputs.cluster.KubeconfigKubernetesClientConfiguration; + readonly kubernetesClientConfiguration: outputs.cluster.GetKubeconfigKubernetesClientConfiguration; /** * controlplane node to retrieve the kubeconfig from */ readonly node: string; - readonly timeouts?: outputs.cluster.KubeconfigTimeouts; + readonly timeouts?: outputs.cluster.GetKubeconfigTimeouts; /** * Wait for the kubernetes api to be available * @@ -85,18 +85,18 @@ export interface KubeconfigResult { /** * Retrieves the kubeconfig for a Talos cluster */ -export function kubeconfigOutput(args: KubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => kubeconfig(a, opts)) +export function getKubeconfigOutput(args: GetKubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getKubeconfig(a, opts)) } /** - * A collection of arguments for invoking Kubeconfig. + * A collection of arguments for invoking getKubeconfig. */ -export interface KubeconfigOutputArgs { +export interface GetKubeconfigOutputArgs { /** * The client configuration data */ - clientConfiguration: pulumi.Input; + clientConfiguration: pulumi.Input; /** * endpoint to use for the talosclient. If not set, the node value will be used */ @@ -105,7 +105,7 @@ export interface KubeconfigOutputArgs { * controlplane node to retrieve the kubeconfig from */ node: pulumi.Input; - timeouts?: pulumi.Input; + timeouts?: pulumi.Input; /** * Wait for the kubernetes api to be available * diff --git a/sdk/nodejs/cluster/index.ts b/sdk/nodejs/cluster/index.ts index fe2f760..edc6224 100644 --- a/sdk/nodejs/cluster/index.ts +++ b/sdk/nodejs/cluster/index.ts @@ -4,13 +4,13 @@ import * as utilities from "../utilities"; // Export members: -export { HealthArgs, HealthResult, HealthOutputArgs } from "./health"; -export const health: typeof import("./health").health = null as any; -export const healthOutput: typeof import("./health").healthOutput = null as any; -utilities.lazyLoad(exports, ["health","healthOutput"], () => require("./health")); +export { GetHealthArgs, GetHealthResult, GetHealthOutputArgs } from "./getHealth"; +export const getHealth: typeof import("./getHealth").getHealth = null as any; +export const getHealthOutput: typeof import("./getHealth").getHealthOutput = null as any; +utilities.lazyLoad(exports, ["getHealth","getHealthOutput"], () => require("./getHealth")); -export { KubeconfigArgs, KubeconfigResult, KubeconfigOutputArgs } from "./kubeconfig"; -export const kubeconfig: typeof import("./kubeconfig").kubeconfig = null as any; -export const kubeconfigOutput: typeof import("./kubeconfig").kubeconfigOutput = null as any; -utilities.lazyLoad(exports, ["kubeconfig","kubeconfigOutput"], () => require("./kubeconfig")); +export { GetKubeconfigArgs, GetKubeconfigResult, GetKubeconfigOutputArgs } from "./getKubeconfig"; +export const getKubeconfig: typeof import("./getKubeconfig").getKubeconfig = null as any; +export const getKubeconfigOutput: typeof import("./getKubeconfig").getKubeconfigOutput = null as any; +utilities.lazyLoad(exports, ["getKubeconfig","getKubeconfigOutput"], () => require("./getKubeconfig")); diff --git a/sdk/nodejs/machine/disks.ts b/sdk/nodejs/machine/getDisks.ts similarity index 63% rename from sdk/nodejs/machine/disks.ts rename to sdk/nodejs/machine/getDisks.ts index 265ec3d..af82233 100644 --- a/sdk/nodejs/machine/disks.ts +++ b/sdk/nodejs/machine/getDisks.ts @@ -9,7 +9,7 @@ import * as utilities from "../utilities"; /** * Generate a machine configuration for a node type * - * > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + * > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. * * ## Example Usage * @@ -19,7 +19,7 @@ import * as utilities from "../utilities"; * import * as talos from "@pulumiverse/talos"; * * const thisSecrets = new talos.machine.Secrets("thisSecrets", {}); - * const thisDisks = talos.machine.DisksOutput({ + * const thisDisks = talos.machine.getDisksOutput({ * clientConfiguration: thisSecrets.clientConfiguration, * node: "10.5.0.2", * filters: { @@ -30,10 +30,10 @@ import * as utilities from "../utilities"; * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name)); * ``` */ -export function disks(args: DisksArgs, opts?: pulumi.InvokeOptions): Promise { +export function getDisks(args: GetDisksArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("talos:machine/disks:Disks", { + return pulumi.runtime.invoke("talos:machine/getDisks:getDisks", { "clientConfiguration": args.clientConfiguration, "endpoint": args.endpoint, "filters": args.filters, @@ -43,13 +43,13 @@ export function disks(args: DisksArgs, opts?: pulumi.InvokeOptions): Promise **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + * > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. * * ## Example Usage * @@ -108,7 +108,7 @@ export interface DisksResult { * import * as talos from "@pulumiverse/talos"; * * const thisSecrets = new talos.machine.Secrets("thisSecrets", {}); - * const thisDisks = talos.machine.DisksOutput({ + * const thisDisks = talos.machine.getDisksOutput({ * clientConfiguration: thisSecrets.clientConfiguration, * node: "10.5.0.2", * filters: { @@ -119,18 +119,18 @@ export interface DisksResult { * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name)); * ``` */ -export function disksOutput(args: DisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => disks(a, opts)) +export function getDisksOutput(args: GetDisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDisks(a, opts)) } /** - * A collection of arguments for invoking Disks. + * A collection of arguments for invoking getDisks. */ -export interface DisksOutputArgs { +export interface GetDisksOutputArgs { /** * The client configuration data */ - clientConfiguration: pulumi.Input; + clientConfiguration: pulumi.Input; /** * endpoint to use for the talosclient. If not set, the node value will be used */ @@ -138,10 +138,10 @@ export interface DisksOutputArgs { /** * Filters to apply to the disks */ - filters?: pulumi.Input; + filters?: pulumi.Input; /** * controlplane node to retrieve the kubeconfig from */ node: pulumi.Input; - timeouts?: pulumi.Input; + timeouts?: pulumi.Input; } diff --git a/sdk/nodejs/machine/index.ts b/sdk/nodejs/machine/index.ts index 06d9282..54dcb66 100644 --- a/sdk/nodejs/machine/index.ts +++ b/sdk/nodejs/machine/index.ts @@ -15,16 +15,16 @@ export type ConfigurationApply = import("./configurationApply").ConfigurationApp export const ConfigurationApply: typeof import("./configurationApply").ConfigurationApply = null as any; utilities.lazyLoad(exports, ["ConfigurationApply"], () => require("./configurationApply")); -export { DisksArgs, DisksResult, DisksOutputArgs } from "./disks"; -export const disks: typeof import("./disks").disks = null as any; -export const disksOutput: typeof import("./disks").disksOutput = null as any; -utilities.lazyLoad(exports, ["disks","disksOutput"], () => require("./disks")); - export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration"; export const getConfiguration: typeof import("./getConfiguration").getConfiguration = null as any; export const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput = null as any; utilities.lazyLoad(exports, ["getConfiguration","getConfigurationOutput"], () => require("./getConfiguration")); +export { GetDisksArgs, GetDisksResult, GetDisksOutputArgs } from "./getDisks"; +export const getDisks: typeof import("./getDisks").getDisks = null as any; +export const getDisksOutput: typeof import("./getDisks").getDisksOutput = null as any; +utilities.lazyLoad(exports, ["getDisks","getDisksOutput"], () => require("./getDisks")); + export { SecretsArgs, SecretsState } from "./secrets"; export type Secrets = import("./secrets").Secrets; export const Secrets: typeof import("./secrets").Secrets = null as any; diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index b86be81..1f660d7 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -13,16 +13,16 @@ "strict": true }, "files": [ - "client/configuration.ts", + "client/getConfiguration.ts", "client/index.ts", - "cluster/health.ts", + "cluster/getHealth.ts", + "cluster/getKubeconfig.ts", "cluster/index.ts", - "cluster/kubeconfig.ts", "index.ts", "machine/bootstrap.ts", "machine/configurationApply.ts", - "machine/disks.ts", "machine/getConfiguration.ts", + "machine/getDisks.ts", "machine/index.ts", "machine/secrets.ts", "provider.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 79b2351..0ca05d8 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -6,7 +6,7 @@ import * as inputs from "../types/input"; import * as outputs from "../types/output"; export namespace client { - export interface ConfigurationClientConfiguration { + export interface GetConfigurationClientConfiguration { /** * The client CA certificate */ @@ -21,7 +21,7 @@ export namespace client { clientKey: string; } - export interface ConfigurationClientConfigurationArgs { + export interface GetConfigurationClientConfigurationArgs { /** * The client CA certificate */ @@ -38,7 +38,7 @@ export namespace client { } export namespace cluster { - export interface HealthClientConfiguration { + export interface GetHealthClientConfiguration { /** * The client CA certificate */ @@ -53,7 +53,7 @@ export namespace cluster { clientKey: string; } - export interface HealthClientConfigurationArgs { + export interface GetHealthClientConfigurationArgs { /** * The client CA certificate */ @@ -68,21 +68,21 @@ export namespace cluster { clientKey: pulumi.Input; } - export interface HealthTimeouts { + export interface GetHealthTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ read?: string; } - export interface HealthTimeoutsArgs { + export interface GetHealthTimeoutsArgs { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ read?: pulumi.Input; } - export interface KubeconfigClientConfiguration { + export interface GetKubeconfigClientConfiguration { /** * The client CA certificate */ @@ -97,7 +97,7 @@ export namespace cluster { clientKey: string; } - export interface KubeconfigClientConfigurationArgs { + export interface GetKubeconfigClientConfigurationArgs { /** * The client CA certificate */ @@ -112,14 +112,14 @@ export namespace cluster { clientKey: pulumi.Input; } - export interface KubeconfigTimeouts { + export interface GetKubeconfigTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ read?: string; } - export interface KubeconfigTimeoutsArgs { + export interface GetKubeconfigTimeoutsArgs { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ @@ -243,7 +243,7 @@ export namespace machine { clientKey: pulumi.Input; } - export interface DisksClientConfiguration { + export interface GetDisksClientConfiguration { /** * The client CA certificate */ @@ -258,7 +258,7 @@ export namespace machine { clientKey: string; } - export interface DisksClientConfigurationArgs { + export interface GetDisksClientConfigurationArgs { /** * The client CA certificate */ @@ -273,7 +273,7 @@ export namespace machine { clientKey: pulumi.Input; } - export interface DisksFilters { + export interface GetDisksFilters { /** * Filter disks by bus path */ @@ -312,7 +312,7 @@ export namespace machine { wwid?: string; } - export interface DisksFiltersArgs { + export interface GetDisksFiltersArgs { /** * Filter disks by bus path */ @@ -351,14 +351,14 @@ export namespace machine { wwid?: pulumi.Input; } - export interface DisksTimeouts { + export interface GetDisksTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ read?: string; } - export interface DisksTimeoutsArgs { + export interface GetDisksTimeoutsArgs { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 29a1545..8eebedf 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -6,7 +6,7 @@ import * as inputs from "../types/input"; import * as outputs from "../types/output"; export namespace client { - export interface ConfigurationClientConfiguration { + export interface GetConfigurationClientConfiguration { /** * The client CA certificate */ @@ -24,7 +24,7 @@ export namespace client { } export namespace cluster { - export interface HealthClientConfiguration { + export interface GetHealthClientConfiguration { /** * The client CA certificate */ @@ -39,14 +39,14 @@ export namespace cluster { clientKey: string; } - export interface HealthTimeouts { + export interface GetHealthTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ read?: string; } - export interface KubeconfigClientConfiguration { + export interface GetKubeconfigClientConfiguration { /** * The client CA certificate */ @@ -61,7 +61,7 @@ export namespace cluster { clientKey: string; } - export interface KubeconfigKubernetesClientConfiguration { + export interface GetKubeconfigKubernetesClientConfiguration { /** * The kubernetes CA certificate */ @@ -80,7 +80,7 @@ export namespace cluster { host: string; } - export interface KubeconfigTimeouts { + export interface GetKubeconfigTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ @@ -166,7 +166,7 @@ export namespace machine { clientKey: string; } - export interface DisksClientConfiguration { + export interface GetDisksClientConfiguration { /** * The client CA certificate */ @@ -181,7 +181,7 @@ export namespace machine { clientKey: string; } - export interface DisksDisk { + export interface GetDisksDisk { /** * The bus path of the disk */ @@ -220,7 +220,7 @@ export namespace machine { wwid: string; } - export interface DisksFilters { + export interface GetDisksFilters { /** * Filter disks by bus path */ @@ -259,7 +259,7 @@ export namespace machine { wwid?: string; } - export interface DisksTimeouts { + export interface GetDisksTimeouts { /** * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. */ diff --git a/sdk/python/pulumiverse_talos/client/__init__.py b/sdk/python/pulumiverse_talos/client/__init__.py index 0e6b5c0..85e93b9 100644 --- a/sdk/python/pulumiverse_talos/client/__init__.py +++ b/sdk/python/pulumiverse_talos/client/__init__.py @@ -5,6 +5,6 @@ from .. import _utilities import typing # Export this package's modules as members: -from .configuration import * +from .get_configuration import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumiverse_talos/client/_inputs.py b/sdk/python/pulumiverse_talos/client/_inputs.py index 9a7a54e..a77be00 100644 --- a/sdk/python/pulumiverse_talos/client/_inputs.py +++ b/sdk/python/pulumiverse_talos/client/_inputs.py @@ -10,11 +10,11 @@ from .. import _utilities __all__ = [ - 'ConfigurationClientConfigurationArgs', + 'GetConfigurationClientConfigurationArgs', ] @pulumi.input_type -class ConfigurationClientConfigurationArgs: +class GetConfigurationClientConfigurationArgs: def __init__(__self__, *, ca_certificate: str, client_certificate: str, diff --git a/sdk/python/pulumiverse_talos/client/get_configuration.py b/sdk/python/pulumiverse_talos/client/get_configuration.py new file mode 100644 index 0000000..9bd5bfa --- /dev/null +++ b/sdk/python/pulumiverse_talos/client/get_configuration.py @@ -0,0 +1,181 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetConfigurationResult', + 'AwaitableGetConfigurationResult', + 'get_configuration', + 'get_configuration_output', +] + +@pulumi.output_type +class GetConfigurationResult: + """ + A collection of values returned by getConfiguration. + """ + def __init__(__self__, client_configuration=None, cluster_name=None, endpoints=None, id=None, nodes=None, talos_config=None): + if client_configuration and not isinstance(client_configuration, dict): + raise TypeError("Expected argument 'client_configuration' to be a dict") + pulumi.set(__self__, "client_configuration", client_configuration) + if cluster_name and not isinstance(cluster_name, str): + raise TypeError("Expected argument 'cluster_name' to be a str") + pulumi.set(__self__, "cluster_name", cluster_name) + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if nodes and not isinstance(nodes, list): + raise TypeError("Expected argument 'nodes' to be a list") + pulumi.set(__self__, "nodes", nodes) + if talos_config and not isinstance(talos_config, str): + raise TypeError("Expected argument 'talos_config' to be a str") + pulumi.set(__self__, "talos_config", talos_config) + + @property + @pulumi.getter(name="clientConfiguration") + def client_configuration(self) -> 'outputs.GetConfigurationClientConfigurationResult': + """ + The client configuration data + """ + return pulumi.get(self, "client_configuration") + + @property + @pulumi.getter(name="clusterName") + def cluster_name(self) -> str: + """ + The name of the cluster in the generated config + """ + return pulumi.get(self, "cluster_name") + + @property + @pulumi.getter + def endpoints(self) -> Optional[Sequence[str]]: + """ + endpoints to set in the generated config + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of this resource + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def nodes(self) -> Optional[Sequence[str]]: + """ + nodes to set in the generated config + """ + return pulumi.get(self, "nodes") + + @property + @pulumi.getter(name="talosConfig") + def talos_config(self) -> str: + """ + The generated client configuration + """ + return pulumi.get(self, "talos_config") + + +class AwaitableGetConfigurationResult(GetConfigurationResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetConfigurationResult( + client_configuration=self.client_configuration, + cluster_name=self.cluster_name, + endpoints=self.endpoints, + id=self.id, + nodes=self.nodes, + talos_config=self.talos_config) + + +def get_configuration(client_configuration: Optional[pulumi.InputType['GetConfigurationClientConfigurationArgs']] = None, + cluster_name: Optional[str] = None, + endpoints: Optional[Sequence[str]] = None, + nodes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationResult: + """ + Generate client configuration for a Talos cluster + + ## Example Usage + + ```python + import pulumi + import pulumi_talos as talos + import pulumiverse_talos as talos + + this_secrets = talos.machine.Secrets("thisSecrets") + this_configuration = talos.client.get_configuration_output(cluster_name="example-cluster", + client_configuration=this_secrets.client_configuration, + nodes=["10.5.0.2"]) + ``` + + + :param pulumi.InputType['GetConfigurationClientConfigurationArgs'] client_configuration: The client configuration data + :param str cluster_name: The name of the cluster in the generated config + :param Sequence[str] endpoints: endpoints to set in the generated config + :param Sequence[str] nodes: nodes to set in the generated config + """ + __args__ = dict() + __args__['clientConfiguration'] = client_configuration + __args__['clusterName'] = cluster_name + __args__['endpoints'] = endpoints + __args__['nodes'] = nodes + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('talos:client/getConfiguration:getConfiguration', __args__, opts=opts, typ=GetConfigurationResult).value + + return AwaitableGetConfigurationResult( + client_configuration=pulumi.get(__ret__, 'client_configuration'), + cluster_name=pulumi.get(__ret__, 'cluster_name'), + endpoints=pulumi.get(__ret__, 'endpoints'), + id=pulumi.get(__ret__, 'id'), + nodes=pulumi.get(__ret__, 'nodes'), + talos_config=pulumi.get(__ret__, 'talos_config')) + + +@_utilities.lift_output_func(get_configuration) +def get_configuration_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['GetConfigurationClientConfigurationArgs']]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + nodes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetConfigurationResult]: + """ + Generate client configuration for a Talos cluster + + ## Example Usage + + ```python + import pulumi + import pulumi_talos as talos + import pulumiverse_talos as talos + + this_secrets = talos.machine.Secrets("thisSecrets") + this_configuration = talos.client.get_configuration_output(cluster_name="example-cluster", + client_configuration=this_secrets.client_configuration, + nodes=["10.5.0.2"]) + ``` + + + :param pulumi.InputType['GetConfigurationClientConfigurationArgs'] client_configuration: The client configuration data + :param str cluster_name: The name of the cluster in the generated config + :param Sequence[str] endpoints: endpoints to set in the generated config + :param Sequence[str] nodes: nodes to set in the generated config + """ + ... diff --git a/sdk/python/pulumiverse_talos/client/outputs.py b/sdk/python/pulumiverse_talos/client/outputs.py index bf6ec24..cea2792 100644 --- a/sdk/python/pulumiverse_talos/client/outputs.py +++ b/sdk/python/pulumiverse_talos/client/outputs.py @@ -10,11 +10,11 @@ from .. import _utilities __all__ = [ - 'ConfigurationClientConfigurationResult', + 'GetConfigurationClientConfigurationResult', ] @pulumi.output_type -class ConfigurationClientConfigurationResult(dict): +class GetConfigurationClientConfigurationResult(dict): def __init__(__self__, *, ca_certificate: str, client_certificate: str, diff --git a/sdk/python/pulumiverse_talos/cluster/__init__.py b/sdk/python/pulumiverse_talos/cluster/__init__.py index 187fa43..f5e82c7 100644 --- a/sdk/python/pulumiverse_talos/cluster/__init__.py +++ b/sdk/python/pulumiverse_talos/cluster/__init__.py @@ -5,7 +5,7 @@ from .. import _utilities import typing # Export this package's modules as members: -from .health import * -from .kubeconfig import * +from .get_health import * +from .get_kubeconfig import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumiverse_talos/cluster/_inputs.py b/sdk/python/pulumiverse_talos/cluster/_inputs.py index c33ac91..173c9e9 100644 --- a/sdk/python/pulumiverse_talos/cluster/_inputs.py +++ b/sdk/python/pulumiverse_talos/cluster/_inputs.py @@ -10,14 +10,14 @@ from .. import _utilities __all__ = [ - 'HealthClientConfigurationArgs', - 'HealthTimeoutsArgs', - 'KubeconfigClientConfigurationArgs', - 'KubeconfigTimeoutsArgs', + 'GetHealthClientConfigurationArgs', + 'GetHealthTimeoutsArgs', + 'GetKubeconfigClientConfigurationArgs', + 'GetKubeconfigTimeoutsArgs', ] @pulumi.input_type -class HealthClientConfigurationArgs: +class GetHealthClientConfigurationArgs: def __init__(__self__, *, ca_certificate: str, client_certificate: str, @@ -69,7 +69,7 @@ def client_key(self, value: str): @pulumi.input_type -class HealthTimeoutsArgs: +class GetHealthTimeoutsArgs: def __init__(__self__, *, read: Optional[str] = None): """ @@ -92,7 +92,7 @@ def read(self, value: Optional[str]): @pulumi.input_type -class KubeconfigClientConfigurationArgs: +class GetKubeconfigClientConfigurationArgs: def __init__(__self__, *, ca_certificate: str, client_certificate: str, @@ -144,7 +144,7 @@ def client_key(self, value: str): @pulumi.input_type -class KubeconfigTimeoutsArgs: +class GetKubeconfigTimeoutsArgs: def __init__(__self__, *, read: Optional[str] = None): """ diff --git a/sdk/python/pulumiverse_talos/cluster/get_health.py b/sdk/python/pulumiverse_talos/cluster/get_health.py new file mode 100644 index 0000000..383718d --- /dev/null +++ b/sdk/python/pulumiverse_talos/cluster/get_health.py @@ -0,0 +1,155 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetHealthResult', + 'AwaitableGetHealthResult', + 'get_health', + 'get_health_output', +] + +@pulumi.output_type +class GetHealthResult: + """ + A collection of values returned by getHealth. + """ + def __init__(__self__, client_configuration=None, control_plane_nodes=None, endpoints=None, id=None, timeouts=None, worker_nodes=None): + if client_configuration and not isinstance(client_configuration, dict): + raise TypeError("Expected argument 'client_configuration' to be a dict") + pulumi.set(__self__, "client_configuration", client_configuration) + if control_plane_nodes and not isinstance(control_plane_nodes, list): + raise TypeError("Expected argument 'control_plane_nodes' to be a list") + pulumi.set(__self__, "control_plane_nodes", control_plane_nodes) + if endpoints and not isinstance(endpoints, list): + raise TypeError("Expected argument 'endpoints' to be a list") + pulumi.set(__self__, "endpoints", endpoints) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if timeouts and not isinstance(timeouts, dict): + raise TypeError("Expected argument 'timeouts' to be a dict") + pulumi.set(__self__, "timeouts", timeouts) + if worker_nodes and not isinstance(worker_nodes, list): + raise TypeError("Expected argument 'worker_nodes' to be a list") + pulumi.set(__self__, "worker_nodes", worker_nodes) + + @property + @pulumi.getter(name="clientConfiguration") + def client_configuration(self) -> 'outputs.GetHealthClientConfigurationResult': + """ + The client configuration data + """ + return pulumi.get(self, "client_configuration") + + @property + @pulumi.getter(name="controlPlaneNodes") + def control_plane_nodes(self) -> Sequence[str]: + """ + List of control plane nodes to check for health. + """ + return pulumi.get(self, "control_plane_nodes") + + @property + @pulumi.getter + def endpoints(self) -> Sequence[str]: + """ + endpoints to use for the health check client. Use at least one control plane endpoint. + """ + return pulumi.get(self, "endpoints") + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of this resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def timeouts(self) -> Optional['outputs.GetHealthTimeoutsResult']: + return pulumi.get(self, "timeouts") + + @property + @pulumi.getter(name="workerNodes") + def worker_nodes(self) -> Optional[Sequence[str]]: + """ + List of worker nodes to check for health. + """ + return pulumi.get(self, "worker_nodes") + + +class AwaitableGetHealthResult(GetHealthResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetHealthResult( + client_configuration=self.client_configuration, + control_plane_nodes=self.control_plane_nodes, + endpoints=self.endpoints, + id=self.id, + timeouts=self.timeouts, + worker_nodes=self.worker_nodes) + + +def get_health(client_configuration: Optional[pulumi.InputType['GetHealthClientConfigurationArgs']] = None, + control_plane_nodes: Optional[Sequence[str]] = None, + endpoints: Optional[Sequence[str]] = None, + timeouts: Optional[pulumi.InputType['GetHealthTimeoutsArgs']] = None, + worker_nodes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHealthResult: + """ + Checks the health of a Talos cluster + + + :param pulumi.InputType['GetHealthClientConfigurationArgs'] client_configuration: The client configuration data + :param Sequence[str] control_plane_nodes: List of control plane nodes to check for health. + :param Sequence[str] endpoints: endpoints to use for the health check client. Use at least one control plane endpoint. + :param Sequence[str] worker_nodes: List of worker nodes to check for health. + """ + __args__ = dict() + __args__['clientConfiguration'] = client_configuration + __args__['controlPlaneNodes'] = control_plane_nodes + __args__['endpoints'] = endpoints + __args__['timeouts'] = timeouts + __args__['workerNodes'] = worker_nodes + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('talos:cluster/getHealth:getHealth', __args__, opts=opts, typ=GetHealthResult).value + + return AwaitableGetHealthResult( + client_configuration=pulumi.get(__ret__, 'client_configuration'), + control_plane_nodes=pulumi.get(__ret__, 'control_plane_nodes'), + endpoints=pulumi.get(__ret__, 'endpoints'), + id=pulumi.get(__ret__, 'id'), + timeouts=pulumi.get(__ret__, 'timeouts'), + worker_nodes=pulumi.get(__ret__, 'worker_nodes')) + + +@_utilities.lift_output_func(get_health) +def get_health_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['GetHealthClientConfigurationArgs']]] = None, + control_plane_nodes: Optional[pulumi.Input[Sequence[str]]] = None, + endpoints: Optional[pulumi.Input[Sequence[str]]] = None, + timeouts: Optional[pulumi.Input[Optional[pulumi.InputType['GetHealthTimeoutsArgs']]]] = None, + worker_nodes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHealthResult]: + """ + Checks the health of a Talos cluster + + + :param pulumi.InputType['GetHealthClientConfigurationArgs'] client_configuration: The client configuration data + :param Sequence[str] control_plane_nodes: List of control plane nodes to check for health. + :param Sequence[str] endpoints: endpoints to use for the health check client. Use at least one control plane endpoint. + :param Sequence[str] worker_nodes: List of worker nodes to check for health. + """ + ... diff --git a/sdk/python/pulumiverse_talos/cluster/get_kubeconfig.py b/sdk/python/pulumiverse_talos/cluster/get_kubeconfig.py new file mode 100644 index 0000000..dad026d --- /dev/null +++ b/sdk/python/pulumiverse_talos/cluster/get_kubeconfig.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetKubeconfigResult', + 'AwaitableGetKubeconfigResult', + 'get_kubeconfig', + 'get_kubeconfig_output', +] + +@pulumi.output_type +class GetKubeconfigResult: + """ + A collection of values returned by getKubeconfig. + """ + def __init__(__self__, client_configuration=None, endpoint=None, id=None, kubeconfig_raw=None, kubernetes_client_configuration=None, node=None, timeouts=None, wait=None): + if client_configuration and not isinstance(client_configuration, dict): + raise TypeError("Expected argument 'client_configuration' to be a dict") + pulumi.set(__self__, "client_configuration", client_configuration) + if endpoint and not isinstance(endpoint, str): + raise TypeError("Expected argument 'endpoint' to be a str") + pulumi.set(__self__, "endpoint", endpoint) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if kubeconfig_raw and not isinstance(kubeconfig_raw, str): + raise TypeError("Expected argument 'kubeconfig_raw' to be a str") + pulumi.set(__self__, "kubeconfig_raw", kubeconfig_raw) + if kubernetes_client_configuration and not isinstance(kubernetes_client_configuration, dict): + raise TypeError("Expected argument 'kubernetes_client_configuration' to be a dict") + pulumi.set(__self__, "kubernetes_client_configuration", kubernetes_client_configuration) + if node and not isinstance(node, str): + raise TypeError("Expected argument 'node' to be a str") + pulumi.set(__self__, "node", node) + if timeouts and not isinstance(timeouts, dict): + raise TypeError("Expected argument 'timeouts' to be a dict") + pulumi.set(__self__, "timeouts", timeouts) + if wait and not isinstance(wait, bool): + raise TypeError("Expected argument 'wait' to be a bool") + pulumi.set(__self__, "wait", wait) + + @property + @pulumi.getter(name="clientConfiguration") + def client_configuration(self) -> 'outputs.GetKubeconfigClientConfigurationResult': + """ + The client configuration data + """ + return pulumi.get(self, "client_configuration") + + @property + @pulumi.getter + def endpoint(self) -> str: + """ + endpoint to use for the talosclient. If not set, the node value will be used + """ + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter + def id(self) -> str: + """ + The ID of this resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="kubeconfigRaw") + def kubeconfig_raw(self) -> str: + """ + The raw kubeconfig + """ + return pulumi.get(self, "kubeconfig_raw") + + @property + @pulumi.getter(name="kubernetesClientConfiguration") + def kubernetes_client_configuration(self) -> 'outputs.GetKubeconfigKubernetesClientConfigurationResult': + """ + The kubernetes client configuration + """ + return pulumi.get(self, "kubernetes_client_configuration") + + @property + @pulumi.getter + def node(self) -> str: + """ + controlplane node to retrieve the kubeconfig from + """ + return pulumi.get(self, "node") + + @property + @pulumi.getter + def timeouts(self) -> Optional['outputs.GetKubeconfigTimeoutsResult']: + return pulumi.get(self, "timeouts") + + @property + @pulumi.getter + def wait(self) -> Optional[bool]: + """ + Wait for the kubernetes api to be available + """ + warnings.warn("""This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.""", DeprecationWarning) + pulumi.log.warn("""wait is deprecated: This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.""") + + return pulumi.get(self, "wait") + + +class AwaitableGetKubeconfigResult(GetKubeconfigResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetKubeconfigResult( + client_configuration=self.client_configuration, + endpoint=self.endpoint, + id=self.id, + kubeconfig_raw=self.kubeconfig_raw, + kubernetes_client_configuration=self.kubernetes_client_configuration, + node=self.node, + timeouts=self.timeouts, + wait=self.wait) + + +def get_kubeconfig(client_configuration: Optional[pulumi.InputType['GetKubeconfigClientConfigurationArgs']] = None, + endpoint: Optional[str] = None, + node: Optional[str] = None, + timeouts: Optional[pulumi.InputType['GetKubeconfigTimeoutsArgs']] = None, + wait: Optional[bool] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKubeconfigResult: + """ + Retrieves the kubeconfig for a Talos cluster + + + :param pulumi.InputType['GetKubeconfigClientConfigurationArgs'] client_configuration: The client configuration data + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used + :param str node: controlplane node to retrieve the kubeconfig from + :param bool wait: Wait for the kubernetes api to be available + """ + __args__ = dict() + __args__['clientConfiguration'] = client_configuration + __args__['endpoint'] = endpoint + __args__['node'] = node + __args__['timeouts'] = timeouts + __args__['wait'] = wait + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('talos:cluster/getKubeconfig:getKubeconfig', __args__, opts=opts, typ=GetKubeconfigResult).value + + return AwaitableGetKubeconfigResult( + client_configuration=pulumi.get(__ret__, 'client_configuration'), + endpoint=pulumi.get(__ret__, 'endpoint'), + id=pulumi.get(__ret__, 'id'), + kubeconfig_raw=pulumi.get(__ret__, 'kubeconfig_raw'), + kubernetes_client_configuration=pulumi.get(__ret__, 'kubernetes_client_configuration'), + node=pulumi.get(__ret__, 'node'), + timeouts=pulumi.get(__ret__, 'timeouts'), + wait=pulumi.get(__ret__, 'wait')) + + +@_utilities.lift_output_func(get_kubeconfig) +def get_kubeconfig_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['GetKubeconfigClientConfigurationArgs']]] = None, + endpoint: Optional[pulumi.Input[Optional[str]]] = None, + node: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input[Optional[pulumi.InputType['GetKubeconfigTimeoutsArgs']]]] = None, + wait: Optional[pulumi.Input[Optional[bool]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKubeconfigResult]: + """ + Retrieves the kubeconfig for a Talos cluster + + + :param pulumi.InputType['GetKubeconfigClientConfigurationArgs'] client_configuration: The client configuration data + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used + :param str node: controlplane node to retrieve the kubeconfig from + :param bool wait: Wait for the kubernetes api to be available + """ + ... diff --git a/sdk/python/pulumiverse_talos/cluster/outputs.py b/sdk/python/pulumiverse_talos/cluster/outputs.py index fab3ac7..071d5f1 100644 --- a/sdk/python/pulumiverse_talos/cluster/outputs.py +++ b/sdk/python/pulumiverse_talos/cluster/outputs.py @@ -10,15 +10,15 @@ from .. import _utilities __all__ = [ - 'HealthClientConfigurationResult', - 'HealthTimeoutsResult', - 'KubeconfigClientConfigurationResult', - 'KubeconfigKubernetesClientConfigurationResult', - 'KubeconfigTimeoutsResult', + 'GetHealthClientConfigurationResult', + 'GetHealthTimeoutsResult', + 'GetKubeconfigClientConfigurationResult', + 'GetKubeconfigKubernetesClientConfigurationResult', + 'GetKubeconfigTimeoutsResult', ] @pulumi.output_type -class HealthClientConfigurationResult(dict): +class GetHealthClientConfigurationResult(dict): def __init__(__self__, *, ca_certificate: str, client_certificate: str, @@ -58,7 +58,7 @@ def client_key(self) -> str: @pulumi.output_type -class HealthTimeoutsResult(dict): +class GetHealthTimeoutsResult(dict): def __init__(__self__, *, read: Optional[str] = None): """ @@ -77,7 +77,7 @@ def read(self) -> Optional[str]: @pulumi.output_type -class KubeconfigClientConfigurationResult(dict): +class GetKubeconfigClientConfigurationResult(dict): def __init__(__self__, *, ca_certificate: str, client_certificate: str, @@ -117,7 +117,7 @@ def client_key(self) -> str: @pulumi.output_type -class KubeconfigKubernetesClientConfigurationResult(dict): +class GetKubeconfigKubernetesClientConfigurationResult(dict): def __init__(__self__, *, ca_certificate: str, client_certificate: str, @@ -168,7 +168,7 @@ def host(self) -> str: @pulumi.output_type -class KubeconfigTimeoutsResult(dict): +class GetKubeconfigTimeoutsResult(dict): def __init__(__self__, *, read: Optional[str] = None): """ diff --git a/sdk/python/pulumiverse_talos/machine/__init__.py b/sdk/python/pulumiverse_talos/machine/__init__.py index dd17167..2284985 100644 --- a/sdk/python/pulumiverse_talos/machine/__init__.py +++ b/sdk/python/pulumiverse_talos/machine/__init__.py @@ -7,8 +7,8 @@ # Export this package's modules as members: from .bootstrap import * from .configuration_apply import * -from .disks import * from .get_configuration import * +from .get_disks import * from .secrets import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumiverse_talos/machine/_inputs.py b/sdk/python/pulumiverse_talos/machine/_inputs.py index 131b057..39ad46f 100644 --- a/sdk/python/pulumiverse_talos/machine/_inputs.py +++ b/sdk/python/pulumiverse_talos/machine/_inputs.py @@ -13,9 +13,6 @@ 'BootstrapClientConfigurationArgs', 'BootstrapTimeoutsArgs', 'ConfigurationApplyClientConfigurationArgs', - 'DisksClientConfigurationArgs', - 'DisksFiltersArgs', - 'DisksTimeoutsArgs', 'SecretsClientConfigurationArgs', 'TimeoutArgs', 'CertificateArgs', @@ -32,6 +29,9 @@ 'SecretsArgs', 'TrustdInfoArgs', 'TrustdInfoArgs', + 'GetDisksClientConfigurationArgs', + 'GetDisksFiltersArgs', + 'GetDisksTimeoutsArgs', ] @pulumi.input_type @@ -161,232 +161,6 @@ def client_key(self, value: pulumi.Input[str]): pulumi.set(self, "client_key", value) -@pulumi.input_type -class DisksClientConfigurationArgs: - def __init__(__self__, *, - ca_certificate: str, - client_certificate: str, - client_key: str): - """ - :param str ca_certificate: The client CA certificate - :param str client_certificate: The client certificate - :param str client_key: The client key - """ - pulumi.set(__self__, "ca_certificate", ca_certificate) - pulumi.set(__self__, "client_certificate", client_certificate) - pulumi.set(__self__, "client_key", client_key) - - @property - @pulumi.getter(name="caCertificate") - def ca_certificate(self) -> str: - """ - The client CA certificate - """ - return pulumi.get(self, "ca_certificate") - - @ca_certificate.setter - def ca_certificate(self, value: str): - pulumi.set(self, "ca_certificate", value) - - @property - @pulumi.getter(name="clientCertificate") - def client_certificate(self) -> str: - """ - The client certificate - """ - return pulumi.get(self, "client_certificate") - - @client_certificate.setter - def client_certificate(self, value: str): - pulumi.set(self, "client_certificate", value) - - @property - @pulumi.getter(name="clientKey") - def client_key(self) -> str: - """ - The client key - """ - return pulumi.get(self, "client_key") - - @client_key.setter - def client_key(self, value: str): - pulumi.set(self, "client_key", value) - - -@pulumi.input_type -class DisksFiltersArgs: - def __init__(__self__, *, - bus_path: Optional[str] = None, - modalias: Optional[str] = None, - model: Optional[str] = None, - name: Optional[str] = None, - serial: Optional[str] = None, - size: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None, - wwid: Optional[str] = None): - """ - :param str bus_path: Filter disks by bus path - :param str modalias: Filter disks by modalias - :param str model: Filter disks by model - :param str name: Filter disks by name - :param str serial: Filter disks by serial number - :param str size: Filter disks by size - :param str type: Filter disks by type - :param str uuid: Filter disks by uuid - :param str wwid: Filter disks by wwid - """ - if bus_path is not None: - pulumi.set(__self__, "bus_path", bus_path) - if modalias is not None: - pulumi.set(__self__, "modalias", modalias) - if model is not None: - pulumi.set(__self__, "model", model) - if name is not None: - pulumi.set(__self__, "name", name) - if serial is not None: - pulumi.set(__self__, "serial", serial) - if size is not None: - pulumi.set(__self__, "size", size) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) - if wwid is not None: - pulumi.set(__self__, "wwid", wwid) - - @property - @pulumi.getter(name="busPath") - def bus_path(self) -> Optional[str]: - """ - Filter disks by bus path - """ - return pulumi.get(self, "bus_path") - - @bus_path.setter - def bus_path(self, value: Optional[str]): - pulumi.set(self, "bus_path", value) - - @property - @pulumi.getter - def modalias(self) -> Optional[str]: - """ - Filter disks by modalias - """ - return pulumi.get(self, "modalias") - - @modalias.setter - def modalias(self, value: Optional[str]): - pulumi.set(self, "modalias", value) - - @property - @pulumi.getter - def model(self) -> Optional[str]: - """ - Filter disks by model - """ - return pulumi.get(self, "model") - - @model.setter - def model(self, value: Optional[str]): - pulumi.set(self, "model", value) - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Filter disks by name - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[str]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def serial(self) -> Optional[str]: - """ - Filter disks by serial number - """ - return pulumi.get(self, "serial") - - @serial.setter - def serial(self, value: Optional[str]): - pulumi.set(self, "serial", value) - - @property - @pulumi.getter - def size(self) -> Optional[str]: - """ - Filter disks by size - """ - return pulumi.get(self, "size") - - @size.setter - def size(self, value: Optional[str]): - pulumi.set(self, "size", value) - - @property - @pulumi.getter - def type(self) -> Optional[str]: - """ - Filter disks by type - """ - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter - def uuid(self) -> Optional[str]: - """ - Filter disks by uuid - """ - return pulumi.get(self, "uuid") - - @uuid.setter - def uuid(self, value: Optional[str]): - pulumi.set(self, "uuid", value) - - @property - @pulumi.getter - def wwid(self) -> Optional[str]: - """ - Filter disks by wwid - """ - return pulumi.get(self, "wwid") - - @wwid.setter - def wwid(self, value: Optional[str]): - pulumi.set(self, "wwid", value) - - -@pulumi.input_type -class DisksTimeoutsArgs: - def __init__(__self__, *, - read: Optional[str] = None): - """ - :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. - """ - if read is not None: - pulumi.set(__self__, "read", read) - - @property - @pulumi.getter - def read(self) -> Optional[str]: - """ - A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. - """ - return pulumi.get(self, "read") - - @read.setter - def read(self, value: Optional[str]): - pulumi.set(self, "read", value) - - @pulumi.input_type class SecretsClientConfigurationArgs: def __init__(__self__, *, @@ -1031,3 +805,229 @@ def token(self, value: pulumi.Input[str]): pulumi.set(self, "token", value) +@pulumi.input_type +class GetDisksClientConfigurationArgs: + def __init__(__self__, *, + ca_certificate: str, + client_certificate: str, + client_key: str): + """ + :param str ca_certificate: The client CA certificate + :param str client_certificate: The client certificate + :param str client_key: The client key + """ + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) + + @property + @pulumi.getter(name="caCertificate") + def ca_certificate(self) -> str: + """ + The client CA certificate + """ + return pulumi.get(self, "ca_certificate") + + @ca_certificate.setter + def ca_certificate(self, value: str): + pulumi.set(self, "ca_certificate", value) + + @property + @pulumi.getter(name="clientCertificate") + def client_certificate(self) -> str: + """ + The client certificate + """ + return pulumi.get(self, "client_certificate") + + @client_certificate.setter + def client_certificate(self, value: str): + pulumi.set(self, "client_certificate", value) + + @property + @pulumi.getter(name="clientKey") + def client_key(self) -> str: + """ + The client key + """ + return pulumi.get(self, "client_key") + + @client_key.setter + def client_key(self, value: str): + pulumi.set(self, "client_key", value) + + +@pulumi.input_type +class GetDisksFiltersArgs: + def __init__(__self__, *, + bus_path: Optional[str] = None, + modalias: Optional[str] = None, + model: Optional[str] = None, + name: Optional[str] = None, + serial: Optional[str] = None, + size: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + wwid: Optional[str] = None): + """ + :param str bus_path: Filter disks by bus path + :param str modalias: Filter disks by modalias + :param str model: Filter disks by model + :param str name: Filter disks by name + :param str serial: Filter disks by serial number + :param str size: Filter disks by size + :param str type: Filter disks by type + :param str uuid: Filter disks by uuid + :param str wwid: Filter disks by wwid + """ + if bus_path is not None: + pulumi.set(__self__, "bus_path", bus_path) + if modalias is not None: + pulumi.set(__self__, "modalias", modalias) + if model is not None: + pulumi.set(__self__, "model", model) + if name is not None: + pulumi.set(__self__, "name", name) + if serial is not None: + pulumi.set(__self__, "serial", serial) + if size is not None: + pulumi.set(__self__, "size", size) + if type is not None: + pulumi.set(__self__, "type", type) + if uuid is not None: + pulumi.set(__self__, "uuid", uuid) + if wwid is not None: + pulumi.set(__self__, "wwid", wwid) + + @property + @pulumi.getter(name="busPath") + def bus_path(self) -> Optional[str]: + """ + Filter disks by bus path + """ + return pulumi.get(self, "bus_path") + + @bus_path.setter + def bus_path(self, value: Optional[str]): + pulumi.set(self, "bus_path", value) + + @property + @pulumi.getter + def modalias(self) -> Optional[str]: + """ + Filter disks by modalias + """ + return pulumi.get(self, "modalias") + + @modalias.setter + def modalias(self, value: Optional[str]): + pulumi.set(self, "modalias", value) + + @property + @pulumi.getter + def model(self) -> Optional[str]: + """ + Filter disks by model + """ + return pulumi.get(self, "model") + + @model.setter + def model(self, value: Optional[str]): + pulumi.set(self, "model", value) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Filter disks by name + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[str]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def serial(self) -> Optional[str]: + """ + Filter disks by serial number + """ + return pulumi.get(self, "serial") + + @serial.setter + def serial(self, value: Optional[str]): + pulumi.set(self, "serial", value) + + @property + @pulumi.getter + def size(self) -> Optional[str]: + """ + Filter disks by size + """ + return pulumi.get(self, "size") + + @size.setter + def size(self, value: Optional[str]): + pulumi.set(self, "size", value) + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + Filter disks by type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def uuid(self) -> Optional[str]: + """ + Filter disks by uuid + """ + return pulumi.get(self, "uuid") + + @uuid.setter + def uuid(self, value: Optional[str]): + pulumi.set(self, "uuid", value) + + @property + @pulumi.getter + def wwid(self) -> Optional[str]: + """ + Filter disks by wwid + """ + return pulumi.get(self, "wwid") + + @wwid.setter + def wwid(self, value: Optional[str]): + pulumi.set(self, "wwid", value) + + +@pulumi.input_type +class GetDisksTimeoutsArgs: + def __init__(__self__, *, + read: Optional[str] = None): + """ + :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + if read is not None: + pulumi.set(__self__, "read", read) + + @property + @pulumi.getter + def read(self) -> Optional[str]: + """ + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + """ + return pulumi.get(self, "read") + + @read.setter + def read(self, value: Optional[str]): + pulumi.set(self, "read", value) + + diff --git a/sdk/python/pulumiverse_talos/machine/get_disks.py b/sdk/python/pulumiverse_talos/machine/get_disks.py new file mode 100644 index 0000000..864e80c --- /dev/null +++ b/sdk/python/pulumiverse_talos/machine/get_disks.py @@ -0,0 +1,206 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDisksResult', + 'AwaitableGetDisksResult', + 'get_disks', + 'get_disks_output', +] + +@pulumi.output_type +class GetDisksResult: + """ + A collection of values returned by getDisks. + """ + def __init__(__self__, client_configuration=None, disks=None, endpoint=None, filters=None, id=None, node=None, timeouts=None): + if client_configuration and not isinstance(client_configuration, dict): + raise TypeError("Expected argument 'client_configuration' to be a dict") + pulumi.set(__self__, "client_configuration", client_configuration) + if disks and not isinstance(disks, list): + raise TypeError("Expected argument 'disks' to be a list") + pulumi.set(__self__, "disks", disks) + if endpoint and not isinstance(endpoint, str): + raise TypeError("Expected argument 'endpoint' to be a str") + pulumi.set(__self__, "endpoint", endpoint) + if filters and not isinstance(filters, dict): + raise TypeError("Expected argument 'filters' to be a dict") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if node and not isinstance(node, str): + raise TypeError("Expected argument 'node' to be a str") + pulumi.set(__self__, "node", node) + if timeouts and not isinstance(timeouts, dict): + raise TypeError("Expected argument 'timeouts' to be a dict") + pulumi.set(__self__, "timeouts", timeouts) + + @property + @pulumi.getter(name="clientConfiguration") + def client_configuration(self) -> 'outputs.GetDisksClientConfigurationResult': + """ + The client configuration data + """ + return pulumi.get(self, "client_configuration") + + @property + @pulumi.getter + def disks(self) -> Sequence['outputs.GetDisksDiskResult']: + """ + The disks that match the filters + """ + return pulumi.get(self, "disks") + + @property + @pulumi.getter + def endpoint(self) -> str: + """ + endpoint to use for the talosclient. If not set, the node value will be used + """ + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter + def filters(self) -> Optional['outputs.GetDisksFiltersResult']: + """ + Filters to apply to the disks + """ + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The generated ID of this resource + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def node(self) -> str: + """ + controlplane node to retrieve the kubeconfig from + """ + return pulumi.get(self, "node") + + @property + @pulumi.getter + def timeouts(self) -> Optional['outputs.GetDisksTimeoutsResult']: + return pulumi.get(self, "timeouts") + + +class AwaitableGetDisksResult(GetDisksResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDisksResult( + client_configuration=self.client_configuration, + disks=self.disks, + endpoint=self.endpoint, + filters=self.filters, + id=self.id, + node=self.node, + timeouts=self.timeouts) + + +def get_disks(client_configuration: Optional[pulumi.InputType['GetDisksClientConfigurationArgs']] = None, + endpoint: Optional[str] = None, + filters: Optional[pulumi.InputType['GetDisksFiltersArgs']] = None, + node: Optional[str] = None, + timeouts: Optional[pulumi.InputType['GetDisksTimeoutsArgs']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDisksResult: + """ + Generate a machine configuration for a node type + + > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `machine_get_disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_talos as talos + import pulumiverse_talos as talos + + this_secrets = talos.machine.Secrets("thisSecrets") + this_disks = talos.machine.get_disks_output(client_configuration=this_secrets.client_configuration, + node="10.5.0.2", + filters=talos.machine.GetDisksFiltersArgs( + size="> 100GB", + type="nvme", + )) + pulumi.export("nvmeDisks", this_disks.apply(lambda this_disks: [__item.name for __item in this_disks.disks])) + ``` + + + :param pulumi.InputType['GetDisksClientConfigurationArgs'] client_configuration: The client configuration data + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used + :param pulumi.InputType['GetDisksFiltersArgs'] filters: Filters to apply to the disks + :param str node: controlplane node to retrieve the kubeconfig from + """ + __args__ = dict() + __args__['clientConfiguration'] = client_configuration + __args__['endpoint'] = endpoint + __args__['filters'] = filters + __args__['node'] = node + __args__['timeouts'] = timeouts + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('talos:machine/getDisks:getDisks', __args__, opts=opts, typ=GetDisksResult).value + + return AwaitableGetDisksResult( + client_configuration=pulumi.get(__ret__, 'client_configuration'), + disks=pulumi.get(__ret__, 'disks'), + endpoint=pulumi.get(__ret__, 'endpoint'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + node=pulumi.get(__ret__, 'node'), + timeouts=pulumi.get(__ret__, 'timeouts')) + + +@_utilities.lift_output_func(get_disks) +def get_disks_output(client_configuration: Optional[pulumi.Input[pulumi.InputType['GetDisksClientConfigurationArgs']]] = None, + endpoint: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[pulumi.InputType['GetDisksFiltersArgs']]]] = None, + node: Optional[pulumi.Input[str]] = None, + timeouts: Optional[pulumi.Input[Optional[pulumi.InputType['GetDisksTimeoutsArgs']]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDisksResult]: + """ + Generate a machine configuration for a node type + + > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `machine_get_disks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_talos as talos + import pulumiverse_talos as talos + + this_secrets = talos.machine.Secrets("thisSecrets") + this_disks = talos.machine.get_disks_output(client_configuration=this_secrets.client_configuration, + node="10.5.0.2", + filters=talos.machine.GetDisksFiltersArgs( + size="> 100GB", + type="nvme", + )) + pulumi.export("nvmeDisks", this_disks.apply(lambda this_disks: [__item.name for __item in this_disks.disks])) + ``` + + + :param pulumi.InputType['GetDisksClientConfigurationArgs'] client_configuration: The client configuration data + :param str endpoint: endpoint to use for the talosclient. If not set, the node value will be used + :param pulumi.InputType['GetDisksFiltersArgs'] filters: Filters to apply to the disks + :param str node: controlplane node to retrieve the kubeconfig from + """ + ... diff --git a/sdk/python/pulumiverse_talos/machine/outputs.py b/sdk/python/pulumiverse_talos/machine/outputs.py index 8efd997..9b72e75 100644 --- a/sdk/python/pulumiverse_talos/machine/outputs.py +++ b/sdk/python/pulumiverse_talos/machine/outputs.py @@ -14,10 +14,6 @@ 'BootstrapClientConfiguration', 'BootstrapTimeouts', 'ConfigurationApplyClientConfiguration', - 'DisksClientConfigurationResult', - 'DisksDiskResult', - 'DisksFiltersResult', - 'DisksTimeoutsResult', 'SecretsClientConfiguration', 'Timeout', 'CertificateResult', @@ -27,6 +23,10 @@ 'MachineSecretsResult', 'SecretsResult', 'TrustdInfoResult', + 'GetDisksClientConfigurationResult', + 'GetDisksDiskResult', + 'GetDisksFiltersResult', + 'GetDisksTimeoutsResult', ] @pulumi.output_type @@ -171,23 +171,47 @@ def client_key(self) -> str: @pulumi.output_type -class DisksClientConfigurationResult(dict): +class SecretsClientConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "caCertificate": + suggest = "ca_certificate" + elif key == "clientCertificate": + suggest = "client_certificate" + elif key == "clientKey": + suggest = "client_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SecretsClientConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SecretsClientConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SecretsClientConfiguration.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - ca_certificate: str, - client_certificate: str, - client_key: str): + ca_certificate: Optional[str] = None, + client_certificate: Optional[str] = None, + client_key: Optional[str] = None): """ :param str ca_certificate: The client CA certificate :param str client_certificate: The client certificate :param str client_key: The client key """ - pulumi.set(__self__, "ca_certificate", ca_certificate) - pulumi.set(__self__, "client_certificate", client_certificate) - pulumi.set(__self__, "client_key", client_key) + if ca_certificate is not None: + pulumi.set(__self__, "ca_certificate", ca_certificate) + if client_certificate is not None: + pulumi.set(__self__, "client_certificate", client_certificate) + if client_key is not None: + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") - def ca_certificate(self) -> str: + def ca_certificate(self) -> Optional[str]: """ The client CA certificate """ @@ -195,7 +219,7 @@ def ca_certificate(self) -> str: @property @pulumi.getter(name="clientCertificate") - def client_certificate(self) -> str: + def client_certificate(self) -> Optional[str]: """ The client certificate """ @@ -203,7 +227,7 @@ def client_certificate(self) -> str: @property @pulumi.getter(name="clientKey") - def client_key(self) -> str: + def client_key(self) -> Optional[str]: """ The client key """ @@ -211,287 +235,282 @@ def client_key(self) -> str: @pulumi.output_type -class DisksDiskResult(dict): +class Timeout(dict): def __init__(__self__, *, - bus_path: str, - modalias: str, - model: str, - name: str, - serial: str, - size: str, - type: str, - uuid: str, - wwid: str): + create: Optional[str] = None, + update: Optional[str] = None): """ - :param str bus_path: The bus path of the disk - :param str modalias: The modalias of the disk - :param str model: The model of the disk - :param str name: The name of the disk - :param str serial: The serial number of the disk - :param str size: The size of the disk - :param str type: The type of the disk - :param str uuid: The uuid of the disk - :param str wwid: The wwid of the disk + :param str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + :param str update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - pulumi.set(__self__, "bus_path", bus_path) - pulumi.set(__self__, "modalias", modalias) - pulumi.set(__self__, "model", model) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "serial", serial) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "wwid", wwid) + if create is not None: + pulumi.set(__self__, "create", create) + if update is not None: + pulumi.set(__self__, "update", update) @property - @pulumi.getter(name="busPath") - def bus_path(self) -> str: + @pulumi.getter + def create(self) -> Optional[str]: """ - The bus path of the disk + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - return pulumi.get(self, "bus_path") + return pulumi.get(self, "create") @property @pulumi.getter - def modalias(self) -> str: + def update(self) -> Optional[str]: """ - The modalias of the disk + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). """ - return pulumi.get(self, "modalias") + return pulumi.get(self, "update") - @property - @pulumi.getter - def model(self) -> str: + +@pulumi.output_type +class CertificateResult(dict): + """ + A Machine Secrets Certificate + """ + def __init__(__self__, *, + cert: str, + key: str): """ - The model of the disk + A Machine Secrets Certificate + :param str cert: Certificate + :param str key: Private Key """ - return pulumi.get(self, "model") + pulumi.set(__self__, "cert", cert) + pulumi.set(__self__, "key", key) @property @pulumi.getter - def name(self) -> str: + def cert(self) -> str: """ - The name of the disk + Certificate """ - return pulumi.get(self, "name") + return pulumi.get(self, "cert") @property @pulumi.getter - def serial(self) -> str: + def key(self) -> str: """ - The serial number of the disk + Private Key """ - return pulumi.get(self, "serial") + return pulumi.get(self, "key") - @property - @pulumi.getter - def size(self) -> str: + +@pulumi.output_type +class CertificatesResult(dict): + """ + A complete Machine Secrets Certificates configuration + """ + def __init__(__self__, *, + etcd: 'outputs.CertificateResult', + k8s: 'outputs.CertificateResult', + k8s_aggregator: 'outputs.CertificateResult', + k8s_serviceaccount: 'outputs.KeyResult', + os: 'outputs.CertificateResult'): """ - The size of the disk + A complete Machine Secrets Certificates configuration """ - return pulumi.get(self, "size") + pulumi.set(__self__, "etcd", etcd) + pulumi.set(__self__, "k8s", k8s) + pulumi.set(__self__, "k8s_aggregator", k8s_aggregator) + pulumi.set(__self__, "k8s_serviceaccount", k8s_serviceaccount) + pulumi.set(__self__, "os", os) @property @pulumi.getter - def type(self) -> str: - """ - The type of the disk - """ - return pulumi.get(self, "type") + def etcd(self) -> 'outputs.CertificateResult': + return pulumi.get(self, "etcd") @property @pulumi.getter - def uuid(self) -> str: - """ - The uuid of the disk - """ - return pulumi.get(self, "uuid") + def k8s(self) -> 'outputs.CertificateResult': + return pulumi.get(self, "k8s") @property @pulumi.getter - def wwid(self) -> str: - """ - The wwid of the disk - """ - return pulumi.get(self, "wwid") + def k8s_aggregator(self) -> 'outputs.CertificateResult': + return pulumi.get(self, "k8s_aggregator") + + @property + @pulumi.getter + def k8s_serviceaccount(self) -> 'outputs.KeyResult': + return pulumi.get(self, "k8s_serviceaccount") + + @property + @pulumi.getter + def os(self) -> 'outputs.CertificateResult': + return pulumi.get(self, "os") @pulumi.output_type -class DisksFiltersResult(dict): +class ClusterResult(dict): + """ + A Machine Secrets Cluster Info + """ def __init__(__self__, *, - bus_path: Optional[str] = None, - modalias: Optional[str] = None, - model: Optional[str] = None, - name: Optional[str] = None, - serial: Optional[str] = None, - size: Optional[str] = None, - type: Optional[str] = None, - uuid: Optional[str] = None, - wwid: Optional[str] = None): + id: str, + secret: str): """ - :param str bus_path: Filter disks by bus path - :param str modalias: Filter disks by modalias - :param str model: Filter disks by model - :param str name: Filter disks by name - :param str serial: Filter disks by serial number - :param str size: Filter disks by size - :param str type: Filter disks by type - :param str uuid: Filter disks by uuid - :param str wwid: Filter disks by wwid + A Machine Secrets Cluster Info + :param str id: Certificate + :param str secret: Private Key """ - if bus_path is not None: - pulumi.set(__self__, "bus_path", bus_path) - if modalias is not None: - pulumi.set(__self__, "modalias", modalias) - if model is not None: - pulumi.set(__self__, "model", model) - if name is not None: - pulumi.set(__self__, "name", name) - if serial is not None: - pulumi.set(__self__, "serial", serial) - if size is not None: - pulumi.set(__self__, "size", size) - if type is not None: - pulumi.set(__self__, "type", type) - if uuid is not None: - pulumi.set(__self__, "uuid", uuid) - if wwid is not None: - pulumi.set(__self__, "wwid", wwid) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "secret", secret) @property - @pulumi.getter(name="busPath") - def bus_path(self) -> Optional[str]: + @pulumi.getter + def id(self) -> str: """ - Filter disks by bus path + Certificate """ - return pulumi.get(self, "bus_path") + return pulumi.get(self, "id") @property @pulumi.getter - def modalias(self) -> Optional[str]: + def secret(self) -> str: """ - Filter disks by modalias + Private Key """ - return pulumi.get(self, "modalias") + return pulumi.get(self, "secret") - @property - @pulumi.getter - def model(self) -> Optional[str]: + +@pulumi.output_type +class KeyResult(dict): + """ + A Machine Secrets Private Key + """ + def __init__(__self__, *, + key: str): """ - Filter disks by model + A Machine Secrets Private Key + :param str key: Private Key """ - return pulumi.get(self, "model") + pulumi.set(__self__, "key", key) @property @pulumi.getter - def name(self) -> Optional[str]: + def key(self) -> str: """ - Filter disks by name + Private Key """ - return pulumi.get(self, "name") + return pulumi.get(self, "key") - @property - @pulumi.getter - def serial(self) -> Optional[str]: + +@pulumi.output_type +class MachineSecretsResult(dict): + """ + A complete Machine Secrets configuration + """ + def __init__(__self__, *, + certs: 'outputs.CertificatesResult', + cluster: 'outputs.ClusterResult', + secrets: 'outputs.SecretsResult', + trustdinfo: 'outputs.TrustdInfoResult'): """ - Filter disks by serial number + A complete Machine Secrets configuration """ - return pulumi.get(self, "serial") + pulumi.set(__self__, "certs", certs) + pulumi.set(__self__, "cluster", cluster) + pulumi.set(__self__, "secrets", secrets) + pulumi.set(__self__, "trustdinfo", trustdinfo) @property @pulumi.getter - def size(self) -> Optional[str]: - """ - Filter disks by size - """ - return pulumi.get(self, "size") + def certs(self) -> 'outputs.CertificatesResult': + return pulumi.get(self, "certs") @property @pulumi.getter - def type(self) -> Optional[str]: + def cluster(self) -> 'outputs.ClusterResult': + return pulumi.get(self, "cluster") + + @property + @pulumi.getter + def secrets(self) -> 'outputs.SecretsResult': + return pulumi.get(self, "secrets") + + @property + @pulumi.getter + def trustdinfo(self) -> 'outputs.TrustdInfoResult': + return pulumi.get(self, "trustdinfo") + + +@pulumi.output_type +class SecretsResult(dict): + """ + A Machine Secrets Bootstrap data + """ + def __init__(__self__, *, + bootstrap_token: str, + secretbox_encryption_secret: str): """ - Filter disks by type + A Machine Secrets Bootstrap data + :param str bootstrap_token: The bootstrap token for the talos kubernetes cluster + :param str secretbox_encryption_secret: The secretbox encryption secret for the talos kubernetes cluster """ - return pulumi.get(self, "type") + pulumi.set(__self__, "bootstrap_token", bootstrap_token) + pulumi.set(__self__, "secretbox_encryption_secret", secretbox_encryption_secret) @property @pulumi.getter - def uuid(self) -> Optional[str]: + def bootstrap_token(self) -> str: """ - Filter disks by uuid + The bootstrap token for the talos kubernetes cluster """ - return pulumi.get(self, "uuid") + return pulumi.get(self, "bootstrap_token") @property @pulumi.getter - def wwid(self) -> Optional[str]: + def secretbox_encryption_secret(self) -> str: """ - Filter disks by wwid + The secretbox encryption secret for the talos kubernetes cluster """ - return pulumi.get(self, "wwid") + return pulumi.get(self, "secretbox_encryption_secret") @pulumi.output_type -class DisksTimeoutsResult(dict): +class TrustdInfoResult(dict): + """ + A Machine Secrets Trust daemon info + """ def __init__(__self__, *, - read: Optional[str] = None): + token: str): """ - :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + A Machine Secrets Trust daemon info + :param str token: The trustd token for the talos kubernetes cluster """ - if read is not None: - pulumi.set(__self__, "read", read) + pulumi.set(__self__, "token", token) @property @pulumi.getter - def read(self) -> Optional[str]: + def token(self) -> str: """ - A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. + The trustd token for the talos kubernetes cluster """ - return pulumi.get(self, "read") + return pulumi.get(self, "token") @pulumi.output_type -class SecretsClientConfiguration(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "caCertificate": - suggest = "ca_certificate" - elif key == "clientCertificate": - suggest = "client_certificate" - elif key == "clientKey": - suggest = "client_key" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecretsClientConfiguration. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecretsClientConfiguration.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecretsClientConfiguration.__key_warning(key) - return super().get(key, default) - +class GetDisksClientConfigurationResult(dict): def __init__(__self__, *, - ca_certificate: Optional[str] = None, - client_certificate: Optional[str] = None, - client_key: Optional[str] = None): + ca_certificate: str, + client_certificate: str, + client_key: str): """ :param str ca_certificate: The client CA certificate :param str client_certificate: The client certificate :param str client_key: The client key """ - if ca_certificate is not None: - pulumi.set(__self__, "ca_certificate", ca_certificate) - if client_certificate is not None: - pulumi.set(__self__, "client_certificate", client_certificate) - if client_key is not None: - pulumi.set(__self__, "client_key", client_key) + pulumi.set(__self__, "ca_certificate", ca_certificate) + pulumi.set(__self__, "client_certificate", client_certificate) + pulumi.set(__self__, "client_key", client_key) @property @pulumi.getter(name="caCertificate") - def ca_certificate(self) -> Optional[str]: + def ca_certificate(self) -> str: """ The client CA certificate """ @@ -499,7 +518,7 @@ def ca_certificate(self) -> Optional[str]: @property @pulumi.getter(name="clientCertificate") - def client_certificate(self) -> Optional[str]: + def client_certificate(self) -> str: """ The client certificate """ @@ -507,7 +526,7 @@ def client_certificate(self) -> Optional[str]: @property @pulumi.getter(name="clientKey") - def client_key(self) -> Optional[str]: + def client_key(self) -> str: """ The client key """ @@ -515,261 +534,242 @@ def client_key(self) -> Optional[str]: @pulumi.output_type -class Timeout(dict): +class GetDisksDiskResult(dict): def __init__(__self__, *, - create: Optional[str] = None, - update: Optional[str] = None): + bus_path: str, + modalias: str, + model: str, + name: str, + serial: str, + size: str, + type: str, + uuid: str, + wwid: str): """ - :param str create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - :param str update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + :param str bus_path: The bus path of the disk + :param str modalias: The modalias of the disk + :param str model: The model of the disk + :param str name: The name of the disk + :param str serial: The serial number of the disk + :param str size: The size of the disk + :param str type: The type of the disk + :param str uuid: The uuid of the disk + :param str wwid: The wwid of the disk """ - if create is not None: - pulumi.set(__self__, "create", create) - if update is not None: - pulumi.set(__self__, "update", update) + pulumi.set(__self__, "bus_path", bus_path) + pulumi.set(__self__, "modalias", modalias) + pulumi.set(__self__, "model", model) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "serial", serial) + pulumi.set(__self__, "size", size) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) + pulumi.set(__self__, "wwid", wwid) @property - @pulumi.getter - def create(self) -> Optional[str]: + @pulumi.getter(name="busPath") + def bus_path(self) -> str: """ - A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). + The bus path of the disk """ - return pulumi.get(self, "create") + return pulumi.get(self, "bus_path") @property @pulumi.getter - def update(self) -> Optional[str]: - """ - A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). - """ - return pulumi.get(self, "update") - - -@pulumi.output_type -class CertificateResult(dict): - """ - A Machine Secrets Certificate - """ - def __init__(__self__, *, - cert: str, - key: str): + def modalias(self) -> str: """ - A Machine Secrets Certificate - :param str cert: Certificate - :param str key: Private Key + The modalias of the disk """ - pulumi.set(__self__, "cert", cert) - pulumi.set(__self__, "key", key) + return pulumi.get(self, "modalias") @property @pulumi.getter - def cert(self) -> str: + def model(self) -> str: """ - Certificate + The model of the disk """ - return pulumi.get(self, "cert") + return pulumi.get(self, "model") @property @pulumi.getter - def key(self) -> str: - """ - Private Key - """ - return pulumi.get(self, "key") - - -@pulumi.output_type -class CertificatesResult(dict): - """ - A complete Machine Secrets Certificates configuration - """ - def __init__(__self__, *, - etcd: 'outputs.CertificateResult', - k8s: 'outputs.CertificateResult', - k8s_aggregator: 'outputs.CertificateResult', - k8s_serviceaccount: 'outputs.KeyResult', - os: 'outputs.CertificateResult'): + def name(self) -> str: """ - A complete Machine Secrets Certificates configuration + The name of the disk """ - pulumi.set(__self__, "etcd", etcd) - pulumi.set(__self__, "k8s", k8s) - pulumi.set(__self__, "k8s_aggregator", k8s_aggregator) - pulumi.set(__self__, "k8s_serviceaccount", k8s_serviceaccount) - pulumi.set(__self__, "os", os) - - @property - @pulumi.getter - def etcd(self) -> 'outputs.CertificateResult': - return pulumi.get(self, "etcd") - - @property - @pulumi.getter - def k8s(self) -> 'outputs.CertificateResult': - return pulumi.get(self, "k8s") + return pulumi.get(self, "name") @property @pulumi.getter - def k8s_aggregator(self) -> 'outputs.CertificateResult': - return pulumi.get(self, "k8s_aggregator") + def serial(self) -> str: + """ + The serial number of the disk + """ + return pulumi.get(self, "serial") @property @pulumi.getter - def k8s_serviceaccount(self) -> 'outputs.KeyResult': - return pulumi.get(self, "k8s_serviceaccount") + def size(self) -> str: + """ + The size of the disk + """ + return pulumi.get(self, "size") @property @pulumi.getter - def os(self) -> 'outputs.CertificateResult': - return pulumi.get(self, "os") - - -@pulumi.output_type -class ClusterResult(dict): - """ - A Machine Secrets Cluster Info - """ - def __init__(__self__, *, - id: str, - secret: str): + def type(self) -> str: """ - A Machine Secrets Cluster Info - :param str id: Certificate - :param str secret: Private Key + The type of the disk """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "secret", secret) + return pulumi.get(self, "type") @property @pulumi.getter - def id(self) -> str: + def uuid(self) -> str: """ - Certificate + The uuid of the disk """ - return pulumi.get(self, "id") + return pulumi.get(self, "uuid") @property @pulumi.getter - def secret(self) -> str: + def wwid(self) -> str: """ - Private Key + The wwid of the disk """ - return pulumi.get(self, "secret") + return pulumi.get(self, "wwid") @pulumi.output_type -class KeyResult(dict): - """ - A Machine Secrets Private Key - """ +class GetDisksFiltersResult(dict): def __init__(__self__, *, - key: str): + bus_path: Optional[str] = None, + modalias: Optional[str] = None, + model: Optional[str] = None, + name: Optional[str] = None, + serial: Optional[str] = None, + size: Optional[str] = None, + type: Optional[str] = None, + uuid: Optional[str] = None, + wwid: Optional[str] = None): """ - A Machine Secrets Private Key - :param str key: Private Key + :param str bus_path: Filter disks by bus path + :param str modalias: Filter disks by modalias + :param str model: Filter disks by model + :param str name: Filter disks by name + :param str serial: Filter disks by serial number + :param str size: Filter disks by size + :param str type: Filter disks by type + :param str uuid: Filter disks by uuid + :param str wwid: Filter disks by wwid """ - pulumi.set(__self__, "key", key) + if bus_path is not None: + pulumi.set(__self__, "bus_path", bus_path) + if modalias is not None: + pulumi.set(__self__, "modalias", modalias) + if model is not None: + pulumi.set(__self__, "model", model) + if name is not None: + pulumi.set(__self__, "name", name) + if serial is not None: + pulumi.set(__self__, "serial", serial) + if size is not None: + pulumi.set(__self__, "size", size) + if type is not None: + pulumi.set(__self__, "type", type) + if uuid is not None: + pulumi.set(__self__, "uuid", uuid) + if wwid is not None: + pulumi.set(__self__, "wwid", wwid) @property - @pulumi.getter - def key(self) -> str: + @pulumi.getter(name="busPath") + def bus_path(self) -> Optional[str]: """ - Private Key + Filter disks by bus path """ - return pulumi.get(self, "key") - + return pulumi.get(self, "bus_path") -@pulumi.output_type -class MachineSecretsResult(dict): - """ - A complete Machine Secrets configuration - """ - def __init__(__self__, *, - certs: 'outputs.CertificatesResult', - cluster: 'outputs.ClusterResult', - secrets: 'outputs.SecretsResult', - trustdinfo: 'outputs.TrustdInfoResult'): + @property + @pulumi.getter + def modalias(self) -> Optional[str]: """ - A complete Machine Secrets configuration + Filter disks by modalias """ - pulumi.set(__self__, "certs", certs) - pulumi.set(__self__, "cluster", cluster) - pulumi.set(__self__, "secrets", secrets) - pulumi.set(__self__, "trustdinfo", trustdinfo) + return pulumi.get(self, "modalias") @property @pulumi.getter - def certs(self) -> 'outputs.CertificatesResult': - return pulumi.get(self, "certs") + def model(self) -> Optional[str]: + """ + Filter disks by model + """ + return pulumi.get(self, "model") @property @pulumi.getter - def cluster(self) -> 'outputs.ClusterResult': - return pulumi.get(self, "cluster") + def name(self) -> Optional[str]: + """ + Filter disks by name + """ + return pulumi.get(self, "name") @property @pulumi.getter - def secrets(self) -> 'outputs.SecretsResult': - return pulumi.get(self, "secrets") + def serial(self) -> Optional[str]: + """ + Filter disks by serial number + """ + return pulumi.get(self, "serial") @property @pulumi.getter - def trustdinfo(self) -> 'outputs.TrustdInfoResult': - return pulumi.get(self, "trustdinfo") - + def size(self) -> Optional[str]: + """ + Filter disks by size + """ + return pulumi.get(self, "size") -@pulumi.output_type -class SecretsResult(dict): - """ - A Machine Secrets Bootstrap data - """ - def __init__(__self__, *, - bootstrap_token: str, - secretbox_encryption_secret: str): + @property + @pulumi.getter + def type(self) -> Optional[str]: """ - A Machine Secrets Bootstrap data - :param str bootstrap_token: The bootstrap token for the talos kubernetes cluster - :param str secretbox_encryption_secret: The secretbox encryption secret for the talos kubernetes cluster + Filter disks by type """ - pulumi.set(__self__, "bootstrap_token", bootstrap_token) - pulumi.set(__self__, "secretbox_encryption_secret", secretbox_encryption_secret) + return pulumi.get(self, "type") @property @pulumi.getter - def bootstrap_token(self) -> str: + def uuid(self) -> Optional[str]: """ - The bootstrap token for the talos kubernetes cluster + Filter disks by uuid """ - return pulumi.get(self, "bootstrap_token") + return pulumi.get(self, "uuid") @property @pulumi.getter - def secretbox_encryption_secret(self) -> str: + def wwid(self) -> Optional[str]: """ - The secretbox encryption secret for the talos kubernetes cluster + Filter disks by wwid """ - return pulumi.get(self, "secretbox_encryption_secret") + return pulumi.get(self, "wwid") @pulumi.output_type -class TrustdInfoResult(dict): - """ - A Machine Secrets Trust daemon info - """ +class GetDisksTimeoutsResult(dict): def __init__(__self__, *, - token: str): + read: Optional[str] = None): """ - A Machine Secrets Trust daemon info - :param str token: The trustd token for the talos kubernetes cluster + :param str read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - pulumi.set(__self__, "token", token) + if read is not None: + pulumi.set(__self__, "read", read) @property @pulumi.getter - def token(self) -> str: + def read(self) -> Optional[str]: """ - The trustd token for the talos kubernetes cluster + A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled. """ - return pulumi.get(self, "token") + return pulumi.get(self, "read")