PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/c44ea98c.dc9da58e.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:41:53 UTC 15,613 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["13099"],{786159:function(e,t,s){s.r(t),s.d(t,{frontMatter:()=>x,toc:()=>k,default:()=>g,metadata:()=>a,assets:()=>y,contentTitle:()=>v});var a=JSON.parse('{"id":"v1/v-1-cluster-profiles-validate-packs","title":"Validates cluster profile packs","description":"Validates cluster profile packs","source":"@site/docs/api-content/api-docs/v1/v-1-cluster-profiles-validate-packs.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-cluster-profiles-validate-packs","permalink":"/api/v1/v-1-cluster-profiles-validate-packs","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-cluster-profiles-validate-packs","title":"Validates cluster profile packs","description":"Validates cluster profile packs","sidebar_label":"Validates cluster profile packs","hide_title":true,"hide_table_of_contents":true,"api":"eJzFV1Fv4zYM/iuCnt3mOuxhyMOA7raH7HC74K69PQR5YGwm0UWWVIluzwv83wdKduLE9loMA/bSJqJIkfzIj8xRWoceSFmzKORcPt+911Ug9Etvt0pj+ApaFUC4hPwQZCYdeCiR0Ac5Xx1lgSH3yrG+nMt74bz9hjmJx8WvQgXh8alSHguxtb6T3YTcOiyEx2Arn2MQYAoR9rbShdigsKUiwkK87NEIAr9DUmYnCA2YobLMpOKn9wgFeplJAyXKuVymxx5VITMZ8j2WIOdHSbVjaSCvzE42zTqT7CMG+sUWNd/IrSE0xB/BOa3ymJzZt8ARHnumLkNv08ZBct4EYek0EIrgMOe8eU40KQzxEW2r4iH6MvCJc8y5fvWJeE2A91BzFgjLESXGTbQhCge1tlAM3NFQo5/QTbJs6GUJRm0x0NSjJ7kAjwKKQrEUtGgzLCAIB56E3QraYxfWdCgfW4OvhtODcMJCd2MkrFQ/k5pRPFBrmtNRwmP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/c8PNFNiuAQqWbi7vGYmr5pTveTaFLjxCXpNmd/3TTN31ooOso=","sidebar_class_name":"post api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Validates the cluster profile metadata","permalink":"/api/v1/v-1-cluster-profiles-validate-name-version"},"next":{"title":"Deletes the specified cluster profile","permalink":"/api/v1/v-1-cluster-profiles-delete"}}'),i=s(474848),r=s(884429),n=s(871174),o=s.n(n),c=s(789850),l=s.n(c),d=s(692176),p=s.n(d),u=s(733210),h=s.n(u);s(337779),s(256314);var m=s(299528),f=s(845056);let x={id:"v-1-cluster-profiles-validate-packs",title:"Validates cluster profile packs",description:"Validates cluster profile packs",sidebar_label:"Validates cluster profile packs",hide_title:!0,hide_table_of_contents:!0,api:"eJzFV1Fv4zYM/iuCnt3mOuxhyMOA7raH7HC74K69PQR5YGwm0UWWVIluzwv83wdKduLE9loMA/bSJqJIkfzIj8xRWoceSFmzKORcPt+911Ug9Etvt0pj+ApaFUC4hPwQZCYdeCiR0Ac5Xx1lgSH3yrG+nMt74bz9hjmJx8WvQgXh8alSHguxtb6T3YTcOiyEx2Arn2MQYAoR9rbShdigsKUiwkK87NEIAr9DUmYnCA2YobLMpOKn9wgFeplJAyXKuVymxx5VITMZ8j2WIOdHSbVjaSCvzE42zTqT7CMG+sUWNd/IrSE0xB/BOa3ymJzZt8ARHnumLkNv08ZBct4EYek0EIrgMOe8eU40KQzxEW2r4iH6MvCJc8y5fvWJeE2A91BzFgjLESXGTbQhCge1tlAM3NFQo5/QTbJs6GUJRm0x0NSjJ7kAjwKKQrEUtGgzLCAIB56E3QraYxfWdCgfW4OvhtODcMJCd2MkrFQ/k5pRPFBrmtNRwmPSUEzNuBEuxZ0K5Guu2ikk0w1RxcIeWCDYTWiyZEyhLcICt1BpYpnDnLyVmURTlXK+6p3sUZfyDL3MpM2VXI/YrSZDmPD8GXSFU7WUhMKj8xjQUIgVk05vayi1qAIWXFHKuIoro2MpgYr26MWST4L49Fl8TbbOhMOqmTCWxMbSXiy26X/sfjZK8bEAJQpSJWbiRWktrNE1q7b2RmoiUQvTHycxYn7OlN0wPcnruslkZdRThYvUAuQrHAUpT1zQA+l8oszWg8wkFMWNNUx/dSAsR2BqBu40ye3grAkJjR/evXsrFT2nWaGsEZ0Jmf1XhNoat75v+7Lvp3jTmkAelKG3GPEYKp1IbYKHpuwxMtfWChWchvqPlgsGVY/eW3/52DWXFeOaJYYAuzHZENU3FZkZ9/FfWRsprLFSazIZMK+8ojpuE/dOfUD+uG6yo7yvaG+9+gtS3ldrntYEu9Ar97Y6Ahf3JUrd4hJEPlaszGJIe8tLj7ORyhzQXs7l7PludmV91uKMs043oH/udqDKa15AiFyYz2bg1G1LmHHK3+a2lOx5F+kXLvgEbhfvYI9aLsQBawH9DPBC5FF0shwMk9cODe9vvGJ5W4olaCRCHnDBahSVKZj82sh/Fh/raOAD1pObU+vUGeX0vcmuAbn2+vc/HwTZA5orv+2GQBksRBV4keP88oX4Bw0xIaAApyYdunh24FeTSeaSz+c17rfvUDqNV4tWV9Gn/Wp1WnzOot5Ss+otEucLrU9dd6yvT66G+Pk4Tube19an02itLq9347D/UqvTMX0Tqd7GnlWk49bbwn+/XARxI368/YlNoQ8Joee7uF7aQCVEAFvfX++VC6RPHEH4nWZOgzJx5HMfHNs2WvFj2aBNY2DxrRMO60zuuQHnK3k8biDgo9dNw8dPFfrIBqzlFWw4RuaGrkTiLxAVWFDI+RZ0wIGrZwz/n18no6k6cNdf/kaJgMu5lEx9Sf4+uX4T6/d8YzBFzxr3eY6O/vHuukd8y09fHmQmN+1PnzLOGunhhcsYXtibTNqYyjQb+Yy7xuyqOHtkssk9yN3cKw1w6hBZpP3AUHUiU/c8PNFNiuAQqWbi7vGYmr5pTveTaFLjxCXpNmd/3TTN31ooOso=",sidebar_class_name:"post api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},v,y={},k=[];function b(e){let t={p:"p",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.default,{as:"h1",className:"openapi__heading",children:"Validates cluster profile packs"}),"\n",(0,i.jsx)(o(),{method:"post",path:"/v1/clusterprofiles/validate/packs",context:"endpoint"}),"\n",(0,i.jsx)(t.p,{children:"Validates cluster profile packs"}),"\n",(0,i.jsx)(m.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,i.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,i.jsx)(l(),{...s(321400)}),"\n",(0,i.jsx)(p(),{...s(767802)}),"\n",(0,i.jsx)(h(),{...s(988816)})]})}function g(e={}){let{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(b,{...e})}):b(e)}},374901:function(e,t,s){s.d(t,{A:()=>u});var a=s(513907);s(296540);var i=s(39836),r=s(845056),n=s(491085),o=s(81178),c=s(256292),l=s(474848);let d={icon:(0,l.jsx)(function(){return(0,l.jsx)(o.gc,{icon:c.s6x})},{}),title:(0,l.jsx)(r.default,{id:"theme.admonition.review",description:"The default label used for the Tech Preview admonition (:::preview)",children:"tech preview"}),defaultText:"This is a Tech Preview feature and is subject to change. Do not use this feature in production workloads."},p={icon:(0,l.jsx)(function(){return(0,l.jsx)(o.gc,{icon:c.eST})},{}),title:(0,l.jsx)(r.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...a.A,preview:function(e){let t=e.children||d.defaultText;return(0,l.jsx)(n.A,{...d,className:(0,i.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||p.defaultText;return(0,l.jsx)(n.A,{...p,className:(0,i.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,s){s.d(t,{A:()=>r}),s(296540);var a=s(97376),i=s(474848);function r(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(a.A,{...e})})}},769048:function(e,t,s){s.r(t),s.d(t,{default:()=>B});var a=s(296540),i=s(955031),r=s(39836),n=s(886626),o=s(816575),c=s(599099),l=s(474848);function d({as:e,...t}){let s=(0,n.A)(),a=(0,c.M$)(s);return(0,l.jsx)(e,{...t,style:a,className:(0,r.A)(t.className,"codeBlockContainer_APcc",o.G.common.codeBlock)})}let p={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function u({children:e,className:t}){return(0,l.jsx)(d,{as:"pre",tabIndex:0,className:(0,r.A)(p.codeBlockStandalone,"thin-scrollbar",t),children:(0,l.jsx)("code",{className:p.codeBlockLines,children:e})})}var h=s(388478),m=s(838588),f=s(58317);function x({line:e,classNames:t,showLineNumbers:s,getLineProps:a,getTokenProps:i}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let n=a({line:e,className:(0,r.A)(t,s&&"codeLine_iPqp")}),o=e.map((e,t)=>(0,l.jsx)("span",{...i({token:e,key:t})},t));return(0,l.jsxs)("span",{...n,children:[s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,l.jsx)("span",{className:"codeLineContent_pOih",children:o})]}):o,(0,l.jsx)("br",{})]})}
1var v=s(23028),y=s(845056),k=s(529945),b=s(73451);let g={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function j({code:e,className:t}){let[s,i]=(0,a.useState)(!1),n=(0,a.useRef)(void 0),o=(0,a.useCallback)(()=>{(0,v.default)(e),i(!0),n.current=window.setTimeout(()=>{i(!1)},1e3)},[e]);return(0,a.useEffect)(()=>()=>window.clearTimeout(n.current),[]),(0,l.jsx)("button",{type:"button","aria-label":s?(0,y.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,y.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,y.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,r.A)("clean-btn",t,g.copyButton,s&&g.copyButtonCopied),onClick:o,children:(0,l.jsxs)("span",{className:g.copyButtonIcons,"aria-hidden":"true",children:[(0,l.jsx)(k.A,{className:g.copyButtonIcon}),(0,l.jsx)(b.A,{className:g.copyButtonSuccessIcon})]})})}var A=s(113824);function N({className:e,onClick:t,isEnabled:s}){let a=(0,y.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,l.jsx)("button",{type:"button",onClick:t,className:(0,r.A)("clean-btn",e,s&&"wordWrapButtonEnabled_gY8A"),"aria-label":a,title:a,children:(0,l.jsx)(A.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function T({children:e,className:t="",metastring:s,title:a,showLineNumbers:i,language:o,hideClipboard:u=!1}){var v;let{prism:{defaultLanguage:y,magicComments:k}}=(0,h.p)(),b=(v=o??(0,c.DX)(t)??y,v?.toLowerCase()),g=(0,n.A)(),A=(0,m.f)(),T=(0,c.wt)(s)||a,{lineClassNames:B,code:W}=(0,c.Li)(e,{metastring:s,language:b,magicComments:k}),C=i??(0,c._u)(s);return u=s&&s.includes("hideClipboard"),(0,l.jsxs)(d,{as:"div",className:(0,r.A)(t,b&&!t.includes(`language-${b}`)&&`language-${b}`),children:[T&&(0,l.jsx)("div",{className:p.codeBlockTitle,children:T}),(0,l.jsxs)("div",{className:p.codeBlockContent,children:[(0,l.jsx)(f.Highlight,{theme:g,code:W,language:b??"text",children:({className:e,style:t,tokens:s,getLineProps:a,getTokenProps:i})=>(0,l.jsx)("pre",{tabIndex:0,ref:A.codeBlockRef,className:(0,r.A)(e,p.codeBlock,"thin-scrollbar"),style:t,children:(0,l.jsx)("code",{className:(0,r.A)(p.codeBlockLines,C&&p.codeBlockLinesWithNumbering),children:s.map((e,t)=>(0,l.jsx)(x,{line:e,getLineProps:a,getTokenProps:i,classNames:B[t],showLineNumbers:C},t))})})}),(0,l.jsxs)("div",{className:p.buttonGroup,children:[(A.isEnabled||A.isCodeScrollable)&&(0,l.jsx)(N,{className:p.codeButton,onClick:()=>A.toggle(),isEnabled:A.isEnabled}),!u&&(0,l.jsx)(j,{className:p.codeButton,code:W})]})]})]})}function B({children:e,...t}){let s=(0,i.default)(),r=a.Children.toArray(e).some(e=>(0,a.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,l.jsx)("string"==typeof r?T:u,{...t,children:r},String(s))}},178766:function(e,t,s){s.r(t),s.d(t,{default:()=>d}),s(296540);var a=s(769048),i=s(39836),r=s(829515),n=s(494528),o=s(952242),c=s(169764),l=s(474848);let d=function({children:e,collapsible:t,name:s,qualifierMessage:d,required:p,schemaName:u,schema:h}){let m,f,x,v;h&&(m=h.deprecated,f=h.description,x=h.default,v=h.nullable);let y=(0,n.guard)(Array.isArray(p)?p.includes(s):p,()=>(0,l.jsx)("span",{className:"openapi-schema__required",children:"required"})),k=(0,n.guard)(m,()=>(0,l.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),b=(0,n.guard)(v,()=>(0,l.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),g=(0,n.guard)(f,e=>(0,l.jsx)("div",{children:(0,l.jsx)(o.oz,{children:(0,r.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:s,children:i,...r}){let n=/language-(\w+)/.exec(s||"");return t?(0,l.jsx)("code",{children:i}):t||null==n?(0,l.jsx)(a.default,{children:i}):(0,l.jsx)(a.default,{className:s,children:i})}},rehypePlugins:[c.A]})})),j=(0,n.guard)(d,e=>(0,l.jsx)("div",{children:(0,l.jsx)(o.oz,{children:(0,r.createDescription)(e),rehypePlugins:[c.A]})})),A=(0,n.guard)("boolean"==typeof x?x.toString():x,e=>(0,l.jsx)("div",{className:"",children:(0,l.jsx)(o.oz,{children:`**Default value:** \`${e}\``})})),N=(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:(0,i.A)("openapi-schema__property",{"openapi-schema__strikethrough":m}),children:s}),(0,l.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof u?JSON.stringify(u):u}),(v||p||m)&&(0,l.jsx)("span",{className:"openapi-schema__divider"}),b,!m&&y,k]}),j,A,g,e??e]});return(0,l.jsx)("div",{className:"openapi-schema__list-item",children:t?e:N})}},321400:function(e){e.exports=JSON.parse('{"parameters":[{"description":"A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources","in":"header","name":"ProjectUid","schema":{"type":"string"}}]}')},767802:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"description":"Cluster profile template spec","properties":{"cloudType":{"type":"string"},"packs":{"description":"Cluster profile packs array","items":{"description":"Pack request payload","properties":{"layer":{"description":"Pack layer","type":"string"},"manifests":{"description":"Pack manifests are additional content as part of the profile","items":{"description":"Manifest request payload","properties":{"content":{"description":"Manifest content","type":"string"},"name":{"description":"Manifest name","type":"string"}}},"type":"array"},"name":{"description":"Pack name","type":"string"},"registryUid":{"description":"Pack registry uid","type":"string"},"tag":{"description":"Pack tag","type":"string"},"type":{"default":"spectro","enum":["spectro","helm","manifest","oci"],"type":"string"}
1,"uid":{"description":"Pack uid","type":"string"},"values":{"description":"Pack values represents the values.yaml used as input parameters either Params OR Values should be used, not both If both applied at the same time, will only use Values","type":"string"}},"required":["name"],"type":"object"},"type":"array","uniqueItems":true},"type":{"default":"cluster","enum":["cluster","infra","add-on","system"],"type":"string"}},"type":"object"}}}}}')},988816:function(e){e.exports=JSON.parse('{"responses":{"200":{"description":"Cluster profile packs validation response","content":{"application/json":{"schema":{"description":"Cluster profile validator response","properties":{"packs":{"description":"Constraint validator response","properties":{"results":{"items":{"description":"Constraint validator result","properties":{"displayName":{"type":"string"},"errors":{"items":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"type":"array","uniqueItems":true},"name":{"type":"string"}},"type":"object"},"type":"array","uniqueItems":true}},"type":"object"}},"type":"object"}}}}}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.