mirror of
https://github.com/openziti/zrok.git
synced 2025-08-09 16:15:04 +02:00
deploy: b125a053fe
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/01cb08ea.7fd145cb.js
Normal file
1
assets/js/01cb08ea.7fd145cb.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/01eca461.2fe253f0.js
Normal file
1
assets/js/01eca461.2fe253f0.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/033e8fc8.05fca131.js
Normal file
1
assets/js/033e8fc8.05fca131.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/0343fd66.cf59df48.js
Normal file
1
assets/js/0343fd66.cf59df48.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/06e9c92f.043cebe5.js
Normal file
1
assets/js/06e9c92f.043cebe5.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/07d0b302.7bf17850.js
Normal file
1
assets/js/07d0b302.7bf17850.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/0b158102.aec358ff.js
Normal file
1
assets/js/0b158102.aec358ff.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/0c1cdb3d.e904e8ac.js
Normal file
1
assets/js/0c1cdb3d.e904e8ac.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/0c66edb9.25c50cd9.js
Normal file
1
assets/js/0c66edb9.25c50cd9.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/0da40196.e5753952.js
Normal file
1
assets/js/0da40196.e5753952.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/0e8762f7.119afce6.js
Normal file
1
assets/js/0e8762f7.119afce6.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/0efac3c3.2b18cac3.js
Normal file
1
assets/js/0efac3c3.2b18cac3.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/1039.9759cd6a.js
Normal file
1
assets/js/1039.9759cd6a.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/11b43341.bfb531fc.js
Normal file
1
assets/js/11b43341.bfb531fc.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/12b29424.52cb5196.js
Normal file
1
assets/js/12b29424.52cb5196.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/14eb3368.7b8c0ab0.js
Normal file
1
assets/js/14eb3368.7b8c0ab0.js
Normal file
File diff suppressed because one or more lines are too long
2
assets/js/165.c71829f0.js
Normal file
2
assets/js/165.c71829f0.js
Normal file
File diff suppressed because one or more lines are too long
9
assets/js/165.c71829f0.js.LICENSE.txt
Normal file
9
assets/js/165.c71829f0.js.LICENSE.txt
Normal file
@ -0,0 +1,9 @@
|
||||
/*!
|
||||
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
|
||||
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
|
||||
Licensed under The MIT License (http://opensource.org/licenses/MIT)
|
||||
*/
|
||||
|
||||
/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */
|
||||
|
||||
/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8401],{8419:(t,e,a)=>{a.d(e,{A:()=>m});a(6540);var r=a(3425),s=a(53),c=a(4848);const l=t=>{let{className:e,style:a,children:r,shadow:l}=t;const n=l?`item shadow--${l}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card",e,n),style:a,children:r})},n=t=>{let{className:e,style:a,children:r,textAlign:l,variant:n,italic:i=!1,noDecoration:o=!1,transform:d,breakWord:x=!1,truncate:m=!1,weight:h}=t;const u=l?`text--${l}`:"",y=n?`text--${n}`:"",N=i?"text--italic":"",A=o?"text-no-decoration":"",$=d?`text--${d}`:"",v=x?"text--break":"",b=m?"text--truncate":"",g=h?`text--${h}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__body",e,u,$,y,N,A,v,b,g),style:a,children:r})},i=t=>{let{className:e,style:a,children:r,textAlign:l,variant:n,italic:i=!1,noDecoration:o=!1,transform:d,breakWord:x=!1,truncate:m=!1,weight:h}=t;const u=l?`text--${l}`:"",y=n?`text--${n}`:"",N=i?"text--italic":"",A=o?"text-no-decoration":"",$=d?`text--${d}`:"",v=x?"text--break":"",b=m?"text--truncate":"",g=h?`text--${h}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__footer",e,u,$,y,N,A,v,b,g),style:a,children:r})},o=t=>{let{className:e,style:a,children:r,textAlign:l,variant:n,italic:i=!1,noDecoration:o=!1,transform:d,breakWord:x=!1,truncate:m=!1,weight:h}=t;const u=l?`text--${l}`:"",y=n?`text--${n}`:"",N=i?"text--italic":"",A=o?"text-no-decoration":"",$=d?`text--${d}`:"",v=x?"text--break":"",b=m?"text--truncate":"",g=h?`text--${h}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__header",e,u,$,y,N,A,v,b,g),style:a,children:r})};var d=a(9030);const x=t=>{let{className:e,style:a,cardImageUrl:r,alt:l,title:n}=t;const i=(0,d.Ay)(r);return(0,c.jsx)("img",{className:(0,s.A)("card__image",e),style:a,src:i,alt:l,title:n})};const m={...r.A,Card:l,CardHeader:o,CardBody:n,CardFooter:i,CardImage:x,Columns:function(t){let{children:e,className:a,style:r}=t;return(0,c.jsx)("div",{className:"container center",children:(0,c.jsx)("div",{className:(0,s.A)("row",a),style:r,children:e})})},Column:function(t){let{children:e,className:a,style:r}=t;return(0,c.jsx)("div",{className:(0,s.A)("col",a),style:r,children:e})}}}}]);
|
1
assets/js/17896441.d25b5865.js
Normal file
1
assets/js/17896441.d25b5865.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8401],{61759:(t,e,a)=>{a.d(e,{A:()=>m});a(96540);var r=a(56875),s=a(20053),c=a(74848);const n=({className:t,style:e,children:a,shadow:r})=>{const n=r?`item shadow--${r}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card",t,n),style:e,children:a})},l=({className:t,style:e,children:a,textAlign:r,variant:n,italic:l=!1,noDecoration:i=!1,transform:o,breakWord:d=!1,truncate:x=!1,weight:m})=>{const h=r?`text--${r}`:"",u=n?`text--${n}`:"",y=l?"text--italic":"",N=i?"text-no-decoration":"",A=o?`text--${o}`:"",$=d?"text--break":"",v=x?"text--truncate":"",b=m?`text--${m}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__body",t,h,A,u,y,N,$,v,b),style:e,children:a})},i=({className:t,style:e,children:a,textAlign:r,variant:n,italic:l=!1,noDecoration:i=!1,transform:o,breakWord:d=!1,truncate:x=!1,weight:m})=>{const h=r?`text--${r}`:"",u=n?`text--${n}`:"",y=l?"text--italic":"",N=i?"text-no-decoration":"",A=o?`text--${o}`:"",$=d?"text--break":"",v=x?"text--truncate":"",b=m?`text--${m}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__footer",t,h,A,u,y,N,$,v,b),style:e,children:a})},o=({className:t,style:e,children:a,textAlign:r,variant:n,italic:l=!1,noDecoration:i=!1,transform:o,breakWord:d=!1,truncate:x=!1,weight:m})=>{const h=r?`text--${r}`:"",u=n?`text--${n}`:"",y=l?"text--italic":"",N=i?"text-no-decoration":"",A=o?`text--${o}`:"",$=d?"text--break":"",v=x?"text--truncate":"",b=m?`text--${m}`:"";return(0,c.jsx)("div",{className:(0,s.A)("card__header",t,h,A,u,y,N,$,v,b),style:e,children:a})};var d=a(86025);const x=({className:t,style:e,cardImageUrl:a,alt:r,title:n})=>{const l=(0,d.Ay)(a);return(0,c.jsx)("img",{className:(0,s.A)("card__image",t),style:e,src:l,alt:r,title:n})};const m={...r.A,Card:n,CardHeader:o,CardBody:l,CardFooter:i,CardImage:x,Columns:function({children:t,className:e,style:a}){return(0,c.jsx)("div",{className:"container center",children:(0,c.jsx)("div",{className:(0,s.A)("row",e),style:a,children:t})})},Column:function({children:t,className:e,style:a}){return(0,c.jsx)("div",{className:(0,s.A)("col",e),style:a,children:t})}}}}]);
|
1
assets/js/17f4c24e.8b53d875.js
Normal file
1
assets/js/17f4c24e.8b53d875.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/19ee95d5.a5fb61fe.js
Normal file
1
assets/js/19ee95d5.a5fb61fe.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/1a4e3797.c4b4a442.js
Normal file
1
assets/js/1a4e3797.c4b4a442.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/1b39c707.130e2181.js
Normal file
1
assets/js/1b39c707.130e2181.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/1ba5bc99.0b96536b.js
Normal file
1
assets/js/1ba5bc99.0b96536b.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/1dd31738.5c6ef126.js
Normal file
1
assets/js/1dd31738.5c6ef126.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/1ddd36f2.3f935685.js
Normal file
1
assets/js/1ddd36f2.3f935685.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1595],{18477:(e,n,s)=>{s.d(n,{Ay:()=>c,RM:()=>d});var o=s(74848),t=s(28453),r=s(18151),i=s(30595),a=s(31342);const d=[];function l(e){return(0,o.jsx)(r.F,{children:(0,o.jsxs)("div",{className:a.A.downloadContainer,children:[(0,o.jsx)(i.A,{osName:"Windows",osLogo:"/img/logo-windows.svg",infoText:"Download EXE",guideLink:"/docs/guides/install/windows"}),(0,o.jsx)(i.A,{osName:"macOS",osLogo:"/img/logo-apple.svg",infoText:"Homebrew or Download",guideLink:"/docs/guides/install/macos"}),(0,o.jsx)(i.A,{osName:"Linux",osLogo:"/img/logo-linux.svg",infoText:"RPM/DEB/AUR or Homebrew",guideLink:"/docs/guides/install/linux"})]})})}function c(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l()}},66974:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>d,default:()=>m,frontMatter:()=>a,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"guides/install/index","title":"Install","description":"","source":"@site/versioned_docs/version-0.4/guides/install/index.mdx","sourceDirName":"guides/install","slug":"/guides/install/","permalink":"/docs/0.4/guides/install/","draft":false,"unlisted":false,"editUrl":"https://github.com/openziti/zrok/blob/main/docs/versioned_docs/version-0.4/guides/install/index.mdx","tags":[],"version":"0.4","frontMatter":{"title":"Install"},"sidebar":"tutorialSidebar","previous":{"title":"Guides","permalink":"/docs/0.4/category/guides"},"next":{"title":"Linux","permalink":"/docs/0.4/guides/install/linux"}}');var t=s(74848),r=s(28453),i=(s(18151),s(30595),s(31342),s(18477));const a={title:"Install"},d=void 0,l={},c=[...i.RM];function u(e){return(0,t.jsx)(i.Ay,{})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u()}},18151:(e,n,s)=>{s.d(n,{F:()=>a,d:()=>i});var o=s(96540),t=s(74848);const r=(0,o.createContext)([]),i=()=>(0,o.useContext)(r),a=({children:e})=>{const[n,s]=(0,o.useState)([]);return(0,o.useEffect)((()=>{(async()=>{try{const e=await fetch("https://api.github.com/repos/openziti/zrok/releases/latest");if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const n=(await e.json()).assets.map((e=>({name:e.name,url:e.browser_download_url,arch:e.name.replace(".tar.gz","").split("_")[3]})));console.log("Fetched assets:",n),s(n)}catch(e){console.error("Error fetching the release assets:",e)}})()}),[]),(0,t.jsx)(r.Provider,{value:n,children:e})}},30595:(e,n,s)=>{s.d(n,{A:()=>d});s(96540);var o=s(18151),t=s(31342),r=s(95293),i=s(74848);const a=e=>{switch(e){case"amd64":return"x86_64";case"arm64":return"ARM64";case"armv7":return"ARM";default:return e.toUpperCase()}},d=({osName:e,osLogo:n,infoText:s,guideLink:d})=>{const{colorMode:l}=(0,r.G)(),c=(0,o.d)();console.log("Assets in DownloadCard:",c);const u=(e=>{switch(e){case"Windows":return"windows";case"macOS":return"darwin";case"Linux":return"linux";default:return""}})(e),m=c.filter((e=>e.name.includes(u)));return console.log("Filtered assets for",e,"in DownloadCard:",m),(0,i.jsxs)("div",{className:t.A.downloadCard,children:[(0,i.jsx)("div",{className:t.A.imgContainer,children:(0,i.jsx)("img",{src:n,alt:`${e} logo`})}),(0,i.jsx)("h3",{children:e}),m.length>0&&(0,i.jsx)("ul",{children:m.map(((e,n)=>(0,i.jsx)("li",{className:t.A.downloadButtons,children:(0,i.jsx)("a",{href:e.url,className:t.A.downloadLinks,children:a(e.arch)})},n)))}),d&&(0,i.jsxs)("div",{className:t.A.cardFooter,children:[(0,i.jsx)("p",{children:s}),(0,i.jsx)("a",{href:d,children:"GUIDE"}),(0,i.jsx)("p",{})]})]})}},31342:(e,n,s)=>{s.d(n,{A:()=>o});const o={downloadContainer:"downloadContainer_nNgj",downloadCard:"downloadCard_D_EY",cardFooter:"cardFooter_Rhom",downloadButtons:"downloadButtons_NPAP",downloadLinks:"downloadLinks_thSu",imgContainer:"imgContainer_r0QA"}},28453:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>a});var o=s(96540);const t={},r=o.createContext(t);function i(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1595],{2390:(e,n,s)=>{s.d(n,{Ay:()=>c,RM:()=>l});var o=s(4848),t=s(8453),r=s(3070),i=s(3484),a=s(3769);const l=[];function d(e){return(0,o.jsx)(r.F,{children:(0,o.jsxs)("div",{className:a.A.downloadContainer,children:[(0,o.jsx)(i.A,{osName:"Windows",osLogo:"/img/logo-windows.svg",infoText:"Download EXE",guideLink:"/docs/guides/install/windows"}),(0,o.jsx)(i.A,{osName:"macOS",osLogo:"/img/logo-apple.svg",infoText:"Homebrew or Download",guideLink:"/docs/guides/install/macos"}),(0,o.jsx)(i.A,{osName:"Linux",osLogo:"/img/logo-linux.svg",infoText:"RPM/DEB/AUR or Homebrew",guideLink:"/docs/guides/install/linux"})]})})}function c(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d()}},9854:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>m,frontMatter:()=>a,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"guides/install/index","title":"Install","description":"","source":"@site/versioned_docs/version-0.4/guides/install/index.mdx","sourceDirName":"guides/install","slug":"/guides/install/","permalink":"/docs/0.4/guides/install/","draft":false,"unlisted":false,"editUrl":"https://github.com/openziti/zrok/blob/main/docs/versioned_docs/version-0.4/guides/install/index.mdx","tags":[],"version":"0.4","frontMatter":{"title":"Install"},"sidebar":"tutorialSidebar","previous":{"title":"Guides","permalink":"/docs/0.4/category/guides"},"next":{"title":"Linux","permalink":"/docs/0.4/guides/install/linux"}}');var t=s(4848),r=s(8453),i=(s(3070),s(3484),s(3769),s(2390));const a={title:"Install"},l=void 0,d={},c=[...i.RM];function u(e){return(0,t.jsx)(i.Ay,{})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u()}},3070:(e,n,s)=>{s.d(n,{F:()=>a,d:()=>i});var o=s(6540),t=s(4848);const r=(0,o.createContext)([]),i=()=>(0,o.useContext)(r),a=e=>{let{children:n}=e;const[s,i]=(0,o.useState)([]);return(0,o.useEffect)((()=>{(async()=>{try{const e=await fetch("https://api.github.com/repos/openziti/zrok/releases/latest");if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const n=(await e.json()).assets.map((e=>({name:e.name,url:e.browser_download_url,arch:e.name.replace(".tar.gz","").split("_")[3]})));console.log("Fetched assets:",n),i(n)}catch(e){console.error("Error fetching the release assets:",e)}})()}),[]),(0,t.jsx)(r.Provider,{value:s,children:n})}},3484:(e,n,s)=>{s.d(n,{A:()=>l});s(6540);var o=s(3070),t=s(3769),r=s(8532),i=s(4848);const a=e=>{switch(e){case"amd64":return"x86_64";case"arm64":return"ARM64";case"armv7":return"ARM";default:return e.toUpperCase()}},l=e=>{let{osName:n,osLogo:s,infoText:l,guideLink:d}=e;const{colorMode:c}=(0,r.G)(),u=(0,o.d)();console.log("Assets in DownloadCard:",u);const m=(e=>{switch(e){case"Windows":return"windows";case"macOS":return"darwin";case"Linux":return"linux";default:return""}})(n),x=u.filter((e=>e.name.includes(m)));return console.log("Filtered assets for",n,"in DownloadCard:",x),(0,i.jsxs)("div",{className:t.A.downloadCard,children:[(0,i.jsx)("div",{className:t.A.imgContainer,children:(0,i.jsx)("img",{src:s,alt:`${n} logo`})}),(0,i.jsx)("h3",{children:n}),x.length>0&&(0,i.jsx)("ul",{children:x.map(((e,n)=>(0,i.jsx)("li",{className:t.A.downloadButtons,children:(0,i.jsx)("a",{href:e.url,className:t.A.downloadLinks,children:a(e.arch)})},n)))}),d&&(0,i.jsxs)("div",{className:t.A.cardFooter,children:[(0,i.jsx)("p",{children:l}),(0,i.jsx)("a",{href:d,children:"GUIDE"}),(0,i.jsx)("p",{})]})]})}},3769:(e,n,s)=>{s.d(n,{A:()=>o});const o={downloadContainer:"downloadContainer_nNgj",downloadCard:"downloadCard_D_EY",cardFooter:"cardFooter_Rhom",downloadButtons:"downloadButtons_NPAP",downloadLinks:"downloadLinks_thSu",imgContainer:"imgContainer_r0QA"}},8453:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>a});var o=s(6540);const t={},r=o.createContext(t);function i(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6381],{1922:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Self Hosting","slug":"/category/self-hosting","permalink":"/docs/0.4/category/self-hosting","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Linux User Share","permalink":"/docs/0.4/guides/linux-user-share/"},"next":{"title":"Linux","permalink":"/docs/0.4/guides/self-hosting/linux/"}}}}')}}]);
|
1
assets/js/1f91e8db.792c69d7.js
Normal file
1
assets/js/1f91e8db.792c69d7.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6381],{21922:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Self Hosting","slug":"/category/self-hosting","permalink":"/docs/0.4/category/self-hosting","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Linux User Share","permalink":"/docs/0.4/guides/linux-user-share/"},"next":{"title":"Linux","permalink":"/docs/0.4/guides/self-hosting/linux/"}}}}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8582],{1785:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>o,metadata:()=>n,toc:()=>l});const n=JSON.parse('{"id":"guides/self-hosting/kubernetes","title":"Self-host a zrok Instance in Kubernetes","description":"The Helm chart for zrok is available from the main OpenZiti charts repo.","source":"@site/../docs/guides/self-hosting/kubernetes.mdx","sourceDirName":"guides/self-hosting","slug":"/guides/self-hosting/kubernetes","permalink":"/docs/guides/self-hosting/kubernetes","draft":false,"unlisted":false,"editUrl":"https://github.com/openziti/zrok/blob/main/docs/../docs/guides/self-hosting/kubernetes.mdx","tags":[],"version":"current","sidebarPosition":55,"frontMatter":{"title":"Self-host a zrok Instance in Kubernetes","sidebar_label":"Kubernetes","sidebar_position":55},"sidebar":"tutorialSidebar","previous":{"title":"Docker","permalink":"/docs/guides/self-hosting/docker"},"next":{"title":"Metrics and Limits","permalink":"/docs/category/metrics-and-limits"}}');var i=s(4848),r=s(8453);const o={title:"Self-host a zrok Instance in Kubernetes",sidebar_label:"Kubernetes",sidebar_position:55},a=void 0,c={},l=[];function u(e){const t={a:"a",p:"p",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"The Helm chart for zrok is available from the main OpenZiti charts repo."}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.a,{href:"https://github.com/openziti/helm-charts/tree/main/charts/zrok#readme",children:"Link to README in GitHub"})})]})}function d(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},8453:(e,t,s)=>{s.d(t,{R:()=>o,x:()=>a});var n=s(6540);const i={},r=n.createContext(i);function o(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);
|
1
assets/js/20595907.e0a397b5.js
Normal file
1
assets/js/20595907.e0a397b5.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8582],{27445:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>d,frontMatter:()=>o,metadata:()=>n,toc:()=>l});const n=JSON.parse('{"id":"guides/self-hosting/kubernetes","title":"Self-host a zrok Instance in Kubernetes","description":"The Helm chart for zrok is available from the main OpenZiti charts repo.","source":"@site/../docs/guides/self-hosting/kubernetes.mdx","sourceDirName":"guides/self-hosting","slug":"/guides/self-hosting/kubernetes","permalink":"/docs/guides/self-hosting/kubernetes","draft":false,"unlisted":false,"editUrl":"https://github.com/openziti/zrok/blob/main/docs/../docs/guides/self-hosting/kubernetes.mdx","tags":[],"version":"current","sidebarPosition":55,"frontMatter":{"title":"Self-host a zrok Instance in Kubernetes","sidebar_label":"Kubernetes","sidebar_position":55},"sidebar":"tutorialSidebar","previous":{"title":"Docker","permalink":"/docs/guides/self-hosting/docker"},"next":{"title":"Metrics and Limits","permalink":"/docs/category/metrics-and-limits"}}');var i=s(74848),r=s(28453);const o={title:"Self-host a zrok Instance in Kubernetes",sidebar_label:"Kubernetes",sidebar_position:55},a=void 0,c={},l=[];function u(e){const t={a:"a",p:"p",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"The Helm chart for zrok is available from the main OpenZiti charts repo."}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.a,{href:"https://github.com/openziti/helm-charts/tree/main/charts/zrok#readme",children:"Link to README in GitHub"})})]})}function d(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},28453:(e,t,s)=>{s.d(t,{R:()=>o,x:()=>a});var n=s(96540);const i={},r=n.createContext(i);function o(e){const t=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(r.Provider,{value:t},e.children)}}}]);
|
1
assets/js/2068.7f77c6c1.js
Normal file
1
assets/js/2068.7f77c6c1.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2068],{32068:(e,s,c)=>{c.d(s,{createInfoServices:()=>t.v});var t=c(41366);c(58198)}}]);
|
1
assets/js/2076.8d5127b6.js
Normal file
1
assets/js/2076.8d5127b6.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2076],{22076:(e,r,s)=>{s.d(r,{diagram:()=>i});var a=s(98379),t=(s(24651),s(44540),s(98833),s(45020),s(51789),s(30070),s(66906),s(28823),s(55683),s(68506),s(46792),s(41750)),i={parser:a._$,get db(){return new a.NM},renderer:a.Lh,styles:a.tM,init:(0,t.K2)((e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute}),"init")}}}]);
|
1
assets/js/2123.b4892be7.js
Normal file
1
assets/js/2123.b4892be7.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2123],{34504:(e,s,a)=>{a.d(s,{createTreemapServices:()=>c.d});var c=a(43758);a(58198)}}]);
|
1
assets/js/2130.0b99be21.js
Normal file
1
assets/js/2130.0b99be21.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/2159.e1a2a6eb.js
Normal file
1
assets/js/2159.e1a2a6eb.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2159],{42159:(e,r,t)=>{t.d(r,{diagram:()=>i});var s=t(88583),a=(t(44540),t(98833),t(45020),t(51789),t(30070),t(66906),t(28823),t(55683),t(68506),t(46792),t(41750)),i={parser:s.Zk,get db(){return new s.u4(2)},renderer:s.q7,styles:s.tM,init:(0,a.K2)((e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute}),"init")}}}]);
|
File diff suppressed because one or more lines are too long
1
assets/js/21880a4d.bbb85f93.js
Normal file
1
assets/js/21880a4d.bbb85f93.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/21bca57c.50683900.js
Normal file
1
assets/js/21bca57c.50683900.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1929],{6516:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>a});const i=JSON.parse('{"id":"concepts/files","title":"Sharing Websites and Files","description":"With zrok it is possible to share files quickly and easily as well. To share files using zrok use","source":"@site/versioned_docs/version-1.0/concepts/files.md","sourceDirName":"concepts","slug":"/concepts/files","permalink":"/docs/1.0/concepts/files","draft":false,"unlisted":false,"editUrl":"https://github.com/openziti/zrok/blob/main/docs/versioned_docs/version-1.0/concepts/files.md","tags":[],"version":"1.0","sidebarPosition":30,"frontMatter":{"title":"Sharing Websites and Files","sidebar_position":30},"sidebar":"tutorialSidebar","previous":{"title":"Sharing TCP and UDP Servers","permalink":"/docs/1.0/concepts/tunnels"},"next":{"title":"Open Source","permalink":"/docs/1.0/concepts/opensource"}}');var r=n(74848),t=n(28453);const o={title:"Sharing Websites and Files",sidebar_position:30},c=void 0,l={},a=[];function d(e){const s={code:"code",img:"img",p:"p",pre:"pre",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s.p,{children:["With ",(0,r.jsx)(s.code,{children:"zrok"})," it is possible to share files quickly and easily as well. To share files using ",(0,r.jsx)(s.code,{children:"zrok"})," use\nthe ",(0,r.jsx)(s.code,{children:"--backend-mode web"}),", for example: ",(0,r.jsx)(s.code,{children:"zrok share private . --backend-mode web"}),"."]}),"\n",(0,r.jsx)(s.p,{children:"Running with this mode will make it trivially easy to share files from the directory which the command\nwas run from."}),"\n",(0,r.jsx)(s.p,{children:"For example if you have a directory with a structure like this:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-shell",children:"-rw-r--r--+ 1 Michael None 7090 Apr 17 12:53 CHANGELOG.md\n-rw-r--r--+ 1 Michael None 11346 Apr 17 12:53 LICENSE\n-rw-r--r--+ 1 Michael None 2885 Apr 17 12:53 README.md\n-rwxr-xr-x+ 1 Michael None 44250624 Apr 17 13:00 zrok.exe*\n"})}),"\n",(0,r.jsx)(s.p,{children:"The files can be shared using a command such as:"}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-shell",children:"zrok share public --backend-mode web .\n"})}),"\n",(0,r.jsxs)(s.p,{children:["Then the files can be access with a ",(0,r.jsx)(s.code,{children:"private"})," or ",(0,r.jsx)(s.code,{children:"public"})," share, for example as shown:"]}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.img,{alt:"zrok_share_web_files",src:n(96305).A+"",width:"952",height:"723"})}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"zrok"})," will automatically provide a stock website, which will allow the accessing user to browse and navigate the file tree. Clicking the files allows the user to download them."]}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"zrok"})," can also share a pre-rendered static HTML website. If you have a directory like this:"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-shell",children:"-rw-rw-r--+ 1 Michael None 56 Jun 26 13:23 index.html\n"})}),"\n",(0,r.jsxs)(s.p,{children:["If ",(0,r.jsx)(s.code,{children:"index.html"})," contains valid HTML, like this:"]}),"\n",(0,r.jsx)(s.pre,{children:(0,r.jsx)(s.code,{className:"language-html",children:"<html>\n<body>\n <h1>Hello <code>zrok</code></h1>\n</html>\n"})}),"\n",(0,r.jsx)(s.p,{children:"Sharing the directory will result in the following when you access the share in a web browser:"}),"\n",(0,r.jsx)(s.p,{children:(0,r.jsx)(s.img,{alt:"zrok_share_web_website",src:n(8239).A+"",width:"952",height:"723"})}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.code,{children:"zrok"})," contains a built-in web server, which you can use to serve static websites as a share."]})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},96305:(e,s,n)=>{n.d(s,{A:()=>i});const i=n.p+"assets/images/zrok_share_web_files-936de420b39b071d71a8e275fe84e63d.png"},8239:(e,s,n)=>{n.d(s,{A:()=>i});const i=n.p+"assets/images/zrok_share_web_website-5d4c550374b118d1992e488bb319e230.png"},28453:(e,s,n)=>{n.d(s,{R:()=>o,x:()=>c});var i=n(96540);const r={},t=i.createContext(r);function o(e){const s=i.useContext(t);return i.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(t.Provider,{value:s},e.children)}}}]);
|
@ -1 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3042],{5932:(e,t,i)=>{i.d(t,{A:()=>a});i(6540);var n=i(8215),s=i(539),o=i(9303),r=i(4848);function a(e){let{className:t}=e;return(0,r.jsx)("main",{className:(0,n.A)("container margin-vert--xl",t),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(o.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(s.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},3042:(e,t,i)=>{i.r(t),i.d(t,{default:()=>l});i(6540);var n=i(539),s=i(9144),o=i(7912),r=i(5932),a=i(4848);function l(){const e=(0,n.T)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.be,{title:e}),(0,a.jsx)(o.A,{children:(0,a.jsx)(r.A,{})})]})}}}]);
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2237],{23363:(e,t,i)=>{i.d(t,{A:()=>a});i(96540);var n=i(18215),s=i(21312),o=i(51107),r=i(74848);function a({className:e}){return(0,r.jsx)("main",{className:(0,n.A)("container margin-vert--xl",e),children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(o.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(s.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,r.jsx)("p",{children:(0,r.jsx)(s.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},82237:(e,t,i)=>{i.r(t),i.d(t,{default:()=>h});i(96540);var n=i(21312),s=i(45500),o=i(71330),r=i(23363),a=i(74848);function h(){const e=(0,n.T)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.be,{title:e}),(0,a.jsx)(o.A,{children:(0,a.jsx)(r.A,{})})]})}}}]);
|
1
assets/js/2334.229b3721.js
Normal file
1
assets/js/2334.229b3721.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/2498.b25e601c.js
Normal file
1
assets/js/2498.b25e601c.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2498],{92498:(e,s,c)=>{c.d(s,{createArchitectureServices:()=>t.S});var t=c(73009);c(58198)}}]);
|
1
assets/js/2518.db427446.js
Normal file
1
assets/js/2518.db427446.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/25ef1bb8.21df5c75.js
Normal file
1
assets/js/25ef1bb8.21df5c75.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/27b0284c.c8af570c.js
Normal file
1
assets/js/27b0284c.c8af570c.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/2822.e7e5b342.js
Normal file
1
assets/js/2822.e7e5b342.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/288b1075.88577e27.js
Normal file
1
assets/js/288b1075.88577e27.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/28f20845.4fb1964f.js
Normal file
1
assets/js/28f20845.4fb1964f.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8240],{46933:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Metrics and Limits","slug":"/category/metrics-and-limits","permalink":"/docs/0.4/category/metrics-and-limits","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Kubernetes","permalink":"/docs/0.4/guides/self-hosting/kubernetes"},"next":{"title":"Configuring Metrics","permalink":"/docs/0.4/guides/self-hosting/metrics-and-limits/configuring-metrics"}}}}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8240],{6933:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Metrics and Limits","slug":"/category/metrics-and-limits","permalink":"/docs/0.4/category/metrics-and-limits","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Kubernetes","permalink":"/docs/0.4/guides/self-hosting/kubernetes"},"next":{"title":"Configuring Metrics","permalink":"/docs/0.4/guides/self-hosting/metrics-and-limits/configuring-metrics"}}}}')}}]);
|
File diff suppressed because one or more lines are too long
1
assets/js/2c440c24.579c2e8b.js
Normal file
1
assets/js/2c440c24.579c2e8b.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3979],{41209:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Self Hosting","slug":"/category/self-hosting","permalink":"/docs/category/self-hosting","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Private Share","permalink":"/docs/guides/docker-share/docker_private_share_guide"},"next":{"title":"Linux","permalink":"/docs/guides/self-hosting/linux/"}}}}')}}]);
|
@ -1 +0,0 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3979],{1209:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Self Hosting","slug":"/category/self-hosting","permalink":"/docs/category/self-hosting","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Private Share","permalink":"/docs/guides/docker-share/docker_private_share_guide"},"next":{"title":"Linux","permalink":"/docs/guides/self-hosting/linux/"}}}}')}}]);
|
File diff suppressed because one or more lines are too long
1
assets/js/2cc2e835.a34bb2f7.js
Normal file
1
assets/js/2cc2e835.a34bb2f7.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/2da89d45.e61a8e1c.js
Normal file
1
assets/js/2da89d45.e61a8e1c.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/2e812224.0a5187b6.js
Normal file
1
assets/js/2e812224.0a5187b6.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/2e99975e.2048a062.js
Normal file
1
assets/js/2e99975e.2048a062.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/2fede397.45dcaebc.js
Normal file
1
assets/js/2fede397.45dcaebc.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/310.fbead38c.js
Normal file
1
assets/js/310.fbead38c.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[310],{20310:(e,r,s)=>{s.d(r,{diagram:()=>i});var a=s(98379),t=(s(24651),s(44540),s(98833),s(45020),s(51789),s(30070),s(66906),s(28823),s(55683),s(68506),s(46792),s(41750)),i={parser:a._$,get db(){return new a.NM},renderer:a.Lh,styles:a.tM,init:(0,t.K2)((e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute}),"init")}}}]);
|
1
assets/js/339d500a.a77b9d03.js
Normal file
1
assets/js/339d500a.a77b9d03.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/3459d496.a6987f47.js
Normal file
1
assets/js/3459d496.a6987f47.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[5009],{68438:e=>{e.exports=JSON.parse('{"categoryGeneratedIndex":{"title":"Self Hosting","slug":"/category/self-hosting","permalink":"/docs/1.0/category/self-hosting","sidebar":"tutorialSidebar","navigation":{"previous":{"title":"Private Share","permalink":"/docs/1.0/guides/docker-share/docker_private_share_guide"},"next":{"title":"Linux","permalink":"/docs/1.0/guides/self-hosting/linux/"}}}}')}}]);
|
1
assets/js/35a60099.7938c8fd.js
Normal file
1
assets/js/35a60099.7938c8fd.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/36176e50.d37e580e.js
Normal file
1
assets/js/36176e50.d37e580e.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/3624.bf5ba2bd.js
Normal file
1
assets/js/3624.bf5ba2bd.js
Normal file
File diff suppressed because one or more lines are too long
2
assets/js/3633.30fceca1.js
Normal file
2
assets/js/3633.30fceca1.js
Normal file
File diff suppressed because one or more lines are too long
7
assets/js/3633.30fceca1.js.LICENSE.txt
Normal file
7
assets/js/3633.30fceca1.js.LICENSE.txt
Normal file
@ -0,0 +1,7 @@
|
||||
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
||||
|
||||
/*! Bundled license information:
|
||||
|
||||
js-yaml/dist/js-yaml.mjs:
|
||||
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
||||
*/
|
File diff suppressed because one or more lines are too long
1
assets/js/36b94792.8c2605ff.js
Normal file
1
assets/js/36b94792.8c2605ff.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/3736.81f93632.js
Normal file
1
assets/js/3736.81f93632.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/js/375.350dc95f.js
Normal file
1
assets/js/375.350dc95f.js
Normal file
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[375],{72868:(t,e,a)=>{function r(t,e){t.accDescr&&e.setAccDescription?.(t.accDescr),t.accTitle&&e.setAccTitle?.(t.accTitle),t.title&&e.setDiagramTitle?.(t.title)}a.d(e,{S:()=>r}),(0,a(41750).K2)(r,"populateCommonDb")},60375:(t,e,a)=>{a.d(e,{diagram:()=>x});var r=a(72868),n=a(46792),o=a(74505),i=a(41750),l=a(78731),s={packet:[]},c=structuredClone(s),d=i.UI.packet,b=(0,i.K2)((()=>{const t=(0,n.$t)({...d,...(0,i.zj)().packet});return t.showBits&&(t.paddingY+=10),t}),"getConfig"),k=(0,i.K2)((()=>c.packet),"getPacket"),p={pushWord:(0,i.K2)((t=>{t.length>0&&c.packet.push(t)}),"pushWord"),getPacket:k,getConfig:b,clear:(0,i.K2)((()=>{(0,i.IU)(),c=structuredClone(s)}),"clear"),setAccTitle:i.SV,getAccTitle:i.iN,setDiagramTitle:i.ke,getDiagramTitle:i.ab,getAccDescription:i.m7,setAccDescription:i.EI},h=(0,i.K2)((t=>{(0,r.S)(t,p);let e=-1,a=[],n=1;const{bitsPerRow:o}=p.getConfig();for(let{start:r,end:l,bits:s,label:c}of t.blocks){if(void 0!==r&&void 0!==l&&l<r)throw new Error(`Packet block ${r} - ${l} is invalid. End must be greater than start.`);if(r??=e+1,r!==e+1)throw new Error(`Packet block ${r} - ${l??r} is not contiguous. It should start from ${e+1}.`);if(0===s)throw new Error(`Packet block ${r} is invalid. Cannot have a zero bit field.`);for(l??=r+(s??1)-1,s??=l-r+1,e=l,i.Rm.debug(`Packet block ${r} - ${e} with label ${c}`);a.length<=o+1&&p.getPacket().length<1e4;){const[t,e]=g({start:r,end:l,bits:s,label:c},n,o);if(a.push(t),t.end+1===n*o&&(p.pushWord(a),a=[],n++),!e)break;({start:r,end:l,bits:s,label:c}=e)}}p.pushWord(a)}),"populate"),g=(0,i.K2)(((t,e,a)=>{if(void 0===t.start)throw new Error("start should have been set during first phase");if(void 0===t.end)throw new Error("end should have been set during first phase");if(t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);if(t.end+1<=e*a)return[t,void 0];const r=e*a-1,n=e*a;return[{start:t.start,end:r,label:t.label,bits:r-t.start},{start:n,end:t.end,label:t.label,bits:t.end-n}]}),"getNextFittingBlock"),f={parse:(0,i.K2)((async t=>{const e=await(0,l.qg)("packet",t);i.Rm.debug(e),h(e)}),"parse")},u=(0,i.K2)(((t,e,a,r)=>{const n=r.db,l=n.getConfig(),{rowHeight:s,paddingY:c,bitWidth:d,bitsPerRow:b}=l,k=n.getPacket(),p=n.getDiagramTitle(),h=s+c,g=h*(k.length+1)-(p?0:s),f=d*b+2,u=(0,o.D)(e);u.attr("viewbox",`0 0 ${f} ${g}`),(0,i.a$)(u,g,f,l.useMaxWidth);for(const[o,i]of k.entries())w(u,i,o,l);u.append("text").text(p).attr("x",f/2).attr("y",g-h/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")}),"draw"),w=(0,i.K2)(((t,e,a,{rowHeight:r,paddingX:n,paddingY:o,bitWidth:i,bitsPerRow:l,showBits:s})=>{const c=t.append("g"),d=a*(r+o)+o;for(const b of e){const t=b.start%l*i+1,e=(b.end-b.start+1)*i-n;if(c.append("rect").attr("x",t).attr("y",d).attr("width",e).attr("height",r).attr("class","packetBlock"),c.append("text").attr("x",t+e/2).attr("y",d+r/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(b.label),!s)continue;const a=b.end===b.start,o=d-2;c.append("text").attr("x",t+(a?e/2:0)).attr("y",o).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",a?"middle":"start").text(b.start),a||c.append("text").attr("x",t+e).attr("y",o).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(b.end)}}),"drawWord"),$={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},x={parser:f,db:p,renderer:{draw:u},styles:(0,i.K2)((({packet:t}={})=>{const e=(0,n.$t)($,t);return`\n\t.packetByte {\n\t\tfont-size: ${e.byteFontSize};\n\t}\n\t.packetByte.start {\n\t\tfill: ${e.startByteColor};\n\t}\n\t.packetByte.end {\n\t\tfill: ${e.endByteColor};\n\t}\n\t.packetLabel {\n\t\tfill: ${e.labelColor};\n\t\tfont-size: ${e.labelFontSize};\n\t}\n\t.packetTitle {\n\t\tfill: ${e.titleColor};\n\t\tfont-size: ${e.titleFontSize};\n\t}\n\t.packetBlock {\n\t\tstroke: ${e.blockStrokeColor};\n\t\tstroke-width: ${e.blockStrokeWidth};\n\t\tfill: ${e.blockFillColor};\n\t}\n\t`}),"styles")}}}]);
|
1
assets/js/37e686a5.13f91447.js
Normal file
1
assets/js/37e686a5.13f91447.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
assets/js/382.d3709a07.js
Normal file
2
assets/js/382.d3709a07.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
assets/js/392083ed.de67f226.js
Normal file
1
assets/js/392083ed.de67f226.js
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user