Documentation ¶
Index ¶
- Constants
- type ApplyPolicyRequest
- type ApplyPolicyResponse
- type ApplyResults
- type BasicAuthCredentials
- type CatRequest
- type CatResponse
- type CloneRequest
- type CloneResponse
- type ClusterScaleResponse
- type ClusterTestDetail
- type ClusterTestRequest
- type ClusterTestResponse
- type ClusterTestResult
- type CreateBackrestBackupRequest
- type CreateBackrestBackupResponse
- type CreateBackupRequest
- type CreateBackupResponse
- type CreateBenchmarkRequest
- type CreateBenchmarkResponse
- type CreateClusterRequest
- type CreateClusterResponse
- type CreateFailoverRequest
- type CreateFailoverResponse
- type CreateNamespaceRequest
- type CreateNamespaceResponse
- type CreatePgbouncerRequest
- type CreatePgbouncerResponse
- type CreatePgoroleRequest
- type CreatePgoroleResponse
- type CreatePgouserRequest
- type CreatePgouserResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreateScheduleRequest
- type CreateScheduleResponse
- type CreateUpgradeRequest
- type CreateUpgradeResponse
- type CreateUserRequest
- type CreateUserResponse
- type CreatepgDumpBackupRequest
- type CreatepgDumpBackupResponse
- type DeleteBackupResponse
- type DeleteBenchmarkRequest
- type DeleteBenchmarkResponse
- type DeleteClusterRequest
- type DeleteClusterResponse
- type DeleteLabelRequest
- type DeleteNamespaceRequest
- type DeleteNamespaceResponse
- type DeletePgbouncerRequest
- type DeletePgbouncerResponse
- type DeletePgoroleRequest
- type DeletePgoroleResponse
- type DeletePgouserRequest
- type DeletePgouserResponse
- type DeletePolicyRequest
- type DeletePolicyResponse
- type DeleteScheduleRequest
- type DeleteScheduleResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DfDetail
- type DfResponse
- type FailoverTargetSpec
- type KeyValue
- type LabelRequest
- type LabelResponse
- type LoadRequest
- type LoadResponse
- type LsRequest
- type LsResponse
- type NamespaceResult
- type NodeInfo
- type PgRestoreRequest
- type PgRestoreResponse
- type PgbasebackupRestoreRequest
- type PgbasebackupRestoreResponse
- type PgoroleInfo
- type PgouserInfo
- type QueryFailoverRequest
- type QueryFailoverResponse
- type ReloadRequest
- type ReloadResponse
- type RestoreRequest
- type RestoreResponse
- type ScaleDownResponse
- type ScaleQueryResponse
- type ScaleQueryTargetSpec
- type ShowBackrestDetail
- type ShowBackrestResponse
- type ShowBackupResponse
- type ShowBenchmarkRequest
- type ShowBenchmarkResponse
- type ShowClusterDeployment
- type ShowClusterDetail
- type ShowClusterPod
- type ShowClusterReplica
- type ShowClusterRequest
- type ShowClusterResponse
- type ShowClusterService
- type ShowConfigResponse
- type ShowNamespaceRequest
- type ShowNamespaceResponse
- type ShowPVCRequest
- type ShowPVCResponse
- type ShowPVCResponseResult
- type ShowPgoroleRequest
- type ShowPgoroleResponse
- type ShowPgouserRequest
- type ShowPgouserResponse
- type ShowPolicyRequest
- type ShowPolicyResponse
- type ShowScheduleRequest
- type ShowScheduleResponse
- type ShowUserDetail
- type ShowUserRequest
- type ShowUserResponse
- type ShowUserSecret
- type ShowWorkflowDetail
- type ShowWorkflowResponse
- type ShowpgDumpDetail
- type Status
- type StatusDetail
- type StatusResponse
- type UpdateClusterAutofailStatus
- type UpdateClusterRequest
- type UpdateClusterResponse
- type UpdateNamespaceRequest
- type UpdateNamespaceResponse
- type UpdatePgoroleRequest
- type UpdatePgoroleResponse
- type UpdatePgouserRequest
- type UpdatePgouserResponse
- type UpdateUserRequest
- type UpdateUserResponse
- type VersionResponse
- type WatchRequest
- type WatchResponse
Constants ¶
const ( ClusterTestInstanceTypePrimary = "primary" ClusterTestInstanceTypeReplica = "replica" ClusterTestInstanceTypePGBouncer = "pgbouncer" ClusterTestInstanceTypeBackups = "backups" ClusterTestInstanceTypeUnknown = "unknown" )
a collection of constants used to enumerate the output for ClusterTestDetail => InstanceType
const Error = "error"
const Ok = "ok"
Ok status
const PGO_VERSION = "4.2.3"
const PodTypeBackup = "backup"
const PodTypePgbackrest = "pgbackrest"
const PodTypePgbouncer = "pgbouncer"
const PodTypePrimary = "primary"
const PodTypeReplica = "replica"
const PodTypeUnknown = "unknown"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyPolicyRequest ¶
type ApplyPolicyRequest struct { Name string Selector string DryRun bool Namespace string ClientVersion string }
ApplyPolicyRequest ... swagger:model
type ApplyPolicyResponse ¶
ApplyPolicyResponse ... swagger:model
type BasicAuthCredentials ¶
BasicAuthCredentials ... swagger:model BasicAuthCredentials
func (BasicAuthCredentials) HasUsernameAndPassword ¶
func (b BasicAuthCredentials) HasUsernameAndPassword() bool
type CatRequest ¶
CatRequest ... swagger:model
type CatResponse ¶
CatResponse ... swagger:model
type CloneRequest ¶
type CloneRequest struct { Namespace string SourceClusterName string TargetClusterName string ClientVersion string BackrestStorageSource string }
CloneRequest ... swagger:model
func (CloneRequest) Validate ¶
func (r CloneRequest) Validate() error
Validate validates that the parameters for the CloneRequest are valid for use int he API
type CloneResponse ¶
CloneReseponse swagger:model
type ClusterScaleResponse ¶
ClusterScaleResponse ... swagger:model
type ClusterTestDetail ¶
type ClusterTestDetail struct { Available bool // true if the object being tested is available (ready) Message string // a descriptive message that can be displayed with InstanceType string // an enumerated set of what this instance can be, e.g. "primary" }
swagger:model
type ClusterTestRequest ¶
type ClusterTestRequest struct { Clustername string Selector string // Version of API client // required: true ClientVersion string Namespace string AllFlag bool }
ClusterTestRequest ... swagger:model
type ClusterTestResponse ¶
type ClusterTestResponse struct { Results []ClusterTestResult Status }
ClusterTestResponse ... swagger:model
type ClusterTestResult ¶
type ClusterTestResult struct { ClusterName string Endpoints []ClusterTestDetail // a list of endpoints Instances []ClusterTestDetail // a list of instances (pods) }
ClusterTestResult contains the output for a test on a single PostgreSQL cluster. This includes the endpoints (i.e. how to connect to instances in a cluster) and the instances themselves (which are pods) swagger:model
type CreateBackrestBackupRequest ¶
type CreateBackrestBackupRequest struct { Namespace string Args []string Selector string BackupOpts string BackrestStorageType string }
CreateBackrestBackupRequest ... swagger:model
type CreateBackrestBackupResponse ¶
CreateBackrestBackupResponse ... swagger:model
type CreateBackupRequest ¶
type CreateBackupRequest struct { Namespace string Args []string Selector string PVCName string StorageConfig string BackupOpts string }
CreateBackupRequest ... swagger:model
type CreateBackupResponse ¶
CreateBackupResponse ... swagger:model
type CreateBenchmarkRequest ¶
type CreateBenchmarkRequest struct { Args []string BenchmarkOpts string Clients int ClusterName string Database string InitOpts string Jobs int Namespace string Policy string Scale int Selector string Transactions int User string }
CreateBenchmarkRequest ... swagger:model
func (CreateBenchmarkRequest) Validate ¶
func (c CreateBenchmarkRequest) Validate() error
type CreateBenchmarkResponse ¶
CreateBenchmarkResponse ... swagger:model
type CreateClusterRequest ¶
type CreateClusterRequest struct { Name string `json:"Name"` Namespace string NodeLabel string Password string SecretFrom string UserLabels string Policies string CCPImage string CCPImageTag string Series int ReplicaCount int ServiceType string MetricsFlag bool BadgerFlag bool AutofailFlag bool ArchiveFlag bool BackrestStorageType string //BackrestRestoreFrom string PgbouncerFlag bool PgbouncerSecret string PgbouncerPass string PgbouncerUser string CustomConfig string StorageConfig string ReplicaStorageConfig string ContainerResources string // Version of API client // required: true ClientVersion string PodAntiAffinity string SyncReplication *bool BackrestS3Key string BackrestS3KeySecret string BackrestS3Bucket string BackrestS3Region string BackrestS3Endpoint string }
CreateClusterRequest
swagger:model
type CreateFailoverRequest ¶
type CreateFailoverRequest struct { Namespace string ClusterName string Target string ClientVersion string }
CreateFailoverRequest ... swagger:model
type CreateFailoverResponse ¶
CreateFailoverResponse ... swagger:model
type CreateNamespaceRequest ¶
CreateNamespaceRequest ... swagger:model
type CreateNamespaceResponse ¶
CreateNamespaceResponse ... swagger:model
type CreatePgbouncerRequest ¶
type CreatePgbouncerRequest struct { Args []string Selector string Namespace string PgbouncerUser string PgbouncerPass string ClientVersion string }
CreatePgbouncerRequest ... swagger:model
type CreatePgbouncerResponse ¶
CreatePgbouncerResponse ... swagger:model
type CreatePgoroleRequest ¶
type CreatePgoroleRequest struct { PgoroleName string PgorolePermissions string Namespace string ClientVersion string }
CreatePgoroleRequest ... swagger:model
type CreatePgoroleResponse ¶
type CreatePgoroleResponse struct {
Status
}
CreatePgoroleResponse ... swagger:model
type CreatePgouserRequest ¶
type CreatePgouserRequest struct { PgouserName string PgouserPassword string PgouserRoles string AllNamespaces bool PgouserNamespaces string Namespace string ClientVersion string }
CreatePgouserRequest ... swagger:model
type CreatePgouserResponse ¶
type CreatePgouserResponse struct {
Status
}
CreatePgouserResponse ... swagger:model
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { Name string URL string SQL string Namespace string ClientVersion string }
CreatePolicyRequest ... swagger:model
type CreatePolicyResponse ¶
type CreatePolicyResponse struct {
Status
}
CreatePolicyResponse ... swagger:model
type CreateScheduleRequest ¶
type CreateScheduleRequest struct { ClusterName string Name string Namespace string Schedule string ScheduleType string Selector string PGBackRestType string BackrestStorageType string PVCName string ScheduleOptions string StorageConfig string PolicyName string Database string Secret string }
CreateScheduleRequest ... swagger:model
type CreateScheduleResponse ¶
CreateScheduleResponse ... swagger:model
type CreateUpgradeRequest ¶
type CreateUpgradeRequest struct { Args []string Selector string Namespace string CCPImageTag string ClientVersion string }
CreateUpgradeRequest ... swagger:model
type CreateUpgradeResponse ¶
CreateUpgradeResponse ... swagger:model
type CreateUserRequest ¶
type CreateUserRequest struct { Clusters []string Username string Namespace string Selector string AllFlag bool Password string ManagedUser bool //UserDBAccess string PasswordAgeDays int ClientVersion string PasswordLength int }
CreateUserRequest ... swagger:model
type CreateUserResponse ¶
CreateUserResponse ... swagger:model
type CreatepgDumpBackupRequest ¶
type CreatepgDumpBackupRequest struct { Namespace string Args []string Selector string PVCName string StorageConfig string BackupOpts string }
CreatepgDumpBackup ... swagger:model
type CreatepgDumpBackupResponse ¶
CreatepgDumpBackupResponse ... swagger:model
type DeleteBackupResponse ¶
DeleteBackupResponse ... swagger:model
type DeleteBenchmarkRequest ¶
type DeleteBenchmarkRequest struct { Args []string Namespace string ClusterName string Selector string }
DeleteBenchmarkRequest ... swagger:model
func (DeleteBenchmarkRequest) Validate ¶
func (d DeleteBenchmarkRequest) Validate() error
type DeleteBenchmarkResponse ¶
DeleteBenchmarkResponse swagger:model
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { Clustername string Selector string // Version of API client // required: true ClientVersion string Namespace string AllFlag bool DeleteBackups bool DeleteData bool }
DeleteClusterRequest ... swagger:model
type DeleteClusterResponse ¶
DeleteClusterResponse ... swagger:model
type DeleteLabelRequest ¶
type DeleteLabelRequest struct { Selector string Namespace string Args []string LabelCmdLabel string ClientVersion string }
DeleteLabelRequest ... swagger:model
type DeleteNamespaceRequest ¶
type DeleteNamespaceRequest struct { Args []string Selector string Namespace string AllFlag bool ClientVersion string }
DeleteNamespaceRequest ... swagger:model
type DeleteNamespaceResponse ¶
DeleteNamespaceResponse ... swagger:model
type DeletePgbouncerRequest ¶
type DeletePgbouncerRequest struct { Args []string Selector string Namespace string ClientVersion string }
DeletePgbouncerRequest ... swagger:model
type DeletePgbouncerResponse ¶
DeletePgbouncerResponse ... swagger:model
type DeletePgoroleRequest ¶
type DeletePgoroleRequest struct { PgoroleName []string Namespace string AllFlag bool ClientVersion string }
DeletePgoroleRequest ... swagger:model
type DeletePgoroleResponse ¶
DeletePgoroleResponse ... swagger:model
type DeletePgouserRequest ¶
type DeletePgouserRequest struct { PgouserName []string Namespace string AllFlag bool ClientVersion string }
DeletePgouserRequest ... swagger:model
type DeletePgouserResponse ¶
DeletePgouserResponse ... swagger:model
type DeletePolicyRequest ¶
type DeletePolicyRequest struct { Selector string Namespace string AllFlag bool ClientVersion string PolicyName string }
DeletePolicyRequest ... swagger:model
type DeletePolicyResponse ¶
DeletePolicyResponse ... swagger:model
type DeleteScheduleRequest ¶
type DeleteScheduleRequest struct { Namespace string ScheduleName string ClusterName string Selector string }
DeleteScheduleResponse ... swagger:model
type DeleteScheduleResponse ¶
DeleteScheduleResponse ... swagger:model
type DeleteUserRequest ¶
type DeleteUserRequest struct { Selector string Clusters []string AllFlag bool Username string ClientVersion string Namespace string }
DeleteUserRequest ... swagger:model
type DeleteUserResponse ¶
DeleteUserResponse ... swagger:model
type DfDetail ¶
DfDetail ... this aggregated status comes from the pgo-status container by means of a volume mounted json blob it generates swagger:model
type DfResponse ¶
ShowClusterResponse ... swagger:model
type FailoverTargetSpec ¶
type FailoverTargetSpec struct { Name string // the name of the PostgreSQL instance Node string // the node that the instance is running on PreferredNode bool // if stored in the Operator configuration, a preferred node to failover to ReplicationLag int // how far behind the instance is behind the primary, in MB Status string // the current status of the instance Timeline int // the timeline the replica is on; timelines are adjusted after failover events }
FailoverTargetSpec swagger:model
type LabelRequest ¶
type LabelRequest struct { Selector string Namespace string Args []string LabelCmdLabel string DryRun bool DeleteLabel bool ClientVersion string }
LabelRequest ... swagger:model
type LabelResponse ¶
LabelResponse ... swagger:model
type LoadRequest ¶
type LoadRequest struct { Args []string Selector string Namespace string LoadConfig string Policies string ClientVersion string }
LoadRequest ... swagger:model
type LoadResponse ¶
LoadResponse ... swagger:model
type NamespaceResult ¶
NamespaceResult ... swagger:model
type PgRestoreRequest ¶
type PgRestoreRequest struct { Namespace string FromCluster string FromPVC string RestoreOpts string PITRTarget string NodeLabel string }
PgRestoreRequest ... swagger:model
type PgRestoreResponse ¶
PgRestoreResponse swagger:model
type PgbasebackupRestoreRequest ¶
type PgbasebackupRestoreRequest struct { Namespace string FromCluster string ToPVC string FromPVC string BackupPath string NodeLabel string }
PgbasebackupRestoreRequest ... swagger:model
type PgbasebackupRestoreResponse ¶
PgbasebackupRestoreResponse ... swagger:model
type PgoroleInfo ¶
PgroleInfo ... swagger:model
type PgouserInfo ¶
PgouserInfo ... swagger:model
type QueryFailoverRequest ¶
QueryFailoverRequest ... swagger:model
type QueryFailoverResponse ¶
type QueryFailoverResponse struct { Results []FailoverTargetSpec Status }
QueryFailoverResponse ... swagger:model
type ReloadRequest ¶
ReloadRequest ... swagger:model
type ReloadResponse ¶
ReloadResponse ... swagger:model
type RestoreRequest ¶
type RestoreRequest struct { Namespace string FromCluster string ToPVC string RestoreOpts string PITRTarget string NodeLabel string BackrestStorageType string }
RestoreRequest ... swagger:model
type RestoreResponse ¶
RestoreResponse ... swagger:model
type ScaleDownResponse ¶
ScaleDownResponse swagger:model
type ScaleQueryResponse ¶
type ScaleQueryResponse struct { Results []ScaleQueryTargetSpec Status }
ScaleQueryResponse swagger:model
type ScaleQueryTargetSpec ¶
type ScaleQueryTargetSpec struct { Name string // the name of the PostgreSQL instance Node string // the node that the instance is running on ReplicationLag int // how far behind the instance is behind the primary, in MB Status string // the current status of the instance Timeline int // the timeline the replica is on; timelines are adjusted after failover events }
ScaleQueryTargetSpec swagger:model
type ShowBackrestDetail ¶
ShowBackrestDetail ... swagger:model
type ShowBackrestResponse ¶
type ShowBackrestResponse struct { Items []ShowBackrestDetail Status }
ShowBackrestResponse ... swagger:model
type ShowBackupResponse ¶
type ShowBackupResponse struct { BackupList crv1.PgbackupList Status }
ShowBackupResponse ... swagger:model
type ShowBenchmarkRequest ¶
type ShowBenchmarkRequest struct { Args []string Namespace string ClusterName string Selector string }
ShowBenchmarkRequest ... swagger:model
func (ShowBenchmarkRequest) Validate ¶
func (s ShowBenchmarkRequest) Validate() error
type ShowBenchmarkResponse ¶
ShowBenchmarkResponse swagger:model
type ShowClusterDetail ¶
type ShowClusterDetail struct { // Defines the Cluster using a Crunchy Pgcluster crd Cluster crv1.Pgcluster `json:"cluster"` Deployments []ShowClusterDeployment Pods []ShowClusterPod Services []ShowClusterService Replicas []ShowClusterReplica }
ShowClusterDetail ...
swagger:model
type ShowClusterPod ¶
type ShowClusterPod struct { Name string Phase string NodeName string PVCName map[string]string ReadyStatus string Ready bool Primary bool Type string }
ShowClusterPod
swagger:model
type ShowClusterReplica ¶
type ShowClusterReplica struct {
Name string
}
ShowClusterReplica
swagger:model
type ShowClusterRequest ¶
type ShowClusterRequest struct { // Name of the cluster to show // required: true Clustername string `json:"clustername"` // Selector of the cluster to show Selector string `json:"selector"` // Image tag of the cluster Ccpimagetag string `json:"ccpimagetag"` // Version of API client // required: true ClientVersion string `json:"clientversion"` // Namespace to search // required: true Namespace string `json:"namespace"` // Shows all clusters AllFlag bool `json:"allflag"` }
ShowClusterRequest shows cluster
swagger:model
type ShowClusterResponse ¶
type ShowClusterResponse struct { // results from show cluster Results []ShowClusterDetail // status of response Status }
ShowClusterResponse ...
swagger:model
type ShowClusterService ¶
type ShowClusterService struct { Name string Data string ClusterIP string ExternalIP string ClusterName string Pgbouncer bool BackrestRepo bool }
ShowClusterService
swagger:model
type ShowConfigResponse ¶
ShowConfigResponse ... swagger:model
type ShowNamespaceRequest ¶
ShowNamespaceRequest ... swagger:model
type ShowNamespaceResponse ¶
type ShowNamespaceResponse struct { Username string Results []NamespaceResult Status }
ShowNamespaceResponse ... swagger:model
type ShowPVCRequest ¶
type ShowPVCRequest struct { ClusterName string Selector string ClientVersion string Namespace string AllFlag bool }
ShowPVCRequest ... swagger:model
type ShowPVCResponse ¶
type ShowPVCResponse struct { Results []ShowPVCResponseResult Status }
ShowPVCResponse ... swagger:model
type ShowPVCResponseResult ¶
ShowPVCResponseResult contains a semi structured result of information about a PVC in a cluster
type ShowPgoroleRequest ¶
type ShowPgoroleRequest struct { Namespace string AllFlag bool ClientVersion string PgoroleName []string }
ShowPgoroleRequest ... swagger:model
type ShowPgoroleResponse ¶
type ShowPgoroleResponse struct { RoleInfo []PgoroleInfo Status }
ShowPgoroleResponse ... swagger:model
type ShowPgouserRequest ¶
type ShowPgouserRequest struct { Namespace string AllFlag bool ClientVersion string PgouserName []string }
ShowPgouserRequest ... swagger:model
type ShowPgouserResponse ¶
type ShowPgouserResponse struct { UserInfo []PgouserInfo Status }
ShowPgouserResponse ... swagger:model
type ShowPolicyRequest ¶
type ShowPolicyRequest struct { Selector string Namespace string AllFlag bool ClientVersion string Policyname string }
ShowPolicyRequest ... swagger:model
type ShowPolicyResponse ¶
type ShowPolicyResponse struct { PolicyList crv1.PgpolicyList Status }
ShowPolicyResponse ... swagger:model
type ShowScheduleRequest ¶
type ShowScheduleRequest struct { Namespace string ScheduleName string ClusterName string Selector string }
ShowScheduleRequest ... swagger:model
type ShowScheduleResponse ¶
ShowSchewduleResponse ... swagger:model
type ShowUserDetail ¶
type ShowUserDetail struct { Cluster crv1.Pgcluster Secrets []ShowUserSecret ExpiredOutput bool ExpiredDays int ExpiredMsgs []string }
ShowUsersDetail ... swagger:model
type ShowUserRequest ¶
type ShowUserRequest struct { Clusters []string AllFlag bool ClientVersion string Selector string Namespace string Expired string }
ShowUserRequest ... swagger:model
type ShowUserResponse ¶
type ShowUserResponse struct { Results []ShowUserDetail Status }
ShowUsersResponse ... swagger:model
type ShowUserSecret ¶
ShowUserSecret swagger:model
type ShowWorkflowDetail ¶
ShowWorkflowDetail ... swagger:model
type ShowWorkflowResponse ¶
type ShowWorkflowResponse struct { Results ShowWorkflowDetail Status }
ShowWorkflowResponse ... swagger:model
type ShowpgDumpDetail ¶
ShowpgDumpDetail swagger:model
type StatusDetail ¶
type StatusDetail struct { OperatorStartTime string NumDatabases int NumClaims int VolumeCap string DbTags map[string]int NotReady []string Nodes []NodeInfo Labels []KeyValue }
StatusDetail ... this aggregated status comes from the pgo-status container by means of a volume mounted json blob it generates swagger:model
type StatusResponse ¶
type StatusResponse struct { Result StatusDetail Status }
ShowClusterResponse ... swagger:model
type UpdateClusterAutofailStatus ¶
type UpdateClusterAutofailStatus int
set the types for updating the Autofail status
const ( UpdateClusterAutofailDoNothing UpdateClusterAutofailStatus = iota UpdateClusterAutofailEnable UpdateClusterAutofailDisable )
set the different values around updating the autofail configuration
type UpdateClusterRequest ¶
type UpdateClusterRequest struct { Clustername []string Selector string // Version of API client // required: true ClientVersion string Namespace string AllFlag bool Autofail UpdateClusterAutofailStatus }
UpdateClusterRequest ... swagger:model
type UpdateClusterResponse ¶
UpdateClusterResponse ... swagger:model
type UpdateNamespaceRequest ¶
UpdateNamespaceRequest ... swagger:model
type UpdateNamespaceResponse ¶
UpdateNamespaceResponse ... swagger:model
type UpdatePgoroleRequest ¶
type UpdatePgoroleRequest struct { Name string PgorolePermissions string PgoroleName string ChangePermissions bool Namespace string ClientVersion string }
UpdatePgoroleRequest ... swagger:model
type UpdatePgoroleResponse ¶
type UpdatePgoroleResponse struct {
Status
}
ApplyPgoroleResponse ... swagger:model
type UpdatePgouserRequest ¶
type UpdatePgouserRequest struct { Name string PgouserRoles string PgouserNamespaces string AllNamespaces bool PgouserPassword string PgouserName string Namespace string ClientVersion string }
UpdatePgouserRequest ... swagger:model
type UpdatePgouserResponse ¶
type UpdatePgouserResponse struct {
Status
}
ApplyPgouserResponse ... swagger:model
type UpdateUserRequest ¶
type UpdateUserRequest struct { Clusters []string Selector string AllFlag bool ExpireUser bool Namespace string PasswordAgeDays int PasswordAgeDaysUpdate bool Username string Password string DeleteUser string ValidDays string UserDBAccess string AddUser string Expired string ManagedUser bool ClientVersion string PasswordLength int }
UpdateUserRequest ... swagger:model
type UpdateUserResponse ¶
UpdateUserResponse ... swagger:model
type VersionResponse ¶
VersionResponse ... swagger:model
type WatchRequest ¶
WatchRequest ... swagger:model
type WatchResponse ¶
WatchResponse ... swagger:model
Source Files ¶
- backrestmsgs.go
- backupmsgs.go
- benchmarkmsgs.go
- catmsgs.go
- clonemsgs.go
- clustermsgs.go
- common.go
- configmsgs.go
- dfmsgs.go
- failovermsgs.go
- labelmsgs.go
- loadmsgs.go
- lsmsgs.go
- namespacemsgs.go
- pgbouncermsgs.go
- pgdumpmsgs.go
- pgorolemsgs.go
- pgousermsgs.go
- policymsgs.go
- pvcmsgs.go
- reloadmsgs.go
- schedulemsgs.go
- statusmsgs.go
- upgrademsgs.go
- usermsgs.go
- versionmsgs.go
- watchmsgs.go
- workflowmsgs.go