Documentation ¶
Index ¶
- func ApplyPolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ApplyPolicyResponse, error)
- func Cat(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CatResponse, error)
- func Clone(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CloneResponse, error)
- func CreateBackrestBackup(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateBackrestBackupResponse, error)
- func CreateCluster(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateClusterResponse, error)
- func CreateFailover(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateFailoverResponse, error)
- func CreateLoad(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.LoadResponse, error)
- func CreateNamespace(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateNamespaceResponse, error)
- func CreatePgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatePgAdminResponse, error)
- func CreatePgbouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatePgbouncerResponse, error)
- func CreatePgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatePgoroleResponse, error)
- func CreatePgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatePgouserResponse, error)
- func CreatePolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatePolicyResponse, error)
- func CreateSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateScheduleResponse, error)
- func CreateUpgrade(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateUpgradeResponse, error)
- func CreateUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreateUserResponse, error)
- func CreatepgDumpBackup(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.CreatepgDumpBackupResponse, error)
- func DeleteCluster(httpclient *http.Client, request *msgs.DeleteClusterRequest, ...) (msgs.DeleteClusterResponse, error)
- func DeleteLabel(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.LabelResponse, error)
- func DeleteNamespace(httpclient *http.Client, request *msgs.DeleteNamespaceRequest, ...) (msgs.DeleteNamespaceResponse, error)
- func DeletePgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.DeletePgAdminResponse, error)
- func DeletePgbouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.DeletePgbouncerResponse, error)
- func DeletePgorole(httpclient *http.Client, request *msgs.DeletePgoroleRequest, ...) (msgs.DeletePgoroleResponse, error)
- func DeletePgouser(httpclient *http.Client, request *msgs.DeletePgouserRequest, ...) (msgs.DeletePgouserResponse, error)
- func DeletePolicy(httpclient *http.Client, request *msgs.DeletePolicyRequest, ...) (msgs.DeletePolicyResponse, error)
- func DeleteSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.DeleteScheduleResponse, error)
- func DeleteUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.DeleteUserResponse, error)
- func LabelClusters(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.LabelResponse, error)
- func QueryFailover(httpclient *http.Client, arg string, ...) (msgs.QueryFailoverResponse, error)
- func QueryRestart(httpclient *http.Client, clusterName string, ...) (msgs.QueryRestartResponse, error)
- func Reload(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ReloadResponse, error)
- func Restart(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.RestartResponse, error)
- func Restore(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.RestoreResponse, error)
- func RestoreDump(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.RestoreResponse, error)
- func ScaleCluster(httpclient *http.Client, arg string, ReplicaCount int, ...) (msgs.ClusterScaleResponse, error)
- func ScaleDownCluster(httpclient *http.Client, clusterName, ScaleDownTarget string, DeleteData bool, ...) (msgs.ScaleDownResponse, error)
- func ScaleQuery(httpclient *http.Client, arg string, ...) (msgs.ScaleQueryResponse, error)
- func ShowBackrest(httpclient *http.Client, arg, selector string, ...) (msgs.ShowBackrestResponse, error)
- func ShowCluster(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowClusterResponse, error)
- func ShowConfig(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowConfigResponse, error)
- func ShowDf(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.DfResponse, error)
- func ShowNamespace(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowNamespaceResponse, error)
- func ShowPVC(httpclient *http.Client, request *msgs.ShowPVCRequest, ...) (msgs.ShowPVCResponse, error)
- func ShowPgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowPgAdminResponse, error)
- func ShowPgBouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowPgBouncerResponse, error)
- func ShowPgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowPgoroleResponse, error)
- func ShowPgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowPgouserResponse, error)
- func ShowPolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowPolicyResponse, error)
- func ShowSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowScheduleResponse, error)
- func ShowStatus(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.StatusResponse, error)
- func ShowTest(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ClusterTestResponse, error)
- func ShowUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.ShowUserResponse, error)
- func ShowVersion(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials) (msgs.VersionResponse, error)
- func ShowWorkflow(httpclient *http.Client, workflowID string, ...) (msgs.ShowWorkflowResponse, error)
- func ShowpgDump(httpclient *http.Client, arg, selector string, ...) (msgs.ShowBackupResponse, error)
- func StatusCheck(resp *http.Response) error
- func UpdateCluster(httpclient *http.Client, request *msgs.UpdateClusterRequest, ...) (msgs.UpdateClusterResponse, error)
- func UpdateNamespace(httpclient *http.Client, request *msgs.UpdateNamespaceRequest, ...) (msgs.UpdateNamespaceResponse, error)
- func UpdatePgBouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.UpdatePgBouncerResponse, error)
- func UpdatePgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.UpdatePgoroleResponse, error)
- func UpdatePgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.UpdatePgouserResponse, error)
- func UpdateUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ...) (msgs.UpdateUserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPolicy ¶
func ApplyPolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ApplyPolicyRequest) (msgs.ApplyPolicyResponse, error)
func Cat ¶
func Cat(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CatRequest) (msgs.CatResponse, error)
func Clone ¶
func Clone(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CloneRequest) (msgs.CloneResponse, error)
func CreateBackrestBackup ¶
func CreateBackrestBackup(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateBackrestBackupRequest) (msgs.CreateBackrestBackupResponse, error)
func CreateCluster ¶
func CreateCluster(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateClusterRequest) (msgs.CreateClusterResponse, error)
func CreateFailover ¶
func CreateFailover(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateFailoverRequest) (msgs.CreateFailoverResponse, error)
func CreateLoad ¶
func CreateLoad(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.LoadRequest) (msgs.LoadResponse, error)
func CreateNamespace ¶
func CreateNamespace(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateNamespaceRequest) (msgs.CreateNamespaceResponse, error)
func CreatePgAdmin ¶
func CreatePgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatePgAdminRequest) (msgs.CreatePgAdminResponse, error)
func CreatePgbouncer ¶
func CreatePgbouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatePgbouncerRequest) (msgs.CreatePgbouncerResponse, error)
func CreatePgorole ¶
func CreatePgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatePgoroleRequest) (msgs.CreatePgoroleResponse, error)
func CreatePgouser ¶
func CreatePgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatePgouserRequest) (msgs.CreatePgouserResponse, error)
func CreatePolicy ¶
func CreatePolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatePolicyRequest) (msgs.CreatePolicyResponse, error)
func CreateSchedule ¶
func CreateSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, r *msgs.CreateScheduleRequest) (msgs.CreateScheduleResponse, error)
func CreateUpgrade ¶
func CreateUpgrade(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateUpgradeRequest) (msgs.CreateUpgradeResponse, error)
func CreateUser ¶
func CreateUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreateUserRequest) (msgs.CreateUserResponse, error)
func CreatepgDumpBackup ¶
func CreatepgDumpBackup(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.CreatepgDumpBackupRequest) (msgs.CreatepgDumpBackupResponse, error)
func DeleteCluster ¶
func DeleteCluster(httpclient *http.Client, request *msgs.DeleteClusterRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.DeleteClusterResponse, error)
func DeleteLabel ¶
func DeleteLabel(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.DeleteLabelRequest) (msgs.LabelResponse, error)
func DeleteNamespace ¶
func DeleteNamespace(httpclient *http.Client, request *msgs.DeleteNamespaceRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.DeleteNamespaceResponse, error)
func DeletePgAdmin ¶
func DeletePgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.DeletePgAdminRequest) (msgs.DeletePgAdminResponse, error)
func DeletePgbouncer ¶
func DeletePgbouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.DeletePgbouncerRequest) (msgs.DeletePgbouncerResponse, error)
func DeletePgorole ¶
func DeletePgorole(httpclient *http.Client, request *msgs.DeletePgoroleRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.DeletePgoroleResponse, error)
func DeletePgouser ¶
func DeletePgouser(httpclient *http.Client, request *msgs.DeletePgouserRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.DeletePgouserResponse, error)
func DeletePolicy ¶
func DeletePolicy(httpclient *http.Client, request *msgs.DeletePolicyRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.DeletePolicyResponse, error)
func DeleteSchedule ¶
func DeleteSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, r *msgs.DeleteScheduleRequest) (msgs.DeleteScheduleResponse, error)
func DeleteUser ¶
func DeleteUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.DeleteUserRequest) (msgs.DeleteUserResponse, error)
func LabelClusters ¶
func LabelClusters(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.LabelRequest) (msgs.LabelResponse, error)
func QueryFailover ¶
func QueryFailover(httpclient *http.Client, arg string, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.QueryFailoverResponse, error)
func QueryRestart ¶
func QueryRestart(httpclient *http.Client, clusterName string, SessionCredentials *msgs.BasicAuthCredentials, namespace string) (msgs.QueryRestartResponse, error)
QueryRestart sends a GET request to the PostgreSQL Operator "/restart/{clusterName}" endpoint in order to obtain information about the various instances available to restart within the cluster specified.
func Reload ¶
func Reload(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ReloadRequest) (msgs.ReloadResponse, error)
func Restart ¶
func Restart(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.RestartRequest) (msgs.RestartResponse, error)
Restart POSTs a Restart request to the PostgreSQL Operator "restart" endpoint in order to restart a PG cluster or one or more instances within it.
func Restore ¶
func Restore(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.RestoreRequest) (msgs.RestoreResponse, error)
func RestoreDump ¶
func RestoreDump(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.PgRestoreRequest) (msgs.RestoreResponse, error)
func ScaleCluster ¶
func ScaleDownCluster ¶
func ScaleDownCluster(httpclient *http.Client, clusterName, ScaleDownTarget string, DeleteData bool, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ScaleDownResponse, error)
func ScaleQuery ¶
func ScaleQuery(httpclient *http.Client, arg string, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ScaleQueryResponse, error)
func ShowBackrest ¶
func ShowBackrest(httpclient *http.Client, arg, selector string, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ShowBackrestResponse, error)
func ShowCluster ¶
func ShowCluster(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowClusterRequest) (msgs.ShowClusterResponse, error)
func ShowConfig ¶
func ShowConfig(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ShowConfigResponse, error)
func ShowDf ¶
func ShowDf(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request msgs.DfRequest) (msgs.DfResponse, error)
func ShowNamespace ¶
func ShowNamespace(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowNamespaceRequest) (msgs.ShowNamespaceResponse, error)
func ShowPVC ¶
func ShowPVC(httpclient *http.Client, request *msgs.ShowPVCRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.ShowPVCResponse, error)
func ShowPgAdmin ¶
func ShowPgAdmin(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request msgs.ShowPgAdminRequest) (msgs.ShowPgAdminResponse, error)
ShowPgAdmin makes an API call to the "show pgadmin" apiserver endpoint and provides the results either using the ShowPgAdmin response format which may include an error
func ShowPgBouncer ¶
func ShowPgBouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request msgs.ShowPgBouncerRequest) (msgs.ShowPgBouncerResponse, error)
ShowPgBouncer makes an API call to the "show pgbouncer" apiserver endpoint and provides the results either using the ShowPgBouncer response format which may include an error
func ShowPgorole ¶
func ShowPgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowPgoroleRequest) (msgs.ShowPgoroleResponse, error)
func ShowPgouser ¶
func ShowPgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowPgouserRequest) (msgs.ShowPgouserResponse, error)
func ShowPolicy ¶
func ShowPolicy(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowPolicyRequest) (msgs.ShowPolicyResponse, error)
func ShowSchedule ¶
func ShowSchedule(client *http.Client, SessionCredentials *msgs.BasicAuthCredentials, r *msgs.ShowScheduleRequest) (msgs.ShowScheduleResponse, error)
func ShowStatus ¶
func ShowStatus(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.StatusResponse, error)
func ShowTest ¶
func ShowTest(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ClusterTestRequest) (msgs.ClusterTestResponse, error)
func ShowUser ¶
func ShowUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.ShowUserRequest) (msgs.ShowUserResponse, error)
func ShowVersion ¶
func ShowVersion(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials) (msgs.VersionResponse, error)
func ShowWorkflow ¶
func ShowWorkflow(httpclient *http.Client, workflowID string, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ShowWorkflowResponse, error)
func ShowpgDump ¶
func ShowpgDump(httpclient *http.Client, arg, selector string, SessionCredentials *msgs.BasicAuthCredentials, ns string) (msgs.ShowBackupResponse, error)
func UpdateCluster ¶
func UpdateCluster(httpclient *http.Client, request *msgs.UpdateClusterRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.UpdateClusterResponse, error)
func UpdateNamespace ¶
func UpdateNamespace(httpclient *http.Client, request *msgs.UpdateNamespaceRequest, SessionCredentials *msgs.BasicAuthCredentials) (msgs.UpdateNamespaceResponse, error)
func UpdatePgBouncer ¶
func UpdatePgBouncer(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request msgs.UpdatePgBouncerRequest) (msgs.UpdatePgBouncerResponse, error)
UpdatePgBouncer makes an API call to the "update pgbouncer" apiserver endpoint and provides the results
func UpdatePgorole ¶
func UpdatePgorole(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.UpdatePgoroleRequest) (msgs.UpdatePgoroleResponse, error)
func UpdatePgouser ¶
func UpdatePgouser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.UpdatePgouserRequest) (msgs.UpdatePgouserResponse, error)
func UpdateUser ¶
func UpdateUser(httpclient *http.Client, SessionCredentials *msgs.BasicAuthCredentials, request *msgs.UpdateUserRequest) (msgs.UpdateUserResponse, error)
Types ¶
This section is empty.
Source Files ¶
- backrest.go
- cat.go
- clone.go
- cluster.go
- common.go
- config.go
- df.go
- failover.go
- label.go
- load.go
- namespace.go
- pgadmin.go
- pgbouncer.go
- pgdump.go
- pgorole.go
- pgouser.go
- policy.go
- pvc.go
- reload.go
- restart.go
- restore.go
- restoreDump.go
- scale.go
- scaledown.go
- schedule.go
- status.go
- test.go
- upgrade.go
- user.go
- version.go
- workflow.go