kube

module
v1.2.34 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0

README

Kube pkg

  1. image_api

    1. harbor_api
    2. docker_api
  2. k8s_api

    1. index_api
    2. pod_api
    3. volume_api
    4. service_api
    5. instance_api
  3. log_api

    1. stdlog
    2. zerolog
    3. zaplog
  4. storage_api

    1. minio_api
    2. s3_api
    3. mq_api
  5. util_api

    1. util/xxx_api
    2. more refer to k8s.io/apimachinery/pkg/util
    3. and more refer to xxx.xxx/xxx/pkg/../../util/../...
Service \ Connect Method Path | Loc Go Global Singleton Type Why
K8s Host Config File root@k8s_master_ip:~/.kube/config Self High Available
Harbor Credential: username&pasword Harbor console ✅ | Both Maybe migrate
Docker ✅ | Both Maybe migrate
Minio Credential: username&password Minio console ✅ | Both Maybe migrate
NFS
zaplog App config file not a resource, only local files
zerolog App config file not a resource, only local files

Directories

Path Synopsis
cmd
pkg
api
Package api: Unify the API configuration and API call methods, and hide the internal details of the API
Package api: Unify the API configuration and API call methods, and hide the internal details of the API
api/api_inst
global func, generate by codegen.Manifest
global func, generate by codegen.Manifest
image_api/docker_api
Package docker_api
Package docker_api
image_api/docker_api/docker_inst
Package docker_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
Package docker_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
image_api/harbor_api
Package harbor_api
Package harbor_api
image_api/harbor_api/harbor_inst
Package harbor_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
Package harbor_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
log_api/stdlog
global config
global config
log_api/zaplog
global config
global config
netserver/http/stdserver
global config
global config
storage_api/minio_api
Package minio_api
Package minio_api
storage_api/minio_api/minio_inst
Package minio_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
Package minio_inst\client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
util/random/mock/v2
Package mockv2 was generated
Package mockv2 was generated
util/safe_cast
Package safe_cast codegen by codegen/safe_cast_codegen.go, do not edit.
Package safe_cast codegen by codegen/safe_cast_codegen.go, do not edit.

Jump to

Keyboard shortcuts

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