impl

package
v0.0.0-...-e9912fb Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDebugImage = "registry.kingfisher.com/kingfisher/netshoot"
	KingDebug         = "king-debug"
	KingKubectl       = "king-kubectl"
)

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(c *gin.Context)

func CreateClusterPlugin

func CreateClusterPlugin(c *gin.Context)

func CreateClusterRole

func CreateClusterRole(c *gin.Context)

func CreateClusterRoleBinding

func CreateClusterRoleBinding(c *gin.Context)

func CreateConfigMap

func CreateConfigMap(c *gin.Context)

func CreateController

func CreateController(c *gin.Context)

func CreateEndpoint

func CreateEndpoint(c *gin.Context)

func CreateHPA

func CreateHPA(c *gin.Context)

func CreateIngress

func CreateIngress(c *gin.Context)

func CreateLimitRange

func CreateLimitRange(c *gin.Context)

func CreateNamespace

func CreateNamespace(c *gin.Context)

func CreateNode

func CreateNode(c *gin.Context)

func CreatePV

func CreatePV(c *gin.Context)

func CreatePVC

func CreatePVC(c *gin.Context)

func CreateResourceQuota

func CreateResourceQuota(c *gin.Context)

func CreateRole

func CreateRole(c *gin.Context)

func CreateRoleBinding

func CreateRoleBinding(c *gin.Context)

func CreateSecret

func CreateSecret(c *gin.Context)

func CreateService

func CreateService(c *gin.Context)

func CreateServiceAccount

func CreateServiceAccount(c *gin.Context)

func CreateStorageClasses

func CreateStorageClasses(c *gin.Context)

func DebugPod

func DebugPod(c *gin.Context)

func DeleteCluster

func DeleteCluster(c *gin.Context)

func DeleteClusterPlugin

func DeleteClusterPlugin(c *gin.Context)

func DeleteClusterRole

func DeleteClusterRole(c *gin.Context)

func DeleteClusterRoleBinding

func DeleteClusterRoleBinding(c *gin.Context)

func DeleteConfigMap

func DeleteConfigMap(c *gin.Context)

func DeleteController

func DeleteController(c *gin.Context)

func DeleteEndpoint

func DeleteEndpoint(c *gin.Context)

func DeleteHPA

func DeleteHPA(c *gin.Context)

func DeleteIngress

func DeleteIngress(c *gin.Context)

func DeleteLimitRange

func DeleteLimitRange(c *gin.Context)

func DeleteNamespace

func DeleteNamespace(c *gin.Context)

func DeleteNode

func DeleteNode(c *gin.Context)

func DeletePV

func DeletePV(c *gin.Context)

func DeletePVC

func DeletePVC(c *gin.Context)

func DeletePod

func DeletePod(c *gin.Context)

func DeleteReplicaSet

func DeleteReplicaSet(c *gin.Context)

func DeleteResourceQuota

func DeleteResourceQuota(c *gin.Context)

func DeleteRole

func DeleteRole(c *gin.Context)

func DeleteRoleBinding

func DeleteRoleBinding(c *gin.Context)

func DeleteSecret

func DeleteSecret(c *gin.Context)

func DeleteService

func DeleteService(c *gin.Context)

func DeleteServiceAccount

func DeleteServiceAccount(c *gin.Context)

func DeleteStorageClasses

func DeleteStorageClasses(c *gin.Context)

func EvictPod

func EvictPod(c *gin.Context)

func GetCluster

func GetCluster(c *gin.Context)

func GetClusterRole

func GetClusterRole(c *gin.Context)

func GetClusterRoleBinding

func GetClusterRoleBinding(c *gin.Context)

func GetConfigMap

func GetConfigMap(c *gin.Context)

func GetController

func GetController(c *gin.Context)

func GetControllerChart

func GetControllerChart(c *gin.Context)

func GetCustomMetrics

func GetCustomMetrics(c *gin.Context)

func GetDebugPodIPByPod

func GetDebugPodIPByPod(c *gin.Context)

func GetEndpoint

func GetEndpoint(c *gin.Context)

func GetHPA

func GetHPA(c *gin.Context)

func GetIngress

func GetIngress(c *gin.Context)

func GetIngressByDeployment

func GetIngressByDeployment(c *gin.Context)

func GetIngressChart

func GetIngressChart(c *gin.Context)

func GetLimitRange

func GetLimitRange(c *gin.Context)

func GetNamespace

func GetNamespace(c *gin.Context)

func GetNamespaceIsExistLabel

func GetNamespaceIsExistLabel(c *gin.Context)

func GetNode

func GetNode(c *gin.Context)

func GetNodeMetrics

func GetNodeMetrics(c *gin.Context)

func GetPV

func GetPV(c *gin.Context)

func GetPVC

func GetPVC(c *gin.Context)

func GetPod

