Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const ClusterScopeURLFmt + const EventScopeURLFmt + const ListClusterScopeURLFmt + const ListNamespaceScopeURLFmt + const NamespaceScopeURLFmt + const NamespaceScopeWatchURLFmt + const StorageRequestTimeoutSeconds + var WatchKindSet = map[string]struct + type Client interface + DELETE func() + GET func() + GetURL func() + PUT func() + type StorageClient struct + ClusterID string + HTTPClientConfig *bcs.HTTPClientConfig + Namespace string + ResourceName string + ResourceType string + func (client *StorageClient) DELETE() (storageResp StorageResponse, err error) + func (client *StorageClient) GET() (storageResp StorageResponse, err error) + func (client *StorageClient) GetBody(data interface{}) (interface{}, error) + func (client *StorageClient) GetURL() string + func (client *StorageClient) ListClusterResource() (data []interface{}, err error) + func (client *StorageClient) ListNamespaceResource() (data []interface{}, err error) + func (client *StorageClient) NewRequest() (*gorequest.SuperAgent, error) + func (client *StorageClient) PUT(data interface{}) (storageResp StorageResponse, err error) + type StorageRequestBody struct + Data interface{} + type StorageResponse struct + Code int64 + Data interface{} + Message string + Result bool