Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentInfo ¶
type DeploymentsRequest ¶
type DeploymentsRequest struct { Namespace string `json:"namespace"` Clientset *kubernetes.Clientset Context context.Context }
func NewDeployments ¶
func NewDeployments() *DeploymentsRequest
func (*DeploymentsRequest) ParseRequest ¶
func (n *DeploymentsRequest) ParseRequest(msgMap map[string]interface{}) error
func (*DeploymentsRequest) SendResponse ¶
func (n *DeploymentsRequest) SendResponse() error
type DeploymentsSendResponse ¶
type DeploymentsSendResponse struct { Namespace string `json:"namespace"` Deployments []DeploymentInfo `json:"deployments"` }
type Info ¶
type Info struct { ClientSet *kubernetes.Clientset Context context.Context }
func (Info) ParseInfoRequest ¶
type InfoRequest ¶
type InfoRequest struct { Namespace NamespaceRequest Deployment DeploymentsRequest Version VersionRequest }
type InfoSystem ¶
type NamespaceRequest ¶
type NamespaceRequest struct { InfoType string `json:"info_type"` Clientset *kubernetes.Clientset Context context.Context }
func NewNamespaces ¶
func NewNamespaces(clientset *kubernetes.Clientset, ctx context.Context) *NamespaceRequest
func (*NamespaceRequest) ParseRequest ¶
func (n *NamespaceRequest) ParseRequest(msgMap map[string]interface{}) error
func (*NamespaceRequest) SendResponse ¶
func (n *NamespaceRequest) SendResponse() error
type NamespaceSendResponse ¶
type NamespaceSendResponse struct {
Namespaces []string `json:"namespaces"`
}
type VersionRequest ¶
func NewVersion ¶
func NewVersion() *VersionRequest
func (*VersionRequest) ParseRequest ¶
func (n *VersionRequest) ParseRequest(msgMap map[string]interface{}) error
func (*VersionRequest) SendResponse ¶
func (n *VersionRequest) SendResponse() error
type VersionSendResponse ¶
Click to show internal directories.
Click to hide internal directories.