1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["11718"],{725378:function(e,t,n){n.r(t),n.d(t,{frontMatter:()=>b,toc:()=>k,default:()=>N,metadata:()=>s,assets:()=>j,contentTitle:()=>g});var s=JSON.parse('{"id":"v1/v-1-spectro-clusters-uid-kube-config","title":"Returns the specified cluster\'s kube config file","description":"Returns the specified cluster\'s kube config file","source":"@site/docs/api-content/api-docs/v1/v-1-spectro-clusters-uid-kube-config.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-spectro-clusters-uid-kube-config","permalink":"/api/v1/v-1-spectro-clusters-uid-kube-config","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-spectro-clusters-uid-kube-config","title":"Returns the specified cluster\'s kube config file","description":"Returns the specified cluster\'s kube config file","sidebar_label":"Returns the specified cluster\'s kube config file","hide_title":true,"hide_table_of_contents":true,"api":"eJzFVUtv4zYQ/isDXroLyNGm6KHQoYCRbYs0KGBkN9hD4AMtjizWEsklh866gv57MZTk+BlgiwK9+KF5f/PNp05Yh16StuZeiUJsbz85LMnbuyYGQh+etHqIK7yzptJrkQknvWyRLaJ47oTCUHrtOF4U4rfHBbzzuEUfcOa8/bZ7DysZUMEmrhDKlARedNPACsEjRW9Qga5AbqVu5KpBkQnNqb5G9DuRCSNbFIWovBOZCGWNrRRFJ2jn+PHK2galEZlQWMnYkCjIR+z77LS1OThv/8KS4On+I+gAHr9G7VFBZf1km4XSOlTgMdjoSwwgjYJQ29go7ti2mggVvNRogKRfI2mzBkIjzXnwNEqNUqF/nWUxFHvS6tJIgbw2a3FhhHElEFNgSu0k1a+JB8M02ADFWxWW7BycNQED23/88IG/jqsq+2IaKxVUOm1nmCb531lDaGj2UQdngx4CujcK9pkohxi2SucaXSbu5bYkpFkgj7I9zlFZ30riXWsjEyXOsnLegGX0mnaJlXOnH5B/LhnFeaTaev23HBp8XvLgJNfMYBEGupcj3cUyO5n/MbE0ANUI7KwrjQpG/x/CEbNHiFqk2vI1rZHSyVAtCpFvb/OTankXtepzGQJSyDlTOd1ZQL+djiz6hmlE5EKR59Lpm30eG9VNaVvBI00QfGLsho1OQJxdw+IeNrgDeQgN09ojTLZSGub8Gg0LBB+Kty0sZINEaeJgG4RoFHpYeMuzwy/w5y4leMDdVf6PTe0XKYf/fXa6qdOu//jyGchu0Jz0bVckNQtJDHyODDQ7pA80xBxDkE5fbeio7FlfPYdVNhFaU5NOeERhvrgPMIOfbn4WmeB9DY1ub3kaZwO1Ms0xFvoXXDpCYH9RhN8od43UhgslfnQjz565enbG60wUgzwMZBOZOKDbMhO1DcTBXceC/eSbvufHgwwnpdeB9VmJopJNwLPO9of9H70FLk66YTKPL4OtbCJ7JO5vpdcp8Ptaffc4iuV7OFbXi9UnXpjdYfmpKw7sl/2kkN/Zyf/zfnoD5KO31CvWWTfa52WJjg5sV+Wc97OXxN9//cwkjEzV7uDSNkkRxh8M3UWw99Ix9LBJsnHFt+uGA+77vf9guhqx14XBm9FY9n3/D3AOK08=","sidebar_class_name":"get api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Updates the cluster\'s frp kube config data","permalink":"/api/v1/v-1-spectro-clusters-uid-frp-kube-config-update"},"next":{"title":"Updates the cluster\'s manifest data","permalink":"/api/v1/v-1-spectro-clusters-uid-kube-config-update"}}'),i=n(474848),c=n(884429),o=n(871174),a=n.n(o),r=n(789850),l=n.n(r),d=n(692176),u=n.n(d),p=n(733210),h=n.n(p);n(337779),n(256314);var f=n(299528),m=n(845056);let b={id:"v-1-spectro-clusters-uid-kube-config",title:"Returns the specified cluster's kube config file",description:"Returns the specified cluster's kube config file",sidebar_label:"Returns the specified cluster's kube config file",hide_title:!0,hide_table_of_contents:!0,api:"eJzFVUtv4zYQ/isDXroLyNGm6KHQoYCRbYs0KGBkN9hD4AMtjizWEsklh866gv57MZTk+BlgiwK9+KF5f/PNp05Yh16StuZeiUJsbz85LMnbuyYGQh+etHqIK7yzptJrkQknvWyRLaJ47oTCUHrtOF4U4rfHBbzzuEUfcOa8/bZ7DysZUMEmrhDKlARedNPACsEjRW9Qga5AbqVu5KpBkQnNqb5G9DuRCSNbFIWovBOZCGWNrRRFJ2jn+PHK2galEZlQWMnYkCjIR+z77LS1OThv/8KS4On+I+gAHr9G7VFBZf1km4XSOlTgMdjoSwwgjYJQ29go7ti2mggVvNRogKRfI2mzBkIjzXnwNEqNUqF/nWUxFHvS6tJIgbw2a3FhhHElEFNgSu0k1a+JB8M02ADFWxWW7BycNQED23/88IG/jqsq+2IaKxVUOm1nmCb531lDaGj2UQdngx4CujcK9pkohxi2SucaXSbu5bYkpFkgj7I9zlFZ30riXWsjEyXOsnLegGX0mnaJlXOnH5B/LhnFeaTaev23HBp8XvLgJNfMYBEGupcj3cUyO5n/MbE0ANUI7KwrjQpG/x/CEbNHiFqk2vI1rZHSyVAtCpFvb/OTankXtepzGQJSyDlTOd1ZQL+djiz6hmlE5EKR59Lpm30eG9VNaVvBI00QfGLsho1OQJxdw+IeNrgDeQgN09ojTLZSGub8Gg0LBB+Kty0sZINEaeJgG4RoFHpYeMuzwy/w5y4leMDdVf6PTe0XKYf/fXa6qdOu//jyGchu0Jz0bVckNQtJDHyODDQ7pA80xBxDkE5fbeio7FlfPYdVNhFaU5NOeERhvrgPMIOfbn4WmeB9DY1ub3kaZwO1Ms0xFvoXXDpCYH9RhN8od43UhgslfnQjz565enbG60wUgzwMZBOZOKDbMhO1DcTBXceC/eSbvufHgwwnpdeB9VmJopJNwLPO9of9H70FLk66YTKPL4OtbCJ7JO5vpdcp8Ptaffc4iuV7OFbXi9UnXpjdYfmpKw7sl/2kkN/Zyf/zfnoD5KO31CvWWTfa52WJjg5sV+Wc97OXxN9//cwkjEzV7uDSNkkRxh8M3UWw99Ix9LBJsnHFt+uGA+77vf9guhqx14XBm9FY9n3/D3AOK08=",sidebar_class_name:"get api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},g,j={},k=[];function x(e){let t={p:"p",...(0,c.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.default,{as:"h1",className:"openapi__heading",children:"Returns the specified cluster's kube c
1onfig file"}),"\n",(0,i.jsx)(a(),{method:"get",path:"/v1/spectroclusters/{uid}/assets/kubeconfig",context:"endpoint"}),"\n",(0,i.jsx)(t.p,{children:"Returns the specified cluster's kube config file"}),"\n",(0,i.jsx)(f.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,i.jsx)(m.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,i.jsx)(l(),{...n(938355)}),"\n",(0,i.jsx)(u(),{...n(318513)}),"\n",(0,i.jsx)(h(),{...n(17559)})]})}function N(e={}){let{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},374901:function(e,t,n){n.d(t,{A:()=>p});var s=n(513907);n(296540);var i=n(39836),c=n(845056),o=n(491085),a=n(81178),r=n(256292),l=n(474848);let d={icon:(0,l.jsx)(function(){return(0,l.jsx)(a.gc,{icon:r.s6x})},{}),title:(0,l.jsx)(c.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."},u={icon:(0,l.jsx)(function(){return(0,l.jsx)(a.gc,{icon:r.eST})},{}),title:(0,l.jsx)(c.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},p={...s.A,preview:function(e){let t=e.children||d.defaultText;return(0,l.jsx)(o.A,{...d,className:(0,i.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||u.defaultText;return(0,l.jsx)(o.A,{...u,className:(0,i.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,n){n.d(t,{A:()=>c}),n(296540);var s=n(97376),i=n(474848);function c(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.A,{...e})})}},769048:function(e,t,n){n.r(t),n.d(t,{default:()=>w});var s=n(296540),i=n(955031),c=n(39836),o=n(886626),a=n(816575),r=n(599099),l=n(474848);function d({as:e,...t}){let n=(0,o.A)(),s=(0,r.M$)(n);return(0,l.jsx)(e,{...t,style:s,className:(0,c.A)(t.className,"codeBlockContainer_APcc",a.G.common.codeBlock)})}let u={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function p({children:e,className:t}){return(0,l.jsx)(d,{as:"pre",tabIndex:0,className:(0,c.A)(u.codeBlockStandalone,"thin-scrollbar",t),children:(0,l.jsx)("code",{className:u.codeBlockLines,children:e})})}var h=n(388478),f=n(838588),m=n(58317);function b({line:e,classNames:t,showLineNumbers:n,getLineProps:s,getTokenProps:i}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let o=s({line:e,className:(0,c.A)(t,n&&"codeLine_iPqp")}),a=e.map((e,t)=>(0,l.jsx)("span",{...i({token:e,key:t})},t));return(0,l.jsxs)("span",{...o,children:[n?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,l.jsx)("span",{className:"codeLineContent_pOih",children:a})]}):a,(0,l.jsx)("br",{})]})}var g=n(23028),j=n(845056),k=n(529945),x=n(73451);let N={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function v({code:e,className:t}){let[n,i]=(0,s.useState)(!1),o=(0,s.useRef)(void 0),a=(0,s.useCallback)(()=>{(0,g.default)(e),i(!0),o.current=window.setTimeout(()=>{i(!1)},1e3)},[e]);return(0,s.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,l.jsx)("button",{type:"button","aria-label":n?(0,j.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,j.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,j.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,c.A)("clean-btn",t,N.copyButton,n&&N.copyButtonCopied),onClick:a,children:(0,l.jsxs)("span",{className:N.copyButtonIcons,"aria-hidden":"true",children:[(0,l.jsx)(k.A,{className:N.copyButtonIcon}),(0,l.jsx)(x.A,{className:N.copyButtonSuccessIcon})]})})}var B=n(113824);function y({className:e,onClick:t,isEnabled:n}){let s=(0,j.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});
1return(0,l.jsx)("button",{type:"button",onClick:t,className:(0,c.A)("clean-btn",e,n&&"wordWrapButtonEnabled_gY8A"),"aria-label":s,title:s,children:(0,l.jsx)(B.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function _({children:e,className:t="",metastring:n,title:s,showLineNumbers:i,language:a,hideClipboard:p=!1}){var g;let{prism:{defaultLanguage:j,magicComments:k}}=(0,h.p)(),x=(g=a??(0,r.DX)(t)??j,g?.toLowerCase()),N=(0,o.A)(),B=(0,f.f)(),_=(0,r.wt)(n)||s,{lineClassNames:w,code:O}=(0,r.Li)(e,{metastring:n,language:x,magicComments:k}),A=i??(0,r._u)(n);return p=n&&n.includes("hideClipboard"),(0,l.jsxs)(d,{as:"div",className:(0,c.A)(t,x&&!t.includes(`language-${x}`)&&`language-${x}`),children:[_&&(0,l.jsx)("div",{className:u.codeBlockTitle,children:_}),(0,l.jsxs)("div",{className:u.codeBlockContent,children:[(0,l.jsx)(m.Highlight,{theme:N,code:O,language:x??"text",children:({className:e,style:t,tokens:n,getLineProps:s,getTokenProps:i})=>(0,l.jsx)("pre",{tabIndex:0,ref:B.codeBlockRef,className:(0,c.A)(e,u.codeBlock,"thin-scrollbar"),style:t,children:(0,l.jsx)("code",{className:(0,c.A)(u.codeBlockLines,A&&u.codeBlockLinesWithNumbering),children:n.map((e,t)=>(0,l.jsx)(b,{line:e,getLineProps:s,getTokenProps:i,classNames:w[t],showLineNumbers:A},t))})})}),(0,l.jsxs)("div",{className:u.buttonGroup,children:[(B.isEnabled||B.isCodeScrollable)&&(0,l.jsx)(y,{className:u.codeButton,onClick:()=>B.toggle(),isEnabled:B.isEnabled}),!p&&(0,l.jsx)(v,{className:u.codeButton,code:O})]})]})]})}function w({children:e,...t}){let n=(0,i.default)(),c=s.Children.toArray(e).some(e=>(0,s.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,l.jsx)("string"==typeof c?_:p,{...t,children:c},String(n))}},178766:function(e,t,n){n.r(t),n.d(t,{default:()=>d}),n(296540);var s=n(769048),i=n(39836),c=n(829515),o=n(494528),a=n(952242),r=n(169764),l=n(474848);let d=function({children:e,collapsible:t,name:n,qualifierMessage:d,required:u,schemaName:p,schema:h}){let f,m,b,g;h&&(f=h.deprecated,m=h.description,b=h.default,g=h.nullable);let j=(0,o.guard)(Array.isArray(u)?u.includes(n):u,()=>(0,l.jsx)("span",{className:"openapi-schema__required",children:"required"})),k=(0,o.guard)(f,()=>(0,l.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),x=(0,o.guard)(g,()=>(0,l.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),N=(0,o.guard)(m,e=>(0,l.jsx)("div",{children:(0,l.jsx)(a.oz,{children:(0,c.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:n,children:i,...c}){let o=/language-(\w+)/.exec(n||"");return t?(0,l.jsx)("code",{children:i}):t||null==o?(0,l.jsx)(s.default,{children:i}):(0,l.jsx)(s.default,{className:n,children:i})}},rehypePlugins:[r.A]})})),v=(0,o.guard)(d,e=>(0,l.jsx)("div",{children:(0,l.jsx)(a.oz,{children:(0,c.createDescription)(e),rehypePlugins:[r.A]})})),B=(0,o.guard)("boolean"==typeof b?b.toString():b,e=>(0,l.jsx)("div",{className:"",children:(0,l.jsx)(a.oz,{children:`**Default value:** \`${e}\``})})),y=(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":f}),children:n}),(0,l.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof p?JSON.stringify(p):p}),(g||u||f)&&(0,l.jsx)("span",{className:"openapi-schema__divider"}),x,!f&&j,k]}),v,B,N,e??e]});return(0,l.jsx)("div",{className:"openapi-schema__list-item",children:t?e:y})}},938355:function(e){e.exports=JSON.parse('{"parameters":[{"description":"FRP (reverse-proxy) based kube config will be returned if available","in":"query","name":"frp","schema":{"type":"boolean","default":true}},{"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"}},{"description":"Cluster uid","in":"path","name":"uid","required":true,"schema":{"type":"string"}}]}')},318513:function(e){e.exports={title:"Body"}},17559:function(e){e.exports=JSON.parse('{"responses":{"200":{"description":"download file","headers":{"Content-Disposition":{"schema":{"type":"string"}}},"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}}}}}')}}]);
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.