API | Description |
Activates the CI service, which needs to be bound to an existing COS bucket. | |
Queries whether the CI service has been activated for a bucket. | |
Unbinds the CI service from a bucket (the bucket and files in it will be retained in COS). |
func (s *CIService) OpenCIService(ctx context.Context) (*Response, error)
_, err := c.CI.OpenCIService(context.Background())
func (s *CIService) GetCIService(ctx context.Context) (*CIServiceResult, *Response, error)
res, _, err := c.CI.GetCIService(context.Background())
Parameter | Description |
CIServiceResult | Whether the CI service is activated. |
func (s *CIService) CloseCIService(ctx context.Context) (*Response, error)
_, err := c.CI.CloseCIService(context.Background())
Was this page helpful?