-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstanceclustersservice_inf.go
32 lines (30 loc) · 1.43 KB
/
instanceclustersservice_inf.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Code generated by ifacemaker; DO NOT EDIT.
package gitlab
// InstanceClustersService is an interface for [gitlab.Client.InstanceCluster]
type InstanceClustersService interface {
// ListClusters gets a list of all instance clusters.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/instance_clusters.html#list-instance-clusters
ListClusters(options ...RequestOptionFunc) ([]*InstanceCluster, *Response, error)
// GetCluster gets an instance cluster.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/instance_clusters.html#get-a-single-instance-cluster
GetCluster(cluster int, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
// AddCluster adds an existing cluster to the instance.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/instance_clusters.html#add-existing-instance-cluster
AddCluster(opt *AddClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
// EditCluster updates an existing instance cluster.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/instance_clusters.html#edit-instance-cluster
EditCluster(cluster int, opt *EditClusterOptions, options ...RequestOptionFunc) (*InstanceCluster, *Response, error)
// DeleteCluster deletes an existing instance cluster.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/instance_clusters.html#delete-instance-cluster
DeleteCluster(cluster int, options ...RequestOptionFunc) (*Response, error)
}