func GetPod(c *gin.Context)

func GetPodMetrics

func GetPodMetrics(c *gin.Context)

func GetReplicaSet

func GetReplicaSet(c *gin.Context)

func GetResourceQuota

func GetResourceQuota(c *gin.Context)

func GetRole

func GetRole(c *gin.Context)

func GetRoleBinding

func GetRoleBinding(c *gin.Context)

func GetSearch

func GetSearch(c *gin.Context)

func GetSecret

func GetSecret(c *gin.Context)

func GetService

func GetService(c *gin.Context)

func GetServiceAccount

func GetServiceAccount(c *gin.Context)

func GetStorageClasses

func GetStorageClasses(c *gin.Context)

func Handle

func Handle(c *gin.Context)

func HandleCluster

func HandleCluster(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleClusterPlugin

func HandleClusterPlugin(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleClusterRole

func HandleClusterRole(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleClusterRoleBinding

func HandleClusterRoleBinding(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleConfigMap

func HandleConfigMap(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleController

func HandleController(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleCustomMetrics

func HandleCustomMetrics(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleDashboard

func HandleDashboard(action string, c *gin.Context) (responseData *common.ResponseData)

func HandleEndpoint

func HandleEndpoint(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleEvent

func HandleEvent(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleHPA

func HandleHPA(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleIngress

func HandleIngress(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleLimitRange

func HandleLimitRange(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleMetrics

func HandleMetrics(action common.ActionType, metrics string, c *gin.Context) (responseData *common.ResponseData)

func HandleNamespace

func HandleNamespace(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleNode

func HandleNode(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandlePV

func HandlePV(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandlePVC

func HandlePVC(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandlePod

func HandlePod(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandlePrometheus

func HandlePrometheus(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleReplicaSet

func HandleReplicaSet(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleResourceQuota

func HandleResourceQuota(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleRole

func HandleRole(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleRoleBinding

func HandleRoleBinding(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleSearch

func HandleSearch(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleSecret

func HandleSecret(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleService

func HandleService(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleServiceAccount

func HandleServiceAccount(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func HandleStorageClasses

func HandleStorageClasses(action common.ActionType, c *gin.Context) (responseData *common.ResponseData)

func Handler

func Handler(ws *websocket.Conn, namespace, podname, container, cmd string, config *restclient.Config, clientSet *kubernetes.Clientset) error

func HttpRequest

func HttpRequest(url string) []byte

func KubectlPod

func KubectlPod(c *gin.Context)

func ListAllNamespace

func ListAllNamespace(c *gin.Context)

func ListApplication

func ListApplication(c *gin.Context)

func ListCluster

func ListCluster(c *gin.Context)

func ListClusterPlugin

func ListClusterPlugin(c *gin.Context)

func ListClusterRole

func ListClusterRole(c *gin.Context)

func ListClusterRoleBinding

func ListClusterRoleBinding(c *gin.Context)

func ListConfigMap

func ListConfigMap(c *gin.Context)

func ListController

func ListController(c *gin.Context)

func ListCustomMetrics

func ListCustomMetrics(c *gin.Context)

func ListEndpoint

func ListEndpoint(c *gin.Context)

func ListEvent

func ListEvent(c *gin.Context)

func ListHPA

func ListHPA(c *gin.Context)

func ListHistory

func ListHistory(c *gin.Context)

func ListImages

func ListImages(c *gin.Context)

func ListInfoCard

func ListInfoCard(c *gin.Context)

func ListIngress

func ListIngress(c *gin.Context)

func ListLimitRange

func ListLimitRange(c *gin.Context)

func ListNamespace

func ListNamespace(c *gin.Context)

func ListNamespaceAndCluster

func ListNamespaceAndCluster(c *gin.Context)

func ListNode

func ListNode(c *gin.Context)

func ListNodeMetrics

func ListNodeMetrics(c *gin.Context)

func ListPV

func ListPV(c *gin.Context)

func ListPVC

func ListPVC(c *gin.Context)

func ListPod

func ListPod(c *gin.Context)

func ListPodByController

func ListPodByController(c *gin.Context)

func ListPodByNode

func ListPodByNode(c *gin.Context)

func ListPodByService

func ListPodByService(c *gin.Context)

func ListPodMetrics

func ListPodMetrics(c *gin.Context)

func ListPodStatus

func ListPodStatus(c *gin.Context)

func ListProjects

func ListProjects(c *gin.Context)

func ListReplicaSet

func ListReplicaSet(c *gin.Context)

func ListResourceQuota

func ListResourceQuota(c *gin.Context)

func ListRole

func ListRole(c *gin.Context)

func ListRoleBinding

func ListRoleBinding(c *gin.Context)

func ListSecret

func ListSecret(c *gin.Context)

func ListService

func ListService(c *gin.Context)

func ListServiceAccount

func ListServiceAccount(c *gin.Context)

func ListStorageClasses

func ListStorageClasses(c *gin.Context)

func ListTags

func ListTags(c *gin.Context)

func LogPod

func LogPod(c *gin.Context)

func NodeMetric

func NodeMetric(c *gin.Context)

func OfflinePod

func OfflinePod(c *gin.Context)

func OnlinePod

func OnlinePod(c *gin.Context)

func PNodeMetrics

func PNodeMetrics(c *gin.Context)

func PatchClusterRole

func PatchClusterRole(c *gin.Context)

func PatchClusterRoleBinding

func PatchClusterRoleBinding(c *gin.Context)

func PatchConfigMap

func PatchConfigMap(c *gin.Context)

func PatchController

func PatchController(c *gin.Context)

func PatchEndpoint

func PatchEndpoint(c *gin.Context)

func PatchHPA

func PatchHPA(c *gin.Context)

func PatchIngress

func PatchIngress(c *gin.Context)

func PatchLimitRange

func PatchLimitRange(c *gin.Context)

func PatchNamespace

func PatchNamespace(c *gin.Context)

func PatchNode

func PatchNode(c *gin.Context)

func PatchPV

func PatchPV(c *gin.Context)

func PatchPVC

func PatchPVC(c *gin.Context)

func PatchPod

func PatchPod(c *gin.Context)

func PatchResourceQuota

func PatchResourceQuota(c *gin.Context)

func PatchRole

func PatchRole(c *gin.Context)

func PatchRoleBinding

func PatchRoleBinding(c *gin.Context)

func PatchSecret

func PatchSecret(c *gin.Context)

func PatchService

func PatchService(c *gin.Context)

func PatchServiceAccount

func PatchServiceAccount(c *gin.Context)

func PatchStorageClasses

func PatchStorageClasses(c *gin.Context)

func Ping

func Ping(c *gin.Context)

func RescuePod

func RescuePod(c *gin.Context)

func RestartController

func RestartController(c *gin.Context)

func SaveAsTemplate

func SaveAsTemplate(c *gin.Context)

func ScaleController

func ScaleController(c *gin.Context)

func StatusClusterPlugin

func StatusClusterPlugin(c *gin.Context)

func Terminal

func Terminal(ws *websocket.Conn)

func UnKubectlPod

func UnKubectlPod(c *gin.Context)

func UpdateCluster

func UpdateCluster(c *gin.Context)

func UpdateClusterPlugin

func UpdateClusterPlugin(c *gin.Context)

func UpdateClusterRole

func UpdateClusterRole(c *gin.Context)

func UpdateClusterRoleBinding

func UpdateClusterRoleBinding(c *gin.Context)

func UpdateConfigMap

func UpdateConfigMap(c *gin.Context)

func UpdateController

func UpdateController(c *gin.Context)

func UpdateEndpoint

func UpdateEndpoint(c *gin.Context)

func UpdateHPA

func UpdateHPA(c *gin.Context)

func UpdateIngress

func UpdateIngress(c *gin.Context)

func UpdateLimitRange

func UpdateLimitRange(c *gin.Context)

func UpdateNamespace

func UpdateNamespace(c *gin.Context)

func UpdateNode

func UpdateNode(c *gin.Context)

func UpdatePV

func UpdatePV(c *gin.Context)

func UpdatePVC

func UpdatePVC(c *gin.Context)

func UpdatePatchAllResumeController

func UpdatePatchAllResumeController(c *gin.Context)

func UpdatePatchImageController

func UpdatePatchImageController(c *gin.Context)

func UpdatePatchPauseController

func UpdatePatchPauseController(c *gin.Context)

func UpdatePatchStepResumeController

func UpdatePatchStepResumeController(c *gin.Context)

func UpdatePatchSyncImageController

func UpdatePatchSyncImageController(c *gin.Context)

func UpdateResourceQuota

func UpdateResourceQuota(c *gin.Context)

func UpdateRole

func UpdateRole(c *gin.Context)

func UpdateRoleBinding

func UpdateRoleBinding(c *gin.Context)

func UpdateSecret

func UpdateSecret(c *gin.Context)

func UpdateService

func UpdateService(c *gin.Context)

func UpdateServiceAccount

func UpdateServiceAccount(c *gin.Context)

func UpdateStorageClasses

func UpdateStorageClasses(c *gin.Context)

func WatchPodIPController

func WatchPodIPController(c *gin.Context)

Types

type Booking

type Booking struct {
	CheckIn  time.Time `form:"check_in" binding:"required,bookabledate" time_format:"2006-01-02"`
	CheckOut time.Time `form:"check_out" binding:"required,bookabledate1" time_format:"2006-01-02"`
}

type Hand

type Hand interface {
	Get(c *gin.Context)
}

Jump to

Keyboard shortcuts

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