dashboard

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 13 Imported by: 0

README

Workflow for CI Deployment

%%{init:{'theme':'base'}}%%
flowchart TB
    ci(( ))
    
    ci 
    -->|"/groups/{group}/env/default/kubepkgs"| on_kubepkg(( ))
    -->|"register"| kubepkg_dev_chanel("kubepkg dev channel")
    -->|"add"| kubepkg_spec("kubepkg spec revision")
    
    default_env("group default env")  
    
    deployment_setting["delopyment settting"]
    active_deployment_setting["active delopyment settting"]
    
    latest_kubepkg_spec["latest kubepkg spec"]
    
    on_kubepkg 
    -->|"trigger deploy"| default_env
    -->|"resolve by name"| latest_kubepkg_spec
    -->|"validate setting"| validate_setting(( ))
    -->|"if match"| active_deployment_setting
    
    validate_setting 
    -->|"if not match"| create_deployment_setting(( ))
    -->|"extract from kubepkg spec or re-config"| deployment_setting
    --> active_deployment_setting
        
    latest_kubepkg_spec & active_deployment_setting
    --> merge(( ))
    --> |"merge"| kubepkg
    -..-> |"kubepkg apply"| namespace("cluster namespace")

Workflow for Release Deployment

%%{init:{'theme':'base'}}%%
flowchart TB
   
    dev(( ))
    -->|"submit {beta,rc,stable}"| kubepkg_spec("kubepkg spec revision")
    -->|"into"| kubepkg_channel("kubepkg {beta,rc,stable} channel")
    
    deployment_setting["delopyment settting"]
    active_deployment_setting["active delopyment settting"]
    
    group_online_env("group online env")  
    -->|"choose channel"| check_upgrade(( ))
    -->|"list version"| select_version(( )) 
    -->|"select"| selected_kubepkg_spec("selected kubepkg spec")
    -->|"validate setting"| validate_setting(( ))
    -->|"if match"| active_deployment_setting
    
    validate_setting 
        -->|"if not match"| create_deployment_setting(( ))
        -->|"extract from kubepkg spec & re-config"| deployment_setting
        --> active_deployment_setting
        
    selected_kubepkg_spec & active_deployment_setting
    --> merge(( ))
    --> |"merge"| kubepkg
    
    kubepkg
    -..-> |"kubepkg apply"| namespace("cluster namespace")
    
    kubepkg
    -..-> |"download to create"| kubepkg_airgap("kubepkg airgap")

Documentation

Overview

Package dashboard GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthProvider

type AuthProvider struct {
	auth.Provider
}

func (AuthProvider) RuntimeDoc

func (v AuthProvider) RuntimeDoc(names ...string) ([]string, bool)

func (*AuthProvider) SetDefaults

func (a *AuthProvider) SetDefaults()

type Database

type Database struct {
	dal.Database
}

func (Database) RuntimeDoc

func (v Database) RuntimeDoc(names ...string) ([]string, bool)

func (*Database) SetDefaults

func (s *Database) SetDefaults()

type Server

type Server struct {
	infrahttp.Server
	Public serverinfo.Public
}

func (*Server) Init

func (s *Server) Init(ctx context.Context) error

func (*Server) InjectContext

func (s *Server) InjectContext(ctx context.Context) context.Context

func (Server) RuntimeDoc

func (v Server) RuntimeDoc(names ...string) ([]string, bool)

Directories

Path Synopsis
admin
+gengo:operator:register=R +gengo:operator:tag=admin
+gengo:operator:register=R +gengo:operator:tag=admin
auth
+gengo:operator:register=R +gengo:operator:tag=auth
+gengo:operator:register=R +gengo:operator:tag=auth
auth/operator
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
cluster
+gengo:operator:register=R +gengo:operator:tag=cluster
+gengo:operator:register=R +gengo:operator:tag=cluster
clusteragent
+gengo:operator:register=R +gengo:operator:tag=clusteragent
+gengo:operator:register=R +gengo:operator:tag=clusteragent
group
+gengo:operator:register=R +gengo:operator:tag=group
+gengo:operator:register=R +gengo:operator:tag=group
group/operator
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package operator GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
kubepkg
+gengo:operator:register=R +gengo:operator:tag=kubepkg
+gengo:operator:register=R +gengo:operator:tag=kubepkg
user
+gengo:operator:register=R +gengo:operator:tag=user
+gengo:operator:register=R +gengo:operator:tag=user
domain
account
Package account GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package account GENERATED BY gengo:enum DON'T EDIT THIS FILE
account/repository
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
account/service
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
cluster
Package cluster GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package cluster GENERATED BY gengo:enum DON'T EDIT THIS FILE
cluster/repository
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
cluster/service
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
group
Package group GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package group GENERATED BY gengo:enum DON'T EDIT THIS FILE
group/repository
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
group/service
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package service GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
kubepkg
Package kubepkg GENERATED BY gengo:enum DON'T EDIT THIS FILE
Package kubepkg GENERATED BY gengo:enum DON'T EDIT THIS FILE
kubepkg/repository
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package repository GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL