Documentation ¶
Index ¶
- type ConfigMap
- func (c *ConfigMap) DeleteConfigMap(l *DeleteConfigMapLogic, in *core.DeleteConfigMapReq) (resp *core.DeleteConfigMapResp, err error)
- func (c *ConfigMap) GetConfigMapDetail(l *GetConfigMapDetailLogic, in *core.GetConfigMapDetailReq) (resp *core.GetConfigMapDetailResp, err error)
- func (c *ConfigMap) GetConfigMaps(l *GetConfigMapsLogic, in *core.GetConfigMapsReq) (resp *core.GetConfigMapsResp, err error)
- func (c *ConfigMap) UpdateConfigMap(l *UpdateConfigMapLogic, in *core.UpdateConfigMapReq) (resp *core.UpdateConfigMapResp, err error)
- type ConfigMapsResp
- type DataCell
- type DataSelectQuery
- type DeleteConfigMapLogic
- type FilterQuery
- type GetConfigMapDetailLogic
- type GetConfigMapsLogic
- type PaginateQuery
- type UpdateConfigMapLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct{}
func (*ConfigMap) DeleteConfigMap ¶
func (c *ConfigMap) DeleteConfigMap(l *DeleteConfigMapLogic, in *core.DeleteConfigMapReq) (resp *core.DeleteConfigMapResp, err error)
删除configmap
func (*ConfigMap) GetConfigMapDetail ¶
func (c *ConfigMap) GetConfigMapDetail(l *GetConfigMapDetailLogic, in *core.GetConfigMapDetailReq) (resp *core.GetConfigMapDetailResp, err error)
获取configmap详情
func (*ConfigMap) GetConfigMaps ¶
func (c *ConfigMap) GetConfigMaps(l *GetConfigMapsLogic, in *core.GetConfigMapsReq) (resp *core.GetConfigMapsResp, err error)
获取configmap列表,支持过滤、排序、分页
func (*ConfigMap) UpdateConfigMap ¶
func (c *ConfigMap) UpdateConfigMap(l *UpdateConfigMapLogic, in *core.UpdateConfigMapReq) (resp *core.UpdateConfigMapResp, err error)
更新configmap
type ConfigMapsResp ¶
type DataSelectQuery ¶
type DataSelectQuery struct { Filter *FilterQuery Paginate *PaginateQuery }
DataSelectQuery 定义过滤和分页的结构体,过滤:Name 分页:Limit和Page
type DeleteConfigMapLogic ¶
func NewDeleteConfigMapLogic ¶
func NewDeleteConfigMapLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteConfigMapLogic
func (*DeleteConfigMapLogic) DeleteConfigMap ¶
func (l *DeleteConfigMapLogic) DeleteConfigMap(in *core.DeleteConfigMapReq) (*core.DeleteConfigMapResp, error)
type GetConfigMapDetailLogic ¶
func NewGetConfigMapDetailLogic ¶
func NewGetConfigMapDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetConfigMapDetailLogic
func (*GetConfigMapDetailLogic) GetConfigMapDetail ¶
func (l *GetConfigMapDetailLogic) GetConfigMapDetail(in *core.GetConfigMapDetailReq) (*core.GetConfigMapDetailResp, error)
type GetConfigMapsLogic ¶
func NewGetConfigMapsLogic ¶
func NewGetConfigMapsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetConfigMapsLogic
func (*GetConfigMapsLogic) GetConfigMaps ¶
func (l *GetConfigMapsLogic) GetConfigMaps(in *core.GetConfigMapsReq) (*core.GetConfigMapsResp, error)
K8sConfigMap management
type PaginateQuery ¶
PaginateQuery 分页:Limit和Page Limit是单页的数据条数,Page是第几页
type UpdateConfigMapLogic ¶
func NewUpdateConfigMapLogic ¶
func NewUpdateConfigMapLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateConfigMapLogic
func (*UpdateConfigMapLogic) UpdateConfigMap ¶
func (l *UpdateConfigMapLogic) UpdateConfigMap(in *core.UpdateConfigMapReq) (*core.UpdateConfigMapResp, error)
Click to show internal directories.
Click to hide internal directories.