Documentation ¶
Index ¶
- Variables
- func InternalReverseHandler(handler func(context.Context, *http.Request, map[string]string) error) http.Handler
- func ProxyMetrics(ctx context.Context, r *http.Request, vars map[string]string) error
- type Endpoints
- func (e *Endpoints) AddCloudClusters(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) AddCloudNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddonScale(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AutoRenewECS(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) BatchOfflineEdgeCluster(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) BatchUpgradeEdgeCluster(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CetOnsDetailInfo(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CetRedisDetailInfo(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CloudResourceOverview(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CloudResourcePermissionCheck(ctx context.Context, userId, orgId, clusterName, action string) error
- func (e *Endpoints) CloudResourceSetTag(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ClusterHook(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ClusterInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ClusterPreview(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ClusterUpdate(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateAccessKey(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAddonCheck(req apistructs.CreateCloudResourceBaseInfo) error
- func (e *Endpoints) CreateGatewayVpcGrant(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateMysqlAccount(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateMysqlDatabase(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateMysqlInstance(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateOSS(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOnsGroup(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateOnsInstance(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateOnsTopic(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) CreateRedis(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateVPC(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateVSW(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DealTaskEvent(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteGateway(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteMysql(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) DeleteMysqlDatabase(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) DeleteOSSResource(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteOns(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) DeleteOnsTopic(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) DeleteRedisResource(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) DoRemoteAction(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) ECSTrending(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAccessKey(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetAddonConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAddonStatus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetCluster() *clusters.Clusters
- func (e *Endpoints) GetIdentity(r *http.Request) (apistructs.Identity, httpserver.Responser)
- func (e *Endpoints) GetMysqlDetailInfo(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetResourceClass(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetResourceClusterTrend(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetResourceGauge(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetResourceProjectTrend(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) GetScriptInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetVpcInfoByCluster(ak_ctx aliyun_resources.Context, r *http.Request, cluster string) (libvpc.Vpc, httpserver.Responser)
- func (e *Endpoints) GrantMysqlAccountPrivilege(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ImportCluster(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) InitCluster(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) InitClusterRetry(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) InitRecord(r dbclient.Record) (*dbclient.Record, httpserver.Responser)
- func (e *Endpoints) IsManager(userID string, scopeType apistructs.ScopeType, scopeID string) error
- func (e *Endpoints) ListAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAliyunResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListECS(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListGatewayAndVpc(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListK8SClusters(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLabels(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMysql(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListMysqlAccount(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListMysqlDatabase(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListOSS(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListOns(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListOnsGroup(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListOnsTopic(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListOrgRunningTasks(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListRedis(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListRegion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListVPC(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListVSW(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ListZone(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) LockCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Logs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) MetricsQuery(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) OfflineEdgeCluster(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) OrgClusterInfo(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) OrgPermCheck(userID, orgID, action string) error
- func (e *Endpoints) PermissionCheck(userID, orgID, projectID, action string) error
- func (e *Endpoints) Query(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryCloudResourceDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RecordTypeList(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RegistryReadonly(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RegistryRemoveLayers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RegistryRemoveManifests(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ResetAccessKey(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ResetMysqlAccountPassword(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) ResourceOverviewReport(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RestartECS(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) RmNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Routes() []httpserver.Endpoint
- func (e *Endpoints) ServeScript(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) error
- func (e *Endpoints) StartECS(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) StopECS(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) SyncTaskStatus(interval time.Duration)
- func (e *Endpoints) TagResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) TaskClean(interval time.Duration)
- func (e *Endpoints) UnlockCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateAddonConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateLabels(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) UpgradeEdgeCluster(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
- func (e *Endpoints) VPCTagCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- type Option
- func WithBundle(bdl *bundle.Bundle) Option
- func WithClusterServiceServer(clusterSvc clusterpb.ClusterServiceServer) Option
- func WithCredential(c tokenpb.TokenServiceServer) Option
- func WithCronServiceServer(cronService cronpb.CronServiceServer) Option
- func WithOrg(org org.Interface) Option
- func WithOrgResource(o *org_resource.OrgResource) Option
- func WithPipelineSvc(pipelineSvc pipelinepb.PipelineServiceServer) Option
- func WithResourceTable(reportTable *resource.ReportTable) Option
- func WithSteveCacheConfig(size int) Option
Constants ¶
This section is empty.
Variables ¶
var ( // TaskCleanDurationTimestamp job/deployment exist time, default 7 days TaskCleanDurationTimestamp int64 = 7 * 24 * 60 * 60 )
Functions ¶
func InternalReverseHandler ¶
Types ¶
type Endpoints ¶
type Endpoints struct { Mns *mns.Mns Ess *ess.Ess CloudAccount *cloud_account.CloudAccount Addons *addons.Addons JS jsonstore.JsonStore CachedJS jsonstore.JsonStore SteveAggregator *steve.Aggregator Resource *resource.Resource Credential tokenpb.TokenServiceServer ClusterSvc clusterpb.ClusterServiceServer PipelineSvc pipelinepb.PipelineServiceServer CronService cronpb.CronServiceServer SteveCacheConfig *steveCacheConfig // contains filtered or unexported fields }
func (*Endpoints) AddCloudClusters ¶
func (*Endpoints) AddCloudNodes ¶
func (*Endpoints) AddonScale ¶
func (e *Endpoints) AddonScale(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
Addon Scale
func (*Endpoints) AutoRenewECS ¶
func (*Endpoints) BatchOfflineEdgeCluster ¶
func (*Endpoints) BatchUpgradeEdgeCluster ¶
func (*Endpoints) CetOnsDetailInfo ¶
func (*Endpoints) CetRedisDetailInfo ¶
func (*Endpoints) CloudResourceOverview ¶
func (*Endpoints) CloudResourcePermissionCheck ¶
func (*Endpoints) CloudResourceSetTag ¶
func (e *Endpoints) CloudResourceSetTag(ctx context.Context, r *http.Request, vars map[string]string) ( resp httpserver.Responser, err error)
only set/unset/filter tag with dice-cluster or dice-project prefix
func (*Endpoints) ClusterHook ¶
func (e *Endpoints) ClusterHook(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
ClusterHook starts steve server when create cluster and stop steve server when delete cluster
func (*Endpoints) ClusterInfo ¶
func (*Endpoints) ClusterPreview ¶
func (*Endpoints) ClusterUpdate ¶
func (*Endpoints) CreateAccessKey ¶
func (*Endpoints) CreateAccount ¶
func (*Endpoints) CreateAddonCheck ¶
func (e *Endpoints) CreateAddonCheck(req apistructs.CreateCloudResourceBaseInfo) error
func (*Endpoints) CreateGatewayVpcGrant ¶
func (*Endpoints) CreateMysqlAccount ¶
func (*Endpoints) CreateMysqlDatabase ¶
func (*Endpoints) CreateMysqlInstance ¶
func (*Endpoints) CreateOnsGroup ¶
func (*Endpoints) CreateOnsInstance ¶
func (*Endpoints) CreateOnsTopic ¶
func (*Endpoints) CreateRedis ¶
func (*Endpoints) DealTaskEvent ¶
func (e *Endpoints) DealTaskEvent(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DealTaskEvent receive task event
func (*Endpoints) DeleteAccount ¶
func (*Endpoints) DeleteGateway ¶
func (*Endpoints) DeleteMysql ¶
func (*Endpoints) DeleteMysqlDatabase ¶
func (*Endpoints) DeleteOSSResource ¶
func (e *Endpoints) DeleteOSSResource(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
TODO demo delete
func (*Endpoints) DeleteOns ¶
func (e *Endpoints) DeleteOns(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
TODO, now support process create addon failed but related cloud resource create successfully
func (*Endpoints) DeleteOnsTopic ¶
func (*Endpoints) DeleteRedisResource ¶
func (*Endpoints) DoRemoteAction ¶
func (*Endpoints) ECSTrending ¶
func (*Endpoints) GetAccessKey ¶
func (e *Endpoints) GetAccessKey(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
GetAccessKey get access key with cluster name
func (*Endpoints) GetAddonConfig ¶
func (e *Endpoints) GetAddonConfig(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
Get Addon config
func (*Endpoints) GetAddonStatus ¶
func (e *Endpoints) GetAddonStatus(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
Get Addon status
func (*Endpoints) GetCloudAccount ¶
func (e *Endpoints) GetCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (resp httpserver.Responser, err error)
GetCloudAccount Get cloud account
func (*Endpoints) GetCluster ¶
func (*Endpoints) GetIdentity ¶
func (e *Endpoints) GetIdentity(r *http.Request) (apistructs.Identity, httpserver.Responser)
func (*Endpoints) GetMysqlDetailInfo ¶
func (*Endpoints) GetResourceClass ¶
func (*Endpoints) GetResourceClusterTrend ¶
func (*Endpoints) GetResourceGauge ¶
func (*Endpoints) GetResourceProjectTrend ¶
func (*Endpoints) GetScriptInfo ¶
func (e *Endpoints) GetScriptInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetScriptInfo Get script info
func (*Endpoints) GetVpcInfoByCluster ¶
func (e *Endpoints) GetVpcInfoByCluster(ak_ctx aliyun_resources.Context, r *http.Request, cluster string) (libvpc.Vpc, httpserver.Responser)
func (*Endpoints) GrantMysqlAccountPrivilege ¶
func (*Endpoints) ImportCluster ¶
func (*Endpoints) Info ¶
func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Info demo
func (*Endpoints) InitCluster ¶
func (*Endpoints) InitClusterRetry ¶
func (*Endpoints) InitRecord ¶
InitRecord Create cloud resource
func (*Endpoints) ListAccount ¶
func (*Endpoints) ListAliyunResources ¶
func (*Endpoints) ListGatewayAndVpc ¶
func (*Endpoints) ListK8SClusters ¶
func (e *Endpoints) ListK8SClusters(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListK8SClusters list ready and unready k8s clusters in current org
func (*Endpoints) ListLabels ¶
func (*Endpoints) ListMysqlAccount ¶
func (*Endpoints) ListMysqlDatabase ¶
func (*Endpoints) ListOnsGroup ¶
func (*Endpoints) ListOnsTopic ¶
func (*Endpoints) ListOrgRunningTasks ¶
func (e *Endpoints) ListOrgRunningTasks(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListOrgRunningTasks list running task or service by org id
func (*Endpoints) ListRegion ¶
func (*Endpoints) LockCluster ¶
func (e *Endpoints) LockCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
lock cluster for auto scale
func (*Endpoints) MetricsQuery ¶
func (e *Endpoints) MetricsQuery(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
MetricsQuery handle query request
func (*Endpoints) OfflineEdgeCluster ¶
func (*Endpoints) OrgClusterInfo ¶
func (*Endpoints) OrgPermCheck ¶
func (*Endpoints) PermissionCheck ¶
PermissionCheck Permission check
func (*Endpoints) QueryCloudResourceDetail ¶
func (*Endpoints) RecordTypeList ¶
func (*Endpoints) RegistryReadonly ¶
func (*Endpoints) RegistryRemoveLayers ¶
func (*Endpoints) RegistryRemoveManifests ¶
func (*Endpoints) ResetAccessKey ¶
func (*Endpoints) ResetMysqlAccountPassword ¶
func (*Endpoints) ResourceOverviewReport ¶
func (*Endpoints) RestartECS ¶
func (*Endpoints) ServeScript ¶
func (e *Endpoints) ServeScript(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error
ServeScript Offer script download.
func (*Endpoints) SyncTaskStatus ¶
SyncTaskStatus sync task status
func (*Endpoints) TagResources ¶
func (*Endpoints) UnlockCluster ¶
func (e *Endpoints) UnlockCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
unlock cluster for auto scale
func (*Endpoints) UpdateAddonConfig ¶
func (e *Endpoints) UpdateAddonConfig(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
Update addon config
func (*Endpoints) UpdateLabels ¶
func (*Endpoints) UpgradeEdgeCluster ¶
type Option ¶
type Option func(*Endpoints)
func WithClusterServiceServer ¶
func WithClusterServiceServer(clusterSvc clusterpb.ClusterServiceServer) Option
func WithCredential ¶
func WithCredential(c tokenpb.TokenServiceServer) Option
WithCredential with accessKey credential
func WithCronServiceServer ¶
func WithCronServiceServer(cronService cronpb.CronServiceServer) Option
func WithOrgResource ¶
func WithOrgResource(o *org_resource.OrgResource) Option
func WithPipelineSvc ¶
func WithPipelineSvc(pipelineSvc pipelinepb.PipelineServiceServer) Option
func WithResourceTable ¶
func WithResourceTable(reportTable *resource.ReportTable) Option
func WithSteveCacheConfig ¶
Source Files ¶
- addons.go
- aliyun_action_proxy.go
- aliyun_resources.go
- cloud_cluster.go
- cloud_nodes.go
- cloud_resource.go
- cloud_resource_account.go
- cloud_resource_ecs.go
- cloud_resource_gateway.go
- cloud_resource_mysql.go
- cloud_resource_ons.go
- cloud_resource_oss.go
- cloud_resource_redis.go
- cloud_resource_vpc.go
- cloud_resource_vsw.go
- cluster.go
- cluster_credential.go
- cluster_hook.go
- cluster_preview.go
- common.go
- endpoints.go
- info.go
- k8s_cluster.go
- labels.go
- log.go
- metrics.go
- nodes.go
- officer.go
- org_resource.go
- prehandle.go
- quota.go
- records.go
- resource_overview.go