Documentation
¶
Overview ¶
List of APIs:
- [accountApi.createAccount]
- [accountApi.deleteAccount]
- [accountApi.getDSN]
- [accountApi.listAccounts]
- [accountApi.updateAccount]
- [accountApi.updateAccountPrivileges]
- [alertConfigApi.getAlertConfig]
- [alertConfigApi.setAlertConfig]
- [alertInhibitApi.createAlertInhibit]
- [alertInhibitApi.deleteAlertInhibit]
- [alertInhibitApi.getAlertInhibit]
- [alertInhibitApi.listAlertInhibits]
- [alertInhibitApi.patchAlertInhibit]
- [alertMetricsApi.listAlertMetrics]
- [alertObjectApi.listAlertObjects]
- [alertObjectApi.setAlertObjectStatus]
- [alertObjectApi.setAlertObjectsStatus]
- [alertReceiverApi.createAlertReceiver]
- [alertReceiverApi.deleteAlertReceiver]
- [alertReceiverApi.getAlertReceiver]
- [alertReceiverApi.listAlertReceivers]
- [alertReceiverApi.patchAlertReceiver]
- [alertRuleApi.createAlertRule]
- [alertRuleApi.deleteAlertRule]
- [alertRuleApi.getAlertRule]
- [alertRuleApi.listAlertRules]
- [alertRuleApi.updateAlertRule]
- [alertStrategyApi.createAlertStrategy]
- [alertStrategyApi.deleteAlertStrategy]
- [alertStrategyApi.listAlertStrategies]
- [alertStrategyApi.patchAlertStrategy]
- [alertStrategyApi.updateAlertStrategy]
- [analyzeApi.analyzeBackup]
- [analyzeApi.analyzeClusterParam]
- [analyzeApi.analyzeClusterRestore]
- [analyzeApi.analyzeLogs]
- [analyzeApi.analyzeOps]
- [analyzeApi.analyzeParam]
- [analyzeApi.analyzeService]
- [analyzeApi.analyzeSlowLogs]
- [analyzeApi.analyzeView]
- [autohealingApi.getAutohealing]
- [backupApi.createClusterBackup]
- [backupApi.deleteBackup]
- [backupApi.downloadBackup]
- [backupApi.downloadMutipleBackups]
- [backupApi.getBackup]
- [backupApi.getBackupLog]
- [backupApi.getBackupStats]
- [backupApi.getClusterBackupPolicy]
- [backupApi.listBackups]
- [backupApi.patchBackupPolicy]
- [backupApi.viewBackup]
- [backupRepoApi.deleteBackupRepo]
- [backupRepoApi.getBackupRepo]
- [backupRepoApi.listBackupRepos]
- [backupRepoApi.updateBackupRepo]
- [benchmarkApi.createPgbench]
- [benchmarkApi.createSysbench]
- [benchmarkApi.createTpcc]
- [benchmarkApi.createYcsb]
- [benchmarkApi.deleteBenchmark]
- [benchmarkApi.getBenchmark]
- [benchmarkApi.listBenchmark]
- [classApi.createClass]
- [classApi.deleteClass]
- [classApi.listClasses]
- [classApi.patchClass]
- [clusterApi.createCluster]
- [clusterApi.deleteCluster]
- [clusterApi.describeClusterHaHistory]
- [clusterApi.getCluster]
- [clusterApi.getClusterByID]
- [clusterApi.getClusterInstanceLog]
- [clusterApi.getClusterManifest]
- [clusterApi.getInstacesMetrics]
- [clusterApi.listCluster]
- [clusterApi.listEndpoints]
- [clusterApi.listInstance]
- [clusterApi.patchCluster]
- [clusterAlertSwitchApi.getClusterAlertDisabled]
- [clusterAlertSwitchApi.setClusterAlertDisabled]
- [clusterLogApi.queryAuditLogs]
- [clusterLogApi.queryErrorLogs]
- [clusterLogApi.queryPodLogs]
- [clusterLogApi.queryRunningLogs]
- [clusterLogApi.querySlowLogs]
- [databaseApi.createDatabase]
- [databaseApi.deleteDatabase]
- [databaseApi.listDatabases]
- [dmsApi.AlterVolumes]
- [dmsApi.CreateVolumes]
- [dmsApi.DataExport]
- [dmsApi.DataImport]
- [dmsApi.DropVolumes]
- [dmsApi.GetObjectInfo]
- [dmsApi.GetTaskList]
- [dmsApi.GetTaskProgress]
- [dmsApi.ListObjectNamesByType]
- [dmsApi.ListObjectTypesInSchema]
- [dmsApi.ListVolumes]
- [dmsApi.SetDefaultVolumes]
- [dmsApi.alterParameter]
- [dmsApi.closeSessions]
- [dmsApi.createDataSourceV2]
- [dmsApi.deleteDataSourceV2]
- [dmsApi.generateDDL]
- [dmsApi.getDataSourceV2]
- [dmsApi.getSchemaList]
- [dmsApi.listDataSourceV2]
- [dmsApi.listParameters]
- [dmsApi.listQueryHistory]
- [dmsApi.listSessions]
- [dmsApi.query]
- [dmsApi.showData]
- [dmsApi.sqlExplain]
- [dmsApi.tenantParameterHistory]
- [dmsApi.testDataSourceV2]
- [dmsApi.updateDataSourceV2]
- [engineApi.engineActionInOrg]
- [engineApi.listEnginesInEnv]
- [engineApi.listEnginesInOrg]
- [engineLicenseApi.listEngineLicenses]
- [engineOptionApi.ListUpgradeableServiceVersion]
- [engineOptionApi.getEngineOption]
- [engineOptionApi.listEngineOptions]
- [environmentApi.filterEnvironment]
- [environmentApi.getEnvironment]
- [environmentApi.listEnvNodeZone]
- [environmentApi.listEnvironment]
- [environmentApi.listNodeGroup]
- [eventApi.queryClusterEvents]
- [featureApi.listFeature]
- [featureApi.readFeature]
- [inspectionApi.createAutoInspection]
- [inspectionApi.createInspectionScript]
- [inspectionApi.deleteInspectionScript]
- [inspectionApi.listAutoInspection]
- [inspectionApi.listInspectionScripts]
- [inspectionApi.listInspections]
- [inspectionApi.updateAutoInspection]
- [inspectionApi.updateInspection]
- [inspectionApi.updateInspectionScript]
- [invitationApi.acceptInvitation]
- [invitationApi.createInvitation]
- [invitationApi.deleteInvitation]
- [invitationApi.listInvitation]
- [invitationApi.readInvitation]
- [invitationApi.rejectInvitation]
- [invitationApi.resendInvitation]
- [ipWhitelistApi.createIPWhitelist]
- [ipWhitelistApi.listIPWhitelist]
- [ipWhitelistApi.updateIPWhitelist]
- [loadBalancerApi.getLoadBalancer]
- [markClusterApi.markClusterRestoreCompleted]
- [memberApi.addOrgMember]
- [memberApi.deleteOrgMember]
- [memberApi.listOrgMember]
- [memberApi.listOrgMemberPermission]
- [memberApi.patchOrgMember]
- [memberApi.readOrgMember]
- [metricsApi.queryClusterMetrics]
- [oceanbaseApi.getTenant]
- [oceanbaseApi.listTenants]
- [opsrequestApi.cancelOps]
- [opsrequestApi.clusterVolumeExpand]
- [opsrequestApi.customOps]
- [opsrequestApi.exposeCluster]
- [opsrequestApi.horizontalScaleCluster]
- [opsrequestApi.promoteCluster]
- [opsrequestApi.rebuildInstance]
- [opsrequestApi.reconfigureCluster]
- [opsrequestApi.restartCluster]
- [opsrequestApi.startCluster]
- [opsrequestApi.stopCluster]
- [opsrequestApi.updateClusterLicense]
- [opsrequestApi.upgradeCluster]
- [opsrequestApi.verticalScaleCluster]
- [organizationApi.createOrg]
- [organizationApi.freezeMember]
- [organizationApi.listOrg]
- [organizationApi.patchOrg]
- [organizationApi.readOrg]
- [organizationApi.unfreezeMember]
- [paramTplApi.createParamTpl]
- [paramTplApi.createParamTplFromCluster]
- [paramTplApi.deleteParamTpl]
- [paramTplApi.getClusterParamTpls]
- [paramTplApi.listParamTpl]
- [paramTplApi.patchParamTpl]
- [paramTplApi.readParamTpl]
- [parameterApi.listConfigurations]
- [parameterApi.listParameterSpecs]
- [parameterApi.listParametersHistory]
- [providerApi.getCloudProvider]
- [providerApi.listCloudProviders]
- [recycleBinClusterApi.deleteRecycleBinCluster]
- [recycleBinClusterApi.getRecycleBinCluster]
- [recycleBinClusterApi.listRecycleBinCluster]
- [recycleBinClusterApi.restoreRecycleBinCluster]
- [regionApi.getRegion]
- [regionApi.listRegions]
- [restoreApi.GetRestoreLog]
- [restoreApi.deleteRestoreObject]
- [restoreApi.doRestore]
- [restoreApi.getRestoreTimeRange]
- [restoreApi.listClusterRestore]
- [restoreApi.listRestores]
- [restoreApi.restoreCluster]
- [roleApi.batchAddRolePermissions]
- [roleApi.batchRemoveRolePermissions]
- [roleApi.createRole]
- [roleApi.deleteRoleByName]
- [roleApi.getRoleByName]
- [roleApi.listPermissions]
- [roleApi.listRolePermissions]
- [roleApi.listRoles]
- [roleApi.updateRoleByName]
- [serviceVersionApi.ListServiceVersion]
- [sqlEditorApi.runSQLOnCluster]
- [storageClassApi.getStorageClassStats]
- [tagApi.createTag]
- [tagApi.deleteTags]
- [tagApi.getTags]
- [tagApi.listOrgTags]
- [tagApi.updateTag]
- [tlsApi.getTLSCertificate]
- [tlsApi.tlsSwitcher]
- [userApi.createUserApikey]
- [userApi.deleteApikey]
- [userApi.patchAPIkey]
- [userApi.patchUser]
- [userApi.phoneVerification]
- [userApi.readUser]
- [userApi.readUserApikeys]
- [userApi.sendVerificationEmail]
- [userApi.updateUserPassword]
- [viewApi.getTreeView]
- [viewApi.getViewByCluster]
- [whitelistApi.deleteIPWhiteList]
- [zoneApi.getZones]
- [zoneApi.listZones]
Index ¶
- type APIErrorResponse
- func (o *APIErrorResponse) GetCode() int32
- func (o *APIErrorResponse) GetCodeOk() (*int32, bool)
- func (o *APIErrorResponse) GetMessage() string
- func (o *APIErrorResponse) GetMessageOk() (*string, bool)
- func (o *APIErrorResponse) GetReason() string
- func (o *APIErrorResponse) GetReasonOk() (*string, bool)
- func (o *APIErrorResponse) HasMessage() bool
- func (o *APIErrorResponse) HasReason() bool
- func (o APIErrorResponse) MarshalJSON() ([]byte, error)
- func (o *APIErrorResponse) SetCode(v int32)
- func (o *APIErrorResponse) SetMessage(v string)
- func (o *APIErrorResponse) SetReason(v string)
- func (o *APIErrorResponse) UnmarshalJSON(bytes []byte) (err error)
- type Account
- func (o *Account) GetComponent() string
- func (o *Account) GetComponentOk() (*string, bool)
- func (o *Account) GetInstance() string
- func (o *Account) GetInstanceOk() (*string, bool)
- func (o *Account) GetName() string
- func (o *Account) GetNameOk() (*string, bool)
- func (o *Account) GetPassword() string
- func (o *Account) GetPasswordOk() (*string, bool)
- func (o *Account) GetPrivilegesList() []PrivilegeListItem
- func (o *Account) GetPrivilegesListOk() (*[]PrivilegeListItem, bool)
- func (o *Account) GetRole() AccountRoleType
- func (o *Account) GetRoleOk() (*AccountRoleType, bool)
- func (o *Account) HasComponent() bool
- func (o *Account) HasInstance() bool
- func (o *Account) HasPassword() bool
- func (o *Account) HasPrivilegesList() bool
- func (o Account) MarshalJSON() ([]byte, error)
- func (o *Account) SetComponent(v string)
- func (o *Account) SetInstance(v string)
- func (o *Account) SetName(v string)
- func (o *Account) SetPassword(v string)
- func (o *Account) SetPrivilegesList(v []PrivilegeListItem)
- func (o *Account) SetRole(v AccountRoleType)
- func (o *Account) UnmarshalJSON(bytes []byte) (err error)
- type AccountApi
- func (a *AccountApi) CreateAccount(ctx _context.Context, orgName string, clusterName string, body Account) (*_nethttp.Response, error)
- func (a *AccountApi) DeleteAccount(ctx _context.Context, orgName string, clusterName string, accountName string) (*_nethttp.Response, error)
- func (a *AccountApi) GetDSN(ctx _context.Context, orgName string, clusterName string, accountName string) (string, *_nethttp.Response, error)
- func (a *AccountApi) ListAccounts(ctx _context.Context, orgName string, clusterName string, ...) ([]AccountListItem, *_nethttp.Response, error)
- func (a *AccountApi) UpdateAccount(ctx _context.Context, orgName string, clusterName string, accountName string, ...) (*_nethttp.Response, error)
- func (a *AccountApi) UpdateAccountPrivileges(ctx _context.Context, orgName string, clusterName string, accountName string, ...) (*_nethttp.Response, error)
- type AccountListItem
- func (o *AccountListItem) GetComponent() string
- func (o *AccountListItem) GetComponentOk() (*string, bool)
- func (o *AccountListItem) GetName() string
- func (o *AccountListItem) GetNameOk() (*string, bool)
- func (o *AccountListItem) GetPassword() string
- func (o *AccountListItem) GetPasswordOk() (*string, bool)
- func (o *AccountListItem) GetPrivilegesList() []PrivilegeListItem
- func (o *AccountListItem) GetPrivilegesListOk() (*[]PrivilegeListItem, bool)
- func (o *AccountListItem) GetRole() AccountListRoleType
- func (o *AccountListItem) GetRoleOk() (*AccountListRoleType, bool)
- func (o *AccountListItem) HasComponent() bool
- func (o *AccountListItem) HasPassword() bool
- func (o *AccountListItem) HasPrivilegesList() bool
- func (o *AccountListItem) HasRole() bool
- func (o AccountListItem) MarshalJSON() ([]byte, error)
- func (o *AccountListItem) SetComponent(v string)
- func (o *AccountListItem) SetName(v string)
- func (o *AccountListItem) SetPassword(v string)
- func (o *AccountListItem) SetPrivilegesList(v []PrivilegeListItem)
- func (o *AccountListItem) SetRole(v AccountListRoleType)
- func (o *AccountListItem) UnmarshalJSON(bytes []byte) (err error)
- type AccountListRoleType
- type AccountOption
- func (o *AccountOption) GetAccountNamePattern() string
- func (o *AccountOption) GetAccountNamePatternOk() (*string, bool)
- func (o *AccountOption) GetCreate() bool
- func (o *AccountOption) GetCreateOk() (*bool, bool)
- func (o *AccountOption) GetDelete() bool
- func (o *AccountOption) GetDeleteOk() (*bool, bool)
- func (o *AccountOption) GetEnabled() bool
- func (o *AccountOption) GetEnabledOk() (*bool, bool)
- func (o *AccountOption) GetPrivileges() []string
- func (o *AccountOption) GetPrivilegesOk() (*[]string, bool)
- func (o *AccountOption) GetResetPassword() bool
- func (o *AccountOption) GetResetPasswordOk() (*bool, bool)
- func (o AccountOption) MarshalJSON() ([]byte, error)
- func (o *AccountOption) SetAccountNamePattern(v string)
- func (o *AccountOption) SetCreate(v bool)
- func (o *AccountOption) SetDelete(v bool)
- func (o *AccountOption) SetEnabled(v bool)
- func (o *AccountOption) SetPrivileges(v []string)
- func (o *AccountOption) SetResetPassword(v bool)
- func (o *AccountOption) UnmarshalJSON(bytes []byte) (err error)
- type AccountRoleType
- type AlertCluster
- type AlertConfig
- type AlertConfigApi
- type AlertInhibit
- func (o *AlertInhibit) GetDescription() string
- func (o *AlertInhibit) GetDescriptionOk() (*string, bool)
- func (o *AlertInhibit) GetEqual() []string
- func (o *AlertInhibit) GetEqualOk() (*[]string, bool)
- func (o *AlertInhibit) GetId() int32
- func (o *AlertInhibit) GetIdOk() (*int32, bool)
- func (o *AlertInhibit) GetName() string
- func (o *AlertInhibit) GetNameOk() (*string, bool)
- func (o *AlertInhibit) GetOrgName() string
- func (o *AlertInhibit) GetOrgNameOk() (*string, bool)
- func (o *AlertInhibit) GetSourceMatch() map[string][]string
- func (o *AlertInhibit) GetSourceMatchOk() (*map[string][]string, bool)
- func (o *AlertInhibit) GetTargetMatch() map[string][]string
- func (o *AlertInhibit) GetTargetMatchOk() (*map[string][]string, bool)
- func (o *AlertInhibit) HasDescription() bool
- func (o *AlertInhibit) HasEqual() bool
- func (o *AlertInhibit) HasId() bool
- func (o *AlertInhibit) HasName() bool
- func (o *AlertInhibit) HasOrgName() bool
- func (o *AlertInhibit) HasSourceMatch() bool
- func (o *AlertInhibit) HasTargetMatch() bool
- func (o AlertInhibit) MarshalJSON() ([]byte, error)
- func (o *AlertInhibit) SetDescription(v string)
- func (o *AlertInhibit) SetEqual(v []string)
- func (o *AlertInhibit) SetId(v int32)
- func (o *AlertInhibit) SetName(v string)
- func (o *AlertInhibit) SetOrgName(v string)
- func (o *AlertInhibit) SetSourceMatch(v map[string][]string)
- func (o *AlertInhibit) SetTargetMatch(v map[string][]string)
- func (o *AlertInhibit) UnmarshalJSON(bytes []byte) (err error)
- type AlertInhibitApi
- func (a *AlertInhibitApi) CreateAlertInhibit(ctx _context.Context, orgName string, ...) (AlertInhibit, *_nethttp.Response, error)
- func (a *AlertInhibitApi) DeleteAlertInhibit(ctx _context.Context, orgName string, inhibitId string) (interface{}, *_nethttp.Response, error)
- func (a *AlertInhibitApi) GetAlertInhibit(ctx _context.Context, orgName string, inhibitId string) (AlertInhibit, *_nethttp.Response, error)
- func (a *AlertInhibitApi) ListAlertInhibits(ctx _context.Context, orgName string) (AlertInhibitList, *_nethttp.Response, error)
- func (a *AlertInhibitApi) PatchAlertInhibit(ctx _context.Context, orgName string, o ...PatchAlertInhibitOptionalParameters) (AlertInhibit, *_nethttp.Response, error)
- type AlertInhibitList
- func (o *AlertInhibitList) GetItems() []AlertInhibit
- func (o *AlertInhibitList) GetItemsOk() (*[]AlertInhibit, bool)
- func (o *AlertInhibitList) GetPageResult() PageResult
- func (o *AlertInhibitList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertInhibitList) HasPageResult() bool
- func (o AlertInhibitList) MarshalJSON() ([]byte, error)
- func (o *AlertInhibitList) SetItems(v []AlertInhibit)
- func (o *AlertInhibitList) SetPageResult(v PageResult)
- func (o *AlertInhibitList) UnmarshalJSON(bytes []byte) (err error)
- type AlertMetric
- func (o *AlertMetric) GetCategory() string
- func (o *AlertMetric) GetCategoryOk() (*string, bool)
- func (o *AlertMetric) GetKey() string
- func (o *AlertMetric) GetKeyOk() (*string, bool)
- func (o *AlertMetric) GetNotation() string
- func (o *AlertMetric) GetNotationOk() (*string, bool)
- func (o *AlertMetric) GetThreshold() int32
- func (o *AlertMetric) GetThresholdOk() (*int32, bool)
- func (o *AlertMetric) HasCategory() bool
- func (o AlertMetric) MarshalJSON() ([]byte, error)
- func (o *AlertMetric) SetCategory(v string)
- func (o *AlertMetric) SetKey(v string)
- func (o *AlertMetric) SetNotation(v string)
- func (o *AlertMetric) SetThreshold(v int32)
- func (o *AlertMetric) UnmarshalJSON(bytes []byte) (err error)
- type AlertMetricList
- func (o *AlertMetricList) GetItems() []AlertMetric
- func (o *AlertMetricList) GetItemsOk() (*[]AlertMetric, bool)
- func (o *AlertMetricList) GetPageResult() PageResult
- func (o *AlertMetricList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertMetricList) HasPageResult() bool
- func (o AlertMetricList) MarshalJSON() ([]byte, error)
- func (o *AlertMetricList) SetItems(v []AlertMetric)
- func (o *AlertMetricList) SetPageResult(v PageResult)
- func (o *AlertMetricList) UnmarshalJSON(bytes []byte) (err error)
- type AlertMetricsApi
- type AlertObject
- func (o *AlertObject) GetAlertName() string
- func (o *AlertObject) GetAlertNameOk() (*string, bool)
- func (o *AlertObject) GetClusterName() string
- func (o *AlertObject) GetClusterNameOk() (*string, bool)
- func (o *AlertObject) GetCount() int32
- func (o *AlertObject) GetCountOk() (*int32, bool)
- func (o *AlertObject) GetDescription() string
- func (o *AlertObject) GetDescriptionOk() (*string, bool)
- func (o *AlertObject) GetEndsAt() time.Time
- func (o *AlertObject) GetEndsAtOk() (*time.Time, bool)
- func (o *AlertObject) GetEngine() string
- func (o *AlertObject) GetEngineOk() (*string, bool)
- func (o *AlertObject) GetExpr() string
- func (o *AlertObject) GetExprOk() (*string, bool)
- func (o *AlertObject) GetFingerprint() string
- func (o *AlertObject) GetFingerprintOk() (*string, bool)
- func (o *AlertObject) GetGroupName() string
- func (o *AlertObject) GetGroupNameOk() (*string, bool)
- func (o *AlertObject) GetId() int32
- func (o *AlertObject) GetIdOk() (*int32, bool)
- func (o *AlertObject) GetNamespace() string
- func (o *AlertObject) GetNamespaceOk() (*string, bool)
- func (o *AlertObject) GetOrgName() string
- func (o *AlertObject) GetOrgNameOk() (*string, bool)
- func (o *AlertObject) GetPod() string
- func (o *AlertObject) GetPodOk() (*string, bool)
- func (o *AlertObject) GetSeverity() AlertSeverity
- func (o *AlertObject) GetSeverityOk() (*AlertSeverity, bool)
- func (o *AlertObject) GetStartsAt() time.Time
- func (o *AlertObject) GetStartsAtOk() (*time.Time, bool)
- func (o *AlertObject) GetStatus() AlertStatus
- func (o *AlertObject) GetStatusOk() (*AlertStatus, bool)
- func (o *AlertObject) HasAlertName() bool
- func (o *AlertObject) HasClusterName() bool
- func (o *AlertObject) HasCount() bool
- func (o *AlertObject) HasDescription() bool
- func (o *AlertObject) HasEndsAt() bool
- func (o *AlertObject) HasEngine() bool
- func (o *AlertObject) HasExpr() bool
- func (o *AlertObject) HasFingerprint() bool
- func (o *AlertObject) HasGroupName() bool
- func (o *AlertObject) HasId() bool
- func (o *AlertObject) HasNamespace() bool
- func (o *AlertObject) HasOrgName() bool
- func (o *AlertObject) HasPod() bool
- func (o *AlertObject) HasSeverity() bool
- func (o *AlertObject) HasStartsAt() bool
- func (o *AlertObject) HasStatus() bool
- func (o AlertObject) MarshalJSON() ([]byte, error)
- func (o *AlertObject) SetAlertName(v string)
- func (o *AlertObject) SetClusterName(v string)
- func (o *AlertObject) SetCount(v int32)
- func (o *AlertObject) SetDescription(v string)
- func (o *AlertObject) SetEndsAt(v time.Time)
- func (o *AlertObject) SetEngine(v string)
- func (o *AlertObject) SetExpr(v string)
- func (o *AlertObject) SetFingerprint(v string)
- func (o *AlertObject) SetGroupName(v string)
- func (o *AlertObject) SetId(v int32)
- func (o *AlertObject) SetNamespace(v string)
- func (o *AlertObject) SetOrgName(v string)
- func (o *AlertObject) SetPod(v string)
- func (o *AlertObject) SetSeverity(v AlertSeverity)
- func (o *AlertObject) SetStartsAt(v time.Time)
- func (o *AlertObject) SetStatus(v AlertStatus)
- func (o *AlertObject) UnmarshalJSON(bytes []byte) (err error)
- type AlertObjectApi
- func (a *AlertObjectApi) ListAlertObjects(ctx _context.Context, orgName string) (AlertObjectList, *_nethttp.Response, error)
- func (a *AlertObjectApi) SetAlertObjectStatus(ctx _context.Context, orgName string, alertId string, status string) (AlertObject, *_nethttp.Response, error)
- func (a *AlertObjectApi) SetAlertObjectsStatus(ctx _context.Context, orgName string, status string, ...) (AlertObjectList, *_nethttp.Response, error)
- type AlertObjectList
- func (o *AlertObjectList) GetItems() []AlertObject
- func (o *AlertObjectList) GetItemsOk() (*[]AlertObject, bool)
- func (o *AlertObjectList) GetPageResult() PageResult
- func (o *AlertObjectList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertObjectList) HasPageResult() bool
- func (o AlertObjectList) MarshalJSON() ([]byte, error)
- func (o *AlertObjectList) SetItems(v []AlertObject)
- func (o *AlertObjectList) SetPageResult(v PageResult)
- func (o *AlertObjectList) UnmarshalJSON(bytes []byte) (err error)
- type AlertReceiver
- func (o *AlertReceiver) GetCategory() AlertReceiverCategory
- func (o *AlertReceiver) GetCategoryOk() (*AlertReceiverCategory, bool)
- func (o *AlertReceiver) GetCreatedAt() time.Time
- func (o *AlertReceiver) GetCreatedAtOk() (*time.Time, bool)
- func (o *AlertReceiver) GetId() string
- func (o *AlertReceiver) GetIdOk() (*string, bool)
- func (o *AlertReceiver) GetName() string
- func (o *AlertReceiver) GetNameOk() (*string, bool)
- func (o *AlertReceiver) GetOrgName() string
- func (o *AlertReceiver) GetOrgNameOk() (*string, bool)
- func (o *AlertReceiver) GetUpdatedAt() time.Time
- func (o *AlertReceiver) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AlertReceiver) GetUserGroup() AlertReceiverUserGroup
- func (o *AlertReceiver) GetUserGroupOk() (*AlertReceiverUserGroup, bool)
- func (o *AlertReceiver) GetWebhookConfig() WebhookConfig
- func (o *AlertReceiver) GetWebhookConfigOk() (*WebhookConfig, bool)
- func (o *AlertReceiver) HasCategory() bool
- func (o *AlertReceiver) HasCreatedAt() bool
- func (o *AlertReceiver) HasId() bool
- func (o *AlertReceiver) HasName() bool
- func (o *AlertReceiver) HasOrgName() bool
- func (o *AlertReceiver) HasUpdatedAt() bool
- func (o *AlertReceiver) HasUserGroup() bool
- func (o *AlertReceiver) HasWebhookConfig() bool
- func (o AlertReceiver) MarshalJSON() ([]byte, error)
- func (o *AlertReceiver) SetCategory(v AlertReceiverCategory)
- func (o *AlertReceiver) SetCreatedAt(v time.Time)
- func (o *AlertReceiver) SetId(v string)
- func (o *AlertReceiver) SetName(v string)
- func (o *AlertReceiver) SetOrgName(v string)
- func (o *AlertReceiver) SetUpdatedAt(v time.Time)
- func (o *AlertReceiver) SetUserGroup(v AlertReceiverUserGroup)
- func (o *AlertReceiver) SetWebhookConfig(v WebhookConfig)
- func (o *AlertReceiver) UnmarshalJSON(bytes []byte) (err error)
- type AlertReceiverApi
- func (a *AlertReceiverApi) CreateAlertReceiver(ctx _context.Context, orgName string, category AlertReceiverCategory, ...) (AlertReceiver, *_nethttp.Response, error)
- func (a *AlertReceiverApi) DeleteAlertReceiver(ctx _context.Context, orgName string, receiverId string) (*_nethttp.Response, error)
- func (a *AlertReceiverApi) GetAlertReceiver(ctx _context.Context, orgName string, receiverId string) (AlertReceiver, *_nethttp.Response, error)
- func (a *AlertReceiverApi) ListAlertReceivers(ctx _context.Context, orgName string, ...) (AlertReceiverList, *_nethttp.Response, error)
- func (a *AlertReceiverApi) PatchAlertReceiver(ctx _context.Context, orgName string, receiverId string, body AlertReceiver) (AlertReceiver, *_nethttp.Response, error)
- type AlertReceiverCategory
- type AlertReceiverList
- func (o *AlertReceiverList) GetItems() []AlertReceiver
- func (o *AlertReceiverList) GetItemsOk() (*[]AlertReceiver, bool)
- func (o *AlertReceiverList) GetPageResult() PageResult
- func (o *AlertReceiverList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertReceiverList) HasPageResult() bool
- func (o AlertReceiverList) MarshalJSON() ([]byte, error)
- func (o *AlertReceiverList) SetItems(v []AlertReceiver)
- func (o *AlertReceiverList) SetPageResult(v PageResult)
- func (o *AlertReceiverList) UnmarshalJSON(bytes []byte) (err error)
- type AlertReceiverUserGroup
- func (o *AlertReceiverUserGroup) GetEmailEnabled() bool
- func (o *AlertReceiverUserGroup) GetEmailEnabledOk() (*bool, bool)
- func (o *AlertReceiverUserGroup) GetIds() []string
- func (o *AlertReceiverUserGroup) GetIdsOk() (*[]string, bool)
- func (o *AlertReceiverUserGroup) GetSmsEnabled() bool
- func (o *AlertReceiverUserGroup) GetSmsEnabledOk() (*bool, bool)
- func (o *AlertReceiverUserGroup) HasEmailEnabled() bool
- func (o *AlertReceiverUserGroup) HasIds() bool
- func (o *AlertReceiverUserGroup) HasSmsEnabled() bool
- func (o AlertReceiverUserGroup) MarshalJSON() ([]byte, error)
- func (o *AlertReceiverUserGroup) SetEmailEnabled(v bool)
- func (o *AlertReceiverUserGroup) SetIds(v []string)
- func (o *AlertReceiverUserGroup) SetSmsEnabled(v bool)
- func (o *AlertReceiverUserGroup) UnmarshalJSON(bytes []byte) (err error)
- type AlertRule
- func (o *AlertRule) GetAlertName() string
- func (o *AlertRule) GetAlertNameOk() (*string, bool)
- func (o *AlertRule) GetCreatedAt() time.Time
- func (o *AlertRule) GetCreatedAtOk() (*time.Time, bool)
- func (o *AlertRule) GetDescription() string
- func (o *AlertRule) GetDescriptionOk() (*string, bool)
- func (o *AlertRule) GetDisabled() bool
- func (o *AlertRule) GetDisabledOk() (*bool, bool)
- func (o *AlertRule) GetExpr() string
- func (o *AlertRule) GetExprOk() (*string, bool)
- func (o *AlertRule) GetFor() string
- func (o *AlertRule) GetForOk() (*string, bool)
- func (o *AlertRule) GetGroupName() string
- func (o *AlertRule) GetGroupNameOk() (*string, bool)
- func (o *AlertRule) GetMetric() AlertMetric
- func (o *AlertRule) GetMetricOk() (*AlertMetric, bool)
- func (o *AlertRule) GetOrgName() string
- func (o *AlertRule) GetOrgNameOk() (*string, bool)
- func (o *AlertRule) GetSeverity() AlertSeverity
- func (o *AlertRule) GetSeverityOk() (*AlertSeverity, bool)
- func (o *AlertRule) GetSummary() string
- func (o *AlertRule) GetSummaryOk() (*string, bool)
- func (o *AlertRule) GetUpdatedAt() time.Time
- func (o *AlertRule) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AlertRule) HasCreatedAt() bool
- func (o *AlertRule) HasDescription() bool
- func (o *AlertRule) HasDisabled() bool
- func (o *AlertRule) HasExpr() bool
- func (o *AlertRule) HasFor() bool
- func (o *AlertRule) HasGroupName() bool
- func (o *AlertRule) HasMetric() bool
- func (o *AlertRule) HasOrgName() bool
- func (o *AlertRule) HasSeverity() bool
- func (o *AlertRule) HasSummary() bool
- func (o *AlertRule) HasUpdatedAt() bool
- func (o AlertRule) MarshalJSON() ([]byte, error)
- func (o *AlertRule) SetAlertName(v string)
- func (o *AlertRule) SetCreatedAt(v time.Time)
- func (o *AlertRule) SetDescription(v string)
- func (o *AlertRule) SetDisabled(v bool)
- func (o *AlertRule) SetExpr(v string)
- func (o *AlertRule) SetFor(v string)
- func (o *AlertRule) SetGroupName(v string)
- func (o *AlertRule) SetMetric(v AlertMetric)
- func (o *AlertRule) SetOrgName(v string)
- func (o *AlertRule) SetSeverity(v AlertSeverity)
- func (o *AlertRule) SetSummary(v string)
- func (o *AlertRule) SetUpdatedAt(v time.Time)
- func (o *AlertRule) UnmarshalJSON(bytes []byte) (err error)
- type AlertRuleApi
- func (a *AlertRuleApi) CreateAlertRule(ctx _context.Context, orgName string, body AlertRule) (AlertRule, *_nethttp.Response, error)
- func (a *AlertRuleApi) DeleteAlertRule(ctx _context.Context, orgName string, alertName string) (interface{}, *_nethttp.Response, error)
- func (a *AlertRuleApi) GetAlertRule(ctx _context.Context, orgName string, alertName string) (AlertRule, *_nethttp.Response, error)
- func (a *AlertRuleApi) ListAlertRules(ctx _context.Context, orgName string) (AlertRuleList, *_nethttp.Response, error)
- func (a *AlertRuleApi) UpdateAlertRule(ctx _context.Context, orgName string, alertName string, body AlertRule) (AlertRule, *_nethttp.Response, error)
- type AlertRuleGroup
- func (o *AlertRuleGroup) GetName() string
- func (o *AlertRuleGroup) GetNameOk() (*string, bool)
- func (o *AlertRuleGroup) GetRules() []AlertRule
- func (o *AlertRuleGroup) GetRulesOk() (*[]AlertRule, bool)
- func (o *AlertRuleGroup) HasName() bool
- func (o *AlertRuleGroup) HasRules() bool
- func (o AlertRuleGroup) MarshalJSON() ([]byte, error)
- func (o *AlertRuleGroup) SetName(v string)
- func (o *AlertRuleGroup) SetRules(v []AlertRule)
- func (o *AlertRuleGroup) UnmarshalJSON(bytes []byte) (err error)
- type AlertRuleList
- func (o *AlertRuleList) GetItems() []AlertRuleGroup
- func (o *AlertRuleList) GetItemsOk() (*[]AlertRuleGroup, bool)
- func (o *AlertRuleList) GetPageResult() PageResult
- func (o *AlertRuleList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertRuleList) HasPageResult() bool
- func (o AlertRuleList) MarshalJSON() ([]byte, error)
- func (o *AlertRuleList) SetItems(v []AlertRuleGroup)
- func (o *AlertRuleList) SetPageResult(v PageResult)
- func (o *AlertRuleList) UnmarshalJSON(bytes []byte) (err error)
- type AlertSeverity
- type AlertStatus
- type AlertStrategy
- func (o *AlertStrategy) GetClusters() []string
- func (o *AlertStrategy) GetClustersOk() (*[]string, bool)
- func (o *AlertStrategy) GetCreatedAt() time.Time
- func (o *AlertStrategy) GetCreatedAtOk() (*time.Time, bool)
- func (o *AlertStrategy) GetDescription() string
- func (o *AlertStrategy) GetDescriptionOk() (*string, bool)
- func (o *AlertStrategy) GetDisabled() bool
- func (o *AlertStrategy) GetDisabledOk() (*bool, bool)
- func (o *AlertStrategy) GetEngines() []string
- func (o *AlertStrategy) GetEnginesOk() (*[]string, bool)
- func (o *AlertStrategy) GetEnvs() []string
- func (o *AlertStrategy) GetEnvsOk() (*[]string, bool)
- func (o *AlertStrategy) GetId() int32
- func (o *AlertStrategy) GetIdOk() (*int32, bool)
- func (o *AlertStrategy) GetMuteTimeInterval() AlertStrategyMuteTimeInterval
- func (o *AlertStrategy) GetMuteTimeIntervalOk() (*AlertStrategyMuteTimeInterval, bool)
- func (o *AlertStrategy) GetName() string
- func (o *AlertStrategy) GetNameOk() (*string, bool)
- func (o *AlertStrategy) GetOrgName() string
- func (o *AlertStrategy) GetOrgNameOk() (*string, bool)
- func (o *AlertStrategy) GetReceiverIds() []int32
- func (o *AlertStrategy) GetReceiverIdsOk() (*[]int32, bool)
- func (o *AlertStrategy) GetReceivers() []AlertReceiver
- func (o *AlertStrategy) GetReceiversOk() (*[]AlertReceiver, bool)
- func (o *AlertStrategy) GetRepeatInterval() string
- func (o *AlertStrategy) GetRepeatIntervalOk() (*string, bool)
- func (o *AlertStrategy) GetRuleObjs() []AlertRule
- func (o *AlertStrategy) GetRuleObjsOk() (*[]AlertRule, bool)
- func (o *AlertStrategy) GetRules() []string
- func (o *AlertStrategy) GetRulesOk() (*[]string, bool)
- func (o *AlertStrategy) GetSeverities() []string
- func (o *AlertStrategy) GetSeveritiesOk() (*[]string, bool)
- func (o *AlertStrategy) GetUpdatedAt() time.Time
- func (o *AlertStrategy) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AlertStrategy) HasClusters() bool
- func (o *AlertStrategy) HasCreatedAt() bool
- func (o *AlertStrategy) HasDescription() bool
- func (o *AlertStrategy) HasDisabled() bool
- func (o *AlertStrategy) HasEngines() bool
- func (o *AlertStrategy) HasEnvs() bool
- func (o *AlertStrategy) HasId() bool
- func (o *AlertStrategy) HasMuteTimeInterval() bool
- func (o *AlertStrategy) HasName() bool
- func (o *AlertStrategy) HasOrgName() bool
- func (o *AlertStrategy) HasReceivers() bool
- func (o *AlertStrategy) HasRepeatInterval() bool
- func (o *AlertStrategy) HasRuleObjs() bool
- func (o *AlertStrategy) HasRules() bool
- func (o *AlertStrategy) HasSeverities() bool
- func (o *AlertStrategy) HasUpdatedAt() bool
- func (o AlertStrategy) MarshalJSON() ([]byte, error)
- func (o *AlertStrategy) SetClusters(v []string)
- func (o *AlertStrategy) SetCreatedAt(v time.Time)
- func (o *AlertStrategy) SetDescription(v string)
- func (o *AlertStrategy) SetDisabled(v bool)
- func (o *AlertStrategy) SetEngines(v []string)
- func (o *AlertStrategy) SetEnvs(v []string)
- func (o *AlertStrategy) SetId(v int32)
- func (o *AlertStrategy) SetMuteTimeInterval(v AlertStrategyMuteTimeInterval)
- func (o *AlertStrategy) SetName(v string)
- func (o *AlertStrategy) SetOrgName(v string)
- func (o *AlertStrategy) SetReceiverIds(v []int32)
- func (o *AlertStrategy) SetReceivers(v []AlertReceiver)
- func (o *AlertStrategy) SetRepeatInterval(v string)
- func (o *AlertStrategy) SetRuleObjs(v []AlertRule)
- func (o *AlertStrategy) SetRules(v []string)
- func (o *AlertStrategy) SetSeverities(v []string)
- func (o *AlertStrategy) SetUpdatedAt(v time.Time)
- func (o *AlertStrategy) UnmarshalJSON(bytes []byte) (err error)
- type AlertStrategyApi
- func (a *AlertStrategyApi) CreateAlertStrategy(ctx _context.Context, orgName string, body AlertStrategy) (AlertStrategy, *_nethttp.Response, error)
- func (a *AlertStrategyApi) DeleteAlertStrategy(ctx _context.Context, orgName string, strategyId string) (interface{}, *_nethttp.Response, error)
- func (a *AlertStrategyApi) ListAlertStrategies(ctx _context.Context, orgName string) (AlertStrategyList, *_nethttp.Response, error)
- func (a *AlertStrategyApi) PatchAlertStrategy(ctx _context.Context, orgName string, body AlertStrategy) (interface{}, *_nethttp.Response, error)
- func (a *AlertStrategyApi) UpdateAlertStrategy(ctx _context.Context, orgName string, strategyId string, body AlertStrategy) (interface{}, *_nethttp.Response, error)
- type AlertStrategyList
- func (o *AlertStrategyList) GetItems() []AlertStrategy
- func (o *AlertStrategyList) GetItemsOk() (*[]AlertStrategy, bool)
- func (o *AlertStrategyList) GetPageResult() PageResult
- func (o *AlertStrategyList) GetPageResultOk() (*PageResult, bool)
- func (o *AlertStrategyList) HasPageResult() bool
- func (o AlertStrategyList) MarshalJSON() ([]byte, error)
- func (o *AlertStrategyList) SetItems(v []AlertStrategy)
- func (o *AlertStrategyList) SetPageResult(v PageResult)
- func (o *AlertStrategyList) UnmarshalJSON(bytes []byte) (err error)
- type AlertStrategyMuteTimeInterval
- func (o *AlertStrategyMuteTimeInterval) GetOnceMinutes() int32
- func (o *AlertStrategyMuteTimeInterval) GetOnceMinutesOk() (*int32, bool)
- func (o *AlertStrategyMuteTimeInterval) GetTimes() AlertStrategyMuteTimeIntervalTimes
- func (o *AlertStrategyMuteTimeInterval) GetTimesOk() (*AlertStrategyMuteTimeIntervalTimes, bool)
- func (o *AlertStrategyMuteTimeInterval) GetWeekdays() []int32
- func (o *AlertStrategyMuteTimeInterval) GetWeekdaysOk() (*[]int32, bool)
- func (o *AlertStrategyMuteTimeInterval) HasOnceMinutes() bool
- func (o *AlertStrategyMuteTimeInterval) HasTimes() bool
- func (o *AlertStrategyMuteTimeInterval) HasWeekdays() bool
- func (o AlertStrategyMuteTimeInterval) MarshalJSON() ([]byte, error)
- func (o *AlertStrategyMuteTimeInterval) SetOnceMinutes(v int32)
- func (o *AlertStrategyMuteTimeInterval) SetTimes(v AlertStrategyMuteTimeIntervalTimes)
- func (o *AlertStrategyMuteTimeInterval) SetWeekdays(v []int32)
- func (o *AlertStrategyMuteTimeInterval) UnmarshalJSON(bytes []byte) (err error)
- type AlertStrategyMuteTimeIntervalTimes
- func (o *AlertStrategyMuteTimeIntervalTimes) GetEndTime() string
- func (o *AlertStrategyMuteTimeIntervalTimes) GetEndTimeOk() (*string, bool)
- func (o *AlertStrategyMuteTimeIntervalTimes) GetStartTime() string
- func (o *AlertStrategyMuteTimeIntervalTimes) GetStartTimeOk() (*string, bool)
- func (o *AlertStrategyMuteTimeIntervalTimes) HasEndTime() bool
- func (o *AlertStrategyMuteTimeIntervalTimes) HasStartTime() bool
- func (o AlertStrategyMuteTimeIntervalTimes) MarshalJSON() ([]byte, error)
- func (o *AlertStrategyMuteTimeIntervalTimes) SetEndTime(v string)
- func (o *AlertStrategyMuteTimeIntervalTimes) SetStartTime(v string)
- func (o *AlertStrategyMuteTimeIntervalTimes) UnmarshalJSON(bytes []byte) (err error)
- type AnalysisResult
- func (o *AnalysisResult) GetError() string
- func (o *AnalysisResult) GetErrorOk() (*string, bool)
- func (o *AnalysisResult) GetExplanation() string
- func (o *AnalysisResult) GetExplanationOk() (*string, bool)
- func (o *AnalysisResult) HasError() bool
- func (o *AnalysisResult) HasExplanation() bool
- func (o AnalysisResult) MarshalJSON() ([]byte, error)
- func (o *AnalysisResult) SetError(v string)
- func (o *AnalysisResult) SetExplanation(v string)
- func (o *AnalysisResult) UnmarshalJSON(bytes []byte) (err error)
- type AnalyzeApi
- func (a *AnalyzeApi) AnalyzeBackup(ctx _context.Context, orgName string, backupId string) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeClusterParam(ctx _context.Context, orgName string, clusterName string, parameterName string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeClusterRestore(ctx _context.Context, orgName string, clusterName string) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeOps(ctx _context.Context, orgName string, opsName string, clusterName string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeParam(ctx _context.Context, paramTplName string, parameterName string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeService(ctx _context.Context, orgName string, clusterName string, serviceName string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeSlowLogs(ctx _context.Context, orgName string, clusterName string, ...) (AnalysisResult, *_nethttp.Response, error)
- func (a *AnalyzeApi) AnalyzeView(ctx _context.Context, orgName string, clusterName string) (AnalysisResult, *_nethttp.Response, error)
- type AnalyzeClusterParamOptionalParameters
- type AnalyzeLogsOptionalParameters
- func (r *AnalyzeLogsOptionalParameters) WithComponentName(componentName string) *AnalyzeLogsOptionalParameters
- func (r *AnalyzeLogsOptionalParameters) WithInstanceName(instanceName string) *AnalyzeLogsOptionalParameters
- func (r *AnalyzeLogsOptionalParameters) WithLimit(limit string) *AnalyzeLogsOptionalParameters
- func (r *AnalyzeLogsOptionalParameters) WithSortType(sortType SortType) *AnalyzeLogsOptionalParameters
- type AnalyzeParamOptionalParameters
- type AnalyzeServiceOptionalParameters
- type AnalyzeSlowLogsOptionalParameters
- type Apikey
- func (o *Apikey) GetAccessKey() string
- func (o *Apikey) GetAccessKeyOk() (*string, bool)
- func (o *Apikey) GetCreateAt() time.Time
- func (o *Apikey) GetCreateAtOk() (*time.Time, bool)
- func (o *Apikey) GetDescription() string
- func (o *Apikey) GetDescriptionOk() (*string, bool)
- func (o *Apikey) GetExpiredAt() time.Time
- func (o *Apikey) GetExpiredAtOk() (*time.Time, bool)
- func (o Apikey) MarshalJSON() ([]byte, error)
- func (o *Apikey) SetAccessKey(v string)
- func (o *Apikey) SetCreateAt(v time.Time)
- func (o *Apikey) SetDescription(v string)
- func (o *Apikey) SetExpiredAt(v time.Time)
- func (o *Apikey) UnmarshalJSON(bytes []byte) (err error)
- type ApikeyCreate
- func (o *ApikeyCreate) GetDescription() string
- func (o *ApikeyCreate) GetDescriptionOk() (*string, bool)
- func (o *ApikeyCreate) GetExpiredAt() time.Time
- func (o *ApikeyCreate) GetExpiredAtOk() (*time.Time, bool)
- func (o ApikeyCreate) MarshalJSON() ([]byte, error)
- func (o *ApikeyCreate) SetDescription(v string)
- func (o *ApikeyCreate) SetExpiredAt(v time.Time)
- func (o *ApikeyCreate) UnmarshalJSON(bytes []byte) (err error)
- type ApikeyList
- func (o *ApikeyList) GetItems() []Apikey
- func (o *ApikeyList) GetItemsOk() (*[]Apikey, bool)
- func (o *ApikeyList) GetPageResult() PageResult
- func (o *ApikeyList) GetPageResultOk() (*PageResult, bool)
- func (o *ApikeyList) HasPageResult() bool
- func (o ApikeyList) MarshalJSON() ([]byte, error)
- func (o *ApikeyList) SetItems(v []Apikey)
- func (o *ApikeyList) SetPageResult(v PageResult)
- func (o *ApikeyList) UnmarshalJSON(bytes []byte) (err error)
- type ApikeyWithSK
- func (o *ApikeyWithSK) GetAccessKey() string
- func (o *ApikeyWithSK) GetAccessKeyOk() (*string, bool)
- func (o *ApikeyWithSK) GetCreateAt() time.Time
- func (o *ApikeyWithSK) GetCreateAtOk() (*time.Time, bool)
- func (o *ApikeyWithSK) GetDescription() string
- func (o *ApikeyWithSK) GetDescriptionOk() (*string, bool)
- func (o *ApikeyWithSK) GetExpiredAt() time.Time
- func (o *ApikeyWithSK) GetExpiredAtOk() (*time.Time, bool)
- func (o *ApikeyWithSK) GetSecretKey() string
- func (o *ApikeyWithSK) GetSecretKeyOk() (*string, bool)
- func (o ApikeyWithSK) MarshalJSON() ([]byte, error)
- func (o *ApikeyWithSK) SetAccessKey(v string)
- func (o *ApikeyWithSK) SetCreateAt(v time.Time)
- func (o *ApikeyWithSK) SetDescription(v string)
- func (o *ApikeyWithSK) SetExpiredAt(v time.Time)
- func (o *ApikeyWithSK) SetSecretKey(v string)
- func (o *ApikeyWithSK) UnmarshalJSON(bytes []byte) (err error)
- type AutoInspection
- func (o *AutoInspection) GetCreatedAt() time.Time
- func (o *AutoInspection) GetCreatedAtOk() (*time.Time, bool)
- func (o *AutoInspection) GetCreator() string
- func (o *AutoInspection) GetCreatorOk() (*string, bool)
- func (o *AutoInspection) GetDaysOfMonth() []int32
- func (o *AutoInspection) GetDaysOfMonthOk() (*[]int32, bool)
- func (o *AutoInspection) GetDaysOfWeek() []int32
- func (o *AutoInspection) GetDaysOfWeekOk() (*[]int32, bool)
- func (o *AutoInspection) GetEnabled() bool
- func (o *AutoInspection) GetEnabledOk() (*bool, bool)
- func (o *AutoInspection) GetHour() int32
- func (o *AutoInspection) GetHourOk() (*int32, bool)
- func (o *AutoInspection) GetId() int32
- func (o *AutoInspection) GetIdOk() (*int32, bool)
- func (o *AutoInspection) GetMinute() int32
- func (o *AutoInspection) GetMinuteOk() (*int32, bool)
- func (o *AutoInspection) GetNextRunTime() time.Time
- func (o *AutoInspection) GetNextRunTimeOk() (*time.Time, bool)
- func (o *AutoInspection) GetOrgName() string
- func (o *AutoInspection) GetOrgNameOk() (*string, bool)
- func (o *AutoInspection) GetRunEvery() AutoInspectionRunUnit
- func (o *AutoInspection) GetRunEveryOk() (*AutoInspectionRunUnit, bool)
- func (o *AutoInspection) GetSavedDays() int32
- func (o *AutoInspection) GetSavedDaysOk() (*int32, bool)
- func (o *AutoInspection) GetSchedule() string
- func (o *AutoInspection) GetScheduleOk() (*string, bool)
- func (o *AutoInspection) GetUpdatedAt() time.Time
- func (o *AutoInspection) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AutoInspection) HasCreatedAt() bool
- func (o *AutoInspection) HasCreator() bool
- func (o *AutoInspection) HasDaysOfMonth() bool
- func (o *AutoInspection) HasDaysOfWeek() bool
- func (o *AutoInspection) HasEnabled() bool
- func (o *AutoInspection) HasHour() bool
- func (o *AutoInspection) HasId() bool
- func (o *AutoInspection) HasMinute() bool
- func (o *AutoInspection) HasNextRunTime() bool
- func (o *AutoInspection) HasOrgName() bool
- func (o *AutoInspection) HasRunEvery() bool
- func (o *AutoInspection) HasSavedDays() bool
- func (o *AutoInspection) HasSchedule() bool
- func (o *AutoInspection) HasUpdatedAt() bool
- func (o AutoInspection) MarshalJSON() ([]byte, error)
- func (o *AutoInspection) SetCreatedAt(v time.Time)
- func (o *AutoInspection) SetCreator(v string)
- func (o *AutoInspection) SetDaysOfMonth(v []int32)
- func (o *AutoInspection) SetDaysOfWeek(v []int32)
- func (o *AutoInspection) SetEnabled(v bool)
- func (o *AutoInspection) SetHour(v int32)
- func (o *AutoInspection) SetId(v int32)
- func (o *AutoInspection) SetMinute(v int32)
- func (o *AutoInspection) SetNextRunTime(v time.Time)
- func (o *AutoInspection) SetOrgName(v string)
- func (o *AutoInspection) SetRunEvery(v AutoInspectionRunUnit)
- func (o *AutoInspection) SetSavedDays(v int32)
- func (o *AutoInspection) SetSchedule(v string)
- func (o *AutoInspection) SetUpdatedAt(v time.Time)
- func (o *AutoInspection) UnmarshalJSON(bytes []byte) (err error)
- type AutoInspectionRunUnit
- type AutohealingApi
- type AutohealingListItem
- func (o *AutohealingListItem) GetBackupName() string
- func (o *AutohealingListItem) GetBackupNameOk() (*string, bool)
- func (o *AutohealingListItem) GetComponentName() string
- func (o *AutohealingListItem) GetComponentNameOk() (*string, bool)
- func (o *AutohealingListItem) GetCreatedAt() time.Time
- func (o *AutohealingListItem) GetCreatedAtOk() (*time.Time, bool)
- func (o *AutohealingListItem) GetFinishMessage() string
- func (o *AutohealingListItem) GetFinishMessageOk() (*string, bool)
- func (o *AutohealingListItem) GetFinished() bool
- func (o *AutohealingListItem) GetFinishedOk() (*bool, bool)
- func (o *AutohealingListItem) GetName() string
- func (o *AutohealingListItem) GetNameOk() (*string, bool)
- func (o *AutohealingListItem) GetPhase() string
- func (o *AutohealingListItem) GetPhaseOk() (*string, bool)
- func (o *AutohealingListItem) GetPodName() string
- func (o *AutohealingListItem) GetPodNameOk() (*string, bool)
- func (o *AutohealingListItem) GetRebuildInstanceOpsRequestName() string
- func (o *AutohealingListItem) GetRebuildInstanceOpsRequestNameOk() (*string, bool)
- func (o *AutohealingListItem) GetStartMessage() string
- func (o *AutohealingListItem) GetStartMessageOk() (*string, bool)
- func (o *AutohealingListItem) GetStartTime() time.Time
- func (o *AutohealingListItem) GetStartTimeOk() (*time.Time, bool)
- func (o *AutohealingListItem) GetStarted() bool
- func (o *AutohealingListItem) GetStartedOk() (*bool, bool)
- func (o *AutohealingListItem) GetUpdatedAt() time.Time
- func (o *AutohealingListItem) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AutohealingListItem) HasBackupName() bool
- func (o *AutohealingListItem) HasComponentName() bool
- func (o *AutohealingListItem) HasCreatedAt() bool
- func (o *AutohealingListItem) HasFinishMessage() bool
- func (o *AutohealingListItem) HasFinished() bool
- func (o *AutohealingListItem) HasName() bool
- func (o *AutohealingListItem) HasPhase() bool
- func (o *AutohealingListItem) HasPodName() bool
- func (o *AutohealingListItem) HasRebuildInstanceOpsRequestName() bool
- func (o *AutohealingListItem) HasStartMessage() bool
- func (o *AutohealingListItem) HasStartTime() bool
- func (o *AutohealingListItem) HasStarted() bool
- func (o *AutohealingListItem) HasUpdatedAt() bool
- func (o AutohealingListItem) MarshalJSON() ([]byte, error)
- func (o *AutohealingListItem) SetBackupName(v string)
- func (o *AutohealingListItem) SetComponentName(v string)
- func (o *AutohealingListItem) SetCreatedAt(v time.Time)
- func (o *AutohealingListItem) SetFinishMessage(v string)
- func (o *AutohealingListItem) SetFinished(v bool)
- func (o *AutohealingListItem) SetName(v string)
- func (o *AutohealingListItem) SetPhase(v string)
- func (o *AutohealingListItem) SetPodName(v string)
- func (o *AutohealingListItem) SetRebuildInstanceOpsRequestName(v string)
- func (o *AutohealingListItem) SetStartMessage(v string)
- func (o *AutohealingListItem) SetStartTime(v time.Time)
- func (o *AutohealingListItem) SetStarted(v bool)
- func (o *AutohealingListItem) SetUpdatedAt(v time.Time)
- func (o *AutohealingListItem) UnmarshalJSON(bytes []byte) (err error)
- type Backup
- func (o *Backup) GetAutoBackup() bool
- func (o *Backup) GetAutoBackupOk() (*bool, bool)
- func (o *Backup) GetBackupMethod() string
- func (o *Backup) GetBackupMethodOk() (*string, bool)
- func (o *Backup) GetBackupPolicyName() string
- func (o *Backup) GetBackupPolicyNameOk() (*string, bool)
- func (o *Backup) GetBackupRepo() string
- func (o *Backup) GetBackupRepoOk() (*string, bool)
- func (o *Backup) GetBackupType() BackupType
- func (o *Backup) GetBackupTypeOk() (*BackupType, bool)
- func (o *Backup) GetCloudProvider() string
- func (o *Backup) GetCloudProviderOk() (*string, bool)
- func (o *Backup) GetCloudRegion() string
- func (o *Backup) GetCloudRegionOk() (*string, bool)
- func (o *Backup) GetClusterId() string
- func (o *Backup) GetClusterIdOk() (*string, bool)
- func (o *Backup) GetCompletionTimestamp() time.Time
- func (o *Backup) GetCompletionTimestampOk() (*time.Time, bool)
- func (o *Backup) GetCreationTimestamp() time.Time
- func (o *Backup) GetCreationTimestampOk() (*time.Time, bool)
- func (o *Backup) GetDuration() string
- func (o *Backup) GetDurationOk() (*string, bool)
- func (o *Backup) GetEngine() string
- func (o *Backup) GetEngineOk() (*string, bool)
- func (o *Backup) GetEnvironmentName() string
- func (o *Backup) GetEnvironmentNameOk() (*string, bool)
- func (o *Backup) GetExpiration() time.Time
- func (o *Backup) GetExpirationOk() (*time.Time, bool)
- func (o *Backup) GetExtras() string
- func (o *Backup) GetExtrasOk() (*string, bool)
- func (o *Backup) GetFailureReason() string
- func (o *Backup) GetFailureReasonOk() (*string, bool)
- func (o *Backup) GetId() string
- func (o *Backup) GetIdOk() (*string, bool)
- func (o *Backup) GetName() string
- func (o *Backup) GetNameOk() (*string, bool)
- func (o *Backup) GetOrgName() string
- func (o *Backup) GetOrgNameOk() (*string, bool)
- func (o *Backup) GetPath() string
- func (o *Backup) GetPathOk() (*string, bool)
- func (o *Backup) GetRetentionPeriod() string
- func (o *Backup) GetRetentionPeriodOk() (*string, bool)
- func (o *Backup) GetSnapshotVolumes() bool
- func (o *Backup) GetSnapshotVolumesOk() (*bool, bool)
- func (o *Backup) GetSourceCluster() string
- func (o *Backup) GetSourceClusterOk() (*string, bool)
- func (o *Backup) GetStartTimestamp() time.Time
- func (o *Backup) GetStartTimestampOk() (*time.Time, bool)
- func (o *Backup) GetStatus() BackupStatus
- func (o *Backup) GetStatusOk() (*BackupStatus, bool)
- func (o *Backup) GetTargetPods() []string
- func (o *Backup) GetTargetPodsOk() (*[]string, bool)
- func (o *Backup) GetTimeRangeEnd() time.Time
- func (o *Backup) GetTimeRangeEndOk() (*time.Time, bool)
- func (o *Backup) GetTimeRangeStart() time.Time
- func (o *Backup) GetTimeRangeStartOk() (*time.Time, bool)
- func (o *Backup) GetTotalSize() string
- func (o *Backup) GetTotalSizeOk() (*string, bool)
- func (o *Backup) HasBackupRepo() bool
- func (o *Backup) HasCloudProvider() bool
- func (o *Backup) HasCloudRegion() bool
- func (o *Backup) HasClusterId() bool
- func (o *Backup) HasEngine() bool
- func (o *Backup) HasEnvironmentName() bool
- func (o *Backup) HasExpiration() bool
- func (o *Backup) HasExtras() bool
- func (o *Backup) HasFailureReason() bool
- func (o *Backup) HasId() bool
- func (o *Backup) HasPath() bool
- func (o *Backup) HasRetentionPeriod() bool
- func (o *Backup) HasTargetPods() bool
- func (o *Backup) HasTimeRangeEnd() bool
- func (o *Backup) HasTimeRangeStart() bool
- func (o Backup) MarshalJSON() ([]byte, error)
- func (o *Backup) SetAutoBackup(v bool)
- func (o *Backup) SetBackupMethod(v string)
- func (o *Backup) SetBackupPolicyName(v string)
- func (o *Backup) SetBackupRepo(v string)
- func (o *Backup) SetBackupType(v BackupType)
- func (o *Backup) SetCloudProvider(v string)
- func (o *Backup) SetCloudRegion(v string)
- func (o *Backup) SetClusterId(v string)
- func (o *Backup) SetCompletionTimestamp(v time.Time)
- func (o *Backup) SetCreationTimestamp(v time.Time)
- func (o *Backup) SetDuration(v string)
- func (o *Backup) SetEngine(v string)
- func (o *Backup) SetEnvironmentName(v string)
- func (o *Backup) SetExpiration(v time.Time)
- func (o *Backup) SetExtras(v string)
- func (o *Backup) SetFailureReason(v string)
- func (o *Backup) SetId(v string)
- func (o *Backup) SetName(v string)
- func (o *Backup) SetOrgName(v string)
- func (o *Backup) SetPath(v string)
- func (o *Backup) SetRetentionPeriod(v string)
- func (o *Backup) SetSnapshotVolumes(v bool)
- func (o *Backup) SetSourceCluster(v string)
- func (o *Backup) SetStartTimestamp(v time.Time)
- func (o *Backup) SetStatus(v BackupStatus)
- func (o *Backup) SetTargetPods(v []string)
- func (o *Backup) SetTimeRangeEnd(v time.Time)
- func (o *Backup) SetTimeRangeStart(v time.Time)
- func (o *Backup) SetTotalSize(v string)
- func (o *Backup) UnmarshalJSON(bytes []byte) (err error)
- type BackupApi
- func (a *BackupApi) CreateClusterBackup(ctx _context.Context, orgName string, clusterName string, body BackupCreate) (Backup, *_nethttp.Response, error)
- func (a *BackupApi) DeleteBackup(ctx _context.Context, orgName string, backupId string) (*_nethttp.Response, error)
- func (a *BackupApi) DownloadBackup(ctx _context.Context, orgName string, backupId string) (_io.Reader, *_nethttp.Response, error)
- func (a *BackupApi) DownloadMutipleBackups(ctx _context.Context, orgName string, backupId string, body BackupDownload) (_io.Reader, *_nethttp.Response, error)
- func (a *BackupApi) GetBackup(ctx _context.Context, orgName string, backupId string) (Backup, *_nethttp.Response, error)
- func (a *BackupApi) GetBackupLog(ctx _context.Context, orgName string, backupId string) (BackupLog, *_nethttp.Response, error)
- func (a *BackupApi) GetBackupStats(ctx _context.Context, orgName string) (BackupStats, *_nethttp.Response, error)
- func (a *BackupApi) GetClusterBackupPolicy(ctx _context.Context, orgName string, clusterName string, ...) (BackupPolicy, *_nethttp.Response, error)
- func (a *BackupApi) ListBackups(ctx _context.Context, orgName string, o ...ListBackupsOptionalParameters) (BackupList, *_nethttp.Response, error)
- func (a *BackupApi) PatchBackupPolicy(ctx _context.Context, orgName string, clusterName string, body BackupPolicy, ...) (BackupPolicy, *_nethttp.Response, error)
- func (a *BackupApi) ViewBackup(ctx _context.Context, orgName string, backupId string, ...) (FileEntryList, *_nethttp.Response, error)
- type BackupCreate
- func (o *BackupCreate) GetBackupMethod() string
- func (o *BackupCreate) GetBackupMethodOk() (*string, bool)
- func (o *BackupCreate) GetName() string
- func (o *BackupCreate) GetNameOk() (*string, bool)
- func (o *BackupCreate) HasName() bool
- func (o BackupCreate) MarshalJSON() ([]byte, error)
- func (o *BackupCreate) SetBackupMethod(v string)
- func (o *BackupCreate) SetName(v string)
- func (o *BackupCreate) UnmarshalJSON(bytes []byte) (err error)
- type BackupDownload
- func (o *BackupDownload) GetFilepaths() []string
- func (o *BackupDownload) GetFilepathsOk() (*[]string, bool)
- func (o *BackupDownload) HasFilepaths() bool
- func (o BackupDownload) MarshalJSON() ([]byte, error)
- func (o *BackupDownload) SetFilepaths(v []string)
- func (o *BackupDownload) UnmarshalJSON(bytes []byte) (err error)
- type BackupList
- func (o *BackupList) GetItems() []Backup
- func (o *BackupList) GetItemsOk() (*[]Backup, bool)
- func (o *BackupList) GetPageResult() PageResult
- func (o *BackupList) GetPageResultOk() (*PageResult, bool)
- func (o *BackupList) HasPageResult() bool
- func (o BackupList) MarshalJSON() ([]byte, error)
- func (o *BackupList) SetItems(v []Backup)
- func (o *BackupList) SetPageResult(v PageResult)
- func (o *BackupList) UnmarshalJSON(bytes []byte) (err error)
- type BackupLog
- func (o *BackupLog) GetBackupId() string
- func (o *BackupLog) GetBackupIdOk() (*string, bool)
- func (o *BackupLog) GetItems() []BackupLogByPod
- func (o *BackupLog) GetItemsOk() (*[]BackupLogByPod, bool)
- func (o *BackupLog) HasBackupId() bool
- func (o *BackupLog) HasItems() bool
- func (o BackupLog) MarshalJSON() ([]byte, error)
- func (o *BackupLog) SetBackupId(v string)
- func (o *BackupLog) SetItems(v []BackupLogByPod)
- func (o *BackupLog) UnmarshalJSON(bytes []byte) (err error)
- type BackupLogByPod
- func (o *BackupLogByPod) GetCreationTimestamp() time.Time
- func (o *BackupLogByPod) GetCreationTimestampOk() (*time.Time, bool)
- func (o *BackupLogByPod) GetLog() string
- func (o *BackupLogByPod) GetLogOk() (*string, bool)
- func (o *BackupLogByPod) GetPodName() string
- func (o *BackupLogByPod) GetPodNameOk() (*string, bool)
- func (o *BackupLogByPod) HasCreationTimestamp() bool
- func (o *BackupLogByPod) HasLog() bool
- func (o *BackupLogByPod) HasPodName() bool
- func (o BackupLogByPod) MarshalJSON() ([]byte, error)
- func (o *BackupLogByPod) SetCreationTimestamp(v time.Time)
- func (o *BackupLogByPod) SetLog(v string)
- func (o *BackupLogByPod) SetPodName(v string)
- func (o *BackupLogByPod) UnmarshalJSON(bytes []byte) (err error)
- type BackupMethodOption
- func (o *BackupMethodOption) GetDescription() LocalizedDescription
- func (o *BackupMethodOption) GetDescriptionOk() (*LocalizedDescription, bool)
- func (o *BackupMethodOption) GetName() string
- func (o *BackupMethodOption) GetNameOk() (*string, bool)
- func (o *BackupMethodOption) HasDescription() bool
- func (o BackupMethodOption) MarshalJSON() ([]byte, error)
- func (o *BackupMethodOption) SetDescription(v LocalizedDescription)
- func (o *BackupMethodOption) SetName(v string)
- func (o *BackupMethodOption) UnmarshalJSON(bytes []byte) (err error)
- type BackupOption
- func (o *BackupOption) GetContinuousMethod() []BackupMethodOption
- func (o *BackupOption) GetContinuousMethodOk() (*[]BackupMethodOption, bool)
- func (o *BackupOption) GetDefaultMethod() string
- func (o *BackupOption) GetDefaultMethodOk() (*string, bool)
- func (o *BackupOption) GetFullMethod() []BackupMethodOption
- func (o *BackupOption) GetFullMethodOk() (*[]BackupMethodOption, bool)
- func (o *BackupOption) HasContinuousMethod() bool
- func (o *BackupOption) HasDefaultMethod() bool
- func (o *BackupOption) HasFullMethod() bool
- func (o BackupOption) MarshalJSON() ([]byte, error)
- func (o *BackupOption) SetContinuousMethod(v []BackupMethodOption)
- func (o *BackupOption) SetDefaultMethod(v string)
- func (o *BackupOption) SetFullMethod(v []BackupMethodOption)
- func (o *BackupOption) UnmarshalJSON(bytes []byte) (err error)
- type BackupPolicy
- func (o *BackupPolicy) GetAutoBackup() bool
- func (o *BackupPolicy) GetAutoBackupMethod() string
- func (o *BackupPolicy) GetAutoBackupMethodOk() (*string, bool)
- func (o *BackupPolicy) GetAutoBackupOk() (*bool, bool)
- func (o *BackupPolicy) GetBackupRepo() string
- func (o *BackupPolicy) GetBackupRepoOk() (*string, bool)
- func (o *BackupPolicy) GetCronExpression() string
- func (o *BackupPolicy) GetCronExpressionOk() (*string, bool)
- func (o *BackupPolicy) GetNextBackupTime() time.Time
- func (o *BackupPolicy) GetNextBackupTimeOk() (*time.Time, bool)
- func (o *BackupPolicy) GetPitrEnabled() bool
- func (o *BackupPolicy) GetPitrEnabledOk() (*bool, bool)
- func (o *BackupPolicy) GetRetentionPeriod() string
- func (o *BackupPolicy) GetRetentionPeriodOk() (*string, bool)
- func (o *BackupPolicy) GetRetentionPolicy() BackupRetentionPolicy
- func (o *BackupPolicy) GetRetentionPolicyOk() (*BackupRetentionPolicy, bool)
- func (o *BackupPolicy) HasAutoBackup() bool
- func (o *BackupPolicy) HasAutoBackupMethod() bool
- func (o *BackupPolicy) HasBackupRepo() bool
- func (o *BackupPolicy) HasCronExpression() bool
- func (o *BackupPolicy) HasNextBackupTime() bool
- func (o *BackupPolicy) HasPitrEnabled() bool
- func (o *BackupPolicy) HasRetentionPeriod() bool
- func (o *BackupPolicy) HasRetentionPolicy() bool
- func (o BackupPolicy) MarshalJSON() ([]byte, error)
- func (o *BackupPolicy) SetAutoBackup(v bool)
- func (o *BackupPolicy) SetAutoBackupMethod(v string)
- func (o *BackupPolicy) SetBackupRepo(v string)
- func (o *BackupPolicy) SetCronExpression(v string)
- func (o *BackupPolicy) SetNextBackupTime(v time.Time)
- func (o *BackupPolicy) SetPitrEnabled(v bool)
- func (o *BackupPolicy) SetRetentionPeriod(v string)
- func (o *BackupPolicy) SetRetentionPolicy(v BackupRetentionPolicy)
- func (o *BackupPolicy) UnmarshalJSON(bytes []byte) (err error)
- type BackupRepo
- func (o *BackupRepo) GetAccessMethod() BackupRepoAccessMethod
- func (o *BackupRepo) GetAccessMethodOk() (*BackupRepoAccessMethod, bool)
- func (o *BackupRepo) GetBackupNums() int32
- func (o *BackupRepo) GetBackupNumsOk() (*int32, bool)
- func (o *BackupRepo) GetConfig() map[string]string
- func (o *BackupRepo) GetConfigOk() (*map[string]string, bool)
- func (o *BackupRepo) GetCreatedAt() time.Time
- func (o *BackupRepo) GetCreatedAtOk() (*time.Time, bool)
- func (o *BackupRepo) GetDefault() bool
- func (o *BackupRepo) GetDefaultOk() (*bool, bool)
- func (o *BackupRepo) GetEnvironmentId() uuid.UUID
- func (o *BackupRepo) GetEnvironmentIdOk() (*uuid.UUID, bool)
- func (o *BackupRepo) GetEnvironmentName() string
- func (o *BackupRepo) GetEnvironmentNameOk() (*string, bool)
- func (o *BackupRepo) GetFailedMessage() string
- func (o *BackupRepo) GetFailedMessageOk() (*string, bool)
- func (o *BackupRepo) GetFailedReason() string
- func (o *BackupRepo) GetFailedReasonOk() (*string, bool)
- func (o *BackupRepo) GetId() string
- func (o *BackupRepo) GetIdOk() (*string, bool)
- func (o *BackupRepo) GetName() string
- func (o *BackupRepo) GetNameOk() (*string, bool)
- func (o *BackupRepo) GetStatus() string
- func (o *BackupRepo) GetStatusOk() (*string, bool)
- func (o *BackupRepo) GetStorageId() string
- func (o *BackupRepo) GetStorageIdOk() (*string, bool)
- func (o *BackupRepo) GetStorageProvider() string
- func (o *BackupRepo) GetStorageProviderOk() (*string, bool)
- func (o *BackupRepo) GetTotalSize() string
- func (o *BackupRepo) GetTotalSizeOk() (*string, bool)
- func (o *BackupRepo) HasBackupNums() bool
- func (o *BackupRepo) HasFailedMessage() bool
- func (o *BackupRepo) HasFailedReason() bool
- func (o *BackupRepo) HasId() bool
- func (o *BackupRepo) HasStorageId() bool
- func (o *BackupRepo) HasTotalSize() bool
- func (o BackupRepo) MarshalJSON() ([]byte, error)
- func (o *BackupRepo) SetAccessMethod(v BackupRepoAccessMethod)
- func (o *BackupRepo) SetBackupNums(v int32)
- func (o *BackupRepo) SetConfig(v map[string]string)
- func (o *BackupRepo) SetCreatedAt(v time.Time)
- func (o *BackupRepo) SetDefault(v bool)
- func (o *BackupRepo) SetEnvironmentId(v uuid.UUID)
- func (o *BackupRepo) SetEnvironmentName(v string)
- func (o *BackupRepo) SetFailedMessage(v string)
- func (o *BackupRepo) SetFailedReason(v string)
- func (o *BackupRepo) SetId(v string)
- func (o *BackupRepo) SetName(v string)
- func (o *BackupRepo) SetStatus(v string)
- func (o *BackupRepo) SetStorageId(v string)
- func (o *BackupRepo) SetStorageProvider(v string)
- func (o *BackupRepo) SetTotalSize(v string)
- func (o *BackupRepo) UnmarshalJSON(bytes []byte) (err error)
- type BackupRepoAccessMethod
- type BackupRepoApi
- func (a *BackupRepoApi) DeleteBackupRepo(ctx _context.Context, environmentName string, backupRepoName string) (*_nethttp.Response, error)
- func (a *BackupRepoApi) GetBackupRepo(ctx _context.Context, environmentName string, backupRepoName string, ...) (BackupRepo, *_nethttp.Response, error)
- func (a *BackupRepoApi) ListBackupRepos(ctx _context.Context, orgName string) (BackupRepoList, *_nethttp.Response, error)
- func (a *BackupRepoApi) UpdateBackupRepo(ctx _context.Context, environmentName string, backupRepoName string, ...) (BackupRepo, *_nethttp.Response, error)
- type BackupRepoList
- func (o *BackupRepoList) GetItems() []BackupRepo
- func (o *BackupRepoList) GetItemsOk() (*[]BackupRepo, bool)
- func (o *BackupRepoList) GetPageResult() PageResult
- func (o *BackupRepoList) GetPageResultOk() (*PageResult, bool)
- func (o *BackupRepoList) HasPageResult() bool
- func (o BackupRepoList) MarshalJSON() ([]byte, error)
- func (o *BackupRepoList) SetItems(v []BackupRepo)
- func (o *BackupRepoList) SetPageResult(v PageResult)
- func (o *BackupRepoList) UnmarshalJSON(bytes []byte) (err error)
- type BackupRepoUpdate
- func (o *BackupRepoUpdate) GetDefault() bool
- func (o *BackupRepoUpdate) GetDefaultOk() (*bool, bool)
- func (o *BackupRepoUpdate) HasDefault() bool
- func (o BackupRepoUpdate) MarshalJSON() ([]byte, error)
- func (o *BackupRepoUpdate) SetDefault(v bool)
- func (o *BackupRepoUpdate) UnmarshalJSON(bytes []byte) (err error)
- type BackupRetentionPolicy
- type BackupStats
- func (o *BackupStats) GetBackupStatsEngine() []BackupStatsEngine
- func (o *BackupStats) GetBackupStatsEngineOk() (*[]BackupStatsEngine, bool)
- func (o *BackupStats) GetBackupStatsStatus() []BackupStatsStatus
- func (o *BackupStats) GetBackupStatsStatusOk() (*[]BackupStatsStatus, bool)
- func (o *BackupStats) GetLatestBackupStatus() string
- func (o *BackupStats) GetLatestBackupStatusOk() (*string, bool)
- func (o *BackupStats) GetLatestBackupTime() time.Time
- func (o *BackupStats) GetLatestBackupTimeOk() (*time.Time, bool)
- func (o *BackupStats) HasBackupStatsEngine() bool
- func (o *BackupStats) HasBackupStatsStatus() bool
- func (o *BackupStats) HasLatestBackupStatus() bool
- func (o *BackupStats) HasLatestBackupTime() bool
- func (o BackupStats) MarshalJSON() ([]byte, error)
- func (o *BackupStats) SetBackupStatsEngine(v []BackupStatsEngine)
- func (o *BackupStats) SetBackupStatsStatus(v []BackupStatsStatus)
- func (o *BackupStats) SetLatestBackupStatus(v string)
- func (o *BackupStats) SetLatestBackupStatusNil()
- func (o *BackupStats) SetLatestBackupTime(v time.Time)
- func (o *BackupStats) SetLatestBackupTimeNil()
- func (o *BackupStats) UnmarshalJSON(bytes []byte) (err error)
- func (o *BackupStats) UnsetLatestBackupStatus()
- func (o *BackupStats) UnsetLatestBackupTime()
- type BackupStatsEngine
- func (o *BackupStatsEngine) GetBackupNum() int64
- func (o *BackupStatsEngine) GetBackupNumOk() (*int64, bool)
- func (o *BackupStatsEngine) GetBackupSize() string
- func (o *BackupStatsEngine) GetBackupSizeOk() (*string, bool)
- func (o *BackupStatsEngine) GetEngineName() string
- func (o *BackupStatsEngine) GetEngineNameOk() (*string, bool)
- func (o *BackupStatsEngine) HasBackupNum() bool
- func (o *BackupStatsEngine) HasBackupSize() bool
- func (o *BackupStatsEngine) HasEngineName() bool
- func (o BackupStatsEngine) MarshalJSON() ([]byte, error)
- func (o *BackupStatsEngine) SetBackupNum(v int64)
- func (o *BackupStatsEngine) SetBackupSize(v string)
- func (o *BackupStatsEngine) SetEngineName(v string)
- func (o *BackupStatsEngine) UnmarshalJSON(bytes []byte) (err error)
- type BackupStatsStatus
- func (o *BackupStatsStatus) GetBackupNum() int64
- func (o *BackupStatsStatus) GetBackupNumOk() (*int64, bool)
- func (o *BackupStatsStatus) GetStatus() string
- func (o *BackupStatsStatus) GetStatusOk() (*string, bool)
- func (o *BackupStatsStatus) HasBackupNum() bool
- func (o *BackupStatsStatus) HasStatus() bool
- func (o BackupStatsStatus) MarshalJSON() ([]byte, error)
- func (o *BackupStatsStatus) SetBackupNum(v int64)
- func (o *BackupStatsStatus) SetStatus(v string)
- func (o *BackupStatsStatus) UnmarshalJSON(bytes []byte) (err error)
- type BackupStatus
- type BackupType
- type BackupView
- type BenchOption
- func (o *BenchOption) GetPgbench() bool
- func (o *BenchOption) GetPgbenchOk() (*bool, bool)
- func (o *BenchOption) GetSysbench() bool
- func (o *BenchOption) GetSysbenchOk() (*bool, bool)
- func (o *BenchOption) GetTpcc() bool
- func (o *BenchOption) GetTpccOk() (*bool, bool)
- func (o *BenchOption) GetYcsb() bool
- func (o *BenchOption) GetYcsbOk() (*bool, bool)
- func (o BenchOption) MarshalJSON() ([]byte, error)
- func (o *BenchOption) SetPgbench(v bool)
- func (o *BenchOption) SetSysbench(v bool)
- func (o *BenchOption) SetTpcc(v bool)
- func (o *BenchOption) SetYcsb(v bool)
- func (o *BenchOption) UnmarshalJSON(bytes []byte) (err error)
- type Benchmark
- func (o *Benchmark) GetCleanupLog() string
- func (o *Benchmark) GetCleanupLogOk() (*string, bool)
- func (o *Benchmark) GetCluster() string
- func (o *Benchmark) GetClusterId() string
- func (o *Benchmark) GetClusterIdOk() (*string, bool)
- func (o *Benchmark) GetClusterOk() (*string, bool)
- func (o *Benchmark) GetCompletionTimestamp() time.Time
- func (o *Benchmark) GetCompletionTimestampOk() (*time.Time, bool)
- func (o *Benchmark) GetConfig() string
- func (o *Benchmark) GetConfigOk() (*string, bool)
- func (o *Benchmark) GetCreatedAt() time.Time
- func (o *Benchmark) GetCreatedAtOk() (*time.Time, bool)
- func (o *Benchmark) GetDatabase() string
- func (o *Benchmark) GetDatabaseOk() (*string, bool)
- func (o *Benchmark) GetId() string
- func (o *Benchmark) GetIdOk() (*string, bool)
- func (o *Benchmark) GetMessage() string
- func (o *Benchmark) GetMessageOk() (*string, bool)
- func (o *Benchmark) GetName() string
- func (o *Benchmark) GetNameOk() (*string, bool)
- func (o *Benchmark) GetPrepareLog() string
- func (o *Benchmark) GetPrepareLogOk() (*string, bool)
- func (o *Benchmark) GetResult() string
- func (o *Benchmark) GetResultOk() (*string, bool)
- func (o *Benchmark) GetRunLog() string
- func (o *Benchmark) GetRunLogOk() (*string, bool)
- func (o *Benchmark) GetStatus() BenchmarkStatus
- func (o *Benchmark) GetStatusOk() (*BenchmarkStatus, bool)
- func (o *Benchmark) GetType() BenchmarkType
- func (o *Benchmark) GetTypeOk() (*BenchmarkType, bool)
- func (o *Benchmark) HasCleanupLog() bool
- func (o *Benchmark) HasCluster() bool
- func (o *Benchmark) HasClusterId() bool
- func (o *Benchmark) HasCompletionTimestamp() bool
- func (o *Benchmark) HasConfig() bool
- func (o *Benchmark) HasCreatedAt() bool
- func (o *Benchmark) HasDatabase() bool
- func (o *Benchmark) HasId() bool
- func (o *Benchmark) HasMessage() bool
- func (o *Benchmark) HasName() bool
- func (o *Benchmark) HasPrepareLog() bool
- func (o *Benchmark) HasResult() bool
- func (o *Benchmark) HasRunLog() bool
- func (o *Benchmark) HasStatus() bool
- func (o *Benchmark) HasType() bool
- func (o Benchmark) MarshalJSON() ([]byte, error)
- func (o *Benchmark) SetCleanupLog(v string)
- func (o *Benchmark) SetCluster(v string)
- func (o *Benchmark) SetClusterId(v string)
- func (o *Benchmark) SetCompletionTimestamp(v time.Time)
- func (o *Benchmark) SetConfig(v string)
- func (o *Benchmark) SetCreatedAt(v time.Time)
- func (o *Benchmark) SetDatabase(v string)
- func (o *Benchmark) SetId(v string)
- func (o *Benchmark) SetMessage(v string)
- func (o *Benchmark) SetName(v string)
- func (o *Benchmark) SetPrepareLog(v string)
- func (o *Benchmark) SetResult(v string)
- func (o *Benchmark) SetRunLog(v string)
- func (o *Benchmark) SetStatus(v BenchmarkStatus)
- func (o *Benchmark) SetType(v BenchmarkType)
- func (o *Benchmark) UnmarshalJSON(bytes []byte) (err error)
- type BenchmarkApi
- func (a *BenchmarkApi) CreatePgbench(ctx _context.Context, orgName string, body Pgbench) (Benchmark, *_nethttp.Response, error)
- func (a *BenchmarkApi) CreateSysbench(ctx _context.Context, orgName string, body Sysbench) (Benchmark, *_nethttp.Response, error)
- func (a *BenchmarkApi) CreateTpcc(ctx _context.Context, orgName string, body Tpcc) (Benchmark, *_nethttp.Response, error)
- func (a *BenchmarkApi) CreateYcsb(ctx _context.Context, orgName string, body Ycsb) (Benchmark, *_nethttp.Response, error)
- func (a *BenchmarkApi) DeleteBenchmark(ctx _context.Context, orgName string, body []string) (interface{}, *_nethttp.Response, error)
- func (a *BenchmarkApi) GetBenchmark(ctx _context.Context, orgName string, benchmarkId string) (Benchmark, *_nethttp.Response, error)
- func (a *BenchmarkApi) ListBenchmark(ctx _context.Context, orgName string, o ...ListBenchmarkOptionalParameters) (BenchmarkList, *_nethttp.Response, error)
- type BenchmarkList
- func (o *BenchmarkList) GetItems() []Benchmark
- func (o *BenchmarkList) GetItemsOk() (*[]Benchmark, bool)
- func (o *BenchmarkList) GetPageResult() PageResult
- func (o *BenchmarkList) GetPageResultOk() (*PageResult, bool)
- func (o *BenchmarkList) HasPageResult() bool
- func (o BenchmarkList) MarshalJSON() ([]byte, error)
- func (o *BenchmarkList) SetItems(v []Benchmark)
- func (o *BenchmarkList) SetPageResult(v PageResult)
- func (o *BenchmarkList) UnmarshalJSON(bytes []byte) (err error)
- type BenchmarkStatus
- type BenchmarkType
- type CPU
- func (o *CPU) GetCpuAssigned() string
- func (o *CPU) GetCpuAssignedMax() string
- func (o *CPU) GetCpuAssignedMaxOk() (*string, bool)
- func (o *CPU) GetCpuAssignedOk() (*string, bool)
- func (o *CPU) GetCpuCapacity() string
- func (o *CPU) GetCpuCapacityMax() string
- func (o *CPU) GetCpuCapacityMaxOk() (*string, bool)
- func (o *CPU) GetCpuCapacityOk() (*string, bool)
- func (o *CPU) HasCpuAssigned() bool
- func (o *CPU) HasCpuAssignedMax() bool
- func (o *CPU) HasCpuCapacity() bool
- func (o *CPU) HasCpuCapacityMax() bool
- func (o CPU) MarshalJSON() ([]byte, error)
- func (o *CPU) SetCpuAssigned(v string)
- func (o *CPU) SetCpuAssignedMax(v string)
- func (o *CPU) SetCpuCapacity(v string)
- func (o *CPU) SetCpuCapacityMax(v string)
- func (o *CPU) UnmarshalJSON(bytes []byte) (err error)
- type Class
- func (o *Class) GetCode() string
- func (o *Class) GetCodeOk() (*string, bool)
- func (o *Class) GetCodeShort() string
- func (o *Class) GetCodeShortOk() (*string, bool)
- func (o *Class) GetComponent() string
- func (o *Class) GetComponentOk() (*string, bool)
- func (o *Class) GetCpu() float64
- func (o *Class) GetCpuLimit() float64
- func (o *Class) GetCpuLimitOk() (*float64, bool)
- func (o *Class) GetCpuOk() (*float64, bool)
- func (o *Class) GetCpuRequest() float64
- func (o *Class) GetCpuRequestOk() (*float64, bool)
- func (o *Class) GetEngine() string
- func (o *Class) GetEngineOk() (*string, bool)
- func (o *Class) GetMemory() float64
- func (o *Class) GetMemoryLimit() float64
- func (o *Class) GetMemoryLimitOk() (*float64, bool)
- func (o *Class) GetMemoryOk() (*float64, bool)
- func (o *Class) GetMemoryRequest() float64
- func (o *Class) GetMemoryRequestOk() (*float64, bool)
- func (o *Class) GetMode() string
- func (o *Class) GetModeOk() (*string, bool)
- func (o *Class) GetSeries() ClassSeries
- func (o *Class) GetSeriesOk() (*ClassSeries, bool)
- func (o *Class) HasCode() bool
- func (o *Class) HasCodeShort() bool
- func (o *Class) HasComponent() bool
- func (o *Class) HasCpu() bool
- func (o *Class) HasCpuLimit() bool
- func (o *Class) HasCpuRequest() bool
- func (o *Class) HasEngine() bool
- func (o *Class) HasMemory() bool
- func (o *Class) HasMemoryLimit() bool
- func (o *Class) HasMemoryRequest() bool
- func (o *Class) HasMode() bool
- func (o *Class) HasSeries() bool
- func (o Class) MarshalJSON() ([]byte, error)
- func (o *Class) SetCode(v string)
- func (o *Class) SetCodeShort(v string)
- func (o *Class) SetComponent(v string)
- func (o *Class) SetCpu(v float64)
- func (o *Class) SetCpuLimit(v float64)
- func (o *Class) SetCpuRequest(v float64)
- func (o *Class) SetEngine(v string)
- func (o *Class) SetMemory(v float64)
- func (o *Class) SetMemoryLimit(v float64)
- func (o *Class) SetMemoryRequest(v float64)
- func (o *Class) SetMode(v string)
- func (o *Class) SetSeries(v ClassSeries)
- func (o *Class) UnmarshalJSON(bytes []byte) (err error)
- type ClassApi
- func (a *ClassApi) CreateClass(ctx _context.Context, o ...CreateClassOptionalParameters) (Class, *_nethttp.Response, error)
- func (a *ClassApi) DeleteClass(ctx _context.Context, code string) (interface{}, *_nethttp.Response, error)
- func (a *ClassApi) ListClasses(ctx _context.Context) ([]Class, *_nethttp.Response, error)
- func (a *ClassApi) PatchClass(ctx _context.Context, o ...PatchClassOptionalParameters) (Class, *_nethttp.Response, error)
- type ClassSeries
- type CloseSessionsOptionalParameters
- type Cluster
- func (o *Cluster) GetAvailabilityZones() []string
- func (o *Cluster) GetAvailabilityZonesOk() (*[]string, bool)
- func (o *Cluster) GetBackup() ClusterBackup
- func (o *Cluster) GetBackupOk() (*ClusterBackup, bool)
- func (o *Cluster) GetCloudProvider() string
- func (o *Cluster) GetCloudProviderOk() (*string, bool)
- func (o *Cluster) GetCloudRegion() string
- func (o *Cluster) GetCloudRegionOk() (*string, bool)
- func (o *Cluster) GetCodeShort() string
- func (o *Cluster) GetCodeShortOk() (*string, bool)
- func (o *Cluster) GetComponents() []ComponentsItem
- func (o *Cluster) GetComponentsOk() (*[]ComponentsItem, bool)
- func (o *Cluster) GetCpu() float64
- func (o *Cluster) GetCpuOk() (*float64, bool)
- func (o *Cluster) GetCreateOnlySet() bool
- func (o *Cluster) GetCreateOnlySetOk() (*bool, bool)
- func (o *Cluster) GetCreatedAt() time.Time
- func (o *Cluster) GetCreatedAtOk() (*time.Time, bool)
- func (o *Cluster) GetEngine() string
- func (o *Cluster) GetEngineOk() (*string, bool)
- func (o *Cluster) GetEnvironmentId() string
- func (o *Cluster) GetEnvironmentIdOk() (*string, bool)
- func (o *Cluster) GetEnvironmentName() string
- func (o *Cluster) GetEnvironmentNameOk() (*string, bool)
- func (o *Cluster) GetEnvironmentType() string
- func (o *Cluster) GetEnvironmentTypeOk() (*string, bool)
- func (o *Cluster) GetExtra() map[string]interface{}
- func (o *Cluster) GetExtraInfo() map[string]interface{}
- func (o *Cluster) GetExtraInfoOk() (*map[string]interface{}, bool)
- func (o *Cluster) GetExtraOk() (*map[string]interface{}, bool)
- func (o *Cluster) GetHash() string
- func (o *Cluster) GetHashOk() (*string, bool)
- func (o *Cluster) GetId() interface{}
- func (o *Cluster) GetIdOk() (*interface{}, bool)
- func (o *Cluster) GetInitOptions() []InitOptionsItem
- func (o *Cluster) GetInitOptionsOk() (*[]InitOptionsItem, bool)
- func (o *Cluster) GetInternetEndpointEnabled() bool
- func (o *Cluster) GetInternetEndpointEnabledOk() (*bool, bool)
- func (o *Cluster) GetLicense() ClusterLicense
- func (o *Cluster) GetLicenseOk() (*ClusterLicense, bool)
- func (o *Cluster) GetMemory() float64
- func (o *Cluster) GetMemoryOk() (*float64, bool)
- func (o *Cluster) GetMode() string
- func (o *Cluster) GetModeOk() (*string, bool)
- func (o *Cluster) GetMonitorEnabled() bool
- func (o *Cluster) GetMonitorEnabledOk() (*bool, bool)
- func (o *Cluster) GetName() string
- func (o *Cluster) GetNameOk() (*string, bool)
- func (o *Cluster) GetNamespace() string
- func (o *Cluster) GetNamespaceOk() (*string, bool)
- func (o *Cluster) GetNodeGroup() string
- func (o *Cluster) GetNodeGroupOk() (*string, bool)
- func (o *Cluster) GetNodePortEnabled() bool
- func (o *Cluster) GetNodePortEnabledOk() (*bool, bool)
- func (o *Cluster) GetOrgName() string
- func (o *Cluster) GetOrgNameOk() (*string, bool)
- func (o *Cluster) GetParamTpls() []ParamTplsItem
- func (o *Cluster) GetParamTplsOk() (*[]ParamTplsItem, bool)
- func (o *Cluster) GetPodAntiAffinityEnabled() bool
- func (o *Cluster) GetPodAntiAffinityEnabledOk() (*bool, bool)
- func (o *Cluster) GetProxyEnabled() bool
- func (o *Cluster) GetProxyEnabledOk() (*bool, bool)
- func (o *Cluster) GetReplicas() int32
- func (o *Cluster) GetReplicasOk() (*int32, bool)
- func (o *Cluster) GetSingleZone() bool
- func (o *Cluster) GetSingleZoneOk() (*bool, bool)
- func (o *Cluster) GetStatus() string
- func (o *Cluster) GetStatusOk() (*string, bool)
- func (o *Cluster) GetStorage() float64
- func (o *Cluster) GetStorageOk() (*float64, bool)
- func (o *Cluster) GetTerminationPolicy() ClusterTerminationPolicy
- func (o *Cluster) GetTerminationPolicyOk() (*ClusterTerminationPolicy, bool)
- func (o *Cluster) GetTlsEnabled() bool
- func (o *Cluster) GetTlsEnabledOk() (*bool, bool)
- func (o *Cluster) GetTolerations() string
- func (o *Cluster) GetTolerationsOk() (*string, bool)
- func (o *Cluster) GetUpdatedAt() time.Time
- func (o *Cluster) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Cluster) GetValues() map[string]interface{}
- func (o *Cluster) GetValuesOk() (*map[string]interface{}, bool)
- func (o *Cluster) GetVersion() string
- func (o *Cluster) GetVersionOk() (*string, bool)
- func (o *Cluster) GetVpcEndpointEnabled() bool
- func (o *Cluster) GetVpcEndpointEnabledOk() (*bool, bool)
- func (o *Cluster) HasAvailabilityZones() bool
- func (o *Cluster) HasBackup() bool
- func (o *Cluster) HasCloudProvider() bool
- func (o *Cluster) HasCloudRegion() bool
- func (o *Cluster) HasCodeShort() bool
- func (o *Cluster) HasComponents() bool
- func (o *Cluster) HasCpu() bool
- func (o *Cluster) HasCreateOnlySet() bool
- func (o *Cluster) HasCreatedAt() bool
- func (o *Cluster) HasEnvironmentId() bool
- func (o *Cluster) HasEnvironmentType() bool
- func (o *Cluster) HasExtra() bool
- func (o *Cluster) HasExtraInfo() bool
- func (o *Cluster) HasHash() bool
- func (o *Cluster) HasId() bool
- func (o *Cluster) HasInitOptions() bool
- func (o *Cluster) HasInternetEndpointEnabled() bool
- func (o *Cluster) HasLicense() bool
- func (o *Cluster) HasMemory() bool
- func (o *Cluster) HasMode() bool
- func (o *Cluster) HasMonitorEnabled() bool
- func (o *Cluster) HasNamespace() bool
- func (o *Cluster) HasNodeGroup() bool
- func (o *Cluster) HasNodePortEnabled() bool
- func (o *Cluster) HasOrgName() bool
- func (o *Cluster) HasParamTpls() bool
- func (o *Cluster) HasPodAntiAffinityEnabled() bool
- func (o *Cluster) HasProxyEnabled() bool
- func (o *Cluster) HasReplicas() bool
- func (o *Cluster) HasSingleZone() bool
- func (o *Cluster) HasStatus() bool
- func (o *Cluster) HasStorage() bool
- func (o *Cluster) HasTerminationPolicy() bool
- func (o *Cluster) HasTlsEnabled() bool
- func (o *Cluster) HasTolerations() bool
- func (o *Cluster) HasUpdatedAt() bool
- func (o *Cluster) HasValues() bool
- func (o *Cluster) HasVersion() bool
- func (o *Cluster) HasVpcEndpointEnabled() bool
- func (o Cluster) MarshalJSON() ([]byte, error)
- func (o *Cluster) SetAvailabilityZones(v []string)
- func (o *Cluster) SetBackup(v ClusterBackup)
- func (o *Cluster) SetCloudProvider(v string)
- func (o *Cluster) SetCloudRegion(v string)
- func (o *Cluster) SetCodeShort(v string)
- func (o *Cluster) SetComponents(v []ComponentsItem)
- func (o *Cluster) SetCpu(v float64)
- func (o *Cluster) SetCreateOnlySet(v bool)
- func (o *Cluster) SetCreatedAt(v time.Time)
- func (o *Cluster) SetEngine(v string)
- func (o *Cluster) SetEnvironmentId(v string)
- func (o *Cluster) SetEnvironmentName(v string)
- func (o *Cluster) SetEnvironmentType(v string)
- func (o *Cluster) SetExtra(v map[string]interface{})
- func (o *Cluster) SetExtraInfo(v map[string]interface{})
- func (o *Cluster) SetHash(v string)
- func (o *Cluster) SetId(v interface{})
- func (o *Cluster) SetInitOptions(v []InitOptionsItem)
- func (o *Cluster) SetInternetEndpointEnabled(v bool)
- func (o *Cluster) SetLicense(v ClusterLicense)
- func (o *Cluster) SetMemory(v float64)
- func (o *Cluster) SetMode(v string)
- func (o *Cluster) SetMonitorEnabled(v bool)
- func (o *Cluster) SetName(v string)
- func (o *Cluster) SetNamespace(v string)
- func (o *Cluster) SetNodeGroup(v string)
- func (o *Cluster) SetNodeGroupNil()
- func (o *Cluster) SetNodePortEnabled(v bool)
- func (o *Cluster) SetOrgName(v string)
- func (o *Cluster) SetParamTpls(v []ParamTplsItem)
- func (o *Cluster) SetPodAntiAffinityEnabled(v bool)
- func (o *Cluster) SetProxyEnabled(v bool)
- func (o *Cluster) SetReplicas(v int32)
- func (o *Cluster) SetSingleZone(v bool)
- func (o *Cluster) SetStatus(v string)
- func (o *Cluster) SetStorage(v float64)
- func (o *Cluster) SetTerminationPolicy(v ClusterTerminationPolicy)
- func (o *Cluster) SetTlsEnabled(v bool)
- func (o *Cluster) SetTolerations(v string)
- func (o *Cluster) SetUpdatedAt(v time.Time)
- func (o *Cluster) SetValues(v map[string]interface{})
- func (o *Cluster) SetVersion(v string)
- func (o *Cluster) SetVpcEndpointEnabled(v bool)
- func (o *Cluster) UnmarshalJSON(bytes []byte) (err error)
- func (o *Cluster) UnsetNodeGroup()
- type ClusterAlertSwitchApi
- func (a *ClusterAlertSwitchApi) GetClusterAlertDisabled(ctx _context.Context, orgName string, clusterName string) (AlertCluster, *_nethttp.Response, error)
- func (a *ClusterAlertSwitchApi) SetClusterAlertDisabled(ctx _context.Context, orgName string, clusterName string, ...) (AlertCluster, *_nethttp.Response, error)
- type ClusterApi
- func (a *ClusterApi) CreateCluster(ctx _context.Context, orgName string, body Cluster) (Cluster, *_nethttp.Response, error)
- func (a *ClusterApi) DeleteCluster(ctx _context.Context, orgName string, clusterName string, ...) (interface{}, *_nethttp.Response, error)
- func (a *ClusterApi) DescribeClusterHaHistory(ctx _context.Context, orgName string, clusterName string, ...) (HaHistoryResponse, *_nethttp.Response, error)
- func (a *ClusterApi) GetCluster(ctx _context.Context, orgName string, clusterName string) (Cluster, *_nethttp.Response, error)
- func (a *ClusterApi) GetClusterByID(ctx _context.Context, orgName string, clusterId int32) (Cluster, *_nethttp.Response, error)
- func (a *ClusterApi) GetClusterInstanceLog(ctx _context.Context, orgName string, clusterName string, workloadName string, ...) (string, *_nethttp.Response, error)
- func (a *ClusterApi) GetClusterManifest(ctx _context.Context, orgName string, clusterName string, ...) (KubernetesManifestList, *_nethttp.Response, error)
- func (a *ClusterApi) GetInstacesMetrics(ctx _context.Context, orgName string, clusterName string) (InstanceMetricsList, *_nethttp.Response, error)
- func (a *ClusterApi) ListCluster(ctx _context.Context, orgName string, o ...ListClusterOptionalParameters) (ClusterList, *_nethttp.Response, error)
- func (a *ClusterApi) ListEndpoints(ctx _context.Context, orgName string, clusterName string, ...) (EndpointList, *_nethttp.Response, error)
- func (a *ClusterApi) ListInstance(ctx _context.Context, orgName string, clusterName string) (InstanceList, *_nethttp.Response, error)
- func (a *ClusterApi) PatchCluster(ctx _context.Context, orgName string, clusterName string, body ClusterUpdate) (Cluster, *_nethttp.Response, error)
- type ClusterBackup
- func (o *ClusterBackup) GetAutoBackup() bool
- func (o *ClusterBackup) GetAutoBackupMethod() string
- func (o *ClusterBackup) GetAutoBackupMethodOk() (*string, bool)
- func (o *ClusterBackup) GetAutoBackupOk() (*bool, bool)
- func (o *ClusterBackup) GetBackupRepo() string
- func (o *ClusterBackup) GetBackupRepoOk() (*string, bool)
- func (o *ClusterBackup) GetCronExpression() string
- func (o *ClusterBackup) GetCronExpressionOk() (*string, bool)
- func (o *ClusterBackup) GetPitrEnabled() bool
- func (o *ClusterBackup) GetPitrEnabledOk() (*bool, bool)
- func (o *ClusterBackup) GetRetentionPeriod() string
- func (o *ClusterBackup) GetRetentionPeriodOk() (*string, bool)
- func (o *ClusterBackup) GetRetentionPolicy() BackupRetentionPolicy
- func (o *ClusterBackup) GetRetentionPolicyOk() (*BackupRetentionPolicy, bool)
- func (o *ClusterBackup) GetSnapshotVolumes() bool
- func (o *ClusterBackup) GetSnapshotVolumesOk() (*bool, bool)
- func (o *ClusterBackup) HasAutoBackup() bool
- func (o *ClusterBackup) HasAutoBackupMethod() bool
- func (o *ClusterBackup) HasBackupRepo() bool
- func (o *ClusterBackup) HasCronExpression() bool
- func (o *ClusterBackup) HasPitrEnabled() bool
- func (o *ClusterBackup) HasRetentionPeriod() bool
- func (o *ClusterBackup) HasRetentionPolicy() bool
- func (o *ClusterBackup) HasSnapshotVolumes() bool
- func (o ClusterBackup) MarshalJSON() ([]byte, error)
- func (o *ClusterBackup) SetAutoBackup(v bool)
- func (o *ClusterBackup) SetAutoBackupMethod(v string)
- func (o *ClusterBackup) SetBackupRepo(v string)
- func (o *ClusterBackup) SetCronExpression(v string)
- func (o *ClusterBackup) SetPitrEnabled(v bool)
- func (o *ClusterBackup) SetRetentionPeriod(v string)
- func (o *ClusterBackup) SetRetentionPolicy(v BackupRetentionPolicy)
- func (o *ClusterBackup) SetSnapshotVolumes(v bool)
- func (o *ClusterBackup) SetSnapshotVolumesNil()
- func (o *ClusterBackup) UnmarshalJSON(bytes []byte) (err error)
- func (o *ClusterBackup) UnsetSnapshotVolumes()
- type ClusterExecutionLog
- func (o *ClusterExecutionLog) GetClient() string
- func (o *ClusterExecutionLog) GetClientOk() (*string, bool)
- func (o *ClusterExecutionLog) GetCommand() string
- func (o *ClusterExecutionLog) GetCommandOk() (*string, bool)
- func (o *ClusterExecutionLog) GetDbName() string
- func (o *ClusterExecutionLog) GetDbNameOk() (*string, bool)
- func (o *ClusterExecutionLog) GetExecutionTime() float64
- func (o *ClusterExecutionLog) GetExecutionTimeOk() (*float64, bool)
- func (o *ClusterExecutionLog) GetExtra() map[string]interface{}
- func (o *ClusterExecutionLog) GetExtraOk() (*map[string]interface{}, bool)
- func (o *ClusterExecutionLog) GetTimestamp() int64
- func (o *ClusterExecutionLog) GetTimestampOk() (*int64, bool)
- func (o *ClusterExecutionLog) GetUser() string
- func (o *ClusterExecutionLog) GetUserOk() (*string, bool)
- func (o ClusterExecutionLog) MarshalJSON() ([]byte, error)
- func (o *ClusterExecutionLog) SetClient(v string)
- func (o *ClusterExecutionLog) SetCommand(v string)
- func (o *ClusterExecutionLog) SetDbName(v string)
- func (o *ClusterExecutionLog) SetExecutionTime(v float64)
- func (o *ClusterExecutionLog) SetExtra(v map[string]interface{})
- func (o *ClusterExecutionLog) SetTimestamp(v int64)
- func (o *ClusterExecutionLog) SetUser(v string)
- func (o *ClusterExecutionLog) UnmarshalJSON(bytes []byte) (err error)
- type ClusterLicense
- func (o *ClusterLicense) GetExpiredAt() time.Time
- func (o *ClusterLicense) GetExpiredAtOk() (*time.Time, bool)
- func (o *ClusterLicense) GetId() string
- func (o *ClusterLicense) GetIdOk() (*string, bool)
- func (o *ClusterLicense) GetKey() _io.Reader
- func (o *ClusterLicense) GetKeyOk() (*_io.Reader, bool)
- func (o *ClusterLicense) GetName() string
- func (o *ClusterLicense) GetNameOk() (*string, bool)
- func (o *ClusterLicense) HasExpiredAt() bool
- func (o *ClusterLicense) HasId() bool
- func (o *ClusterLicense) HasKey() bool
- func (o *ClusterLicense) HasName() bool
- func (o ClusterLicense) MarshalJSON() ([]byte, error)
- func (o *ClusterLicense) SetExpiredAt(v time.Time)
- func (o *ClusterLicense) SetId(v string)
- func (o *ClusterLicense) SetKey(v _io.Reader)
- func (o *ClusterLicense) SetName(v string)
- func (o *ClusterLicense) UnmarshalJSON(bytes []byte) (err error)
- type ClusterList
- func (o *ClusterList) GetItems() []ClusterListItem
- func (o *ClusterList) GetItemsOk() (*[]ClusterListItem, bool)
- func (o *ClusterList) GetPageResult() PageResult
- func (o *ClusterList) GetPageResultOk() (*PageResult, bool)
- func (o *ClusterList) HasPageResult() bool
- func (o ClusterList) MarshalJSON() ([]byte, error)
- func (o *ClusterList) SetItems(v []ClusterListItem)
- func (o *ClusterList) SetPageResult(v PageResult)
- func (o *ClusterList) UnmarshalJSON(bytes []byte) (err error)
- type ClusterListItem
- func (o *ClusterListItem) GetAvailabilityZones() []string
- func (o *ClusterListItem) GetAvailabilityZonesOk() (*[]string, bool)
- func (o *ClusterListItem) GetClassCode() string
- func (o *ClusterListItem) GetClassCodeOk() (*string, bool)
- func (o *ClusterListItem) GetCloudProvider() string
- func (o *ClusterListItem) GetCloudProviderOk() (*string, bool)
- func (o *ClusterListItem) GetCloudRegion() string
- func (o *ClusterListItem) GetCloudRegionOk() (*string, bool)
- func (o *ClusterListItem) GetCodeShort() string
- func (o *ClusterListItem) GetCodeShortOk() (*string, bool)
- func (o *ClusterListItem) GetCreatedAt() time.Time
- func (o *ClusterListItem) GetCreatedAtOk() (*time.Time, bool)
- func (o *ClusterListItem) GetDisplayName() string
- func (o *ClusterListItem) GetDisplayNameOk() (*string, bool)
- func (o *ClusterListItem) GetEngine() string
- func (o *ClusterListItem) GetEngineOk() (*string, bool)
- func (o *ClusterListItem) GetEnvironmentName() string
- func (o *ClusterListItem) GetEnvironmentNameOk() (*string, bool)
- func (o *ClusterListItem) GetId() string
- func (o *ClusterListItem) GetIdOk() (*string, bool)
- func (o *ClusterListItem) GetMode() string
- func (o *ClusterListItem) GetModeOk() (*string, bool)
- func (o *ClusterListItem) GetName() string
- func (o *ClusterListItem) GetNameOk() (*string, bool)
- func (o *ClusterListItem) GetOrgName() string
- func (o *ClusterListItem) GetOrgNameOk() (*string, bool)
- func (o *ClusterListItem) GetStatus() string
- func (o *ClusterListItem) GetStatusOk() (*string, bool)
- func (o *ClusterListItem) GetStorage() string
- func (o *ClusterListItem) GetStorageOk() (*string, bool)
- func (o *ClusterListItem) GetTerminationPolicy() string
- func (o *ClusterListItem) GetTerminationPolicyOk() (*string, bool)
- func (o *ClusterListItem) GetUpdatedAt() time.Time
- func (o *ClusterListItem) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ClusterListItem) GetVersion() string
- func (o *ClusterListItem) GetVersionOk() (*string, bool)
- func (o *ClusterListItem) HasAvailabilityZones() bool
- func (o *ClusterListItem) HasClassCode() bool
- func (o *ClusterListItem) HasCloudRegion() bool
- func (o *ClusterListItem) HasCodeShort() bool
- func (o *ClusterListItem) HasDisplayName() bool
- func (o *ClusterListItem) HasMode() bool
- func (o *ClusterListItem) HasOrgName() bool
- func (o *ClusterListItem) HasStorage() bool
- func (o ClusterListItem) MarshalJSON() ([]byte, error)
- func (o *ClusterListItem) SetAvailabilityZones(v []string)
- func (o *ClusterListItem) SetClassCode(v string)
- func (o *ClusterListItem) SetCloudProvider(v string)
- func (o *ClusterListItem) SetCloudRegion(v string)
- func (o *ClusterListItem) SetCodeShort(v string)
- func (o *ClusterListItem) SetCreatedAt(v time.Time)
- func (o *ClusterListItem) SetDisplayName(v string)
- func (o *ClusterListItem) SetEngine(v string)
- func (o *ClusterListItem) SetEnvironmentName(v string)
- func (o *ClusterListItem) SetId(v string)
- func (o *ClusterListItem) SetMode(v string)
- func (o *ClusterListItem) SetName(v string)
- func (o *ClusterListItem) SetOrgName(v string)
- func (o *ClusterListItem) SetStatus(v string)
- func (o *ClusterListItem) SetStorage(v string)
- func (o *ClusterListItem) SetTerminationPolicy(v string)
- func (o *ClusterListItem) SetUpdatedAt(v time.Time)
- func (o *ClusterListItem) SetVersion(v string)
- func (o *ClusterListItem) UnmarshalJSON(bytes []byte) (err error)
- type ClusterLogApi
- func (a *ClusterLogApi) QueryAuditLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (interface{}, *_nethttp.Response, error)
- func (a *ClusterLogApi) QueryErrorLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (interface{}, *_nethttp.Response, error)
- func (a *ClusterLogApi) QueryPodLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (interface{}, *_nethttp.Response, error)
- func (a *ClusterLogApi) QueryRunningLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (interface{}, *_nethttp.Response, error)
- func (a *ClusterLogApi) QuerySlowLogs(ctx _context.Context, orgName string, clusterName string, startTime string, ...) (interface{}, *_nethttp.Response, error)
- type ClusterMetrics
- func (o *ClusterMetrics) GetValue() []interface{}
- func (o *ClusterMetrics) GetValueOk() (*[]interface{}, bool)
- func (o *ClusterMetrics) GetValues() [][]interface{}
- func (o *ClusterMetrics) GetValuesOk() (*[][]interface{}, bool)
- func (o *ClusterMetrics) HasValue() bool
- func (o *ClusterMetrics) HasValues() bool
- func (o ClusterMetrics) MarshalJSON() ([]byte, error)
- func (o *ClusterMetrics) SetValue(v []interface{})
- func (o *ClusterMetrics) SetValues(v [][]interface{})
- func (o *ClusterMetrics) UnmarshalJSON(bytes []byte) (err error)
- type ClusterTerminationPolicy
- type ClusterUpdate
- func (o *ClusterUpdate) GetCpu() float64
- func (o *ClusterUpdate) GetCpuOk() (*float64, bool)
- func (o *ClusterUpdate) GetInternetEndpointEnabled() bool
- func (o *ClusterUpdate) GetInternetEndpointEnabledOk() (*bool, bool)
- func (o *ClusterUpdate) GetMemory() float64
- func (o *ClusterUpdate) GetMemoryOk() (*float64, bool)
- func (o *ClusterUpdate) GetMonitorEnabled() bool
- func (o *ClusterUpdate) GetMonitorEnabledOk() (*bool, bool)
- func (o *ClusterUpdate) GetParamTpls() []ParamTplsItem
- func (o *ClusterUpdate) GetParamTplsOk() (*[]ParamTplsItem, bool)
- func (o *ClusterUpdate) GetReplicas() int32
- func (o *ClusterUpdate) GetReplicasOk() (*int32, bool)
- func (o *ClusterUpdate) GetStorage() float64
- func (o *ClusterUpdate) GetStorageOk() (*float64, bool)
- func (o *ClusterUpdate) GetTerminationPolicy() ClusterTerminationPolicy
- func (o *ClusterUpdate) GetTerminationPolicyOk() (*ClusterTerminationPolicy, bool)
- func (o *ClusterUpdate) GetTolerations() string
- func (o *ClusterUpdate) GetTolerationsOk() (*string, bool)
- func (o *ClusterUpdate) GetVpcEndpointEnabled() bool
- func (o *ClusterUpdate) GetVpcEndpointEnabledOk() (*bool, bool)
- func (o *ClusterUpdate) HasCpu() bool
- func (o *ClusterUpdate) HasInternetEndpointEnabled() bool
- func (o *ClusterUpdate) HasMemory() bool
- func (o *ClusterUpdate) HasMonitorEnabled() bool
- func (o *ClusterUpdate) HasParamTpls() bool
- func (o *ClusterUpdate) HasReplicas() bool
- func (o *ClusterUpdate) HasStorage() bool
- func (o *ClusterUpdate) HasTerminationPolicy() bool
- func (o *ClusterUpdate) HasTolerations() bool
- func (o *ClusterUpdate) HasVpcEndpointEnabled() bool
- func (o ClusterUpdate) MarshalJSON() ([]byte, error)
- func (o *ClusterUpdate) SetCpu(v float64)
- func (o *ClusterUpdate) SetInternetEndpointEnabled(v bool)
- func (o *ClusterUpdate) SetMemory(v float64)
- func (o *ClusterUpdate) SetMonitorEnabled(v bool)
- func (o *ClusterUpdate) SetParamTpls(v []ParamTplsItem)
- func (o *ClusterUpdate) SetReplicas(v int32)
- func (o *ClusterUpdate) SetStorage(v float64)
- func (o *ClusterUpdate) SetTerminationPolicy(v ClusterTerminationPolicy)
- func (o *ClusterUpdate) SetTolerations(v string)
- func (o *ClusterUpdate) SetVpcEndpointEnabled(v bool)
- func (o *ClusterUpdate) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOpsOption
- func (o *ComponentOpsOption) GetComponent() string
- func (o *ComponentOpsOption) GetComponentOk() (*string, bool)
- func (o *ComponentOpsOption) GetDependentCustomOps() ComponentOpsOptionDependentCustomOps
- func (o *ComponentOpsOption) GetDependentCustomOpsOk() (*ComponentOpsOptionDependentCustomOps, bool)
- func (o *ComponentOpsOption) GetDisableHa() bool
- func (o *ComponentOpsOption) GetDisableHaOk() (*bool, bool)
- func (o *ComponentOpsOption) GetInPlace() bool
- func (o *ComponentOpsOption) GetInPlaceOk() (*bool, bool)
- func (o *ComponentOpsOption) GetNeedBackupWhenInPlace() bool
- func (o *ComponentOpsOption) GetNeedBackupWhenInPlaceOk() (*bool, bool)
- func (o *ComponentOpsOption) GetRestoreEnv() []ComponentOpsOptionRestoreEnvItem
- func (o *ComponentOpsOption) GetRestoreEnvOk() (*[]ComponentOpsOptionRestoreEnvItem, bool)
- func (o *ComponentOpsOption) HasDependentCustomOps() bool
- func (o *ComponentOpsOption) HasDisableHa() bool
- func (o *ComponentOpsOption) HasInPlace() bool
- func (o *ComponentOpsOption) HasNeedBackupWhenInPlace() bool
- func (o *ComponentOpsOption) HasRestoreEnv() bool
- func (o ComponentOpsOption) MarshalJSON() ([]byte, error)
- func (o *ComponentOpsOption) SetComponent(v string)
- func (o *ComponentOpsOption) SetDependentCustomOps(v ComponentOpsOptionDependentCustomOps)
- func (o *ComponentOpsOption) SetDisableHa(v bool)
- func (o *ComponentOpsOption) SetInPlace(v bool)
- func (o *ComponentOpsOption) SetNeedBackupWhenInPlace(v bool)
- func (o *ComponentOpsOption) SetRestoreEnv(v []ComponentOpsOptionRestoreEnvItem)
- func (o *ComponentOpsOption) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOpsOptionDependentCustomOps
- func (o *ComponentOpsOptionDependentCustomOps) GetComponent() string
- func (o *ComponentOpsOptionDependentCustomOps) GetComponentOk() (*string, bool)
- func (o *ComponentOpsOptionDependentCustomOps) GetOpsDefName() string
- func (o *ComponentOpsOptionDependentCustomOps) GetOpsDefNameOk() (*string, bool)
- func (o *ComponentOpsOptionDependentCustomOps) GetParams() []ComponentOpsOptionDependentCustomOpsParamsItem
- func (o *ComponentOpsOptionDependentCustomOps) GetParamsOk() (*[]ComponentOpsOptionDependentCustomOpsParamsItem, bool)
- func (o *ComponentOpsOptionDependentCustomOps) GetWhen() string
- func (o *ComponentOpsOptionDependentCustomOps) GetWhenOk() (*string, bool)
- func (o *ComponentOpsOptionDependentCustomOps) HasComponent() bool
- func (o *ComponentOpsOptionDependentCustomOps) HasOpsDefName() bool
- func (o *ComponentOpsOptionDependentCustomOps) HasParams() bool
- func (o *ComponentOpsOptionDependentCustomOps) HasWhen() bool
- func (o ComponentOpsOptionDependentCustomOps) MarshalJSON() ([]byte, error)
- func (o *ComponentOpsOptionDependentCustomOps) SetComponent(v string)
- func (o *ComponentOpsOptionDependentCustomOps) SetOpsDefName(v string)
- func (o *ComponentOpsOptionDependentCustomOps) SetParams(v []ComponentOpsOptionDependentCustomOpsParamsItem)
- func (o *ComponentOpsOptionDependentCustomOps) SetWhen(v string)
- func (o *ComponentOpsOptionDependentCustomOps) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOpsOptionDependentCustomOpsParamsItem
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetName() string
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetNameOk() (*string, bool)
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetValue() string
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetValueOk() (*string, bool)
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) HasName() bool
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) HasValue() bool
- func (o ComponentOpsOptionDependentCustomOpsParamsItem) MarshalJSON() ([]byte, error)
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) SetName(v string)
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) SetValue(v string)
- func (o *ComponentOpsOptionDependentCustomOpsParamsItem) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOpsOptionRestoreEnvItem
- func (o *ComponentOpsOptionRestoreEnvItem) GetName() string
- func (o *ComponentOpsOptionRestoreEnvItem) GetNameOk() (*string, bool)
- func (o *ComponentOpsOptionRestoreEnvItem) GetValue() string
- func (o *ComponentOpsOptionRestoreEnvItem) GetValueOk() (*string, bool)
- func (o ComponentOpsOptionRestoreEnvItem) MarshalJSON() ([]byte, error)
- func (o *ComponentOpsOptionRestoreEnvItem) SetName(v string)
- func (o *ComponentOpsOptionRestoreEnvItem) SetValue(v string)
- func (o *ComponentOpsOptionRestoreEnvItem) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOption
- func (o *ComponentOption) GetMain() bool
- func (o *ComponentOption) GetMainOk() (*bool, bool)
- func (o *ComponentOption) GetMatchRegex() string
- func (o *ComponentOption) GetMatchRegexOk() (*string, bool)
- func (o *ComponentOption) GetName() string
- func (o *ComponentOption) GetNameOk() (*string, bool)
- func (o *ComponentOption) GetOrder() int32
- func (o *ComponentOption) GetOrderOk() (*int32, bool)
- func (o *ComponentOption) GetRoleOrder() []string
- func (o *ComponentOption) GetRoleOrderOk() (*[]string, bool)
- func (o *ComponentOption) GetTitle() LocalizedDescription
- func (o *ComponentOption) GetTitleOk() (*LocalizedDescription, bool)
- func (o *ComponentOption) GetVersion() ComponentOptionVersion
- func (o *ComponentOption) GetVersionOk() (*ComponentOptionVersion, bool)
- func (o *ComponentOption) HasMain() bool
- func (o *ComponentOption) HasMatchRegex() bool
- func (o *ComponentOption) HasVersion() bool
- func (o ComponentOption) MarshalJSON() ([]byte, error)
- func (o *ComponentOption) SetMain(v bool)
- func (o *ComponentOption) SetMatchRegex(v string)
- func (o *ComponentOption) SetName(v string)
- func (o *ComponentOption) SetOrder(v int32)
- func (o *ComponentOption) SetRoleOrder(v []string)
- func (o *ComponentOption) SetTitle(v LocalizedDescription)
- func (o *ComponentOption) SetVersion(v ComponentOptionVersion)
- func (o *ComponentOption) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOptionVersion
- func (o *ComponentOptionVersion) GetComponentVersionName() string
- func (o *ComponentOptionVersion) GetComponentVersionNameOk() (*string, bool)
- func (o *ComponentOptionVersion) GetMajorVersion() ComponentOptionVersionMajorVersion
- func (o *ComponentOptionVersion) GetMajorVersionOk() (*ComponentOptionVersionMajorVersion, bool)
- func (o *ComponentOptionVersion) GetMinorVersion() ComponentOptionVersionMinorVersion
- func (o *ComponentOptionVersion) GetMinorVersionOk() (*ComponentOptionVersionMinorVersion, bool)
- func (o *ComponentOptionVersion) HasMinorVersion() bool
- func (o ComponentOptionVersion) MarshalJSON() ([]byte, error)
- func (o *ComponentOptionVersion) SetComponentVersionName(v string)
- func (o *ComponentOptionVersion) SetMajorVersion(v ComponentOptionVersionMajorVersion)
- func (o *ComponentOptionVersion) SetMinorVersion(v ComponentOptionVersionMinorVersion)
- func (o *ComponentOptionVersion) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOptionVersionMajorVersion
- func (o *ComponentOptionVersionMajorVersion) GetDefault() string
- func (o *ComponentOptionVersionMajorVersion) GetDefaultOk() (*string, bool)
- func (o *ComponentOptionVersionMajorVersion) GetRule() string
- func (o *ComponentOptionVersionMajorVersion) GetRuleOk() (*string, bool)
- func (o *ComponentOptionVersionMajorVersion) GetVersionMapping() []ComponentOptionVersionMajorVersionVersionMappingItem
- func (o *ComponentOptionVersionMajorVersion) GetVersionMappingOk() (*[]ComponentOptionVersionMajorVersionVersionMappingItem, bool)
- func (o *ComponentOptionVersionMajorVersion) HasDefault() bool
- func (o *ComponentOptionVersionMajorVersion) HasVersionMapping() bool
- func (o ComponentOptionVersionMajorVersion) MarshalJSON() ([]byte, error)
- func (o *ComponentOptionVersionMajorVersion) SetDefault(v string)
- func (o *ComponentOptionVersionMajorVersion) SetRule(v string)
- func (o *ComponentOptionVersionMajorVersion) SetVersionMapping(v []ComponentOptionVersionMajorVersionVersionMappingItem)
- func (o *ComponentOptionVersionMajorVersion) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOptionVersionMajorVersionVersionMappingItem
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersion() string
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersionOk() (*string, bool)
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetVersions() []string
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetVersionsOk() (*[]string, bool)
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) HasMainComponentMajorVersion() bool
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) HasVersions() bool
- func (o ComponentOptionVersionMajorVersionVersionMappingItem) MarshalJSON() ([]byte, error)
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) SetMainComponentMajorVersion(v string)
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) SetVersions(v []string)
- func (o *ComponentOptionVersionMajorVersionVersionMappingItem) UnmarshalJSON(bytes []byte) (err error)
- type ComponentOptionVersionMinorVersion
- func (o *ComponentOptionVersionMinorVersion) GetDisableRollbackPreRelease() bool
- func (o *ComponentOptionVersionMinorVersion) GetDisableRollbackPreReleaseOk() (*bool, bool)
- func (o *ComponentOptionVersionMinorVersion) GetRollback() bool
- func (o *ComponentOptionVersionMinorVersion) GetRollbackOk() (*bool, bool)
- func (o *ComponentOptionVersionMinorVersion) HasDisableRollbackPreRelease() bool
- func (o *ComponentOptionVersionMinorVersion) HasRollback() bool
- func (o ComponentOptionVersionMinorVersion) MarshalJSON() ([]byte, error)
- func (o *ComponentOptionVersionMinorVersion) SetDisableRollbackPreRelease(v bool)
- func (o *ComponentOptionVersionMinorVersion) SetRollback(v bool)
- func (o *ComponentOptionVersionMinorVersion) UnmarshalJSON(bytes []byte) (err error)
- type ComponentsItem
- func (o *ComponentsItem) GetClassCode() string
- func (o *ComponentsItem) GetClassCodeOk() (*string, bool)
- func (o *ComponentsItem) GetClassSeries() string
- func (o *ComponentsItem) GetClassSeriesOk() (*string, bool)
- func (o *ComponentsItem) GetCodeShort() string
- func (o *ComponentsItem) GetCodeShortOk() (*string, bool)
- func (o *ComponentsItem) GetCompNum() int32
- func (o *ComponentsItem) GetCompNumOk() (*int32, bool)
- func (o *ComponentsItem) GetComponent() string
- func (o *ComponentsItem) GetComponentDef() string
- func (o *ComponentsItem) GetComponentDefOk() (*string, bool)
- func (o *ComponentsItem) GetComponentOk() (*string, bool)
- func (o *ComponentsItem) GetCpu() float64
- func (o *ComponentsItem) GetCpuOk() (*float64, bool)
- func (o *ComponentsItem) GetMemory() float64
- func (o *ComponentsItem) GetMemoryOk() (*float64, bool)
- func (o *ComponentsItem) GetMonitor() bool
- func (o *ComponentsItem) GetMonitorOk() (*bool, bool)
- func (o *ComponentsItem) GetName() string
- func (o *ComponentsItem) GetNameOk() (*string, bool)
- func (o *ComponentsItem) GetReplicas() int32
- func (o *ComponentsItem) GetReplicasOk() (*int32, bool)
- func (o *ComponentsItem) GetStorage() string
- func (o *ComponentsItem) GetStorageClass() string
- func (o *ComponentsItem) GetStorageClassOk() (*string, bool)
- func (o *ComponentsItem) GetStorageOk() (*string, bool)
- func (o *ComponentsItem) GetVolumes() []ComponentsItemVolumesItem
- func (o *ComponentsItem) GetVolumesOk() (*[]ComponentsItemVolumesItem, bool)
- func (o *ComponentsItem) HasClassCode() bool
- func (o *ComponentsItem) HasClassSeries() bool
- func (o *ComponentsItem) HasCodeShort() bool
- func (o *ComponentsItem) HasCompNum() bool
- func (o *ComponentsItem) HasComponent() bool
- func (o *ComponentsItem) HasComponentDef() bool
- func (o *ComponentsItem) HasCpu() bool
- func (o *ComponentsItem) HasMemory() bool
- func (o *ComponentsItem) HasMonitor() bool
- func (o *ComponentsItem) HasName() bool
- func (o *ComponentsItem) HasReplicas() bool
- func (o *ComponentsItem) HasStorage() bool
- func (o *ComponentsItem) HasStorageClass() bool
- func (o *ComponentsItem) HasVolumes() bool
- func (o ComponentsItem) MarshalJSON() ([]byte, error)
- func (o *ComponentsItem) SetClassCode(v string)
- func (o *ComponentsItem) SetClassSeries(v string)
- func (o *ComponentsItem) SetCodeShort(v string)
- func (o *ComponentsItem) SetCompNum(v int32)
- func (o *ComponentsItem) SetComponent(v string)
- func (o *ComponentsItem) SetComponentDef(v string)
- func (o *ComponentsItem) SetCpu(v float64)
- func (o *ComponentsItem) SetMemory(v float64)
- func (o *ComponentsItem) SetMonitor(v bool)
- func (o *ComponentsItem) SetName(v string)
- func (o *ComponentsItem) SetReplicas(v int32)
- func (o *ComponentsItem) SetStorage(v string)
- func (o *ComponentsItem) SetStorageClass(v string)
- func (o *ComponentsItem) SetVolumes(v []ComponentsItemVolumesItem)
- func (o *ComponentsItem) UnmarshalJSON(bytes []byte) (err error)
- type ComponentsItemVolumesItem
- func (o *ComponentsItemVolumesItem) GetName() string
- func (o *ComponentsItemVolumesItem) GetNameOk() (*string, bool)
- func (o *ComponentsItemVolumesItem) GetStorage() float64
- func (o *ComponentsItemVolumesItem) GetStorageOk() (*float64, bool)
- func (o *ComponentsItemVolumesItem) HasName() bool
- func (o *ComponentsItemVolumesItem) HasStorage() bool
- func (o ComponentsItemVolumesItem) MarshalJSON() ([]byte, error)
- func (o *ComponentsItemVolumesItem) SetName(v string)
- func (o *ComponentsItemVolumesItem) SetStorage(v float64)
- func (o *ComponentsItemVolumesItem) UnmarshalJSON(bytes []byte) (err error)
- type Configuration
- func (o *Configuration) GetContent() string
- func (o *Configuration) GetContentOk() (*string, bool)
- func (o *Configuration) GetFileName() string
- func (o *Configuration) GetFileNameOk() (*string, bool)
- func (o Configuration) MarshalJSON() ([]byte, error)
- func (o *Configuration) SetContent(v string)
- func (o *Configuration) SetFileName(v string)
- func (o *Configuration) UnmarshalJSON(bytes []byte) (err error)
- type ConfigurationList
- func (o *ConfigurationList) GetItems() []Configuration
- func (o *ConfigurationList) GetItemsOk() (*[]Configuration, bool)
- func (o *ConfigurationList) HasItems() bool
- func (o ConfigurationList) MarshalJSON() ([]byte, error)
- func (o *ConfigurationList) SetItems(v []Configuration)
- func (o *ConfigurationList) UnmarshalJSON(bytes []byte) (err error)
- type ConfigurationWithRegex
- func (o *ConfigurationWithRegex) GetContent() string
- func (o *ConfigurationWithRegex) GetContentOk() (*string, bool)
- func (o *ConfigurationWithRegex) GetFileName() string
- func (o *ConfigurationWithRegex) GetFileNameOk() (*string, bool)
- func (o *ConfigurationWithRegex) GetRegex() string
- func (o *ConfigurationWithRegex) GetRegexOk() (*string, bool)
- func (o ConfigurationWithRegex) MarshalJSON() ([]byte, error)
- func (o *ConfigurationWithRegex) SetContent(v string)
- func (o *ConfigurationWithRegex) SetFileName(v string)
- func (o *ConfigurationWithRegex) SetRegex(v string)
- func (o *ConfigurationWithRegex) UnmarshalJSON(bytes []byte) (err error)
- type CreateAlertInhibitOptionalParameters
- type CreateClassOptionalParameters
- type CreateInvitationOptionalParameters
- type DashboardOption
- func (o *DashboardOption) GetComponent() string
- func (o *DashboardOption) GetComponentOk() (*string, bool)
- func (o *DashboardOption) GetDashboardUid() string
- func (o *DashboardOption) GetDashboardUidOk() (*string, bool)
- func (o *DashboardOption) GetInstancePanels() []DashboardOptionInstancePanelsItem
- func (o *DashboardOption) GetInstancePanelsOk() (*[]DashboardOptionInstancePanelsItem, bool)
- func (o *DashboardOption) GetVariables() map[string]string
- func (o *DashboardOption) GetVariablesOk() (*map[string]string, bool)
- func (o DashboardOption) MarshalJSON() ([]byte, error)
- func (o *DashboardOption) SetComponent(v string)
- func (o *DashboardOption) SetDashboardUid(v string)
- func (o *DashboardOption) SetInstancePanels(v []DashboardOptionInstancePanelsItem)
- func (o *DashboardOption) SetVariables(v map[string]string)
- func (o *DashboardOption) UnmarshalJSON(bytes []byte) (err error)
- type DashboardOptionInstancePanelsItem
- func (o *DashboardOptionInstancePanelsItem) GetPanels() []DashboardOptionInstancePanelsItemPanelsItem
- func (o *DashboardOptionInstancePanelsItem) GetPanelsOk() (*[]DashboardOptionInstancePanelsItemPanelsItem, bool)
- func (o *DashboardOptionInstancePanelsItem) GetRole() string
- func (o *DashboardOptionInstancePanelsItem) GetRoleOk() (*string, bool)
- func (o *DashboardOptionInstancePanelsItem) HasPanels() bool
- func (o *DashboardOptionInstancePanelsItem) HasRole() bool
- func (o DashboardOptionInstancePanelsItem) MarshalJSON() ([]byte, error)
- func (o *DashboardOptionInstancePanelsItem) SetPanels(v []DashboardOptionInstancePanelsItemPanelsItem)
- func (o *DashboardOptionInstancePanelsItem) SetRole(v string)
- func (o *DashboardOptionInstancePanelsItem) UnmarshalJSON(bytes []byte) (err error)
- type DashboardOptionInstancePanelsItemPanelsItem
- func (o *DashboardOptionInstancePanelsItemPanelsItem) GetDescription() string
- func (o *DashboardOptionInstancePanelsItemPanelsItem) GetDescriptionOk() (*string, bool)
- func (o *DashboardOptionInstancePanelsItemPanelsItem) GetId() string
- func (o *DashboardOptionInstancePanelsItemPanelsItem) GetIdOk() (*string, bool)
- func (o *DashboardOptionInstancePanelsItemPanelsItem) HasDescription() bool
- func (o *DashboardOptionInstancePanelsItemPanelsItem) HasId() bool
- func (o DashboardOptionInstancePanelsItemPanelsItem) MarshalJSON() ([]byte, error)
- func (o *DashboardOptionInstancePanelsItemPanelsItem) SetDescription(v string)
- func (o *DashboardOptionInstancePanelsItemPanelsItem) SetId(v string)
- func (o *DashboardOptionInstancePanelsItemPanelsItem) UnmarshalJSON(bytes []byte) (err error)
- type DataDisk
- func (o *DataDisk) GetDataDiskAbnormalTime() string
- func (o *DataDisk) GetDataDiskAbnormalTimeOk() (*string, bool)
- func (o *DataDisk) GetDataDiskAllocated() string
- func (o *DataDisk) GetDataDiskAllocatedOk() (*string, bool)
- func (o *DataDisk) GetDataDiskCapacity() string
- func (o *DataDisk) GetDataDiskCapacityOk() (*string, bool)
- func (o *DataDisk) GetDataDiskHealthStatus() string
- func (o *DataDisk) GetDataDiskHealthStatusOk() (*string, bool)
- func (o *DataDisk) GetDataDiskInUse() string
- func (o *DataDisk) GetDataDiskInUseOk() (*string, bool)
- func (o *DataDisk) HasDataDiskAbnormalTime() bool
- func (o *DataDisk) HasDataDiskAllocated() bool
- func (o *DataDisk) HasDataDiskCapacity() bool
- func (o *DataDisk) HasDataDiskHealthStatus() bool
- func (o *DataDisk) HasDataDiskInUse() bool
- func (o DataDisk) MarshalJSON() ([]byte, error)
- func (o *DataDisk) SetDataDiskAbnormalTime(v string)
- func (o *DataDisk) SetDataDiskAllocated(v string)
- func (o *DataDisk) SetDataDiskCapacity(v string)
- func (o *DataDisk) SetDataDiskHealthStatus(v string)
- func (o *DataDisk) SetDataDiskInUse(v string)
- func (o *DataDisk) UnmarshalJSON(bytes []byte) (err error)
- type DataExportOptionalParameters
- type Database
- func (o *Database) GetAccountName() string
- func (o *Database) GetAccountNameOk() (*string, bool)
- func (o *Database) GetCharset() string
- func (o *Database) GetCharsetOk() (*string, bool)
- func (o *Database) GetComponent() string
- func (o *Database) GetComponentOk() (*string, bool)
- func (o *Database) GetDescription() string
- func (o *Database) GetDescriptionOk() (*string, bool)
- func (o *Database) GetName() string
- func (o *Database) GetNameOk() (*string, bool)
- func (o *Database) HasAccountName() bool
- func (o *Database) HasCharset() bool
- func (o *Database) HasComponent() bool
- func (o *Database) HasDescription() bool
- func (o Database) MarshalJSON() ([]byte, error)
- func (o *Database) SetAccountName(v string)
- func (o *Database) SetCharset(v string)
- func (o *Database) SetComponent(v string)
- func (o *Database) SetDescription(v string)
- func (o *Database) SetName(v string)
- func (o *Database) UnmarshalJSON(bytes []byte) (err error)
- type DatabaseApi
- func (a *DatabaseApi) CreateDatabase(ctx _context.Context, orgName string, clusterName string, body Database) (*_nethttp.Response, error)
- func (a *DatabaseApi) DeleteDatabase(ctx _context.Context, orgName string, clusterName string, databaseName string) (*_nethttp.Response, error)
- func (a *DatabaseApi) ListDatabases(ctx _context.Context, orgName string, clusterName string) (DatabaseList, *_nethttp.Response, error)
- type DatabaseItem
- type DatabaseList
- type DatabaseOption
- type Datasource
- func (o *Datasource) GetId() string
- func (o *Datasource) GetIdOk() (*string, bool)
- func (o *Datasource) GetName() string
- func (o *Datasource) GetNameOk() (*string, bool)
- func (o *Datasource) GetOptions() map[string]interface{}
- func (o *Datasource) GetOptionsOk() (*map[string]interface{}, bool)
- func (o *Datasource) GetType() string
- func (o *Datasource) GetTypeOk() (*string, bool)
- func (o *Datasource) HasId() bool
- func (o *Datasource) HasName() bool
- func (o *Datasource) HasOptions() bool
- func (o Datasource) MarshalJSON() ([]byte, error)
- func (o *Datasource) SetId(v string)
- func (o *Datasource) SetName(v string)
- func (o *Datasource) SetOptions(v map[string]interface{})
- func (o *Datasource) SetType(v string)
- func (o *Datasource) UnmarshalJSON(bytes []byte) (err error)
- type DeleteClusterOptionalParameters
- type DescribeClusterHaHistoryOptionalParameters
- type DmsApi
- func (a *DmsApi) AlterParameter(ctx _context.Context, orgName string, clusterName string, tenantId string, ...) (string, *_nethttp.Response, error)
- func (a *DmsApi) AlterVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string, ...) (string, *_nethttp.Response, error)
- func (a *DmsApi) CloseSessions(ctx _context.Context, orgName string, clusterName string, session string, ...) (string, *_nethttp.Response, error)
- func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error)
- func (a *DmsApi) CreateVolumes(ctx _context.Context, orgName string, clusterName string, body interface{}) (string, *_nethttp.Response, error)
- func (a *DmsApi) DataExport(ctx _context.Context, orgName string, clusterName string, id string, ...) (*_nethttp.Response, error)
- func (a *DmsApi) DataImport(ctx _context.Context, orgName string, clusterName string, id string, ...) (interface{}, *_nethttp.Response, error)
- func (a *DmsApi) DeleteDataSourceV2(ctx _context.Context, orgName string, clusterName string, id string) (*_nethttp.Response, error)
- func (a *DmsApi) DropVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string) (string, *_nethttp.Response, error)
- func (a *DmsApi) GenerateDDL(ctx _context.Context, orgName string, clusterName string, id string, ...) (string, *_nethttp.Response, error)
- func (a *DmsApi) GetDataSourceV2(ctx _context.Context, orgName string, clusterName string, id string) (Datasource, *_nethttp.Response, error)
- func (a *DmsApi) GetObjectInfo(ctx _context.Context, orgName string, clusterName string, id string, ...) (ObjectResponse, *_nethttp.Response, error)
- func (a *DmsApi) GetSchemaList(ctx _context.Context, orgName string, clusterName string, id string) ([]string, *_nethttp.Response, error)
- func (a *DmsApi) GetTaskList(ctx _context.Context, orgName string, clusterName string, id string) (DmsTaskList, *_nethttp.Response, error)
- func (a *DmsApi) GetTaskProgress(ctx _context.Context, orgName string, clusterName string, id string, ...) (DmsTaskInfo, *_nethttp.Response, error)
- func (a *DmsApi) ListDataSourceV2(ctx _context.Context, orgName string, clusterName string) ([]Datasource, *_nethttp.Response, error)
- func (a *DmsApi) ListObjectNamesByType(ctx _context.Context, orgName string, clusterName string, id string, ...) ([]string, *_nethttp.Response, error)
- func (a *DmsApi) ListObjectTypesInSchema(ctx _context.Context, orgName string, clusterName string, id string, ...) ([]Object, *_nethttp.Response, error)
- func (a *DmsApi) ListParameters(ctx _context.Context, orgName string, clusterName string, tenantId string, ...) ([]ObParameter, *_nethttp.Response, error)
- func (a *DmsApi) ListQueryHistory(ctx _context.Context, orgName string, clusterName string, id string) (QueryHistory, *_nethttp.Response, error)
- func (a *DmsApi) ListSessions(ctx _context.Context, orgName string, clusterName string, ...) ([]ObSession, *_nethttp.Response, error)
- func (a *DmsApi) ListVolumes(ctx _context.Context, orgName string, clusterName string) ([]Volume, *_nethttp.Response, error)
- func (a *DmsApi) Query(ctx _context.Context, orgName string, clusterName string, id string, ...) (QueryResponse, *_nethttp.Response, error)
- func (a *DmsApi) SetDefaultVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string) (string, *_nethttp.Response, error)
- func (a *DmsApi) ShowData(ctx _context.Context, orgName string, clusterName string, id string, ...) (Result, *_nethttp.Response, error)
- func (a *DmsApi) SqlExplain(ctx _context.Context, orgName string, clusterName string, id string, ...) (QueryResponse, *_nethttp.Response, error)
- func (a *DmsApi) TenantParameterHistory(ctx _context.Context, orgName string, clusterName string, tenantId string, ...) (ParameterHistoryList, *_nethttp.Response, error)
- func (a *DmsApi) TestDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error)
- func (a *DmsApi) UpdateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error)
- type DmsImportFormData
- type DmsOption
- func (o *DmsOption) GetEnabled() bool
- func (o *DmsOption) GetEnabledOk() (*bool, bool)
- func (o *DmsOption) GetFeature() map[string]interface{}
- func (o *DmsOption) GetFeatureOk() (*map[string]interface{}, bool)
- func (o *DmsOption) GetProtocol() string
- func (o *DmsOption) GetProtocolOk() (*string, bool)
- func (o *DmsOption) GetTableMetadata() []interface{}
- func (o *DmsOption) GetTableMetadataOk() (*[]interface{}, bool)
- func (o *DmsOption) HasFeature() bool
- func (o *DmsOption) HasTableMetadata() bool
- func (o DmsOption) MarshalJSON() ([]byte, error)
- func (o *DmsOption) SetEnabled(v bool)
- func (o *DmsOption) SetFeature(v map[string]interface{})
- func (o *DmsOption) SetProtocol(v string)
- func (o *DmsOption) SetTableMetadata(v []interface{})
- func (o *DmsOption) UnmarshalJSON(bytes []byte) (err error)
- type DmsTaskInfo
- func (o *DmsTaskInfo) GetCreatedAt() time.Time
- func (o *DmsTaskInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *DmsTaskInfo) GetDatasource() string
- func (o *DmsTaskInfo) GetDatasourceOk() (*string, bool)
- func (o *DmsTaskInfo) GetId() string
- func (o *DmsTaskInfo) GetIdOk() (*string, bool)
- func (o *DmsTaskInfo) GetMessage() string
- func (o *DmsTaskInfo) GetMessageOk() (*string, bool)
- func (o *DmsTaskInfo) GetStatus() string
- func (o *DmsTaskInfo) GetStatusOk() (*string, bool)
- func (o *DmsTaskInfo) GetType() string
- func (o *DmsTaskInfo) GetTypeOk() (*string, bool)
- func (o *DmsTaskInfo) GetUpdatedAt() time.Time
- func (o *DmsTaskInfo) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DmsTaskInfo) HasCreatedAt() bool
- func (o *DmsTaskInfo) HasDatasource() bool
- func (o *DmsTaskInfo) HasId() bool
- func (o *DmsTaskInfo) HasMessage() bool
- func (o *DmsTaskInfo) HasStatus() bool
- func (o *DmsTaskInfo) HasType() bool
- func (o *DmsTaskInfo) HasUpdatedAt() bool
- func (o DmsTaskInfo) MarshalJSON() ([]byte, error)
- func (o *DmsTaskInfo) SetCreatedAt(v time.Time)
- func (o *DmsTaskInfo) SetDatasource(v string)
- func (o *DmsTaskInfo) SetId(v string)
- func (o *DmsTaskInfo) SetMessage(v string)
- func (o *DmsTaskInfo) SetMessageNil()
- func (o *DmsTaskInfo) SetStatus(v string)
- func (o *DmsTaskInfo) SetType(v string)
- func (o *DmsTaskInfo) SetUpdatedAt(v time.Time)
- func (o *DmsTaskInfo) UnmarshalJSON(bytes []byte) (err error)
- func (o *DmsTaskInfo) UnsetMessage()
- type DmsTaskList
- func (o *DmsTaskList) GetTasks() []DmsTaskInfo
- func (o *DmsTaskList) GetTasksOk() (*[]DmsTaskInfo, bool)
- func (o *DmsTaskList) HasTasks() bool
- func (o DmsTaskList) MarshalJSON() ([]byte, error)
- func (o *DmsTaskList) SetTasks(v []DmsTaskInfo)
- func (o *DmsTaskList) UnmarshalJSON(bytes []byte) (err error)
- type Endpoint
- func (o *Endpoint) GetComponent() string
- func (o *Endpoint) GetComponentOk() (*string, bool)
- func (o *Endpoint) GetHosts() []string
- func (o *Endpoint) GetHostsOk() (*[]string, bool)
- func (o *Endpoint) GetInstances() []string
- func (o *Endpoint) GetInstancesOk() (*[]string, bool)
- func (o *Endpoint) GetMutable() bool
- func (o *Endpoint) GetMutableOk() (*bool, bool)
- func (o *Endpoint) GetNetworkType() EndpointNetworkType
- func (o *Endpoint) GetNetworkTypeOk() (*EndpointNetworkType, bool)
- func (o *Endpoint) GetPort() int32
- func (o *Endpoint) GetPortName() string
- func (o *Endpoint) GetPortNameOk() (*string, bool)
- func (o *Endpoint) GetPortOk() (*int32, bool)
- func (o *Endpoint) GetServiceName() string
- func (o *Endpoint) GetServiceNameOk() (*string, bool)
- func (o *Endpoint) GetTitle() string
- func (o *Endpoint) GetTitleOk() (*string, bool)
- func (o *Endpoint) GetType() EndpointType
- func (o *Endpoint) GetTypeOk() (*EndpointType, bool)
- func (o *Endpoint) HasInstances() bool
- func (o Endpoint) MarshalJSON() ([]byte, error)
- func (o *Endpoint) SetComponent(v string)
- func (o *Endpoint) SetHosts(v []string)
- func (o *Endpoint) SetInstances(v []string)
- func (o *Endpoint) SetMutable(v bool)
- func (o *Endpoint) SetNetworkType(v EndpointNetworkType)
- func (o *Endpoint) SetPort(v int32)
- func (o *Endpoint) SetPortName(v string)
- func (o *Endpoint) SetServiceName(v string)
- func (o *Endpoint) SetTitle(v string)
- func (o *Endpoint) SetType(v EndpointType)
- func (o *Endpoint) UnmarshalJSON(bytes []byte) (err error)
- type EndpointList
- type EndpointNetworkType
- type EndpointOption
- func (o *EndpointOption) GetComponent() string
- func (o *EndpointOption) GetComponentOk() (*string, bool)
- func (o *EndpointOption) GetPort() int32
- func (o *EndpointOption) GetPortName() string
- func (o *EndpointOption) GetPortNameOk() (*string, bool)
- func (o *EndpointOption) GetPortOk() (*int32, bool)
- func (o *EndpointOption) GetSelector() map[string]string
- func (o *EndpointOption) GetSelectorOk() (*map[string]string, bool)
- func (o *EndpointOption) GetServiceName() string
- func (o *EndpointOption) GetServiceNameOk() (*string, bool)
- func (o *EndpointOption) GetServiceNameRegex() string
- func (o *EndpointOption) GetServiceNameRegexOk() (*string, bool)
- func (o *EndpointOption) GetServicePattern() EngineOptionsServicePattern
- func (o *EndpointOption) GetServicePatternOk() (*EngineOptionsServicePattern, bool)
- func (o *EndpointOption) GetSupportsSystemUse() bool
- func (o *EndpointOption) GetSupportsSystemUseOk() (*bool, bool)
- func (o *EndpointOption) GetTitle() LocalizedDescription
- func (o *EndpointOption) GetTitleOk() (*LocalizedDescription, bool)
- func (o *EndpointOption) GetType() []string
- func (o *EndpointOption) GetTypeOk() (*[]string, bool)
- func (o *EndpointOption) HasSelector() bool
- func (o *EndpointOption) HasServiceName() bool
- func (o *EndpointOption) HasServiceNameRegex() bool
- func (o *EndpointOption) HasServicePattern() bool
- func (o *EndpointOption) HasSupportsSystemUse() bool
- func (o EndpointOption) MarshalJSON() ([]byte, error)
- func (o *EndpointOption) SetComponent(v string)
- func (o *EndpointOption) SetPort(v int32)
- func (o *EndpointOption) SetPortName(v string)
- func (o *EndpointOption) SetSelector(v map[string]string)
- func (o *EndpointOption) SetServiceName(v string)
- func (o *EndpointOption) SetServiceNameRegex(v string)
- func (o *EndpointOption) SetServicePattern(v EngineOptionsServicePattern)
- func (o *EndpointOption) SetSupportsSystemUse(v bool)
- func (o *EndpointOption) SetTitle(v LocalizedDescription)
- func (o *EndpointOption) SetType(v []string)
- func (o *EndpointOption) UnmarshalJSON(bytes []byte) (err error)
- type EndpointType
- type Engine
- func (o *Engine) GetAvailableVersion() []string
- func (o *Engine) GetAvailableVersionOk() (*[]string, bool)
- func (o *Engine) GetClusterVersions() []string
- func (o *Engine) GetClusterVersionsOk() (*[]string, bool)
- func (o *Engine) GetDescription() string
- func (o *Engine) GetDescriptionOk() (*string, bool)
- func (o *Engine) GetErrMsg() string
- func (o *Engine) GetErrMsgOk() (*string, bool)
- func (o *Engine) GetId() string
- func (o *Engine) GetIdOk() (*string, bool)
- func (o *Engine) GetInstalled() bool
- func (o *Engine) GetInstalledOk() (*bool, bool)
- func (o *Engine) GetKbVersionConstraint() string
- func (o *Engine) GetKbVersionConstraintOk() (*string, bool)
- func (o *Engine) GetName() string
- func (o *Engine) GetNameOk() (*string, bool)
- func (o *Engine) GetProvider() string
- func (o *Engine) GetProviderOk() (*string, bool)
- func (o *Engine) GetStatus() EngineStatus
- func (o *Engine) GetStatusOk() (*EngineStatus, bool)
- func (o *Engine) GetType() EngineType
- func (o *Engine) GetTypeOk() (*EngineType, bool)
- func (o *Engine) GetUpgradeHistory() string
- func (o *Engine) GetUpgradeHistoryOk() (*string, bool)
- func (o *Engine) GetVersion() string
- func (o *Engine) GetVersionOk() (*string, bool)
- func (o *Engine) HasAvailableVersion() bool
- func (o *Engine) HasClusterVersions() bool
- func (o *Engine) HasDescription() bool
- func (o *Engine) HasErrMsg() bool
- func (o *Engine) HasId() bool
- func (o *Engine) HasInstalled() bool
- func (o *Engine) HasKbVersionConstraint() bool
- func (o *Engine) HasName() bool
- func (o *Engine) HasProvider() bool
- func (o *Engine) HasStatus() bool
- func (o *Engine) HasType() bool
- func (o *Engine) HasUpgradeHistory() bool
- func (o *Engine) HasVersion() bool
- func (o Engine) MarshalJSON() ([]byte, error)
- func (o *Engine) SetAvailableVersion(v []string)
- func (o *Engine) SetClusterVersions(v []string)
- func (o *Engine) SetDescription(v string)
- func (o *Engine) SetErrMsg(v string)
- func (o *Engine) SetId(v string)
- func (o *Engine) SetInstalled(v bool)
- func (o *Engine) SetKbVersionConstraint(v string)
- func (o *Engine) SetName(v string)
- func (o *Engine) SetProvider(v string)
- func (o *Engine) SetStatus(v EngineStatus)
- func (o *Engine) SetType(v EngineType)
- func (o *Engine) SetUpgradeHistory(v string)
- func (o *Engine) SetVersion(v string)
- func (o *Engine) UnmarshalJSON(bytes []byte) (err error)
- type EngineApi
- func (a *EngineApi) EngineActionInOrg(ctx _context.Context, orgName string, actionInfo interface{}) (bool, *_nethttp.Response, error)
- func (a *EngineApi) ListEnginesInEnv(ctx _context.Context, environmentName string, ...) ([]Engine, *_nethttp.Response, error)
- func (a *EngineApi) ListEnginesInOrg(ctx _context.Context, orgName string, o ...ListEnginesInOrgOptionalParameters) ([]Engine, *_nethttp.Response, error)
- type EngineLicense
- func (o *EngineLicense) GetCreatedAt() time.Time
- func (o *EngineLicense) GetCreatedAtOk() (*time.Time, bool)
- func (o *EngineLicense) GetDescription() string
- func (o *EngineLicense) GetDescriptionOk() (*string, bool)
- func (o *EngineLicense) GetEngineName() string
- func (o *EngineLicense) GetEngineNameOk() (*string, bool)
- func (o *EngineLicense) GetExpiredAt() time.Time
- func (o *EngineLicense) GetExpiredAtOk() (*time.Time, bool)
- func (o *EngineLicense) GetId() int32
- func (o *EngineLicense) GetIdOk() (*int32, bool)
- func (o *EngineLicense) GetIdString() string
- func (o *EngineLicense) GetIdStringOk() (*string, bool)
- func (o *EngineLicense) GetKey() string
- func (o *EngineLicense) GetKeyOk() (*string, bool)
- func (o *EngineLicense) GetName() string
- func (o *EngineLicense) GetNameOk() (*string, bool)
- func (o *EngineLicense) HasCreatedAt() bool
- func (o *EngineLicense) HasDescription() bool
- func (o *EngineLicense) HasExpiredAt() bool
- func (o *EngineLicense) HasId() bool
- func (o *EngineLicense) HasIdString() bool
- func (o *EngineLicense) HasKey() bool
- func (o EngineLicense) MarshalJSON() ([]byte, error)
- func (o *EngineLicense) SetCreatedAt(v time.Time)
- func (o *EngineLicense) SetDescription(v string)
- func (o *EngineLicense) SetEngineName(v string)
- func (o *EngineLicense) SetExpiredAt(v time.Time)
- func (o *EngineLicense) SetId(v int32)
- func (o *EngineLicense) SetIdString(v string)
- func (o *EngineLicense) SetKey(v string)
- func (o *EngineLicense) SetName(v string)
- func (o *EngineLicense) UnmarshalJSON(bytes []byte) (err error)
- type EngineLicenseApi
- type EngineLicenseList
- func (o *EngineLicenseList) GetItems() []EngineLicense
- func (o *EngineLicenseList) GetItemsOk() (*[]EngineLicense, bool)
- func (o EngineLicenseList) MarshalJSON() ([]byte, error)
- func (o *EngineLicenseList) SetItems(v []EngineLicense)
- func (o *EngineLicenseList) UnmarshalJSON(bytes []byte) (err error)
- type EngineOption
- func (o *EngineOption) GetAccount() AccountOption
- func (o *EngineOption) GetAccountOk() (*AccountOption, bool)
- func (o *EngineOption) GetBackup() BackupOption
- func (o *EngineOption) GetBackupOk() (*BackupOption, bool)
- func (o *EngineOption) GetBench() BenchOption
- func (o *EngineOption) GetBenchOk() (*BenchOption, bool)
- func (o *EngineOption) GetComponents() []ComponentOption
- func (o *EngineOption) GetComponentsOk() (*[]ComponentOption, bool)
- func (o *EngineOption) GetDashboards() []DashboardOption
- func (o *EngineOption) GetDashboardsOk() (*[]DashboardOption, bool)
- func (o *EngineOption) GetDatabase() DatabaseOption
- func (o *EngineOption) GetDatabaseOk() (*DatabaseOption, bool)
- func (o *EngineOption) GetDescription() LocalizedDescription
- func (o *EngineOption) GetDescriptionOk() (*LocalizedDescription, bool)
- func (o *EngineOption) GetDms() DmsOption
- func (o *EngineOption) GetDmsOk() (*DmsOption, bool)
- func (o *EngineOption) GetEndpoints() []EndpointOption
- func (o *EngineOption) GetEndpointsOk() (*[]EndpointOption, bool)
- func (o *EngineOption) GetEngineName() string
- func (o *EngineOption) GetEngineNameOk() (*string, bool)
- func (o *EngineOption) GetHscale() []ComponentOpsOption
- func (o *EngineOption) GetHscaleOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetLicense() EngineOptionLicense
- func (o *EngineOption) GetLicenseOk() (*EngineOptionLicense, bool)
- func (o *EngineOption) GetLogs() []LogOption
- func (o *EngineOption) GetLogsOk() (*[]LogOption, bool)
- func (o *EngineOption) GetMetrics() MetricsOption
- func (o *EngineOption) GetMetricsOk() (*MetricsOption, bool)
- func (o *EngineOption) GetModes() []ModeOption
- func (o *EngineOption) GetModesOk() (*[]ModeOption, bool)
- func (o *EngineOption) GetParameters() []ParameterOption
- func (o *EngineOption) GetParametersOk() (*[]ParameterOption, bool)
- func (o *EngineOption) GetPromote() []ComponentOpsOption
- func (o *EngineOption) GetPromoteOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetRebuildInstance() []ComponentOpsOption
- func (o *EngineOption) GetRebuildInstanceOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetRestart() []ComponentOpsOption
- func (o *EngineOption) GetRestartOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetStart() []ComponentOpsOption
- func (o *EngineOption) GetStartOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetStop() []ComponentOpsOption
- func (o *EngineOption) GetStopOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetStorageExpansion() []ComponentOpsOption
- func (o *EngineOption) GetStorageExpansionOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) GetTitle() string
- func (o *EngineOption) GetTitleOk() (*string, bool)
- func (o *EngineOption) GetVersions() []string
- func (o *EngineOption) GetVersionsOk() (*[]string, bool)
- func (o *EngineOption) GetVscale() []ComponentOpsOption
- func (o *EngineOption) GetVscaleOk() (*[]ComponentOpsOption, bool)
- func (o *EngineOption) HasDatabase() bool
- func (o *EngineOption) HasLicense() bool
- func (o *EngineOption) HasRebuildInstance() bool
- func (o EngineOption) MarshalJSON() ([]byte, error)
- func (o *EngineOption) SetAccount(v AccountOption)
- func (o *EngineOption) SetBackup(v BackupOption)
- func (o *EngineOption) SetBench(v BenchOption)
- func (o *EngineOption) SetComponents(v []ComponentOption)
- func (o *EngineOption) SetDashboards(v []DashboardOption)
- func (o *EngineOption) SetDatabase(v DatabaseOption)
- func (o *EngineOption) SetDescription(v LocalizedDescription)
- func (o *EngineOption) SetDms(v DmsOption)
- func (o *EngineOption) SetEndpoints(v []EndpointOption)
- func (o *EngineOption) SetEngineName(v string)
- func (o *EngineOption) SetHscale(v []ComponentOpsOption)
- func (o *EngineOption) SetLicense(v EngineOptionLicense)
- func (o *EngineOption) SetLogs(v []LogOption)
- func (o *EngineOption) SetMetrics(v MetricsOption)
- func (o *EngineOption) SetModes(v []ModeOption)
- func (o *EngineOption) SetParameters(v []ParameterOption)
- func (o *EngineOption) SetPromote(v []ComponentOpsOption)
- func (o *EngineOption) SetRebuildInstance(v []ComponentOpsOption)
- func (o *EngineOption) SetRestart(v []ComponentOpsOption)
- func (o *EngineOption) SetStart(v []ComponentOpsOption)
- func (o *EngineOption) SetStop(v []ComponentOpsOption)
- func (o *EngineOption) SetStorageExpansion(v []ComponentOpsOption)
- func (o *EngineOption) SetTitle(v string)
- func (o *EngineOption) SetVersions(v []string)
- func (o *EngineOption) SetVscale(v []ComponentOpsOption)
- func (o *EngineOption) UnmarshalJSON(bytes []byte) (err error)
- type EngineOptionApi
- func (a *EngineOptionApi) GetEngineOption(ctx _context.Context, engineName string) (EngineOption, *_nethttp.Response, error)
- func (a *EngineOptionApi) ListEngineOptions(ctx _context.Context) (EngineOptionList, *_nethttp.Response, error)
- func (a *EngineOptionApi) ListUpgradeableServiceVersion(ctx _context.Context, clusterName string, orgName string, component string) (EngineServiceVersions, *_nethttp.Response, error)
- type EngineOptionLicense
- func (o *EngineOptionLicense) GetComponents() []LicenseOption
- func (o *EngineOptionLicense) GetComponentsOk() (*[]LicenseOption, bool)
- func (o *EngineOptionLicense) GetFileName() string
- func (o *EngineOptionLicense) GetFileNameOk() (*string, bool)
- func (o *EngineOptionLicense) GetRequired() bool
- func (o *EngineOptionLicense) GetRequiredOk() (*bool, bool)
- func (o *EngineOptionLicense) GetSecretName() string
- func (o *EngineOptionLicense) GetSecretNameOk() (*string, bool)
- func (o *EngineOptionLicense) HasComponents() bool
- func (o *EngineOptionLicense) HasRequired() bool
- func (o EngineOptionLicense) MarshalJSON() ([]byte, error)
- func (o *EngineOptionLicense) SetComponents(v []LicenseOption)
- func (o *EngineOptionLicense) SetFileName(v string)
- func (o *EngineOptionLicense) SetRequired(v bool)
- func (o *EngineOptionLicense) SetSecretName(v string)
- func (o *EngineOptionLicense) UnmarshalJSON(bytes []byte) (err error)
- type EngineOptionList
- type EngineOptionsMetricsQueryType
- type EngineOptionsServicePattern
- type EngineServiceVersions
- func (o *EngineServiceVersions) GetComponent() string
- func (o *EngineServiceVersions) GetComponentOk() (*string, bool)
- func (o *EngineServiceVersions) GetUpgradeableVersions() []string
- func (o *EngineServiceVersions) GetUpgradeableVersionsOk() (*[]string, bool)
- func (o *EngineServiceVersions) GetVersions() []EngineServiceVersionsVersionsItem
- func (o *EngineServiceVersions) GetVersionsOk() (*[]EngineServiceVersionsVersionsItem, bool)
- func (o *EngineServiceVersions) HasComponent() bool
- func (o *EngineServiceVersions) HasUpgradeableVersions() bool
- func (o *EngineServiceVersions) HasVersions() bool
- func (o EngineServiceVersions) MarshalJSON() ([]byte, error)
- func (o *EngineServiceVersions) SetComponent(v string)
- func (o *EngineServiceVersions) SetUpgradeableVersions(v []string)
- func (o *EngineServiceVersions) SetVersions(v []EngineServiceVersionsVersionsItem)
- func (o *EngineServiceVersions) UnmarshalJSON(bytes []byte) (err error)
- type EngineServiceVersionsVersionsItem
- func (o *EngineServiceVersionsVersionsItem) GetMajorVersion() string
- func (o *EngineServiceVersionsVersionsItem) GetMajorVersionOk() (*string, bool)
- func (o *EngineServiceVersionsVersionsItem) GetMinorVersions() []string
- func (o *EngineServiceVersionsVersionsItem) GetMinorVersionsOk() (*[]string, bool)
- func (o *EngineServiceVersionsVersionsItem) HasMajorVersion() bool
- func (o *EngineServiceVersionsVersionsItem) HasMinorVersions() bool
- func (o EngineServiceVersionsVersionsItem) MarshalJSON() ([]byte, error)
- func (o *EngineServiceVersionsVersionsItem) SetMajorVersion(v string)
- func (o *EngineServiceVersionsVersionsItem) SetMinorVersions(v []string)
- func (o *EngineServiceVersionsVersionsItem) UnmarshalJSON(bytes []byte) (err error)
- type EngineStatus
- type EngineType
- type Environment
- func (o *Environment) GetAvailabilityZones() []string
- func (o *Environment) GetAvailabilityZonesOk() (*[]string, bool)
- func (o *Environment) GetCreatedAt() time.Time
- func (o *Environment) GetCreatedAtOk() (*time.Time, bool)
- func (o *Environment) GetDescription() string
- func (o *Environment) GetDescriptionOk() (*string, bool)
- func (o *Environment) GetDisplayName() string
- func (o *Environment) GetDisplayNameOk() (*string, bool)
- func (o *Environment) GetExtraInfo() string
- func (o *Environment) GetExtraInfoOk() (*string, bool)
- func (o *Environment) GetId() uuid.UUID
- func (o *Environment) GetIdOk() (*uuid.UUID, bool)
- func (o *Environment) GetImageRegistry() string
- func (o *Environment) GetImageRegistryOk() (*string, bool)
- func (o *Environment) GetName() string
- func (o *Environment) GetNameOk() (*string, bool)
- func (o *Environment) GetNamespaces() []string
- func (o *Environment) GetNamespacesOk() (*[]string, bool)
- func (o *Environment) GetNetworkConfig() NetworkConfig
- func (o *Environment) GetNetworkConfigOk() (*NetworkConfig, bool)
- func (o *Environment) GetOrgName() string
- func (o *Environment) GetOrgNameOk() (*string, bool)
- func (o *Environment) GetPodAntiAffinityEnabled() bool
- func (o *Environment) GetPodAntiAffinityEnabledOk() (*bool, bool)
- func (o *Environment) GetProvider() string
- func (o *Environment) GetProviderOk() (*string, bool)
- func (o *Environment) GetRegion() string
- func (o *Environment) GetRegionOk() (*string, bool)
- func (o *Environment) GetState() EnvironmentState
- func (o *Environment) GetStateOk() (*EnvironmentState, bool)
- func (o *Environment) GetType() EnvironmentType
- func (o *Environment) GetTypeOk() (*EnvironmentType, bool)
- func (o *Environment) GetUpdatedAt() time.Time
- func (o *Environment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Environment) HasDescription() bool
- func (o *Environment) HasDisplayName() bool
- func (o *Environment) HasExtraInfo() bool
- func (o *Environment) HasImageRegistry() bool
- func (o *Environment) HasNamespaces() bool
- func (o *Environment) HasNetworkConfig() bool
- func (o *Environment) HasPodAntiAffinityEnabled() bool
- func (o Environment) MarshalJSON() ([]byte, error)
- func (o *Environment) SetAvailabilityZones(v []string)
- func (o *Environment) SetCreatedAt(v time.Time)
- func (o *Environment) SetDescription(v string)
- func (o *Environment) SetDisplayName(v string)
- func (o *Environment) SetExtraInfo(v string)
- func (o *Environment) SetId(v uuid.UUID)
- func (o *Environment) SetImageRegistry(v string)
- func (o *Environment) SetName(v string)
- func (o *Environment) SetNamespaces(v []string)
- func (o *Environment) SetNetworkConfig(v NetworkConfig)
- func (o *Environment) SetOrgName(v string)
- func (o *Environment) SetPodAntiAffinityEnabled(v bool)
- func (o *Environment) SetProvider(v string)
- func (o *Environment) SetRegion(v string)
- func (o *Environment) SetState(v EnvironmentState)
- func (o *Environment) SetType(v EnvironmentType)
- func (o *Environment) SetUpdatedAt(v time.Time)
- func (o *Environment) UnmarshalJSON(bytes []byte) (err error)
- type EnvironmentApi
- func (a *EnvironmentApi) FilterEnvironment(ctx _context.Context, orgName string, engineName string, version string) (EnvironmentList, *_nethttp.Response, error)
- func (a *EnvironmentApi) GetEnvironment(ctx _context.Context, orgName string, environmentName string) (Environment, *_nethttp.Response, error)
- func (a *EnvironmentApi) ListEnvNodeZone(ctx _context.Context, orgName string, environmentName string) (ZoneList, *_nethttp.Response, error)
- func (a *EnvironmentApi) ListEnvironment(ctx _context.Context, orgName string) (EnvironmentList, *_nethttp.Response, error)
- func (a *EnvironmentApi) ListNodeGroup(ctx _context.Context, environmentName string) (NodeGroup, *_nethttp.Response, error)
- type EnvironmentList
- func (o *EnvironmentList) GetItems() []Environment
- func (o *EnvironmentList) GetItemsOk() (*[]Environment, bool)
- func (o *EnvironmentList) GetPageResult() PageResult
- func (o *EnvironmentList) GetPageResultOk() (*PageResult, bool)
- func (o *EnvironmentList) HasPageResult() bool
- func (o EnvironmentList) MarshalJSON() ([]byte, error)
- func (o *EnvironmentList) SetItems(v []Environment)
- func (o *EnvironmentList) SetPageResult(v PageResult)
- func (o *EnvironmentList) UnmarshalJSON(bytes []byte) (err error)
- type EnvironmentState
- type EnvironmentType
- type Event
- func (o *Event) GetCreatedAt() time.Time
- func (o *Event) GetCreatedAtOk() (*time.Time, bool)
- func (o *Event) GetDetails() string
- func (o *Event) GetDetailsOk() (*string, bool)
- func (o *Event) GetEnd() time.Time
- func (o *Event) GetEndOk() (*time.Time, bool)
- func (o *Event) GetEventName() string
- func (o *Event) GetEventNameOk() (*string, bool)
- func (o *Event) GetHasTask() bool
- func (o *Event) GetHasTaskOk() (*bool, bool)
- func (o *Event) GetId() string
- func (o *Event) GetIdOk() (*string, bool)
- func (o *Event) GetOperator() string
- func (o *Event) GetOperatorId() string
- func (o *Event) GetOperatorIdOk() (*string, bool)
- func (o *Event) GetOperatorOk() (*string, bool)
- func (o *Event) GetResourceId() string
- func (o *Event) GetResourceIdOk() (*string, bool)
- func (o *Event) GetResourceName() string
- func (o *Event) GetResourceNameOk() (*string, bool)
- func (o *Event) GetResourceType() EventResourceType
- func (o *Event) GetResourceTypeOk() (*EventResourceType, bool)
- func (o *Event) GetResult() string
- func (o *Event) GetResultOk() (*string, bool)
- func (o *Event) GetResultStatus() EventResultStatus
- func (o *Event) GetResultStatusOk() (*EventResultStatus, bool)
- func (o *Event) GetSource() EventSource
- func (o *Event) GetSourceOk() (*EventSource, bool)
- func (o *Event) GetStart() time.Time
- func (o *Event) GetStartOk() (*time.Time, bool)
- func (o *Event) HasCreatedAt() bool
- func (o *Event) HasDetails() bool
- func (o *Event) HasEnd() bool
- func (o *Event) HasEventName() bool
- func (o *Event) HasHasTask() bool
- func (o *Event) HasId() bool
- func (o *Event) HasOperator() bool
- func (o *Event) HasOperatorId() bool
- func (o *Event) HasResourceId() bool
- func (o *Event) HasResourceName() bool
- func (o *Event) HasResourceType() bool
- func (o *Event) HasResult() bool
- func (o *Event) HasResultStatus() bool
- func (o *Event) HasSource() bool
- func (o *Event) HasStart() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetCreatedAt(v time.Time)
- func (o *Event) SetDetails(v string)
- func (o *Event) SetEnd(v time.Time)
- func (o *Event) SetEventName(v string)
- func (o *Event) SetHasTask(v bool)
- func (o *Event) SetId(v string)
- func (o *Event) SetOperator(v string)
- func (o *Event) SetOperatorId(v string)
- func (o *Event) SetResourceId(v string)
- func (o *Event) SetResourceName(v string)
- func (o *Event) SetResourceType(v EventResourceType)
- func (o *Event) SetResult(v string)
- func (o *Event) SetResultStatus(v EventResultStatus)
- func (o *Event) SetSource(v EventSource)
- func (o *Event) SetStart(v time.Time)
- func (o *Event) UnmarshalJSON(bytes []byte) (err error)
- type EventApi
- type EventList
- type EventResourceType
- type EventResultStatus
- type EventSource
- type Feature
- func (o *Feature) GetEnabled() bool
- func (o *Feature) GetEnabledOk() (*bool, bool)
- func (o *Feature) GetName() string
- func (o *Feature) GetNameOk() (*string, bool)
- func (o *Feature) GetPreRelease() FeaturePreReleaseType
- func (o *Feature) GetPreReleaseOk() (*FeaturePreReleaseType, bool)
- func (o Feature) MarshalJSON() ([]byte, error)
- func (o *Feature) SetEnabled(v bool)
- func (o *Feature) SetName(v string)
- func (o *Feature) SetPreRelease(v FeaturePreReleaseType)
- func (o *Feature) UnmarshalJSON(bytes []byte) (err error)
- type FeatureApi
- type FeatureList
- type FeaturePreReleaseType
- type FileEntry
- func (o *FileEntry) GetFilename() string
- func (o *FileEntry) GetFilenameOk() (*string, bool)
- func (o *FileEntry) GetFullPath() string
- func (o *FileEntry) GetFullPathOk() (*string, bool)
- func (o *FileEntry) GetIsDir() bool
- func (o *FileEntry) GetIsDirOk() (*bool, bool)
- func (o *FileEntry) GetSize() int64
- func (o *FileEntry) GetSizeOk() (*int64, bool)
- func (o *FileEntry) HasFilename() bool
- func (o *FileEntry) HasFullPath() bool
- func (o *FileEntry) HasIsDir() bool
- func (o *FileEntry) HasSize() bool
- func (o FileEntry) MarshalJSON() ([]byte, error)
- func (o *FileEntry) SetFilename(v string)
- func (o *FileEntry) SetFullPath(v string)
- func (o *FileEntry) SetIsDir(v bool)
- func (o *FileEntry) SetSize(v int64)
- func (o *FileEntry) UnmarshalJSON(bytes []byte) (err error)
- type FileEntryList
- func (o *FileEntryList) GetItems() []FileEntry
- func (o *FileEntryList) GetItemsOk() (*[]FileEntry, bool)
- func (o *FileEntryList) GetPageResult() PageResult
- func (o *FileEntryList) GetPageResultOk() (*PageResult, bool)
- func (o *FileEntryList) HasPageResult() bool
- func (o FileEntryList) MarshalJSON() ([]byte, error)
- func (o *FileEntryList) SetItems(v []FileEntry)
- func (o *FileEntryList) SetPageResult(v PageResult)
- func (o *FileEntryList) UnmarshalJSON(bytes []byte) (err error)
- type FloatOption
- func (o *FloatOption) GetDefault() float64
- func (o *FloatOption) GetDefaultOk() (*float64, bool)
- func (o *FloatOption) GetMax() float64
- func (o *FloatOption) GetMaxOk() (*float64, bool)
- func (o *FloatOption) GetMin() float64
- func (o *FloatOption) GetMinOk() (*float64, bool)
- func (o *FloatOption) GetStep() float64
- func (o *FloatOption) GetStepOk() (*float64, bool)
- func (o FloatOption) MarshalJSON() ([]byte, error)
- func (o *FloatOption) SetDefault(v float64)
- func (o *FloatOption) SetMax(v float64)
- func (o *FloatOption) SetMin(v float64)
- func (o *FloatOption) SetStep(v float64)
- func (o *FloatOption) UnmarshalJSON(bytes []byte) (err error)
- type GenerateDDLOptionalParameters
- type GetBackupRepoOptionalParameters
- type GetClusterBackupPolicyOptionalParameters
- type GetClusterInstanceLogOptionalParameters
- func (r *GetClusterInstanceLogOptionalParameters) WithPrevious(previous bool) *GetClusterInstanceLogOptionalParameters
- func (r *GetClusterInstanceLogOptionalParameters) WithSinceSeconds(sinceSeconds int32) *GetClusterInstanceLogOptionalParameters
- func (r *GetClusterInstanceLogOptionalParameters) WithTailLines(tailLines int32) *GetClusterInstanceLogOptionalParameters
- func (r *GetClusterInstanceLogOptionalParameters) WithWorkloadType(workloadType string) *GetClusterInstanceLogOptionalParameters
- type GetClusterManifestOptionalParameters
- type GetClusterParamTplsOptionalParameters
- type HaHistoryResponse
- func (o *HaHistoryResponse) GetComponentName() string
- func (o *HaHistoryResponse) GetComponentNameOk() (*string, bool)
- func (o *HaHistoryResponse) GetRecords() []HaHistoryResponseRecordsItem
- func (o *HaHistoryResponse) GetRecordsOk() (*[]HaHistoryResponseRecordsItem, bool)
- func (o *HaHistoryResponse) HasComponentName() bool
- func (o *HaHistoryResponse) HasRecords() bool
- func (o HaHistoryResponse) MarshalJSON() ([]byte, error)
- func (o *HaHistoryResponse) SetComponentName(v string)
- func (o *HaHistoryResponse) SetRecords(v []HaHistoryResponseRecordsItem)
- func (o *HaHistoryResponse) UnmarshalJSON(bytes []byte) (err error)
- type HaHistoryResponseRecordsItem
- func (o *HaHistoryResponseRecordsItem) GetEndAt() int32
- func (o *HaHistoryResponseRecordsItem) GetEndAtOk() (*int32, bool)
- func (o *HaHistoryResponseRecordsItem) GetNewPrimary() string
- func (o *HaHistoryResponseRecordsItem) GetNewPrimaryOk() (*string, bool)
- func (o *HaHistoryResponseRecordsItem) GetOldPrimary() string
- func (o *HaHistoryResponseRecordsItem) GetOldPrimaryOk() (*string, bool)
- func (o *HaHistoryResponseRecordsItem) GetReason() string
- func (o *HaHistoryResponseRecordsItem) GetReasonOk() (*string, bool)
- func (o *HaHistoryResponseRecordsItem) GetStartAt() int32
- func (o *HaHistoryResponseRecordsItem) GetStartAtOk() (*int32, bool)
- func (o *HaHistoryResponseRecordsItem) GetUserId() string
- func (o *HaHistoryResponseRecordsItem) GetUserIdOk() (*string, bool)
- func (o *HaHistoryResponseRecordsItem) GetUserName() string
- func (o *HaHistoryResponseRecordsItem) GetUserNameOk() (*string, bool)
- func (o *HaHistoryResponseRecordsItem) HasEndAt() bool
- func (o *HaHistoryResponseRecordsItem) HasNewPrimary() bool
- func (o *HaHistoryResponseRecordsItem) HasOldPrimary() bool
- func (o *HaHistoryResponseRecordsItem) HasReason() bool
- func (o *HaHistoryResponseRecordsItem) HasUserId() bool
- func (o *HaHistoryResponseRecordsItem) HasUserName() bool
- func (o HaHistoryResponseRecordsItem) MarshalJSON() ([]byte, error)
- func (o *HaHistoryResponseRecordsItem) SetEndAt(v int32)
- func (o *HaHistoryResponseRecordsItem) SetNewPrimary(v string)
- func (o *HaHistoryResponseRecordsItem) SetOldPrimary(v string)
- func (o *HaHistoryResponseRecordsItem) SetReason(v string)
- func (o *HaHistoryResponseRecordsItem) SetStartAt(v int32)
- func (o *HaHistoryResponseRecordsItem) SetUserId(v string)
- func (o *HaHistoryResponseRecordsItem) SetUserName(v string)
- func (o *HaHistoryResponseRecordsItem) UnmarshalJSON(bytes []byte) (err error)
- type InitOptionsItem
- func (o *InitOptionsItem) GetComponent() string
- func (o *InitOptionsItem) GetComponentDefRef() string
- func (o *InitOptionsItem) GetComponentDefRefOk() (*string, bool)
- func (o *InitOptionsItem) GetComponentOk() (*string, bool)
- func (o *InitOptionsItem) GetInitParams() map[string]string
- func (o *InitOptionsItem) GetInitParamsOk() (*map[string]string, bool)
- func (o *InitOptionsItem) GetSpecName() string
- func (o *InitOptionsItem) GetSpecNameOk() (*string, bool)
- func (o *InitOptionsItem) HasComponent() bool
- func (o *InitOptionsItem) HasComponentDefRef() bool
- func (o *InitOptionsItem) HasInitParams() bool
- func (o *InitOptionsItem) HasSpecName() bool
- func (o InitOptionsItem) MarshalJSON() ([]byte, error)
- func (o *InitOptionsItem) SetComponent(v string)
- func (o *InitOptionsItem) SetComponentDefRef(v string)
- func (o *InitOptionsItem) SetInitParams(v map[string]string)
- func (o *InitOptionsItem) SetSpecName(v string)
- func (o *InitOptionsItem) UnmarshalJSON(bytes []byte) (err error)
- type Inspection
- func (o *Inspection) GetClusterEngine() string
- func (o *Inspection) GetClusterEngineOk() (*string, bool)
- func (o *Inspection) GetClusterId() string
- func (o *Inspection) GetClusterIdOk() (*string, bool)
- func (o *Inspection) GetClusterName() string
- func (o *Inspection) GetClusterNameOk() (*string, bool)
- func (o *Inspection) GetCreatedAt() time.Time
- func (o *Inspection) GetCreatedAtOk() (*time.Time, bool)
- func (o *Inspection) GetCreator() string
- func (o *Inspection) GetCreatorOk() (*string, bool)
- func (o *Inspection) GetId() int32
- func (o *Inspection) GetIdOk() (*int32, bool)
- func (o *Inspection) GetIsAuto() bool
- func (o *Inspection) GetIsAutoOk() (*bool, bool)
- func (o *Inspection) GetOrgName() string
- func (o *Inspection) GetOrgNameOk() (*string, bool)
- func (o *Inspection) GetReason() string
- func (o *Inspection) GetReasonOk() (*string, bool)
- func (o *Inspection) GetResult() string
- func (o *Inspection) GetResultOk() (*string, bool)
- func (o *Inspection) GetScriptCategory() string
- func (o *Inspection) GetScriptCategoryOk() (*string, bool)
- func (o *Inspection) GetScriptId() int32
- func (o *Inspection) GetScriptIdOk() (*int32, bool)
- func (o *Inspection) GetScriptName() string
- func (o *Inspection) GetScriptNameOk() (*string, bool)
- func (o *Inspection) GetSeverity() string
- func (o *Inspection) GetSeverityOk() (*string, bool)
- func (o *Inspection) GetStatus() string
- func (o *Inspection) GetStatusOk() (*string, bool)
- func (o *Inspection) GetSuggestion() string
- func (o *Inspection) GetSuggestionOk() (*string, bool)
- func (o *Inspection) GetUpdatedAt() time.Time
- func (o *Inspection) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Inspection) HasClusterEngine() bool
- func (o *Inspection) HasClusterId() bool
- func (o *Inspection) HasClusterName() bool
- func (o *Inspection) HasCreatedAt() bool
- func (o *Inspection) HasCreator() bool
- func (o *Inspection) HasId() bool
- func (o *Inspection) HasIsAuto() bool
- func (o *Inspection) HasOrgName() bool
- func (o *Inspection) HasReason() bool
- func (o *Inspection) HasResult() bool
- func (o *Inspection) HasScriptCategory() bool
- func (o *Inspection) HasScriptId() bool
- func (o *Inspection) HasScriptName() bool
- func (o *Inspection) HasSeverity() bool
- func (o *Inspection) HasStatus() bool
- func (o *Inspection) HasSuggestion() bool
- func (o *Inspection) HasUpdatedAt() bool
- func (o Inspection) MarshalJSON() ([]byte, error)
- func (o *Inspection) SetClusterEngine(v string)
- func (o *Inspection) SetClusterId(v string)
- func (o *Inspection) SetClusterName(v string)
- func (o *Inspection) SetCreatedAt(v time.Time)
- func (o *Inspection) SetCreator(v string)
- func (o *Inspection) SetId(v int32)
- func (o *Inspection) SetIsAuto(v bool)
- func (o *Inspection) SetOrgName(v string)
- func (o *Inspection) SetReason(v string)
- func (o *Inspection) SetResult(v string)
- func (o *Inspection) SetScriptCategory(v string)
- func (o *Inspection) SetScriptId(v int32)
- func (o *Inspection) SetScriptName(v string)
- func (o *Inspection) SetSeverity(v string)
- func (o *Inspection) SetStatus(v string)
- func (o *Inspection) SetSuggestion(v string)
- func (o *Inspection) SetUpdatedAt(v time.Time)
- func (o *Inspection) UnmarshalJSON(bytes []byte) (err error)
- type InspectionApi
- func (a *InspectionApi) CreateAutoInspection(ctx _context.Context, orgName string, body AutoInspection) (AutoInspection, *_nethttp.Response, error)
- func (a *InspectionApi) CreateInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
- func (a *InspectionApi) DeleteInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
- func (a *InspectionApi) ListAutoInspection(ctx _context.Context, orgName string) (AutoInspection, *_nethttp.Response, error)
- func (a *InspectionApi) ListInspectionScripts(ctx _context.Context, orgName string, ...) ([]InspectionScript, *_nethttp.Response, error)
- func (a *InspectionApi) ListInspections(ctx _context.Context, orgName string, o ...ListInspectionsOptionalParameters) ([]Inspection, *_nethttp.Response, error)
- func (a *InspectionApi) UpdateAutoInspection(ctx _context.Context, orgName string, body AutoInspection) (AutoInspection, *_nethttp.Response, error)
- func (a *InspectionApi) UpdateInspection(ctx _context.Context, orgName string, body Inspection) (Inspection, *_nethttp.Response, error)
- func (a *InspectionApi) UpdateInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
- type InspectionScript
- func (o *InspectionScript) GetCategory() string
- func (o *InspectionScript) GetCategoryOk() (*string, bool)
- func (o *InspectionScript) GetEnabled() bool
- func (o *InspectionScript) GetEnabledOk() (*bool, bool)
- func (o *InspectionScript) GetEngine() string
- func (o *InspectionScript) GetEngineOk() (*string, bool)
- func (o *InspectionScript) GetId() int32
- func (o *InspectionScript) GetIdOk() (*int32, bool)
- func (o *InspectionScript) GetName() string
- func (o *InspectionScript) GetNameOk() (*string, bool)
- func (o *InspectionScript) GetReason() string
- func (o *InspectionScript) GetReasonOk() (*string, bool)
- func (o *InspectionScript) GetScript() string
- func (o *InspectionScript) GetScriptName() string
- func (o *InspectionScript) GetScriptNameOk() (*string, bool)
- func (o *InspectionScript) GetScriptOk() (*string, bool)
- func (o *InspectionScript) GetScriptType() string
- func (o *InspectionScript) GetScriptTypeOk() (*string, bool)
- func (o *InspectionScript) GetStatusCheck() string
- func (o *InspectionScript) GetStatusCheckName() string
- func (o *InspectionScript) GetStatusCheckNameOk() (*string, bool)
- func (o *InspectionScript) GetStatusCheckOk() (*string, bool)
- func (o *InspectionScript) GetSuggestion() string
- func (o *InspectionScript) GetSuggestionOk() (*string, bool)
- func (o *InspectionScript) GetType() string
- func (o *InspectionScript) GetTypeOk() (*string, bool)
- func (o *InspectionScript) HasCategory() bool
- func (o *InspectionScript) HasEnabled() bool
- func (o *InspectionScript) HasEngine() bool
- func (o *InspectionScript) HasId() bool
- func (o *InspectionScript) HasName() bool
- func (o *InspectionScript) HasReason() bool
- func (o *InspectionScript) HasScript() bool
- func (o *InspectionScript) HasScriptName() bool
- func (o *InspectionScript) HasScriptType() bool
- func (o *InspectionScript) HasStatusCheck() bool
- func (o *InspectionScript) HasStatusCheckName() bool
- func (o *InspectionScript) HasSuggestion() bool
- func (o *InspectionScript) HasType() bool
- func (o InspectionScript) MarshalJSON() ([]byte, error)
- func (o *InspectionScript) SetCategory(v string)
- func (o *InspectionScript) SetEnabled(v bool)
- func (o *InspectionScript) SetEngine(v string)
- func (o *InspectionScript) SetId(v int32)
- func (o *InspectionScript) SetName(v string)
- func (o *InspectionScript) SetReason(v string)
- func (o *InspectionScript) SetScript(v string)
- func (o *InspectionScript) SetScriptName(v string)
- func (o *InspectionScript) SetScriptType(v string)
- func (o *InspectionScript) SetStatusCheck(v string)
- func (o *InspectionScript) SetStatusCheckName(v string)
- func (o *InspectionScript) SetSuggestion(v string)
- func (o *InspectionScript) SetType(v string)
- func (o *InspectionScript) UnmarshalJSON(bytes []byte) (err error)
- type Instance
- func (o *Instance) GetAccessMode() string
- func (o *Instance) GetAccessModeOk() (*string, bool)
- func (o *Instance) GetCloud() string
- func (o *Instance) GetCloudOk() (*string, bool)
- func (o *Instance) GetCluster() string
- func (o *Instance) GetClusterOk() (*string, bool)
- func (o *Instance) GetComponent() string
- func (o *Instance) GetComponentDef() string
- func (o *Instance) GetComponentDefOk() (*string, bool)
- func (o *Instance) GetComponentName() string
- func (o *Instance) GetComponentNameOk() (*string, bool)
- func (o *Instance) GetComponentOk() (*string, bool)
- func (o *Instance) GetCpu() string
- func (o *Instance) GetCpuOk() (*string, bool)
- func (o *Instance) GetCreatedAt() string
- func (o *Instance) GetCreatedAtOk() (*string, bool)
- func (o *Instance) GetMemory() string
- func (o *Instance) GetMemoryOk() (*string, bool)
- func (o *Instance) GetName() string
- func (o *Instance) GetNameOk() (*string, bool)
- func (o *Instance) GetNode() string
- func (o *Instance) GetNodeOk() (*string, bool)
- func (o *Instance) GetRegion() string
- func (o *Instance) GetRegionOk() (*string, bool)
- func (o *Instance) GetRole() string
- func (o *Instance) GetRoleOk() (*string, bool)
- func (o *Instance) GetStatus() InstanceStatus
- func (o *Instance) GetStatusOk() (*InstanceStatus, bool)
- func (o *Instance) GetStorage() []InstanceStorageItem
- func (o *Instance) GetStorageOk() (*[]InstanceStorageItem, bool)
- func (o *Instance) GetZone() string
- func (o *Instance) GetZoneOk() (*string, bool)
- func (o *Instance) HasComponentDef() bool
- func (o *Instance) HasComponentName() bool
- func (o Instance) MarshalJSON() ([]byte, error)
- func (o *Instance) SetAccessMode(v string)
- func (o *Instance) SetCloud(v string)
- func (o *Instance) SetCluster(v string)
- func (o *Instance) SetComponent(v string)
- func (o *Instance) SetComponentDef(v string)
- func (o *Instance) SetComponentName(v string)
- func (o *Instance) SetCpu(v string)
- func (o *Instance) SetCreatedAt(v string)
- func (o *Instance) SetMemory(v string)
- func (o *Instance) SetName(v string)
- func (o *Instance) SetNode(v string)
- func (o *Instance) SetRegion(v string)
- func (o *Instance) SetRole(v string)
- func (o *Instance) SetStatus(v InstanceStatus)
- func (o *Instance) SetStorage(v []InstanceStorageItem)
- func (o *Instance) SetZone(v string)
- func (o *Instance) UnmarshalJSON(bytes []byte) (err error)
- type InstanceList
- type InstanceMetrics
- func (o *InstanceMetrics) GetCpuUsage() string
- func (o *InstanceMetrics) GetCpuUsageOk() (*string, bool)
- func (o *InstanceMetrics) GetDiskUsage() string
- func (o *InstanceMetrics) GetDiskUsageOk() (*string, bool)
- func (o *InstanceMetrics) GetInstanceName() string
- func (o *InstanceMetrics) GetInstanceNameOk() (*string, bool)
- func (o *InstanceMetrics) GetMemoryUsage() string
- func (o *InstanceMetrics) GetMemoryUsageOk() (*string, bool)
- func (o InstanceMetrics) MarshalJSON() ([]byte, error)
- func (o *InstanceMetrics) SetCpuUsage(v string)
- func (o *InstanceMetrics) SetDiskUsage(v string)
- func (o *InstanceMetrics) SetInstanceName(v string)
- func (o *InstanceMetrics) SetMemoryUsage(v string)
- func (o *InstanceMetrics) UnmarshalJSON(bytes []byte) (err error)
- type InstanceMetricsList
- func (o *InstanceMetricsList) GetItems() []InstanceMetrics
- func (o *InstanceMetricsList) GetItemsOk() (*[]InstanceMetrics, bool)
- func (o InstanceMetricsList) MarshalJSON() ([]byte, error)
- func (o *InstanceMetricsList) SetItems(v []InstanceMetrics)
- func (o *InstanceMetricsList) UnmarshalJSON(bytes []byte) (err error)
- type InstanceStatus
- func (o *InstanceStatus) GetMessage() string
- func (o *InstanceStatus) GetMessageOk() (*string, bool)
- func (o *InstanceStatus) GetPhase() string
- func (o *InstanceStatus) GetPhaseOk() (*string, bool)
- func (o *InstanceStatus) GetReason() string
- func (o *InstanceStatus) GetReasonOk() (*string, bool)
- func (o *InstanceStatus) HasMessage() bool
- func (o *InstanceStatus) HasReason() bool
- func (o InstanceStatus) MarshalJSON() ([]byte, error)
- func (o *InstanceStatus) SetMessage(v string)
- func (o *InstanceStatus) SetPhase(v string)
- func (o *InstanceStatus) SetReason(v string)
- func (o *InstanceStatus) UnmarshalJSON(bytes []byte) (err error)
- type InstanceStorageItem
- func (o *InstanceStorageItem) GetName() string
- func (o *InstanceStorageItem) GetNameOk() (*string, bool)
- func (o *InstanceStorageItem) GetSize() string
- func (o *InstanceStorageItem) GetSizeOk() (*string, bool)
- func (o *InstanceStorageItem) GetStorageClass() string
- func (o *InstanceStorageItem) GetStorageClassOk() (*string, bool)
- func (o *InstanceStorageItem) HasStorageClass() bool
- func (o InstanceStorageItem) MarshalJSON() ([]byte, error)
- func (o *InstanceStorageItem) SetName(v string)
- func (o *InstanceStorageItem) SetSize(v string)
- func (o *InstanceStorageItem) SetStorageClass(v string)
- func (o *InstanceStorageItem) UnmarshalJSON(bytes []byte) (err error)
- type IntegerOption
- func (o *IntegerOption) GetDefault() int32
- func (o *IntegerOption) GetDefaultOk() (*int32, bool)
- func (o *IntegerOption) GetMax() int32
- func (o *IntegerOption) GetMaxOk() (*int32, bool)
- func (o *IntegerOption) GetMin() int32
- func (o *IntegerOption) GetMinOk() (*int32, bool)
- func (o *IntegerOption) GetStep() int32
- func (o *IntegerOption) GetStepOk() (*int32, bool)
- func (o IntegerOption) MarshalJSON() ([]byte, error)
- func (o *IntegerOption) SetDefault(v int32)
- func (o *IntegerOption) SetMax(v int32)
- func (o *IntegerOption) SetMin(v int32)
- func (o *IntegerOption) SetStep(v int32)
- func (o *IntegerOption) UnmarshalJSON(bytes []byte) (err error)
- type Invitation
- func (o *Invitation) GetAccepted() bool
- func (o *Invitation) GetAcceptedOk() (*bool, bool)
- func (o *Invitation) GetCreatedAt() time.Time
- func (o *Invitation) GetCreatedAtOk() (*time.Time, bool)
- func (o *Invitation) GetEmail() string
- func (o *Invitation) GetEmailOk() (*string, bool)
- func (o *Invitation) GetExpireTime() time.Time
- func (o *Invitation) GetExpireTimeOk() (*time.Time, bool)
- func (o *Invitation) GetId() string
- func (o *Invitation) GetIdOk() (*string, bool)
- func (o *Invitation) GetLastEmailTime() time.Time
- func (o *Invitation) GetLastEmailTimeOk() (*time.Time, bool)
- func (o *Invitation) GetOrgName() string
- func (o *Invitation) GetOrgNameOk() (*string, bool)
- func (o *Invitation) GetRoleName() string
- func (o *Invitation) GetRoleNameOk() (*string, bool)
- func (o *Invitation) GetSender() InvitationSender
- func (o *Invitation) GetSenderOk() (*InvitationSender, bool)
- func (o *Invitation) GetToken() string
- func (o *Invitation) GetTokenOk() (*string, bool)
- func (o *Invitation) GetUpdatedAt() time.Time
- func (o *Invitation) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Invitation) HasCreatedAt() bool
- func (o *Invitation) HasSender() bool
- func (o *Invitation) HasUpdatedAt() bool
- func (o Invitation) MarshalJSON() ([]byte, error)
- func (o *Invitation) SetAccepted(v bool)
- func (o *Invitation) SetCreatedAt(v time.Time)
- func (o *Invitation) SetEmail(v string)
- func (o *Invitation) SetExpireTime(v time.Time)
- func (o *Invitation) SetId(v string)
- func (o *Invitation) SetLastEmailTime(v time.Time)
- func (o *Invitation) SetOrgName(v string)
- func (o *Invitation) SetRoleName(v string)
- func (o *Invitation) SetSender(v InvitationSender)
- func (o *Invitation) SetToken(v string)
- func (o *Invitation) SetUpdatedAt(v time.Time)
- func (o *Invitation) UnmarshalJSON(bytes []byte) (err error)
- type InvitationApi
- func (a *InvitationApi) AcceptInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
- func (a *InvitationApi) CreateInvitation(ctx _context.Context, body InvitationCreate, ...) (Invitation, *_nethttp.Response, error)
- func (a *InvitationApi) DeleteInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
- func (a *InvitationApi) ListInvitation(ctx _context.Context, o ...ListInvitationOptionalParameters) (InvitationList, *_nethttp.Response, error)
- func (a *InvitationApi) ReadInvitation(ctx _context.Context, invitationId string) (Invitation, *_nethttp.Response, error)
- func (a *InvitationApi) RejectInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
- func (a *InvitationApi) ResendInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
- type InvitationCreate
- func (o *InvitationCreate) GetEmail() string
- func (o *InvitationCreate) GetEmailOk() (*string, bool)
- func (o *InvitationCreate) GetOrgName() string
- func (o *InvitationCreate) GetOrgNameOk() (*string, bool)
- func (o *InvitationCreate) GetRoleName() string
- func (o *InvitationCreate) GetRoleNameOk() (*string, bool)
- func (o InvitationCreate) MarshalJSON() ([]byte, error)
- func (o *InvitationCreate) SetEmail(v string)
- func (o *InvitationCreate) SetOrgName(v string)
- func (o *InvitationCreate) SetRoleName(v string)
- func (o *InvitationCreate) UnmarshalJSON(bytes []byte) (err error)
- type InvitationList
- func (o *InvitationList) GetItems() []Invitation
- func (o *InvitationList) GetItemsOk() (*[]Invitation, bool)
- func (o *InvitationList) GetPageResult() PageResult
- func (o *InvitationList) GetPageResultOk() (*PageResult, bool)
- func (o *InvitationList) HasPageResult() bool
- func (o InvitationList) MarshalJSON() ([]byte, error)
- func (o *InvitationList) SetItems(v []Invitation)
- func (o *InvitationList) SetPageResult(v PageResult)
- func (o *InvitationList) UnmarshalJSON(bytes []byte) (err error)
- type InvitationSender
- func (o *InvitationSender) GetEmail() string
- func (o *InvitationSender) GetEmailOk() (*string, bool)
- func (o *InvitationSender) GetId() string
- func (o *InvitationSender) GetIdOk() (*string, bool)
- func (o *InvitationSender) GetName() string
- func (o *InvitationSender) GetNameOk() (*string, bool)
- func (o *InvitationSender) HasEmail() bool
- func (o *InvitationSender) HasId() bool
- func (o *InvitationSender) HasName() bool
- func (o InvitationSender) MarshalJSON() ([]byte, error)
- func (o *InvitationSender) SetEmail(v string)
- func (o *InvitationSender) SetId(v string)
- func (o *InvitationSender) SetName(v string)
- func (o *InvitationSender) UnmarshalJSON(bytes []byte) (err error)
- type IpWhitelist
- func (o *IpWhitelist) GetAddresses() []string
- func (o *IpWhitelist) GetAddressesOk() (*[]string, bool)
- func (o *IpWhitelist) GetCreatedAt() time.Time
- func (o *IpWhitelist) GetCreatedAtOk() (*time.Time, bool)
- func (o *IpWhitelist) GetDescription() string
- func (o *IpWhitelist) GetDescriptionOk() (*string, bool)
- func (o *IpWhitelist) GetId() string
- func (o *IpWhitelist) GetIdOk() (*string, bool)
- func (o *IpWhitelist) GetName() string
- func (o *IpWhitelist) GetNameOk() (*string, bool)
- func (o *IpWhitelist) GetUpdatedAt() time.Time
- func (o *IpWhitelist) GetUpdatedAtOk() (*time.Time, bool)
- func (o *IpWhitelist) HasCreatedAt() bool
- func (o *IpWhitelist) HasDescription() bool
- func (o *IpWhitelist) HasUpdatedAt() bool
- func (o IpWhitelist) MarshalJSON() ([]byte, error)
- func (o *IpWhitelist) SetAddresses(v []string)
- func (o *IpWhitelist) SetCreatedAt(v time.Time)
- func (o *IpWhitelist) SetDescription(v string)
- func (o *IpWhitelist) SetId(v string)
- func (o *IpWhitelist) SetName(v string)
- func (o *IpWhitelist) SetUpdatedAt(v time.Time)
- func (o *IpWhitelist) UnmarshalJSON(bytes []byte) (err error)
- type IpWhitelistApi
- func (a *IpWhitelistApi) CreateIPWhitelist(ctx _context.Context, orgName string, clusterName string, body interface{}) (IpWhitelist, *_nethttp.Response, error)
- func (a *IpWhitelistApi) ListIPWhitelist(ctx _context.Context, orgName string, clusterName string) (IpWhitelistList, *_nethttp.Response, error)
- func (a *IpWhitelistApi) UpdateIPWhitelist(ctx _context.Context, orgName string, clusterName string, ipWhitelistId string, ...) (IpWhitelist, *_nethttp.Response, error)
- type IpWhitelistList
- type KubernetesManifestList
- func (o *KubernetesManifestList) GetKubernetesManifests() []map[string]interface{}
- func (o *KubernetesManifestList) GetKubernetesManifestsOk() (*[]map[string]interface{}, bool)
- func (o *KubernetesManifestList) HasKubernetesManifests() bool
- func (o KubernetesManifestList) MarshalJSON() ([]byte, error)
- func (o *KubernetesManifestList) SetKubernetesManifests(v []map[string]interface{})
- func (o *KubernetesManifestList) UnmarshalJSON(bytes []byte) (err error)
- type LicenseOption
- func (o *LicenseOption) GetComponent() string
- func (o *LicenseOption) GetComponentOk() (*string, bool)
- func (o *LicenseOption) GetOpsDefName() string
- func (o *LicenseOption) GetOpsDefNameOk() (*string, bool)
- func (o LicenseOption) MarshalJSON() ([]byte, error)
- func (o *LicenseOption) SetComponent(v string)
- func (o *LicenseOption) SetOpsDefName(v string)
- func (o *LicenseOption) UnmarshalJSON(bytes []byte) (err error)
- type ListAccountsOptionalParameters
- type ListAlertMetricsOptionalParameters
- type ListAlertReceiversOptionalParameters
- type ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithBackupRepo(backupRepo string) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithBackupType(backupType string) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithClusterId(clusterId string) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithClusterName(clusterName string) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithComponentName(componentName string) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithFetchWithDeletedCluster(fetchWithDeletedCluster bool) *ListBackupsOptionalParameters
- func (r *ListBackupsOptionalParameters) WithWithDeletedBackups(withDeletedBackups bool) *ListBackupsOptionalParameters
- type ListBenchmarkOptionalParameters
- func (r *ListBenchmarkOptionalParameters) WithBenchType(benchType string) *ListBenchmarkOptionalParameters
- func (r *ListBenchmarkOptionalParameters) WithCluster(cluster string) *ListBenchmarkOptionalParameters
- func (r *ListBenchmarkOptionalParameters) WithClusterId(clusterId string) *ListBenchmarkOptionalParameters
- type ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithClusterDefinition(clusterDefinition string) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithEnvironmentName(environmentName string) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithEnvironmentType(environmentType EnvironmentType) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithLicenseId(licenseId int32) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithTagKey(tagKey string) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithTagKeys(tagKeys []string) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithTagValue(tagValue string) *ListClusterOptionalParameters
- func (r *ListClusterOptionalParameters) WithTagValues(tagValues []string) *ListClusterOptionalParameters
- type ListConfigurationsOptionalParameters
- type ListEndpointsOptionalParameters
- type ListEngineLicensesOptionalParameters
- type ListEnginesInEnvOptionalParameters
- func (r *ListEnginesInEnvOptionalParameters) WithAll(all bool) *ListEnginesInEnvOptionalParameters
- func (r *ListEnginesInEnvOptionalParameters) WithName(name string) *ListEnginesInEnvOptionalParameters
- func (r *ListEnginesInEnvOptionalParameters) WithProvider(provider string) *ListEnginesInEnvOptionalParameters
- func (r *ListEnginesInEnvOptionalParameters) WithType(typeVar EngineType) *ListEnginesInEnvOptionalParameters
- func (r *ListEnginesInEnvOptionalParameters) WithVersion(version string) *ListEnginesInEnvOptionalParameters
- type ListEnginesInOrgOptionalParameters
- func (r *ListEnginesInOrgOptionalParameters) WithEnvironmentName(environmentName string) *ListEnginesInOrgOptionalParameters
- func (r *ListEnginesInOrgOptionalParameters) WithName(name string) *ListEnginesInOrgOptionalParameters
- func (r *ListEnginesInOrgOptionalParameters) WithProvider(provider string) *ListEnginesInOrgOptionalParameters
- func (r *ListEnginesInOrgOptionalParameters) WithType(typeVar EngineType) *ListEnginesInOrgOptionalParameters
- func (r *ListEnginesInOrgOptionalParameters) WithVersion(version string) *ListEnginesInOrgOptionalParameters
- type ListFeatureOptionalParameters
- type ListInspectionScriptsOptionalParameters
- type ListInspectionsOptionalParameters
- type ListInvitationOptionalParameters
- func (r *ListInvitationOptionalParameters) WithOrgName(orgName string) *ListInvitationOptionalParameters
- func (r *ListInvitationOptionalParameters) WithPageSize(pageSize string) *ListInvitationOptionalParameters
- func (r *ListInvitationOptionalParameters) WithPageToken(pageToken string) *ListInvitationOptionalParameters
- func (r *ListInvitationOptionalParameters) WithUserId(userId string) *ListInvitationOptionalParameters
- type ListOrgMemberOptionalParameters
- type ListOrgOptionalParameters
- type ListParamTplOptionalParameters
- func (r *ListParamTplOptionalParameters) WithComponent(component string) *ListParamTplOptionalParameters
- func (r *ListParamTplOptionalParameters) WithPartition(partition ParamTplPartition) *ListParamTplOptionalParameters
- func (r *ListParamTplOptionalParameters) WithVersion(version string) *ListParamTplOptionalParameters
- type ListParameterSpecsOptionalParameters
- type ListParametersHistoryOptionalParameters
- type ListServiceVersionOptionalParameters
- type ListSessionsOptionalParameters
- type LoadBalancer
- func (o *LoadBalancer) GetAvailable() LoadBalancerAvailableType
- func (o *LoadBalancer) GetAvailableOk() (*LoadBalancerAvailableType, bool)
- func (o LoadBalancer) MarshalJSON() ([]byte, error)
- func (o *LoadBalancer) SetAvailable(v LoadBalancerAvailableType)
- func (o *LoadBalancer) UnmarshalJSON(bytes []byte) (err error)
- type LoadBalancerApi
- type LoadBalancerAvailableType
- type LocalizedDescription
- func (o *LocalizedDescription) GetEnUs() string
- func (o *LocalizedDescription) GetEnUsOk() (*string, bool)
- func (o *LocalizedDescription) GetZhCn() string
- func (o *LocalizedDescription) GetZhCnOk() (*string, bool)
- func (o LocalizedDescription) MarshalJSON() ([]byte, error)
- func (o *LocalizedDescription) SetEnUs(v string)
- func (o *LocalizedDescription) SetZhCn(v string)
- func (o *LocalizedDescription) UnmarshalJSON(bytes []byte) (err error)
- type LogDisk
- func (o *LogDisk) GetLogDiskAssigned() string
- func (o *LogDisk) GetLogDiskAssignedOk() (*string, bool)
- func (o *LogDisk) GetLogDiskCapacity() string
- func (o *LogDisk) GetLogDiskCapacityOk() (*string, bool)
- func (o *LogDisk) GetLogDiskInUse() string
- func (o *LogDisk) GetLogDiskInUseOk() (*string, bool)
- func (o *LogDisk) HasLogDiskAssigned() bool
- func (o *LogDisk) HasLogDiskCapacity() bool
- func (o *LogDisk) HasLogDiskInUse() bool
- func (o LogDisk) MarshalJSON() ([]byte, error)
- func (o *LogDisk) SetLogDiskAssigned(v string)
- func (o *LogDisk) SetLogDiskCapacity(v string)
- func (o *LogDisk) SetLogDiskInUse(v string)
- func (o *LogDisk) UnmarshalJSON(bytes []byte) (err error)
- type LogOption
- func (o *LogOption) GetAudit() bool
- func (o *LogOption) GetAuditOk() (*bool, bool)
- func (o *LogOption) GetComponent() string
- func (o *LogOption) GetComponentOk() (*string, bool)
- func (o *LogOption) GetError() bool
- func (o *LogOption) GetErrorOk() (*bool, bool)
- func (o *LogOption) GetRunning() bool
- func (o *LogOption) GetRunningOk() (*bool, bool)
- func (o *LogOption) GetSlow() bool
- func (o *LogOption) GetSlowOk() (*bool, bool)
- func (o LogOption) MarshalJSON() ([]byte, error)
- func (o *LogOption) SetAudit(v bool)
- func (o *LogOption) SetComponent(v string)
- func (o *LogOption) SetError(v bool)
- func (o *LogOption) SetRunning(v bool)
- func (o *LogOption) SetSlow(v bool)
- func (o *LogOption) UnmarshalJSON(bytes []byte) (err error)
- type ManifestType
- type MarkClusterApi
- type MemberApi
- func (a *MemberApi) AddOrgMember(ctx _context.Context, orgName string, body OrgMemberAdd) (OrgMember, *_nethttp.Response, error)
- func (a *MemberApi) DeleteOrgMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
- func (a *MemberApi) ListOrgMember(ctx _context.Context, orgName string, o ...ListOrgMemberOptionalParameters) (OrgMemberList, *_nethttp.Response, error)
- func (a *MemberApi) ListOrgMemberPermission(ctx _context.Context, orgName string) (PermissionList, *_nethttp.Response, error)
- func (a *MemberApi) PatchOrgMember(ctx _context.Context, orgName string, memberId string, body OrgMemberUpdate) (OrgMember, *_nethttp.Response, error)
- func (a *MemberApi) ReadOrgMember(ctx _context.Context, orgName string, memberId string) (OrgMember, *_nethttp.Response, error)
- type Memory
- func (o *Memory) GetMemAssigned() string
- func (o *Memory) GetMemAssignedOk() (*string, bool)
- func (o *Memory) GetMemCapacity() string
- func (o *Memory) GetMemCapacityOk() (*string, bool)
- func (o *Memory) GetMemoryLimit() string
- func (o *Memory) GetMemoryLimitOk() (*string, bool)
- func (o *Memory) HasMemAssigned() bool
- func (o *Memory) HasMemCapacity() bool
- func (o *Memory) HasMemoryLimit() bool
- func (o Memory) MarshalJSON() ([]byte, error)
- func (o *Memory) SetMemAssigned(v string)
- func (o *Memory) SetMemCapacity(v string)
- func (o *Memory) SetMemoryLimit(v string)
- func (o *Memory) UnmarshalJSON(bytes []byte) (err error)
- type MetricsApi
- type MetricsOption
- func (o *MetricsOption) GetReplicationLag() MetricsOptionReplicationLag
- func (o *MetricsOption) GetReplicationLagOk() (*MetricsOptionReplicationLag, bool)
- func (o *MetricsOption) HasReplicationLag() bool
- func (o MetricsOption) MarshalJSON() ([]byte, error)
- func (o *MetricsOption) SetReplicationLag(v MetricsOptionReplicationLag)
- func (o *MetricsOption) UnmarshalJSON(bytes []byte) (err error)
- type MetricsOptionReplicationLag
- func (o *MetricsOptionReplicationLag) GetQueryPattern() string
- func (o *MetricsOptionReplicationLag) GetQueryPatternOk() (*string, bool)
- func (o *MetricsOptionReplicationLag) GetQueryType() EngineOptionsMetricsQueryType
- func (o *MetricsOptionReplicationLag) GetQueryTypeOk() (*EngineOptionsMetricsQueryType, bool)
- func (o *MetricsOptionReplicationLag) HasQueryPattern() bool
- func (o *MetricsOptionReplicationLag) HasQueryType() bool
- func (o MetricsOptionReplicationLag) MarshalJSON() ([]byte, error)
- func (o *MetricsOptionReplicationLag) SetQueryPattern(v string)
- func (o *MetricsOptionReplicationLag) SetQueryType(v EngineOptionsMetricsQueryType)
- func (o *MetricsOptionReplicationLag) UnmarshalJSON(bytes []byte) (err error)
- type MetricsQueryType
- type ModeComponent
- func (o *ModeComponent) GetComponent() string
- func (o *ModeComponent) GetComponentOk() (*string, bool)
- func (o *ModeComponent) GetCpu() FloatOption
- func (o *ModeComponent) GetCpuOk() (*FloatOption, bool)
- func (o *ModeComponent) GetHideEnpoints() bool
- func (o *ModeComponent) GetHideEnpointsOk() (*bool, bool)
- func (o *ModeComponent) GetHideOnCreate() bool
- func (o *ModeComponent) GetHideOnCreateOk() (*bool, bool)
- func (o *ModeComponent) GetMemory() FloatOption
- func (o *ModeComponent) GetMemoryOk() (*FloatOption, bool)
- func (o *ModeComponent) GetReplicas() IntegerOption
- func (o *ModeComponent) GetReplicasOk() (*IntegerOption, bool)
- func (o *ModeComponent) GetShards() IntegerOption
- func (o *ModeComponent) GetShardsOk() (*IntegerOption, bool)
- func (o *ModeComponent) GetStorages() []StorageOption
- func (o *ModeComponent) GetStoragesOk() (*[]StorageOption, bool)
- func (o *ModeComponent) HasShards() bool
- func (o ModeComponent) MarshalJSON() ([]byte, error)
- func (o *ModeComponent) SetComponent(v string)
- func (o *ModeComponent) SetCpu(v FloatOption)
- func (o *ModeComponent) SetHideEnpoints(v bool)
- func (o *ModeComponent) SetHideOnCreate(v bool)
- func (o *ModeComponent) SetMemory(v FloatOption)
- func (o *ModeComponent) SetReplicas(v IntegerOption)
- func (o *ModeComponent) SetShards(v IntegerOption)
- func (o *ModeComponent) SetStorages(v []StorageOption)
- func (o *ModeComponent) UnmarshalJSON(bytes []byte) (err error)
- type ModeOption
- func (o *ModeOption) GetComponents() []ModeComponent
- func (o *ModeOption) GetComponentsOk() (*[]ModeComponent, bool)
- func (o *ModeOption) GetDescription() LocalizedDescription
- func (o *ModeOption) GetDescriptionOk() (*LocalizedDescription, bool)
- func (o *ModeOption) GetExtra() map[string]interface{}
- func (o *ModeOption) GetExtraOk() (*map[string]interface{}, bool)
- func (o *ModeOption) GetName() string
- func (o *ModeOption) GetNameOk() (*string, bool)
- func (o *ModeOption) GetProxy() ModeOptionProxy
- func (o *ModeOption) GetProxyOk() (*ModeOptionProxy, bool)
- func (o *ModeOption) GetTitle() LocalizedDescription
- func (o *ModeOption) GetTitleOk() (*LocalizedDescription, bool)
- func (o *ModeOption) HasExtra() bool
- func (o *ModeOption) HasProxy() bool
- func (o ModeOption) MarshalJSON() ([]byte, error)
- func (o *ModeOption) SetComponents(v []ModeComponent)
- func (o *ModeOption) SetDescription(v LocalizedDescription)
- func (o *ModeOption) SetExtra(v map[string]interface{})
- func (o *ModeOption) SetName(v string)
- func (o *ModeOption) SetProxy(v ModeOptionProxy)
- func (o *ModeOption) SetTitle(v LocalizedDescription)
- func (o *ModeOption) UnmarshalJSON(bytes []byte) (err error)
- type ModeOptionProxy
- func (o *ModeOptionProxy) GetEnabled() bool
- func (o *ModeOptionProxy) GetEnabledOk() (*bool, bool)
- func (o *ModeOptionProxy) HasEnabled() bool
- func (o ModeOptionProxy) MarshalJSON() ([]byte, error)
- func (o *ModeOptionProxy) SetEnabled(v bool)
- func (o *ModeOptionProxy) UnmarshalJSON(bytes []byte) (err error)
- type NetworkConfig
- func (o *NetworkConfig) GetInternetLbEnabled() bool
- func (o *NetworkConfig) GetInternetLbEnabledOk() (*bool, bool)
- func (o *NetworkConfig) GetLbEnabled() bool
- func (o *NetworkConfig) GetLbEnabledOk() (*bool, bool)
- func (o *NetworkConfig) GetNodePortEnabled() bool
- func (o *NetworkConfig) GetNodePortEnabledOk() (*bool, bool)
- func (o *NetworkConfig) HasInternetLbEnabled() bool
- func (o *NetworkConfig) HasLbEnabled() bool
- func (o *NetworkConfig) HasNodePortEnabled() bool
- func (o NetworkConfig) MarshalJSON() ([]byte, error)
- func (o *NetworkConfig) SetInternetLbEnabled(v bool)
- func (o *NetworkConfig) SetLbEnabled(v bool)
- func (o *NetworkConfig) SetNodePortEnabled(v bool)
- func (o *NetworkConfig) UnmarshalJSON(bytes []byte) (err error)
- type NodeGroup
- func (o *NodeGroup) GetDescription() string
- func (o *NodeGroup) GetDescriptionOk() (*string, bool)
- func (o *NodeGroup) GetName() string
- func (o *NodeGroup) GetNameOk() (*string, bool)
- func (o *NodeGroup) GetNodes() []string
- func (o *NodeGroup) GetNodesOk() (*[]string, bool)
- func (o *NodeGroup) HasDescription() bool
- func (o NodeGroup) MarshalJSON() ([]byte, error)
- func (o *NodeGroup) SetDescription(v string)
- func (o *NodeGroup) SetName(v string)
- func (o *NodeGroup) SetNodes(v []string)
- func (o *NodeGroup) UnmarshalJSON(bytes []byte) (err error)
- type ObParameter
- func (o *ObParameter) GetDataType() string
- func (o *ObParameter) GetDataTypeOk() (*string, bool)
- func (o *ObParameter) GetDescription() string
- func (o *ObParameter) GetDescriptionOk() (*string, bool)
- func (o *ObParameter) GetEditLevel() string
- func (o *ObParameter) GetEditLevelOk() (*string, bool)
- func (o *ObParameter) GetEnum() []map[string]interface{}
- func (o *ObParameter) GetEnumOk() (*[]map[string]interface{}, bool)
- func (o *ObParameter) GetImmutable() bool
- func (o *ObParameter) GetImmutableOk() (*bool, bool)
- func (o *ObParameter) GetIsVariable() bool
- func (o *ObParameter) GetIsVariableOk() (*bool, bool)
- func (o *ObParameter) GetMaximum() float64
- func (o *ObParameter) GetMaximumOk() (*float64, bool)
- func (o *ObParameter) GetMinimum() float64
- func (o *ObParameter) GetMinimumOk() (*float64, bool)
- func (o *ObParameter) GetName() string
- func (o *ObParameter) GetNameOk() (*string, bool)
- func (o *ObParameter) GetReadOnly() bool
- func (o *ObParameter) GetReadOnlyOk() (*bool, bool)
- func (o *ObParameter) GetValue() string
- func (o *ObParameter) GetValueOk() (*string, bool)
- func (o *ObParameter) HasEditLevel() bool
- func (o *ObParameter) HasImmutable() bool
- func (o *ObParameter) HasIsVariable() bool
- func (o ObParameter) MarshalJSON() ([]byte, error)
- func (o *ObParameter) SetDataType(v string)
- func (o *ObParameter) SetDescription(v string)
- func (o *ObParameter) SetEditLevel(v string)
- func (o *ObParameter) SetEnum(v []map[string]interface{})
- func (o *ObParameter) SetImmutable(v bool)
- func (o *ObParameter) SetIsVariable(v bool)
- func (o *ObParameter) SetMaximum(v float64)
- func (o *ObParameter) SetMinimum(v float64)
- func (o *ObParameter) SetName(v string)
- func (o *ObParameter) SetReadOnly(v bool)
- func (o *ObParameter) SetValue(v string)
- func (o *ObParameter) UnmarshalJSON(bytes []byte) (err error)
- type ObSession
- func (o *ObSession) GetCommand() string
- func (o *ObSession) GetCommandOk() (*string, bool)
- func (o *ObSession) GetDb() string
- func (o *ObSession) GetDbOk() (*string, bool)
- func (o *ObSession) GetHost() string
- func (o *ObSession) GetHostOk() (*string, bool)
- func (o *ObSession) GetId() string
- func (o *ObSession) GetIdOk() (*string, bool)
- func (o *ObSession) GetInfo() string
- func (o *ObSession) GetInfoOk() (*string, bool)
- func (o *ObSession) GetIp() string
- func (o *ObSession) GetIpOk() (*string, bool)
- func (o *ObSession) GetPort() string
- func (o *ObSession) GetPortOk() (*string, bool)
- func (o *ObSession) GetState() string
- func (o *ObSession) GetStateOk() (*string, bool)
- func (o *ObSession) GetTenant() string
- func (o *ObSession) GetTenantOk() (*string, bool)
- func (o *ObSession) GetTime() string
- func (o *ObSession) GetTimeOk() (*string, bool)
- func (o *ObSession) GetUser() string
- func (o *ObSession) GetUserOk() (*string, bool)
- func (o *ObSession) HasCommand() bool
- func (o *ObSession) HasDb() bool
- func (o *ObSession) HasHost() bool
- func (o *ObSession) HasId() bool
- func (o *ObSession) HasInfo() bool
- func (o *ObSession) HasIp() bool
- func (o *ObSession) HasPort() bool
- func (o *ObSession) HasState() bool
- func (o *ObSession) HasTenant() bool
- func (o *ObSession) HasTime() bool
- func (o *ObSession) HasUser() bool
- func (o ObSession) MarshalJSON() ([]byte, error)
- func (o *ObSession) SetCommand(v string)
- func (o *ObSession) SetDb(v string)
- func (o *ObSession) SetHost(v string)
- func (o *ObSession) SetId(v string)
- func (o *ObSession) SetInfo(v string)
- func (o *ObSession) SetIp(v string)
- func (o *ObSession) SetPort(v string)
- func (o *ObSession) SetState(v string)
- func (o *ObSession) SetTenant(v string)
- func (o *ObSession) SetTime(v string)
- func (o *ObSession) SetUser(v string)
- func (o *ObSession) UnmarshalJSON(bytes []byte) (err error)
- type Object
- func (o *Object) GetCount() int64
- func (o *Object) GetCountOk() (*int64, bool)
- func (o *Object) GetType() string
- func (o *Object) GetTypeOk() (*string, bool)
- func (o *Object) HasCount() bool
- func (o *Object) HasType() bool
- func (o Object) MarshalJSON() ([]byte, error)
- func (o *Object) SetCount(v int64)
- func (o *Object) SetType(v string)
- func (o *Object) UnmarshalJSON(bytes []byte) (err error)
- type ObjectResponse
- func (o *ObjectResponse) GetData() map[string]interface{}
- func (o *ObjectResponse) GetDataOk() (*map[string]interface{}, bool)
- func (o *ObjectResponse) GetType() string
- func (o *ObjectResponse) GetTypeOk() (*string, bool)
- func (o *ObjectResponse) HasData() bool
- func (o *ObjectResponse) HasType() bool
- func (o ObjectResponse) MarshalJSON() ([]byte, error)
- func (o *ObjectResponse) SetData(v map[string]interface{})
- func (o *ObjectResponse) SetType(v string)
- func (o *ObjectResponse) UnmarshalJSON(bytes []byte) (err error)
- type OceanbaseApi
- type OpsExpose
- func (o *OpsExpose) GetComponent() string
- func (o *OpsExpose) GetComponentOk() (*string, bool)
- func (o *OpsExpose) GetEnable() bool
- func (o *OpsExpose) GetEnableOk() (*bool, bool)
- func (o *OpsExpose) GetPortsMapping() []OpsExposePortsMappingItem
- func (o *OpsExpose) GetPortsMappingOk() (*[]OpsExposePortsMappingItem, bool)
- func (o *OpsExpose) GetType() OpsExposeType
- func (o *OpsExpose) GetTypeOk() (*OpsExposeType, bool)
- func (o *OpsExpose) GetVpcServiceType() OpsExposeVPCServiceType
- func (o *OpsExpose) GetVpcServiceTypeOk() (*OpsExposeVPCServiceType, bool)
- func (o *OpsExpose) HasComponent() bool
- func (o *OpsExpose) HasPortsMapping() bool
- func (o *OpsExpose) HasVpcServiceType() bool
- func (o OpsExpose) MarshalJSON() ([]byte, error)
- func (o *OpsExpose) SetComponent(v string)
- func (o *OpsExpose) SetEnable(v bool)
- func (o *OpsExpose) SetPortsMapping(v []OpsExposePortsMappingItem)
- func (o *OpsExpose) SetType(v OpsExposeType)
- func (o *OpsExpose) SetVpcServiceType(v OpsExposeVPCServiceType)
- func (o *OpsExpose) UnmarshalJSON(bytes []byte) (err error)
- type OpsExposePortsMappingItem
- func (o *OpsExposePortsMappingItem) GetNew() int32
- func (o *OpsExposePortsMappingItem) GetNewOk() (*int32, bool)
- func (o *OpsExposePortsMappingItem) GetOld() int32
- func (o *OpsExposePortsMappingItem) GetOldOk() (*int32, bool)
- func (o *OpsExposePortsMappingItem) HasNew() bool
- func (o *OpsExposePortsMappingItem) HasOld() bool
- func (o OpsExposePortsMappingItem) MarshalJSON() ([]byte, error)
- func (o *OpsExposePortsMappingItem) SetNew(v int32)
- func (o *OpsExposePortsMappingItem) SetOld(v int32)
- func (o *OpsExposePortsMappingItem) UnmarshalJSON(bytes []byte) (err error)
- type OpsExposeType
- type OpsExposeVPCServiceType
- type OpsHScale
- func (o *OpsHScale) GetComponent() string
- func (o *OpsHScale) GetComponentOk() (*string, bool)
- func (o *OpsHScale) GetReplicas() int32
- func (o *OpsHScale) GetReplicasOk() (*int32, bool)
- func (o *OpsHScale) HasComponent() bool
- func (o OpsHScale) MarshalJSON() ([]byte, error)
- func (o *OpsHScale) SetComponent(v string)
- func (o *OpsHScale) SetReplicas(v int32)
- func (o *OpsHScale) UnmarshalJSON(bytes []byte) (err error)
- type OpsLicense
- func (o *OpsLicense) GetComponent() string
- func (o *OpsLicense) GetComponentOk() (*string, bool)
- func (o *OpsLicense) GetLicenseId() string
- func (o *OpsLicense) GetLicenseIdOk() (*string, bool)
- func (o OpsLicense) MarshalJSON() ([]byte, error)
- func (o *OpsLicense) SetComponent(v string)
- func (o *OpsLicense) SetLicenseId(v string)
- func (o *OpsLicense) UnmarshalJSON(bytes []byte) (err error)
- type OpsPromote
- func (o *OpsPromote) GetComponentName() string
- func (o *OpsPromote) GetComponentNameOk() (*string, bool)
- func (o *OpsPromote) GetInstanceName() string
- func (o *OpsPromote) GetInstanceNameOk() (*string, bool)
- func (o *OpsPromote) HasComponentName() bool
- func (o *OpsPromote) HasInstanceName() bool
- func (o OpsPromote) MarshalJSON() ([]byte, error)
- func (o *OpsPromote) SetComponentName(v string)
- func (o *OpsPromote) SetInstanceName(v string)
- func (o *OpsPromote) UnmarshalJSON(bytes []byte) (err error)
- type OpsRebuildInstance
- func (o *OpsRebuildInstance) GetIgnoreRoleCheck() bool
- func (o *OpsRebuildInstance) GetIgnoreRoleCheckOk() (*bool, bool)
- func (o *OpsRebuildInstance) GetRequests() []OpsRebuildInstanceRequestsItem
- func (o *OpsRebuildInstance) GetRequestsOk() (*[]OpsRebuildInstanceRequestsItem, bool)
- func (o *OpsRebuildInstance) HasIgnoreRoleCheck() bool
- func (o *OpsRebuildInstance) HasRequests() bool
- func (o OpsRebuildInstance) MarshalJSON() ([]byte, error)
- func (o *OpsRebuildInstance) SetIgnoreRoleCheck(v bool)
- func (o *OpsRebuildInstance) SetRequests(v []OpsRebuildInstanceRequestsItem)
- func (o *OpsRebuildInstance) UnmarshalJSON(bytes []byte) (err error)
- type OpsRebuildInstanceInstanceParam
- func (o *OpsRebuildInstanceInstanceParam) GetName() string
- func (o *OpsRebuildInstanceInstanceParam) GetNameOk() (*string, bool)
- func (o *OpsRebuildInstanceInstanceParam) GetTargetNodeName() string
- func (o *OpsRebuildInstanceInstanceParam) GetTargetNodeNameOk() (*string, bool)
- func (o *OpsRebuildInstanceInstanceParam) HasTargetNodeName() bool
- func (o OpsRebuildInstanceInstanceParam) MarshalJSON() ([]byte, error)
- func (o *OpsRebuildInstanceInstanceParam) SetName(v string)
- func (o *OpsRebuildInstanceInstanceParam) SetTargetNodeName(v string)
- func (o *OpsRebuildInstanceInstanceParam) UnmarshalJSON(bytes []byte) (err error)
- type OpsRebuildInstanceRequestsItem
- func (o *OpsRebuildInstanceRequestsItem) GetBackupName() string
- func (o *OpsRebuildInstanceRequestsItem) GetBackupNameOk() (*string, bool)
- func (o *OpsRebuildInstanceRequestsItem) GetInstances() []OpsRebuildInstanceInstanceParam
- func (o *OpsRebuildInstanceRequestsItem) GetInstancesOk() (*[]OpsRebuildInstanceInstanceParam, bool)
- func (o *OpsRebuildInstanceRequestsItem) HasBackupName() bool
- func (o OpsRebuildInstanceRequestsItem) MarshalJSON() ([]byte, error)
- func (o *OpsRebuildInstanceRequestsItem) SetBackupName(v string)
- func (o *OpsRebuildInstanceRequestsItem) SetInstances(v []OpsRebuildInstanceInstanceParam)
- func (o *OpsRebuildInstanceRequestsItem) UnmarshalJSON(bytes []byte) (err error)
- type OpsRequestName
- func (o *OpsRequestName) GetDependentOpsName() string
- func (o *OpsRequestName) GetDependentOpsNameOk() (*string, bool)
- func (o *OpsRequestName) GetOpsRequestName() string
- func (o *OpsRequestName) GetOpsRequestNameOk() (*string, bool)
- func (o *OpsRequestName) HasDependentOpsName() bool
- func (o OpsRequestName) MarshalJSON() ([]byte, error)
- func (o *OpsRequestName) SetDependentOpsName(v string)
- func (o *OpsRequestName) SetOpsRequestName(v string)
- func (o *OpsRequestName) UnmarshalJSON(bytes []byte) (err error)
- type OpsRestart
- type OpsType
- type OpsUpgrade
- func (o *OpsUpgrade) GetComponent() string
- func (o *OpsUpgrade) GetComponentOk() (*string, bool)
- func (o *OpsUpgrade) GetVersion() string
- func (o *OpsUpgrade) GetVersionOk() (*string, bool)
- func (o *OpsUpgrade) HasComponent() bool
- func (o OpsUpgrade) MarshalJSON() ([]byte, error)
- func (o *OpsUpgrade) SetComponent(v string)
- func (o *OpsUpgrade) SetVersion(v string)
- func (o *OpsUpgrade) UnmarshalJSON(bytes []byte) (err error)
- type OpsVScale
- func (o *OpsVScale) GetClassCode() string
- func (o *OpsVScale) GetClassCodeOk() (*string, bool)
- func (o *OpsVScale) GetComponent() string
- func (o *OpsVScale) GetComponentOk() (*string, bool)
- func (o *OpsVScale) GetCpu() string
- func (o *OpsVScale) GetCpuOk() (*string, bool)
- func (o *OpsVScale) GetMemory() string
- func (o *OpsVScale) GetMemoryOk() (*string, bool)
- func (o *OpsVScale) HasClassCode() bool
- func (o *OpsVScale) HasComponent() bool
- func (o *OpsVScale) HasCpu() bool
- func (o *OpsVScale) HasMemory() bool
- func (o OpsVScale) MarshalJSON() ([]byte, error)
- func (o *OpsVScale) SetClassCode(v string)
- func (o *OpsVScale) SetComponent(v string)
- func (o *OpsVScale) SetCpu(v string)
- func (o *OpsVScale) SetMemory(v string)
- func (o *OpsVScale) UnmarshalJSON(bytes []byte) (err error)
- type OpsVolumeExpand
- func (o *OpsVolumeExpand) GetComponent() string
- func (o *OpsVolumeExpand) GetComponentOk() (*string, bool)
- func (o *OpsVolumeExpand) GetVolumes() []OpsVolumeExpandVolumesItem
- func (o *OpsVolumeExpand) GetVolumesOk() (*[]OpsVolumeExpandVolumesItem, bool)
- func (o *OpsVolumeExpand) HasComponent() bool
- func (o OpsVolumeExpand) MarshalJSON() ([]byte, error)
- func (o *OpsVolumeExpand) SetComponent(v string)
- func (o *OpsVolumeExpand) SetVolumes(v []OpsVolumeExpandVolumesItem)
- func (o *OpsVolumeExpand) UnmarshalJSON(bytes []byte) (err error)
- type OpsVolumeExpandVolumesItem
- func (o *OpsVolumeExpandVolumesItem) GetName() string
- func (o *OpsVolumeExpandVolumesItem) GetNameOk() (*string, bool)
- func (o *OpsVolumeExpandVolumesItem) GetStorage() string
- func (o *OpsVolumeExpandVolumesItem) GetStorageOk() (*string, bool)
- func (o OpsVolumeExpandVolumesItem) MarshalJSON() ([]byte, error)
- func (o *OpsVolumeExpandVolumesItem) SetName(v string)
- func (o *OpsVolumeExpandVolumesItem) SetStorage(v string)
- func (o *OpsVolumeExpandVolumesItem) UnmarshalJSON(bytes []byte) (err error)
- type OpsrequestApi
- func (a *OpsrequestApi) CancelOps(ctx _context.Context, orgName string, opsName string, clusterName string, ...) (*_nethttp.Response, error)
- func (a *OpsrequestApi) ClusterVolumeExpand(ctx _context.Context, orgName string, clusterName string, body OpsVolumeExpand) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) CustomOps(ctx _context.Context, orgName string, clusterName string, body interface{}) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) ExposeCluster(ctx _context.Context, orgName string, clusterName string, body OpsExpose) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) HorizontalScaleCluster(ctx _context.Context, orgName string, clusterName string, body OpsHScale) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) PromoteCluster(ctx _context.Context, orgName string, clusterName string, body OpsPromote) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) RebuildInstance(ctx _context.Context, orgName string, clusterName string, ...) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) ReconfigureCluster(ctx _context.Context, orgName string, clusterName string, ...) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) RestartCluster(ctx _context.Context, orgName string, clusterName string, body OpsRestart) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) StartCluster(ctx _context.Context, orgName string, clusterName string) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) StopCluster(ctx _context.Context, orgName string, clusterName string) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) UpdateClusterLicense(ctx _context.Context, orgName string, clusterName string, body OpsLicense) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) UpgradeCluster(ctx _context.Context, orgName string, clusterName string, body OpsUpgrade) (OpsRequestName, *_nethttp.Response, error)
- func (a *OpsrequestApi) VerticalScaleCluster(ctx _context.Context, orgName string, clusterName string, body OpsVScale) (OpsRequestName, *_nethttp.Response, error)
- type Org
- func (o *Org) GetCreatedAt() time.Time
- func (o *Org) GetCreatedAtOk() (*time.Time, bool)
- func (o *Org) GetDescription() string
- func (o *Org) GetDescriptionOk() (*string, bool)
- func (o *Org) GetDisplayName() string
- func (o *Org) GetDisplayNameOk() (*string, bool)
- func (o *Org) GetEnabled() bool
- func (o *Org) GetEnabledOk() (*bool, bool)
- func (o *Org) GetId() string
- func (o *Org) GetIdOk() (*string, bool)
- func (o *Org) GetName() string
- func (o *Org) GetNameOk() (*string, bool)
- func (o *Org) GetUpdatedAt() time.Time
- func (o *Org) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Org) HasDescription() bool
- func (o *Org) HasDisplayName() bool
- func (o *Org) HasId() bool
- func (o Org) MarshalJSON() ([]byte, error)
- func (o *Org) SetCreatedAt(v time.Time)
- func (o *Org) SetDescription(v string)
- func (o *Org) SetDisplayName(v string)
- func (o *Org) SetEnabled(v bool)
- func (o *Org) SetId(v string)
- func (o *Org) SetName(v string)
- func (o *Org) SetUpdatedAt(v time.Time)
- func (o *Org) UnmarshalJSON(bytes []byte) (err error)
- type OrgCreate
- func (o *OrgCreate) GetDescription() string
- func (o *OrgCreate) GetDescriptionOk() (*string, bool)
- func (o *OrgCreate) GetDisplayName() string
- func (o *OrgCreate) GetDisplayNameOk() (*string, bool)
- func (o *OrgCreate) GetName() string
- func (o *OrgCreate) GetNameOk() (*string, bool)
- func (o *OrgCreate) HasDescription() bool
- func (o *OrgCreate) HasDisplayName() bool
- func (o OrgCreate) MarshalJSON() ([]byte, error)
- func (o *OrgCreate) SetDescription(v string)
- func (o *OrgCreate) SetDisplayName(v string)
- func (o *OrgCreate) SetName(v string)
- func (o *OrgCreate) UnmarshalJSON(bytes []byte) (err error)
- type OrgList
- func (o *OrgList) GetItems() []Org
- func (o *OrgList) GetItemsOk() (*[]Org, bool)
- func (o *OrgList) GetPageResult() PageResult
- func (o *OrgList) GetPageResultOk() (*PageResult, bool)
- func (o *OrgList) HasPageResult() bool
- func (o OrgList) MarshalJSON() ([]byte, error)
- func (o *OrgList) SetItems(v []Org)
- func (o *OrgList) SetPageResult(v PageResult)
- func (o *OrgList) UnmarshalJSON(bytes []byte) (err error)
- type OrgMember
- func (o *OrgMember) GetDisplayName() string
- func (o *OrgMember) GetDisplayNameOk() (*string, bool)
- func (o *OrgMember) GetEmail() string
- func (o *OrgMember) GetEmailOk() (*string, bool)
- func (o *OrgMember) GetFreezed() bool
- func (o *OrgMember) GetFreezedOk() (*bool, bool)
- func (o *OrgMember) GetRole() OrgMemberRole
- func (o *OrgMember) GetRoleOk() (*OrgMemberRole, bool)
- func (o *OrgMember) GetUserId() string
- func (o *OrgMember) GetUserIdOk() (*string, bool)
- func (o *OrgMember) HasDisplayName() bool
- func (o OrgMember) MarshalJSON() ([]byte, error)
- func (o *OrgMember) SetDisplayName(v string)
- func (o *OrgMember) SetEmail(v string)
- func (o *OrgMember) SetFreezed(v bool)
- func (o *OrgMember) SetRole(v OrgMemberRole)
- func (o *OrgMember) SetUserId(v string)
- func (o *OrgMember) UnmarshalJSON(bytes []byte) (err error)
- type OrgMemberAdd
- func (o *OrgMemberAdd) GetRole() string
- func (o *OrgMemberAdd) GetRoleOk() (*string, bool)
- func (o *OrgMemberAdd) GetUserId() string
- func (o *OrgMemberAdd) GetUserIdOk() (*string, bool)
- func (o OrgMemberAdd) MarshalJSON() ([]byte, error)
- func (o *OrgMemberAdd) SetRole(v string)
- func (o *OrgMemberAdd) SetUserId(v string)
- func (o *OrgMemberAdd) UnmarshalJSON(bytes []byte) (err error)
- type OrgMemberList
- func (o *OrgMemberList) GetItems() []OrgMember
- func (o *OrgMemberList) GetItemsOk() (*[]OrgMember, bool)
- func (o *OrgMemberList) GetPageResult() PageResult
- func (o *OrgMemberList) GetPageResultOk() (*PageResult, bool)
- func (o *OrgMemberList) HasPageResult() bool
- func (o OrgMemberList) MarshalJSON() ([]byte, error)
- func (o *OrgMemberList) SetItems(v []OrgMember)
- func (o *OrgMemberList) SetPageResult(v PageResult)
- func (o *OrgMemberList) UnmarshalJSON(bytes []byte) (err error)
- type OrgMemberRole
- type OrgMemberUpdate
- type OrgTagsList
- type OrgUpdate
- func (o *OrgUpdate) GetDescription() string
- func (o *OrgUpdate) GetDescriptionOk() (*string, bool)
- func (o *OrgUpdate) GetDisplayName() string
- func (o *OrgUpdate) GetDisplayNameOk() (*string, bool)
- func (o *OrgUpdate) HasDescription() bool
- func (o *OrgUpdate) HasDisplayName() bool
- func (o OrgUpdate) MarshalJSON() ([]byte, error)
- func (o *OrgUpdate) SetDescription(v string)
- func (o *OrgUpdate) SetDisplayName(v string)
- func (o *OrgUpdate) UnmarshalJSON(bytes []byte) (err error)
- type OrganizationApi
- func (a *OrganizationApi) CreateOrg(ctx _context.Context, body OrgCreate) (Org, *_nethttp.Response, error)
- func (a *OrganizationApi) FreezeMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
- func (a *OrganizationApi) ListOrg(ctx _context.Context, o ...ListOrgOptionalParameters) (OrgList, *_nethttp.Response, error)
- func (a *OrganizationApi) PatchOrg(ctx _context.Context, orgName string, body OrgUpdate) (Org, *_nethttp.Response, error)
- func (a *OrganizationApi) ReadOrg(ctx _context.Context, orgName string) (Org, *_nethttp.Response, error)
- func (a *OrganizationApi) UnfreezeMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
- type Owner
- func (o *Owner) GetApiVersion() string
- func (o *Owner) GetApiVersionOk() (*string, bool)
- func (o *Owner) GetKind() string
- func (o *Owner) GetKindOk() (*string, bool)
- func (o *Owner) GetName() string
- func (o *Owner) GetNameOk() (*string, bool)
- func (o *Owner) GetUid() string
- func (o *Owner) GetUidOk() (*string, bool)
- func (o *Owner) HasApiVersion() bool
- func (o *Owner) HasKind() bool
- func (o *Owner) HasName() bool
- func (o *Owner) HasUid() bool
- func (o Owner) MarshalJSON() ([]byte, error)
- func (o *Owner) SetApiVersion(v string)
- func (o *Owner) SetKind(v string)
- func (o *Owner) SetName(v string)
- func (o *Owner) SetUid(v string)
- func (o *Owner) UnmarshalJSON(bytes []byte) (err error)
- type PageResult
- func (o *PageResult) GetFirst() string
- func (o *PageResult) GetFirstOk() (*string, bool)
- func (o *PageResult) GetLast() string
- func (o *PageResult) GetLastOk() (*string, bool)
- func (o *PageResult) GetNext() string
- func (o *PageResult) GetNextOk() (*string, bool)
- func (o *PageResult) GetPrev() string
- func (o *PageResult) GetPrevOk() (*string, bool)
- func (o *PageResult) GetTotalSize() int64
- func (o *PageResult) GetTotalSizeOk() (*int64, bool)
- func (o *PageResult) HasFirst() bool
- func (o *PageResult) HasLast() bool
- func (o *PageResult) HasNext() bool
- func (o *PageResult) HasPrev() bool
- func (o *PageResult) HasTotalSize() bool
- func (o PageResult) MarshalJSON() ([]byte, error)
- func (o *PageResult) SetFirst(v string)
- func (o *PageResult) SetLast(v string)
- func (o *PageResult) SetNext(v string)
- func (o *PageResult) SetPrev(v string)
- func (o *PageResult) SetTotalSize(v int64)
- func (o *PageResult) UnmarshalJSON(bytes []byte) (err error)
- type Pagination
- func (o *Pagination) GetPage() int32
- func (o *Pagination) GetPageOk() (*int32, bool)
- func (o *Pagination) GetPagesCount() int32
- func (o *Pagination) GetPagesCountOk() (*int32, bool)
- func (o *Pagination) GetPerPage() int32
- func (o *Pagination) GetPerPageOk() (*int32, bool)
- func (o *Pagination) GetRowsCount() int32
- func (o *Pagination) GetRowsCountOk() (*int32, bool)
- func (o *Pagination) HasPage() bool
- func (o *Pagination) HasPagesCount() bool
- func (o *Pagination) HasPerPage() bool
- func (o *Pagination) HasRowsCount() bool
- func (o Pagination) MarshalJSON() ([]byte, error)
- func (o *Pagination) SetPage(v int32)
- func (o *Pagination) SetPagesCount(v int32)
- func (o *Pagination) SetPerPage(v int32)
- func (o *Pagination) SetRowsCount(v int32)
- func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplApi
- func (a *ParamTplApi) CreateParamTpl(ctx _context.Context, orgName string, body ParamTplCreate) (ParamTplListItem, *_nethttp.Response, error)
- func (a *ParamTplApi) CreateParamTplFromCluster(ctx _context.Context, orgName string, clusterName string, ...) (*_nethttp.Response, error)
- func (a *ParamTplApi) DeleteParamTpl(ctx _context.Context, orgName string, paramTplName string) (*_nethttp.Response, error)
- func (a *ParamTplApi) GetClusterParamTpls(ctx _context.Context, orgName string, clusterName string, ...) (ParamTplApplToClusterList, *_nethttp.Response, error)
- func (a *ParamTplApi) ListParamTpl(ctx _context.Context, orgName string, o ...ListParamTplOptionalParameters) (ParamTplList, *_nethttp.Response, error)
- func (a *ParamTplApi) PatchParamTpl(ctx _context.Context, orgName string, paramTplName string, body ParamTplUpdate) (ParamTplListItem, *_nethttp.Response, error)
- func (a *ParamTplApi) ReadParamTpl(ctx _context.Context, orgName string, paramTplName string, ...) (ParamTplGet, *_nethttp.Response, error)
- type ParamTplApplToClusterList
- func (o *ParamTplApplToClusterList) GetItems() []ParamTplApplToClusterListItem
- func (o *ParamTplApplToClusterList) GetItemsOk() (*[]ParamTplApplToClusterListItem, bool)
- func (o *ParamTplApplToClusterList) GetPageResult() PageResult
- func (o *ParamTplApplToClusterList) GetPageResultOk() (*PageResult, bool)
- func (o *ParamTplApplToClusterList) HasPageResult() bool
- func (o ParamTplApplToClusterList) MarshalJSON() ([]byte, error)
- func (o *ParamTplApplToClusterList) SetItems(v []ParamTplApplToClusterListItem)
- func (o *ParamTplApplToClusterList) SetPageResult(v PageResult)
- func (o *ParamTplApplToClusterList) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplApplToClusterListItem
- func (o *ParamTplApplToClusterListItem) GetCount() int32
- func (o *ParamTplApplToClusterListItem) GetCountOk() (*int32, bool)
- func (o *ParamTplApplToClusterListItem) GetName() string
- func (o *ParamTplApplToClusterListItem) GetNameOk() (*string, bool)
- func (o *ParamTplApplToClusterListItem) GetNeedRestart() bool
- func (o *ParamTplApplToClusterListItem) GetNeedRestartOk() (*bool, bool)
- func (o *ParamTplApplToClusterListItem) GetPartition() string
- func (o *ParamTplApplToClusterListItem) GetPartitionOk() (*string, bool)
- func (o ParamTplApplToClusterListItem) MarshalJSON() ([]byte, error)
- func (o *ParamTplApplToClusterListItem) SetCount(v int32)
- func (o *ParamTplApplToClusterListItem) SetName(v string)
- func (o *ParamTplApplToClusterListItem) SetNeedRestart(v bool)
- func (o *ParamTplApplToClusterListItem) SetPartition(v string)
- func (o *ParamTplApplToClusterListItem) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplCreate
- func (o *ParamTplCreate) GetCustomName() string
- func (o *ParamTplCreate) GetCustomNameOk() (*string, bool)
- func (o *ParamTplCreate) GetDescription() string
- func (o *ParamTplCreate) GetDescriptionOk() (*string, bool)
- func (o *ParamTplCreate) GetFamily() string
- func (o *ParamTplCreate) GetFamilyOk() (*string, bool)
- func (o *ParamTplCreate) GetIsPrivate() bool
- func (o *ParamTplCreate) GetIsPrivateOk() (*bool, bool)
- func (o *ParamTplCreate) GetName() string
- func (o *ParamTplCreate) GetNameOk() (*string, bool)
- func (o *ParamTplCreate) HasCustomName() bool
- func (o *ParamTplCreate) HasIsPrivate() bool
- func (o ParamTplCreate) MarshalJSON() ([]byte, error)
- func (o *ParamTplCreate) SetCustomName(v string)
- func (o *ParamTplCreate) SetDescription(v string)
- func (o *ParamTplCreate) SetFamily(v string)
- func (o *ParamTplCreate) SetIsPrivate(v bool)
- func (o *ParamTplCreate) SetName(v string)
- func (o *ParamTplCreate) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplCreateFromCluster
- func (o *ParamTplCreateFromCluster) GetComponent() string
- func (o *ParamTplCreateFromCluster) GetComponentOk() (*string, bool)
- func (o *ParamTplCreateFromCluster) GetDescription() string
- func (o *ParamTplCreateFromCluster) GetDescriptionOk() (*string, bool)
- func (o *ParamTplCreateFromCluster) GetEngineVersion() string
- func (o *ParamTplCreateFromCluster) GetEngineVersionOk() (*string, bool)
- func (o *ParamTplCreateFromCluster) GetName() string
- func (o *ParamTplCreateFromCluster) GetNameOk() (*string, bool)
- func (o *ParamTplCreateFromCluster) HasComponent() bool
- func (o *ParamTplCreateFromCluster) HasEngineVersion() bool
- func (o ParamTplCreateFromCluster) MarshalJSON() ([]byte, error)
- func (o *ParamTplCreateFromCluster) SetComponent(v string)
- func (o *ParamTplCreateFromCluster) SetDescription(v string)
- func (o *ParamTplCreateFromCluster) SetEngineVersion(v string)
- func (o *ParamTplCreateFromCluster) SetName(v string)
- func (o *ParamTplCreateFromCluster) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplGet
- func (o *ParamTplGet) GetItems() []ParamTplGetItem
- func (o *ParamTplGet) GetItemsOk() (*[]ParamTplGetItem, bool)
- func (o *ParamTplGet) HasItems() bool
- func (o ParamTplGet) MarshalJSON() ([]byte, error)
- func (o *ParamTplGet) SetItems(v []ParamTplGetItem)
- func (o *ParamTplGet) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplGetItem
- func (o *ParamTplGetItem) GetConfig() ConfigurationWithRegex
- func (o *ParamTplGetItem) GetConfigOk() (*ConfigurationWithRegex, bool)
- func (o *ParamTplGetItem) GetParameterSpec() ParameterSpecListItem
- func (o *ParamTplGetItem) GetParameterSpecOk() (*ParameterSpecListItem, bool)
- func (o *ParamTplGetItem) GetSpecName() string
- func (o *ParamTplGetItem) GetSpecNameOk() (*string, bool)
- func (o ParamTplGetItem) MarshalJSON() ([]byte, error)
- func (o *ParamTplGetItem) SetConfig(v ConfigurationWithRegex)
- func (o *ParamTplGetItem) SetParameterSpec(v ParameterSpecListItem)
- func (o *ParamTplGetItem) SetSpecName(v string)
- func (o *ParamTplGetItem) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplList
- func (o *ParamTplList) GetItems() []ParamTplListItem
- func (o *ParamTplList) GetItemsOk() (*[]ParamTplListItem, bool)
- func (o *ParamTplList) GetPageResult() PageResult
- func (o *ParamTplList) GetPageResultOk() (*PageResult, bool)
- func (o *ParamTplList) HasPageResult() bool
- func (o ParamTplList) MarshalJSON() ([]byte, error)
- func (o *ParamTplList) SetItems(v []ParamTplListItem)
- func (o *ParamTplList) SetPageResult(v PageResult)
- func (o *ParamTplList) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplListItem
- func (o *ParamTplListItem) GetCreatedAt() time.Time
- func (o *ParamTplListItem) GetCreatedAtOk() (*time.Time, bool)
- func (o *ParamTplListItem) GetDescription() string
- func (o *ParamTplListItem) GetDescriptionOk() (*string, bool)
- func (o *ParamTplListItem) GetFamily() string
- func (o *ParamTplListItem) GetFamilyOk() (*string, bool)
- func (o *ParamTplListItem) GetName() string
- func (o *ParamTplListItem) GetNameOk() (*string, bool)
- func (o *ParamTplListItem) GetOrgName() string
- func (o *ParamTplListItem) GetOrgNameOk() (*string, bool)
- func (o *ParamTplListItem) GetPartition() string
- func (o *ParamTplListItem) GetPartitionOk() (*string, bool)
- func (o *ParamTplListItem) GetUpdatedAt() time.Time
- func (o *ParamTplListItem) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ParamTplListItem) HasCreatedAt() bool
- func (o *ParamTplListItem) HasOrgName() bool
- func (o *ParamTplListItem) HasUpdatedAt() bool
- func (o ParamTplListItem) MarshalJSON() ([]byte, error)
- func (o *ParamTplListItem) SetCreatedAt(v time.Time)
- func (o *ParamTplListItem) SetDescription(v string)
- func (o *ParamTplListItem) SetFamily(v string)
- func (o *ParamTplListItem) SetName(v string)
- func (o *ParamTplListItem) SetOrgName(v string)
- func (o *ParamTplListItem) SetPartition(v string)
- func (o *ParamTplListItem) SetUpdatedAt(v time.Time)
- func (o *ParamTplListItem) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplPartition
- type ParamTplUpdate
- func (o *ParamTplUpdate) GetConfigFile() string
- func (o *ParamTplUpdate) GetConfigFileOk() (*string, bool)
- func (o *ParamTplUpdate) GetParameters() map[string]string
- func (o *ParamTplUpdate) GetParametersOk() (*map[string]string, bool)
- func (o *ParamTplUpdate) GetSpecName() string
- func (o *ParamTplUpdate) GetSpecNameOk() (*string, bool)
- func (o *ParamTplUpdate) HasConfigFile() bool
- func (o *ParamTplUpdate) HasParameters() bool
- func (o *ParamTplUpdate) HasSpecName() bool
- func (o ParamTplUpdate) MarshalJSON() ([]byte, error)
- func (o *ParamTplUpdate) SetConfigFile(v string)
- func (o *ParamTplUpdate) SetParameters(v map[string]string)
- func (o *ParamTplUpdate) SetSpecName(v string)
- func (o *ParamTplUpdate) UnmarshalJSON(bytes []byte) (err error)
- type ParamTplsItem
- func (o *ParamTplsItem) GetComponent() string
- func (o *ParamTplsItem) GetComponentDefRef() string
- func (o *ParamTplsItem) GetComponentDefRefOk() (*string, bool)
- func (o *ParamTplsItem) GetComponentOk() (*string, bool)
- func (o *ParamTplsItem) GetParamTplName() string
- func (o *ParamTplsItem) GetParamTplNameOk() (*string, bool)
- func (o *ParamTplsItem) GetParamTplPartition() ParamTplPartition
- func (o *ParamTplsItem) GetParamTplPartitionOk() (*ParamTplPartition, bool)
- func (o *ParamTplsItem) HasComponent() bool
- func (o *ParamTplsItem) HasComponentDefRef() bool
- func (o *ParamTplsItem) HasParamTplName() bool
- func (o *ParamTplsItem) HasParamTplPartition() bool
- func (o ParamTplsItem) MarshalJSON() ([]byte, error)
- func (o *ParamTplsItem) SetComponent(v string)
- func (o *ParamTplsItem) SetComponentDefRef(v string)
- func (o *ParamTplsItem) SetParamTplName(v string)
- func (o *ParamTplsItem) SetParamTplPartition(v ParamTplPartition)
- func (o *ParamTplsItem) UnmarshalJSON(bytes []byte) (err error)
- type ParameterApi
- func (a *ParameterApi) ListConfigurations(ctx _context.Context, orgName string, clusterName string, ...) (ConfigurationList, *_nethttp.Response, error)
- func (a *ParameterApi) ListParameterSpecs(ctx _context.Context, orgName string, clusterName string, ...) (ParameterSpecList, *_nethttp.Response, error)
- func (a *ParameterApi) ListParametersHistory(ctx _context.Context, orgName string, clusterName string, ...) (ParameterHistoryList, *_nethttp.Response, error)
- type ParameterConfig
- func (o *ParameterConfig) GetConfigName() string
- func (o *ParameterConfig) GetConfigNameOk() (*string, bool)
- func (o *ParameterConfig) GetConfigTplName() string
- func (o *ParameterConfig) GetConfigTplNameOk() (*string, bool)
- func (o *ParameterConfig) GetConstraint() string
- func (o *ParameterConfig) GetConstraintOk() (*string, bool)
- func (o *ParameterConfig) GetInitOptions() map[string]interface{}
- func (o *ParameterConfig) GetInitOptionsOk() (*map[string]interface{}, bool)
- func (o *ParameterConfig) GetRegex() string
- func (o *ParameterConfig) GetRegexOk() (*string, bool)
- func (o *ParameterConfig) GetSpecName() string
- func (o *ParameterConfig) GetSpecNameOk() (*string, bool)
- func (o *ParameterConfig) HasInitOptions() bool
- func (o ParameterConfig) MarshalJSON() ([]byte, error)
- func (o *ParameterConfig) SetConfigName(v string)
- func (o *ParameterConfig) SetConfigTplName(v string)
- func (o *ParameterConfig) SetConstraint(v string)
- func (o *ParameterConfig) SetInitOptions(v map[string]interface{})
- func (o *ParameterConfig) SetRegex(v string)
- func (o *ParameterConfig) SetSpecName(v string)
- func (o *ParameterConfig) UnmarshalJSON(bytes []byte) (err error)
- type ParameterHistory
- func (o *ParameterHistory) GetNewValue() string
- func (o *ParameterHistory) GetNewValueOk() (*string, bool)
- func (o *ParameterHistory) GetOldValue() string
- func (o *ParameterHistory) GetOldValueOk() (*string, bool)
- func (o *ParameterHistory) GetParameterName() string
- func (o *ParameterHistory) GetParameterNameOk() (*string, bool)
- func (o *ParameterHistory) GetUpdatedAt() time.Time
- func (o *ParameterHistory) GetUpdatedAtOk() (*time.Time, bool)
- func (o ParameterHistory) MarshalJSON() ([]byte, error)
- func (o *ParameterHistory) SetNewValue(v string)
- func (o *ParameterHistory) SetOldValue(v string)
- func (o *ParameterHistory) SetParameterName(v string)
- func (o *ParameterHistory) SetUpdatedAt(v time.Time)
- func (o *ParameterHistory) UnmarshalJSON(bytes []byte) (err error)
- type ParameterHistoryList
- func (o *ParameterHistoryList) GetItems() []ParameterHistory
- func (o *ParameterHistoryList) GetItemsOk() (*[]ParameterHistory, bool)
- func (o *ParameterHistoryList) HasItems() bool
- func (o ParameterHistoryList) MarshalJSON() ([]byte, error)
- func (o *ParameterHistoryList) SetItems(v []ParameterHistory)
- func (o *ParameterHistoryList) UnmarshalJSON(bytes []byte) (err error)
- type ParameterOption
- func (o *ParameterOption) GetComponent() string
- func (o *ParameterOption) GetComponentOk() (*string, bool)
- func (o *ParameterOption) GetConfigs() []ParameterConfig
- func (o *ParameterOption) GetConfigsOk() (*[]ParameterConfig, bool)
- func (o *ParameterOption) GetDefaultTplDescription() LocalizedDescription
- func (o *ParameterOption) GetDefaultTplDescriptionOk() (*LocalizedDescription, bool)
- func (o *ParameterOption) GetDefaultTplName() string
- func (o *ParameterOption) GetDefaultTplNameOk() (*string, bool)
- func (o *ParameterOption) GetDisableHa() bool
- func (o *ParameterOption) GetDisableHaOk() (*bool, bool)
- func (o *ParameterOption) GetExportTpl() bool
- func (o *ParameterOption) GetExportTplOk() (*bool, bool)
- func (o *ParameterOption) GetFamily() string
- func (o *ParameterOption) GetFamilyOk() (*string, bool)
- func (o *ParameterOption) GetMajorVersion() string
- func (o *ParameterOption) GetMajorVersionOk() (*string, bool)
- func (o *ParameterOption) GetVersions() []string
- func (o *ParameterOption) GetVersionsOk() (*[]string, bool)
- func (o *ParameterOption) HasDisableHa() bool
- func (o *ParameterOption) HasMajorVersion() bool
- func (o ParameterOption) MarshalJSON() ([]byte, error)
- func (o *ParameterOption) SetComponent(v string)
- func (o *ParameterOption) SetConfigs(v []ParameterConfig)
- func (o *ParameterOption) SetDefaultTplDescription(v LocalizedDescription)
- func (o *ParameterOption) SetDefaultTplName(v string)
- func (o *ParameterOption) SetDisableHa(v bool)
- func (o *ParameterOption) SetExportTpl(v bool)
- func (o *ParameterOption) SetFamily(v string)
- func (o *ParameterOption) SetMajorVersion(v string)
- func (o *ParameterOption) SetVersions(v []string)
- func (o *ParameterOption) UnmarshalJSON(bytes []byte) (err error)
- type ParameterSpec
- func (o *ParameterSpec) GetDefault() map[string]interface{}
- func (o *ParameterSpec) GetDefaultOk() (*map[string]interface{}, bool)
- func (o *ParameterSpec) GetDescription() string
- func (o *ParameterSpec) GetDescriptionOk() (*string, bool)
- func (o *ParameterSpec) GetEnum() []map[string]interface{}
- func (o *ParameterSpec) GetEnumOk() (*[]map[string]interface{}, bool)
- func (o *ParameterSpec) GetImmutable() bool
- func (o *ParameterSpec) GetImmutableOk() (*bool, bool)
- func (o *ParameterSpec) GetMaximum() float64
- func (o *ParameterSpec) GetMaximumOk() (*float64, bool)
- func (o *ParameterSpec) GetMinimum() float64
- func (o *ParameterSpec) GetMinimumOk() (*float64, bool)
- func (o *ParameterSpec) GetName() string
- func (o *ParameterSpec) GetNameOk() (*string, bool)
- func (o *ParameterSpec) GetNeedRestart() bool
- func (o *ParameterSpec) GetNeedRestartOk() (*bool, bool)
- func (o *ParameterSpec) GetType() string
- func (o *ParameterSpec) GetTypeOk() (*string, bool)
- func (o ParameterSpec) MarshalJSON() ([]byte, error)
- func (o *ParameterSpec) SetDefault(v map[string]interface{})
- func (o *ParameterSpec) SetDescription(v string)
- func (o *ParameterSpec) SetEnum(v []map[string]interface{})
- func (o *ParameterSpec) SetImmutable(v bool)
- func (o *ParameterSpec) SetMaximum(v float64)
- func (o *ParameterSpec) SetMinimum(v float64)
- func (o *ParameterSpec) SetName(v string)
- func (o *ParameterSpec) SetNeedRestart(v bool)
- func (o *ParameterSpec) SetType(v string)
- func (o *ParameterSpec) UnmarshalJSON(bytes []byte) (err error)
- type ParameterSpecList
- func (o *ParameterSpecList) GetItems() []ParameterSpecListItem
- func (o *ParameterSpecList) GetItemsOk() (*[]ParameterSpecListItem, bool)
- func (o *ParameterSpecList) HasItems() bool
- func (o ParameterSpecList) MarshalJSON() ([]byte, error)
- func (o *ParameterSpecList) SetItems(v []ParameterSpecListItem)
- func (o *ParameterSpecList) UnmarshalJSON(bytes []byte) (err error)
- type ParameterSpecListItem
- func (o *ParameterSpecListItem) GetFileName() string
- func (o *ParameterSpecListItem) GetFileNameOk() (*string, bool)
- func (o *ParameterSpecListItem) GetSpecs() []ParameterSpec
- func (o *ParameterSpecListItem) GetSpecsOk() (*[]ParameterSpec, bool)
- func (o *ParameterSpecListItem) HasFileName() bool
- func (o *ParameterSpecListItem) HasSpecs() bool
- func (o ParameterSpecListItem) MarshalJSON() ([]byte, error)
- func (o *ParameterSpecListItem) SetFileName(v string)
- func (o *ParameterSpecListItem) SetSpecs(v []ParameterSpec)
- func (o *ParameterSpecListItem) UnmarshalJSON(bytes []byte) (err error)
- type PatchAlertInhibitOptionalParameters
- type PatchBackupPolicyOptionalParameters
- type PatchClassOptionalParameters
- type Permission
- func (o *Permission) GetDescription() string
- func (o *Permission) GetDescriptionOk() (*string, bool)
- func (o *Permission) GetGroup() string
- func (o *Permission) GetGroupOk() (*string, bool)
- func (o *Permission) GetName() string
- func (o *Permission) GetNameOk() (*string, bool)
- func (o *Permission) HasDescription() bool
- func (o *Permission) HasGroup() bool
- func (o *Permission) HasName() bool
- func (o Permission) MarshalJSON() ([]byte, error)
- func (o *Permission) SetDescription(v string)
- func (o *Permission) SetGroup(v string)
- func (o *Permission) SetName(v string)
- func (o *Permission) UnmarshalJSON(bytes []byte) (err error)
- type PermissionList
- type Pgbench
- func (o *Pgbench) GetAddress() string
- func (o *Pgbench) GetAddressOk() (*string, bool)
- func (o *Pgbench) GetClients() int32
- func (o *Pgbench) GetClientsOk() (*int32, bool)
- func (o *Pgbench) GetCluster() string
- func (o *Pgbench) GetClusterOk() (*string, bool)
- func (o *Pgbench) GetDatabase() string
- func (o *Pgbench) GetDatabaseOk() (*string, bool)
- func (o *Pgbench) GetDuration() int32
- func (o *Pgbench) GetDurationOk() (*int32, bool)
- func (o *Pgbench) GetExtraArgs() string
- func (o *Pgbench) GetExtraArgsOk() (*string, bool)
- func (o *Pgbench) GetLimitCpu() string
- func (o *Pgbench) GetLimitCpuOk() (*string, bool)
- func (o *Pgbench) GetLimitMemory() string
- func (o *Pgbench) GetLimitMemoryOk() (*string, bool)
- func (o *Pgbench) GetName() string
- func (o *Pgbench) GetNameOk() (*string, bool)
- func (o *Pgbench) GetPassword() string
- func (o *Pgbench) GetPasswordOk() (*string, bool)
- func (o *Pgbench) GetRequestCpu() string
- func (o *Pgbench) GetRequestCpuOk() (*string, bool)
- func (o *Pgbench) GetRequestMemory() string
- func (o *Pgbench) GetRequestMemoryOk() (*string, bool)
- func (o *Pgbench) GetScale() int32
- func (o *Pgbench) GetScaleOk() (*int32, bool)
- func (o *Pgbench) GetSelectOnly() bool
- func (o *Pgbench) GetSelectOnlyOk() (*bool, bool)
- func (o *Pgbench) GetStep() PgbenchStep
- func (o *Pgbench) GetStepOk() (*PgbenchStep, bool)
- func (o *Pgbench) GetThreads() int32
- func (o *Pgbench) GetThreadsOk() (*int32, bool)
- func (o *Pgbench) GetUsername() string
- func (o *Pgbench) GetUsernameOk() (*string, bool)
- func (o *Pgbench) HasClients() bool
- func (o *Pgbench) HasDuration() bool
- func (o *Pgbench) HasExtraArgs() bool
- func (o *Pgbench) HasLimitCpu() bool
- func (o *Pgbench) HasLimitMemory() bool
- func (o *Pgbench) HasName() bool
- func (o *Pgbench) HasRequestCpu() bool
- func (o *Pgbench) HasRequestMemory() bool
- func (o *Pgbench) HasScale() bool
- func (o *Pgbench) HasSelectOnly() bool
- func (o *Pgbench) HasStep() bool
- func (o *Pgbench) HasThreads() bool
- func (o Pgbench) MarshalJSON() ([]byte, error)
- func (o *Pgbench) SetAddress(v string)
- func (o *Pgbench) SetClients(v int32)
- func (o *Pgbench) SetCluster(v string)
- func (o *Pgbench) SetDatabase(v string)
- func (o *Pgbench) SetDuration(v int32)
- func (o *Pgbench) SetExtraArgs(v string)
- func (o *Pgbench) SetLimitCpu(v string)
- func (o *Pgbench) SetLimitMemory(v string)
- func (o *Pgbench) SetName(v string)
- func (o *Pgbench) SetPassword(v string)
- func (o *Pgbench) SetRequestCpu(v string)
- func (o *Pgbench) SetRequestMemory(v string)
- func (o *Pgbench) SetScale(v int32)
- func (o *Pgbench) SetSelectOnly(v bool)
- func (o *Pgbench) SetStep(v PgbenchStep)
- func (o *Pgbench) SetThreads(v int32)
- func (o *Pgbench) SetUsername(v string)
- func (o *Pgbench) UnmarshalJSON(bytes []byte) (err error)
- type PgbenchStep
- type PrivilegeListItem
- func (o *PrivilegeListItem) GetDatabaseName() string
- func (o *PrivilegeListItem) GetDatabaseNameOk() (*string, bool)
- func (o *PrivilegeListItem) GetPrivileges() string
- func (o *PrivilegeListItem) GetPrivilegesOk() (*string, bool)
- func (o *PrivilegeListItem) HasDatabaseName() bool
- func (o PrivilegeListItem) MarshalJSON() ([]byte, error)
- func (o *PrivilegeListItem) SetDatabaseName(v string)
- func (o *PrivilegeListItem) SetPrivileges(v string)
- func (o *PrivilegeListItem) UnmarshalJSON(bytes []byte) (err error)
- type Provider
- func (o *Provider) GetCreatedAt() time.Time
- func (o *Provider) GetCreatedAtOk() (*time.Time, bool)
- func (o *Provider) GetEnabled() bool
- func (o *Provider) GetEnabledOk() (*bool, bool)
- func (o *Provider) GetEnvironmentCount() int32
- func (o *Provider) GetEnvironmentCountOk() (*int32, bool)
- func (o *Provider) GetLogo() string
- func (o *Provider) GetLogoOk() (*string, bool)
- func (o *Provider) GetName() string
- func (o *Provider) GetNameCn() string
- func (o *Provider) GetNameCnOk() (*string, bool)
- func (o *Provider) GetNameEn() string
- func (o *Provider) GetNameEnOk() (*string, bool)
- func (o *Provider) GetNameOk() (*string, bool)
- func (o *Provider) GetRegionCount() int32
- func (o *Provider) GetRegionCountOk() (*int32, bool)
- func (o *Provider) GetSupportArn() bool
- func (o *Provider) GetSupportArnOk() (*bool, bool)
- func (o *Provider) GetUpdatedAt() time.Time
- func (o *Provider) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Provider) GetZoneCount() int32
- func (o *Provider) GetZoneCountOk() (*int32, bool)
- func (o Provider) MarshalJSON() ([]byte, error)
- func (o *Provider) SetCreatedAt(v time.Time)
- func (o *Provider) SetEnabled(v bool)
- func (o *Provider) SetEnvironmentCount(v int32)
- func (o *Provider) SetLogo(v string)
- func (o *Provider) SetName(v string)
- func (o *Provider) SetNameCn(v string)
- func (o *Provider) SetNameEn(v string)
- func (o *Provider) SetRegionCount(v int32)
- func (o *Provider) SetSupportArn(v bool)
- func (o *Provider) SetUpdatedAt(v time.Time)
- func (o *Provider) SetZoneCount(v int32)
- func (o *Provider) UnmarshalJSON(bytes []byte) (err error)
- type ProviderApi
- type ProviderList
- func (o *ProviderList) GetItems() []Provider
- func (o *ProviderList) GetItemsOk() (*[]Provider, bool)
- func (o *ProviderList) HasItems() bool
- func (o ProviderList) MarshalJSON() ([]byte, error)
- func (o *ProviderList) SetItems(v []Provider)
- func (o *ProviderList) UnmarshalJSON(bytes []byte) (err error)
- type QueryAuditLogsOptionalParameters
- func (r *QueryAuditLogsOptionalParameters) WithComponentName(componentName string) *QueryAuditLogsOptionalParameters
- func (r *QueryAuditLogsOptionalParameters) WithLimit(limit string) *QueryAuditLogsOptionalParameters
- func (r *QueryAuditLogsOptionalParameters) WithSortType(sortType SortType) *QueryAuditLogsOptionalParameters
- type QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithEnd(end int64) *QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithEventName(eventName string) *QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithOperatorId(operatorId int32) *QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithResourceId(resourceId int32) *QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithResourceType(resourceType string) *QueryClusterEventsOptionalParameters
- func (r *QueryClusterEventsOptionalParameters) WithStart(start int64) *QueryClusterEventsOptionalParameters
- type QueryClusterMetricsOptionalParameters
- type QueryErrorLogsOptionalParameters
- func (r *QueryErrorLogsOptionalParameters) WithComponentName(componentName string) *QueryErrorLogsOptionalParameters
- func (r *QueryErrorLogsOptionalParameters) WithInstanceName(instanceName string) *QueryErrorLogsOptionalParameters
- func (r *QueryErrorLogsOptionalParameters) WithLimit(limit string) *QueryErrorLogsOptionalParameters
- func (r *QueryErrorLogsOptionalParameters) WithSortType(sortType SortType) *QueryErrorLogsOptionalParameters
- type QueryHistory
- func (o *QueryHistory) GetCreatedAt() time.Time
- func (o *QueryHistory) GetCreatedAtOk() (*time.Time, bool)
- func (o *QueryHistory) GetDuration() int32
- func (o *QueryHistory) GetDurationOk() (*int32, bool)
- func (o *QueryHistory) GetErrMassage() string
- func (o *QueryHistory) GetErrMassageOk() (*string, bool)
- func (o *QueryHistory) GetSql() string
- func (o *QueryHistory) GetSqlOk() (*string, bool)
- func (o *QueryHistory) HasCreatedAt() bool
- func (o *QueryHistory) HasDuration() bool
- func (o *QueryHistory) HasErrMassage() bool
- func (o *QueryHistory) HasSql() bool
- func (o QueryHistory) MarshalJSON() ([]byte, error)
- func (o *QueryHistory) SetCreatedAt(v time.Time)
- func (o *QueryHistory) SetDuration(v int32)
- func (o *QueryHistory) SetErrMassage(v string)
- func (o *QueryHistory) SetSql(v string)
- func (o *QueryHistory) UnmarshalJSON(bytes []byte) (err error)
- type QueryPodLogsOptionalParameters
- func (r *QueryPodLogsOptionalParameters) WithComponentName(componentName string) *QueryPodLogsOptionalParameters
- func (r *QueryPodLogsOptionalParameters) WithInstanceName(instanceName string) *QueryPodLogsOptionalParameters
- func (r *QueryPodLogsOptionalParameters) WithLimit(limit string) *QueryPodLogsOptionalParameters
- func (r *QueryPodLogsOptionalParameters) WithSortType(sortType SortType) *QueryPodLogsOptionalParameters
- type QueryResponse
- func (o *QueryResponse) GetData() []Result
- func (o *QueryResponse) GetDataOk() (*[]Result, bool)
- func (o *QueryResponse) GetErrMessage() []string
- func (o *QueryResponse) GetErrMessageOk() (*[]string, bool)
- func (o *QueryResponse) HasData() bool
- func (o *QueryResponse) HasErrMessage() bool
- func (o QueryResponse) MarshalJSON() ([]byte, error)
- func (o *QueryResponse) SetData(v []Result)
- func (o *QueryResponse) SetErrMessage(v []string)
- func (o *QueryResponse) SetErrMessageNil()
- func (o *QueryResponse) UnmarshalJSON(bytes []byte) (err error)
- func (o *QueryResponse) UnsetErrMessage()
- type QueryRunningLogsOptionalParameters
- func (r *QueryRunningLogsOptionalParameters) WithComponentName(componentName string) *QueryRunningLogsOptionalParameters
- func (r *QueryRunningLogsOptionalParameters) WithInstanceName(instanceName string) *QueryRunningLogsOptionalParameters
- func (r *QueryRunningLogsOptionalParameters) WithLimit(limit string) *QueryRunningLogsOptionalParameters
- func (r *QueryRunningLogsOptionalParameters) WithSortType(sortType SortType) *QueryRunningLogsOptionalParameters
- type QuerySlowLogsOptionalParameters
- func (r *QuerySlowLogsOptionalParameters) WithComponentName(componentName string) *QuerySlowLogsOptionalParameters
- func (r *QuerySlowLogsOptionalParameters) WithLimit(limit string) *QuerySlowLogsOptionalParameters
- func (r *QuerySlowLogsOptionalParameters) WithSortType(sortType SortType) *QuerySlowLogsOptionalParameters
- type ReadParamTplOptionalParameters
- type ReconfigureCreate
- func (o *ReconfigureCreate) GetComponent() string
- func (o *ReconfigureCreate) GetComponentOk() (*string, bool)
- func (o *ReconfigureCreate) GetConfigFileName() string
- func (o *ReconfigureCreate) GetConfigFileNameOk() (*string, bool)
- func (o *ReconfigureCreate) GetParameters() map[string]string
- func (o *ReconfigureCreate) GetParametersOk() (*map[string]string, bool)
- func (o *ReconfigureCreate) HasComponent() bool
- func (o *ReconfigureCreate) HasConfigFileName() bool
- func (o ReconfigureCreate) MarshalJSON() ([]byte, error)
- func (o *ReconfigureCreate) SetComponent(v string)
- func (o *ReconfigureCreate) SetConfigFileName(v string)
- func (o *ReconfigureCreate) SetParameters(v map[string]string)
- func (o *ReconfigureCreate) UnmarshalJSON(bytes []byte) (err error)
- type RecycleBinCluster
- func (o *RecycleBinCluster) GetAvailabilityZones() []string
- func (o *RecycleBinCluster) GetAvailabilityZonesOk() (*[]string, bool)
- func (o *RecycleBinCluster) GetBackup() ClusterBackup
- func (o *RecycleBinCluster) GetBackupOk() (*ClusterBackup, bool)
- func (o *RecycleBinCluster) GetCloudProvider() string
- func (o *RecycleBinCluster) GetCloudProviderOk() (*string, bool)
- func (o *RecycleBinCluster) GetCloudRegion() string
- func (o *RecycleBinCluster) GetCloudRegionOk() (*string, bool)
- func (o *RecycleBinCluster) GetClusterId() string
- func (o *RecycleBinCluster) GetClusterIdOk() (*string, bool)
- func (o *RecycleBinCluster) GetComponents() []ComponentsItem
- func (o *RecycleBinCluster) GetComponentsOk() (*[]ComponentsItem, bool)
- func (o *RecycleBinCluster) GetCpu() float64
- func (o *RecycleBinCluster) GetCpuOk() (*float64, bool)
- func (o *RecycleBinCluster) GetCreatedAt() time.Time
- func (o *RecycleBinCluster) GetCreatedAtOk() (*time.Time, bool)
- func (o *RecycleBinCluster) GetEngine() string
- func (o *RecycleBinCluster) GetEngineOk() (*string, bool)
- func (o *RecycleBinCluster) GetEnvironmentId() string
- func (o *RecycleBinCluster) GetEnvironmentIdOk() (*string, bool)
- func (o *RecycleBinCluster) GetEnvironmentName() string
- func (o *RecycleBinCluster) GetEnvironmentNameOk() (*string, bool)
- func (o *RecycleBinCluster) GetEnvironmentType() string
- func (o *RecycleBinCluster) GetEnvironmentTypeOk() (*string, bool)
- func (o *RecycleBinCluster) GetExpiredAt() time.Time
- func (o *RecycleBinCluster) GetExpiredAtOk() (*time.Time, bool)
- func (o *RecycleBinCluster) GetHash() string
- func (o *RecycleBinCluster) GetHashOk() (*string, bool)
- func (o *RecycleBinCluster) GetId() string
- func (o *RecycleBinCluster) GetIdOk() (*string, bool)
- func (o *RecycleBinCluster) GetMemory() float64
- func (o *RecycleBinCluster) GetMemoryOk() (*float64, bool)
- func (o *RecycleBinCluster) GetMode() string
- func (o *RecycleBinCluster) GetModeOk() (*string, bool)
- func (o *RecycleBinCluster) GetName() string
- func (o *RecycleBinCluster) GetNameOk() (*string, bool)
- func (o *RecycleBinCluster) GetNamespace() string
- func (o *RecycleBinCluster) GetNamespaceOk() (*string, bool)
- func (o *RecycleBinCluster) GetOrgName() string
- func (o *RecycleBinCluster) GetOrgNameOk() (*string, bool)
- func (o *RecycleBinCluster) GetReplicas() int32
- func (o *RecycleBinCluster) GetReplicasOk() (*int32, bool)
- func (o *RecycleBinCluster) GetSingleZone() bool
- func (o *RecycleBinCluster) GetSingleZoneOk() (*bool, bool)
- func (o *RecycleBinCluster) GetState() string
- func (o *RecycleBinCluster) GetStateOk() (*string, bool)
- func (o *RecycleBinCluster) GetStatus() string
- func (o *RecycleBinCluster) GetStatusOk() (*string, bool)
- func (o *RecycleBinCluster) GetStoppedAt() time.Time
- func (o *RecycleBinCluster) GetStoppedAtOk() (*time.Time, bool)
- func (o *RecycleBinCluster) GetStorage() float64
- func (o *RecycleBinCluster) GetStorageOk() (*float64, bool)
- func (o *RecycleBinCluster) GetValues() map[string]interface{}
- func (o *RecycleBinCluster) GetValuesOk() (*map[string]interface{}, bool)
- func (o *RecycleBinCluster) GetVersion() string
- func (o *RecycleBinCluster) GetVersionOk() (*string, bool)
- func (o *RecycleBinCluster) HasAvailabilityZones() bool
- func (o *RecycleBinCluster) HasBackup() bool
- func (o *RecycleBinCluster) HasCloudProvider() bool
- func (o *RecycleBinCluster) HasCloudRegion() bool
- func (o *RecycleBinCluster) HasClusterId() bool
- func (o *RecycleBinCluster) HasComponents() bool
- func (o *RecycleBinCluster) HasCpu() bool
- func (o *RecycleBinCluster) HasCreatedAt() bool
- func (o *RecycleBinCluster) HasEnvironmentId() bool
- func (o *RecycleBinCluster) HasEnvironmentType() bool
- func (o *RecycleBinCluster) HasExpiredAt() bool
- func (o *RecycleBinCluster) HasHash() bool
- func (o *RecycleBinCluster) HasId() bool
- func (o *RecycleBinCluster) HasMemory() bool
- func (o *RecycleBinCluster) HasMode() bool
- func (o *RecycleBinCluster) HasNamespace() bool
- func (o *RecycleBinCluster) HasOrgName() bool
- func (o *RecycleBinCluster) HasReplicas() bool
- func (o *RecycleBinCluster) HasSingleZone() bool
- func (o *RecycleBinCluster) HasState() bool
- func (o *RecycleBinCluster) HasStatus() bool
- func (o *RecycleBinCluster) HasStoppedAt() bool
- func (o *RecycleBinCluster) HasStorage() bool
- func (o *RecycleBinCluster) HasValues() bool
- func (o *RecycleBinCluster) HasVersion() bool
- func (o RecycleBinCluster) MarshalJSON() ([]byte, error)
- func (o *RecycleBinCluster) SetAvailabilityZones(v []string)
- func (o *RecycleBinCluster) SetBackup(v ClusterBackup)
- func (o *RecycleBinCluster) SetCloudProvider(v string)
- func (o *RecycleBinCluster) SetCloudRegion(v string)
- func (o *RecycleBinCluster) SetClusterId(v string)
- func (o *RecycleBinCluster) SetComponents(v []ComponentsItem)
- func (o *RecycleBinCluster) SetCpu(v float64)
- func (o *RecycleBinCluster) SetCreatedAt(v time.Time)
- func (o *RecycleBinCluster) SetEngine(v string)
- func (o *RecycleBinCluster) SetEnvironmentId(v string)
- func (o *RecycleBinCluster) SetEnvironmentName(v string)
- func (o *RecycleBinCluster) SetEnvironmentType(v string)
- func (o *RecycleBinCluster) SetExpiredAt(v time.Time)
- func (o *RecycleBinCluster) SetHash(v string)
- func (o *RecycleBinCluster) SetId(v string)
- func (o *RecycleBinCluster) SetMemory(v float64)
- func (o *RecycleBinCluster) SetMode(v string)
- func (o *RecycleBinCluster) SetName(v string)
- func (o *RecycleBinCluster) SetNamespace(v string)
- func (o *RecycleBinCluster) SetOrgName(v string)
- func (o *RecycleBinCluster) SetReplicas(v int32)
- func (o *RecycleBinCluster) SetSingleZone(v bool)
- func (o *RecycleBinCluster) SetState(v string)
- func (o *RecycleBinCluster) SetStatus(v string)
- func (o *RecycleBinCluster) SetStoppedAt(v time.Time)
- func (o *RecycleBinCluster) SetStorage(v float64)
- func (o *RecycleBinCluster) SetValues(v map[string]interface{})
- func (o *RecycleBinCluster) SetVersion(v string)
- func (o *RecycleBinCluster) UnmarshalJSON(bytes []byte) (err error)
- type RecycleBinClusterApi
- func (a *RecycleBinClusterApi) DeleteRecycleBinCluster(ctx _context.Context, orgName string, clusterName string, isDeleteBackup bool) (*_nethttp.Response, error)
- func (a *RecycleBinClusterApi) GetRecycleBinCluster(ctx _context.Context, orgName string, clusterName string) (RecycleBinCluster, *_nethttp.Response, error)
- func (a *RecycleBinClusterApi) ListRecycleBinCluster(ctx _context.Context, orgName string) (RecycleBinClusterList, *_nethttp.Response, error)
- func (a *RecycleBinClusterApi) RestoreRecycleBinCluster(ctx _context.Context, orgName string, clusterName string) (RecycleBinCluster, *_nethttp.Response, error)
- type RecycleBinClusterList
- func (o *RecycleBinClusterList) GetItems() []RecycleBinClusterListItem
- func (o *RecycleBinClusterList) GetItemsOk() (*[]RecycleBinClusterListItem, bool)
- func (o RecycleBinClusterList) MarshalJSON() ([]byte, error)
- func (o *RecycleBinClusterList) SetItems(v []RecycleBinClusterListItem)
- func (o *RecycleBinClusterList) UnmarshalJSON(bytes []byte) (err error)
- type RecycleBinClusterListItem
- func (o *RecycleBinClusterListItem) GetAvailabilityZones() []string
- func (o *RecycleBinClusterListItem) GetAvailabilityZonesOk() (*[]string, bool)
- func (o *RecycleBinClusterListItem) GetClassCode() string
- func (o *RecycleBinClusterListItem) GetClassCodeOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetCloudProvider() string
- func (o *RecycleBinClusterListItem) GetCloudProviderOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetCloudRegion() string
- func (o *RecycleBinClusterListItem) GetCloudRegionOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetClusterId() string
- func (o *RecycleBinClusterListItem) GetClusterIdOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetCreatedAt() time.Time
- func (o *RecycleBinClusterListItem) GetCreatedAtOk() (*time.Time, bool)
- func (o *RecycleBinClusterListItem) GetDisplayName() string
- func (o *RecycleBinClusterListItem) GetDisplayNameOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetEngine() string
- func (o *RecycleBinClusterListItem) GetEngineOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetEnvironmentName() string
- func (o *RecycleBinClusterListItem) GetEnvironmentNameOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetExpiredAt() time.Time
- func (o *RecycleBinClusterListItem) GetExpiredAtOk() (*time.Time, bool)
- func (o *RecycleBinClusterListItem) GetId() string
- func (o *RecycleBinClusterListItem) GetIdOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetMode() string
- func (o *RecycleBinClusterListItem) GetModeOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetName() string
- func (o *RecycleBinClusterListItem) GetNameOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetOrgName() string
- func (o *RecycleBinClusterListItem) GetOrgNameOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetState() string
- func (o *RecycleBinClusterListItem) GetStateOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetStoppedAt() time.Time
- func (o *RecycleBinClusterListItem) GetStoppedAtOk() (*time.Time, bool)
- func (o *RecycleBinClusterListItem) GetStorage() string
- func (o *RecycleBinClusterListItem) GetStorageOk() (*string, bool)
- func (o *RecycleBinClusterListItem) GetVersion() string
- func (o *RecycleBinClusterListItem) GetVersionOk() (*string, bool)
- func (o *RecycleBinClusterListItem) HasAvailabilityZones() bool
- func (o *RecycleBinClusterListItem) HasClassCode() bool
- func (o *RecycleBinClusterListItem) HasCloudRegion() bool
- func (o *RecycleBinClusterListItem) HasClusterId() bool
- func (o *RecycleBinClusterListItem) HasCreatedAt() bool
- func (o *RecycleBinClusterListItem) HasDisplayName() bool
- func (o *RecycleBinClusterListItem) HasExpiredAt() bool
- func (o *RecycleBinClusterListItem) HasMode() bool
- func (o *RecycleBinClusterListItem) HasOrgName() bool
- func (o *RecycleBinClusterListItem) HasStorage() bool
- func (o RecycleBinClusterListItem) MarshalJSON() ([]byte, error)
- func (o *RecycleBinClusterListItem) SetAvailabilityZones(v []string)
- func (o *RecycleBinClusterListItem) SetClassCode(v string)
- func (o *RecycleBinClusterListItem) SetCloudProvider(v string)
- func (o *RecycleBinClusterListItem) SetCloudRegion(v string)
- func (o *RecycleBinClusterListItem) SetClusterId(v string)
- func (o *RecycleBinClusterListItem) SetCreatedAt(v time.Time)
- func (o *RecycleBinClusterListItem) SetDisplayName(v string)
- func (o *RecycleBinClusterListItem) SetEngine(v string)
- func (o *RecycleBinClusterListItem) SetEnvironmentName(v string)
- func (o *RecycleBinClusterListItem) SetExpiredAt(v time.Time)
- func (o *RecycleBinClusterListItem) SetId(v string)
- func (o *RecycleBinClusterListItem) SetMode(v string)
- func (o *RecycleBinClusterListItem) SetName(v string)
- func (o *RecycleBinClusterListItem) SetOrgName(v string)
- func (o *RecycleBinClusterListItem) SetState(v string)
- func (o *RecycleBinClusterListItem) SetStoppedAt(v time.Time)
- func (o *RecycleBinClusterListItem) SetStorage(v string)
- func (o *RecycleBinClusterListItem) SetVersion(v string)
- func (o *RecycleBinClusterListItem) UnmarshalJSON(bytes []byte) (err error)
- type Region
- func (o *Region) GetCreatedAt() time.Time
- func (o *Region) GetCreatedAtOk() (*time.Time, bool)
- func (o *Region) GetEnabled() bool
- func (o *Region) GetEnabledOk() (*bool, bool)
- func (o *Region) GetGroup() string
- func (o *Region) GetGroupOk() (*string, bool)
- func (o *Region) GetName() string
- func (o *Region) GetNameCn() string
- func (o *Region) GetNameCnOk() (*string, bool)
- func (o *Region) GetNameEn() string
- func (o *Region) GetNameEnOk() (*string, bool)
- func (o *Region) GetNameOk() (*string, bool)
- func (o *Region) GetProvider() string
- func (o *Region) GetProviderOk() (*string, bool)
- func (o *Region) GetUpdatedAt() time.Time
- func (o *Region) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Region) GetZoneCount() int32
- func (o *Region) GetZoneCountOk() (*int32, bool)
- func (o Region) MarshalJSON() ([]byte, error)
- func (o *Region) SetCreatedAt(v time.Time)
- func (o *Region) SetEnabled(v bool)
- func (o *Region) SetGroup(v string)
- func (o *Region) SetName(v string)
- func (o *Region) SetNameCn(v string)
- func (o *Region) SetNameEn(v string)
- func (o *Region) SetProvider(v string)
- func (o *Region) SetUpdatedAt(v time.Time)
- func (o *Region) SetZoneCount(v int32)
- func (o *Region) UnmarshalJSON(bytes []byte) (err error)
- type RegionApi
- type RegionList
- type Restore
- func (o *Restore) GetBackupName() string
- func (o *Restore) GetBackupNameOk() (*string, bool)
- func (o *Restore) GetClusterName() string
- func (o *Restore) GetClusterNameOk() (*string, bool)
- func (o *Restore) GetComponentName() string
- func (o *Restore) GetComponentNameOk() (*string, bool)
- func (o *Restore) GetCreatedAt() time.Time
- func (o *Restore) GetCreatedAtOk() (*time.Time, bool)
- func (o *Restore) GetName() string
- func (o *Restore) GetNameOk() (*string, bool)
- func (o *Restore) GetOrgName() string
- func (o *Restore) GetOrgNameOk() (*string, bool)
- func (o *Restore) GetParameters() RestoreParameters
- func (o *Restore) GetParametersOk() (*RestoreParameters, bool)
- func (o *Restore) GetRestoreTime() string
- func (o *Restore) GetRestoreTimeOk() (*string, bool)
- func (o *Restore) GetStatus() RestoreStatus
- func (o *Restore) GetStatusOk() (*RestoreStatus, bool)
- func (o *Restore) GetTargetPodName() string
- func (o *Restore) GetTargetPodNameOk() (*string, bool)
- func (o *Restore) HasCreatedAt() bool
- func (o *Restore) HasName() bool
- func (o *Restore) HasOrgName() bool
- func (o *Restore) HasParameters() bool
- func (o *Restore) HasRestoreTime() bool
- func (o *Restore) HasStatus() bool
- func (o *Restore) HasTargetPodName() bool
- func (o Restore) MarshalJSON() ([]byte, error)
- func (o *Restore) SetBackupName(v string)
- func (o *Restore) SetClusterName(v string)
- func (o *Restore) SetComponentName(v string)
- func (o *Restore) SetCreatedAt(v time.Time)
- func (o *Restore) SetName(v string)
- func (o *Restore) SetOrgName(v string)
- func (o *Restore) SetParameters(v RestoreParameters)
- func (o *Restore) SetRestoreTime(v string)
- func (o *Restore) SetStatus(v RestoreStatus)
- func (o *Restore) SetTargetPodName(v string)
- func (o *Restore) UnmarshalJSON(bytes []byte) (err error)
- type RestoreApi
- func (a *RestoreApi) DeleteRestoreObject(ctx _context.Context, orgName string, clusterName string, restoreName string) (*_nethttp.Response, error)
- func (a *RestoreApi) DoRestore(ctx _context.Context, orgName string, clusterName string, body Restore) (Restore, *_nethttp.Response, error)
- func (a *RestoreApi) GetRestoreLog(ctx _context.Context, orgName string, clusterName string, restoreId string) (RestoreLog, *_nethttp.Response, error)
- func (a *RestoreApi) GetRestoreTimeRange(ctx _context.Context, orgName string, clusterId string) (Backup, *_nethttp.Response, error)
- func (a *RestoreApi) ListClusterRestore(ctx _context.Context, orgName string, clusterName string) (RestoreList, *_nethttp.Response, error)
- func (a *RestoreApi) ListRestores(ctx _context.Context, orgName string) (RestoreList, *_nethttp.Response, error)
- func (a *RestoreApi) RestoreCluster(ctx _context.Context, orgName string, body RestoreCreate) (Cluster, *_nethttp.Response, error)
- type RestoreCreate
- func (o *RestoreCreate) GetBackupId() string
- func (o *RestoreCreate) GetBackupIdOk() (*string, bool)
- func (o *RestoreCreate) GetCluster() Cluster
- func (o *RestoreCreate) GetClusterOk() (*Cluster, bool)
- func (o *RestoreCreate) GetDoReadyRestoreAfterClusterRunning() bool
- func (o *RestoreCreate) GetDoReadyRestoreAfterClusterRunningOk() (*bool, bool)
- func (o *RestoreCreate) GetEnvironmentName() string
- func (o *RestoreCreate) GetEnvironmentNameOk() (*string, bool)
- func (o *RestoreCreate) GetRestoreTimeStr() string
- func (o *RestoreCreate) GetRestoreTimeStrOk() (*string, bool)
- func (o *RestoreCreate) GetVolumeRestorePolicy() VolumeRestorePolicy
- func (o *RestoreCreate) GetVolumeRestorePolicyOk() (*VolumeRestorePolicy, bool)
- func (o *RestoreCreate) HasDoReadyRestoreAfterClusterRunning() bool
- func (o *RestoreCreate) HasRestoreTimeStr() bool
- func (o *RestoreCreate) HasVolumeRestorePolicy() bool
- func (o RestoreCreate) MarshalJSON() ([]byte, error)
- func (o *RestoreCreate) SetBackupId(v string)
- func (o *RestoreCreate) SetCluster(v Cluster)
- func (o *RestoreCreate) SetDoReadyRestoreAfterClusterRunning(v bool)
- func (o *RestoreCreate) SetEnvironmentName(v string)
- func (o *RestoreCreate) SetRestoreTimeStr(v string)
- func (o *RestoreCreate) SetVolumeRestorePolicy(v VolumeRestorePolicy)
- func (o *RestoreCreate) UnmarshalJSON(bytes []byte) (err error)
- type RestoreList
- type RestoreLog
- func (o *RestoreLog) GetItems() []RestoreLogByPod
- func (o *RestoreLog) GetItemsOk() (*[]RestoreLogByPod, bool)
- func (o *RestoreLog) GetRestoreId() string
- func (o *RestoreLog) GetRestoreIdOk() (*string, bool)
- func (o *RestoreLog) HasItems() bool
- func (o *RestoreLog) HasRestoreId() bool
- func (o RestoreLog) MarshalJSON() ([]byte, error)
- func (o *RestoreLog) SetItems(v []RestoreLogByPod)
- func (o *RestoreLog) SetRestoreId(v string)
- func (o *RestoreLog) UnmarshalJSON(bytes []byte) (err error)
- type RestoreLogByPod
- func (o *RestoreLogByPod) GetCreationTimestamp() time.Time
- func (o *RestoreLogByPod) GetCreationTimestampOk() (*time.Time, bool)
- func (o *RestoreLogByPod) GetLog() string
- func (o *RestoreLogByPod) GetLogOk() (*string, bool)
- func (o *RestoreLogByPod) GetOwnerObjectKey() string
- func (o *RestoreLogByPod) GetOwnerObjectKeyOk() (*string, bool)
- func (o *RestoreLogByPod) GetPodName() string
- func (o *RestoreLogByPod) GetPodNameOk() (*string, bool)
- func (o *RestoreLogByPod) HasCreationTimestamp() bool
- func (o *RestoreLogByPod) HasLog() bool
- func (o *RestoreLogByPod) HasOwnerObjectKey() bool
- func (o *RestoreLogByPod) HasPodName() bool
- func (o RestoreLogByPod) MarshalJSON() ([]byte, error)
- func (o *RestoreLogByPod) SetCreationTimestamp(v time.Time)
- func (o *RestoreLogByPod) SetLog(v string)
- func (o *RestoreLogByPod) SetOwnerObjectKey(v string)
- func (o *RestoreLogByPod) SetPodName(v string)
- func (o *RestoreLogByPod) UnmarshalJSON(bytes []byte) (err error)
- type RestoreParameters
- type RestoreStatus
- func (o *RestoreStatus) GetActions() []RestoreStatusActionsItem
- func (o *RestoreStatus) GetActionsOk() (*[]RestoreStatusActionsItem, bool)
- func (o *RestoreStatus) GetCompletionTimestamp() string
- func (o *RestoreStatus) GetCompletionTimestampOk() (*string, bool)
- func (o *RestoreStatus) GetConditions() []RestoreStatusConditionsItem
- func (o *RestoreStatus) GetConditionsOk() (*[]RestoreStatusConditionsItem, bool)
- func (o *RestoreStatus) GetPhase() string
- func (o *RestoreStatus) GetPhaseOk() (*string, bool)
- func (o *RestoreStatus) GetStartTimestamp() string
- func (o *RestoreStatus) GetStartTimestampOk() (*string, bool)
- func (o *RestoreStatus) HasActions() bool
- func (o *RestoreStatus) HasCompletionTimestamp() bool
- func (o *RestoreStatus) HasConditions() bool
- func (o *RestoreStatus) HasPhase() bool
- func (o *RestoreStatus) HasStartTimestamp() bool
- func (o RestoreStatus) MarshalJSON() ([]byte, error)
- func (o *RestoreStatus) SetActions(v []RestoreStatusActionsItem)
- func (o *RestoreStatus) SetCompletionTimestamp(v string)
- func (o *RestoreStatus) SetConditions(v []RestoreStatusConditionsItem)
- func (o *RestoreStatus) SetPhase(v string)
- func (o *RestoreStatus) SetStartTimestamp(v string)
- func (o *RestoreStatus) UnmarshalJSON(bytes []byte) (err error)
- type RestoreStatusActionsItem
- func (o *RestoreStatusActionsItem) GetMessage() string
- func (o *RestoreStatusActionsItem) GetMessageOk() (*string, bool)
- func (o *RestoreStatusActionsItem) GetName() string
- func (o *RestoreStatusActionsItem) GetNameOk() (*string, bool)
- func (o *RestoreStatusActionsItem) GetStatus() string
- func (o *RestoreStatusActionsItem) GetStatusOk() (*string, bool)
- func (o *RestoreStatusActionsItem) HasMessage() bool
- func (o *RestoreStatusActionsItem) HasName() bool
- func (o *RestoreStatusActionsItem) HasStatus() bool
- func (o RestoreStatusActionsItem) MarshalJSON() ([]byte, error)
- func (o *RestoreStatusActionsItem) SetMessage(v string)
- func (o *RestoreStatusActionsItem) SetName(v string)
- func (o *RestoreStatusActionsItem) SetStatus(v string)
- func (o *RestoreStatusActionsItem) UnmarshalJSON(bytes []byte) (err error)
- type RestoreStatusConditionsItem
- func (o *RestoreStatusConditionsItem) GetMessage() string
- func (o *RestoreStatusConditionsItem) GetMessageOk() (*string, bool)
- func (o *RestoreStatusConditionsItem) GetReason() string
- func (o *RestoreStatusConditionsItem) GetReasonOk() (*string, bool)
- func (o *RestoreStatusConditionsItem) GetType() string
- func (o *RestoreStatusConditionsItem) GetTypeOk() (*string, bool)
- func (o *RestoreStatusConditionsItem) HasMessage() bool
- func (o *RestoreStatusConditionsItem) HasReason() bool
- func (o *RestoreStatusConditionsItem) HasType() bool
- func (o RestoreStatusConditionsItem) MarshalJSON() ([]byte, error)
- func (o *RestoreStatusConditionsItem) SetMessage(v string)
- func (o *RestoreStatusConditionsItem) SetReason(v string)
- func (o *RestoreStatusConditionsItem) SetType(v string)
- func (o *RestoreStatusConditionsItem) UnmarshalJSON(bytes []byte) (err error)
- type Result
- func (o *Result) GetColumns() []string
- func (o *Result) GetColumnsOk() (*[]string, bool)
- func (o *Result) GetPagination() Pagination
- func (o *Result) GetPaginationOk() (*Pagination, bool)
- func (o *Result) GetRows() [][]interface{}
- func (o *Result) GetRowsOk() (*[][]interface{}, bool)
- func (o *Result) GetStats() ResultStats
- func (o *Result) GetStatsOk() (*ResultStats, bool)
- func (o *Result) HasColumns() bool
- func (o *Result) HasPagination() bool
- func (o *Result) HasRows() bool
- func (o *Result) HasStats() bool
- func (o Result) MarshalJSON() ([]byte, error)
- func (o *Result) SetColumns(v []string)
- func (o *Result) SetPagination(v Pagination)
- func (o *Result) SetRows(v [][]interface{})
- func (o *Result) SetStats(v ResultStats)
- func (o *Result) UnmarshalJSON(bytes []byte) (err error)
- type ResultStats
- func (o *ResultStats) GetColumnsCount() int32
- func (o *ResultStats) GetColumnsCountOk() (*int32, bool)
- func (o *ResultStats) GetQueryFinishTime() time.Time
- func (o *ResultStats) GetQueryFinishTimeOk() (*time.Time, bool)
- func (o *ResultStats) GetQueryStartTime() time.Time
- func (o *ResultStats) GetQueryStartTimeOk() (*time.Time, bool)
- func (o *ResultStats) GetRowsAffected() int32
- func (o *ResultStats) GetRowsAffectedOk() (*int32, bool)
- func (o *ResultStats) GetRowsCount() int32
- func (o *ResultStats) GetRowsCountOk() (*int32, bool)
- func (o *ResultStats) HasColumnsCount() bool
- func (o *ResultStats) HasQueryFinishTime() bool
- func (o *ResultStats) HasQueryStartTime() bool
- func (o *ResultStats) HasRowsAffected() bool
- func (o *ResultStats) HasRowsCount() bool
- func (o ResultStats) MarshalJSON() ([]byte, error)
- func (o *ResultStats) SetColumnsCount(v int32)
- func (o *ResultStats) SetQueryFinishTime(v time.Time)
- func (o *ResultStats) SetQueryStartTime(v time.Time)
- func (o *ResultStats) SetRowsAffected(v int32)
- func (o *ResultStats) SetRowsCount(v int32)
- func (o *ResultStats) UnmarshalJSON(bytes []byte) (err error)
- type Role
- func (o *Role) GetCreatedAt() time.Time
- func (o *Role) GetCreatedAtOk() (*time.Time, bool)
- func (o *Role) GetDescription() string
- func (o *Role) GetDescriptionOk() (*string, bool)
- func (o *Role) GetName() string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetType() string
- func (o *Role) GetTypeOk() (*string, bool)
- func (o *Role) GetUpdatedAt() time.Time
- func (o *Role) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Role) HasCreatedAt() bool
- func (o *Role) HasDescription() bool
- func (o *Role) HasName() bool
- func (o *Role) HasType() bool
- func (o *Role) HasUpdatedAt() bool
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetCreatedAt(v time.Time)
- func (o *Role) SetDescription(v string)
- func (o *Role) SetName(v string)
- func (o *Role) SetType(v string)
- func (o *Role) SetUpdatedAt(v time.Time)
- func (o *Role) UnmarshalJSON(bytes []byte) (err error)
- type RoleApi
- func (a *RoleApi) BatchAddRolePermissions(ctx _context.Context, orgName string, roleName string, body []string) (*_nethttp.Response, error)
- func (a *RoleApi) BatchRemoveRolePermissions(ctx _context.Context, orgName string, roleName string, body []string) (*_nethttp.Response, error)
- func (a *RoleApi) CreateRole(ctx _context.Context, orgName string, body RoleCreate) (Role, *_nethttp.Response, error)
- func (a *RoleApi) DeleteRoleByName(ctx _context.Context, orgName string, roleName string) (*_nethttp.Response, error)
- func (a *RoleApi) GetRoleByName(ctx _context.Context, orgName string, roleName string) (Role, *_nethttp.Response, error)
- func (a *RoleApi) ListPermissions(ctx _context.Context) (PermissionList, *_nethttp.Response, error)
- func (a *RoleApi) ListRolePermissions(ctx _context.Context, orgName string, roleName string) (PermissionList, *_nethttp.Response, error)
- func (a *RoleApi) ListRoles(ctx _context.Context, orgName string) (RoleList, *_nethttp.Response, error)
- func (a *RoleApi) UpdateRoleByName(ctx _context.Context, orgName string, roleName string, body RoleUpdate) (Role, *_nethttp.Response, error)
- type RoleCreate
- func (o *RoleCreate) GetDescription() string
- func (o *RoleCreate) GetDescriptionOk() (*string, bool)
- func (o *RoleCreate) GetName() string
- func (o *RoleCreate) GetNameOk() (*string, bool)
- func (o *RoleCreate) HasDescription() bool
- func (o *RoleCreate) HasName() bool
- func (o RoleCreate) MarshalJSON() ([]byte, error)
- func (o *RoleCreate) SetDescription(v string)
- func (o *RoleCreate) SetName(v string)
- func (o *RoleCreate) UnmarshalJSON(bytes []byte) (err error)
- type RoleList
- type RoleUpdate
- func (o *RoleUpdate) GetDescription() string
- func (o *RoleUpdate) GetDescriptionOk() (*string, bool)
- func (o *RoleUpdate) HasDescription() bool
- func (o RoleUpdate) MarshalJSON() ([]byte, error)
- func (o *RoleUpdate) SetDescription(v string)
- func (o *RoleUpdate) UnmarshalJSON(bytes []byte) (err error)
- type ServiceVersionApi
- type SetAlertConfigOptionalParameters
- type SetAlertObjectsStatusOptionalParameters
- type SetClusterAlertDisabledOptionalParameters
- type SortType
- type SqlEditorApi
- type SqlReqRes
- type StorageClassApi
- type StorageClassInfo
- func (o *StorageClassInfo) GetAllowClone() bool
- func (o *StorageClassInfo) GetAllowCloneOk() (*bool, bool)
- func (o *StorageClassInfo) GetAllowSnapshot() bool
- func (o *StorageClassInfo) GetAllowSnapshotOk() (*bool, bool)
- func (o *StorageClassInfo) GetAllowVolumeExpansion() bool
- func (o *StorageClassInfo) GetAllowVolumeExpansionOk() (*bool, bool)
- func (o *StorageClassInfo) GetAnnotations() map[string]string
- func (o *StorageClassInfo) GetAnnotationsOk() (*map[string]string, bool)
- func (o *StorageClassInfo) GetCreatedAt() time.Time
- func (o *StorageClassInfo) GetCreatedAtOk() (*time.Time, bool)
- func (o *StorageClassInfo) GetCreationTimestamp() string
- func (o *StorageClassInfo) GetCreationTimestampOk() (*string, bool)
- func (o *StorageClassInfo) GetDescription() string
- func (o *StorageClassInfo) GetDescriptionOk() (*string, bool)
- func (o *StorageClassInfo) GetDisplayName() string
- func (o *StorageClassInfo) GetDisplayNameOk() (*string, bool)
- func (o *StorageClassInfo) GetEnabled() bool
- func (o *StorageClassInfo) GetEnabledOk() (*bool, bool)
- func (o *StorageClassInfo) GetHostPath() string
- func (o *StorageClassInfo) GetHostPathOk() (*string, bool)
- func (o *StorageClassInfo) GetId() string
- func (o *StorageClassInfo) GetIdOk() (*string, bool)
- func (o *StorageClassInfo) GetIsDefaultClass() bool
- func (o *StorageClassInfo) GetIsDefaultClassOk() (*bool, bool)
- func (o *StorageClassInfo) GetLabels() map[string]string
- func (o *StorageClassInfo) GetLabelsOk() (*map[string]string, bool)
- func (o *StorageClassInfo) GetMountOptions() []string
- func (o *StorageClassInfo) GetMountOptionsOk() (*[]string, bool)
- func (o *StorageClassInfo) GetName() string
- func (o *StorageClassInfo) GetNameOk() (*string, bool)
- func (o *StorageClassInfo) GetParameters() map[string]string
- func (o *StorageClassInfo) GetParametersOk() (*map[string]string, bool)
- func (o *StorageClassInfo) GetProvisioner() string
- func (o *StorageClassInfo) GetProvisionerOk() (*string, bool)
- func (o *StorageClassInfo) GetPvcCount() string
- func (o *StorageClassInfo) GetPvcCountOk() (*string, bool)
- func (o *StorageClassInfo) GetReclaimPolicy() string
- func (o *StorageClassInfo) GetReclaimPolicyOk() (*string, bool)
- func (o *StorageClassInfo) GetStatsByNodeList() StorageClassInfoStatsByNodeList
- func (o *StorageClassInfo) GetStatsByNodeListOk() (*StorageClassInfoStatsByNodeList, bool)
- func (o *StorageClassInfo) GetType() string
- func (o *StorageClassInfo) GetTypeOk() (*string, bool)
- func (o *StorageClassInfo) GetUpdatedAt() time.Time
- func (o *StorageClassInfo) GetUpdatedAtOk() (*time.Time, bool)
- func (o *StorageClassInfo) GetVolumeBindingMode() string
- func (o *StorageClassInfo) GetVolumeBindingModeOk() (*string, bool)
- func (o *StorageClassInfo) HasHostPath() bool
- func (o StorageClassInfo) MarshalJSON() ([]byte, error)
- func (o *StorageClassInfo) SetAllowClone(v bool)
- func (o *StorageClassInfo) SetAllowSnapshot(v bool)
- func (o *StorageClassInfo) SetAllowVolumeExpansion(v bool)
- func (o *StorageClassInfo) SetAnnotations(v map[string]string)
- func (o *StorageClassInfo) SetCreatedAt(v time.Time)
- func (o *StorageClassInfo) SetCreationTimestamp(v string)
- func (o *StorageClassInfo) SetDescription(v string)
- func (o *StorageClassInfo) SetDisplayName(v string)
- func (o *StorageClassInfo) SetEnabled(v bool)
- func (o *StorageClassInfo) SetHostPath(v string)
- func (o *StorageClassInfo) SetId(v string)
- func (o *StorageClassInfo) SetIsDefaultClass(v bool)
- func (o *StorageClassInfo) SetLabels(v map[string]string)
- func (o *StorageClassInfo) SetMountOptions(v []string)
- func (o *StorageClassInfo) SetName(v string)
- func (o *StorageClassInfo) SetParameters(v map[string]string)
- func (o *StorageClassInfo) SetProvisioner(v string)
- func (o *StorageClassInfo) SetPvcCount(v string)
- func (o *StorageClassInfo) SetReclaimPolicy(v string)
- func (o *StorageClassInfo) SetStatsByNodeList(v StorageClassInfoStatsByNodeList)
- func (o *StorageClassInfo) SetType(v string)
- func (o *StorageClassInfo) SetUpdatedAt(v time.Time)
- func (o *StorageClassInfo) SetVolumeBindingMode(v string)
- func (o *StorageClassInfo) UnmarshalJSON(bytes []byte) (err error)
- type StorageClassInfoStatsByNodeList
- func (o *StorageClassInfoStatsByNodeList) GetItems() []StorageVolumeStatsByNode
- func (o *StorageClassInfoStatsByNodeList) GetItemsOk() (*[]StorageVolumeStatsByNode, bool)
- func (o StorageClassInfoStatsByNodeList) MarshalJSON() ([]byte, error)
- func (o *StorageClassInfoStatsByNodeList) SetItems(v []StorageVolumeStatsByNode)
- func (o *StorageClassInfoStatsByNodeList) UnmarshalJSON(bytes []byte) (err error)
- type StorageClassList
- func (o *StorageClassList) GetItems() []StorageClassInfo
- func (o *StorageClassList) GetItemsOk() (*[]StorageClassInfo, bool)
- func (o StorageClassList) MarshalJSON() ([]byte, error)
- func (o *StorageClassList) SetItems(v []StorageClassInfo)
- func (o *StorageClassList) UnmarshalJSON(bytes []byte) (err error)
- type StorageOption
- func (o *StorageOption) GetDefault() int32
- func (o *StorageOption) GetDefaultOk() (*int32, bool)
- func (o *StorageOption) GetMax() int32
- func (o *StorageOption) GetMaxOk() (*int32, bool)
- func (o *StorageOption) GetMin() int32
- func (o *StorageOption) GetMinOk() (*int32, bool)
- func (o *StorageOption) GetName() string
- func (o *StorageOption) GetNameOk() (*string, bool)
- func (o *StorageOption) GetStep() int32
- func (o *StorageOption) GetStepOk() (*int32, bool)
- func (o *StorageOption) GetTitle() LocalizedDescription
- func (o *StorageOption) GetTitleOk() (*LocalizedDescription, bool)
- func (o StorageOption) MarshalJSON() ([]byte, error)
- func (o *StorageOption) SetDefault(v int32)
- func (o *StorageOption) SetMax(v int32)
- func (o *StorageOption) SetMin(v int32)
- func (o *StorageOption) SetName(v string)
- func (o *StorageOption) SetStep(v int32)
- func (o *StorageOption) SetTitle(v LocalizedDescription)
- func (o *StorageOption) UnmarshalJSON(bytes []byte) (err error)
- type StorageVolumeStatsByNode
- func (o *StorageVolumeStatsByNode) GetCapacity() string
- func (o *StorageVolumeStatsByNode) GetCapacityOk() (*string, bool)
- func (o *StorageVolumeStatsByNode) GetNodeName() string
- func (o *StorageVolumeStatsByNode) GetNodeNameOk() (*string, bool)
- func (o *StorageVolumeStatsByNode) GetNodeStatus() string
- func (o *StorageVolumeStatsByNode) GetNodeStatusOk() (*string, bool)
- func (o *StorageVolumeStatsByNode) GetVolumeNum() string
- func (o *StorageVolumeStatsByNode) GetVolumeNumOk() (*string, bool)
- func (o *StorageVolumeStatsByNode) HasCapacity() bool
- func (o *StorageVolumeStatsByNode) HasNodeName() bool
- func (o *StorageVolumeStatsByNode) HasNodeStatus() bool
- func (o *StorageVolumeStatsByNode) HasVolumeNum() bool
- func (o StorageVolumeStatsByNode) MarshalJSON() ([]byte, error)
- func (o *StorageVolumeStatsByNode) SetCapacity(v string)
- func (o *StorageVolumeStatsByNode) SetNodeName(v string)
- func (o *StorageVolumeStatsByNode) SetNodeStatus(v string)
- func (o *StorageVolumeStatsByNode) SetVolumeNum(v string)
- func (o *StorageVolumeStatsByNode) UnmarshalJSON(bytes []byte) (err error)
- type Sysbench
- func (o *Sysbench) GetAddress() string
- func (o *Sysbench) GetAddressOk() (*string, bool)
- func (o *Sysbench) GetCluster() string
- func (o *Sysbench) GetClusterOk() (*string, bool)
- func (o *Sysbench) GetDatabase() string
- func (o *Sysbench) GetDatabaseOk() (*string, bool)
- func (o *Sysbench) GetDuration() int32
- func (o *Sysbench) GetDurationOk() (*int32, bool)
- func (o *Sysbench) GetExtraArgs() string
- func (o *Sysbench) GetExtraArgsOk() (*string, bool)
- func (o *Sysbench) GetLimitCpu() string
- func (o *Sysbench) GetLimitCpuOk() (*string, bool)
- func (o *Sysbench) GetLimitMemory() string
- func (o *Sysbench) GetLimitMemoryOk() (*string, bool)
- func (o *Sysbench) GetName() string
- func (o *Sysbench) GetNameOk() (*string, bool)
- func (o *Sysbench) GetPassword() string
- func (o *Sysbench) GetPasswordOk() (*string, bool)
- func (o *Sysbench) GetReadPercent() int32
- func (o *Sysbench) GetReadPercentOk() (*int32, bool)
- func (o *Sysbench) GetRequestCpu() string
- func (o *Sysbench) GetRequestCpuOk() (*string, bool)
- func (o *Sysbench) GetRequestMemory() string
- func (o *Sysbench) GetRequestMemoryOk() (*string, bool)
- func (o *Sysbench) GetStep() SysbenchStep
- func (o *Sysbench) GetStepOk() (*SysbenchStep, bool)
- func (o *Sysbench) GetTableNum() int32
- func (o *Sysbench) GetTableNumOk() (*int32, bool)
- func (o *Sysbench) GetTableSize() int32
- func (o *Sysbench) GetTableSizeOk() (*int32, bool)
- func (o *Sysbench) GetTestType() SysbenchTestType
- func (o *Sysbench) GetTestTypeOk() (*SysbenchTestType, bool)
- func (o *Sysbench) GetThreads() int32
- func (o *Sysbench) GetThreadsOk() (*int32, bool)
- func (o *Sysbench) GetUsername() string
- func (o *Sysbench) GetUsernameOk() (*string, bool)
- func (o *Sysbench) GetWritePercent() int32
- func (o *Sysbench) GetWritePercentOk() (*int32, bool)
- func (o *Sysbench) HasDuration() bool
- func (o *Sysbench) HasExtraArgs() bool
- func (o *Sysbench) HasLimitCpu() bool
- func (o *Sysbench) HasLimitMemory() bool
- func (o *Sysbench) HasName() bool
- func (o *Sysbench) HasReadPercent() bool
- func (o *Sysbench) HasRequestCpu() bool
- func (o *Sysbench) HasRequestMemory() bool
- func (o *Sysbench) HasStep() bool
- func (o *Sysbench) HasTableNum() bool
- func (o *Sysbench) HasTableSize() bool
- func (o *Sysbench) HasTestType() bool
- func (o *Sysbench) HasThreads() bool
- func (o *Sysbench) HasWritePercent() bool
- func (o Sysbench) MarshalJSON() ([]byte, error)
- func (o *Sysbench) SetAddress(v string)
- func (o *Sysbench) SetCluster(v string)
- func (o *Sysbench) SetDatabase(v string)
- func (o *Sysbench) SetDuration(v int32)
- func (o *Sysbench) SetExtraArgs(v string)
- func (o *Sysbench) SetLimitCpu(v string)
- func (o *Sysbench) SetLimitMemory(v string)
- func (o *Sysbench) SetName(v string)
- func (o *Sysbench) SetPassword(v string)
- func (o *Sysbench) SetReadPercent(v int32)
- func (o *Sysbench) SetRequestCpu(v string)
- func (o *Sysbench) SetRequestMemory(v string)
- func (o *Sysbench) SetStep(v SysbenchStep)
- func (o *Sysbench) SetTableNum(v int32)
- func (o *Sysbench) SetTableSize(v int32)
- func (o *Sysbench) SetTestType(v SysbenchTestType)
- func (o *Sysbench) SetThreads(v int32)
- func (o *Sysbench) SetUsername(v string)
- func (o *Sysbench) SetWritePercent(v int32)
- func (o *Sysbench) UnmarshalJSON(bytes []byte) (err error)
- type SysbenchStep
- type SysbenchTestType
- type Tag
- func (o *Tag) GetId() string
- func (o *Tag) GetIdOk() (*string, bool)
- func (o *Tag) GetKey() string
- func (o *Tag) GetKeyOk() (*string, bool)
- func (o *Tag) GetValue() string
- func (o *Tag) GetValueOk() (*string, bool)
- func (o *Tag) HasKey() bool
- func (o *Tag) HasValue() bool
- func (o Tag) MarshalJSON() ([]byte, error)
- func (o *Tag) SetId(v string)
- func (o *Tag) SetKey(v string)
- func (o *Tag) SetValue(v string)
- func (o *Tag) UnmarshalJSON(bytes []byte) (err error)
- type TagApi
- func (a *TagApi) CreateTag(ctx _context.Context, orgName string, body interface{}) (TagCreate, *_nethttp.Response, error)
- func (a *TagApi) DeleteTags(ctx _context.Context, orgName string, tagId string) (*_nethttp.Response, error)
- func (a *TagApi) GetTags(ctx _context.Context, orgName string, clusterIds string) ([]TagCluster, *_nethttp.Response, error)
- func (a *TagApi) ListOrgTags(ctx _context.Context, orgName string) (OrgTagsList, *_nethttp.Response, error)
- func (a *TagApi) UpdateTag(ctx _context.Context, orgName string, tagId string, tagUpdate TagUpdate) (Tag, *_nethttp.Response, error)
- type TagCluster
- func (o *TagCluster) GetClusterId() string
- func (o *TagCluster) GetClusterIdOk() (*string, bool)
- func (o *TagCluster) GetTags() []Tag
- func (o *TagCluster) GetTagsOk() (*[]Tag, bool)
- func (o *TagCluster) HasClusterId() bool
- func (o *TagCluster) HasTags() bool
- func (o TagCluster) MarshalJSON() ([]byte, error)
- func (o *TagCluster) SetClusterId(v string)
- func (o *TagCluster) SetTags(v []Tag)
- func (o *TagCluster) UnmarshalJSON(bytes []byte) (err error)
- type TagCreate
- func (o *TagCreate) GetClusterId() string
- func (o *TagCreate) GetClusterIdOk() (*string, bool)
- func (o *TagCreate) GetItems() []TagCreateItemsItem
- func (o *TagCreate) GetItemsOk() (*[]TagCreateItemsItem, bool)
- func (o TagCreate) MarshalJSON() ([]byte, error)
- func (o *TagCreate) SetClusterId(v string)
- func (o *TagCreate) SetItems(v []TagCreateItemsItem)
- func (o *TagCreate) UnmarshalJSON(bytes []byte) (err error)
- type TagCreateItemsItem
- func (o *TagCreateItemsItem) GetId() string
- func (o *TagCreateItemsItem) GetIdOk() (*string, bool)
- func (o *TagCreateItemsItem) GetKey() string
- func (o *TagCreateItemsItem) GetKeyOk() (*string, bool)
- func (o *TagCreateItemsItem) GetValue() string
- func (o *TagCreateItemsItem) GetValueOk() (*string, bool)
- func (o *TagCreateItemsItem) HasId() bool
- func (o TagCreateItemsItem) MarshalJSON() ([]byte, error)
- func (o *TagCreateItemsItem) SetId(v string)
- func (o *TagCreateItemsItem) SetKey(v string)
- func (o *TagCreateItemsItem) SetValue(v string)
- func (o *TagCreateItemsItem) UnmarshalJSON(bytes []byte) (err error)
- type TagUpdate
- func (o *TagUpdate) GetKey() string
- func (o *TagUpdate) GetKeyOk() (*string, bool)
- func (o *TagUpdate) GetValue() string
- func (o *TagUpdate) GetValueOk() (*string, bool)
- func (o TagUpdate) MarshalJSON() ([]byte, error)
- func (o *TagUpdate) SetKey(v string)
- func (o *TagUpdate) SetValue(v string)
- func (o *TagUpdate) UnmarshalJSON(bytes []byte) (err error)
- type Tenant
- func (o *Tenant) GetChartSet() string
- func (o *Tenant) GetChartSetOk() (*string, bool)
- func (o *Tenant) GetCpu() CPU
- func (o *Tenant) GetCpuOk() (*CPU, bool)
- func (o *Tenant) GetCreateAt() string
- func (o *Tenant) GetCreateAtOk() (*string, bool)
- func (o *Tenant) GetDataDisk() DataDisk
- func (o *Tenant) GetDataDiskOk() (*DataDisk, bool)
- func (o *Tenant) GetId() string
- func (o *Tenant) GetIdOk() (*string, bool)
- func (o *Tenant) GetLogDisk() LogDisk
- func (o *Tenant) GetLogDiskOk() (*LogDisk, bool)
- func (o *Tenant) GetMemory() Memory
- func (o *Tenant) GetMemoryOk() (*Memory, bool)
- func (o *Tenant) GetMode() string
- func (o *Tenant) GetModeOk() (*string, bool)
- func (o *Tenant) GetName() string
- func (o *Tenant) GetNameOk() (*string, bool)
- func (o *Tenant) GetPrimaryZone() string
- func (o *Tenant) GetPrimaryZoneOk() (*string, bool)
- func (o *Tenant) GetPrimaryZoneProxy() string
- func (o *Tenant) GetPrimaryZoneProxyOk() (*string, bool)
- func (o *Tenant) GetResource() string
- func (o *Tenant) GetResourceOk() (*string, bool)
- func (o *Tenant) GetRole() string
- func (o *Tenant) GetRoleOk() (*string, bool)
- func (o *Tenant) GetStatus() string
- func (o *Tenant) GetStatusOk() (*string, bool)
- func (o *Tenant) HasChartSet() bool
- func (o *Tenant) HasCpu() bool
- func (o *Tenant) HasCreateAt() bool
- func (o *Tenant) HasDataDisk() bool
- func (o *Tenant) HasId() bool
- func (o *Tenant) HasLogDisk() bool
- func (o *Tenant) HasMemory() bool
- func (o *Tenant) HasMode() bool
- func (o *Tenant) HasName() bool
- func (o *Tenant) HasPrimaryZone() bool
- func (o *Tenant) HasPrimaryZoneProxy() bool
- func (o *Tenant) HasResource() bool
- func (o *Tenant) HasRole() bool
- func (o *Tenant) HasStatus() bool
- func (o Tenant) MarshalJSON() ([]byte, error)
- func (o *Tenant) SetChartSet(v string)
- func (o *Tenant) SetCpu(v CPU)
- func (o *Tenant) SetCreateAt(v string)
- func (o *Tenant) SetDataDisk(v DataDisk)
- func (o *Tenant) SetId(v string)
- func (o *Tenant) SetLogDisk(v LogDisk)
- func (o *Tenant) SetMemory(v Memory)
- func (o *Tenant) SetMode(v string)
- func (o *Tenant) SetName(v string)
- func (o *Tenant) SetPrimaryZone(v string)
- func (o *Tenant) SetPrimaryZoneProxy(v string)
- func (o *Tenant) SetResource(v string)
- func (o *Tenant) SetRole(v string)
- func (o *Tenant) SetStatus(v string)
- func (o *Tenant) UnmarshalJSON(bytes []byte) (err error)
- type TenantParameterHistoryOptionalParameters
- type TlsApi
- type TlsCert
- func (o *TlsCert) GetComponentName() string
- func (o *TlsCert) GetComponentNameOk() (*string, bool)
- func (o *TlsCert) GetExpirationDaysCa() int32
- func (o *TlsCert) GetExpirationDaysCaOk() (*int32, bool)
- func (o *TlsCert) GetExpirationDaysClient() int32
- func (o *TlsCert) GetExpirationDaysClientOk() (*int32, bool)
- func (o *TlsCert) GetExpirationDaysKeystore() int32
- func (o *TlsCert) GetExpirationDaysKeystoreOk() (*int32, bool)
- func (o *TlsCert) GetExpirationDaysTruststore() int32
- func (o *TlsCert) GetExpirationDaysTruststoreOk() (*int32, bool)
- func (o *TlsCert) GetTlsConfig() TlsConfig
- func (o *TlsCert) GetTlsConfigOk() (*TlsConfig, bool)
- func (o *TlsCert) HasComponentName() bool
- func (o *TlsCert) HasExpirationDaysCa() bool
- func (o *TlsCert) HasExpirationDaysClient() bool
- func (o *TlsCert) HasExpirationDaysKeystore() bool
- func (o *TlsCert) HasExpirationDaysTruststore() bool
- func (o *TlsCert) HasTlsConfig() bool
- func (o TlsCert) MarshalJSON() ([]byte, error)
- func (o *TlsCert) SetComponentName(v string)
- func (o *TlsCert) SetExpirationDaysCa(v int32)
- func (o *TlsCert) SetExpirationDaysClient(v int32)
- func (o *TlsCert) SetExpirationDaysKeystore(v int32)
- func (o *TlsCert) SetExpirationDaysTruststore(v int32)
- func (o *TlsCert) SetTlsConfig(v TlsConfig)
- func (o *TlsCert) UnmarshalJSON(bytes []byte) (err error)
- type TlsConfig
- func (o *TlsConfig) GetCaCert() string
- func (o *TlsConfig) GetCaCertOk() (*string, bool)
- func (o *TlsConfig) GetClientCert() string
- func (o *TlsConfig) GetClientCertOk() (*string, bool)
- func (o *TlsConfig) GetClientKey() string
- func (o *TlsConfig) GetClientKeyOk() (*string, bool)
- func (o *TlsConfig) GetKeystore() string
- func (o *TlsConfig) GetKeystoreOk() (*string, bool)
- func (o *TlsConfig) GetTruststore() string
- func (o *TlsConfig) GetTruststoreOk() (*string, bool)
- func (o *TlsConfig) HasCaCert() bool
- func (o *TlsConfig) HasClientCert() bool
- func (o *TlsConfig) HasClientKey() bool
- func (o *TlsConfig) HasKeystore() bool
- func (o *TlsConfig) HasTruststore() bool
- func (o TlsConfig) MarshalJSON() ([]byte, error)
- func (o *TlsConfig) SetCaCert(v string)
- func (o *TlsConfig) SetClientCert(v string)
- func (o *TlsConfig) SetClientKey(v string)
- func (o *TlsConfig) SetKeystore(v string)
- func (o *TlsConfig) SetTruststore(v string)
- func (o *TlsConfig) UnmarshalJSON(bytes []byte) (err error)
- type TlsRequest
- type Tpcc
- func (o *Tpcc) GetAddress() string
- func (o *Tpcc) GetAddressOk() (*string, bool)
- func (o *Tpcc) GetCluster() string
- func (o *Tpcc) GetClusterOk() (*string, bool)
- func (o *Tpcc) GetDatabase() string
- func (o *Tpcc) GetDatabaseOk() (*string, bool)
- func (o *Tpcc) GetDeliveryWeight() int32
- func (o *Tpcc) GetDeliveryWeightOk() (*int32, bool)
- func (o *Tpcc) GetDuration() int32
- func (o *Tpcc) GetDurationOk() (*int32, bool)
- func (o *Tpcc) GetExtraArgs() string
- func (o *Tpcc) GetExtraArgsOk() (*string, bool)
- func (o *Tpcc) GetLimitCpu() string
- func (o *Tpcc) GetLimitCpuOk() (*string, bool)
- func (o *Tpcc) GetLimitMemory() string
- func (o *Tpcc) GetLimitMemoryOk() (*string, bool)
- func (o *Tpcc) GetLimitTxPerMin() int32
- func (o *Tpcc) GetLimitTxPerMinOk() (*int32, bool)
- func (o *Tpcc) GetName() string
- func (o *Tpcc) GetNameOk() (*string, bool)
- func (o *Tpcc) GetNewOrderWeight() int32
- func (o *Tpcc) GetNewOrderWeightOk() (*int32, bool)
- func (o *Tpcc) GetOrderStatusWeight() int32
- func (o *Tpcc) GetOrderStatusWeightOk() (*int32, bool)
- func (o *Tpcc) GetPassword() string
- func (o *Tpcc) GetPasswordOk() (*string, bool)
- func (o *Tpcc) GetPaymentWeight() int32
- func (o *Tpcc) GetPaymentWeightOk() (*int32, bool)
- func (o *Tpcc) GetRequestCpu() string
- func (o *Tpcc) GetRequestCpuOk() (*string, bool)
- func (o *Tpcc) GetRequestMemory() string
- func (o *Tpcc) GetRequestMemoryOk() (*string, bool)
- func (o *Tpcc) GetStep() TpccStep
- func (o *Tpcc) GetStepOk() (*TpccStep, bool)
- func (o *Tpcc) GetStockLevelWeight() int32
- func (o *Tpcc) GetStockLevelWeightOk() (*int32, bool)
- func (o *Tpcc) GetThreads() int32
- func (o *Tpcc) GetThreadsOk() (*int32, bool)
- func (o *Tpcc) GetUsername() string
- func (o *Tpcc) GetUsernameOk() (*string, bool)
- func (o *Tpcc) GetWarehouses() int32
- func (o *Tpcc) GetWarehousesOk() (*int32, bool)
- func (o *Tpcc) HasDeliveryWeight() bool
- func (o *Tpcc) HasDuration() bool
- func (o *Tpcc) HasExtraArgs() bool
- func (o *Tpcc) HasLimitCpu() bool
- func (o *Tpcc) HasLimitMemory() bool
- func (o *Tpcc) HasLimitTxPerMin() bool
- func (o *Tpcc) HasName() bool
- func (o *Tpcc) HasNewOrderWeight() bool
- func (o *Tpcc) HasOrderStatusWeight() bool
- func (o *Tpcc) HasPaymentWeight() bool
- func (o *Tpcc) HasRequestCpu() bool
- func (o *Tpcc) HasRequestMemory() bool
- func (o *Tpcc) HasStep() bool
- func (o *Tpcc) HasStockLevelWeight() bool
- func (o *Tpcc) HasThreads() bool
- func (o *Tpcc) HasWarehouses() bool
- func (o Tpcc) MarshalJSON() ([]byte, error)
- func (o *Tpcc) SetAddress(v string)
- func (o *Tpcc) SetCluster(v string)
- func (o *Tpcc) SetDatabase(v string)
- func (o *Tpcc) SetDeliveryWeight(v int32)
- func (o *Tpcc) SetDuration(v int32)
- func (o *Tpcc) SetExtraArgs(v string)
- func (o *Tpcc) SetLimitCpu(v string)
- func (o *Tpcc) SetLimitMemory(v string)
- func (o *Tpcc) SetLimitTxPerMin(v int32)
- func (o *Tpcc) SetName(v string)
- func (o *Tpcc) SetNewOrderWeight(v int32)
- func (o *Tpcc) SetOrderStatusWeight(v int32)
- func (o *Tpcc) SetPassword(v string)
- func (o *Tpcc) SetPaymentWeight(v int32)
- func (o *Tpcc) SetRequestCpu(v string)
- func (o *Tpcc) SetRequestMemory(v string)
- func (o *Tpcc) SetStep(v TpccStep)
- func (o *Tpcc) SetStockLevelWeight(v int32)
- func (o *Tpcc) SetThreads(v int32)
- func (o *Tpcc) SetUsername(v string)
- func (o *Tpcc) SetWarehouses(v int32)
- func (o *Tpcc) UnmarshalJSON(bytes []byte) (err error)
- type TpccStep
- type TreeNode
- func (o *TreeNode) GetChildren() []TreeNode
- func (o *TreeNode) GetChildrenOk() (*[]TreeNode, bool)
- func (o *TreeNode) GetEvents() []View_event
- func (o *TreeNode) GetEventsOk() (*[]View_event, bool)
- func (o *TreeNode) GetLevel() string
- func (o *TreeNode) GetLevelOk() (*string, bool)
- func (o *TreeNode) GetName() string
- func (o *TreeNode) GetNameOk() (*string, bool)
- func (o *TreeNode) GetUid() string
- func (o *TreeNode) GetUidOk() (*string, bool)
- func (o *TreeNode) HasChildren() bool
- func (o *TreeNode) HasEvents() bool
- func (o *TreeNode) HasLevel() bool
- func (o *TreeNode) HasName() bool
- func (o *TreeNode) HasUid() bool
- func (o TreeNode) MarshalJSON() ([]byte, error)
- func (o *TreeNode) SetChildren(v []TreeNode)
- func (o *TreeNode) SetEvents(v []View_event)
- func (o *TreeNode) SetLevel(v string)
- func (o *TreeNode) SetName(v string)
- func (o *TreeNode) SetUid(v string)
- func (o *TreeNode) UnmarshalJSON(bytes []byte) (err error)
- type User
- func (o *User) GetCreatedAt() time.Time
- func (o *User) GetCreatedAtOk() (*time.Time, bool)
- func (o *User) GetDisplayName() string
- func (o *User) GetDisplayNameOk() (*string, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetPhoneNumber() string
- func (o *User) GetPhoneNumberOk() (*string, bool)
- func (o *User) GetUpdatedAt() time.Time
- func (o *User) GetUpdatedAtOk() (*time.Time, bool)
- func (o *User) HasDisplayName() bool
- func (o *User) HasPhoneNumber() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetCreatedAt(v time.Time)
- func (o *User) SetDisplayName(v string)
- func (o *User) SetEmail(v string)
- func (o *User) SetId(v string)
- func (o *User) SetPhoneNumber(v string)
- func (o *User) SetUpdatedAt(v time.Time)
- func (o *User) UnmarshalJSON(bytes []byte) (err error)
- type UserApi
- func (a *UserApi) CreateUserApikey(ctx _context.Context, body ApikeyCreate) (ApikeyWithSK, *_nethttp.Response, error)
- func (a *UserApi) DeleteApikey(ctx _context.Context, keyName string) (*_nethttp.Response, error)
- func (a *UserApi) PatchAPIkey(ctx _context.Context, keyName string, body ApikeyCreate) (Apikey, *_nethttp.Response, error)
- func (a *UserApi) PatchUser(ctx _context.Context, body UserUpdate) (*_nethttp.Response, error)
- func (a *UserApi) PhoneVerification(ctx _context.Context, body interface{}) (*_nethttp.Response, error)
- func (a *UserApi) ReadUser(ctx _context.Context) (User, *_nethttp.Response, error)
- func (a *UserApi) ReadUserApikeys(ctx _context.Context) (ApikeyList, *_nethttp.Response, error)
- func (a *UserApi) SendVerificationEmail(ctx _context.Context) (*_nethttp.Response, error)
- func (a *UserApi) UpdateUserPassword(ctx _context.Context, body interface{}) (*_nethttp.Response, error)
- type UserUpdate
- func (o *UserUpdate) GetDisplayName() string
- func (o *UserUpdate) GetDisplayNameOk() (*string, bool)
- func (o *UserUpdate) GetEmail() string
- func (o *UserUpdate) GetEmailOk() (*string, bool)
- func (o *UserUpdate) GetPhoneNumber() string
- func (o *UserUpdate) GetPhoneNumberOk() (*string, bool)
- func (o *UserUpdate) GetVerificationCode() string
- func (o *UserUpdate) GetVerificationCodeOk() (*string, bool)
- func (o *UserUpdate) HasDisplayName() bool
- func (o *UserUpdate) HasEmail() bool
- func (o *UserUpdate) HasPhoneNumber() bool
- func (o *UserUpdate) HasVerificationCode() bool
- func (o UserUpdate) MarshalJSON() ([]byte, error)
- func (o *UserUpdate) SetDisplayName(v string)
- func (o *UserUpdate) SetEmail(v string)
- func (o *UserUpdate) SetPhoneNumber(v string)
- func (o *UserUpdate) SetVerificationCode(v string)
- func (o *UserUpdate) UnmarshalJSON(bytes []byte) (err error)
- type View
- func (o *View) GetEvents() []View_event
- func (o *View) GetEventsOk() (*[]View_event, bool)
- func (o *View) GetInvolvedObjectsSelector() ViewInvolvedObjectsSelector
- func (o *View) GetInvolvedObjectsSelectorOk() (*ViewInvolvedObjectsSelector, bool)
- func (o *View) GetProgress() string
- func (o *View) GetProgressOk() (*string, bool)
- func (o *View) GetTargetResource() string
- func (o *View) GetTargetResourceOk() (*string, bool)
- func (o *View) GetViewDefRef() string
- func (o *View) GetViewDefRefOk() (*string, bool)
- func (o *View) HasEvents() bool
- func (o *View) HasInvolvedObjectsSelector() bool
- func (o *View) HasProgress() bool
- func (o *View) HasTargetResource() bool
- func (o *View) HasViewDefRef() bool
- func (o View) MarshalJSON() ([]byte, error)
- func (o *View) SetEvents(v []View_event)
- func (o *View) SetInvolvedObjectsSelector(v ViewInvolvedObjectsSelector)
- func (o *View) SetProgress(v string)
- func (o *View) SetTargetResource(v string)
- func (o *View) SetViewDefRef(v string)
- func (o *View) UnmarshalJSON(bytes []byte) (err error)
- type ViewApi
- type ViewBackupOptionalParameters
- type ViewInvolvedObjectsSelector
- func (o *ViewInvolvedObjectsSelector) GetMatchExpressions() []ViewInvolvedObjectsSelectorMatchExpressionsItem
- func (o *ViewInvolvedObjectsSelector) GetMatchExpressionsOk() (*[]ViewInvolvedObjectsSelectorMatchExpressionsItem, bool)
- func (o *ViewInvolvedObjectsSelector) GetMatchLabels() map[string]string
- func (o *ViewInvolvedObjectsSelector) GetMatchLabelsOk() (*map[string]string, bool)
- func (o *ViewInvolvedObjectsSelector) HasMatchExpressions() bool
- func (o *ViewInvolvedObjectsSelector) HasMatchLabels() bool
- func (o ViewInvolvedObjectsSelector) MarshalJSON() ([]byte, error)
- func (o *ViewInvolvedObjectsSelector) SetMatchExpressions(v []ViewInvolvedObjectsSelectorMatchExpressionsItem)
- func (o *ViewInvolvedObjectsSelector) SetMatchLabels(v map[string]string)
- func (o *ViewInvolvedObjectsSelector) UnmarshalJSON(bytes []byte) (err error)
- type ViewInvolvedObjectsSelectorMatchExpressionsItem
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKey() string
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKeyOk() (*string, bool)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperator() string
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperatorOk() (*string, bool)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValues() []string
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValuesOk() (*[]string, bool)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasKey() bool
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasOperator() bool
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasValues() bool
- func (o ViewInvolvedObjectsSelectorMatchExpressionsItem) MarshalJSON() ([]byte, error)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetKey(v string)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetOperator(v string)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetValues(v []string)
- func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) UnmarshalJSON(bytes []byte) (err error)
- type View_event
- func (o *View_event) GetGroup() string
- func (o *View_event) GetGroupOk() (*string, bool)
- func (o *View_event) GetKind() string
- func (o *View_event) GetKindOk() (*string, bool)
- func (o *View_event) GetLevel() string
- func (o *View_event) GetLevelOk() (*string, bool)
- func (o *View_event) GetMessage() string
- func (o *View_event) GetMessageOk() (*string, bool)
- func (o *View_event) GetName() string
- func (o *View_event) GetNameOk() (*string, bool)
- func (o *View_event) GetNamespace() string
- func (o *View_event) GetNamespaceOk() (*string, bool)
- func (o *View_event) GetOwners() []Owner
- func (o *View_event) GetOwnersOk() (*[]Owner, bool)
- func (o *View_event) GetProgress() string
- func (o *View_event) GetProgressOk() (*string, bool)
- func (o *View_event) GetReason() string
- func (o *View_event) GetReasonOk() (*string, bool)
- func (o *View_event) GetResourceVersion() string
- func (o *View_event) GetResourceVersionOk() (*string, bool)
- func (o *View_event) GetTime() string
- func (o *View_event) GetTimeOk() (*string, bool)
- func (o *View_event) GetType() string
- func (o *View_event) GetTypeOk() (*string, bool)
- func (o *View_event) GetVersion() string
- func (o *View_event) GetVersionOk() (*string, bool)
- func (o *View_event) HasLevel() bool
- func (o *View_event) HasMessage() bool
- func (o *View_event) HasOwners() bool
- func (o *View_event) HasProgress() bool
- func (o *View_event) HasReason() bool
- func (o *View_event) HasResourceVersion() bool
- func (o *View_event) HasTime() bool
- func (o *View_event) HasVersion() bool
- func (o View_event) MarshalJSON() ([]byte, error)
- func (o *View_event) SetGroup(v string)
- func (o *View_event) SetKind(v string)
- func (o *View_event) SetLevel(v string)
- func (o *View_event) SetMessage(v string)
- func (o *View_event) SetName(v string)
- func (o *View_event) SetNamespace(v string)
- func (o *View_event) SetOwners(v []Owner)
- func (o *View_event) SetProgress(v string)
- func (o *View_event) SetReason(v string)
- func (o *View_event) SetResourceVersion(v string)
- func (o *View_event) SetTime(v string)
- func (o *View_event) SetType(v string)
- func (o *View_event) SetVersion(v string)
- func (o *View_event) UnmarshalJSON(bytes []byte) (err error)
- type Volume
- func (o *Volume) GetComment() string
- func (o *Volume) GetCommentOk() (*string, bool)
- func (o *Volume) GetIsDefault() string
- func (o *Volume) GetIsDefaultOk() (*string, bool)
- func (o *Volume) GetLocation() string
- func (o *Volume) GetLocationOk() (*string, bool)
- func (o *Volume) GetName() string
- func (o *Volume) GetNameOk() (*string, bool)
- func (o *Volume) GetParams() string
- func (o *Volume) GetParamsOk() (*string, bool)
- func (o *Volume) GetType() string
- func (o *Volume) GetTypeOk() (*string, bool)
- func (o *Volume) HasComment() bool
- func (o *Volume) HasIsDefault() bool
- func (o *Volume) HasLocation() bool
- func (o *Volume) HasName() bool
- func (o *Volume) HasParams() bool
- func (o *Volume) HasType() bool
- func (o Volume) MarshalJSON() ([]byte, error)
- func (o *Volume) SetComment(v string)
- func (o *Volume) SetIsDefault(v string)
- func (o *Volume) SetLocation(v string)
- func (o *Volume) SetName(v string)
- func (o *Volume) SetParams(v string)
- func (o *Volume) SetType(v string)
- func (o *Volume) UnmarshalJSON(bytes []byte) (err error)
- type VolumeRestorePolicy
- type WebhookConfig
- type WhitelistApi
- type Ycsb
- func (o *Ycsb) GetAddress() string
- func (o *Ycsb) GetAddressOk() (*string, bool)
- func (o *Ycsb) GetCluster() string
- func (o *Ycsb) GetClusterOk() (*string, bool)
- func (o *Ycsb) GetDatabase() string
- func (o *Ycsb) GetDatabaseOk() (*string, bool)
- func (o *Ycsb) GetExtraArgs() string
- func (o *Ycsb) GetExtraArgsOk() (*string, bool)
- func (o *Ycsb) GetInsertProportion() int32
- func (o *Ycsb) GetInsertProportionOk() (*int32, bool)
- func (o *Ycsb) GetLimitCpu() string
- func (o *Ycsb) GetLimitCpuOk() (*string, bool)
- func (o *Ycsb) GetLimitMemory() string
- func (o *Ycsb) GetLimitMemoryOk() (*string, bool)
- func (o *Ycsb) GetName() string
- func (o *Ycsb) GetNameOk() (*string, bool)
- func (o *Ycsb) GetOperationCount() int32
- func (o *Ycsb) GetOperationCountOk() (*int32, bool)
- func (o *Ycsb) GetPassword() string
- func (o *Ycsb) GetPasswordOk() (*string, bool)
- func (o *Ycsb) GetReadModifyWriteProportion() int32
- func (o *Ycsb) GetReadModifyWriteProportionOk() (*int32, bool)
- func (o *Ycsb) GetReadProportion() int32
- func (o *Ycsb) GetReadProportionOk() (*int32, bool)
- func (o *Ycsb) GetRecordCount() int32
- func (o *Ycsb) GetRecordCountOk() (*int32, bool)
- func (o *Ycsb) GetRedisMode() YcsbRedisMode
- func (o *Ycsb) GetRedisModeOk() (*YcsbRedisMode, bool)
- func (o *Ycsb) GetRedisSentinelMaster() string
- func (o *Ycsb) GetRedisSentinelMasterOk() (*string, bool)
- func (o *Ycsb) GetRedisSentinelPassword() string
- func (o *Ycsb) GetRedisSentinelPasswordOk() (*string, bool)
- func (o *Ycsb) GetRedisSentinelUsername() string
- func (o *Ycsb) GetRedisSentinelUsernameOk() (*string, bool)
- func (o *Ycsb) GetRequestCpu() string
- func (o *Ycsb) GetRequestCpuOk() (*string, bool)
- func (o *Ycsb) GetRequestMemory() string
- func (o *Ycsb) GetRequestMemoryOk() (*string, bool)
- func (o *Ycsb) GetScanProportion() int32
- func (o *Ycsb) GetScanProportionOk() (*int32, bool)
- func (o *Ycsb) GetStep() YcsbStep
- func (o *Ycsb) GetStepOk() (*YcsbStep, bool)
- func (o *Ycsb) GetThreads() int32
- func (o *Ycsb) GetThreadsOk() (*int32, bool)
- func (o *Ycsb) GetUpdateProportion() int32
- func (o *Ycsb) GetUpdateProportionOk() (*int32, bool)
- func (o *Ycsb) GetUsername() string
- func (o *Ycsb) GetUsernameOk() (*string, bool)
- func (o *Ycsb) HasDatabase() bool
- func (o *Ycsb) HasExtraArgs() bool
- func (o *Ycsb) HasInsertProportion() bool
- func (o *Ycsb) HasLimitCpu() bool
- func (o *Ycsb) HasLimitMemory() bool
- func (o *Ycsb) HasName() bool
- func (o *Ycsb) HasOperationCount() bool
- func (o *Ycsb) HasReadModifyWriteProportion() bool
- func (o *Ycsb) HasReadProportion() bool
- func (o *Ycsb) HasRecordCount() bool
- func (o *Ycsb) HasRedisMode() bool
- func (o *Ycsb) HasRedisSentinelMaster() bool
- func (o *Ycsb) HasRedisSentinelPassword() bool
- func (o *Ycsb) HasRedisSentinelUsername() bool
- func (o *Ycsb) HasRequestCpu() bool
- func (o *Ycsb) HasRequestMemory() bool
- func (o *Ycsb) HasScanProportion() bool
- func (o *Ycsb) HasStep() bool
- func (o *Ycsb) HasThreads() bool
- func (o *Ycsb) HasUpdateProportion() bool
- func (o Ycsb) MarshalJSON() ([]byte, error)
- func (o *Ycsb) SetAddress(v string)
- func (o *Ycsb) SetCluster(v string)
- func (o *Ycsb) SetDatabase(v string)
- func (o *Ycsb) SetExtraArgs(v string)
- func (o *Ycsb) SetInsertProportion(v int32)
- func (o *Ycsb) SetLimitCpu(v string)
- func (o *Ycsb) SetLimitMemory(v string)
- func (o *Ycsb) SetName(v string)
- func (o *Ycsb) SetOperationCount(v int32)
- func (o *Ycsb) SetPassword(v string)
- func (o *Ycsb) SetReadModifyWriteProportion(v int32)
- func (o *Ycsb) SetReadProportion(v int32)
- func (o *Ycsb) SetRecordCount(v int32)
- func (o *Ycsb) SetRedisMode(v YcsbRedisMode)
- func (o *Ycsb) SetRedisSentinelMaster(v string)
- func (o *Ycsb) SetRedisSentinelPassword(v string)
- func (o *Ycsb) SetRedisSentinelUsername(v string)
- func (o *Ycsb) SetRequestCpu(v string)
- func (o *Ycsb) SetRequestMemory(v string)
- func (o *Ycsb) SetScanProportion(v int32)
- func (o *Ycsb) SetStep(v YcsbStep)
- func (o *Ycsb) SetThreads(v int32)
- func (o *Ycsb) SetUpdateProportion(v int32)
- func (o *Ycsb) SetUsername(v string)
- func (o *Ycsb) UnmarshalJSON(bytes []byte) (err error)
- type YcsbRedisMode
- type YcsbStep
- type Zone
- func (o *Zone) GetCreatedAt() time.Time
- func (o *Zone) GetCreatedAtOk() (*time.Time, bool)
- func (o *Zone) GetEnabled() bool
- func (o *Zone) GetEnabledOk() (*bool, bool)
- func (o *Zone) GetName() string
- func (o *Zone) GetNameCn() string
- func (o *Zone) GetNameCnOk() (*string, bool)
- func (o *Zone) GetNameEn() string
- func (o *Zone) GetNameEnOk() (*string, bool)
- func (o *Zone) GetNameOk() (*string, bool)
- func (o *Zone) GetRegion() string
- func (o *Zone) GetRegionOk() (*string, bool)
- func (o *Zone) GetUpdatedAt() time.Time
- func (o *Zone) GetUpdatedAtOk() (*time.Time, bool)
- func (o Zone) MarshalJSON() ([]byte, error)
- func (o *Zone) SetCreatedAt(v time.Time)
- func (o *Zone) SetEnabled(v bool)
- func (o *Zone) SetName(v string)
- func (o *Zone) SetNameCn(v string)
- func (o *Zone) SetNameEn(v string)
- func (o *Zone) SetRegion(v string)
- func (o *Zone) SetUpdatedAt(v time.Time)
- func (o *Zone) UnmarshalJSON(bytes []byte) (err error)
- type ZoneApi
- type ZoneList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIErrorResponse ¶
type APIErrorResponse struct {
// The HTTP status code.
Code int32 `json:"code"`
// The reason for the error.
Reason *string `json:"reason,omitempty"`
// The message for the error.
Message *string `json:"message,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
APIErrorResponse API error response.
func NewAPIErrorResponse ¶
func NewAPIErrorResponse(code int32) *APIErrorResponse
NewAPIErrorResponse instantiates a new APIErrorResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAPIErrorResponseWithDefaults ¶
func NewAPIErrorResponseWithDefaults() *APIErrorResponse
NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*APIErrorResponse) GetCode ¶
func (o *APIErrorResponse) GetCode() int32
GetCode returns the Code field value.
func (*APIErrorResponse) GetCodeOk ¶
func (o *APIErrorResponse) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*APIErrorResponse) GetMessage ¶
func (o *APIErrorResponse) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*APIErrorResponse) GetMessageOk ¶
func (o *APIErrorResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIErrorResponse) GetReason ¶
func (o *APIErrorResponse) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*APIErrorResponse) GetReasonOk ¶
func (o *APIErrorResponse) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*APIErrorResponse) HasMessage ¶
func (o *APIErrorResponse) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*APIErrorResponse) HasReason ¶
func (o *APIErrorResponse) HasReason() bool
HasReason returns a boolean if a field has been set.
func (APIErrorResponse) MarshalJSON ¶
func (o APIErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*APIErrorResponse) SetCode ¶
func (o *APIErrorResponse) SetCode(v int32)
SetCode sets field value.
func (*APIErrorResponse) SetMessage ¶
func (o *APIErrorResponse) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*APIErrorResponse) SetReason ¶
func (o *APIErrorResponse) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*APIErrorResponse) UnmarshalJSON ¶
func (o *APIErrorResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Account ¶
type Account struct {
// A list of privileges and their databases.
PrivilegesList []PrivilegeListItem `json:"privilegesList,omitempty"`
// Specify the name of component to be connected. If not specified, pick the first one.
Component *string `json:"component,omitempty"`
// Specify the name of instance to be connected.
Instance *string `json:"instance,omitempty"`
// Specify the name of user, which must be unique.
Name string `json:"name"`
// Specify the password of user. The default value is empty, which means a random password will be generated.
Password *string `json:"password,omitempty"`
// Role name should be one of [SUPERUSER, BASICUSER].
Role AccountRoleType `json:"role"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Account Cluster account information
func NewAccount ¶
func NewAccount(name string, role AccountRoleType) *Account
NewAccount instantiates a new Account object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAccountWithDefaults ¶
func NewAccountWithDefaults() *Account
NewAccountWithDefaults instantiates a new Account object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Account) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*Account) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetInstance ¶
GetInstance returns the Instance field value if set, zero value otherwise.
func (*Account) GetInstanceOk ¶
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Account) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*Account) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetPrivilegesList ¶
func (o *Account) GetPrivilegesList() []PrivilegeListItem
GetPrivilegesList returns the PrivilegesList field value if set, zero value otherwise.
func (*Account) GetPrivilegesListOk ¶
func (o *Account) GetPrivilegesListOk() (*[]PrivilegeListItem, bool)
GetPrivilegesListOk returns a tuple with the PrivilegesList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Account) GetRole ¶
func (o *Account) GetRole() AccountRoleType
GetRole returns the Role field value.
func (*Account) GetRoleOk ¶
func (o *Account) GetRoleOk() (*AccountRoleType, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*Account) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (*Account) HasInstance ¶
HasInstance returns a boolean if a field has been set.
func (*Account) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*Account) HasPrivilegesList ¶
HasPrivilegesList returns a boolean if a field has been set.
func (Account) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Account) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*Account) SetInstance ¶
SetInstance gets a reference to the given string and assigns it to the Instance field.
func (*Account) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*Account) SetPrivilegesList ¶
func (o *Account) SetPrivilegesList(v []PrivilegeListItem)
SetPrivilegesList gets a reference to the given []PrivilegeListItem and assigns it to the PrivilegesList field.
func (*Account) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type AccountApi ¶
AccountApi service type
func NewAccountApi ¶
func NewAccountApi(client *common.APIClient) *AccountApi
NewAccountApi Returns NewAccountApi.
func (*AccountApi) CreateAccount ¶
func (a *AccountApi) CreateAccount(ctx _context.Context, orgName string, clusterName string, body Account) (*_nethttp.Response, error)
CreateAccount Create cluster account. create an account in cluster
func (*AccountApi) DeleteAccount ¶
func (a *AccountApi) DeleteAccount(ctx _context.Context, orgName string, clusterName string, accountName string) (*_nethttp.Response, error)
DeleteAccount Delete cluster account. delete an account in cluster
func (*AccountApi) GetDSN ¶
func (a *AccountApi) GetDSN(ctx _context.Context, orgName string, clusterName string, accountName string) (string, *_nethttp.Response, error)
GetDSN Get cluster dsn. get dsn by username
func (*AccountApi) ListAccounts ¶
func (a *AccountApi) ListAccounts(ctx _context.Context, orgName string, clusterName string, o ...ListAccountsOptionalParameters) ([]AccountListItem, *_nethttp.Response, error)
ListAccounts List cluster accounts. list accounts in cluster
func (*AccountApi) UpdateAccount ¶
func (a *AccountApi) UpdateAccount(ctx _context.Context, orgName string, clusterName string, accountName string, body Account) (*_nethttp.Response, error)
UpdateAccount update cluster account. update an account in cluster
func (*AccountApi) UpdateAccountPrivileges ¶
func (a *AccountApi) UpdateAccountPrivileges(ctx _context.Context, orgName string, clusterName string, accountName string, body []PrivilegeListItem) (*_nethttp.Response, error)
UpdateAccountPrivileges update account privileges. update privileges of account
type AccountListItem ¶
type AccountListItem struct {
// Component type.
Component *string `json:"component,omitempty"`
// The name of user.
Name string `json:"name"`
// The password of user.
Password *string `json:"password,omitempty"`
// The user role name, should be one of [ROOT, SUPERUSER, BASICUSER].
Role *AccountListRoleType `json:"role,omitempty"`
// A list of privileges and their databases.
PrivilegesList []PrivilegeListItem `json:"privilegesList,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AccountListItem Cluster account information.
func NewAccountListItem ¶
func NewAccountListItem(name string) *AccountListItem
NewAccountListItem instantiates a new AccountListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAccountListItemWithDefaults ¶
func NewAccountListItemWithDefaults() *AccountListItem
NewAccountListItemWithDefaults instantiates a new AccountListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AccountListItem) GetComponent ¶
func (o *AccountListItem) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*AccountListItem) GetComponentOk ¶
func (o *AccountListItem) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountListItem) GetName ¶
func (o *AccountListItem) GetName() string
GetName returns the Name field value.
func (*AccountListItem) GetNameOk ¶
func (o *AccountListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AccountListItem) GetPassword ¶
func (o *AccountListItem) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*AccountListItem) GetPasswordOk ¶
func (o *AccountListItem) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountListItem) GetPrivilegesList ¶
func (o *AccountListItem) GetPrivilegesList() []PrivilegeListItem
GetPrivilegesList returns the PrivilegesList field value if set, zero value otherwise.
func (*AccountListItem) GetPrivilegesListOk ¶
func (o *AccountListItem) GetPrivilegesListOk() (*[]PrivilegeListItem, bool)
GetPrivilegesListOk returns a tuple with the PrivilegesList field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountListItem) GetRole ¶
func (o *AccountListItem) GetRole() AccountListRoleType
GetRole returns the Role field value if set, zero value otherwise.
func (*AccountListItem) GetRoleOk ¶
func (o *AccountListItem) GetRoleOk() (*AccountListRoleType, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountListItem) HasComponent ¶
func (o *AccountListItem) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*AccountListItem) HasPassword ¶
func (o *AccountListItem) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*AccountListItem) HasPrivilegesList ¶
func (o *AccountListItem) HasPrivilegesList() bool
HasPrivilegesList returns a boolean if a field has been set.
func (*AccountListItem) HasRole ¶
func (o *AccountListItem) HasRole() bool
HasRole returns a boolean if a field has been set.
func (AccountListItem) MarshalJSON ¶
func (o AccountListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AccountListItem) SetComponent ¶
func (o *AccountListItem) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*AccountListItem) SetName ¶
func (o *AccountListItem) SetName(v string)
SetName sets field value.
func (*AccountListItem) SetPassword ¶
func (o *AccountListItem) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*AccountListItem) SetPrivilegesList ¶
func (o *AccountListItem) SetPrivilegesList(v []PrivilegeListItem)
SetPrivilegesList gets a reference to the given []PrivilegeListItem and assigns it to the PrivilegesList field.
func (*AccountListItem) SetRole ¶
func (o *AccountListItem) SetRole(v AccountListRoleType)
SetRole gets a reference to the given AccountListRoleType and assigns it to the Role field.
func (*AccountListItem) UnmarshalJSON ¶
func (o *AccountListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AccountListRoleType ¶
type AccountListRoleType string
AccountListRoleType The user role name, should be one of [ROOT, SUPERUSER, BASICUSER].
const ( AccountListRoleTypeSuperuser AccountListRoleType = "SUPERUSER" AccountListRoleTypeBasicuser AccountListRoleType = "BASICUSER" AccountListRoleTypeRoot AccountListRoleType = "ROOT" )
List of AccountListRoleType.
func NewAccountListRoleTypeFromValue ¶
func NewAccountListRoleTypeFromValue(v string) (*AccountListRoleType, error)
NewAccountListRoleTypeFromValue returns a pointer to a valid AccountListRoleType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AccountListRoleType) GetAllowedValues ¶
func (v *AccountListRoleType) GetAllowedValues() []AccountListRoleType
GetAllowedValues returns the list of possible values.
func (AccountListRoleType) IsValid ¶
func (v AccountListRoleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AccountListRoleType) Ptr ¶
func (v AccountListRoleType) Ptr() *AccountListRoleType
Ptr returns reference to AccountListRoleType value.
func (*AccountListRoleType) UnmarshalJSON ¶
func (v *AccountListRoleType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AccountOption ¶
type AccountOption struct {
Enabled bool `json:"enabled"`
Privileges []string `json:"privileges"`
AccountNamePattern string `json:"accountNamePattern"`
Create bool `json:"create"`
ResetPassword bool `json:"resetPassword"`
Delete bool `json:"delete"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAccountOption ¶
func NewAccountOption(enabled bool, privileges []string, accountNamePattern string, create bool, resetPassword bool, delete bool) *AccountOption
NewAccountOption instantiates a new AccountOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAccountOptionWithDefaults ¶
func NewAccountOptionWithDefaults() *AccountOption
NewAccountOptionWithDefaults instantiates a new AccountOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AccountOption) GetAccountNamePattern ¶
func (o *AccountOption) GetAccountNamePattern() string
GetAccountNamePattern returns the AccountNamePattern field value.
func (*AccountOption) GetAccountNamePatternOk ¶
func (o *AccountOption) GetAccountNamePatternOk() (*string, bool)
GetAccountNamePatternOk returns a tuple with the AccountNamePattern field value and a boolean to check if the value has been set.
func (*AccountOption) GetCreate ¶
func (o *AccountOption) GetCreate() bool
GetCreate returns the Create field value.
func (*AccountOption) GetCreateOk ¶
func (o *AccountOption) GetCreateOk() (*bool, bool)
GetCreateOk returns a tuple with the Create field value and a boolean to check if the value has been set.
func (*AccountOption) GetDelete ¶
func (o *AccountOption) GetDelete() bool
GetDelete returns the Delete field value.
func (*AccountOption) GetDeleteOk ¶
func (o *AccountOption) GetDeleteOk() (*bool, bool)
GetDeleteOk returns a tuple with the Delete field value and a boolean to check if the value has been set.
func (*AccountOption) GetEnabled ¶
func (o *AccountOption) GetEnabled() bool
GetEnabled returns the Enabled field value.
func (*AccountOption) GetEnabledOk ¶
func (o *AccountOption) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*AccountOption) GetPrivileges ¶
func (o *AccountOption) GetPrivileges() []string
GetPrivileges returns the Privileges field value.
func (*AccountOption) GetPrivilegesOk ¶
func (o *AccountOption) GetPrivilegesOk() (*[]string, bool)
GetPrivilegesOk returns a tuple with the Privileges field value and a boolean to check if the value has been set.
func (*AccountOption) GetResetPassword ¶
func (o *AccountOption) GetResetPassword() bool
GetResetPassword returns the ResetPassword field value.
func (*AccountOption) GetResetPasswordOk ¶
func (o *AccountOption) GetResetPasswordOk() (*bool, bool)
GetResetPasswordOk returns a tuple with the ResetPassword field value and a boolean to check if the value has been set.
func (AccountOption) MarshalJSON ¶
func (o AccountOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AccountOption) SetAccountNamePattern ¶
func (o *AccountOption) SetAccountNamePattern(v string)
SetAccountNamePattern sets field value.
func (*AccountOption) SetCreate ¶
func (o *AccountOption) SetCreate(v bool)
SetCreate sets field value.
func (*AccountOption) SetDelete ¶
func (o *AccountOption) SetDelete(v bool)
SetDelete sets field value.
func (*AccountOption) SetEnabled ¶
func (o *AccountOption) SetEnabled(v bool)
SetEnabled sets field value.
func (*AccountOption) SetPrivileges ¶
func (o *AccountOption) SetPrivileges(v []string)
SetPrivileges sets field value.
func (*AccountOption) SetResetPassword ¶
func (o *AccountOption) SetResetPassword(v bool)
SetResetPassword sets field value.
func (*AccountOption) UnmarshalJSON ¶
func (o *AccountOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AccountRoleType ¶
type AccountRoleType string
AccountRoleType Role name should be one of [SUPERUSER, BASICUSER].
const ( AccountRoleTypeSuperuser AccountRoleType = "SUPERUSER" AccountRoleTypeBasicuser AccountRoleType = "BASICUSER" )
List of AccountRoleType.
func NewAccountRoleTypeFromValue ¶
func NewAccountRoleTypeFromValue(v string) (*AccountRoleType, error)
NewAccountRoleTypeFromValue returns a pointer to a valid AccountRoleType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AccountRoleType) GetAllowedValues ¶
func (v *AccountRoleType) GetAllowedValues() []AccountRoleType
GetAllowedValues returns the list of possible values.
func (AccountRoleType) IsValid ¶
func (v AccountRoleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AccountRoleType) Ptr ¶
func (v AccountRoleType) Ptr() *AccountRoleType
Ptr returns reference to AccountRoleType value.
func (*AccountRoleType) UnmarshalJSON ¶
func (v *AccountRoleType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AlertCluster ¶
type AlertCluster struct {
Disabled bool `json:"disabled"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertCluster ¶
func NewAlertCluster(disabled bool) *AlertCluster
NewAlertCluster instantiates a new AlertCluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertClusterWithDefaults ¶
func NewAlertClusterWithDefaults() *AlertCluster
NewAlertClusterWithDefaults instantiates a new AlertCluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertCluster) GetDisabled ¶
func (o *AlertCluster) GetDisabled() bool
GetDisabled returns the Disabled field value.
func (*AlertCluster) GetDisabledOk ¶
func (o *AlertCluster) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value and a boolean to check if the value has been set.
func (AlertCluster) MarshalJSON ¶
func (o AlertCluster) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertCluster) SetDisabled ¶
func (o *AlertCluster) SetDisabled(v bool)
SetDisabled sets field value.
func (*AlertCluster) UnmarshalJSON ¶
func (o *AlertCluster) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertConfig ¶
type AlertConfig struct {
// Time zone offset in seconds, e.g. offset of UTC+08:00 is +8 * 60 * 60
TimeZoneOffset int32 `json:"timeZoneOffset"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertConfig ¶
func NewAlertConfig(timeZoneOffset int32) *AlertConfig
NewAlertConfig instantiates a new AlertConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertConfigWithDefaults ¶
func NewAlertConfigWithDefaults() *AlertConfig
NewAlertConfigWithDefaults instantiates a new AlertConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertConfig) GetTimeZoneOffset ¶
func (o *AlertConfig) GetTimeZoneOffset() int32
GetTimeZoneOffset returns the TimeZoneOffset field value.
func (*AlertConfig) GetTimeZoneOffsetOk ¶
func (o *AlertConfig) GetTimeZoneOffsetOk() (*int32, bool)
GetTimeZoneOffsetOk returns a tuple with the TimeZoneOffset field value and a boolean to check if the value has been set.
func (AlertConfig) MarshalJSON ¶
func (o AlertConfig) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertConfig) SetTimeZoneOffset ¶
func (o *AlertConfig) SetTimeZoneOffset(v int32)
SetTimeZoneOffset sets field value.
func (*AlertConfig) UnmarshalJSON ¶
func (o *AlertConfig) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertConfigApi ¶
AlertConfigApi service type
func NewAlertConfigApi ¶
func NewAlertConfigApi(client *common.APIClient) *AlertConfigApi
NewAlertConfigApi Returns NewAlertConfigApi.
func (*AlertConfigApi) GetAlertConfig ¶
func (a *AlertConfigApi) GetAlertConfig(ctx _context.Context, orgName string) (AlertConfig, *_nethttp.Response, error)
GetAlertConfig Get alert config.
func (*AlertConfigApi) SetAlertConfig ¶
func (a *AlertConfigApi) SetAlertConfig(ctx _context.Context, orgName string, o ...SetAlertConfigOptionalParameters) (AlertConfig, *_nethttp.Response, error)
SetAlertConfig Set alert config.
type AlertInhibit ¶
type AlertInhibit struct {
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
OrgName *string `json:"orgName,omitempty"`
SourceMatch map[string][]string `json:"sourceMatch,omitempty"`
TargetMatch map[string][]string `json:"targetMatch,omitempty"`
Equal []string `json:"equal,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertInhibit Alert object information
func NewAlertInhibit ¶
func NewAlertInhibit() *AlertInhibit
NewAlertInhibit instantiates a new AlertInhibit object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertInhibitWithDefaults ¶
func NewAlertInhibitWithDefaults() *AlertInhibit
NewAlertInhibitWithDefaults instantiates a new AlertInhibit object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertInhibit) GetDescription ¶
func (o *AlertInhibit) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AlertInhibit) GetDescriptionOk ¶
func (o *AlertInhibit) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetEqual ¶
func (o *AlertInhibit) GetEqual() []string
GetEqual returns the Equal field value if set, zero value otherwise.
func (*AlertInhibit) GetEqualOk ¶
func (o *AlertInhibit) GetEqualOk() (*[]string, bool)
GetEqualOk returns a tuple with the Equal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetId ¶
func (o *AlertInhibit) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*AlertInhibit) GetIdOk ¶
func (o *AlertInhibit) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetName ¶
func (o *AlertInhibit) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AlertInhibit) GetNameOk ¶
func (o *AlertInhibit) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetOrgName ¶
func (o *AlertInhibit) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AlertInhibit) GetOrgNameOk ¶
func (o *AlertInhibit) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetSourceMatch ¶
func (o *AlertInhibit) GetSourceMatch() map[string][]string
GetSourceMatch returns the SourceMatch field value if set, zero value otherwise.
func (*AlertInhibit) GetSourceMatchOk ¶
func (o *AlertInhibit) GetSourceMatchOk() (*map[string][]string, bool)
GetSourceMatchOk returns a tuple with the SourceMatch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) GetTargetMatch ¶
func (o *AlertInhibit) GetTargetMatch() map[string][]string
GetTargetMatch returns the TargetMatch field value if set, zero value otherwise.
func (*AlertInhibit) GetTargetMatchOk ¶
func (o *AlertInhibit) GetTargetMatchOk() (*map[string][]string, bool)
GetTargetMatchOk returns a tuple with the TargetMatch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibit) HasDescription ¶
func (o *AlertInhibit) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AlertInhibit) HasEqual ¶
func (o *AlertInhibit) HasEqual() bool
HasEqual returns a boolean if a field has been set.
func (*AlertInhibit) HasId ¶
func (o *AlertInhibit) HasId() bool
HasId returns a boolean if a field has been set.
func (*AlertInhibit) HasName ¶
func (o *AlertInhibit) HasName() bool
HasName returns a boolean if a field has been set.
func (*AlertInhibit) HasOrgName ¶
func (o *AlertInhibit) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*AlertInhibit) HasSourceMatch ¶
func (o *AlertInhibit) HasSourceMatch() bool
HasSourceMatch returns a boolean if a field has been set.
func (*AlertInhibit) HasTargetMatch ¶
func (o *AlertInhibit) HasTargetMatch() bool
HasTargetMatch returns a boolean if a field has been set.
func (AlertInhibit) MarshalJSON ¶
func (o AlertInhibit) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertInhibit) SetDescription ¶
func (o *AlertInhibit) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AlertInhibit) SetEqual ¶
func (o *AlertInhibit) SetEqual(v []string)
SetEqual gets a reference to the given []string and assigns it to the Equal field.
func (*AlertInhibit) SetId ¶
func (o *AlertInhibit) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*AlertInhibit) SetName ¶
func (o *AlertInhibit) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AlertInhibit) SetOrgName ¶
func (o *AlertInhibit) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AlertInhibit) SetSourceMatch ¶
func (o *AlertInhibit) SetSourceMatch(v map[string][]string)
SetSourceMatch gets a reference to the given map[string][]string and assigns it to the SourceMatch field.
func (*AlertInhibit) SetTargetMatch ¶
func (o *AlertInhibit) SetTargetMatch(v map[string][]string)
SetTargetMatch gets a reference to the given map[string][]string and assigns it to the TargetMatch field.
func (*AlertInhibit) UnmarshalJSON ¶
func (o *AlertInhibit) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertInhibitApi ¶
AlertInhibitApi service type
func NewAlertInhibitApi ¶
func NewAlertInhibitApi(client *common.APIClient) *AlertInhibitApi
NewAlertInhibitApi Returns NewAlertInhibitApi.
func (*AlertInhibitApi) CreateAlertInhibit ¶
func (a *AlertInhibitApi) CreateAlertInhibit(ctx _context.Context, orgName string, o ...CreateAlertInhibitOptionalParameters) (AlertInhibit, *_nethttp.Response, error)
CreateAlertInhibit Create alert inhibit.
func (*AlertInhibitApi) DeleteAlertInhibit ¶
func (a *AlertInhibitApi) DeleteAlertInhibit(ctx _context.Context, orgName string, inhibitId string) (interface{}, *_nethttp.Response, error)
DeleteAlertInhibit Delete alert inhibit.
func (*AlertInhibitApi) GetAlertInhibit ¶
func (a *AlertInhibitApi) GetAlertInhibit(ctx _context.Context, orgName string, inhibitId string) (AlertInhibit, *_nethttp.Response, error)
GetAlertInhibit Get alert inhibit.
func (*AlertInhibitApi) ListAlertInhibits ¶
func (a *AlertInhibitApi) ListAlertInhibits(ctx _context.Context, orgName string) (AlertInhibitList, *_nethttp.Response, error)
ListAlertInhibits List alert inhibits.
func (*AlertInhibitApi) PatchAlertInhibit ¶
func (a *AlertInhibitApi) PatchAlertInhibit(ctx _context.Context, orgName string, o ...PatchAlertInhibitOptionalParameters) (AlertInhibit, *_nethttp.Response, error)
PatchAlertInhibit Patch alert inhibit.
type AlertInhibitList ¶
type AlertInhibitList struct {
// Items is the list of alert inhibits in the list
Items []AlertInhibit `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertInhibitList AlertInhibitList is a list of alert inhibit
func NewAlertInhibitList ¶
func NewAlertInhibitList(items []AlertInhibit) *AlertInhibitList
NewAlertInhibitList instantiates a new AlertInhibitList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertInhibitListWithDefaults ¶
func NewAlertInhibitListWithDefaults() *AlertInhibitList
NewAlertInhibitListWithDefaults instantiates a new AlertInhibitList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertInhibitList) GetItems ¶
func (o *AlertInhibitList) GetItems() []AlertInhibit
GetItems returns the Items field value.
func (*AlertInhibitList) GetItemsOk ¶
func (o *AlertInhibitList) GetItemsOk() (*[]AlertInhibit, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertInhibitList) GetPageResult ¶
func (o *AlertInhibitList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertInhibitList) GetPageResultOk ¶
func (o *AlertInhibitList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertInhibitList) HasPageResult ¶
func (o *AlertInhibitList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertInhibitList) MarshalJSON ¶
func (o AlertInhibitList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertInhibitList) SetItems ¶
func (o *AlertInhibitList) SetItems(v []AlertInhibit)
SetItems sets field value.
func (*AlertInhibitList) SetPageResult ¶
func (o *AlertInhibitList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertInhibitList) UnmarshalJSON ¶
func (o *AlertInhibitList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertMetric ¶
type AlertMetric struct {
Key string `json:"key"`
Threshold int32 `json:"threshold"`
Notation string `json:"notation"`
Category *string `json:"category,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertMetric Alert metric information
func NewAlertMetric ¶
func NewAlertMetric(key string, threshold int32, notation string) *AlertMetric
NewAlertMetric instantiates a new AlertMetric object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertMetricWithDefaults ¶
func NewAlertMetricWithDefaults() *AlertMetric
NewAlertMetricWithDefaults instantiates a new AlertMetric object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertMetric) GetCategory ¶
func (o *AlertMetric) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*AlertMetric) GetCategoryOk ¶
func (o *AlertMetric) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertMetric) GetKey ¶
func (o *AlertMetric) GetKey() string
GetKey returns the Key field value.
func (*AlertMetric) GetKeyOk ¶
func (o *AlertMetric) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*AlertMetric) GetNotation ¶
func (o *AlertMetric) GetNotation() string
GetNotation returns the Notation field value.
func (*AlertMetric) GetNotationOk ¶
func (o *AlertMetric) GetNotationOk() (*string, bool)
GetNotationOk returns a tuple with the Notation field value and a boolean to check if the value has been set.
func (*AlertMetric) GetThreshold ¶
func (o *AlertMetric) GetThreshold() int32
GetThreshold returns the Threshold field value.
func (*AlertMetric) GetThresholdOk ¶
func (o *AlertMetric) GetThresholdOk() (*int32, bool)
GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.
func (*AlertMetric) HasCategory ¶
func (o *AlertMetric) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (AlertMetric) MarshalJSON ¶
func (o AlertMetric) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertMetric) SetCategory ¶
func (o *AlertMetric) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*AlertMetric) SetNotation ¶
func (o *AlertMetric) SetNotation(v string)
SetNotation sets field value.
func (*AlertMetric) SetThreshold ¶
func (o *AlertMetric) SetThreshold(v int32)
SetThreshold sets field value.
func (*AlertMetric) UnmarshalJSON ¶
func (o *AlertMetric) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertMetricList ¶
type AlertMetricList struct {
// Items is the list of alert metric objects in the list
Items []AlertMetric `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertMetricList AlertMetricList is a list of alert metric
func NewAlertMetricList ¶
func NewAlertMetricList(items []AlertMetric) *AlertMetricList
NewAlertMetricList instantiates a new AlertMetricList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertMetricListWithDefaults ¶
func NewAlertMetricListWithDefaults() *AlertMetricList
NewAlertMetricListWithDefaults instantiates a new AlertMetricList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertMetricList) GetItems ¶
func (o *AlertMetricList) GetItems() []AlertMetric
GetItems returns the Items field value.
func (*AlertMetricList) GetItemsOk ¶
func (o *AlertMetricList) GetItemsOk() (*[]AlertMetric, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertMetricList) GetPageResult ¶
func (o *AlertMetricList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertMetricList) GetPageResultOk ¶
func (o *AlertMetricList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertMetricList) HasPageResult ¶
func (o *AlertMetricList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertMetricList) MarshalJSON ¶
func (o AlertMetricList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertMetricList) SetItems ¶
func (o *AlertMetricList) SetItems(v []AlertMetric)
SetItems sets field value.
func (*AlertMetricList) SetPageResult ¶
func (o *AlertMetricList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertMetricList) UnmarshalJSON ¶
func (o *AlertMetricList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertMetricsApi ¶
AlertMetricsApi service type
func NewAlertMetricsApi ¶
func NewAlertMetricsApi(client *common.APIClient) *AlertMetricsApi
NewAlertMetricsApi Returns NewAlertMetricsApi.
func (*AlertMetricsApi) ListAlertMetrics ¶
func (a *AlertMetricsApi) ListAlertMetrics(ctx _context.Context, orgName string, o ...ListAlertMetricsOptionalParameters) (AlertMetricList, *_nethttp.Response, error)
ListAlertMetrics List alert metric types.
type AlertObject ¶
type AlertObject struct {
Id *int32 `json:"id,omitempty"`
AlertName *string `json:"alertName,omitempty"`
GroupName *string `json:"groupName,omitempty"`
Expr *string `json:"expr,omitempty"`
ClusterName *string `json:"clusterName,omitempty"`
Engine *string `json:"engine,omitempty"`
Namespace *string `json:"namespace,omitempty"`
Pod *string `json:"pod,omitempty"`
Severity *AlertSeverity `json:"severity,omitempty"`
Description *string `json:"description,omitempty"`
Fingerprint *string `json:"fingerprint,omitempty"`
StartsAt *time.Time `json:"startsAt,omitempty"`
EndsAt *time.Time `json:"endsAt,omitempty"`
Status *AlertStatus `json:"status,omitempty"`
Count *int32 `json:"count,omitempty"`
OrgName *string `json:"orgName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertObject Alert object information
func NewAlertObject ¶
func NewAlertObject() *AlertObject
NewAlertObject instantiates a new AlertObject object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertObjectWithDefaults ¶
func NewAlertObjectWithDefaults() *AlertObject
NewAlertObjectWithDefaults instantiates a new AlertObject object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertObject) GetAlertName ¶
func (o *AlertObject) GetAlertName() string
GetAlertName returns the AlertName field value if set, zero value otherwise.
func (*AlertObject) GetAlertNameOk ¶
func (o *AlertObject) GetAlertNameOk() (*string, bool)
GetAlertNameOk returns a tuple with the AlertName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetClusterName ¶
func (o *AlertObject) GetClusterName() string
GetClusterName returns the ClusterName field value if set, zero value otherwise.
func (*AlertObject) GetClusterNameOk ¶
func (o *AlertObject) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetCount ¶
func (o *AlertObject) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*AlertObject) GetCountOk ¶
func (o *AlertObject) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetDescription ¶
func (o *AlertObject) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AlertObject) GetDescriptionOk ¶
func (o *AlertObject) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetEndsAt ¶
func (o *AlertObject) GetEndsAt() time.Time
GetEndsAt returns the EndsAt field value if set, zero value otherwise.
func (*AlertObject) GetEndsAtOk ¶
func (o *AlertObject) GetEndsAtOk() (*time.Time, bool)
GetEndsAtOk returns a tuple with the EndsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetEngine ¶
func (o *AlertObject) GetEngine() string
GetEngine returns the Engine field value if set, zero value otherwise.
func (*AlertObject) GetEngineOk ¶
func (o *AlertObject) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetExpr ¶
func (o *AlertObject) GetExpr() string
GetExpr returns the Expr field value if set, zero value otherwise.
func (*AlertObject) GetExprOk ¶
func (o *AlertObject) GetExprOk() (*string, bool)
GetExprOk returns a tuple with the Expr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetFingerprint ¶
func (o *AlertObject) GetFingerprint() string
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*AlertObject) GetFingerprintOk ¶
func (o *AlertObject) GetFingerprintOk() (*string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetGroupName ¶
func (o *AlertObject) GetGroupName() string
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*AlertObject) GetGroupNameOk ¶
func (o *AlertObject) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetId ¶
func (o *AlertObject) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*AlertObject) GetIdOk ¶
func (o *AlertObject) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetNamespace ¶
func (o *AlertObject) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*AlertObject) GetNamespaceOk ¶
func (o *AlertObject) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetOrgName ¶
func (o *AlertObject) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AlertObject) GetOrgNameOk ¶
func (o *AlertObject) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetPod ¶
func (o *AlertObject) GetPod() string
GetPod returns the Pod field value if set, zero value otherwise.
func (*AlertObject) GetPodOk ¶
func (o *AlertObject) GetPodOk() (*string, bool)
GetPodOk returns a tuple with the Pod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetSeverity ¶
func (o *AlertObject) GetSeverity() AlertSeverity
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*AlertObject) GetSeverityOk ¶
func (o *AlertObject) GetSeverityOk() (*AlertSeverity, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetStartsAt ¶
func (o *AlertObject) GetStartsAt() time.Time
GetStartsAt returns the StartsAt field value if set, zero value otherwise.
func (*AlertObject) GetStartsAtOk ¶
func (o *AlertObject) GetStartsAtOk() (*time.Time, bool)
GetStartsAtOk returns a tuple with the StartsAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) GetStatus ¶
func (o *AlertObject) GetStatus() AlertStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*AlertObject) GetStatusOk ¶
func (o *AlertObject) GetStatusOk() (*AlertStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObject) HasAlertName ¶
func (o *AlertObject) HasAlertName() bool
HasAlertName returns a boolean if a field has been set.
func (*AlertObject) HasClusterName ¶
func (o *AlertObject) HasClusterName() bool
HasClusterName returns a boolean if a field has been set.
func (*AlertObject) HasCount ¶
func (o *AlertObject) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*AlertObject) HasDescription ¶
func (o *AlertObject) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AlertObject) HasEndsAt ¶
func (o *AlertObject) HasEndsAt() bool
HasEndsAt returns a boolean if a field has been set.
func (*AlertObject) HasEngine ¶
func (o *AlertObject) HasEngine() bool
HasEngine returns a boolean if a field has been set.
func (*AlertObject) HasExpr ¶
func (o *AlertObject) HasExpr() bool
HasExpr returns a boolean if a field has been set.
func (*AlertObject) HasFingerprint ¶
func (o *AlertObject) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (*AlertObject) HasGroupName ¶
func (o *AlertObject) HasGroupName() bool
HasGroupName returns a boolean if a field has been set.
func (*AlertObject) HasId ¶
func (o *AlertObject) HasId() bool
HasId returns a boolean if a field has been set.
func (*AlertObject) HasNamespace ¶
func (o *AlertObject) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*AlertObject) HasOrgName ¶
func (o *AlertObject) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*AlertObject) HasPod ¶
func (o *AlertObject) HasPod() bool
HasPod returns a boolean if a field has been set.
func (*AlertObject) HasSeverity ¶
func (o *AlertObject) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (*AlertObject) HasStartsAt ¶
func (o *AlertObject) HasStartsAt() bool
HasStartsAt returns a boolean if a field has been set.
func (*AlertObject) HasStatus ¶
func (o *AlertObject) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (AlertObject) MarshalJSON ¶
func (o AlertObject) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertObject) SetAlertName ¶
func (o *AlertObject) SetAlertName(v string)
SetAlertName gets a reference to the given string and assigns it to the AlertName field.
func (*AlertObject) SetClusterName ¶
func (o *AlertObject) SetClusterName(v string)
SetClusterName gets a reference to the given string and assigns it to the ClusterName field.
func (*AlertObject) SetCount ¶
func (o *AlertObject) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*AlertObject) SetDescription ¶
func (o *AlertObject) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AlertObject) SetEndsAt ¶
func (o *AlertObject) SetEndsAt(v time.Time)
SetEndsAt gets a reference to the given time.Time and assigns it to the EndsAt field.
func (*AlertObject) SetEngine ¶
func (o *AlertObject) SetEngine(v string)
SetEngine gets a reference to the given string and assigns it to the Engine field.
func (*AlertObject) SetExpr ¶
func (o *AlertObject) SetExpr(v string)
SetExpr gets a reference to the given string and assigns it to the Expr field.
func (*AlertObject) SetFingerprint ¶
func (o *AlertObject) SetFingerprint(v string)
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*AlertObject) SetGroupName ¶
func (o *AlertObject) SetGroupName(v string)
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*AlertObject) SetId ¶
func (o *AlertObject) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*AlertObject) SetNamespace ¶
func (o *AlertObject) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*AlertObject) SetOrgName ¶
func (o *AlertObject) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AlertObject) SetPod ¶
func (o *AlertObject) SetPod(v string)
SetPod gets a reference to the given string and assigns it to the Pod field.
func (*AlertObject) SetSeverity ¶
func (o *AlertObject) SetSeverity(v AlertSeverity)
SetSeverity gets a reference to the given AlertSeverity and assigns it to the Severity field.
func (*AlertObject) SetStartsAt ¶
func (o *AlertObject) SetStartsAt(v time.Time)
SetStartsAt gets a reference to the given time.Time and assigns it to the StartsAt field.
func (*AlertObject) SetStatus ¶
func (o *AlertObject) SetStatus(v AlertStatus)
SetStatus gets a reference to the given AlertStatus and assigns it to the Status field.
func (*AlertObject) UnmarshalJSON ¶
func (o *AlertObject) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertObjectApi ¶
AlertObjectApi service type
func NewAlertObjectApi ¶
func NewAlertObjectApi(client *common.APIClient) *AlertObjectApi
NewAlertObjectApi Returns NewAlertObjectApi.
func (*AlertObjectApi) ListAlertObjects ¶
func (a *AlertObjectApi) ListAlertObjects(ctx _context.Context, orgName string) (AlertObjectList, *_nethttp.Response, error)
ListAlertObjects List alert objects.
func (*AlertObjectApi) SetAlertObjectStatus ¶
func (a *AlertObjectApi) SetAlertObjectStatus(ctx _context.Context, orgName string, alertId string, status string) (AlertObject, *_nethttp.Response, error)
SetAlertObjectStatus Set alert object status.
func (*AlertObjectApi) SetAlertObjectsStatus ¶
func (a *AlertObjectApi) SetAlertObjectsStatus(ctx _context.Context, orgName string, status string, o ...SetAlertObjectsStatusOptionalParameters) (AlertObjectList, *_nethttp.Response, error)
SetAlertObjectsStatus Set alert objects status.
type AlertObjectList ¶
type AlertObjectList struct {
// Items is the list of alert objects in the list
Items []AlertObject `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertObjectList AlertObjectList is a list of alert object
func NewAlertObjectList ¶
func NewAlertObjectList(items []AlertObject) *AlertObjectList
NewAlertObjectList instantiates a new AlertObjectList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertObjectListWithDefaults ¶
func NewAlertObjectListWithDefaults() *AlertObjectList
NewAlertObjectListWithDefaults instantiates a new AlertObjectList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertObjectList) GetItems ¶
func (o *AlertObjectList) GetItems() []AlertObject
GetItems returns the Items field value.
func (*AlertObjectList) GetItemsOk ¶
func (o *AlertObjectList) GetItemsOk() (*[]AlertObject, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertObjectList) GetPageResult ¶
func (o *AlertObjectList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertObjectList) GetPageResultOk ¶
func (o *AlertObjectList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertObjectList) HasPageResult ¶
func (o *AlertObjectList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertObjectList) MarshalJSON ¶
func (o AlertObjectList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertObjectList) SetItems ¶
func (o *AlertObjectList) SetItems(v []AlertObject)
SetItems sets field value.
func (*AlertObjectList) SetPageResult ¶
func (o *AlertObjectList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertObjectList) UnmarshalJSON ¶
func (o *AlertObjectList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertReceiver ¶
type AlertReceiver struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Category *AlertReceiverCategory `json:"category,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UserGroup *AlertReceiverUserGroup `json:"userGroup,omitempty"`
// Webhook config of alert receiver
WebhookConfig *WebhookConfig `json:"webhookConfig,omitempty"`
OrgName *string `json:"orgName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertReceiver Alert receiver information
func NewAlertReceiver ¶
func NewAlertReceiver() *AlertReceiver
NewAlertReceiver instantiates a new AlertReceiver object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertReceiverWithDefaults ¶
func NewAlertReceiverWithDefaults() *AlertReceiver
NewAlertReceiverWithDefaults instantiates a new AlertReceiver object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertReceiver) GetCategory ¶
func (o *AlertReceiver) GetCategory() AlertReceiverCategory
GetCategory returns the Category field value if set, zero value otherwise.
func (*AlertReceiver) GetCategoryOk ¶
func (o *AlertReceiver) GetCategoryOk() (*AlertReceiverCategory, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetCreatedAt ¶
func (o *AlertReceiver) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AlertReceiver) GetCreatedAtOk ¶
func (o *AlertReceiver) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetId ¶
func (o *AlertReceiver) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AlertReceiver) GetIdOk ¶
func (o *AlertReceiver) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetName ¶
func (o *AlertReceiver) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AlertReceiver) GetNameOk ¶
func (o *AlertReceiver) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetOrgName ¶
func (o *AlertReceiver) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AlertReceiver) GetOrgNameOk ¶
func (o *AlertReceiver) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetUpdatedAt ¶
func (o *AlertReceiver) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AlertReceiver) GetUpdatedAtOk ¶
func (o *AlertReceiver) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetUserGroup ¶
func (o *AlertReceiver) GetUserGroup() AlertReceiverUserGroup
GetUserGroup returns the UserGroup field value if set, zero value otherwise.
func (*AlertReceiver) GetUserGroupOk ¶
func (o *AlertReceiver) GetUserGroupOk() (*AlertReceiverUserGroup, bool)
GetUserGroupOk returns a tuple with the UserGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) GetWebhookConfig ¶
func (o *AlertReceiver) GetWebhookConfig() WebhookConfig
GetWebhookConfig returns the WebhookConfig field value if set, zero value otherwise.
func (*AlertReceiver) GetWebhookConfigOk ¶
func (o *AlertReceiver) GetWebhookConfigOk() (*WebhookConfig, bool)
GetWebhookConfigOk returns a tuple with the WebhookConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiver) HasCategory ¶
func (o *AlertReceiver) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*AlertReceiver) HasCreatedAt ¶
func (o *AlertReceiver) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AlertReceiver) HasId ¶
func (o *AlertReceiver) HasId() bool
HasId returns a boolean if a field has been set.
func (*AlertReceiver) HasName ¶
func (o *AlertReceiver) HasName() bool
HasName returns a boolean if a field has been set.
func (*AlertReceiver) HasOrgName ¶
func (o *AlertReceiver) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*AlertReceiver) HasUpdatedAt ¶
func (o *AlertReceiver) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*AlertReceiver) HasUserGroup ¶
func (o *AlertReceiver) HasUserGroup() bool
HasUserGroup returns a boolean if a field has been set.
func (*AlertReceiver) HasWebhookConfig ¶
func (o *AlertReceiver) HasWebhookConfig() bool
HasWebhookConfig returns a boolean if a field has been set.
func (AlertReceiver) MarshalJSON ¶
func (o AlertReceiver) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertReceiver) SetCategory ¶
func (o *AlertReceiver) SetCategory(v AlertReceiverCategory)
SetCategory gets a reference to the given AlertReceiverCategory and assigns it to the Category field.
func (*AlertReceiver) SetCreatedAt ¶
func (o *AlertReceiver) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AlertReceiver) SetId ¶
func (o *AlertReceiver) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AlertReceiver) SetName ¶
func (o *AlertReceiver) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AlertReceiver) SetOrgName ¶
func (o *AlertReceiver) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AlertReceiver) SetUpdatedAt ¶
func (o *AlertReceiver) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*AlertReceiver) SetUserGroup ¶
func (o *AlertReceiver) SetUserGroup(v AlertReceiverUserGroup)
SetUserGroup gets a reference to the given AlertReceiverUserGroup and assigns it to the UserGroup field.
func (*AlertReceiver) SetWebhookConfig ¶
func (o *AlertReceiver) SetWebhookConfig(v WebhookConfig)
SetWebhookConfig gets a reference to the given WebhookConfig and assigns it to the WebhookConfig field.
func (*AlertReceiver) UnmarshalJSON ¶
func (o *AlertReceiver) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertReceiverApi ¶
AlertReceiverApi service type
func NewAlertReceiverApi ¶
func NewAlertReceiverApi(client *common.APIClient) *AlertReceiverApi
NewAlertReceiverApi Returns NewAlertReceiverApi.
func (*AlertReceiverApi) CreateAlertReceiver ¶
func (a *AlertReceiverApi) CreateAlertReceiver(ctx _context.Context, orgName string, category AlertReceiverCategory, body AlertReceiver) (AlertReceiver, *_nethttp.Response, error)
CreateAlertReceiver Create alert receiver.
func (*AlertReceiverApi) DeleteAlertReceiver ¶
func (a *AlertReceiverApi) DeleteAlertReceiver(ctx _context.Context, orgName string, receiverId string) (*_nethttp.Response, error)
DeleteAlertReceiver Delete alert receiver.
func (*AlertReceiverApi) GetAlertReceiver ¶
func (a *AlertReceiverApi) GetAlertReceiver(ctx _context.Context, orgName string, receiverId string) (AlertReceiver, *_nethttp.Response, error)
GetAlertReceiver Get alert receiver.
func (*AlertReceiverApi) ListAlertReceivers ¶
func (a *AlertReceiverApi) ListAlertReceivers(ctx _context.Context, orgName string, o ...ListAlertReceiversOptionalParameters) (AlertReceiverList, *_nethttp.Response, error)
ListAlertReceivers List alert receivers.
func (*AlertReceiverApi) PatchAlertReceiver ¶
func (a *AlertReceiverApi) PatchAlertReceiver(ctx _context.Context, orgName string, receiverId string, body AlertReceiver) (AlertReceiver, *_nethttp.Response, error)
PatchAlertReceiver Update alert receiver. partially update the alert receiver
type AlertReceiverCategory ¶
type AlertReceiverCategory string
const ( AlertReceiverCategoryFeishu AlertReceiverCategory = "feishu" AlertReceiverCategoryWechat AlertReceiverCategory = "wechat" AlertReceiverCategoryDingtalk AlertReceiverCategory = "dingtalk" AlertReceiverCategoryReceiverGroup AlertReceiverCategory = "receiver-group" AlertReceiverCategoryWebhook AlertReceiverCategory = "webhook" )
List of AlertReceiverCategory.
func NewAlertReceiverCategoryFromValue ¶
func NewAlertReceiverCategoryFromValue(v string) (*AlertReceiverCategory, error)
NewAlertReceiverCategoryFromValue returns a pointer to a valid AlertReceiverCategory for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AlertReceiverCategory) GetAllowedValues ¶
func (v *AlertReceiverCategory) GetAllowedValues() []AlertReceiverCategory
GetAllowedValues returns the list of possible values.
func (AlertReceiverCategory) IsValid ¶
func (v AlertReceiverCategory) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AlertReceiverCategory) Ptr ¶
func (v AlertReceiverCategory) Ptr() *AlertReceiverCategory
Ptr returns reference to AlertReceiverCategory value.
func (*AlertReceiverCategory) UnmarshalJSON ¶
func (v *AlertReceiverCategory) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AlertReceiverList ¶
type AlertReceiverList struct {
// Items is the list of alert receiver objects in the list
Items []AlertReceiver `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertReceiverList AlertReceiverList is a list of alert receivers
func NewAlertReceiverList ¶
func NewAlertReceiverList(items []AlertReceiver) *AlertReceiverList
NewAlertReceiverList instantiates a new AlertReceiverList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertReceiverListWithDefaults ¶
func NewAlertReceiverListWithDefaults() *AlertReceiverList
NewAlertReceiverListWithDefaults instantiates a new AlertReceiverList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertReceiverList) GetItems ¶
func (o *AlertReceiverList) GetItems() []AlertReceiver
GetItems returns the Items field value.
func (*AlertReceiverList) GetItemsOk ¶
func (o *AlertReceiverList) GetItemsOk() (*[]AlertReceiver, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertReceiverList) GetPageResult ¶
func (o *AlertReceiverList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertReceiverList) GetPageResultOk ¶
func (o *AlertReceiverList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiverList) HasPageResult ¶
func (o *AlertReceiverList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertReceiverList) MarshalJSON ¶
func (o AlertReceiverList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertReceiverList) SetItems ¶
func (o *AlertReceiverList) SetItems(v []AlertReceiver)
SetItems sets field value.
func (*AlertReceiverList) SetPageResult ¶
func (o *AlertReceiverList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertReceiverList) UnmarshalJSON ¶
func (o *AlertReceiverList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertReceiverUserGroup ¶
type AlertReceiverUserGroup struct {
EmailEnabled *bool `json:"emailEnabled,omitempty"`
Ids []string `json:"ids,omitempty"`
SmsEnabled *bool `json:"smsEnabled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertReceiverUserGroup ¶
func NewAlertReceiverUserGroup() *AlertReceiverUserGroup
NewAlertReceiverUserGroup instantiates a new AlertReceiverUserGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertReceiverUserGroupWithDefaults ¶
func NewAlertReceiverUserGroupWithDefaults() *AlertReceiverUserGroup
NewAlertReceiverUserGroupWithDefaults instantiates a new AlertReceiverUserGroup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertReceiverUserGroup) GetEmailEnabled ¶
func (o *AlertReceiverUserGroup) GetEmailEnabled() bool
GetEmailEnabled returns the EmailEnabled field value if set, zero value otherwise.
func (*AlertReceiverUserGroup) GetEmailEnabledOk ¶
func (o *AlertReceiverUserGroup) GetEmailEnabledOk() (*bool, bool)
GetEmailEnabledOk returns a tuple with the EmailEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiverUserGroup) GetIds ¶
func (o *AlertReceiverUserGroup) GetIds() []string
GetIds returns the Ids field value if set, zero value otherwise.
func (*AlertReceiverUserGroup) GetIdsOk ¶
func (o *AlertReceiverUserGroup) GetIdsOk() (*[]string, bool)
GetIdsOk returns a tuple with the Ids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiverUserGroup) GetSmsEnabled ¶
func (o *AlertReceiverUserGroup) GetSmsEnabled() bool
GetSmsEnabled returns the SmsEnabled field value if set, zero value otherwise.
func (*AlertReceiverUserGroup) GetSmsEnabledOk ¶
func (o *AlertReceiverUserGroup) GetSmsEnabledOk() (*bool, bool)
GetSmsEnabledOk returns a tuple with the SmsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertReceiverUserGroup) HasEmailEnabled ¶
func (o *AlertReceiverUserGroup) HasEmailEnabled() bool
HasEmailEnabled returns a boolean if a field has been set.
func (*AlertReceiverUserGroup) HasIds ¶
func (o *AlertReceiverUserGroup) HasIds() bool
HasIds returns a boolean if a field has been set.
func (*AlertReceiverUserGroup) HasSmsEnabled ¶
func (o *AlertReceiverUserGroup) HasSmsEnabled() bool
HasSmsEnabled returns a boolean if a field has been set.
func (AlertReceiverUserGroup) MarshalJSON ¶
func (o AlertReceiverUserGroup) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertReceiverUserGroup) SetEmailEnabled ¶
func (o *AlertReceiverUserGroup) SetEmailEnabled(v bool)
SetEmailEnabled gets a reference to the given bool and assigns it to the EmailEnabled field.
func (*AlertReceiverUserGroup) SetIds ¶
func (o *AlertReceiverUserGroup) SetIds(v []string)
SetIds gets a reference to the given []string and assigns it to the Ids field.
func (*AlertReceiverUserGroup) SetSmsEnabled ¶
func (o *AlertReceiverUserGroup) SetSmsEnabled(v bool)
SetSmsEnabled gets a reference to the given bool and assigns it to the SmsEnabled field.
func (*AlertReceiverUserGroup) UnmarshalJSON ¶
func (o *AlertReceiverUserGroup) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertRule ¶
type AlertRule struct {
Description *string `json:"description,omitempty"`
Summary *string `json:"summary,omitempty"`
AlertName string `json:"alertName"`
Expr *string `json:"expr,omitempty"`
For *string `json:"for,omitempty"`
GroupName *string `json:"groupName,omitempty"`
Disabled *bool `json:"disabled,omitempty"`
Severity *AlertSeverity `json:"severity,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Alert metric information
Metric *AlertMetric `json:"metric,omitempty"`
OrgName *string `json:"orgName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertRule Alert rule information
func NewAlertRule ¶
NewAlertRule instantiates a new AlertRule object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertRuleWithDefaults ¶
func NewAlertRuleWithDefaults() *AlertRule
NewAlertRuleWithDefaults instantiates a new AlertRule object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertRule) GetAlertName ¶
GetAlertName returns the AlertName field value.
func (*AlertRule) GetAlertNameOk ¶
GetAlertNameOk returns a tuple with the AlertName field value and a boolean to check if the value has been set.
func (*AlertRule) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AlertRule) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*AlertRule) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetDisabled ¶
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*AlertRule) GetDisabledOk ¶
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetExprOk ¶
GetExprOk returns a tuple with the Expr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetForOk ¶
GetForOk returns a tuple with the For field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetGroupName ¶
GetGroupName returns the GroupName field value if set, zero value otherwise.
func (*AlertRule) GetGroupNameOk ¶
GetGroupNameOk returns a tuple with the GroupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetMetric ¶
func (o *AlertRule) GetMetric() AlertMetric
GetMetric returns the Metric field value if set, zero value otherwise.
func (*AlertRule) GetMetricOk ¶
func (o *AlertRule) GetMetricOk() (*AlertMetric, bool)
GetMetricOk returns a tuple with the Metric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetOrgName ¶
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AlertRule) GetOrgNameOk ¶
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetSeverity ¶
func (o *AlertRule) GetSeverity() AlertSeverity
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*AlertRule) GetSeverityOk ¶
func (o *AlertRule) GetSeverityOk() (*AlertSeverity, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetSummary ¶
GetSummary returns the Summary field value if set, zero value otherwise.
func (*AlertRule) GetSummaryOk ¶
GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AlertRule) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRule) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*AlertRule) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*AlertRule) HasDisabled ¶
HasDisabled returns a boolean if a field has been set.
func (*AlertRule) HasGroupName ¶
HasGroupName returns a boolean if a field has been set.
func (*AlertRule) HasOrgName ¶
HasOrgName returns a boolean if a field has been set.
func (*AlertRule) HasSeverity ¶
HasSeverity returns a boolean if a field has been set.
func (*AlertRule) HasSummary ¶
HasSummary returns a boolean if a field has been set.
func (*AlertRule) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (AlertRule) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*AlertRule) SetAlertName ¶
SetAlertName sets field value.
func (*AlertRule) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AlertRule) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AlertRule) SetDisabled ¶
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*AlertRule) SetExpr ¶
SetExpr gets a reference to the given string and assigns it to the Expr field.
func (*AlertRule) SetFor ¶
SetFor gets a reference to the given string and assigns it to the For field.
func (*AlertRule) SetGroupName ¶
SetGroupName gets a reference to the given string and assigns it to the GroupName field.
func (*AlertRule) SetMetric ¶
func (o *AlertRule) SetMetric(v AlertMetric)
SetMetric gets a reference to the given AlertMetric and assigns it to the Metric field.
func (*AlertRule) SetOrgName ¶
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AlertRule) SetSeverity ¶
func (o *AlertRule) SetSeverity(v AlertSeverity)
SetSeverity gets a reference to the given AlertSeverity and assigns it to the Severity field.
func (*AlertRule) SetSummary ¶
SetSummary gets a reference to the given string and assigns it to the Summary field.
func (*AlertRule) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*AlertRule) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type AlertRuleApi ¶
AlertRuleApi service type
func NewAlertRuleApi ¶
func NewAlertRuleApi(client *common.APIClient) *AlertRuleApi
NewAlertRuleApi Returns NewAlertRuleApi.
func (*AlertRuleApi) CreateAlertRule ¶
func (a *AlertRuleApi) CreateAlertRule(ctx _context.Context, orgName string, body AlertRule) (AlertRule, *_nethttp.Response, error)
CreateAlertRule Create alert rule.
func (*AlertRuleApi) DeleteAlertRule ¶
func (a *AlertRuleApi) DeleteAlertRule(ctx _context.Context, orgName string, alertName string) (interface{}, *_nethttp.Response, error)
DeleteAlertRule Delete alert rule.
func (*AlertRuleApi) GetAlertRule ¶
func (a *AlertRuleApi) GetAlertRule(ctx _context.Context, orgName string, alertName string) (AlertRule, *_nethttp.Response, error)
GetAlertRule .
func (*AlertRuleApi) ListAlertRules ¶
func (a *AlertRuleApi) ListAlertRules(ctx _context.Context, orgName string) (AlertRuleList, *_nethttp.Response, error)
ListAlertRules List alert rules.
type AlertRuleGroup ¶
type AlertRuleGroup struct {
Name *string `json:"name,omitempty"`
Rules []AlertRule `json:"rules,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertRuleGroup ¶
func NewAlertRuleGroup() *AlertRuleGroup
NewAlertRuleGroup instantiates a new AlertRuleGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertRuleGroupWithDefaults ¶
func NewAlertRuleGroupWithDefaults() *AlertRuleGroup
NewAlertRuleGroupWithDefaults instantiates a new AlertRuleGroup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertRuleGroup) GetName ¶
func (o *AlertRuleGroup) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AlertRuleGroup) GetNameOk ¶
func (o *AlertRuleGroup) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRuleGroup) GetRules ¶
func (o *AlertRuleGroup) GetRules() []AlertRule
GetRules returns the Rules field value if set, zero value otherwise.
func (*AlertRuleGroup) GetRulesOk ¶
func (o *AlertRuleGroup) GetRulesOk() (*[]AlertRule, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRuleGroup) HasName ¶
func (o *AlertRuleGroup) HasName() bool
HasName returns a boolean if a field has been set.
func (*AlertRuleGroup) HasRules ¶
func (o *AlertRuleGroup) HasRules() bool
HasRules returns a boolean if a field has been set.
func (AlertRuleGroup) MarshalJSON ¶
func (o AlertRuleGroup) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertRuleGroup) SetName ¶
func (o *AlertRuleGroup) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AlertRuleGroup) SetRules ¶
func (o *AlertRuleGroup) SetRules(v []AlertRule)
SetRules gets a reference to the given []AlertRule and assigns it to the Rules field.
func (*AlertRuleGroup) UnmarshalJSON ¶
func (o *AlertRuleGroup) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertRuleList ¶
type AlertRuleList struct {
// Items is the list of alert rule objects in the list
Items []AlertRuleGroup `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertRuleList AlertRuleList is a list of alert rules
func NewAlertRuleList ¶
func NewAlertRuleList(items []AlertRuleGroup) *AlertRuleList
NewAlertRuleList instantiates a new AlertRuleList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertRuleListWithDefaults ¶
func NewAlertRuleListWithDefaults() *AlertRuleList
NewAlertRuleListWithDefaults instantiates a new AlertRuleList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertRuleList) GetItems ¶
func (o *AlertRuleList) GetItems() []AlertRuleGroup
GetItems returns the Items field value.
func (*AlertRuleList) GetItemsOk ¶
func (o *AlertRuleList) GetItemsOk() (*[]AlertRuleGroup, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertRuleList) GetPageResult ¶
func (o *AlertRuleList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertRuleList) GetPageResultOk ¶
func (o *AlertRuleList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertRuleList) HasPageResult ¶
func (o *AlertRuleList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertRuleList) MarshalJSON ¶
func (o AlertRuleList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertRuleList) SetItems ¶
func (o *AlertRuleList) SetItems(v []AlertRuleGroup)
SetItems sets field value.
func (*AlertRuleList) SetPageResult ¶
func (o *AlertRuleList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertRuleList) UnmarshalJSON ¶
func (o *AlertRuleList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertSeverity ¶
type AlertSeverity string
const ( AlertSeverityCritical AlertSeverity = "critical" AlertSeverityWarning AlertSeverity = "warning" AlertSeverityInfo AlertSeverity = "info" )
List of AlertSeverity.
func NewAlertSeverityFromValue ¶
func NewAlertSeverityFromValue(v string) (*AlertSeverity, error)
NewAlertSeverityFromValue returns a pointer to a valid AlertSeverity for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AlertSeverity) GetAllowedValues ¶
func (v *AlertSeverity) GetAllowedValues() []AlertSeverity
GetAllowedValues returns the list of possible values.
func (AlertSeverity) IsValid ¶
func (v AlertSeverity) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AlertSeverity) Ptr ¶
func (v AlertSeverity) Ptr() *AlertSeverity
Ptr returns reference to AlertSeverity value.
func (*AlertSeverity) UnmarshalJSON ¶
func (v *AlertSeverity) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AlertStatus ¶
type AlertStatus string
const ( AlertStatusResolved AlertStatus = "resolved" AlertStatusFiring AlertStatus = "firing" )
List of AlertStatus.
func NewAlertStatusFromValue ¶
func NewAlertStatusFromValue(v string) (*AlertStatus, error)
NewAlertStatusFromValue returns a pointer to a valid AlertStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AlertStatus) GetAllowedValues ¶
func (v *AlertStatus) GetAllowedValues() []AlertStatus
GetAllowedValues returns the list of possible values.
func (AlertStatus) IsValid ¶
func (v AlertStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AlertStatus) Ptr ¶
func (v AlertStatus) Ptr() *AlertStatus
Ptr returns reference to AlertStatus value.
func (*AlertStatus) UnmarshalJSON ¶
func (v *AlertStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AlertStrategy ¶
type AlertStrategy struct {
Id *int32 `json:"id,omitempty"`
OrgName *string `json:"orgName,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
ReceiverIds []int32 `json:"receiverIds"`
Receivers []AlertReceiver `json:"receivers,omitempty"`
Envs []string `json:"envs,omitempty"`
Severities []string `json:"severities,omitempty"`
Rules []string `json:"rules,omitempty"`
RuleObjs []AlertRule `json:"ruleObjs,omitempty"`
Engines []string `json:"engines,omitempty"`
Clusters []string `json:"clusters,omitempty"`
Disabled *bool `json:"disabled,omitempty"`
RepeatInterval *string `json:"repeatInterval,omitempty"`
MuteTimeInterval *AlertStrategyMuteTimeInterval `json:"muteTimeInterval,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertStrategy Alert strategy information
func NewAlertStrategy ¶
func NewAlertStrategy(receiverIds []int32) *AlertStrategy
NewAlertStrategy instantiates a new AlertStrategy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertStrategyWithDefaults ¶
func NewAlertStrategyWithDefaults() *AlertStrategy
NewAlertStrategyWithDefaults instantiates a new AlertStrategy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertStrategy) GetClusters ¶
func (o *AlertStrategy) GetClusters() []string
GetClusters returns the Clusters field value if set, zero value otherwise.
func (*AlertStrategy) GetClustersOk ¶
func (o *AlertStrategy) GetClustersOk() (*[]string, bool)
GetClustersOk returns a tuple with the Clusters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetCreatedAt ¶
func (o *AlertStrategy) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AlertStrategy) GetCreatedAtOk ¶
func (o *AlertStrategy) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetDescription ¶
func (o *AlertStrategy) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AlertStrategy) GetDescriptionOk ¶
func (o *AlertStrategy) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetDisabled ¶
func (o *AlertStrategy) GetDisabled() bool
GetDisabled returns the Disabled field value if set, zero value otherwise.
func (*AlertStrategy) GetDisabledOk ¶
func (o *AlertStrategy) GetDisabledOk() (*bool, bool)
GetDisabledOk returns a tuple with the Disabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetEngines ¶
func (o *AlertStrategy) GetEngines() []string
GetEngines returns the Engines field value if set, zero value otherwise.
func (*AlertStrategy) GetEnginesOk ¶
func (o *AlertStrategy) GetEnginesOk() (*[]string, bool)
GetEnginesOk returns a tuple with the Engines field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetEnvs ¶
func (o *AlertStrategy) GetEnvs() []string
GetEnvs returns the Envs field value if set, zero value otherwise.
func (*AlertStrategy) GetEnvsOk ¶
func (o *AlertStrategy) GetEnvsOk() (*[]string, bool)
GetEnvsOk returns a tuple with the Envs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetId ¶
func (o *AlertStrategy) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*AlertStrategy) GetIdOk ¶
func (o *AlertStrategy) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetMuteTimeInterval ¶
func (o *AlertStrategy) GetMuteTimeInterval() AlertStrategyMuteTimeInterval
GetMuteTimeInterval returns the MuteTimeInterval field value if set, zero value otherwise.
func (*AlertStrategy) GetMuteTimeIntervalOk ¶
func (o *AlertStrategy) GetMuteTimeIntervalOk() (*AlertStrategyMuteTimeInterval, bool)
GetMuteTimeIntervalOk returns a tuple with the MuteTimeInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetName ¶
func (o *AlertStrategy) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AlertStrategy) GetNameOk ¶
func (o *AlertStrategy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetOrgName ¶
func (o *AlertStrategy) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AlertStrategy) GetOrgNameOk ¶
func (o *AlertStrategy) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetReceiverIds ¶
func (o *AlertStrategy) GetReceiverIds() []int32
GetReceiverIds returns the ReceiverIds field value.
func (*AlertStrategy) GetReceiverIdsOk ¶
func (o *AlertStrategy) GetReceiverIdsOk() (*[]int32, bool)
GetReceiverIdsOk returns a tuple with the ReceiverIds field value and a boolean to check if the value has been set.
func (*AlertStrategy) GetReceivers ¶
func (o *AlertStrategy) GetReceivers() []AlertReceiver
GetReceivers returns the Receivers field value if set, zero value otherwise.
func (*AlertStrategy) GetReceiversOk ¶
func (o *AlertStrategy) GetReceiversOk() (*[]AlertReceiver, bool)
GetReceiversOk returns a tuple with the Receivers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetRepeatInterval ¶
func (o *AlertStrategy) GetRepeatInterval() string
GetRepeatInterval returns the RepeatInterval field value if set, zero value otherwise.
func (*AlertStrategy) GetRepeatIntervalOk ¶
func (o *AlertStrategy) GetRepeatIntervalOk() (*string, bool)
GetRepeatIntervalOk returns a tuple with the RepeatInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetRuleObjs ¶
func (o *AlertStrategy) GetRuleObjs() []AlertRule
GetRuleObjs returns the RuleObjs field value if set, zero value otherwise.
func (*AlertStrategy) GetRuleObjsOk ¶
func (o *AlertStrategy) GetRuleObjsOk() (*[]AlertRule, bool)
GetRuleObjsOk returns a tuple with the RuleObjs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetRules ¶
func (o *AlertStrategy) GetRules() []string
GetRules returns the Rules field value if set, zero value otherwise.
func (*AlertStrategy) GetRulesOk ¶
func (o *AlertStrategy) GetRulesOk() (*[]string, bool)
GetRulesOk returns a tuple with the Rules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetSeverities ¶
func (o *AlertStrategy) GetSeverities() []string
GetSeverities returns the Severities field value if set, zero value otherwise.
func (*AlertStrategy) GetSeveritiesOk ¶
func (o *AlertStrategy) GetSeveritiesOk() (*[]string, bool)
GetSeveritiesOk returns a tuple with the Severities field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) GetUpdatedAt ¶
func (o *AlertStrategy) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AlertStrategy) GetUpdatedAtOk ¶
func (o *AlertStrategy) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategy) HasClusters ¶
func (o *AlertStrategy) HasClusters() bool
HasClusters returns a boolean if a field has been set.
func (*AlertStrategy) HasCreatedAt ¶
func (o *AlertStrategy) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AlertStrategy) HasDescription ¶
func (o *AlertStrategy) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AlertStrategy) HasDisabled ¶
func (o *AlertStrategy) HasDisabled() bool
HasDisabled returns a boolean if a field has been set.
func (*AlertStrategy) HasEngines ¶
func (o *AlertStrategy) HasEngines() bool
HasEngines returns a boolean if a field has been set.
func (*AlertStrategy) HasEnvs ¶
func (o *AlertStrategy) HasEnvs() bool
HasEnvs returns a boolean if a field has been set.
func (*AlertStrategy) HasId ¶
func (o *AlertStrategy) HasId() bool
HasId returns a boolean if a field has been set.
func (*AlertStrategy) HasMuteTimeInterval ¶
func (o *AlertStrategy) HasMuteTimeInterval() bool
HasMuteTimeInterval returns a boolean if a field has been set.
func (*AlertStrategy) HasName ¶
func (o *AlertStrategy) HasName() bool
HasName returns a boolean if a field has been set.
func (*AlertStrategy) HasOrgName ¶
func (o *AlertStrategy) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*AlertStrategy) HasReceivers ¶
func (o *AlertStrategy) HasReceivers() bool
HasReceivers returns a boolean if a field has been set.
func (*AlertStrategy) HasRepeatInterval ¶
func (o *AlertStrategy) HasRepeatInterval() bool
HasRepeatInterval returns a boolean if a field has been set.
func (*AlertStrategy) HasRuleObjs ¶
func (o *AlertStrategy) HasRuleObjs() bool
HasRuleObjs returns a boolean if a field has been set.
func (*AlertStrategy) HasRules ¶
func (o *AlertStrategy) HasRules() bool
HasRules returns a boolean if a field has been set.
func (*AlertStrategy) HasSeverities ¶
func (o *AlertStrategy) HasSeverities() bool
HasSeverities returns a boolean if a field has been set.
func (*AlertStrategy) HasUpdatedAt ¶
func (o *AlertStrategy) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AlertStrategy) MarshalJSON ¶
func (o AlertStrategy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertStrategy) SetClusters ¶
func (o *AlertStrategy) SetClusters(v []string)
SetClusters gets a reference to the given []string and assigns it to the Clusters field.
func (*AlertStrategy) SetCreatedAt ¶
func (o *AlertStrategy) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AlertStrategy) SetDescription ¶
func (o *AlertStrategy) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AlertStrategy) SetDisabled ¶
func (o *AlertStrategy) SetDisabled(v bool)
SetDisabled gets a reference to the given bool and assigns it to the Disabled field.
func (*AlertStrategy) SetEngines ¶
func (o *AlertStrategy) SetEngines(v []string)
SetEngines gets a reference to the given []string and assigns it to the Engines field.
func (*AlertStrategy) SetEnvs ¶
func (o *AlertStrategy) SetEnvs(v []string)
SetEnvs gets a reference to the given []string and assigns it to the Envs field.
func (*AlertStrategy) SetId ¶
func (o *AlertStrategy) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*AlertStrategy) SetMuteTimeInterval ¶
func (o *AlertStrategy) SetMuteTimeInterval(v AlertStrategyMuteTimeInterval)
SetMuteTimeInterval gets a reference to the given AlertStrategyMuteTimeInterval and assigns it to the MuteTimeInterval field.
func (*AlertStrategy) SetName ¶
func (o *AlertStrategy) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AlertStrategy) SetOrgName ¶
func (o *AlertStrategy) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AlertStrategy) SetReceiverIds ¶
func (o *AlertStrategy) SetReceiverIds(v []int32)
SetReceiverIds sets field value.
func (*AlertStrategy) SetReceivers ¶
func (o *AlertStrategy) SetReceivers(v []AlertReceiver)
SetReceivers gets a reference to the given []AlertReceiver and assigns it to the Receivers field.
func (*AlertStrategy) SetRepeatInterval ¶
func (o *AlertStrategy) SetRepeatInterval(v string)
SetRepeatInterval gets a reference to the given string and assigns it to the RepeatInterval field.
func (*AlertStrategy) SetRuleObjs ¶
func (o *AlertStrategy) SetRuleObjs(v []AlertRule)
SetRuleObjs gets a reference to the given []AlertRule and assigns it to the RuleObjs field.
func (*AlertStrategy) SetRules ¶
func (o *AlertStrategy) SetRules(v []string)
SetRules gets a reference to the given []string and assigns it to the Rules field.
func (*AlertStrategy) SetSeverities ¶
func (o *AlertStrategy) SetSeverities(v []string)
SetSeverities gets a reference to the given []string and assigns it to the Severities field.
func (*AlertStrategy) SetUpdatedAt ¶
func (o *AlertStrategy) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*AlertStrategy) UnmarshalJSON ¶
func (o *AlertStrategy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertStrategyApi ¶
AlertStrategyApi service type
func NewAlertStrategyApi ¶
func NewAlertStrategyApi(client *common.APIClient) *AlertStrategyApi
NewAlertStrategyApi Returns NewAlertStrategyApi.
func (*AlertStrategyApi) CreateAlertStrategy ¶
func (a *AlertStrategyApi) CreateAlertStrategy(ctx _context.Context, orgName string, body AlertStrategy) (AlertStrategy, *_nethttp.Response, error)
CreateAlertStrategy Create alert strategy.
func (*AlertStrategyApi) DeleteAlertStrategy ¶
func (a *AlertStrategyApi) DeleteAlertStrategy(ctx _context.Context, orgName string, strategyId string) (interface{}, *_nethttp.Response, error)
DeleteAlertStrategy Delete alert strategy.
func (*AlertStrategyApi) ListAlertStrategies ¶
func (a *AlertStrategyApi) ListAlertStrategies(ctx _context.Context, orgName string) (AlertStrategyList, *_nethttp.Response, error)
ListAlertStrategies List alert strategies.
func (*AlertStrategyApi) PatchAlertStrategy ¶
func (a *AlertStrategyApi) PatchAlertStrategy(ctx _context.Context, orgName string, body AlertStrategy) (interface{}, *_nethttp.Response, error)
PatchAlertStrategy Update alert strategy.
func (*AlertStrategyApi) UpdateAlertStrategy ¶
func (a *AlertStrategyApi) UpdateAlertStrategy(ctx _context.Context, orgName string, strategyId string, body AlertStrategy) (interface{}, *_nethttp.Response, error)
UpdateAlertStrategy Update alert strategy.
type AlertStrategyList ¶
type AlertStrategyList struct {
// Items is the list of alert strategy objects in the list
Items []AlertStrategy `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
AlertStrategyList AlertStrategyList is a list of alert strategies
func NewAlertStrategyList ¶
func NewAlertStrategyList(items []AlertStrategy) *AlertStrategyList
NewAlertStrategyList instantiates a new AlertStrategyList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertStrategyListWithDefaults ¶
func NewAlertStrategyListWithDefaults() *AlertStrategyList
NewAlertStrategyListWithDefaults instantiates a new AlertStrategyList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertStrategyList) GetItems ¶
func (o *AlertStrategyList) GetItems() []AlertStrategy
GetItems returns the Items field value.
func (*AlertStrategyList) GetItemsOk ¶
func (o *AlertStrategyList) GetItemsOk() (*[]AlertStrategy, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*AlertStrategyList) GetPageResult ¶
func (o *AlertStrategyList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*AlertStrategyList) GetPageResultOk ¶
func (o *AlertStrategyList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyList) HasPageResult ¶
func (o *AlertStrategyList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (AlertStrategyList) MarshalJSON ¶
func (o AlertStrategyList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertStrategyList) SetItems ¶
func (o *AlertStrategyList) SetItems(v []AlertStrategy)
SetItems sets field value.
func (*AlertStrategyList) SetPageResult ¶
func (o *AlertStrategyList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*AlertStrategyList) UnmarshalJSON ¶
func (o *AlertStrategyList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertStrategyMuteTimeInterval ¶
type AlertStrategyMuteTimeInterval struct {
Weekdays []int32 `json:"weekdays,omitempty"`
Times *AlertStrategyMuteTimeIntervalTimes `json:"times,omitempty"`
// Only mute once for `onceMinutes` minutes
OnceMinutes *int32 `json:"onceMinutes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertStrategyMuteTimeInterval ¶
func NewAlertStrategyMuteTimeInterval() *AlertStrategyMuteTimeInterval
NewAlertStrategyMuteTimeInterval instantiates a new AlertStrategyMuteTimeInterval object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertStrategyMuteTimeIntervalWithDefaults ¶
func NewAlertStrategyMuteTimeIntervalWithDefaults() *AlertStrategyMuteTimeInterval
NewAlertStrategyMuteTimeIntervalWithDefaults instantiates a new AlertStrategyMuteTimeInterval object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertStrategyMuteTimeInterval) GetOnceMinutes ¶
func (o *AlertStrategyMuteTimeInterval) GetOnceMinutes() int32
GetOnceMinutes returns the OnceMinutes field value if set, zero value otherwise.
func (*AlertStrategyMuteTimeInterval) GetOnceMinutesOk ¶
func (o *AlertStrategyMuteTimeInterval) GetOnceMinutesOk() (*int32, bool)
GetOnceMinutesOk returns a tuple with the OnceMinutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyMuteTimeInterval) GetTimes ¶
func (o *AlertStrategyMuteTimeInterval) GetTimes() AlertStrategyMuteTimeIntervalTimes
GetTimes returns the Times field value if set, zero value otherwise.
func (*AlertStrategyMuteTimeInterval) GetTimesOk ¶
func (o *AlertStrategyMuteTimeInterval) GetTimesOk() (*AlertStrategyMuteTimeIntervalTimes, bool)
GetTimesOk returns a tuple with the Times field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyMuteTimeInterval) GetWeekdays ¶
func (o *AlertStrategyMuteTimeInterval) GetWeekdays() []int32
GetWeekdays returns the Weekdays field value if set, zero value otherwise.
func (*AlertStrategyMuteTimeInterval) GetWeekdaysOk ¶
func (o *AlertStrategyMuteTimeInterval) GetWeekdaysOk() (*[]int32, bool)
GetWeekdaysOk returns a tuple with the Weekdays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyMuteTimeInterval) HasOnceMinutes ¶
func (o *AlertStrategyMuteTimeInterval) HasOnceMinutes() bool
HasOnceMinutes returns a boolean if a field has been set.
func (*AlertStrategyMuteTimeInterval) HasTimes ¶
func (o *AlertStrategyMuteTimeInterval) HasTimes() bool
HasTimes returns a boolean if a field has been set.
func (*AlertStrategyMuteTimeInterval) HasWeekdays ¶
func (o *AlertStrategyMuteTimeInterval) HasWeekdays() bool
HasWeekdays returns a boolean if a field has been set.
func (AlertStrategyMuteTimeInterval) MarshalJSON ¶
func (o AlertStrategyMuteTimeInterval) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertStrategyMuteTimeInterval) SetOnceMinutes ¶
func (o *AlertStrategyMuteTimeInterval) SetOnceMinutes(v int32)
SetOnceMinutes gets a reference to the given int32 and assigns it to the OnceMinutes field.
func (*AlertStrategyMuteTimeInterval) SetTimes ¶
func (o *AlertStrategyMuteTimeInterval) SetTimes(v AlertStrategyMuteTimeIntervalTimes)
SetTimes gets a reference to the given AlertStrategyMuteTimeIntervalTimes and assigns it to the Times field.
func (*AlertStrategyMuteTimeInterval) SetWeekdays ¶
func (o *AlertStrategyMuteTimeInterval) SetWeekdays(v []int32)
SetWeekdays gets a reference to the given []int32 and assigns it to the Weekdays field.
func (*AlertStrategyMuteTimeInterval) UnmarshalJSON ¶
func (o *AlertStrategyMuteTimeInterval) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AlertStrategyMuteTimeIntervalTimes ¶
type AlertStrategyMuteTimeIntervalTimes struct {
// Mute start time, e.g. '17:00', should be in UTC time.
StartTime *string `json:"startTime,omitempty"`
// Mute end time, e.g. '24:00', should be in UTC time.
EndTime *string `json:"endTime,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAlertStrategyMuteTimeIntervalTimes ¶
func NewAlertStrategyMuteTimeIntervalTimes() *AlertStrategyMuteTimeIntervalTimes
NewAlertStrategyMuteTimeIntervalTimes instantiates a new AlertStrategyMuteTimeIntervalTimes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAlertStrategyMuteTimeIntervalTimesWithDefaults ¶
func NewAlertStrategyMuteTimeIntervalTimesWithDefaults() *AlertStrategyMuteTimeIntervalTimes
NewAlertStrategyMuteTimeIntervalTimesWithDefaults instantiates a new AlertStrategyMuteTimeIntervalTimes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AlertStrategyMuteTimeIntervalTimes) GetEndTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) GetEndTime() string
GetEndTime returns the EndTime field value if set, zero value otherwise.
func (*AlertStrategyMuteTimeIntervalTimes) GetEndTimeOk ¶
func (o *AlertStrategyMuteTimeIntervalTimes) GetEndTimeOk() (*string, bool)
GetEndTimeOk returns a tuple with the EndTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyMuteTimeIntervalTimes) GetStartTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*AlertStrategyMuteTimeIntervalTimes) GetStartTimeOk ¶
func (o *AlertStrategyMuteTimeIntervalTimes) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlertStrategyMuteTimeIntervalTimes) HasEndTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (*AlertStrategyMuteTimeIntervalTimes) HasStartTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (AlertStrategyMuteTimeIntervalTimes) MarshalJSON ¶
func (o AlertStrategyMuteTimeIntervalTimes) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AlertStrategyMuteTimeIntervalTimes) SetEndTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) SetEndTime(v string)
SetEndTime gets a reference to the given string and assigns it to the EndTime field.
func (*AlertStrategyMuteTimeIntervalTimes) SetStartTime ¶
func (o *AlertStrategyMuteTimeIntervalTimes) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (*AlertStrategyMuteTimeIntervalTimes) UnmarshalJSON ¶
func (o *AlertStrategyMuteTimeIntervalTimes) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AnalysisResult ¶
type AnalysisResult struct {
Explanation *string `json:"explanation,omitempty"`
Error *string `json:"error,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAnalysisResult ¶
func NewAnalysisResult() *AnalysisResult
NewAnalysisResult instantiates a new AnalysisResult object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAnalysisResultWithDefaults ¶
func NewAnalysisResultWithDefaults() *AnalysisResult
NewAnalysisResultWithDefaults instantiates a new AnalysisResult object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AnalysisResult) GetError ¶
func (o *AnalysisResult) GetError() string
GetError returns the Error field value if set, zero value otherwise.
func (*AnalysisResult) GetErrorOk ¶
func (o *AnalysisResult) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalysisResult) GetExplanation ¶
func (o *AnalysisResult) GetExplanation() string
GetExplanation returns the Explanation field value if set, zero value otherwise.
func (*AnalysisResult) GetExplanationOk ¶
func (o *AnalysisResult) GetExplanationOk() (*string, bool)
GetExplanationOk returns a tuple with the Explanation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnalysisResult) HasError ¶
func (o *AnalysisResult) HasError() bool
HasError returns a boolean if a field has been set.
func (*AnalysisResult) HasExplanation ¶
func (o *AnalysisResult) HasExplanation() bool
HasExplanation returns a boolean if a field has been set.
func (AnalysisResult) MarshalJSON ¶
func (o AnalysisResult) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AnalysisResult) SetError ¶
func (o *AnalysisResult) SetError(v string)
SetError gets a reference to the given string and assigns it to the Error field.
func (*AnalysisResult) SetExplanation ¶
func (o *AnalysisResult) SetExplanation(v string)
SetExplanation gets a reference to the given string and assigns it to the Explanation field.
func (*AnalysisResult) UnmarshalJSON ¶
func (o *AnalysisResult) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AnalyzeApi ¶
AnalyzeApi service type
func NewAnalyzeApi ¶
func NewAnalyzeApi(client *common.APIClient) *AnalyzeApi
NewAnalyzeApi Returns NewAnalyzeApi.
func (*AnalyzeApi) AnalyzeBackup ¶
func (a *AnalyzeApi) AnalyzeBackup(ctx _context.Context, orgName string, backupId string) (AnalysisResult, *_nethttp.Response, error)
AnalyzeBackup Analyze backup.
func (*AnalyzeApi) AnalyzeClusterParam ¶
func (a *AnalyzeApi) AnalyzeClusterParam(ctx _context.Context, orgName string, clusterName string, parameterName string, o ...AnalyzeClusterParamOptionalParameters) (AnalysisResult, *_nethttp.Response, error)
AnalyzeClusterParam Analyze cluster parameter.
func (*AnalyzeApi) AnalyzeClusterRestore ¶
func (a *AnalyzeApi) AnalyzeClusterRestore(ctx _context.Context, orgName string, clusterName string) (AnalysisResult, *_nethttp.Response, error)
AnalyzeClusterRestore Analyze cluster restore tasks.
func (*AnalyzeApi) AnalyzeLogs ¶
func (a *AnalyzeApi) AnalyzeLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...AnalyzeLogsOptionalParameters) (AnalysisResult, *_nethttp.Response, error)
AnalyzeLogs Analyze cluster error logs. Analyze error logs of a cluster
func (*AnalyzeApi) AnalyzeOps ¶
func (a *AnalyzeApi) AnalyzeOps(ctx _context.Context, orgName string, opsName string, clusterName string, opsType string) (AnalysisResult, *_nethttp.Response, error)
AnalyzeOps Analyze OpsRequest. analyze a OpsRequest
func (*AnalyzeApi) AnalyzeParam ¶
func (a *AnalyzeApi) AnalyzeParam(ctx _context.Context, paramTplName string, parameterName string, o ...AnalyzeParamOptionalParameters) (AnalysisResult, *_nethttp.Response, error)
AnalyzeParam Analyze parameter.
func (*AnalyzeApi) AnalyzeService ¶
func (a *AnalyzeApi) AnalyzeService(ctx _context.Context, orgName string, clusterName string, serviceName string, o ...AnalyzeServiceOptionalParameters) (AnalysisResult, *_nethttp.Response, error)
AnalyzeService Analyze service.
func (*AnalyzeApi) AnalyzeSlowLogs ¶
func (a *AnalyzeApi) AnalyzeSlowLogs(ctx _context.Context, orgName string, clusterName string, o ...AnalyzeSlowLogsOptionalParameters) (AnalysisResult, *_nethttp.Response, error)
AnalyzeSlowLogs Analyze cluster slow logs. Analyze slow logs of a cluster
func (*AnalyzeApi) AnalyzeView ¶
func (a *AnalyzeApi) AnalyzeView(ctx _context.Context, orgName string, clusterName string) (AnalysisResult, *_nethttp.Response, error)
AnalyzeView Analyze cluster view.
type AnalyzeClusterParamOptionalParameters ¶
type AnalyzeClusterParamOptionalParameters struct {
ParameterValue *string
}
AnalyzeClusterParamOptionalParameters holds optional parameters for AnalyzeClusterParam.
func NewAnalyzeClusterParamOptionalParameters ¶
func NewAnalyzeClusterParamOptionalParameters() *AnalyzeClusterParamOptionalParameters
NewAnalyzeClusterParamOptionalParameters creates an empty struct for parameters.
func (*AnalyzeClusterParamOptionalParameters) WithParameterValue ¶
func (r *AnalyzeClusterParamOptionalParameters) WithParameterValue(parameterValue string) *AnalyzeClusterParamOptionalParameters
WithParameterValue sets the corresponding parameter name and returns the struct.
type AnalyzeLogsOptionalParameters ¶
type AnalyzeLogsOptionalParameters struct {
ComponentName *string
InstanceName *string
Limit *string
SortType *SortType
}
AnalyzeLogsOptionalParameters holds optional parameters for AnalyzeLogs.
func NewAnalyzeLogsOptionalParameters ¶
func NewAnalyzeLogsOptionalParameters() *AnalyzeLogsOptionalParameters
NewAnalyzeLogsOptionalParameters creates an empty struct for parameters.
func (*AnalyzeLogsOptionalParameters) WithComponentName ¶
func (r *AnalyzeLogsOptionalParameters) WithComponentName(componentName string) *AnalyzeLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*AnalyzeLogsOptionalParameters) WithInstanceName ¶
func (r *AnalyzeLogsOptionalParameters) WithInstanceName(instanceName string) *AnalyzeLogsOptionalParameters
WithInstanceName sets the corresponding parameter name and returns the struct.
func (*AnalyzeLogsOptionalParameters) WithLimit ¶
func (r *AnalyzeLogsOptionalParameters) WithLimit(limit string) *AnalyzeLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*AnalyzeLogsOptionalParameters) WithSortType ¶
func (r *AnalyzeLogsOptionalParameters) WithSortType(sortType SortType) *AnalyzeLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type AnalyzeParamOptionalParameters ¶
type AnalyzeParamOptionalParameters struct {
OrgName *string
Partition *ParamTplPartition
}
AnalyzeParamOptionalParameters holds optional parameters for AnalyzeParam.
func NewAnalyzeParamOptionalParameters ¶
func NewAnalyzeParamOptionalParameters() *AnalyzeParamOptionalParameters
NewAnalyzeParamOptionalParameters creates an empty struct for parameters.
func (*AnalyzeParamOptionalParameters) WithOrgName ¶
func (r *AnalyzeParamOptionalParameters) WithOrgName(orgName string) *AnalyzeParamOptionalParameters
WithOrgName sets the corresponding parameter name and returns the struct.
func (*AnalyzeParamOptionalParameters) WithPartition ¶
func (r *AnalyzeParamOptionalParameters) WithPartition(partition ParamTplPartition) *AnalyzeParamOptionalParameters
WithPartition sets the corresponding parameter name and returns the struct.
type AnalyzeServiceOptionalParameters ¶
AnalyzeServiceOptionalParameters holds optional parameters for AnalyzeService.
func NewAnalyzeServiceOptionalParameters ¶
func NewAnalyzeServiceOptionalParameters() *AnalyzeServiceOptionalParameters
NewAnalyzeServiceOptionalParameters creates an empty struct for parameters.
func (*AnalyzeServiceOptionalParameters) WithEndpoints ¶
func (r *AnalyzeServiceOptionalParameters) WithEndpoints(endpoints string) *AnalyzeServiceOptionalParameters
WithEndpoints sets the corresponding parameter name and returns the struct.
func (*AnalyzeServiceOptionalParameters) WithPortName ¶
func (r *AnalyzeServiceOptionalParameters) WithPortName(portName string) *AnalyzeServiceOptionalParameters
WithPortName sets the corresponding parameter name and returns the struct.
type AnalyzeSlowLogsOptionalParameters ¶
type AnalyzeSlowLogsOptionalParameters struct {
Body *ClusterExecutionLog
}
AnalyzeSlowLogsOptionalParameters holds optional parameters for AnalyzeSlowLogs.
func NewAnalyzeSlowLogsOptionalParameters ¶
func NewAnalyzeSlowLogsOptionalParameters() *AnalyzeSlowLogsOptionalParameters
NewAnalyzeSlowLogsOptionalParameters creates an empty struct for parameters.
func (*AnalyzeSlowLogsOptionalParameters) WithBody ¶
func (r *AnalyzeSlowLogsOptionalParameters) WithBody(body ClusterExecutionLog) *AnalyzeSlowLogsOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type Apikey ¶
type Apikey struct {
// The name of the APIKey
AccessKey string `json:"accessKey"`
// The description for APIKey
Description string `json:"description"`
// The expired time of APIKey, return empty without setting duration
ExpiredAt time.Time `json:"expiredAt"`
// The create time of APIKey
CreateAt time.Time `json:"createAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Apikey APIKey is the key for API access
func NewApikey ¶
func NewApikey(accessKey string, description string, expiredAt time.Time, createAt time.Time) *Apikey
NewApikey instantiates a new Apikey object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApikeyWithDefaults ¶
func NewApikeyWithDefaults() *Apikey
NewApikeyWithDefaults instantiates a new Apikey object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Apikey) GetAccessKey ¶
GetAccessKey returns the AccessKey field value.
func (*Apikey) GetAccessKeyOk ¶
GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set.
func (*Apikey) GetCreateAt ¶
GetCreateAt returns the CreateAt field value.
func (*Apikey) GetCreateAtOk ¶
GetCreateAtOk returns a tuple with the CreateAt field value and a boolean to check if the value has been set.
func (*Apikey) GetDescription ¶
GetDescription returns the Description field value.
func (*Apikey) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Apikey) GetExpiredAt ¶
GetExpiredAt returns the ExpiredAt field value.
func (*Apikey) GetExpiredAtOk ¶
GetExpiredAtOk returns a tuple with the ExpiredAt field value and a boolean to check if the value has been set.
func (Apikey) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Apikey) SetAccessKey ¶
SetAccessKey sets field value.
func (*Apikey) SetCreateAt ¶
SetCreateAt sets field value.
func (*Apikey) SetDescription ¶
SetDescription sets field value.
func (*Apikey) SetExpiredAt ¶
SetExpiredAt sets field value.
func (*Apikey) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ApikeyCreate ¶
type ApikeyCreate struct {
// The description of the APIKey
Description string `json:"description"`
// The expired time of the APIKey
ExpiredAt time.Time `json:"expiredAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ApikeyCreate APIKeyCreate is the payload for creating an APIKey
func NewApikeyCreate ¶
func NewApikeyCreate(description string, expiredAt time.Time) *ApikeyCreate
NewApikeyCreate instantiates a new ApikeyCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApikeyCreateWithDefaults ¶
func NewApikeyCreateWithDefaults() *ApikeyCreate
NewApikeyCreateWithDefaults instantiates a new ApikeyCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApikeyCreate) GetDescription ¶
func (o *ApikeyCreate) GetDescription() string
GetDescription returns the Description field value.
func (*ApikeyCreate) GetDescriptionOk ¶
func (o *ApikeyCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ApikeyCreate) GetExpiredAt ¶
func (o *ApikeyCreate) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value.
func (*ApikeyCreate) GetExpiredAtOk ¶
func (o *ApikeyCreate) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value and a boolean to check if the value has been set.
func (ApikeyCreate) MarshalJSON ¶
func (o ApikeyCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApikeyCreate) SetDescription ¶
func (o *ApikeyCreate) SetDescription(v string)
SetDescription sets field value.
func (*ApikeyCreate) SetExpiredAt ¶
func (o *ApikeyCreate) SetExpiredAt(v time.Time)
SetExpiredAt sets field value.
func (*ApikeyCreate) UnmarshalJSON ¶
func (o *ApikeyCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApikeyList ¶
type ApikeyList struct {
// Items is the list of APIKey objects in the list
Items []Apikey `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ApikeyList APIKeys is a list of APIKey objects
func NewApikeyList ¶
func NewApikeyList(items []Apikey) *ApikeyList
NewApikeyList instantiates a new ApikeyList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApikeyListWithDefaults ¶
func NewApikeyListWithDefaults() *ApikeyList
NewApikeyListWithDefaults instantiates a new ApikeyList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApikeyList) GetItems ¶
func (o *ApikeyList) GetItems() []Apikey
GetItems returns the Items field value.
func (*ApikeyList) GetItemsOk ¶
func (o *ApikeyList) GetItemsOk() (*[]Apikey, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ApikeyList) GetPageResult ¶
func (o *ApikeyList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*ApikeyList) GetPageResultOk ¶
func (o *ApikeyList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApikeyList) HasPageResult ¶
func (o *ApikeyList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (ApikeyList) MarshalJSON ¶
func (o ApikeyList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApikeyList) SetPageResult ¶
func (o *ApikeyList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*ApikeyList) UnmarshalJSON ¶
func (o *ApikeyList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ApikeyWithSK ¶
type ApikeyWithSK struct {
// The accessKey of the APIKey
AccessKey string `json:"accessKey"`
// The secretKey of the APIKey
SecretKey string `json:"secretKey"`
// The description of the APIKey
Description string `json:"description"`
// The expired time of APIKey
ExpiredAt time.Time `json:"expiredAt"`
// The create time of APIKey
CreateAt time.Time `json:"createAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ApikeyWithSK APIKeyWithSK is the response for creating an APIKey
func NewApikeyWithSK ¶
func NewApikeyWithSK(accessKey string, secretKey string, description string, expiredAt time.Time, createAt time.Time) *ApikeyWithSK
NewApikeyWithSK instantiates a new ApikeyWithSK object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewApikeyWithSKWithDefaults ¶
func NewApikeyWithSKWithDefaults() *ApikeyWithSK
NewApikeyWithSKWithDefaults instantiates a new ApikeyWithSK object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ApikeyWithSK) GetAccessKey ¶
func (o *ApikeyWithSK) GetAccessKey() string
GetAccessKey returns the AccessKey field value.
func (*ApikeyWithSK) GetAccessKeyOk ¶
func (o *ApikeyWithSK) GetAccessKeyOk() (*string, bool)
GetAccessKeyOk returns a tuple with the AccessKey field value and a boolean to check if the value has been set.
func (*ApikeyWithSK) GetCreateAt ¶
func (o *ApikeyWithSK) GetCreateAt() time.Time
GetCreateAt returns the CreateAt field value.
func (*ApikeyWithSK) GetCreateAtOk ¶
func (o *ApikeyWithSK) GetCreateAtOk() (*time.Time, bool)
GetCreateAtOk returns a tuple with the CreateAt field value and a boolean to check if the value has been set.
func (*ApikeyWithSK) GetDescription ¶
func (o *ApikeyWithSK) GetDescription() string
GetDescription returns the Description field value.
func (*ApikeyWithSK) GetDescriptionOk ¶
func (o *ApikeyWithSK) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ApikeyWithSK) GetExpiredAt ¶
func (o *ApikeyWithSK) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value.
func (*ApikeyWithSK) GetExpiredAtOk ¶
func (o *ApikeyWithSK) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value and a boolean to check if the value has been set.
func (*ApikeyWithSK) GetSecretKey ¶
func (o *ApikeyWithSK) GetSecretKey() string
GetSecretKey returns the SecretKey field value.
func (*ApikeyWithSK) GetSecretKeyOk ¶
func (o *ApikeyWithSK) GetSecretKeyOk() (*string, bool)
GetSecretKeyOk returns a tuple with the SecretKey field value and a boolean to check if the value has been set.
func (ApikeyWithSK) MarshalJSON ¶
func (o ApikeyWithSK) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ApikeyWithSK) SetAccessKey ¶
func (o *ApikeyWithSK) SetAccessKey(v string)
SetAccessKey sets field value.
func (*ApikeyWithSK) SetCreateAt ¶
func (o *ApikeyWithSK) SetCreateAt(v time.Time)
SetCreateAt sets field value.
func (*ApikeyWithSK) SetDescription ¶
func (o *ApikeyWithSK) SetDescription(v string)
SetDescription sets field value.
func (*ApikeyWithSK) SetExpiredAt ¶
func (o *ApikeyWithSK) SetExpiredAt(v time.Time)
SetExpiredAt sets field value.
func (*ApikeyWithSK) SetSecretKey ¶
func (o *ApikeyWithSK) SetSecretKey(v string)
SetSecretKey sets field value.
func (*ApikeyWithSK) UnmarshalJSON ¶
func (o *ApikeyWithSK) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AutoInspection ¶
type AutoInspection struct {
Id *int32 `json:"id,omitempty"`
OrgName *string `json:"orgName,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Creator *string `json:"creator,omitempty"`
Schedule *string `json:"schedule,omitempty"`
// Specifies the unit of time for the auto inspection schedule.
RunEvery *AutoInspectionRunUnit `json:"runEvery,omitempty"`
DaysOfWeek []int32 `json:"daysOfWeek,omitempty"`
DaysOfMonth []int32 `json:"daysOfMonth,omitempty"`
Hour *int32 `json:"hour,omitempty"`
Minute *int32 `json:"minute,omitempty"`
SavedDays *int32 `json:"savedDays,omitempty"`
NextRunTime *time.Time `json:"nextRunTime,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAutoInspection ¶
func NewAutoInspection() *AutoInspection
NewAutoInspection instantiates a new AutoInspection object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAutoInspectionWithDefaults ¶
func NewAutoInspectionWithDefaults() *AutoInspection
NewAutoInspectionWithDefaults instantiates a new AutoInspection object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AutoInspection) GetCreatedAt ¶
func (o *AutoInspection) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AutoInspection) GetCreatedAtOk ¶
func (o *AutoInspection) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetCreator ¶
func (o *AutoInspection) GetCreator() string
GetCreator returns the Creator field value if set, zero value otherwise.
func (*AutoInspection) GetCreatorOk ¶
func (o *AutoInspection) GetCreatorOk() (*string, bool)
GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetDaysOfMonth ¶
func (o *AutoInspection) GetDaysOfMonth() []int32
GetDaysOfMonth returns the DaysOfMonth field value if set, zero value otherwise.
func (*AutoInspection) GetDaysOfMonthOk ¶
func (o *AutoInspection) GetDaysOfMonthOk() (*[]int32, bool)
GetDaysOfMonthOk returns a tuple with the DaysOfMonth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetDaysOfWeek ¶
func (o *AutoInspection) GetDaysOfWeek() []int32
GetDaysOfWeek returns the DaysOfWeek field value if set, zero value otherwise.
func (*AutoInspection) GetDaysOfWeekOk ¶
func (o *AutoInspection) GetDaysOfWeekOk() (*[]int32, bool)
GetDaysOfWeekOk returns a tuple with the DaysOfWeek field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetEnabled ¶
func (o *AutoInspection) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*AutoInspection) GetEnabledOk ¶
func (o *AutoInspection) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetHour ¶
func (o *AutoInspection) GetHour() int32
GetHour returns the Hour field value if set, zero value otherwise.
func (*AutoInspection) GetHourOk ¶
func (o *AutoInspection) GetHourOk() (*int32, bool)
GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetId ¶
func (o *AutoInspection) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*AutoInspection) GetIdOk ¶
func (o *AutoInspection) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetMinute ¶
func (o *AutoInspection) GetMinute() int32
GetMinute returns the Minute field value if set, zero value otherwise.
func (*AutoInspection) GetMinuteOk ¶
func (o *AutoInspection) GetMinuteOk() (*int32, bool)
GetMinuteOk returns a tuple with the Minute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetNextRunTime ¶
func (o *AutoInspection) GetNextRunTime() time.Time
GetNextRunTime returns the NextRunTime field value if set, zero value otherwise.
func (*AutoInspection) GetNextRunTimeOk ¶
func (o *AutoInspection) GetNextRunTimeOk() (*time.Time, bool)
GetNextRunTimeOk returns a tuple with the NextRunTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetOrgName ¶
func (o *AutoInspection) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*AutoInspection) GetOrgNameOk ¶
func (o *AutoInspection) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetRunEvery ¶
func (o *AutoInspection) GetRunEvery() AutoInspectionRunUnit
GetRunEvery returns the RunEvery field value if set, zero value otherwise.
func (*AutoInspection) GetRunEveryOk ¶
func (o *AutoInspection) GetRunEveryOk() (*AutoInspectionRunUnit, bool)
GetRunEveryOk returns a tuple with the RunEvery field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetSavedDays ¶
func (o *AutoInspection) GetSavedDays() int32
GetSavedDays returns the SavedDays field value if set, zero value otherwise.
func (*AutoInspection) GetSavedDaysOk ¶
func (o *AutoInspection) GetSavedDaysOk() (*int32, bool)
GetSavedDaysOk returns a tuple with the SavedDays field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetSchedule ¶
func (o *AutoInspection) GetSchedule() string
GetSchedule returns the Schedule field value if set, zero value otherwise.
func (*AutoInspection) GetScheduleOk ¶
func (o *AutoInspection) GetScheduleOk() (*string, bool)
GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) GetUpdatedAt ¶
func (o *AutoInspection) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AutoInspection) GetUpdatedAtOk ¶
func (o *AutoInspection) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutoInspection) HasCreatedAt ¶
func (o *AutoInspection) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AutoInspection) HasCreator ¶
func (o *AutoInspection) HasCreator() bool
HasCreator returns a boolean if a field has been set.
func (*AutoInspection) HasDaysOfMonth ¶
func (o *AutoInspection) HasDaysOfMonth() bool
HasDaysOfMonth returns a boolean if a field has been set.
func (*AutoInspection) HasDaysOfWeek ¶
func (o *AutoInspection) HasDaysOfWeek() bool
HasDaysOfWeek returns a boolean if a field has been set.
func (*AutoInspection) HasEnabled ¶
func (o *AutoInspection) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*AutoInspection) HasHour ¶
func (o *AutoInspection) HasHour() bool
HasHour returns a boolean if a field has been set.
func (*AutoInspection) HasId ¶
func (o *AutoInspection) HasId() bool
HasId returns a boolean if a field has been set.
func (*AutoInspection) HasMinute ¶
func (o *AutoInspection) HasMinute() bool
HasMinute returns a boolean if a field has been set.
func (*AutoInspection) HasNextRunTime ¶
func (o *AutoInspection) HasNextRunTime() bool
HasNextRunTime returns a boolean if a field has been set.
func (*AutoInspection) HasOrgName ¶
func (o *AutoInspection) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*AutoInspection) HasRunEvery ¶
func (o *AutoInspection) HasRunEvery() bool
HasRunEvery returns a boolean if a field has been set.
func (*AutoInspection) HasSavedDays ¶
func (o *AutoInspection) HasSavedDays() bool
HasSavedDays returns a boolean if a field has been set.
func (*AutoInspection) HasSchedule ¶
func (o *AutoInspection) HasSchedule() bool
HasSchedule returns a boolean if a field has been set.
func (*AutoInspection) HasUpdatedAt ¶
func (o *AutoInspection) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AutoInspection) MarshalJSON ¶
func (o AutoInspection) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AutoInspection) SetCreatedAt ¶
func (o *AutoInspection) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AutoInspection) SetCreator ¶
func (o *AutoInspection) SetCreator(v string)
SetCreator gets a reference to the given string and assigns it to the Creator field.
func (*AutoInspection) SetDaysOfMonth ¶
func (o *AutoInspection) SetDaysOfMonth(v []int32)
SetDaysOfMonth gets a reference to the given []int32 and assigns it to the DaysOfMonth field.
func (*AutoInspection) SetDaysOfWeek ¶
func (o *AutoInspection) SetDaysOfWeek(v []int32)
SetDaysOfWeek gets a reference to the given []int32 and assigns it to the DaysOfWeek field.
func (*AutoInspection) SetEnabled ¶
func (o *AutoInspection) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*AutoInspection) SetHour ¶
func (o *AutoInspection) SetHour(v int32)
SetHour gets a reference to the given int32 and assigns it to the Hour field.
func (*AutoInspection) SetId ¶
func (o *AutoInspection) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*AutoInspection) SetMinute ¶
func (o *AutoInspection) SetMinute(v int32)
SetMinute gets a reference to the given int32 and assigns it to the Minute field.
func (*AutoInspection) SetNextRunTime ¶
func (o *AutoInspection) SetNextRunTime(v time.Time)
SetNextRunTime gets a reference to the given time.Time and assigns it to the NextRunTime field.
func (*AutoInspection) SetOrgName ¶
func (o *AutoInspection) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*AutoInspection) SetRunEvery ¶
func (o *AutoInspection) SetRunEvery(v AutoInspectionRunUnit)
SetRunEvery gets a reference to the given AutoInspectionRunUnit and assigns it to the RunEvery field.
func (*AutoInspection) SetSavedDays ¶
func (o *AutoInspection) SetSavedDays(v int32)
SetSavedDays gets a reference to the given int32 and assigns it to the SavedDays field.
func (*AutoInspection) SetSchedule ¶
func (o *AutoInspection) SetSchedule(v string)
SetSchedule gets a reference to the given string and assigns it to the Schedule field.
func (*AutoInspection) SetUpdatedAt ¶
func (o *AutoInspection) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*AutoInspection) UnmarshalJSON ¶
func (o *AutoInspection) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type AutoInspectionRunUnit ¶
type AutoInspectionRunUnit string
AutoInspectionRunUnit Specifies the unit of time for the auto inspection schedule.
const ( AutoInspectionRunUnitHour AutoInspectionRunUnit = "hour" AutoInspectionRunUnitDay AutoInspectionRunUnit = "day" AutoInspectionRunUnitWeek AutoInspectionRunUnit = "week" AutoInspectionRunUnitMonth AutoInspectionRunUnit = "month" )
List of AutoInspectionRunUnit.
func NewAutoInspectionRunUnitFromValue ¶
func NewAutoInspectionRunUnitFromValue(v string) (*AutoInspectionRunUnit, error)
NewAutoInspectionRunUnitFromValue returns a pointer to a valid AutoInspectionRunUnit for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*AutoInspectionRunUnit) GetAllowedValues ¶
func (v *AutoInspectionRunUnit) GetAllowedValues() []AutoInspectionRunUnit
GetAllowedValues returns the list of possible values.
func (AutoInspectionRunUnit) IsValid ¶
func (v AutoInspectionRunUnit) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (AutoInspectionRunUnit) Ptr ¶
func (v AutoInspectionRunUnit) Ptr() *AutoInspectionRunUnit
Ptr returns reference to AutoInspectionRunUnit value.
func (*AutoInspectionRunUnit) UnmarshalJSON ¶
func (v *AutoInspectionRunUnit) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type AutohealingApi ¶
AutohealingApi service type
func NewAutohealingApi ¶
func NewAutohealingApi(client *common.APIClient) *AutohealingApi
NewAutohealingApi Returns NewAutohealingApi.
func (*AutohealingApi) GetAutohealing ¶
func (a *AutohealingApi) GetAutohealing(ctx _context.Context, orgName string, clusterName string) ([]AutohealingListItem, *_nethttp.Response, error)
GetAutohealing list autohealing job.
type AutohealingListItem ¶
type AutohealingListItem struct {
Name *string `json:"name,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// component to be rebuilt
ComponentName *string `json:"componentName,omitempty"`
// pod to be rebuilt
PodName *string `json:"podName,omitempty"`
// rebuild start time
StartTime *time.Time `json:"startTime,omitempty"`
// current phase of rebuild job
Phase *string `json:"phase,omitempty"`
// whether the job is started
Started *bool `json:"started,omitempty"`
StartMessage *string `json:"startMessage,omitempty"`
// whether the job is finished
Finished *bool `json:"finished,omitempty"`
FinishMessage *string `json:"finishMessage,omitempty"`
BackupName *string `json:"backupName,omitempty"`
RebuildInstanceOpsRequestName *string `json:"rebuildInstanceOpsRequestName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewAutohealingListItem ¶
func NewAutohealingListItem() *AutohealingListItem
NewAutohealingListItem instantiates a new AutohealingListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewAutohealingListItemWithDefaults ¶
func NewAutohealingListItemWithDefaults() *AutohealingListItem
NewAutohealingListItemWithDefaults instantiates a new AutohealingListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*AutohealingListItem) GetBackupName ¶
func (o *AutohealingListItem) GetBackupName() string
GetBackupName returns the BackupName field value if set, zero value otherwise.
func (*AutohealingListItem) GetBackupNameOk ¶
func (o *AutohealingListItem) GetBackupNameOk() (*string, bool)
GetBackupNameOk returns a tuple with the BackupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetComponentName ¶
func (o *AutohealingListItem) GetComponentName() string
GetComponentName returns the ComponentName field value if set, zero value otherwise.
func (*AutohealingListItem) GetComponentNameOk ¶
func (o *AutohealingListItem) GetComponentNameOk() (*string, bool)
GetComponentNameOk returns a tuple with the ComponentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetCreatedAt ¶
func (o *AutohealingListItem) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AutohealingListItem) GetCreatedAtOk ¶
func (o *AutohealingListItem) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetFinishMessage ¶
func (o *AutohealingListItem) GetFinishMessage() string
GetFinishMessage returns the FinishMessage field value if set, zero value otherwise.
func (*AutohealingListItem) GetFinishMessageOk ¶
func (o *AutohealingListItem) GetFinishMessageOk() (*string, bool)
GetFinishMessageOk returns a tuple with the FinishMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetFinished ¶
func (o *AutohealingListItem) GetFinished() bool
GetFinished returns the Finished field value if set, zero value otherwise.
func (*AutohealingListItem) GetFinishedOk ¶
func (o *AutohealingListItem) GetFinishedOk() (*bool, bool)
GetFinishedOk returns a tuple with the Finished field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetName ¶
func (o *AutohealingListItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AutohealingListItem) GetNameOk ¶
func (o *AutohealingListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetPhase ¶
func (o *AutohealingListItem) GetPhase() string
GetPhase returns the Phase field value if set, zero value otherwise.
func (*AutohealingListItem) GetPhaseOk ¶
func (o *AutohealingListItem) GetPhaseOk() (*string, bool)
GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetPodName ¶
func (o *AutohealingListItem) GetPodName() string
GetPodName returns the PodName field value if set, zero value otherwise.
func (*AutohealingListItem) GetPodNameOk ¶
func (o *AutohealingListItem) GetPodNameOk() (*string, bool)
GetPodNameOk returns a tuple with the PodName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetRebuildInstanceOpsRequestName ¶
func (o *AutohealingListItem) GetRebuildInstanceOpsRequestName() string
GetRebuildInstanceOpsRequestName returns the RebuildInstanceOpsRequestName field value if set, zero value otherwise.
func (*AutohealingListItem) GetRebuildInstanceOpsRequestNameOk ¶
func (o *AutohealingListItem) GetRebuildInstanceOpsRequestNameOk() (*string, bool)
GetRebuildInstanceOpsRequestNameOk returns a tuple with the RebuildInstanceOpsRequestName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetStartMessage ¶
func (o *AutohealingListItem) GetStartMessage() string
GetStartMessage returns the StartMessage field value if set, zero value otherwise.
func (*AutohealingListItem) GetStartMessageOk ¶
func (o *AutohealingListItem) GetStartMessageOk() (*string, bool)
GetStartMessageOk returns a tuple with the StartMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetStartTime ¶
func (o *AutohealingListItem) GetStartTime() time.Time
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*AutohealingListItem) GetStartTimeOk ¶
func (o *AutohealingListItem) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetStarted ¶
func (o *AutohealingListItem) GetStarted() bool
GetStarted returns the Started field value if set, zero value otherwise.
func (*AutohealingListItem) GetStartedOk ¶
func (o *AutohealingListItem) GetStartedOk() (*bool, bool)
GetStartedOk returns a tuple with the Started field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) GetUpdatedAt ¶
func (o *AutohealingListItem) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AutohealingListItem) GetUpdatedAtOk ¶
func (o *AutohealingListItem) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AutohealingListItem) HasBackupName ¶
func (o *AutohealingListItem) HasBackupName() bool
HasBackupName returns a boolean if a field has been set.
func (*AutohealingListItem) HasComponentName ¶
func (o *AutohealingListItem) HasComponentName() bool
HasComponentName returns a boolean if a field has been set.
func (*AutohealingListItem) HasCreatedAt ¶
func (o *AutohealingListItem) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AutohealingListItem) HasFinishMessage ¶
func (o *AutohealingListItem) HasFinishMessage() bool
HasFinishMessage returns a boolean if a field has been set.
func (*AutohealingListItem) HasFinished ¶
func (o *AutohealingListItem) HasFinished() bool
HasFinished returns a boolean if a field has been set.
func (*AutohealingListItem) HasName ¶
func (o *AutohealingListItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*AutohealingListItem) HasPhase ¶
func (o *AutohealingListItem) HasPhase() bool
HasPhase returns a boolean if a field has been set.
func (*AutohealingListItem) HasPodName ¶
func (o *AutohealingListItem) HasPodName() bool
HasPodName returns a boolean if a field has been set.
func (*AutohealingListItem) HasRebuildInstanceOpsRequestName ¶
func (o *AutohealingListItem) HasRebuildInstanceOpsRequestName() bool
HasRebuildInstanceOpsRequestName returns a boolean if a field has been set.
func (*AutohealingListItem) HasStartMessage ¶
func (o *AutohealingListItem) HasStartMessage() bool
HasStartMessage returns a boolean if a field has been set.
func (*AutohealingListItem) HasStartTime ¶
func (o *AutohealingListItem) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (*AutohealingListItem) HasStarted ¶
func (o *AutohealingListItem) HasStarted() bool
HasStarted returns a boolean if a field has been set.
func (*AutohealingListItem) HasUpdatedAt ¶
func (o *AutohealingListItem) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AutohealingListItem) MarshalJSON ¶
func (o AutohealingListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*AutohealingListItem) SetBackupName ¶
func (o *AutohealingListItem) SetBackupName(v string)
SetBackupName gets a reference to the given string and assigns it to the BackupName field.
func (*AutohealingListItem) SetComponentName ¶
func (o *AutohealingListItem) SetComponentName(v string)
SetComponentName gets a reference to the given string and assigns it to the ComponentName field.
func (*AutohealingListItem) SetCreatedAt ¶
func (o *AutohealingListItem) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AutohealingListItem) SetFinishMessage ¶
func (o *AutohealingListItem) SetFinishMessage(v string)
SetFinishMessage gets a reference to the given string and assigns it to the FinishMessage field.
func (*AutohealingListItem) SetFinished ¶
func (o *AutohealingListItem) SetFinished(v bool)
SetFinished gets a reference to the given bool and assigns it to the Finished field.
func (*AutohealingListItem) SetName ¶
func (o *AutohealingListItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AutohealingListItem) SetPhase ¶
func (o *AutohealingListItem) SetPhase(v string)
SetPhase gets a reference to the given string and assigns it to the Phase field.
func (*AutohealingListItem) SetPodName ¶
func (o *AutohealingListItem) SetPodName(v string)
SetPodName gets a reference to the given string and assigns it to the PodName field.
func (*AutohealingListItem) SetRebuildInstanceOpsRequestName ¶
func (o *AutohealingListItem) SetRebuildInstanceOpsRequestName(v string)
SetRebuildInstanceOpsRequestName gets a reference to the given string and assigns it to the RebuildInstanceOpsRequestName field.
func (*AutohealingListItem) SetStartMessage ¶
func (o *AutohealingListItem) SetStartMessage(v string)
SetStartMessage gets a reference to the given string and assigns it to the StartMessage field.
func (*AutohealingListItem) SetStartTime ¶
func (o *AutohealingListItem) SetStartTime(v time.Time)
SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.
func (*AutohealingListItem) SetStarted ¶
func (o *AutohealingListItem) SetStarted(v bool)
SetStarted gets a reference to the given bool and assigns it to the Started field.
func (*AutohealingListItem) SetUpdatedAt ¶
func (o *AutohealingListItem) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*AutohealingListItem) UnmarshalJSON ¶
func (o *AutohealingListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Backup ¶
type Backup struct {
// autoBackup or not
AutoBackup bool `json:"autoBackup"`
// Backup Method.
BackupMethod string `json:"backupMethod"`
// Which backupPolicy is applied to perform this backup
BackupPolicyName string `json:"backupPolicyName"`
// backupRepo is the name of backupRepo and it is used to store the backup data
BackupRepo *string `json:"backupRepo,omitempty"`
// the type of backup
BackupType BackupType `json:"backupType"`
// Date/time when the backup finished being processed.
CompletionTimestamp time.Time `json:"completionTimestamp"`
// Date/time when the backup was created.
CreationTimestamp time.Time `json:"creationTimestamp"`
// The duration time of backup execution. When converted to a string, the form is "1h2m0.5s".
Duration string `json:"duration"`
// name of the backup
Name string `json:"name"`
// orgName records the organization name for this backup.
OrgName string `json:"orgName"`
// snapshotVolumes specifies whether to take snapshots of persistent volumes to back up
SnapshotVolumes bool `json:"snapshotVolumes"`
// sourceCluster records the source cluster information for this backup.
SourceCluster string `json:"sourceCluster"`
// Date/time when the backup started being processed.
StartTimestamp time.Time `json:"startTimestamp"`
// The current status. Valid values are New, InProgress, Completed, Failed.
Status BackupStatus `json:"status"`
// timeRangeEnd records the end time of the backup.
TimeRangeEnd *time.Time `json:"timeRangeEnd,omitempty"`
// timeRangeStart records the start time of the backup.
TimeRangeStart *time.Time `json:"timeRangeStart,omitempty"`
// Backup total size. A string with capacity units in the form of "1Gi", "1Mi", "1Ki".
TotalSize string `json:"totalSize"`
FailureReason *string `json:"failureReason,omitempty"`
Extras *string `json:"extras,omitempty"`
// backup target pods
TargetPods []string `json:"targetPods,omitempty"`
// the path of backup files
Path *string `json:"path,omitempty"`
// determines a duration up to which the backup should be kept
RetentionPeriod *string `json:"retentionPeriod,omitempty"`
// indicates when this backup becomes eligible for garbage collection
Expiration *time.Time `json:"expiration,omitempty"`
// the backup id
Id *string `json:"id,omitempty"`
// the id of cluster that backup belong to
ClusterId *string `json:"clusterId,omitempty"`
// the cloud provider
CloudProvider *string `json:"cloudProvider,omitempty"`
// the cloud region
CloudRegion *string `json:"cloudRegion,omitempty"`
// the environment name
EnvironmentName *string `json:"environmentName,omitempty"`
// the cluster engine
Engine *string `json:"engine,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Backup backup is the payload for KubeBlocks cluster backup
func NewBackup ¶
func NewBackup(autoBackup bool, backupMethod string, backupPolicyName string, backupType BackupType, completionTimestamp time.Time, creationTimestamp time.Time, duration string, name string, orgName string, snapshotVolumes bool, sourceCluster string, startTimestamp time.Time, status BackupStatus, totalSize string) *Backup
NewBackup instantiates a new Backup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupWithDefaults ¶
func NewBackupWithDefaults() *Backup
NewBackupWithDefaults instantiates a new Backup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Backup) GetAutoBackup ¶
GetAutoBackup returns the AutoBackup field value.
func (*Backup) GetAutoBackupOk ¶
GetAutoBackupOk returns a tuple with the AutoBackup field value and a boolean to check if the value has been set.
func (*Backup) GetBackupMethod ¶
GetBackupMethod returns the BackupMethod field value.
func (*Backup) GetBackupMethodOk ¶
GetBackupMethodOk returns a tuple with the BackupMethod field value and a boolean to check if the value has been set.
func (*Backup) GetBackupPolicyName ¶
GetBackupPolicyName returns the BackupPolicyName field value.
func (*Backup) GetBackupPolicyNameOk ¶
GetBackupPolicyNameOk returns a tuple with the BackupPolicyName field value and a boolean to check if the value has been set.
func (*Backup) GetBackupRepo ¶
GetBackupRepo returns the BackupRepo field value if set, zero value otherwise.
func (*Backup) GetBackupRepoOk ¶
GetBackupRepoOk returns a tuple with the BackupRepo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetBackupType ¶
func (o *Backup) GetBackupType() BackupType
GetBackupType returns the BackupType field value.
func (*Backup) GetBackupTypeOk ¶
func (o *Backup) GetBackupTypeOk() (*BackupType, bool)
GetBackupTypeOk returns a tuple with the BackupType field value and a boolean to check if the value has been set.
func (*Backup) GetCloudProvider ¶
GetCloudProvider returns the CloudProvider field value if set, zero value otherwise.
func (*Backup) GetCloudProviderOk ¶
GetCloudProviderOk returns a tuple with the CloudProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetCloudRegion ¶
GetCloudRegion returns the CloudRegion field value if set, zero value otherwise.
func (*Backup) GetCloudRegionOk ¶
GetCloudRegionOk returns a tuple with the CloudRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetClusterId ¶
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*Backup) GetClusterIdOk ¶
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetCompletionTimestamp ¶
GetCompletionTimestamp returns the CompletionTimestamp field value.
func (*Backup) GetCompletionTimestampOk ¶
GetCompletionTimestampOk returns a tuple with the CompletionTimestamp field value and a boolean to check if the value has been set.
func (*Backup) GetCreationTimestamp ¶
GetCreationTimestamp returns the CreationTimestamp field value.
func (*Backup) GetCreationTimestampOk ¶
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value and a boolean to check if the value has been set.
func (*Backup) GetDuration ¶
GetDuration returns the Duration field value.
func (*Backup) GetDurationOk ¶
GetDurationOk returns a tuple with the Duration field value and a boolean to check if the value has been set.
func (*Backup) GetEngineOk ¶
GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetEnvironmentName ¶
GetEnvironmentName returns the EnvironmentName field value if set, zero value otherwise.
func (*Backup) GetEnvironmentNameOk ¶
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetExpiration ¶
GetExpiration returns the Expiration field value if set, zero value otherwise.
func (*Backup) GetExpirationOk ¶
GetExpirationOk returns a tuple with the Expiration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetExtrasOk ¶
GetExtrasOk returns a tuple with the Extras field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetFailureReason ¶
GetFailureReason returns the FailureReason field value if set, zero value otherwise.
func (*Backup) GetFailureReasonOk ¶
GetFailureReasonOk returns a tuple with the FailureReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Backup) GetOrgName ¶
GetOrgName returns the OrgName field value.
func (*Backup) GetOrgNameOk ¶
GetOrgNameOk returns a tuple with the OrgName field value and a boolean to check if the value has been set.
func (*Backup) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetRetentionPeriod ¶
GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.
func (*Backup) GetRetentionPeriodOk ¶
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetSnapshotVolumes ¶
GetSnapshotVolumes returns the SnapshotVolumes field value.
func (*Backup) GetSnapshotVolumesOk ¶
GetSnapshotVolumesOk returns a tuple with the SnapshotVolumes field value and a boolean to check if the value has been set.
func (*Backup) GetSourceCluster ¶
GetSourceCluster returns the SourceCluster field value.
func (*Backup) GetSourceClusterOk ¶
GetSourceClusterOk returns a tuple with the SourceCluster field value and a boolean to check if the value has been set.
func (*Backup) GetStartTimestamp ¶
GetStartTimestamp returns the StartTimestamp field value.
func (*Backup) GetStartTimestampOk ¶
GetStartTimestampOk returns a tuple with the StartTimestamp field value and a boolean to check if the value has been set.
func (*Backup) GetStatus ¶
func (o *Backup) GetStatus() BackupStatus
GetStatus returns the Status field value.
func (*Backup) GetStatusOk ¶
func (o *Backup) GetStatusOk() (*BackupStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Backup) GetTargetPods ¶
GetTargetPods returns the TargetPods field value if set, zero value otherwise.
func (*Backup) GetTargetPodsOk ¶
GetTargetPodsOk returns a tuple with the TargetPods field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetTimeRangeEnd ¶
GetTimeRangeEnd returns the TimeRangeEnd field value if set, zero value otherwise.
func (*Backup) GetTimeRangeEndOk ¶
GetTimeRangeEndOk returns a tuple with the TimeRangeEnd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetTimeRangeStart ¶
GetTimeRangeStart returns the TimeRangeStart field value if set, zero value otherwise.
func (*Backup) GetTimeRangeStartOk ¶
GetTimeRangeStartOk returns a tuple with the TimeRangeStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Backup) GetTotalSize ¶
GetTotalSize returns the TotalSize field value.
func (*Backup) GetTotalSizeOk ¶
GetTotalSizeOk returns a tuple with the TotalSize field value and a boolean to check if the value has been set.
func (*Backup) HasBackupRepo ¶
HasBackupRepo returns a boolean if a field has been set.
func (*Backup) HasCloudProvider ¶
HasCloudProvider returns a boolean if a field has been set.
func (*Backup) HasCloudRegion ¶
HasCloudRegion returns a boolean if a field has been set.
func (*Backup) HasClusterId ¶
HasClusterId returns a boolean if a field has been set.
func (*Backup) HasEnvironmentName ¶
HasEnvironmentName returns a boolean if a field has been set.
func (*Backup) HasExpiration ¶
HasExpiration returns a boolean if a field has been set.
func (*Backup) HasFailureReason ¶
HasFailureReason returns a boolean if a field has been set.
func (*Backup) HasRetentionPeriod ¶
HasRetentionPeriod returns a boolean if a field has been set.
func (*Backup) HasTargetPods ¶
HasTargetPods returns a boolean if a field has been set.
func (*Backup) HasTimeRangeEnd ¶
HasTimeRangeEnd returns a boolean if a field has been set.
func (*Backup) HasTimeRangeStart ¶
HasTimeRangeStart returns a boolean if a field has been set.
func (Backup) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Backup) SetAutoBackup ¶
SetAutoBackup sets field value.
func (*Backup) SetBackupMethod ¶
SetBackupMethod sets field value.
func (*Backup) SetBackupPolicyName ¶
SetBackupPolicyName sets field value.
func (*Backup) SetBackupRepo ¶
SetBackupRepo gets a reference to the given string and assigns it to the BackupRepo field.
func (*Backup) SetBackupType ¶
func (o *Backup) SetBackupType(v BackupType)
SetBackupType sets field value.
func (*Backup) SetCloudProvider ¶
SetCloudProvider gets a reference to the given string and assigns it to the CloudProvider field.
func (*Backup) SetCloudRegion ¶
SetCloudRegion gets a reference to the given string and assigns it to the CloudRegion field.
func (*Backup) SetClusterId ¶
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*Backup) SetCompletionTimestamp ¶
SetCompletionTimestamp sets field value.
func (*Backup) SetCreationTimestamp ¶
SetCreationTimestamp sets field value.
func (*Backup) SetEngine ¶
SetEngine gets a reference to the given string and assigns it to the Engine field.
func (*Backup) SetEnvironmentName ¶
SetEnvironmentName gets a reference to the given string and assigns it to the EnvironmentName field.
func (*Backup) SetExpiration ¶
SetExpiration gets a reference to the given time.Time and assigns it to the Expiration field.
func (*Backup) SetExtras ¶
SetExtras gets a reference to the given string and assigns it to the Extras field.
func (*Backup) SetFailureReason ¶
SetFailureReason gets a reference to the given string and assigns it to the FailureReason field.
func (*Backup) SetPath ¶
SetPath gets a reference to the given string and assigns it to the Path field.
func (*Backup) SetRetentionPeriod ¶
SetRetentionPeriod gets a reference to the given string and assigns it to the RetentionPeriod field.
func (*Backup) SetSnapshotVolumes ¶
SetSnapshotVolumes sets field value.
func (*Backup) SetSourceCluster ¶
SetSourceCluster sets field value.
func (*Backup) SetStartTimestamp ¶
SetStartTimestamp sets field value.
func (*Backup) SetTargetPods ¶
SetTargetPods gets a reference to the given []string and assigns it to the TargetPods field.
func (*Backup) SetTimeRangeEnd ¶
SetTimeRangeEnd gets a reference to the given time.Time and assigns it to the TimeRangeEnd field.
func (*Backup) SetTimeRangeStart ¶
SetTimeRangeStart gets a reference to the given time.Time and assigns it to the TimeRangeStart field.
func (*Backup) SetTotalSize ¶
SetTotalSize sets field value.
func (*Backup) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type BackupApi ¶
BackupApi service type
func NewBackupApi ¶
NewBackupApi Returns NewBackupApi.
func (*BackupApi) CreateClusterBackup ¶
func (a *BackupApi) CreateClusterBackup(ctx _context.Context, orgName string, clusterName string, body BackupCreate) (Backup, *_nethttp.Response, error)
CreateClusterBackup Create backup.
func (*BackupApi) DeleteBackup ¶
func (a *BackupApi) DeleteBackup(ctx _context.Context, orgName string, backupId string) (*_nethttp.Response, error)
DeleteBackup Delete backup.
func (*BackupApi) DownloadBackup ¶
func (a *BackupApi) DownloadBackup(ctx _context.Context, orgName string, backupId string) (_io.Reader, *_nethttp.Response, error)
DownloadBackup Download full backup.
func (*BackupApi) DownloadMutipleBackups ¶
func (a *BackupApi) DownloadMutipleBackups(ctx _context.Context, orgName string, backupId string, body BackupDownload) (_io.Reader, *_nethttp.Response, error)
DownloadMutipleBackups Download mutiple backup files.
func (*BackupApi) GetBackup ¶
func (a *BackupApi) GetBackup(ctx _context.Context, orgName string, backupId string) (Backup, *_nethttp.Response, error)
GetBackup Get backup.
func (*BackupApi) GetBackupLog ¶
func (a *BackupApi) GetBackupLog(ctx _context.Context, orgName string, backupId string) (BackupLog, *_nethttp.Response, error)
GetBackupLog Get backup log.
func (*BackupApi) GetBackupStats ¶
func (a *BackupApi) GetBackupStats(ctx _context.Context, orgName string) (BackupStats, *_nethttp.Response, error)
GetBackupStats Get backup statistics.
func (*BackupApi) GetClusterBackupPolicy ¶
func (a *BackupApi) GetClusterBackupPolicy(ctx _context.Context, orgName string, clusterName string, o ...GetClusterBackupPolicyOptionalParameters) (BackupPolicy, *_nethttp.Response, error)
GetClusterBackupPolicy Get backup policy.
func (*BackupApi) ListBackups ¶
func (a *BackupApi) ListBackups(ctx _context.Context, orgName string, o ...ListBackupsOptionalParameters) (BackupList, *_nethttp.Response, error)
ListBackups List backups.
func (*BackupApi) PatchBackupPolicy ¶
func (a *BackupApi) PatchBackupPolicy(ctx _context.Context, orgName string, clusterName string, body BackupPolicy, o ...PatchBackupPolicyOptionalParameters) (BackupPolicy, *_nethttp.Response, error)
PatchBackupPolicy Update backup policy. partially update the specified Backup Policy
func (*BackupApi) ViewBackup ¶
func (a *BackupApi) ViewBackup(ctx _context.Context, orgName string, backupId string, o ...ViewBackupOptionalParameters) (FileEntryList, *_nethttp.Response, error)
ViewBackup view backup info.
type BackupCreate ¶
type BackupCreate struct {
// name of the backup, if not specified, a name will be generated automatically
Name *string `json:"name,omitempty"`
// specified the backup method
BackupMethod string `json:"backupMethod"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupCreate BackupCreate is the payload to create a KubeBlocks cluster backup
func NewBackupCreate ¶
func NewBackupCreate(backupMethod string) *BackupCreate
NewBackupCreate instantiates a new BackupCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupCreateWithDefaults ¶
func NewBackupCreateWithDefaults() *BackupCreate
NewBackupCreateWithDefaults instantiates a new BackupCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupCreate) GetBackupMethod ¶
func (o *BackupCreate) GetBackupMethod() string
GetBackupMethod returns the BackupMethod field value.
func (*BackupCreate) GetBackupMethodOk ¶
func (o *BackupCreate) GetBackupMethodOk() (*string, bool)
GetBackupMethodOk returns a tuple with the BackupMethod field value and a boolean to check if the value has been set.
func (*BackupCreate) GetName ¶
func (o *BackupCreate) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*BackupCreate) GetNameOk ¶
func (o *BackupCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupCreate) HasName ¶
func (o *BackupCreate) HasName() bool
HasName returns a boolean if a field has been set.
func (BackupCreate) MarshalJSON ¶
func (o BackupCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupCreate) SetBackupMethod ¶
func (o *BackupCreate) SetBackupMethod(v string)
SetBackupMethod sets field value.
func (*BackupCreate) SetName ¶
func (o *BackupCreate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*BackupCreate) UnmarshalJSON ¶
func (o *BackupCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupDownload ¶
type BackupDownload struct {
// the paths of file to download
Filepaths []string `json:"filepaths,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewBackupDownload ¶
func NewBackupDownload() *BackupDownload
NewBackupDownload instantiates a new BackupDownload object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupDownloadWithDefaults ¶
func NewBackupDownloadWithDefaults() *BackupDownload
NewBackupDownloadWithDefaults instantiates a new BackupDownload object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupDownload) GetFilepaths ¶
func (o *BackupDownload) GetFilepaths() []string
GetFilepaths returns the Filepaths field value if set, zero value otherwise.
func (*BackupDownload) GetFilepathsOk ¶
func (o *BackupDownload) GetFilepathsOk() (*[]string, bool)
GetFilepathsOk returns a tuple with the Filepaths field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupDownload) HasFilepaths ¶
func (o *BackupDownload) HasFilepaths() bool
HasFilepaths returns a boolean if a field has been set.
func (BackupDownload) MarshalJSON ¶
func (o BackupDownload) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupDownload) SetFilepaths ¶
func (o *BackupDownload) SetFilepaths(v []string)
SetFilepaths gets a reference to the given []string and assigns it to the Filepaths field.
func (*BackupDownload) UnmarshalJSON ¶
func (o *BackupDownload) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupList ¶
type BackupList struct {
// Items is the list of backup policy objects in the list
Items []Backup `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupList BackupList is a list of backups
func NewBackupList ¶
func NewBackupList(items []Backup) *BackupList
NewBackupList instantiates a new BackupList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupListWithDefaults ¶
func NewBackupListWithDefaults() *BackupList
NewBackupListWithDefaults instantiates a new BackupList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupList) GetItems ¶
func (o *BackupList) GetItems() []Backup
GetItems returns the Items field value.
func (*BackupList) GetItemsOk ¶
func (o *BackupList) GetItemsOk() (*[]Backup, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*BackupList) GetPageResult ¶
func (o *BackupList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*BackupList) GetPageResultOk ¶
func (o *BackupList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupList) HasPageResult ¶
func (o *BackupList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (BackupList) MarshalJSON ¶
func (o BackupList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupList) SetPageResult ¶
func (o *BackupList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*BackupList) UnmarshalJSON ¶
func (o *BackupList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupLog ¶
type BackupLog struct {
// items is the list of backupLogByPod objects
Items []BackupLogByPod `json:"items,omitempty"`
// backup id
BackupId *string `json:"backupId,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupLog backup workload logs
func NewBackupLog ¶
func NewBackupLog() *BackupLog
NewBackupLog instantiates a new BackupLog object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupLogWithDefaults ¶
func NewBackupLogWithDefaults() *BackupLog
NewBackupLogWithDefaults instantiates a new BackupLog object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupLog) GetBackupId ¶
GetBackupId returns the BackupId field value if set, zero value otherwise.
func (*BackupLog) GetBackupIdOk ¶
GetBackupIdOk returns a tuple with the BackupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupLog) GetItems ¶
func (o *BackupLog) GetItems() []BackupLogByPod
GetItems returns the Items field value if set, zero value otherwise.
func (*BackupLog) GetItemsOk ¶
func (o *BackupLog) GetItemsOk() (*[]BackupLogByPod, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupLog) HasBackupId ¶
HasBackupId returns a boolean if a field has been set.
func (BackupLog) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*BackupLog) SetBackupId ¶
SetBackupId gets a reference to the given string and assigns it to the BackupId field.
func (*BackupLog) SetItems ¶
func (o *BackupLog) SetItems(v []BackupLogByPod)
SetItems gets a reference to the given []BackupLogByPod and assigns it to the Items field.
func (*BackupLog) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type BackupLogByPod ¶
type BackupLogByPod struct {
// logs of the backup workload
Log *string `json:"log,omitempty"`
// pod name
PodName *string `json:"podName,omitempty"`
// Date/time when the backup pod was created.
CreationTimestamp *time.Time `json:"creationTimestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupLogByPod info of backup workload log
func NewBackupLogByPod ¶
func NewBackupLogByPod() *BackupLogByPod
NewBackupLogByPod instantiates a new BackupLogByPod object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupLogByPodWithDefaults ¶
func NewBackupLogByPodWithDefaults() *BackupLogByPod
NewBackupLogByPodWithDefaults instantiates a new BackupLogByPod object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupLogByPod) GetCreationTimestamp ¶
func (o *BackupLogByPod) GetCreationTimestamp() time.Time
GetCreationTimestamp returns the CreationTimestamp field value if set, zero value otherwise.
func (*BackupLogByPod) GetCreationTimestampOk ¶
func (o *BackupLogByPod) GetCreationTimestampOk() (*time.Time, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupLogByPod) GetLog ¶
func (o *BackupLogByPod) GetLog() string
GetLog returns the Log field value if set, zero value otherwise.
func (*BackupLogByPod) GetLogOk ¶
func (o *BackupLogByPod) GetLogOk() (*string, bool)
GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupLogByPod) GetPodName ¶
func (o *BackupLogByPod) GetPodName() string
GetPodName returns the PodName field value if set, zero value otherwise.
func (*BackupLogByPod) GetPodNameOk ¶
func (o *BackupLogByPod) GetPodNameOk() (*string, bool)
GetPodNameOk returns a tuple with the PodName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupLogByPod) HasCreationTimestamp ¶
func (o *BackupLogByPod) HasCreationTimestamp() bool
HasCreationTimestamp returns a boolean if a field has been set.
func (*BackupLogByPod) HasLog ¶
func (o *BackupLogByPod) HasLog() bool
HasLog returns a boolean if a field has been set.
func (*BackupLogByPod) HasPodName ¶
func (o *BackupLogByPod) HasPodName() bool
HasPodName returns a boolean if a field has been set.
func (BackupLogByPod) MarshalJSON ¶
func (o BackupLogByPod) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupLogByPod) SetCreationTimestamp ¶
func (o *BackupLogByPod) SetCreationTimestamp(v time.Time)
SetCreationTimestamp gets a reference to the given time.Time and assigns it to the CreationTimestamp field.
func (*BackupLogByPod) SetLog ¶
func (o *BackupLogByPod) SetLog(v string)
SetLog gets a reference to the given string and assigns it to the Log field.
func (*BackupLogByPod) SetPodName ¶
func (o *BackupLogByPod) SetPodName(v string)
SetPodName gets a reference to the given string and assigns it to the PodName field.
func (*BackupLogByPod) UnmarshalJSON ¶
func (o *BackupLogByPod) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupMethodOption ¶
type BackupMethodOption struct {
Name string `json:"name"`
Description *LocalizedDescription `json:"description,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewBackupMethodOption ¶
func NewBackupMethodOption(name string) *BackupMethodOption
NewBackupMethodOption instantiates a new BackupMethodOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupMethodOptionWithDefaults ¶
func NewBackupMethodOptionWithDefaults() *BackupMethodOption
NewBackupMethodOptionWithDefaults instantiates a new BackupMethodOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupMethodOption) GetDescription ¶
func (o *BackupMethodOption) GetDescription() LocalizedDescription
GetDescription returns the Description field value if set, zero value otherwise.
func (*BackupMethodOption) GetDescriptionOk ¶
func (o *BackupMethodOption) GetDescriptionOk() (*LocalizedDescription, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupMethodOption) GetName ¶
func (o *BackupMethodOption) GetName() string
GetName returns the Name field value.
func (*BackupMethodOption) GetNameOk ¶
func (o *BackupMethodOption) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupMethodOption) HasDescription ¶
func (o *BackupMethodOption) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (BackupMethodOption) MarshalJSON ¶
func (o BackupMethodOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupMethodOption) SetDescription ¶
func (o *BackupMethodOption) SetDescription(v LocalizedDescription)
SetDescription gets a reference to the given LocalizedDescription and assigns it to the Description field.
func (*BackupMethodOption) SetName ¶
func (o *BackupMethodOption) SetName(v string)
SetName sets field value.
func (*BackupMethodOption) UnmarshalJSON ¶
func (o *BackupMethodOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupOption ¶
type BackupOption struct {
DefaultMethod *string `json:"defaultMethod,omitempty"`
FullMethod []BackupMethodOption `json:"fullMethod,omitempty"`
ContinuousMethod []BackupMethodOption `json:"continuousMethod,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewBackupOption ¶
func NewBackupOption() *BackupOption
NewBackupOption instantiates a new BackupOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupOptionWithDefaults ¶
func NewBackupOptionWithDefaults() *BackupOption
NewBackupOptionWithDefaults instantiates a new BackupOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupOption) GetContinuousMethod ¶
func (o *BackupOption) GetContinuousMethod() []BackupMethodOption
GetContinuousMethod returns the ContinuousMethod field value if set, zero value otherwise.
func (*BackupOption) GetContinuousMethodOk ¶
func (o *BackupOption) GetContinuousMethodOk() (*[]BackupMethodOption, bool)
GetContinuousMethodOk returns a tuple with the ContinuousMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupOption) GetDefaultMethod ¶
func (o *BackupOption) GetDefaultMethod() string
GetDefaultMethod returns the DefaultMethod field value if set, zero value otherwise.
func (*BackupOption) GetDefaultMethodOk ¶
func (o *BackupOption) GetDefaultMethodOk() (*string, bool)
GetDefaultMethodOk returns a tuple with the DefaultMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupOption) GetFullMethod ¶
func (o *BackupOption) GetFullMethod() []BackupMethodOption
GetFullMethod returns the FullMethod field value if set, zero value otherwise.
func (*BackupOption) GetFullMethodOk ¶
func (o *BackupOption) GetFullMethodOk() (*[]BackupMethodOption, bool)
GetFullMethodOk returns a tuple with the FullMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupOption) HasContinuousMethod ¶
func (o *BackupOption) HasContinuousMethod() bool
HasContinuousMethod returns a boolean if a field has been set.
func (*BackupOption) HasDefaultMethod ¶
func (o *BackupOption) HasDefaultMethod() bool
HasDefaultMethod returns a boolean if a field has been set.
func (*BackupOption) HasFullMethod ¶
func (o *BackupOption) HasFullMethod() bool
HasFullMethod returns a boolean if a field has been set.
func (BackupOption) MarshalJSON ¶
func (o BackupOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupOption) SetContinuousMethod ¶
func (o *BackupOption) SetContinuousMethod(v []BackupMethodOption)
SetContinuousMethod gets a reference to the given []BackupMethodOption and assigns it to the ContinuousMethod field.
func (*BackupOption) SetDefaultMethod ¶
func (o *BackupOption) SetDefaultMethod(v string)
SetDefaultMethod gets a reference to the given string and assigns it to the DefaultMethod field.
func (*BackupOption) SetFullMethod ¶
func (o *BackupOption) SetFullMethod(v []BackupMethodOption)
SetFullMethod gets a reference to the given []BackupMethodOption and assigns it to the FullMethod field.
func (*BackupOption) UnmarshalJSON ¶
func (o *BackupOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupPolicy ¶
type BackupPolicy struct {
// specify whether to use auto backup
AutoBackup *bool `json:"autoBackup,omitempty"`
// the auto backup method
AutoBackupMethod *string `json:"autoBackupMethod,omitempty"`
// specify whether to enable point-in-time recovery
PitrEnabled *bool `json:"pitrEnabled,omitempty"`
// the crop expression for schedule
CronExpression *string `json:"cronExpression,omitempty"`
// specify the retention period
RetentionPeriod *string `json:"retentionPeriod,omitempty"`
// the backup repo name, which is used to store backup data
BackupRepo *string `json:"backupRepo,omitempty"`
// backup retention policy when cluster is deleted
RetentionPolicy *BackupRetentionPolicy `json:"retentionPolicy,omitempty"`
// the time to do next backup
NextBackupTime *time.Time `json:"nextBackupTime,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupPolicy BackupPolicy is the payload for KubeBlocks cluster backup policy
func NewBackupPolicy ¶
func NewBackupPolicy() *BackupPolicy
NewBackupPolicy instantiates a new BackupPolicy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupPolicyWithDefaults ¶
func NewBackupPolicyWithDefaults() *BackupPolicy
NewBackupPolicyWithDefaults instantiates a new BackupPolicy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupPolicy) GetAutoBackup ¶
func (o *BackupPolicy) GetAutoBackup() bool
GetAutoBackup returns the AutoBackup field value if set, zero value otherwise.
func (*BackupPolicy) GetAutoBackupMethod ¶
func (o *BackupPolicy) GetAutoBackupMethod() string
GetAutoBackupMethod returns the AutoBackupMethod field value if set, zero value otherwise.
func (*BackupPolicy) GetAutoBackupMethodOk ¶
func (o *BackupPolicy) GetAutoBackupMethodOk() (*string, bool)
GetAutoBackupMethodOk returns a tuple with the AutoBackupMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetAutoBackupOk ¶
func (o *BackupPolicy) GetAutoBackupOk() (*bool, bool)
GetAutoBackupOk returns a tuple with the AutoBackup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetBackupRepo ¶
func (o *BackupPolicy) GetBackupRepo() string
GetBackupRepo returns the BackupRepo field value if set, zero value otherwise.
func (*BackupPolicy) GetBackupRepoOk ¶
func (o *BackupPolicy) GetBackupRepoOk() (*string, bool)
GetBackupRepoOk returns a tuple with the BackupRepo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetCronExpression ¶
func (o *BackupPolicy) GetCronExpression() string
GetCronExpression returns the CronExpression field value if set, zero value otherwise.
func (*BackupPolicy) GetCronExpressionOk ¶
func (o *BackupPolicy) GetCronExpressionOk() (*string, bool)
GetCronExpressionOk returns a tuple with the CronExpression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetNextBackupTime ¶
func (o *BackupPolicy) GetNextBackupTime() time.Time
GetNextBackupTime returns the NextBackupTime field value if set, zero value otherwise.
func (*BackupPolicy) GetNextBackupTimeOk ¶
func (o *BackupPolicy) GetNextBackupTimeOk() (*time.Time, bool)
GetNextBackupTimeOk returns a tuple with the NextBackupTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetPitrEnabled ¶
func (o *BackupPolicy) GetPitrEnabled() bool
GetPitrEnabled returns the PitrEnabled field value if set, zero value otherwise.
func (*BackupPolicy) GetPitrEnabledOk ¶
func (o *BackupPolicy) GetPitrEnabledOk() (*bool, bool)
GetPitrEnabledOk returns a tuple with the PitrEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetRetentionPeriod ¶
func (o *BackupPolicy) GetRetentionPeriod() string
GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.
func (*BackupPolicy) GetRetentionPeriodOk ¶
func (o *BackupPolicy) GetRetentionPeriodOk() (*string, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) GetRetentionPolicy ¶
func (o *BackupPolicy) GetRetentionPolicy() BackupRetentionPolicy
GetRetentionPolicy returns the RetentionPolicy field value if set, zero value otherwise.
func (*BackupPolicy) GetRetentionPolicyOk ¶
func (o *BackupPolicy) GetRetentionPolicyOk() (*BackupRetentionPolicy, bool)
GetRetentionPolicyOk returns a tuple with the RetentionPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupPolicy) HasAutoBackup ¶
func (o *BackupPolicy) HasAutoBackup() bool
HasAutoBackup returns a boolean if a field has been set.
func (*BackupPolicy) HasAutoBackupMethod ¶
func (o *BackupPolicy) HasAutoBackupMethod() bool
HasAutoBackupMethod returns a boolean if a field has been set.
func (*BackupPolicy) HasBackupRepo ¶
func (o *BackupPolicy) HasBackupRepo() bool
HasBackupRepo returns a boolean if a field has been set.
func (*BackupPolicy) HasCronExpression ¶
func (o *BackupPolicy) HasCronExpression() bool
HasCronExpression returns a boolean if a field has been set.
func (*BackupPolicy) HasNextBackupTime ¶
func (o *BackupPolicy) HasNextBackupTime() bool
HasNextBackupTime returns a boolean if a field has been set.
func (*BackupPolicy) HasPitrEnabled ¶
func (o *BackupPolicy) HasPitrEnabled() bool
HasPitrEnabled returns a boolean if a field has been set.
func (*BackupPolicy) HasRetentionPeriod ¶
func (o *BackupPolicy) HasRetentionPeriod() bool
HasRetentionPeriod returns a boolean if a field has been set.
func (*BackupPolicy) HasRetentionPolicy ¶
func (o *BackupPolicy) HasRetentionPolicy() bool
HasRetentionPolicy returns a boolean if a field has been set.
func (BackupPolicy) MarshalJSON ¶
func (o BackupPolicy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupPolicy) SetAutoBackup ¶
func (o *BackupPolicy) SetAutoBackup(v bool)
SetAutoBackup gets a reference to the given bool and assigns it to the AutoBackup field.
func (*BackupPolicy) SetAutoBackupMethod ¶
func (o *BackupPolicy) SetAutoBackupMethod(v string)
SetAutoBackupMethod gets a reference to the given string and assigns it to the AutoBackupMethod field.
func (*BackupPolicy) SetBackupRepo ¶
func (o *BackupPolicy) SetBackupRepo(v string)
SetBackupRepo gets a reference to the given string and assigns it to the BackupRepo field.
func (*BackupPolicy) SetCronExpression ¶
func (o *BackupPolicy) SetCronExpression(v string)
SetCronExpression gets a reference to the given string and assigns it to the CronExpression field.
func (*BackupPolicy) SetNextBackupTime ¶
func (o *BackupPolicy) SetNextBackupTime(v time.Time)
SetNextBackupTime gets a reference to the given time.Time and assigns it to the NextBackupTime field.
func (*BackupPolicy) SetPitrEnabled ¶
func (o *BackupPolicy) SetPitrEnabled(v bool)
SetPitrEnabled gets a reference to the given bool and assigns it to the PitrEnabled field.
func (*BackupPolicy) SetRetentionPeriod ¶
func (o *BackupPolicy) SetRetentionPeriod(v string)
SetRetentionPeriod gets a reference to the given string and assigns it to the RetentionPeriod field.
func (*BackupPolicy) SetRetentionPolicy ¶
func (o *BackupPolicy) SetRetentionPolicy(v BackupRetentionPolicy)
SetRetentionPolicy gets a reference to the given BackupRetentionPolicy and assigns it to the RetentionPolicy field.
func (*BackupPolicy) UnmarshalJSON ¶
func (o *BackupPolicy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupRepo ¶
type BackupRepo struct {
// the access method for backup repo
AccessMethod BackupRepoAccessMethod `json:"accessMethod"`
// the id of backup repo
Id *string `json:"id,omitempty"`
// backupNums specifies the number of backups in the backupRepo
BackupNums *int32 `json:"backupNums,omitempty"`
// config specifies the configuration of the backupRepo
Config map[string]string `json:"config"`
// createdAt specifies the creation time of the backupRepo
CreatedAt time.Time `json:"createdAt"`
// default specifies whether the backupRepo is the default backupRepo
Default bool `json:"default"`
// environmentId of the backupRepo
EnvironmentId uuid.UUID `json:"environmentId"`
// environmentName of the backupRepo
EnvironmentName string `json:"environmentName"`
// name of the backupRepo
Name string `json:"name"`
// status specifies the status of the backupRepo
Status string `json:"status"`
// the id of storage used by backup repo
StorageId *string `json:"storageID,omitempty"`
// storageProvider specifies the storage provider of the backupRepo
StorageProvider string `json:"storageProvider"`
// totalSize specifies the total size of backups in the backupRepo
TotalSize *string `json:"totalSize,omitempty"`
// failedReason specifies the reason of the backupRepo failure
FailedReason *string `json:"failedReason,omitempty"`
// failedMessage specifies the message of the backupRepo failure
FailedMessage *string `json:"failedMessage,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupRepo backupRepo is the payload for KubeBlocks cluster backup repo
func NewBackupRepo ¶
func NewBackupRepo(accessMethod BackupRepoAccessMethod, config map[string]string, createdAt time.Time, defaultVar bool, environmentId uuid.UUID, environmentName string, name string, status string, storageProvider string) *BackupRepo
NewBackupRepo instantiates a new BackupRepo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupRepoWithDefaults ¶
func NewBackupRepoWithDefaults() *BackupRepo
NewBackupRepoWithDefaults instantiates a new BackupRepo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupRepo) GetAccessMethod ¶
func (o *BackupRepo) GetAccessMethod() BackupRepoAccessMethod
GetAccessMethod returns the AccessMethod field value.
func (*BackupRepo) GetAccessMethodOk ¶
func (o *BackupRepo) GetAccessMethodOk() (*BackupRepoAccessMethod, bool)
GetAccessMethodOk returns a tuple with the AccessMethod field value and a boolean to check if the value has been set.
func (*BackupRepo) GetBackupNums ¶
func (o *BackupRepo) GetBackupNums() int32
GetBackupNums returns the BackupNums field value if set, zero value otherwise.
func (*BackupRepo) GetBackupNumsOk ¶
func (o *BackupRepo) GetBackupNumsOk() (*int32, bool)
GetBackupNumsOk returns a tuple with the BackupNums field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) GetConfig ¶
func (o *BackupRepo) GetConfig() map[string]string
GetConfig returns the Config field value.
func (*BackupRepo) GetConfigOk ¶
func (o *BackupRepo) GetConfigOk() (*map[string]string, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*BackupRepo) GetCreatedAt ¶
func (o *BackupRepo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*BackupRepo) GetCreatedAtOk ¶
func (o *BackupRepo) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*BackupRepo) GetDefault ¶
func (o *BackupRepo) GetDefault() bool
GetDefault returns the Default field value.
func (*BackupRepo) GetDefaultOk ¶
func (o *BackupRepo) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*BackupRepo) GetEnvironmentId ¶
func (o *BackupRepo) GetEnvironmentId() uuid.UUID
GetEnvironmentId returns the EnvironmentId field value.
func (*BackupRepo) GetEnvironmentIdOk ¶
func (o *BackupRepo) GetEnvironmentIdOk() (*uuid.UUID, bool)
GetEnvironmentIdOk returns a tuple with the EnvironmentId field value and a boolean to check if the value has been set.
func (*BackupRepo) GetEnvironmentName ¶
func (o *BackupRepo) GetEnvironmentName() string
GetEnvironmentName returns the EnvironmentName field value.
func (*BackupRepo) GetEnvironmentNameOk ¶
func (o *BackupRepo) GetEnvironmentNameOk() (*string, bool)
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*BackupRepo) GetFailedMessage ¶
func (o *BackupRepo) GetFailedMessage() string
GetFailedMessage returns the FailedMessage field value if set, zero value otherwise.
func (*BackupRepo) GetFailedMessageOk ¶
func (o *BackupRepo) GetFailedMessageOk() (*string, bool)
GetFailedMessageOk returns a tuple with the FailedMessage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) GetFailedReason ¶
func (o *BackupRepo) GetFailedReason() string
GetFailedReason returns the FailedReason field value if set, zero value otherwise.
func (*BackupRepo) GetFailedReasonOk ¶
func (o *BackupRepo) GetFailedReasonOk() (*string, bool)
GetFailedReasonOk returns a tuple with the FailedReason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) GetId ¶
func (o *BackupRepo) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BackupRepo) GetIdOk ¶
func (o *BackupRepo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) GetName ¶
func (o *BackupRepo) GetName() string
GetName returns the Name field value.
func (*BackupRepo) GetNameOk ¶
func (o *BackupRepo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*BackupRepo) GetStatus ¶
func (o *BackupRepo) GetStatus() string
GetStatus returns the Status field value.
func (*BackupRepo) GetStatusOk ¶
func (o *BackupRepo) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*BackupRepo) GetStorageId ¶
func (o *BackupRepo) GetStorageId() string
GetStorageId returns the StorageId field value if set, zero value otherwise.
func (*BackupRepo) GetStorageIdOk ¶
func (o *BackupRepo) GetStorageIdOk() (*string, bool)
GetStorageIdOk returns a tuple with the StorageId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) GetStorageProvider ¶
func (o *BackupRepo) GetStorageProvider() string
GetStorageProvider returns the StorageProvider field value.
func (*BackupRepo) GetStorageProviderOk ¶
func (o *BackupRepo) GetStorageProviderOk() (*string, bool)
GetStorageProviderOk returns a tuple with the StorageProvider field value and a boolean to check if the value has been set.
func (*BackupRepo) GetTotalSize ¶
func (o *BackupRepo) GetTotalSize() string
GetTotalSize returns the TotalSize field value if set, zero value otherwise.
func (*BackupRepo) GetTotalSizeOk ¶
func (o *BackupRepo) GetTotalSizeOk() (*string, bool)
GetTotalSizeOk returns a tuple with the TotalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepo) HasBackupNums ¶
func (o *BackupRepo) HasBackupNums() bool
HasBackupNums returns a boolean if a field has been set.
func (*BackupRepo) HasFailedMessage ¶
func (o *BackupRepo) HasFailedMessage() bool
HasFailedMessage returns a boolean if a field has been set.
func (*BackupRepo) HasFailedReason ¶
func (o *BackupRepo) HasFailedReason() bool
HasFailedReason returns a boolean if a field has been set.
func (*BackupRepo) HasId ¶
func (o *BackupRepo) HasId() bool
HasId returns a boolean if a field has been set.
func (*BackupRepo) HasStorageId ¶
func (o *BackupRepo) HasStorageId() bool
HasStorageId returns a boolean if a field has been set.
func (*BackupRepo) HasTotalSize ¶
func (o *BackupRepo) HasTotalSize() bool
HasTotalSize returns a boolean if a field has been set.
func (BackupRepo) MarshalJSON ¶
func (o BackupRepo) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupRepo) SetAccessMethod ¶
func (o *BackupRepo) SetAccessMethod(v BackupRepoAccessMethod)
SetAccessMethod sets field value.
func (*BackupRepo) SetBackupNums ¶
func (o *BackupRepo) SetBackupNums(v int32)
SetBackupNums gets a reference to the given int32 and assigns it to the BackupNums field.
func (*BackupRepo) SetConfig ¶
func (o *BackupRepo) SetConfig(v map[string]string)
SetConfig sets field value.
func (*BackupRepo) SetCreatedAt ¶
func (o *BackupRepo) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*BackupRepo) SetDefault ¶
func (o *BackupRepo) SetDefault(v bool)
SetDefault sets field value.
func (*BackupRepo) SetEnvironmentId ¶
func (o *BackupRepo) SetEnvironmentId(v uuid.UUID)
SetEnvironmentId sets field value.
func (*BackupRepo) SetEnvironmentName ¶
func (o *BackupRepo) SetEnvironmentName(v string)
SetEnvironmentName sets field value.
func (*BackupRepo) SetFailedMessage ¶
func (o *BackupRepo) SetFailedMessage(v string)
SetFailedMessage gets a reference to the given string and assigns it to the FailedMessage field.
func (*BackupRepo) SetFailedReason ¶
func (o *BackupRepo) SetFailedReason(v string)
SetFailedReason gets a reference to the given string and assigns it to the FailedReason field.
func (*BackupRepo) SetId ¶
func (o *BackupRepo) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BackupRepo) SetStorageId ¶
func (o *BackupRepo) SetStorageId(v string)
SetStorageId gets a reference to the given string and assigns it to the StorageId field.
func (*BackupRepo) SetStorageProvider ¶
func (o *BackupRepo) SetStorageProvider(v string)
SetStorageProvider sets field value.
func (*BackupRepo) SetTotalSize ¶
func (o *BackupRepo) SetTotalSize(v string)
SetTotalSize gets a reference to the given string and assigns it to the TotalSize field.
func (*BackupRepo) UnmarshalJSON ¶
func (o *BackupRepo) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupRepoAccessMethod ¶
type BackupRepoAccessMethod string
BackupRepoAccessMethod the access method for backup repo
const ( BackupRepoAccessMethodMount BackupRepoAccessMethod = "Mount" BackupRepoAccessMethodTool BackupRepoAccessMethod = "Tool" )
List of BackupRepoAccessMethod.
func NewBackupRepoAccessMethodFromValue ¶
func NewBackupRepoAccessMethodFromValue(v string) (*BackupRepoAccessMethod, error)
NewBackupRepoAccessMethodFromValue returns a pointer to a valid BackupRepoAccessMethod for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BackupRepoAccessMethod) GetAllowedValues ¶
func (v *BackupRepoAccessMethod) GetAllowedValues() []BackupRepoAccessMethod
GetAllowedValues returns the list of possible values.
func (BackupRepoAccessMethod) IsValid ¶
func (v BackupRepoAccessMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BackupRepoAccessMethod) Ptr ¶
func (v BackupRepoAccessMethod) Ptr() *BackupRepoAccessMethod
Ptr returns reference to BackupRepoAccessMethod value.
func (*BackupRepoAccessMethod) UnmarshalJSON ¶
func (v *BackupRepoAccessMethod) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BackupRepoApi ¶
BackupRepoApi service type
func NewBackupRepoApi ¶
func NewBackupRepoApi(client *common.APIClient) *BackupRepoApi
NewBackupRepoApi Returns NewBackupRepoApi.
func (*BackupRepoApi) DeleteBackupRepo ¶
func (a *BackupRepoApi) DeleteBackupRepo(ctx _context.Context, environmentName string, backupRepoName string) (*_nethttp.Response, error)
DeleteBackupRepo Delete backup repo.
func (*BackupRepoApi) GetBackupRepo ¶
func (a *BackupRepoApi) GetBackupRepo(ctx _context.Context, environmentName string, backupRepoName string, o ...GetBackupRepoOptionalParameters) (BackupRepo, *_nethttp.Response, error)
GetBackupRepo Get backup repo.
func (*BackupRepoApi) ListBackupRepos ¶
func (a *BackupRepoApi) ListBackupRepos(ctx _context.Context, orgName string) (BackupRepoList, *_nethttp.Response, error)
ListBackupRepos List backup repos.
func (*BackupRepoApi) UpdateBackupRepo ¶
func (a *BackupRepoApi) UpdateBackupRepo(ctx _context.Context, environmentName string, backupRepoName string, body BackupRepoUpdate) (BackupRepo, *_nethttp.Response, error)
UpdateBackupRepo Update backup repo.
type BackupRepoList ¶
type BackupRepoList struct {
// Items is the list of backupRepo objects in the list
Items []BackupRepo `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupRepoList BackupRepoList is a list of backupRepo
func NewBackupRepoList ¶
func NewBackupRepoList(items []BackupRepo) *BackupRepoList
NewBackupRepoList instantiates a new BackupRepoList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupRepoListWithDefaults ¶
func NewBackupRepoListWithDefaults() *BackupRepoList
NewBackupRepoListWithDefaults instantiates a new BackupRepoList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupRepoList) GetItems ¶
func (o *BackupRepoList) GetItems() []BackupRepo
GetItems returns the Items field value.
func (*BackupRepoList) GetItemsOk ¶
func (o *BackupRepoList) GetItemsOk() (*[]BackupRepo, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*BackupRepoList) GetPageResult ¶
func (o *BackupRepoList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*BackupRepoList) GetPageResultOk ¶
func (o *BackupRepoList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepoList) HasPageResult ¶
func (o *BackupRepoList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (BackupRepoList) MarshalJSON ¶
func (o BackupRepoList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupRepoList) SetItems ¶
func (o *BackupRepoList) SetItems(v []BackupRepo)
SetItems sets field value.
func (*BackupRepoList) SetPageResult ¶
func (o *BackupRepoList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*BackupRepoList) UnmarshalJSON ¶
func (o *BackupRepoList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupRepoUpdate ¶
type BackupRepoUpdate struct {
// default specifies whether the backupRepo is the default backupRepo
Default *bool `json:"default,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupRepoUpdate BackupRepoUpdate is the payload to update a KubeBlocks cluster backup repo
func NewBackupRepoUpdate ¶
func NewBackupRepoUpdate() *BackupRepoUpdate
NewBackupRepoUpdate instantiates a new BackupRepoUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupRepoUpdateWithDefaults ¶
func NewBackupRepoUpdateWithDefaults() *BackupRepoUpdate
NewBackupRepoUpdateWithDefaults instantiates a new BackupRepoUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupRepoUpdate) GetDefault ¶
func (o *BackupRepoUpdate) GetDefault() bool
GetDefault returns the Default field value if set, zero value otherwise.
func (*BackupRepoUpdate) GetDefaultOk ¶
func (o *BackupRepoUpdate) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupRepoUpdate) HasDefault ¶
func (o *BackupRepoUpdate) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (BackupRepoUpdate) MarshalJSON ¶
func (o BackupRepoUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupRepoUpdate) SetDefault ¶
func (o *BackupRepoUpdate) SetDefault(v bool)
SetDefault gets a reference to the given bool and assigns it to the Default field.
func (*BackupRepoUpdate) UnmarshalJSON ¶
func (o *BackupRepoUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupRetentionPolicy ¶
type BackupRetentionPolicy string
BackupRetentionPolicy backup retention policy when cluster is deleted
const ( BackupRetentionPolicyAll BackupRetentionPolicy = "All" BackupRetentionPolicyLastOne BackupRetentionPolicy = "LastOne" BackupRetentionPolicyWipeOut BackupRetentionPolicy = "WipeOut" )
List of BackupRetentionPolicy.
func NewBackupRetentionPolicyFromValue ¶
func NewBackupRetentionPolicyFromValue(v string) (*BackupRetentionPolicy, error)
NewBackupRetentionPolicyFromValue returns a pointer to a valid BackupRetentionPolicy for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BackupRetentionPolicy) GetAllowedValues ¶
func (v *BackupRetentionPolicy) GetAllowedValues() []BackupRetentionPolicy
GetAllowedValues returns the list of possible values.
func (BackupRetentionPolicy) IsValid ¶
func (v BackupRetentionPolicy) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BackupRetentionPolicy) Ptr ¶
func (v BackupRetentionPolicy) Ptr() *BackupRetentionPolicy
Ptr returns reference to BackupRetentionPolicy value.
func (*BackupRetentionPolicy) UnmarshalJSON ¶
func (v *BackupRetentionPolicy) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BackupStats ¶
type BackupStats struct {
// Number of backups for each defferent status
BackupStatsStatus []BackupStatsStatus `json:"backupStatsStatus,omitempty"`
// Totalsize and number of backups for each engine
BackupStatsEngine []BackupStatsEngine `json:"backupStatsEngine,omitempty"`
// create time of the latest backup
LatestBackupTime common.NullableTime `json:"latestBackupTime,omitempty"`
// backup status of the latest backup
LatestBackupStatus common.NullableString `json:"latestBackupStatus,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupStats Backup statistic info
func NewBackupStats ¶
func NewBackupStats() *BackupStats
NewBackupStats instantiates a new BackupStats object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupStatsWithDefaults ¶
func NewBackupStatsWithDefaults() *BackupStats
NewBackupStatsWithDefaults instantiates a new BackupStats object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupStats) GetBackupStatsEngine ¶
func (o *BackupStats) GetBackupStatsEngine() []BackupStatsEngine
GetBackupStatsEngine returns the BackupStatsEngine field value if set, zero value otherwise.
func (*BackupStats) GetBackupStatsEngineOk ¶
func (o *BackupStats) GetBackupStatsEngineOk() (*[]BackupStatsEngine, bool)
GetBackupStatsEngineOk returns a tuple with the BackupStatsEngine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStats) GetBackupStatsStatus ¶
func (o *BackupStats) GetBackupStatsStatus() []BackupStatsStatus
GetBackupStatsStatus returns the BackupStatsStatus field value if set, zero value otherwise.
func (*BackupStats) GetBackupStatsStatusOk ¶
func (o *BackupStats) GetBackupStatsStatusOk() (*[]BackupStatsStatus, bool)
GetBackupStatsStatusOk returns a tuple with the BackupStatsStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStats) GetLatestBackupStatus ¶
func (o *BackupStats) GetLatestBackupStatus() string
GetLatestBackupStatus returns the LatestBackupStatus field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BackupStats) GetLatestBackupStatusOk ¶
func (o *BackupStats) GetLatestBackupStatusOk() (*string, bool)
GetLatestBackupStatusOk returns a tuple with the LatestBackupStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*BackupStats) GetLatestBackupTime ¶
func (o *BackupStats) GetLatestBackupTime() time.Time
GetLatestBackupTime returns the LatestBackupTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BackupStats) GetLatestBackupTimeOk ¶
func (o *BackupStats) GetLatestBackupTimeOk() (*time.Time, bool)
GetLatestBackupTimeOk returns a tuple with the LatestBackupTime field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*BackupStats) HasBackupStatsEngine ¶
func (o *BackupStats) HasBackupStatsEngine() bool
HasBackupStatsEngine returns a boolean if a field has been set.
func (*BackupStats) HasBackupStatsStatus ¶
func (o *BackupStats) HasBackupStatsStatus() bool
HasBackupStatsStatus returns a boolean if a field has been set.
func (*BackupStats) HasLatestBackupStatus ¶
func (o *BackupStats) HasLatestBackupStatus() bool
HasLatestBackupStatus returns a boolean if a field has been set.
func (*BackupStats) HasLatestBackupTime ¶
func (o *BackupStats) HasLatestBackupTime() bool
HasLatestBackupTime returns a boolean if a field has been set.
func (BackupStats) MarshalJSON ¶
func (o BackupStats) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupStats) SetBackupStatsEngine ¶
func (o *BackupStats) SetBackupStatsEngine(v []BackupStatsEngine)
SetBackupStatsEngine gets a reference to the given []BackupStatsEngine and assigns it to the BackupStatsEngine field.
func (*BackupStats) SetBackupStatsStatus ¶
func (o *BackupStats) SetBackupStatsStatus(v []BackupStatsStatus)
SetBackupStatsStatus gets a reference to the given []BackupStatsStatus and assigns it to the BackupStatsStatus field.
func (*BackupStats) SetLatestBackupStatus ¶
func (o *BackupStats) SetLatestBackupStatus(v string)
SetLatestBackupStatus gets a reference to the given common.NullableString and assigns it to the LatestBackupStatus field.
func (*BackupStats) SetLatestBackupStatusNil ¶
func (o *BackupStats) SetLatestBackupStatusNil()
SetLatestBackupStatusNil sets the value for LatestBackupStatus to be an explicit nil.
func (*BackupStats) SetLatestBackupTime ¶
func (o *BackupStats) SetLatestBackupTime(v time.Time)
SetLatestBackupTime gets a reference to the given common.NullableTime and assigns it to the LatestBackupTime field.
func (*BackupStats) SetLatestBackupTimeNil ¶
func (o *BackupStats) SetLatestBackupTimeNil()
SetLatestBackupTimeNil sets the value for LatestBackupTime to be an explicit nil.
func (*BackupStats) UnmarshalJSON ¶
func (o *BackupStats) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*BackupStats) UnsetLatestBackupStatus ¶
func (o *BackupStats) UnsetLatestBackupStatus()
UnsetLatestBackupStatus ensures that no value is present for LatestBackupStatus, not even an explicit nil.
func (*BackupStats) UnsetLatestBackupTime ¶
func (o *BackupStats) UnsetLatestBackupTime()
UnsetLatestBackupTime ensures that no value is present for LatestBackupTime, not even an explicit nil.
type BackupStatsEngine ¶
type BackupStatsEngine struct {
// Engine name
EngineName *string `json:"engineName,omitempty"`
// totalsize of backups for each engine, A string with capacity units in the form of "1Gi", "1Mi", "1Ki".
BackupSize *string `json:"backupSize,omitempty"`
// The number of backups for each engine
BackupNum *int64 `json:"backupNum,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupStatsEngine Totalsize and number of backups for the engine
func NewBackupStatsEngine ¶
func NewBackupStatsEngine() *BackupStatsEngine
NewBackupStatsEngine instantiates a new BackupStatsEngine object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupStatsEngineWithDefaults ¶
func NewBackupStatsEngineWithDefaults() *BackupStatsEngine
NewBackupStatsEngineWithDefaults instantiates a new BackupStatsEngine object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupStatsEngine) GetBackupNum ¶
func (o *BackupStatsEngine) GetBackupNum() int64
GetBackupNum returns the BackupNum field value if set, zero value otherwise.
func (*BackupStatsEngine) GetBackupNumOk ¶
func (o *BackupStatsEngine) GetBackupNumOk() (*int64, bool)
GetBackupNumOk returns a tuple with the BackupNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStatsEngine) GetBackupSize ¶
func (o *BackupStatsEngine) GetBackupSize() string
GetBackupSize returns the BackupSize field value if set, zero value otherwise.
func (*BackupStatsEngine) GetBackupSizeOk ¶
func (o *BackupStatsEngine) GetBackupSizeOk() (*string, bool)
GetBackupSizeOk returns a tuple with the BackupSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStatsEngine) GetEngineName ¶
func (o *BackupStatsEngine) GetEngineName() string
GetEngineName returns the EngineName field value if set, zero value otherwise.
func (*BackupStatsEngine) GetEngineNameOk ¶
func (o *BackupStatsEngine) GetEngineNameOk() (*string, bool)
GetEngineNameOk returns a tuple with the EngineName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStatsEngine) HasBackupNum ¶
func (o *BackupStatsEngine) HasBackupNum() bool
HasBackupNum returns a boolean if a field has been set.
func (*BackupStatsEngine) HasBackupSize ¶
func (o *BackupStatsEngine) HasBackupSize() bool
HasBackupSize returns a boolean if a field has been set.
func (*BackupStatsEngine) HasEngineName ¶
func (o *BackupStatsEngine) HasEngineName() bool
HasEngineName returns a boolean if a field has been set.
func (BackupStatsEngine) MarshalJSON ¶
func (o BackupStatsEngine) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupStatsEngine) SetBackupNum ¶
func (o *BackupStatsEngine) SetBackupNum(v int64)
SetBackupNum gets a reference to the given int64 and assigns it to the BackupNum field.
func (*BackupStatsEngine) SetBackupSize ¶
func (o *BackupStatsEngine) SetBackupSize(v string)
SetBackupSize gets a reference to the given string and assigns it to the BackupSize field.
func (*BackupStatsEngine) SetEngineName ¶
func (o *BackupStatsEngine) SetEngineName(v string)
SetEngineName gets a reference to the given string and assigns it to the EngineName field.
func (*BackupStatsEngine) UnmarshalJSON ¶
func (o *BackupStatsEngine) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupStatsStatus ¶
type BackupStatsStatus struct {
// Backup status
Status *string `json:"status,omitempty"`
// Number of backups for each status
BackupNum *int64 `json:"backupNum,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BackupStatsStatus Number of backups for the status
func NewBackupStatsStatus ¶
func NewBackupStatsStatus() *BackupStatsStatus
NewBackupStatsStatus instantiates a new BackupStatsStatus object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupStatsStatusWithDefaults ¶
func NewBackupStatsStatusWithDefaults() *BackupStatsStatus
NewBackupStatsStatusWithDefaults instantiates a new BackupStatsStatus object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupStatsStatus) GetBackupNum ¶
func (o *BackupStatsStatus) GetBackupNum() int64
GetBackupNum returns the BackupNum field value if set, zero value otherwise.
func (*BackupStatsStatus) GetBackupNumOk ¶
func (o *BackupStatsStatus) GetBackupNumOk() (*int64, bool)
GetBackupNumOk returns a tuple with the BackupNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStatsStatus) GetStatus ¶
func (o *BackupStatsStatus) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*BackupStatsStatus) GetStatusOk ¶
func (o *BackupStatsStatus) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupStatsStatus) HasBackupNum ¶
func (o *BackupStatsStatus) HasBackupNum() bool
HasBackupNum returns a boolean if a field has been set.
func (*BackupStatsStatus) HasStatus ¶
func (o *BackupStatsStatus) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (BackupStatsStatus) MarshalJSON ¶
func (o BackupStatsStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupStatsStatus) SetBackupNum ¶
func (o *BackupStatsStatus) SetBackupNum(v int64)
SetBackupNum gets a reference to the given int64 and assigns it to the BackupNum field.
func (*BackupStatsStatus) SetStatus ¶
func (o *BackupStatsStatus) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*BackupStatsStatus) UnmarshalJSON ¶
func (o *BackupStatsStatus) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BackupStatus ¶
type BackupStatus string
BackupStatus The current status. Valid values are New, InProgress, Completed, Failed.
const ( BackupStatusNew BackupStatus = "New" BackupStatusInProgress BackupStatus = "InProgress" BackupStatusRunning BackupStatus = "Running" BackupStatusCompleted BackupStatus = "Completed" BackupStatusFailed BackupStatus = "Failed" BackupStatusDeleting BackupStatus = "Deleting" )
List of BackupStatus.
func NewBackupStatusFromValue ¶
func NewBackupStatusFromValue(v string) (*BackupStatus, error)
NewBackupStatusFromValue returns a pointer to a valid BackupStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BackupStatus) GetAllowedValues ¶
func (v *BackupStatus) GetAllowedValues() []BackupStatus
GetAllowedValues returns the list of possible values.
func (BackupStatus) IsValid ¶
func (v BackupStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BackupStatus) Ptr ¶
func (v BackupStatus) Ptr() *BackupStatus
Ptr returns reference to BackupStatus value.
func (*BackupStatus) UnmarshalJSON ¶
func (v *BackupStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BackupType ¶
type BackupType string
BackupType the type of backup
const ( BackupTypeFull BackupType = "Full" BackupTypeIncremental BackupType = "Incremental" BackupTypeDifferential BackupType = "Differential" BackupTypeContinuous BackupType = "Continuous" )
List of BackupType.
func NewBackupTypeFromValue ¶
func NewBackupTypeFromValue(v string) (*BackupType, error)
NewBackupTypeFromValue returns a pointer to a valid BackupType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BackupType) GetAllowedValues ¶
func (v *BackupType) GetAllowedValues() []BackupType
GetAllowedValues returns the list of possible values.
func (BackupType) IsValid ¶
func (v BackupType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BackupType) Ptr ¶
func (v BackupType) Ptr() *BackupType
Ptr returns reference to BackupType value.
func (*BackupType) UnmarshalJSON ¶
func (v *BackupType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BackupView ¶
type BackupView struct {
// the paths of file to view
Filepaths []string `json:"filepaths,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewBackupView ¶
func NewBackupView() *BackupView
NewBackupView instantiates a new BackupView object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBackupViewWithDefaults ¶
func NewBackupViewWithDefaults() *BackupView
NewBackupViewWithDefaults instantiates a new BackupView object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BackupView) GetFilepaths ¶
func (o *BackupView) GetFilepaths() []string
GetFilepaths returns the Filepaths field value if set, zero value otherwise.
func (*BackupView) GetFilepathsOk ¶
func (o *BackupView) GetFilepathsOk() (*[]string, bool)
GetFilepathsOk returns a tuple with the Filepaths field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BackupView) HasFilepaths ¶
func (o *BackupView) HasFilepaths() bool
HasFilepaths returns a boolean if a field has been set.
func (BackupView) MarshalJSON ¶
func (o BackupView) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BackupView) SetFilepaths ¶
func (o *BackupView) SetFilepaths(v []string)
SetFilepaths gets a reference to the given []string and assigns it to the Filepaths field.
func (*BackupView) UnmarshalJSON ¶
func (o *BackupView) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BenchOption ¶
type BenchOption struct {
Pgbench bool `json:"pgbench"`
Sysbench bool `json:"sysbench"`
Tpcc bool `json:"tpcc"`
Ycsb bool `json:"ycsb"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewBenchOption ¶
func NewBenchOption(pgbench bool, sysbench bool, tpcc bool, ycsb bool) *BenchOption
NewBenchOption instantiates a new BenchOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBenchOptionWithDefaults ¶
func NewBenchOptionWithDefaults() *BenchOption
NewBenchOptionWithDefaults instantiates a new BenchOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BenchOption) GetPgbench ¶
func (o *BenchOption) GetPgbench() bool
GetPgbench returns the Pgbench field value.
func (*BenchOption) GetPgbenchOk ¶
func (o *BenchOption) GetPgbenchOk() (*bool, bool)
GetPgbenchOk returns a tuple with the Pgbench field value and a boolean to check if the value has been set.
func (*BenchOption) GetSysbench ¶
func (o *BenchOption) GetSysbench() bool
GetSysbench returns the Sysbench field value.
func (*BenchOption) GetSysbenchOk ¶
func (o *BenchOption) GetSysbenchOk() (*bool, bool)
GetSysbenchOk returns a tuple with the Sysbench field value and a boolean to check if the value has been set.
func (*BenchOption) GetTpcc ¶
func (o *BenchOption) GetTpcc() bool
GetTpcc returns the Tpcc field value.
func (*BenchOption) GetTpccOk ¶
func (o *BenchOption) GetTpccOk() (*bool, bool)
GetTpccOk returns a tuple with the Tpcc field value and a boolean to check if the value has been set.
func (*BenchOption) GetYcsb ¶
func (o *BenchOption) GetYcsb() bool
GetYcsb returns the Ycsb field value.
func (*BenchOption) GetYcsbOk ¶
func (o *BenchOption) GetYcsbOk() (*bool, bool)
GetYcsbOk returns a tuple with the Ycsb field value and a boolean to check if the value has been set.
func (BenchOption) MarshalJSON ¶
func (o BenchOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BenchOption) SetPgbench ¶
func (o *BenchOption) SetPgbench(v bool)
SetPgbench sets field value.
func (*BenchOption) SetSysbench ¶
func (o *BenchOption) SetSysbench(v bool)
SetSysbench sets field value.
func (*BenchOption) UnmarshalJSON ¶
func (o *BenchOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Benchmark ¶
type Benchmark struct {
// ID of benchmark
Id *string `json:"id,omitempty"`
// Name of benchmark
Name *string `json:"name,omitempty"`
// Type of benchmark
Type *BenchmarkType `json:"type,omitempty"`
// Config of benchmark
Config *string `json:"config,omitempty"`
// the log of benchmark in prepare stage
PrepareLog *string `json:"prepareLog,omitempty"`
// the log of benchmark in run stage
RunLog *string `json:"runLog,omitempty"`
// the log of benchmark in cleanup stage
CleanupLog *string `json:"cleanupLog,omitempty"`
// the result of benchmark, only available when benchmark is complete
Result *string `json:"result,omitempty"`
// the message of benchmark, only available when benchmark is failed
Message *string `json:"message,omitempty"`
// the cluster name
Cluster *string `json:"cluster,omitempty"`
// the cluster id
ClusterId *string `json:"clusterID,omitempty"`
// the database name
Database *string `json:"database,omitempty"`
// the completion timestamp of benchmark
CompletionTimestamp *time.Time `json:"completionTimestamp,omitempty"`
// the create timestamp of benchmark
CreatedAt *time.Time `json:"createdAt,omitempty"`
// the status of benchmark
Status *BenchmarkStatus `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Benchmark Benchmark is the benchmark object
func NewBenchmark ¶
func NewBenchmark() *Benchmark
NewBenchmark instantiates a new Benchmark object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBenchmarkWithDefaults ¶
func NewBenchmarkWithDefaults() *Benchmark
NewBenchmarkWithDefaults instantiates a new Benchmark object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Benchmark) GetCleanupLog ¶
GetCleanupLog returns the CleanupLog field value if set, zero value otherwise.
func (*Benchmark) GetCleanupLogOk ¶
GetCleanupLogOk returns a tuple with the CleanupLog field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetCluster ¶
GetCluster returns the Cluster field value if set, zero value otherwise.
func (*Benchmark) GetClusterId ¶
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*Benchmark) GetClusterIdOk ¶
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetCompletionTimestamp ¶
GetCompletionTimestamp returns the CompletionTimestamp field value if set, zero value otherwise.
func (*Benchmark) GetCompletionTimestampOk ¶
GetCompletionTimestampOk returns a tuple with the CompletionTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetConfig ¶
GetConfig returns the Config field value if set, zero value otherwise.
func (*Benchmark) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Benchmark) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetDatabase ¶
GetDatabase returns the Database field value if set, zero value otherwise.
func (*Benchmark) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Benchmark) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetPrepareLog ¶
GetPrepareLog returns the PrepareLog field value if set, zero value otherwise.
func (*Benchmark) GetPrepareLogOk ¶
GetPrepareLogOk returns a tuple with the PrepareLog field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetResult ¶
GetResult returns the Result field value if set, zero value otherwise.
func (*Benchmark) GetResultOk ¶
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetRunLog ¶
GetRunLog returns the RunLog field value if set, zero value otherwise.
func (*Benchmark) GetRunLogOk ¶
GetRunLogOk returns a tuple with the RunLog field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetStatus ¶
func (o *Benchmark) GetStatus() BenchmarkStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*Benchmark) GetStatusOk ¶
func (o *Benchmark) GetStatusOk() (*BenchmarkStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) GetType ¶
func (o *Benchmark) GetType() BenchmarkType
GetType returns the Type field value if set, zero value otherwise.
func (*Benchmark) GetTypeOk ¶
func (o *Benchmark) GetTypeOk() (*BenchmarkType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Benchmark) HasCleanupLog ¶
HasCleanupLog returns a boolean if a field has been set.
func (*Benchmark) HasCluster ¶
HasCluster returns a boolean if a field has been set.
func (*Benchmark) HasClusterId ¶
HasClusterId returns a boolean if a field has been set.
func (*Benchmark) HasCompletionTimestamp ¶
HasCompletionTimestamp returns a boolean if a field has been set.
func (*Benchmark) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Benchmark) HasDatabase ¶
HasDatabase returns a boolean if a field has been set.
func (*Benchmark) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (*Benchmark) HasPrepareLog ¶
HasPrepareLog returns a boolean if a field has been set.
func (Benchmark) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Benchmark) SetCleanupLog ¶
SetCleanupLog gets a reference to the given string and assigns it to the CleanupLog field.
func (*Benchmark) SetCluster ¶
SetCluster gets a reference to the given string and assigns it to the Cluster field.
func (*Benchmark) SetClusterId ¶
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*Benchmark) SetCompletionTimestamp ¶
SetCompletionTimestamp gets a reference to the given time.Time and assigns it to the CompletionTimestamp field.
func (*Benchmark) SetConfig ¶
SetConfig gets a reference to the given string and assigns it to the Config field.
func (*Benchmark) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Benchmark) SetDatabase ¶
SetDatabase gets a reference to the given string and assigns it to the Database field.
func (*Benchmark) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*Benchmark) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*Benchmark) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Benchmark) SetPrepareLog ¶
SetPrepareLog gets a reference to the given string and assigns it to the PrepareLog field.
func (*Benchmark) SetResult ¶
SetResult gets a reference to the given string and assigns it to the Result field.
func (*Benchmark) SetRunLog ¶
SetRunLog gets a reference to the given string and assigns it to the RunLog field.
func (*Benchmark) SetStatus ¶
func (o *Benchmark) SetStatus(v BenchmarkStatus)
SetStatus gets a reference to the given BenchmarkStatus and assigns it to the Status field.
func (*Benchmark) SetType ¶
func (o *Benchmark) SetType(v BenchmarkType)
SetType gets a reference to the given BenchmarkType and assigns it to the Type field.
func (*Benchmark) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type BenchmarkApi ¶
BenchmarkApi service type
func NewBenchmarkApi ¶
func NewBenchmarkApi(client *common.APIClient) *BenchmarkApi
NewBenchmarkApi Returns NewBenchmarkApi.
func (*BenchmarkApi) CreatePgbench ¶
func (a *BenchmarkApi) CreatePgbench(ctx _context.Context, orgName string, body Pgbench) (Benchmark, *_nethttp.Response, error)
CreatePgbench Create a pgbench benchmark task.
func (*BenchmarkApi) CreateSysbench ¶
func (a *BenchmarkApi) CreateSysbench(ctx _context.Context, orgName string, body Sysbench) (Benchmark, *_nethttp.Response, error)
CreateSysbench Create a sysbench benchmark task.
func (*BenchmarkApi) CreateTpcc ¶
func (a *BenchmarkApi) CreateTpcc(ctx _context.Context, orgName string, body Tpcc) (Benchmark, *_nethttp.Response, error)
CreateTpcc Create a tpcc benchmark task.
func (*BenchmarkApi) CreateYcsb ¶
func (a *BenchmarkApi) CreateYcsb(ctx _context.Context, orgName string, body Ycsb) (Benchmark, *_nethttp.Response, error)
CreateYcsb Create a ycsb benchmark task.
func (*BenchmarkApi) DeleteBenchmark ¶
func (a *BenchmarkApi) DeleteBenchmark(ctx _context.Context, orgName string, body []string) (interface{}, *_nethttp.Response, error)
DeleteBenchmark Delete benchmark tasks.
func (*BenchmarkApi) GetBenchmark ¶
func (a *BenchmarkApi) GetBenchmark(ctx _context.Context, orgName string, benchmarkId string) (Benchmark, *_nethttp.Response, error)
GetBenchmark Get benchmark task info.
func (*BenchmarkApi) ListBenchmark ¶
func (a *BenchmarkApi) ListBenchmark(ctx _context.Context, orgName string, o ...ListBenchmarkOptionalParameters) (BenchmarkList, *_nethttp.Response, error)
ListBenchmark List benchmark tasks.
type BenchmarkList ¶
type BenchmarkList struct {
// Items is the list of benchmark objects in the list
Items []Benchmark `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
BenchmarkList BenchmarkList is a list of benchmarks
func NewBenchmarkList ¶
func NewBenchmarkList(items []Benchmark) *BenchmarkList
NewBenchmarkList instantiates a new BenchmarkList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewBenchmarkListWithDefaults ¶
func NewBenchmarkListWithDefaults() *BenchmarkList
NewBenchmarkListWithDefaults instantiates a new BenchmarkList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*BenchmarkList) GetItems ¶
func (o *BenchmarkList) GetItems() []Benchmark
GetItems returns the Items field value.
func (*BenchmarkList) GetItemsOk ¶
func (o *BenchmarkList) GetItemsOk() (*[]Benchmark, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*BenchmarkList) GetPageResult ¶
func (o *BenchmarkList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*BenchmarkList) GetPageResultOk ¶
func (o *BenchmarkList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BenchmarkList) HasPageResult ¶
func (o *BenchmarkList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (BenchmarkList) MarshalJSON ¶
func (o BenchmarkList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*BenchmarkList) SetItems ¶
func (o *BenchmarkList) SetItems(v []Benchmark)
SetItems sets field value.
func (*BenchmarkList) SetPageResult ¶
func (o *BenchmarkList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*BenchmarkList) UnmarshalJSON ¶
func (o *BenchmarkList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type BenchmarkStatus ¶
type BenchmarkStatus string
BenchmarkStatus the status of benchmark
const ( BenchmarkStatusPending BenchmarkStatus = "Pending" BenchmarkStatusRunning BenchmarkStatus = "Running" BenchmarkStatusCompleted BenchmarkStatus = "Completed" BenchmarkStatusFailed BenchmarkStatus = "Failed" )
List of BenchmarkStatus.
func NewBenchmarkStatusFromValue ¶
func NewBenchmarkStatusFromValue(v string) (*BenchmarkStatus, error)
NewBenchmarkStatusFromValue returns a pointer to a valid BenchmarkStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BenchmarkStatus) GetAllowedValues ¶
func (v *BenchmarkStatus) GetAllowedValues() []BenchmarkStatus
GetAllowedValues returns the list of possible values.
func (BenchmarkStatus) IsValid ¶
func (v BenchmarkStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BenchmarkStatus) Ptr ¶
func (v BenchmarkStatus) Ptr() *BenchmarkStatus
Ptr returns reference to BenchmarkStatus value.
func (*BenchmarkStatus) UnmarshalJSON ¶
func (v *BenchmarkStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type BenchmarkType ¶
type BenchmarkType string
BenchmarkType Type of benchmark
const ( BenchmarkTypePgbench BenchmarkType = "pgbench" BenchmarkTypeSysbench BenchmarkType = "sysbench" BenchmarkTypeTpcc BenchmarkType = "tpcc" BenchmarkTypeTpch BenchmarkType = "tpch" BenchmarkTypeYcsb BenchmarkType = "ycsb" )
List of BenchmarkType.
func NewBenchmarkTypeFromValue ¶
func NewBenchmarkTypeFromValue(v string) (*BenchmarkType, error)
NewBenchmarkTypeFromValue returns a pointer to a valid BenchmarkType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*BenchmarkType) GetAllowedValues ¶
func (v *BenchmarkType) GetAllowedValues() []BenchmarkType
GetAllowedValues returns the list of possible values.
func (BenchmarkType) IsValid ¶
func (v BenchmarkType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (BenchmarkType) Ptr ¶
func (v BenchmarkType) Ptr() *BenchmarkType
Ptr returns reference to BenchmarkType value.
func (*BenchmarkType) UnmarshalJSON ¶
func (v *BenchmarkType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type CPU ¶
type CPU struct {
CpuCapacity *string `json:"cpu_capacity,omitempty"`
CpuCapacityMax *string `json:"cpu_capacity_max,omitempty"`
CpuAssigned *string `json:"cpu_assigned,omitempty"`
CpuAssignedMax *string `json:"cpu_assigned_max,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewCPU ¶
func NewCPU() *CPU
NewCPU instantiates a new CPU object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewCPUWithDefaults ¶
func NewCPUWithDefaults() *CPU
NewCPUWithDefaults instantiates a new CPU object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*CPU) GetCpuAssigned ¶
GetCpuAssigned returns the CpuAssigned field value if set, zero value otherwise.
func (*CPU) GetCpuAssignedMax ¶
GetCpuAssignedMax returns the CpuAssignedMax field value if set, zero value otherwise.
func (*CPU) GetCpuAssignedMaxOk ¶
GetCpuAssignedMaxOk returns a tuple with the CpuAssignedMax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetCpuAssignedOk ¶
GetCpuAssignedOk returns a tuple with the CpuAssigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetCpuCapacity ¶
GetCpuCapacity returns the CpuCapacity field value if set, zero value otherwise.
func (*CPU) GetCpuCapacityMax ¶
GetCpuCapacityMax returns the CpuCapacityMax field value if set, zero value otherwise.
func (*CPU) GetCpuCapacityMaxOk ¶
GetCpuCapacityMaxOk returns a tuple with the CpuCapacityMax field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) GetCpuCapacityOk ¶
GetCpuCapacityOk returns a tuple with the CpuCapacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CPU) HasCpuAssigned ¶
HasCpuAssigned returns a boolean if a field has been set.
func (*CPU) HasCpuAssignedMax ¶
HasCpuAssignedMax returns a boolean if a field has been set.
func (*CPU) HasCpuCapacity ¶
HasCpuCapacity returns a boolean if a field has been set.
func (*CPU) HasCpuCapacityMax ¶
HasCpuCapacityMax returns a boolean if a field has been set.
func (CPU) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*CPU) SetCpuAssigned ¶
SetCpuAssigned gets a reference to the given string and assigns it to the CpuAssigned field.
func (*CPU) SetCpuAssignedMax ¶
SetCpuAssignedMax gets a reference to the given string and assigns it to the CpuAssignedMax field.
func (*CPU) SetCpuCapacity ¶
SetCpuCapacity gets a reference to the given string and assigns it to the CpuCapacity field.
func (*CPU) SetCpuCapacityMax ¶
SetCpuCapacityMax gets a reference to the given string and assigns it to the CpuCapacityMax field.
func (*CPU) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type Class ¶
type Class struct {
Engine *string `json:"engine,omitempty"`
Code *string `json:"code,omitempty"`
CodeShort *string `json:"codeShort,omitempty"`
Mode *string `json:"mode,omitempty"`
Cpu *float64 `json:"cpu,omitempty"`
CpuRequest *float64 `json:"cpuRequest,omitempty"`
CpuLimit *float64 `json:"cpuLimit,omitempty"`
Memory *float64 `json:"memory,omitempty"`
MemoryRequest *float64 `json:"memoryRequest,omitempty"`
MemoryLimit *float64 `json:"memoryLimit,omitempty"`
Component *string `json:"component,omitempty"`
Series *ClassSeries `json:"series,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewClass ¶
func NewClass() *Class
NewClass instantiates a new Class object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClassWithDefaults ¶
func NewClassWithDefaults() *Class
NewClassWithDefaults instantiates a new Class object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Class) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetCodeShort ¶
GetCodeShort returns the CodeShort field value if set, zero value otherwise.
func (*Class) GetCodeShortOk ¶
GetCodeShortOk returns a tuple with the CodeShort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*Class) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetCpuLimit ¶
GetCpuLimit returns the CpuLimit field value if set, zero value otherwise.
func (*Class) GetCpuLimitOk ¶
GetCpuLimitOk returns a tuple with the CpuLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetCpuRequest ¶
GetCpuRequest returns the CpuRequest field value if set, zero value otherwise.
func (*Class) GetCpuRequestOk ¶
GetCpuRequestOk returns a tuple with the CpuRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetEngineOk ¶
GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetMemoryLimit ¶
GetMemoryLimit returns the MemoryLimit field value if set, zero value otherwise.
func (*Class) GetMemoryLimitOk ¶
GetMemoryLimitOk returns a tuple with the MemoryLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetMemoryRequest ¶
GetMemoryRequest returns the MemoryRequest field value if set, zero value otherwise.
func (*Class) GetMemoryRequestOk ¶
GetMemoryRequestOk returns a tuple with the MemoryRequest field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) GetSeries ¶
func (o *Class) GetSeries() ClassSeries
GetSeries returns the Series field value if set, zero value otherwise.
func (*Class) GetSeriesOk ¶
func (o *Class) GetSeriesOk() (*ClassSeries, bool)
GetSeriesOk returns a tuple with the Series field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Class) HasCodeShort ¶
HasCodeShort returns a boolean if a field has been set.
func (*Class) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (*Class) HasCpuLimit ¶
HasCpuLimit returns a boolean if a field has been set.
func (*Class) HasCpuRequest ¶
HasCpuRequest returns a boolean if a field has been set.
func (*Class) HasMemoryLimit ¶
HasMemoryLimit returns a boolean if a field has been set.
func (*Class) HasMemoryRequest ¶
HasMemoryRequest returns a boolean if a field has been set.
func (Class) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Class) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Class) SetCodeShort ¶
SetCodeShort gets a reference to the given string and assigns it to the CodeShort field.
func (*Class) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*Class) SetCpu ¶
SetCpu gets a reference to the given float64 and assigns it to the Cpu field.
func (*Class) SetCpuLimit ¶
SetCpuLimit gets a reference to the given float64 and assigns it to the CpuLimit field.
func (*Class) SetCpuRequest ¶
SetCpuRequest gets a reference to the given float64 and assigns it to the CpuRequest field.
func (*Class) SetEngine ¶
SetEngine gets a reference to the given string and assigns it to the Engine field.
func (*Class) SetMemory ¶
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*Class) SetMemoryLimit ¶
SetMemoryLimit gets a reference to the given float64 and assigns it to the MemoryLimit field.
func (*Class) SetMemoryRequest ¶
SetMemoryRequest gets a reference to the given float64 and assigns it to the MemoryRequest field.
func (*Class) SetMode ¶
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*Class) SetSeries ¶
func (o *Class) SetSeries(v ClassSeries)
SetSeries gets a reference to the given ClassSeries and assigns it to the Series field.
func (*Class) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ClassApi ¶
ClassApi service type
func NewClassApi ¶
NewClassApi Returns NewClassApi.
func (*ClassApi) CreateClass ¶
func (a *ClassApi) CreateClass(ctx _context.Context, o ...CreateClassOptionalParameters) (Class, *_nethttp.Response, error)
CreateClass Create class.
func (*ClassApi) DeleteClass ¶
func (a *ClassApi) DeleteClass(ctx _context.Context, code string) (interface{}, *_nethttp.Response, error)
DeleteClass Delete class.
func (*ClassApi) ListClasses ¶
ListClasses List classes.
func (*ClassApi) PatchClass ¶
func (a *ClassApi) PatchClass(ctx _context.Context, o ...PatchClassOptionalParameters) (Class, *_nethttp.Response, error)
PatchClass Patch class.
type ClassSeries ¶
type ClassSeries string
const ( ClassSeriesGeneral ClassSeries = "general" ClassSeriesExclusive ClassSeries = "exclusive" )
List of ClassSeries.
func NewClassSeriesFromValue ¶
func NewClassSeriesFromValue(v string) (*ClassSeries, error)
NewClassSeriesFromValue returns a pointer to a valid ClassSeries for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ClassSeries) GetAllowedValues ¶
func (v *ClassSeries) GetAllowedValues() []ClassSeries
GetAllowedValues returns the list of possible values.
func (ClassSeries) IsValid ¶
func (v ClassSeries) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClassSeries) Ptr ¶
func (v ClassSeries) Ptr() *ClassSeries
Ptr returns reference to ClassSeries value.
func (*ClassSeries) UnmarshalJSON ¶
func (v *ClassSeries) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type CloseSessionsOptionalParameters ¶
type CloseSessionsOptionalParameters struct {
Keep *string
}
CloseSessionsOptionalParameters holds optional parameters for CloseSessions.
func NewCloseSessionsOptionalParameters ¶
func NewCloseSessionsOptionalParameters() *CloseSessionsOptionalParameters
NewCloseSessionsOptionalParameters creates an empty struct for parameters.
func (*CloseSessionsOptionalParameters) WithKeep ¶
func (r *CloseSessionsOptionalParameters) WithKeep(keep string) *CloseSessionsOptionalParameters
WithKeep sets the corresponding parameter name and returns the struct.
type Cluster ¶
type Cluster struct {
// Cluster ID
Id interface{} `json:"id,omitempty"`
// Org Name
OrgName *string `json:"orgName,omitempty"`
// Cloud Provider
CloudProvider *string `json:"cloudProvider,omitempty"`
// ID of the environment
EnvironmentId *string `json:"environmentId,omitempty"`
// Environment Name
EnvironmentName string `json:"environmentName"`
// Environment Types
EnvironmentType *string `json:"environmentType,omitempty"`
// Cloud Region
CloudRegion *string `json:"cloudRegion,omitempty"`
// Environment Namespace
Namespace *string `json:"namespace,omitempty"`
// Name of cluster. Name must be unique within an Org
Name string `json:"name"`
// Hash of cluster. Name must be unique within an Org
Hash *string `json:"hash,omitempty"`
// Cluster Application Engine
Engine string `json:"engine"`
License *ClusterLicense `json:"license,omitempty"`
// Items is the list of parameter template in the list
ParamTpls []ParamTplsItem `json:"paramTpls,omitempty"`
// Values
Values map[string]interface{} `json:"Values,omitempty"`
// Cluster Application Version
Version *string `json:"version,omitempty"`
// The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
Replicas *int32 `json:"replicas,omitempty"`
// CPU cores.
Cpu *float64 `json:"cpu,omitempty"`
// Memory, the unit is Gi.
Memory *float64 `json:"memory,omitempty"`
// Storage size, the unit is Gi.
Storage *float64 `json:"storage,omitempty"`
// The termination policy of cluster.
TerminationPolicy *ClusterTerminationPolicy `json:"terminationPolicy,omitempty"`
// Specify whether the cluster enable monitoring.
MonitorEnabled *bool `json:"monitorEnabled,omitempty"`
// Specify whether the cluster can be accessed from within the VPC.
VpcEndpointEnabled *bool `json:"vpcEndpointEnabled,omitempty"`
// Specify whether the cluster can be accessed from the public internet.
InternetEndpointEnabled *bool `json:"internetEndpointEnabled,omitempty"`
// Enable the cluster to provide TLS connection or not.
TlsEnabled *bool `json:"tlsEnabled,omitempty"`
// Enable the cluster to provide NodePort service or not.
NodePortEnabled *bool `json:"nodePortEnabled,omitempty"`
// Cluster Status
Status *string `json:"status,omitempty"`
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
CreatedAt *time.Time `json:"createdAt,omitempty"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// CreateOnlySet
CreateOnlySet *bool `json:"createOnlySet,omitempty"`
// Cluster topology mode
Mode *string `json:"mode,omitempty"`
// Proxy Enabled
ProxyEnabled *bool `json:"proxyEnabled,omitempty"`
// Items is the list of ComponentSpec in the list
Components []ComponentsItem `json:"components,omitempty"`
// Values
Extra map[string]interface{} `json:"extra,omitempty"`
// Items is the list of init Options in the list
InitOptions []InitOptionsItem `json:"initOptions,omitempty"`
// ExtraInfo
ExtraInfo map[string]interface{} `json:"extraInfo,omitempty"`
// Tolerations of cluster
Tolerations *string `json:"tolerations,omitempty"`
// Use single availability zones
SingleZone *bool `json:"singleZone,omitempty"`
// Availability Zones
AvailabilityZones []string `json:"availabilityZones,omitempty"`
// Enable pod antiaffinity for cluster
PodAntiAffinityEnabled *bool `json:"podAntiAffinityEnabled,omitempty"`
// clusterBackup is the payload for cluster backup
Backup *ClusterBackup `json:"backup,omitempty"`
// Specify a NodeGroup for the cluster
NodeGroup common.NullableString `json:"nodeGroup,omitempty"`
// Cluster main component codeShort
CodeShort *string `json:"codeShort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Cluster KubeBlocks cluster information
func NewCluster ¶
NewCluster instantiates a new Cluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterWithDefaults ¶
func NewClusterWithDefaults() *Cluster
NewClusterWithDefaults instantiates a new Cluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Cluster) GetAvailabilityZones ¶
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*Cluster) GetAvailabilityZonesOk ¶
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetBackup ¶
func (o *Cluster) GetBackup() ClusterBackup
GetBackup returns the Backup field value if set, zero value otherwise.
func (*Cluster) GetBackupOk ¶
func (o *Cluster) GetBackupOk() (*ClusterBackup, bool)
GetBackupOk returns a tuple with the Backup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCloudProvider ¶
GetCloudProvider returns the CloudProvider field value if set, zero value otherwise.
func (*Cluster) GetCloudProviderOk ¶
GetCloudProviderOk returns a tuple with the CloudProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCloudRegion ¶
GetCloudRegion returns the CloudRegion field value if set, zero value otherwise.
func (*Cluster) GetCloudRegionOk ¶
GetCloudRegionOk returns a tuple with the CloudRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCodeShort ¶
GetCodeShort returns the CodeShort field value if set, zero value otherwise.
func (*Cluster) GetCodeShortOk ¶
GetCodeShortOk returns a tuple with the CodeShort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetComponents ¶
func (o *Cluster) GetComponents() []ComponentsItem
GetComponents returns the Components field value if set, zero value otherwise.
func (*Cluster) GetComponentsOk ¶
func (o *Cluster) GetComponentsOk() (*[]ComponentsItem, bool)
GetComponentsOk returns a tuple with the Components field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCreateOnlySet ¶
GetCreateOnlySet returns the CreateOnlySet field value if set, zero value otherwise.
func (*Cluster) GetCreateOnlySetOk ¶
GetCreateOnlySetOk returns a tuple with the CreateOnlySet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Cluster) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetEngineOk ¶
GetEngineOk returns a tuple with the Engine field value and a boolean to check if the value has been set.
func (*Cluster) GetEnvironmentId ¶
GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.
func (*Cluster) GetEnvironmentIdOk ¶
GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetEnvironmentName ¶
GetEnvironmentName returns the EnvironmentName field value.
func (*Cluster) GetEnvironmentNameOk ¶
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*Cluster) GetEnvironmentType ¶
GetEnvironmentType returns the EnvironmentType field value if set, zero value otherwise.
func (*Cluster) GetEnvironmentTypeOk ¶
GetEnvironmentTypeOk returns a tuple with the EnvironmentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetExtraInfo ¶
GetExtraInfo returns the ExtraInfo field value if set, zero value otherwise.
func (*Cluster) GetExtraInfoOk ¶
GetExtraInfoOk returns a tuple with the ExtraInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetExtraOk ¶
GetExtraOk returns a tuple with the Extra field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetHashOk ¶
GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetId ¶
func (o *Cluster) GetId() interface{}
GetId returns the Id field value if set, zero value otherwise.
func (*Cluster) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetInitOptions ¶
func (o *Cluster) GetInitOptions() []InitOptionsItem
GetInitOptions returns the InitOptions field value if set, zero value otherwise.
func (*Cluster) GetInitOptionsOk ¶
func (o *Cluster) GetInitOptionsOk() (*[]InitOptionsItem, bool)
GetInitOptionsOk returns a tuple with the InitOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetInternetEndpointEnabled ¶
GetInternetEndpointEnabled returns the InternetEndpointEnabled field value if set, zero value otherwise.
func (*Cluster) GetInternetEndpointEnabledOk ¶
GetInternetEndpointEnabledOk returns a tuple with the InternetEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetLicense ¶
func (o *Cluster) GetLicense() ClusterLicense
GetLicense returns the License field value if set, zero value otherwise.
func (*Cluster) GetLicenseOk ¶
func (o *Cluster) GetLicenseOk() (*ClusterLicense, bool)
GetLicenseOk returns a tuple with the License field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetMonitorEnabled ¶
GetMonitorEnabled returns the MonitorEnabled field value if set, zero value otherwise.
func (*Cluster) GetMonitorEnabledOk ¶
GetMonitorEnabledOk returns a tuple with the MonitorEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Cluster) GetNamespace ¶
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*Cluster) GetNamespaceOk ¶
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetNodeGroup ¶
GetNodeGroup returns the NodeGroup field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Cluster) GetNodeGroupOk ¶
GetNodeGroupOk returns a tuple with the NodeGroup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*Cluster) GetNodePortEnabled ¶
GetNodePortEnabled returns the NodePortEnabled field value if set, zero value otherwise.
func (*Cluster) GetNodePortEnabledOk ¶
GetNodePortEnabledOk returns a tuple with the NodePortEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetOrgName ¶
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*Cluster) GetOrgNameOk ¶
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetParamTpls ¶
func (o *Cluster) GetParamTpls() []ParamTplsItem
GetParamTpls returns the ParamTpls field value if set, zero value otherwise.
func (*Cluster) GetParamTplsOk ¶
func (o *Cluster) GetParamTplsOk() (*[]ParamTplsItem, bool)
GetParamTplsOk returns a tuple with the ParamTpls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetPodAntiAffinityEnabled ¶
GetPodAntiAffinityEnabled returns the PodAntiAffinityEnabled field value if set, zero value otherwise.
func (*Cluster) GetPodAntiAffinityEnabledOk ¶
GetPodAntiAffinityEnabledOk returns a tuple with the PodAntiAffinityEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetProxyEnabled ¶
GetProxyEnabled returns the ProxyEnabled field value if set, zero value otherwise.
func (*Cluster) GetProxyEnabledOk ¶
GetProxyEnabledOk returns a tuple with the ProxyEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetReplicas ¶
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*Cluster) GetReplicasOk ¶
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetSingleZone ¶
GetSingleZone returns the SingleZone field value if set, zero value otherwise.
func (*Cluster) GetSingleZoneOk ¶
GetSingleZoneOk returns a tuple with the SingleZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetStorage ¶
GetStorage returns the Storage field value if set, zero value otherwise.
func (*Cluster) GetStorageOk ¶
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetTerminationPolicy ¶
func (o *Cluster) GetTerminationPolicy() ClusterTerminationPolicy
GetTerminationPolicy returns the TerminationPolicy field value if set, zero value otherwise.
func (*Cluster) GetTerminationPolicyOk ¶
func (o *Cluster) GetTerminationPolicyOk() (*ClusterTerminationPolicy, bool)
GetTerminationPolicyOk returns a tuple with the TerminationPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetTlsEnabled ¶
GetTlsEnabled returns the TlsEnabled field value if set, zero value otherwise.
func (*Cluster) GetTlsEnabledOk ¶
GetTlsEnabledOk returns a tuple with the TlsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetTolerations ¶
GetTolerations returns the Tolerations field value if set, zero value otherwise.
func (*Cluster) GetTolerationsOk ¶
GetTolerationsOk returns a tuple with the Tolerations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Cluster) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetValuesOk ¶
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Cluster) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) GetVpcEndpointEnabled ¶
GetVpcEndpointEnabled returns the VpcEndpointEnabled field value if set, zero value otherwise.
func (*Cluster) GetVpcEndpointEnabledOk ¶
GetVpcEndpointEnabledOk returns a tuple with the VpcEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Cluster) HasAvailabilityZones ¶
HasAvailabilityZones returns a boolean if a field has been set.
func (*Cluster) HasCloudProvider ¶
HasCloudProvider returns a boolean if a field has been set.
func (*Cluster) HasCloudRegion ¶
HasCloudRegion returns a boolean if a field has been set.
func (*Cluster) HasCodeShort ¶
HasCodeShort returns a boolean if a field has been set.
func (*Cluster) HasComponents ¶
HasComponents returns a boolean if a field has been set.
func (*Cluster) HasCreateOnlySet ¶
HasCreateOnlySet returns a boolean if a field has been set.
func (*Cluster) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Cluster) HasEnvironmentId ¶
HasEnvironmentId returns a boolean if a field has been set.
func (*Cluster) HasEnvironmentType ¶
HasEnvironmentType returns a boolean if a field has been set.
func (*Cluster) HasExtraInfo ¶
HasExtraInfo returns a boolean if a field has been set.
func (*Cluster) HasInitOptions ¶
HasInitOptions returns a boolean if a field has been set.
func (*Cluster) HasInternetEndpointEnabled ¶
HasInternetEndpointEnabled returns a boolean if a field has been set.
func (*Cluster) HasLicense ¶
HasLicense returns a boolean if a field has been set.
func (*Cluster) HasMonitorEnabled ¶
HasMonitorEnabled returns a boolean if a field has been set.
func (*Cluster) HasNamespace ¶
HasNamespace returns a boolean if a field has been set.
func (*Cluster) HasNodeGroup ¶
HasNodeGroup returns a boolean if a field has been set.
func (*Cluster) HasNodePortEnabled ¶
HasNodePortEnabled returns a boolean if a field has been set.
func (*Cluster) HasOrgName ¶
HasOrgName returns a boolean if a field has been set.
func (*Cluster) HasParamTpls ¶
HasParamTpls returns a boolean if a field has been set.
func (*Cluster) HasPodAntiAffinityEnabled ¶
HasPodAntiAffinityEnabled returns a boolean if a field has been set.
func (*Cluster) HasProxyEnabled ¶
HasProxyEnabled returns a boolean if a field has been set.
func (*Cluster) HasReplicas ¶
HasReplicas returns a boolean if a field has been set.
func (*Cluster) HasSingleZone ¶
HasSingleZone returns a boolean if a field has been set.
func (*Cluster) HasStorage ¶
HasStorage returns a boolean if a field has been set.
func (*Cluster) HasTerminationPolicy ¶
HasTerminationPolicy returns a boolean if a field has been set.
func (*Cluster) HasTlsEnabled ¶
HasTlsEnabled returns a boolean if a field has been set.
func (*Cluster) HasTolerations ¶
HasTolerations returns a boolean if a field has been set.
func (*Cluster) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (*Cluster) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (*Cluster) HasVpcEndpointEnabled ¶
HasVpcEndpointEnabled returns a boolean if a field has been set.
func (Cluster) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Cluster) SetAvailabilityZones ¶
SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.
func (*Cluster) SetBackup ¶
func (o *Cluster) SetBackup(v ClusterBackup)
SetBackup gets a reference to the given ClusterBackup and assigns it to the Backup field.
func (*Cluster) SetCloudProvider ¶
SetCloudProvider gets a reference to the given string and assigns it to the CloudProvider field.
func (*Cluster) SetCloudRegion ¶
SetCloudRegion gets a reference to the given string and assigns it to the CloudRegion field.
func (*Cluster) SetCodeShort ¶
SetCodeShort gets a reference to the given string and assigns it to the CodeShort field.
func (*Cluster) SetComponents ¶
func (o *Cluster) SetComponents(v []ComponentsItem)
SetComponents gets a reference to the given []ComponentsItem and assigns it to the Components field.
func (*Cluster) SetCpu ¶
SetCpu gets a reference to the given float64 and assigns it to the Cpu field.
func (*Cluster) SetCreateOnlySet ¶
SetCreateOnlySet gets a reference to the given bool and assigns it to the CreateOnlySet field.
func (*Cluster) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Cluster) SetEnvironmentId ¶
SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.
func (*Cluster) SetEnvironmentName ¶
SetEnvironmentName sets field value.
func (*Cluster) SetEnvironmentType ¶
SetEnvironmentType gets a reference to the given string and assigns it to the EnvironmentType field.
func (*Cluster) SetExtra ¶
SetExtra gets a reference to the given map[string]interface{} and assigns it to the Extra field.
func (*Cluster) SetExtraInfo ¶
SetExtraInfo gets a reference to the given map[string]interface{} and assigns it to the ExtraInfo field.
func (*Cluster) SetHash ¶
SetHash gets a reference to the given string and assigns it to the Hash field.
func (*Cluster) SetId ¶
func (o *Cluster) SetId(v interface{})
SetId gets a reference to the given interface{} and assigns it to the Id field.
func (*Cluster) SetInitOptions ¶
func (o *Cluster) SetInitOptions(v []InitOptionsItem)
SetInitOptions gets a reference to the given []InitOptionsItem and assigns it to the InitOptions field.
func (*Cluster) SetInternetEndpointEnabled ¶
SetInternetEndpointEnabled gets a reference to the given bool and assigns it to the InternetEndpointEnabled field.
func (*Cluster) SetLicense ¶
func (o *Cluster) SetLicense(v ClusterLicense)
SetLicense gets a reference to the given ClusterLicense and assigns it to the License field.
func (*Cluster) SetMemory ¶
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*Cluster) SetMode ¶
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*Cluster) SetMonitorEnabled ¶
SetMonitorEnabled gets a reference to the given bool and assigns it to the MonitorEnabled field.
func (*Cluster) SetNamespace ¶
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*Cluster) SetNodeGroup ¶
SetNodeGroup gets a reference to the given common.NullableString and assigns it to the NodeGroup field.
func (*Cluster) SetNodeGroupNil ¶
func (o *Cluster) SetNodeGroupNil()
SetNodeGroupNil sets the value for NodeGroup to be an explicit nil.
func (*Cluster) SetNodePortEnabled ¶
SetNodePortEnabled gets a reference to the given bool and assigns it to the NodePortEnabled field.
func (*Cluster) SetOrgName ¶
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*Cluster) SetParamTpls ¶
func (o *Cluster) SetParamTpls(v []ParamTplsItem)
SetParamTpls gets a reference to the given []ParamTplsItem and assigns it to the ParamTpls field.
func (*Cluster) SetPodAntiAffinityEnabled ¶
SetPodAntiAffinityEnabled gets a reference to the given bool and assigns it to the PodAntiAffinityEnabled field.
func (*Cluster) SetProxyEnabled ¶
SetProxyEnabled gets a reference to the given bool and assigns it to the ProxyEnabled field.
func (*Cluster) SetReplicas ¶
SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.
func (*Cluster) SetSingleZone ¶
SetSingleZone gets a reference to the given bool and assigns it to the SingleZone field.
func (*Cluster) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Cluster) SetStorage ¶
SetStorage gets a reference to the given float64 and assigns it to the Storage field.
func (*Cluster) SetTerminationPolicy ¶
func (o *Cluster) SetTerminationPolicy(v ClusterTerminationPolicy)
SetTerminationPolicy gets a reference to the given ClusterTerminationPolicy and assigns it to the TerminationPolicy field.
func (*Cluster) SetTlsEnabled ¶
SetTlsEnabled gets a reference to the given bool and assigns it to the TlsEnabled field.
func (*Cluster) SetTolerations ¶
SetTolerations gets a reference to the given string and assigns it to the Tolerations field.
func (*Cluster) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Cluster) SetValues ¶
SetValues gets a reference to the given map[string]interface{} and assigns it to the Values field.
func (*Cluster) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
func (*Cluster) SetVpcEndpointEnabled ¶
SetVpcEndpointEnabled gets a reference to the given bool and assigns it to the VpcEndpointEnabled field.
func (*Cluster) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
func (*Cluster) UnsetNodeGroup ¶
func (o *Cluster) UnsetNodeGroup()
UnsetNodeGroup ensures that no value is present for NodeGroup, not even an explicit nil.
type ClusterAlertSwitchApi ¶
ClusterAlertSwitchApi service type
func NewClusterAlertSwitchApi ¶
func NewClusterAlertSwitchApi(client *common.APIClient) *ClusterAlertSwitchApi
NewClusterAlertSwitchApi Returns NewClusterAlertSwitchApi.
func (*ClusterAlertSwitchApi) GetClusterAlertDisabled ¶
func (a *ClusterAlertSwitchApi) GetClusterAlertDisabled(ctx _context.Context, orgName string, clusterName string) (AlertCluster, *_nethttp.Response, error)
GetClusterAlertDisabled Check if cluster alert is disabled.
func (*ClusterAlertSwitchApi) SetClusterAlertDisabled ¶
func (a *ClusterAlertSwitchApi) SetClusterAlertDisabled(ctx _context.Context, orgName string, clusterName string, o ...SetClusterAlertDisabledOptionalParameters) (AlertCluster, *_nethttp.Response, error)
SetClusterAlertDisabled Set cluster alert disabled or enabled.
type ClusterApi ¶
ClusterApi service type
func NewClusterApi ¶
func NewClusterApi(client *common.APIClient) *ClusterApi
NewClusterApi Returns NewClusterApi.
func (*ClusterApi) CreateCluster ¶
func (a *ClusterApi) CreateCluster(ctx _context.Context, orgName string, body Cluster) (Cluster, *_nethttp.Response, error)
CreateCluster Create new cluster.
func (*ClusterApi) DeleteCluster ¶
func (a *ClusterApi) DeleteCluster(ctx _context.Context, orgName string, clusterName string, o ...DeleteClusterOptionalParameters) (interface{}, *_nethttp.Response, error)
DeleteCluster Delete cluster.
func (*ClusterApi) DescribeClusterHaHistory ¶
func (a *ClusterApi) DescribeClusterHaHistory(ctx _context.Context, orgName string, clusterName string, o ...DescribeClusterHaHistoryOptionalParameters) (HaHistoryResponse, *_nethttp.Response, error)
DescribeClusterHaHistory describe cluster HA history.
func (*ClusterApi) GetCluster ¶
func (a *ClusterApi) GetCluster(ctx _context.Context, orgName string, clusterName string) (Cluster, *_nethttp.Response, error)
GetCluster Get cluster details.
func (*ClusterApi) GetClusterByID ¶
func (a *ClusterApi) GetClusterByID(ctx _context.Context, orgName string, clusterId int32) (Cluster, *_nethttp.Response, error)
GetClusterByID Get cluster details by ID.
func (*ClusterApi) GetClusterInstanceLog ¶
func (a *ClusterApi) GetClusterInstanceLog(ctx _context.Context, orgName string, clusterName string, workloadName string, o ...GetClusterInstanceLogOptionalParameters) (string, *_nethttp.Response, error)
GetClusterInstanceLog Tail cluster instance container log. read log of the specified cluster instance
func (*ClusterApi) GetClusterManifest ¶
func (a *ClusterApi) GetClusterManifest(ctx _context.Context, orgName string, clusterName string, manifestType ManifestType, o ...GetClusterManifestOptionalParameters) (KubernetesManifestList, *_nethttp.Response, error)
GetClusterManifest Get cluster manifests of kubernetes.
func (*ClusterApi) GetInstacesMetrics ¶
func (a *ClusterApi) GetInstacesMetrics(ctx _context.Context, orgName string, clusterName string) (InstanceMetricsList, *_nethttp.Response, error)
GetInstacesMetrics Get instaces metrics in cluster.
func (*ClusterApi) ListCluster ¶
func (a *ClusterApi) ListCluster(ctx _context.Context, orgName string, o ...ListClusterOptionalParameters) (ClusterList, *_nethttp.Response, error)
ListCluster List clusters in the Org.
func (*ClusterApi) ListEndpoints ¶
func (a *ClusterApi) ListEndpoints(ctx _context.Context, orgName string, clusterName string, o ...ListEndpointsOptionalParameters) (EndpointList, *_nethttp.Response, error)
ListEndpoints List cluster endpoints.
func (*ClusterApi) ListInstance ¶
func (a *ClusterApi) ListInstance(ctx _context.Context, orgName string, clusterName string) (InstanceList, *_nethttp.Response, error)
ListInstance List cluster instances.
func (*ClusterApi) PatchCluster ¶
func (a *ClusterApi) PatchCluster(ctx _context.Context, orgName string, clusterName string, body ClusterUpdate) (Cluster, *_nethttp.Response, error)
PatchCluster Update cluster specified fields. Update the specified Cluster
type ClusterBackup ¶
type ClusterBackup struct {
// PITREnabled or not
PitrEnabled *bool `json:"PITREnabled,omitempty"`
// autoBackup or not
AutoBackup *bool `json:"autoBackup,omitempty"`
// name of the backup method
AutoBackupMethod *string `json:"autoBackupMethod,omitempty"`
// backupRepoName is the name of backupRepo and it is used to store the backup data
BackupRepo *string `json:"backupRepo,omitempty"`
// cronExpression specifies the cron expression
CronExpression *string `json:"cronExpression,omitempty"`
// retentionPeriod specifies the retention period
RetentionPeriod *string `json:"retentionPeriod,omitempty"`
// backup retention policy when cluster is deleted
RetentionPolicy *BackupRetentionPolicy `json:"retentionPolicy,omitempty"`
// snapshotVolumes specifies whether to take snapshots of persistent volumes to back up
SnapshotVolumes common.NullableBool `json:"snapshotVolumes,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterBackup clusterBackup is the payload for cluster backup
func NewClusterBackup ¶
func NewClusterBackup() *ClusterBackup
NewClusterBackup instantiates a new ClusterBackup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterBackupWithDefaults ¶
func NewClusterBackupWithDefaults() *ClusterBackup
NewClusterBackupWithDefaults instantiates a new ClusterBackup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterBackup) GetAutoBackup ¶
func (o *ClusterBackup) GetAutoBackup() bool
GetAutoBackup returns the AutoBackup field value if set, zero value otherwise.
func (*ClusterBackup) GetAutoBackupMethod ¶
func (o *ClusterBackup) GetAutoBackupMethod() string
GetAutoBackupMethod returns the AutoBackupMethod field value if set, zero value otherwise.
func (*ClusterBackup) GetAutoBackupMethodOk ¶
func (o *ClusterBackup) GetAutoBackupMethodOk() (*string, bool)
GetAutoBackupMethodOk returns a tuple with the AutoBackupMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetAutoBackupOk ¶
func (o *ClusterBackup) GetAutoBackupOk() (*bool, bool)
GetAutoBackupOk returns a tuple with the AutoBackup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetBackupRepo ¶
func (o *ClusterBackup) GetBackupRepo() string
GetBackupRepo returns the BackupRepo field value if set, zero value otherwise.
func (*ClusterBackup) GetBackupRepoOk ¶
func (o *ClusterBackup) GetBackupRepoOk() (*string, bool)
GetBackupRepoOk returns a tuple with the BackupRepo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetCronExpression ¶
func (o *ClusterBackup) GetCronExpression() string
GetCronExpression returns the CronExpression field value if set, zero value otherwise.
func (*ClusterBackup) GetCronExpressionOk ¶
func (o *ClusterBackup) GetCronExpressionOk() (*string, bool)
GetCronExpressionOk returns a tuple with the CronExpression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetPitrEnabled ¶
func (o *ClusterBackup) GetPitrEnabled() bool
GetPitrEnabled returns the PitrEnabled field value if set, zero value otherwise.
func (*ClusterBackup) GetPitrEnabledOk ¶
func (o *ClusterBackup) GetPitrEnabledOk() (*bool, bool)
GetPitrEnabledOk returns a tuple with the PitrEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetRetentionPeriod ¶
func (o *ClusterBackup) GetRetentionPeriod() string
GetRetentionPeriod returns the RetentionPeriod field value if set, zero value otherwise.
func (*ClusterBackup) GetRetentionPeriodOk ¶
func (o *ClusterBackup) GetRetentionPeriodOk() (*string, bool)
GetRetentionPeriodOk returns a tuple with the RetentionPeriod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetRetentionPolicy ¶
func (o *ClusterBackup) GetRetentionPolicy() BackupRetentionPolicy
GetRetentionPolicy returns the RetentionPolicy field value if set, zero value otherwise.
func (*ClusterBackup) GetRetentionPolicyOk ¶
func (o *ClusterBackup) GetRetentionPolicyOk() (*BackupRetentionPolicy, bool)
GetRetentionPolicyOk returns a tuple with the RetentionPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterBackup) GetSnapshotVolumes ¶
func (o *ClusterBackup) GetSnapshotVolumes() bool
GetSnapshotVolumes returns the SnapshotVolumes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterBackup) GetSnapshotVolumesOk ¶
func (o *ClusterBackup) GetSnapshotVolumesOk() (*bool, bool)
GetSnapshotVolumesOk returns a tuple with the SnapshotVolumes field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*ClusterBackup) HasAutoBackup ¶
func (o *ClusterBackup) HasAutoBackup() bool
HasAutoBackup returns a boolean if a field has been set.
func (*ClusterBackup) HasAutoBackupMethod ¶
func (o *ClusterBackup) HasAutoBackupMethod() bool
HasAutoBackupMethod returns a boolean if a field has been set.
func (*ClusterBackup) HasBackupRepo ¶
func (o *ClusterBackup) HasBackupRepo() bool
HasBackupRepo returns a boolean if a field has been set.
func (*ClusterBackup) HasCronExpression ¶
func (o *ClusterBackup) HasCronExpression() bool
HasCronExpression returns a boolean if a field has been set.
func (*ClusterBackup) HasPitrEnabled ¶
func (o *ClusterBackup) HasPitrEnabled() bool
HasPitrEnabled returns a boolean if a field has been set.
func (*ClusterBackup) HasRetentionPeriod ¶
func (o *ClusterBackup) HasRetentionPeriod() bool
HasRetentionPeriod returns a boolean if a field has been set.
func (*ClusterBackup) HasRetentionPolicy ¶
func (o *ClusterBackup) HasRetentionPolicy() bool
HasRetentionPolicy returns a boolean if a field has been set.
func (*ClusterBackup) HasSnapshotVolumes ¶
func (o *ClusterBackup) HasSnapshotVolumes() bool
HasSnapshotVolumes returns a boolean if a field has been set.
func (ClusterBackup) MarshalJSON ¶
func (o ClusterBackup) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterBackup) SetAutoBackup ¶
func (o *ClusterBackup) SetAutoBackup(v bool)
SetAutoBackup gets a reference to the given bool and assigns it to the AutoBackup field.
func (*ClusterBackup) SetAutoBackupMethod ¶
func (o *ClusterBackup) SetAutoBackupMethod(v string)
SetAutoBackupMethod gets a reference to the given string and assigns it to the AutoBackupMethod field.
func (*ClusterBackup) SetBackupRepo ¶
func (o *ClusterBackup) SetBackupRepo(v string)
SetBackupRepo gets a reference to the given string and assigns it to the BackupRepo field.
func (*ClusterBackup) SetCronExpression ¶
func (o *ClusterBackup) SetCronExpression(v string)
SetCronExpression gets a reference to the given string and assigns it to the CronExpression field.
func (*ClusterBackup) SetPitrEnabled ¶
func (o *ClusterBackup) SetPitrEnabled(v bool)
SetPitrEnabled gets a reference to the given bool and assigns it to the PitrEnabled field.
func (*ClusterBackup) SetRetentionPeriod ¶
func (o *ClusterBackup) SetRetentionPeriod(v string)
SetRetentionPeriod gets a reference to the given string and assigns it to the RetentionPeriod field.
func (*ClusterBackup) SetRetentionPolicy ¶
func (o *ClusterBackup) SetRetentionPolicy(v BackupRetentionPolicy)
SetRetentionPolicy gets a reference to the given BackupRetentionPolicy and assigns it to the RetentionPolicy field.
func (*ClusterBackup) SetSnapshotVolumes ¶
func (o *ClusterBackup) SetSnapshotVolumes(v bool)
SetSnapshotVolumes gets a reference to the given common.NullableBool and assigns it to the SnapshotVolumes field.
func (*ClusterBackup) SetSnapshotVolumesNil ¶
func (o *ClusterBackup) SetSnapshotVolumesNil()
SetSnapshotVolumesNil sets the value for SnapshotVolumes to be an explicit nil.
func (*ClusterBackup) UnmarshalJSON ¶
func (o *ClusterBackup) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*ClusterBackup) UnsetSnapshotVolumes ¶
func (o *ClusterBackup) UnsetSnapshotVolumes()
UnsetSnapshotVolumes ensures that no value is present for SnapshotVolumes, not even an explicit nil.
type ClusterExecutionLog ¶
type ClusterExecutionLog struct {
// Timestamp of the execution
Timestamp int64 `json:"timestamp"`
// Client identifier
Client string `json:"client"`
// Database name
DbName string `json:"dbName"`
// User who executed the command
User string `json:"user"`
// Time taken for execution
ExecutionTime float64 `json:"executionTime"`
// Command that was executed
Command string `json:"command"`
// Additional information
Extra map[string]interface{} `json:"extra"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterExecutionLog Log entry for cluster execution
func NewClusterExecutionLog ¶
func NewClusterExecutionLog(timestamp int64, client string, dbName string, user string, executionTime float64, command string, extra map[string]interface{}) *ClusterExecutionLog
NewClusterExecutionLog instantiates a new ClusterExecutionLog object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterExecutionLogWithDefaults ¶
func NewClusterExecutionLogWithDefaults() *ClusterExecutionLog
NewClusterExecutionLogWithDefaults instantiates a new ClusterExecutionLog object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterExecutionLog) GetClient ¶
func (o *ClusterExecutionLog) GetClient() string
GetClient returns the Client field value.
func (*ClusterExecutionLog) GetClientOk ¶
func (o *ClusterExecutionLog) GetClientOk() (*string, bool)
GetClientOk returns a tuple with the Client field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetCommand ¶
func (o *ClusterExecutionLog) GetCommand() string
GetCommand returns the Command field value.
func (*ClusterExecutionLog) GetCommandOk ¶
func (o *ClusterExecutionLog) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetDbName ¶
func (o *ClusterExecutionLog) GetDbName() string
GetDbName returns the DbName field value.
func (*ClusterExecutionLog) GetDbNameOk ¶
func (o *ClusterExecutionLog) GetDbNameOk() (*string, bool)
GetDbNameOk returns a tuple with the DbName field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetExecutionTime ¶
func (o *ClusterExecutionLog) GetExecutionTime() float64
GetExecutionTime returns the ExecutionTime field value.
func (*ClusterExecutionLog) GetExecutionTimeOk ¶
func (o *ClusterExecutionLog) GetExecutionTimeOk() (*float64, bool)
GetExecutionTimeOk returns a tuple with the ExecutionTime field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetExtra ¶
func (o *ClusterExecutionLog) GetExtra() map[string]interface{}
GetExtra returns the Extra field value.
func (*ClusterExecutionLog) GetExtraOk ¶
func (o *ClusterExecutionLog) GetExtraOk() (*map[string]interface{}, bool)
GetExtraOk returns a tuple with the Extra field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetTimestamp ¶
func (o *ClusterExecutionLog) GetTimestamp() int64
GetTimestamp returns the Timestamp field value.
func (*ClusterExecutionLog) GetTimestampOk ¶
func (o *ClusterExecutionLog) GetTimestampOk() (*int64, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (*ClusterExecutionLog) GetUser ¶
func (o *ClusterExecutionLog) GetUser() string
GetUser returns the User field value.
func (*ClusterExecutionLog) GetUserOk ¶
func (o *ClusterExecutionLog) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (ClusterExecutionLog) MarshalJSON ¶
func (o ClusterExecutionLog) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterExecutionLog) SetClient ¶
func (o *ClusterExecutionLog) SetClient(v string)
SetClient sets field value.
func (*ClusterExecutionLog) SetCommand ¶
func (o *ClusterExecutionLog) SetCommand(v string)
SetCommand sets field value.
func (*ClusterExecutionLog) SetDbName ¶
func (o *ClusterExecutionLog) SetDbName(v string)
SetDbName sets field value.
func (*ClusterExecutionLog) SetExecutionTime ¶
func (o *ClusterExecutionLog) SetExecutionTime(v float64)
SetExecutionTime sets field value.
func (*ClusterExecutionLog) SetExtra ¶
func (o *ClusterExecutionLog) SetExtra(v map[string]interface{})
SetExtra sets field value.
func (*ClusterExecutionLog) SetTimestamp ¶
func (o *ClusterExecutionLog) SetTimestamp(v int64)
SetTimestamp sets field value.
func (*ClusterExecutionLog) SetUser ¶
func (o *ClusterExecutionLog) SetUser(v string)
SetUser sets field value.
func (*ClusterExecutionLog) UnmarshalJSON ¶
func (o *ClusterExecutionLog) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ClusterLicense ¶
type ClusterLicense struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ExpiredAt *time.Time `json:"expiredAt,omitempty"`
Key *_io.Reader `json:"key,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewClusterLicense ¶
func NewClusterLicense() *ClusterLicense
NewClusterLicense instantiates a new ClusterLicense object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterLicenseWithDefaults ¶
func NewClusterLicenseWithDefaults() *ClusterLicense
NewClusterLicenseWithDefaults instantiates a new ClusterLicense object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterLicense) GetExpiredAt ¶
func (o *ClusterLicense) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.
func (*ClusterLicense) GetExpiredAtOk ¶
func (o *ClusterLicense) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLicense) GetId ¶
func (o *ClusterLicense) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ClusterLicense) GetIdOk ¶
func (o *ClusterLicense) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLicense) GetKey ¶
func (o *ClusterLicense) GetKey() _io.Reader
GetKey returns the Key field value if set, zero value otherwise.
func (*ClusterLicense) GetKeyOk ¶
func (o *ClusterLicense) GetKeyOk() (*_io.Reader, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLicense) GetName ¶
func (o *ClusterLicense) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ClusterLicense) GetNameOk ¶
func (o *ClusterLicense) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterLicense) HasExpiredAt ¶
func (o *ClusterLicense) HasExpiredAt() bool
HasExpiredAt returns a boolean if a field has been set.
func (*ClusterLicense) HasId ¶
func (o *ClusterLicense) HasId() bool
HasId returns a boolean if a field has been set.
func (*ClusterLicense) HasKey ¶
func (o *ClusterLicense) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*ClusterLicense) HasName ¶
func (o *ClusterLicense) HasName() bool
HasName returns a boolean if a field has been set.
func (ClusterLicense) MarshalJSON ¶
func (o ClusterLicense) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterLicense) SetExpiredAt ¶
func (o *ClusterLicense) SetExpiredAt(v time.Time)
SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.
func (*ClusterLicense) SetId ¶
func (o *ClusterLicense) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ClusterLicense) SetKey ¶
func (o *ClusterLicense) SetKey(v _io.Reader)
SetKey gets a reference to the given _io.Reader and assigns it to the Key field.
func (*ClusterLicense) SetName ¶
func (o *ClusterLicense) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ClusterLicense) UnmarshalJSON ¶
func (o *ClusterLicense) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ClusterList ¶
type ClusterList struct {
// Items is the list of KubeBlocks cluster objects in the list
Items []ClusterListItem `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterList ClusterList is a list of KubeBlocks clusters
func NewClusterList ¶
func NewClusterList(items []ClusterListItem) *ClusterList
NewClusterList instantiates a new ClusterList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterListWithDefaults ¶
func NewClusterListWithDefaults() *ClusterList
NewClusterListWithDefaults instantiates a new ClusterList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterList) GetItems ¶
func (o *ClusterList) GetItems() []ClusterListItem
GetItems returns the Items field value.
func (*ClusterList) GetItemsOk ¶
func (o *ClusterList) GetItemsOk() (*[]ClusterListItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ClusterList) GetPageResult ¶
func (o *ClusterList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*ClusterList) GetPageResultOk ¶
func (o *ClusterList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterList) HasPageResult ¶
func (o *ClusterList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (ClusterList) MarshalJSON ¶
func (o ClusterList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterList) SetItems ¶
func (o *ClusterList) SetItems(v []ClusterListItem)
SetItems sets field value.
func (*ClusterList) SetPageResult ¶
func (o *ClusterList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*ClusterList) UnmarshalJSON ¶
func (o *ClusterList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ClusterListItem ¶
type ClusterListItem struct {
// Cloud Provider
CloudProvider string `json:"cloudProvider"`
// Cloud Provider
CloudRegion *string `json:"cloudRegion,omitempty"`
// Availability Zones
AvailabilityZones []string `json:"availabilityZones,omitempty"`
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
CreatedAt time.Time `json:"createdAt"`
// Display name of cluster.
DisplayName *string `json:"displayName,omitempty"`
// Cluster Application Engine
Engine string `json:"engine"`
// Cluster topology mode
Mode *string `json:"mode,omitempty"`
// Environment Name
EnvironmentName string `json:"environmentName"`
// ID of cluster
Id string `json:"id"`
// Name of cluster. Name must be unique within an Org
Name string `json:"name"`
// Cluster Status
Status string `json:"status"`
// Cluster termination policy
TerminationPolicy string `json:"terminationPolicy"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
UpdatedAt time.Time `json:"updatedAt"`
// Cluster Application Version
Version string `json:"version"`
// Cluster main component classCode
ClassCode *string `json:"classCode,omitempty"`
// Cluster main component storage
Storage *string `json:"storage,omitempty"`
// Cluster main component codeShort
CodeShort *string `json:"codeShort,omitempty"`
// Org Name
OrgName *string `json:"orgName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterListItem KubeBlocks cluster information
func NewClusterListItem ¶
func NewClusterListItem(cloudProvider string, createdAt time.Time, engine string, environmentName string, id string, name string, status string, terminationPolicy string, updatedAt time.Time, version string) *ClusterListItem
NewClusterListItem instantiates a new ClusterListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterListItemWithDefaults ¶
func NewClusterListItemWithDefaults() *ClusterListItem
NewClusterListItemWithDefaults instantiates a new ClusterListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterListItem) GetAvailabilityZones ¶
func (o *ClusterListItem) GetAvailabilityZones() []string
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*ClusterListItem) GetAvailabilityZonesOk ¶
func (o *ClusterListItem) GetAvailabilityZonesOk() (*[]string, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetClassCode ¶
func (o *ClusterListItem) GetClassCode() string
GetClassCode returns the ClassCode field value if set, zero value otherwise.
func (*ClusterListItem) GetClassCodeOk ¶
func (o *ClusterListItem) GetClassCodeOk() (*string, bool)
GetClassCodeOk returns a tuple with the ClassCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetCloudProvider ¶
func (o *ClusterListItem) GetCloudProvider() string
GetCloudProvider returns the CloudProvider field value.
func (*ClusterListItem) GetCloudProviderOk ¶
func (o *ClusterListItem) GetCloudProviderOk() (*string, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetCloudRegion ¶
func (o *ClusterListItem) GetCloudRegion() string
GetCloudRegion returns the CloudRegion field value if set, zero value otherwise.
func (*ClusterListItem) GetCloudRegionOk ¶
func (o *ClusterListItem) GetCloudRegionOk() (*string, bool)
GetCloudRegionOk returns a tuple with the CloudRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetCodeShort ¶
func (o *ClusterListItem) GetCodeShort() string
GetCodeShort returns the CodeShort field value if set, zero value otherwise.
func (*ClusterListItem) GetCodeShortOk ¶
func (o *ClusterListItem) GetCodeShortOk() (*string, bool)
GetCodeShortOk returns a tuple with the CodeShort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetCreatedAt ¶
func (o *ClusterListItem) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*ClusterListItem) GetCreatedAtOk ¶
func (o *ClusterListItem) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetDisplayName ¶
func (o *ClusterListItem) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*ClusterListItem) GetDisplayNameOk ¶
func (o *ClusterListItem) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetEngine ¶
func (o *ClusterListItem) GetEngine() string
GetEngine returns the Engine field value.
func (*ClusterListItem) GetEngineOk ¶
func (o *ClusterListItem) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetEnvironmentName ¶
func (o *ClusterListItem) GetEnvironmentName() string
GetEnvironmentName returns the EnvironmentName field value.
func (*ClusterListItem) GetEnvironmentNameOk ¶
func (o *ClusterListItem) GetEnvironmentNameOk() (*string, bool)
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetId ¶
func (o *ClusterListItem) GetId() string
GetId returns the Id field value.
func (*ClusterListItem) GetIdOk ¶
func (o *ClusterListItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetMode ¶
func (o *ClusterListItem) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*ClusterListItem) GetModeOk ¶
func (o *ClusterListItem) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetName ¶
func (o *ClusterListItem) GetName() string
GetName returns the Name field value.
func (*ClusterListItem) GetNameOk ¶
func (o *ClusterListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetOrgName ¶
func (o *ClusterListItem) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*ClusterListItem) GetOrgNameOk ¶
func (o *ClusterListItem) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetStatus ¶
func (o *ClusterListItem) GetStatus() string
GetStatus returns the Status field value.
func (*ClusterListItem) GetStatusOk ¶
func (o *ClusterListItem) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetStorage ¶
func (o *ClusterListItem) GetStorage() string
GetStorage returns the Storage field value if set, zero value otherwise.
func (*ClusterListItem) GetStorageOk ¶
func (o *ClusterListItem) GetStorageOk() (*string, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterListItem) GetTerminationPolicy ¶
func (o *ClusterListItem) GetTerminationPolicy() string
GetTerminationPolicy returns the TerminationPolicy field value.
func (*ClusterListItem) GetTerminationPolicyOk ¶
func (o *ClusterListItem) GetTerminationPolicyOk() (*string, bool)
GetTerminationPolicyOk returns a tuple with the TerminationPolicy field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetUpdatedAt ¶
func (o *ClusterListItem) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value.
func (*ClusterListItem) GetUpdatedAtOk ¶
func (o *ClusterListItem) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*ClusterListItem) GetVersion ¶
func (o *ClusterListItem) GetVersion() string
GetVersion returns the Version field value.
func (*ClusterListItem) GetVersionOk ¶
func (o *ClusterListItem) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*ClusterListItem) HasAvailabilityZones ¶
func (o *ClusterListItem) HasAvailabilityZones() bool
HasAvailabilityZones returns a boolean if a field has been set.
func (*ClusterListItem) HasClassCode ¶
func (o *ClusterListItem) HasClassCode() bool
HasClassCode returns a boolean if a field has been set.
func (*ClusterListItem) HasCloudRegion ¶
func (o *ClusterListItem) HasCloudRegion() bool
HasCloudRegion returns a boolean if a field has been set.
func (*ClusterListItem) HasCodeShort ¶
func (o *ClusterListItem) HasCodeShort() bool
HasCodeShort returns a boolean if a field has been set.
func (*ClusterListItem) HasDisplayName ¶
func (o *ClusterListItem) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*ClusterListItem) HasMode ¶
func (o *ClusterListItem) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*ClusterListItem) HasOrgName ¶
func (o *ClusterListItem) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*ClusterListItem) HasStorage ¶
func (o *ClusterListItem) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (ClusterListItem) MarshalJSON ¶
func (o ClusterListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterListItem) SetAvailabilityZones ¶
func (o *ClusterListItem) SetAvailabilityZones(v []string)
SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.
func (*ClusterListItem) SetClassCode ¶
func (o *ClusterListItem) SetClassCode(v string)
SetClassCode gets a reference to the given string and assigns it to the ClassCode field.
func (*ClusterListItem) SetCloudProvider ¶
func (o *ClusterListItem) SetCloudProvider(v string)
SetCloudProvider sets field value.
func (*ClusterListItem) SetCloudRegion ¶
func (o *ClusterListItem) SetCloudRegion(v string)
SetCloudRegion gets a reference to the given string and assigns it to the CloudRegion field.
func (*ClusterListItem) SetCodeShort ¶
func (o *ClusterListItem) SetCodeShort(v string)
SetCodeShort gets a reference to the given string and assigns it to the CodeShort field.
func (*ClusterListItem) SetCreatedAt ¶
func (o *ClusterListItem) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*ClusterListItem) SetDisplayName ¶
func (o *ClusterListItem) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*ClusterListItem) SetEngine ¶
func (o *ClusterListItem) SetEngine(v string)
SetEngine sets field value.
func (*ClusterListItem) SetEnvironmentName ¶
func (o *ClusterListItem) SetEnvironmentName(v string)
SetEnvironmentName sets field value.
func (*ClusterListItem) SetMode ¶
func (o *ClusterListItem) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*ClusterListItem) SetName ¶
func (o *ClusterListItem) SetName(v string)
SetName sets field value.
func (*ClusterListItem) SetOrgName ¶
func (o *ClusterListItem) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*ClusterListItem) SetStatus ¶
func (o *ClusterListItem) SetStatus(v string)
SetStatus sets field value.
func (*ClusterListItem) SetStorage ¶
func (o *ClusterListItem) SetStorage(v string)
SetStorage gets a reference to the given string and assigns it to the Storage field.
func (*ClusterListItem) SetTerminationPolicy ¶
func (o *ClusterListItem) SetTerminationPolicy(v string)
SetTerminationPolicy sets field value.
func (*ClusterListItem) SetUpdatedAt ¶
func (o *ClusterListItem) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value.
func (*ClusterListItem) SetVersion ¶
func (o *ClusterListItem) SetVersion(v string)
SetVersion sets field value.
func (*ClusterListItem) UnmarshalJSON ¶
func (o *ClusterListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ClusterLogApi ¶
ClusterLogApi service type
func NewClusterLogApi ¶
func NewClusterLogApi(client *common.APIClient) *ClusterLogApi
NewClusterLogApi Returns NewClusterLogApi.
func (*ClusterLogApi) QueryAuditLogs ¶
func (a *ClusterLogApi) QueryAuditLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...QueryAuditLogsOptionalParameters) (interface{}, *_nethttp.Response, error)
QueryAuditLogs Query cluster audit logs. Query audit logs of a cluster
func (*ClusterLogApi) QueryErrorLogs ¶
func (a *ClusterLogApi) QueryErrorLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...QueryErrorLogsOptionalParameters) (interface{}, *_nethttp.Response, error)
QueryErrorLogs Query cluster error logs. Query error logs of a cluster
func (*ClusterLogApi) QueryPodLogs ¶
func (a *ClusterLogApi) QueryPodLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...QueryPodLogsOptionalParameters) (interface{}, *_nethttp.Response, error)
QueryPodLogs Query cluster pod logs. Query pod logs of a cluster
func (*ClusterLogApi) QueryRunningLogs ¶
func (a *ClusterLogApi) QueryRunningLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...QueryRunningLogsOptionalParameters) (interface{}, *_nethttp.Response, error)
QueryRunningLogs Query cluster running logs. Query running logs of a cluster
func (*ClusterLogApi) QuerySlowLogs ¶
func (a *ClusterLogApi) QuerySlowLogs(ctx _context.Context, orgName string, clusterName string, startTime string, endTime string, o ...QuerySlowLogsOptionalParameters) (interface{}, *_nethttp.Response, error)
QuerySlowLogs Query cluster slow logs. Query slow logs of a cluster
type ClusterMetrics ¶
type ClusterMetrics struct {
Value []interface{} `json:"value,omitempty"`
Values [][]interface{} `json:"values,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterMetrics Cluster metrics
func NewClusterMetrics ¶
func NewClusterMetrics() *ClusterMetrics
NewClusterMetrics instantiates a new ClusterMetrics object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterMetricsWithDefaults ¶
func NewClusterMetricsWithDefaults() *ClusterMetrics
NewClusterMetricsWithDefaults instantiates a new ClusterMetrics object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterMetrics) GetValue ¶
func (o *ClusterMetrics) GetValue() []interface{}
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClusterMetrics) GetValueOk ¶
func (o *ClusterMetrics) GetValueOk() (*[]interface{}, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*ClusterMetrics) GetValues ¶
func (o *ClusterMetrics) GetValues() [][]interface{}
GetValues returns the Values field value if set, zero value otherwise.
func (*ClusterMetrics) GetValuesOk ¶
func (o *ClusterMetrics) GetValuesOk() (*[][]interface{}, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterMetrics) HasValue ¶
func (o *ClusterMetrics) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*ClusterMetrics) HasValues ¶
func (o *ClusterMetrics) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ClusterMetrics) MarshalJSON ¶
func (o ClusterMetrics) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterMetrics) SetValue ¶
func (o *ClusterMetrics) SetValue(v []interface{})
SetValue gets a reference to the given []interface{} and assigns it to the Value field.
func (*ClusterMetrics) SetValues ¶
func (o *ClusterMetrics) SetValues(v [][]interface{})
SetValues gets a reference to the given [][]interface{} and assigns it to the Values field.
func (*ClusterMetrics) UnmarshalJSON ¶
func (o *ClusterMetrics) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ClusterTerminationPolicy ¶
type ClusterTerminationPolicy string
ClusterTerminationPolicy The termination policy of cluster.
const ( ClusterTerminationPolicyDoNotTerminate ClusterTerminationPolicy = "DoNotTerminate" ClusterTerminationPolicyHalt ClusterTerminationPolicy = "Halt" ClusterTerminationPolicyDelete ClusterTerminationPolicy = "Delete" ClusterTerminationPolicyWipeOut ClusterTerminationPolicy = "WipeOut" )
List of ClusterTerminationPolicy.
func NewClusterTerminationPolicyFromValue ¶
func NewClusterTerminationPolicyFromValue(v string) (*ClusterTerminationPolicy, error)
NewClusterTerminationPolicyFromValue returns a pointer to a valid ClusterTerminationPolicy for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ClusterTerminationPolicy) GetAllowedValues ¶
func (v *ClusterTerminationPolicy) GetAllowedValues() []ClusterTerminationPolicy
GetAllowedValues returns the list of possible values.
func (ClusterTerminationPolicy) IsValid ¶
func (v ClusterTerminationPolicy) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ClusterTerminationPolicy) Ptr ¶
func (v ClusterTerminationPolicy) Ptr() *ClusterTerminationPolicy
Ptr returns reference to ClusterTerminationPolicy value.
func (*ClusterTerminationPolicy) UnmarshalJSON ¶
func (v *ClusterTerminationPolicy) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ClusterUpdate ¶
type ClusterUpdate struct {
// The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
Replicas *int32 `json:"replicas,omitempty"`
// CPU cores.
Cpu *float64 `json:"cpu,omitempty"`
// Memory, the unit is Gi.
Memory *float64 `json:"memory,omitempty"`
// Storage size, the unit is Gi.
Storage *float64 `json:"storage,omitempty"`
// The termination policy of cluster.
TerminationPolicy *ClusterTerminationPolicy `json:"terminationPolicy,omitempty"`
// Specify whether the cluster enable monitoring.
MonitorEnabled *bool `json:"monitorEnabled,omitempty"`
// Specify whether the cluster can be accessed from within the VPC.
VpcEndpointEnabled *bool `json:"vpcEndpointEnabled,omitempty"`
// Specify whether the cluster can be accessed from the public internet.
InternetEndpointEnabled *bool `json:"internetEndpointEnabled,omitempty"`
// Items is the list of parameter template in the list
ParamTpls []ParamTplsItem `json:"paramTpls,omitempty"`
// Tolerations of cluster
Tolerations *string `json:"tolerations,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ClusterUpdate ClusterUpdate is the payload to update a KubeBlocks cluster
func NewClusterUpdate ¶
func NewClusterUpdate() *ClusterUpdate
NewClusterUpdate instantiates a new ClusterUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewClusterUpdateWithDefaults ¶
func NewClusterUpdateWithDefaults() *ClusterUpdate
NewClusterUpdateWithDefaults instantiates a new ClusterUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ClusterUpdate) GetCpu ¶
func (o *ClusterUpdate) GetCpu() float64
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ClusterUpdate) GetCpuOk ¶
func (o *ClusterUpdate) GetCpuOk() (*float64, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetInternetEndpointEnabled ¶
func (o *ClusterUpdate) GetInternetEndpointEnabled() bool
GetInternetEndpointEnabled returns the InternetEndpointEnabled field value if set, zero value otherwise.
func (*ClusterUpdate) GetInternetEndpointEnabledOk ¶
func (o *ClusterUpdate) GetInternetEndpointEnabledOk() (*bool, bool)
GetInternetEndpointEnabledOk returns a tuple with the InternetEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetMemory ¶
func (o *ClusterUpdate) GetMemory() float64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*ClusterUpdate) GetMemoryOk ¶
func (o *ClusterUpdate) GetMemoryOk() (*float64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetMonitorEnabled ¶
func (o *ClusterUpdate) GetMonitorEnabled() bool
GetMonitorEnabled returns the MonitorEnabled field value if set, zero value otherwise.
func (*ClusterUpdate) GetMonitorEnabledOk ¶
func (o *ClusterUpdate) GetMonitorEnabledOk() (*bool, bool)
GetMonitorEnabledOk returns a tuple with the MonitorEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetParamTpls ¶
func (o *ClusterUpdate) GetParamTpls() []ParamTplsItem
GetParamTpls returns the ParamTpls field value if set, zero value otherwise.
func (*ClusterUpdate) GetParamTplsOk ¶
func (o *ClusterUpdate) GetParamTplsOk() (*[]ParamTplsItem, bool)
GetParamTplsOk returns a tuple with the ParamTpls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetReplicas ¶
func (o *ClusterUpdate) GetReplicas() int32
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*ClusterUpdate) GetReplicasOk ¶
func (o *ClusterUpdate) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetStorage ¶
func (o *ClusterUpdate) GetStorage() float64
GetStorage returns the Storage field value if set, zero value otherwise.
func (*ClusterUpdate) GetStorageOk ¶
func (o *ClusterUpdate) GetStorageOk() (*float64, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetTerminationPolicy ¶
func (o *ClusterUpdate) GetTerminationPolicy() ClusterTerminationPolicy
GetTerminationPolicy returns the TerminationPolicy field value if set, zero value otherwise.
func (*ClusterUpdate) GetTerminationPolicyOk ¶
func (o *ClusterUpdate) GetTerminationPolicyOk() (*ClusterTerminationPolicy, bool)
GetTerminationPolicyOk returns a tuple with the TerminationPolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetTolerations ¶
func (o *ClusterUpdate) GetTolerations() string
GetTolerations returns the Tolerations field value if set, zero value otherwise.
func (*ClusterUpdate) GetTolerationsOk ¶
func (o *ClusterUpdate) GetTolerationsOk() (*string, bool)
GetTolerationsOk returns a tuple with the Tolerations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) GetVpcEndpointEnabled ¶
func (o *ClusterUpdate) GetVpcEndpointEnabled() bool
GetVpcEndpointEnabled returns the VpcEndpointEnabled field value if set, zero value otherwise.
func (*ClusterUpdate) GetVpcEndpointEnabledOk ¶
func (o *ClusterUpdate) GetVpcEndpointEnabledOk() (*bool, bool)
GetVpcEndpointEnabledOk returns a tuple with the VpcEndpointEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClusterUpdate) HasCpu ¶
func (o *ClusterUpdate) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ClusterUpdate) HasInternetEndpointEnabled ¶
func (o *ClusterUpdate) HasInternetEndpointEnabled() bool
HasInternetEndpointEnabled returns a boolean if a field has been set.
func (*ClusterUpdate) HasMemory ¶
func (o *ClusterUpdate) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*ClusterUpdate) HasMonitorEnabled ¶
func (o *ClusterUpdate) HasMonitorEnabled() bool
HasMonitorEnabled returns a boolean if a field has been set.
func (*ClusterUpdate) HasParamTpls ¶
func (o *ClusterUpdate) HasParamTpls() bool
HasParamTpls returns a boolean if a field has been set.
func (*ClusterUpdate) HasReplicas ¶
func (o *ClusterUpdate) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*ClusterUpdate) HasStorage ¶
func (o *ClusterUpdate) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*ClusterUpdate) HasTerminationPolicy ¶
func (o *ClusterUpdate) HasTerminationPolicy() bool
HasTerminationPolicy returns a boolean if a field has been set.
func (*ClusterUpdate) HasTolerations ¶
func (o *ClusterUpdate) HasTolerations() bool
HasTolerations returns a boolean if a field has been set.
func (*ClusterUpdate) HasVpcEndpointEnabled ¶
func (o *ClusterUpdate) HasVpcEndpointEnabled() bool
HasVpcEndpointEnabled returns a boolean if a field has been set.
func (ClusterUpdate) MarshalJSON ¶
func (o ClusterUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ClusterUpdate) SetCpu ¶
func (o *ClusterUpdate) SetCpu(v float64)
SetCpu gets a reference to the given float64 and assigns it to the Cpu field.
func (*ClusterUpdate) SetInternetEndpointEnabled ¶
func (o *ClusterUpdate) SetInternetEndpointEnabled(v bool)
SetInternetEndpointEnabled gets a reference to the given bool and assigns it to the InternetEndpointEnabled field.
func (*ClusterUpdate) SetMemory ¶
func (o *ClusterUpdate) SetMemory(v float64)
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*ClusterUpdate) SetMonitorEnabled ¶
func (o *ClusterUpdate) SetMonitorEnabled(v bool)
SetMonitorEnabled gets a reference to the given bool and assigns it to the MonitorEnabled field.
func (*ClusterUpdate) SetParamTpls ¶
func (o *ClusterUpdate) SetParamTpls(v []ParamTplsItem)
SetParamTpls gets a reference to the given []ParamTplsItem and assigns it to the ParamTpls field.
func (*ClusterUpdate) SetReplicas ¶
func (o *ClusterUpdate) SetReplicas(v int32)
SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.
func (*ClusterUpdate) SetStorage ¶
func (o *ClusterUpdate) SetStorage(v float64)
SetStorage gets a reference to the given float64 and assigns it to the Storage field.
func (*ClusterUpdate) SetTerminationPolicy ¶
func (o *ClusterUpdate) SetTerminationPolicy(v ClusterTerminationPolicy)
SetTerminationPolicy gets a reference to the given ClusterTerminationPolicy and assigns it to the TerminationPolicy field.
func (*ClusterUpdate) SetTolerations ¶
func (o *ClusterUpdate) SetTolerations(v string)
SetTolerations gets a reference to the given string and assigns it to the Tolerations field.
func (*ClusterUpdate) SetVpcEndpointEnabled ¶
func (o *ClusterUpdate) SetVpcEndpointEnabled(v bool)
SetVpcEndpointEnabled gets a reference to the given bool and assigns it to the VpcEndpointEnabled field.
func (*ClusterUpdate) UnmarshalJSON ¶
func (o *ClusterUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOpsOption ¶
type ComponentOpsOption struct {
Component string `json:"component"`
DisableHa *bool `json:"disableHA,omitempty"`
// parameter for rebuild instance ops
InPlace *bool `json:"inPlace,omitempty"`
// indicate whether backup is required when Inplace is true
NeedBackupWhenInPlace *bool `json:"needBackupWhenInPlace,omitempty"`
RestoreEnv []ComponentOpsOptionRestoreEnvItem `json:"restoreEnv,omitempty"`
DependentCustomOps *ComponentOpsOptionDependentCustomOps `json:"dependentCustomOps,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOpsOption ¶
func NewComponentOpsOption(component string) *ComponentOpsOption
NewComponentOpsOption instantiates a new ComponentOpsOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOpsOptionWithDefaults ¶
func NewComponentOpsOptionWithDefaults() *ComponentOpsOption
NewComponentOpsOptionWithDefaults instantiates a new ComponentOpsOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOpsOption) GetComponent ¶
func (o *ComponentOpsOption) GetComponent() string
GetComponent returns the Component field value.
func (*ComponentOpsOption) GetComponentOk ¶
func (o *ComponentOpsOption) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*ComponentOpsOption) GetDependentCustomOps ¶
func (o *ComponentOpsOption) GetDependentCustomOps() ComponentOpsOptionDependentCustomOps
GetDependentCustomOps returns the DependentCustomOps field value if set, zero value otherwise.
func (*ComponentOpsOption) GetDependentCustomOpsOk ¶
func (o *ComponentOpsOption) GetDependentCustomOpsOk() (*ComponentOpsOptionDependentCustomOps, bool)
GetDependentCustomOpsOk returns a tuple with the DependentCustomOps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOption) GetDisableHa ¶
func (o *ComponentOpsOption) GetDisableHa() bool
GetDisableHa returns the DisableHa field value if set, zero value otherwise.
func (*ComponentOpsOption) GetDisableHaOk ¶
func (o *ComponentOpsOption) GetDisableHaOk() (*bool, bool)
GetDisableHaOk returns a tuple with the DisableHa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOption) GetInPlace ¶
func (o *ComponentOpsOption) GetInPlace() bool
GetInPlace returns the InPlace field value if set, zero value otherwise.
func (*ComponentOpsOption) GetInPlaceOk ¶
func (o *ComponentOpsOption) GetInPlaceOk() (*bool, bool)
GetInPlaceOk returns a tuple with the InPlace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOption) GetNeedBackupWhenInPlace ¶
func (o *ComponentOpsOption) GetNeedBackupWhenInPlace() bool
GetNeedBackupWhenInPlace returns the NeedBackupWhenInPlace field value if set, zero value otherwise.
func (*ComponentOpsOption) GetNeedBackupWhenInPlaceOk ¶
func (o *ComponentOpsOption) GetNeedBackupWhenInPlaceOk() (*bool, bool)
GetNeedBackupWhenInPlaceOk returns a tuple with the NeedBackupWhenInPlace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOption) GetRestoreEnv ¶
func (o *ComponentOpsOption) GetRestoreEnv() []ComponentOpsOptionRestoreEnvItem
GetRestoreEnv returns the RestoreEnv field value if set, zero value otherwise.
func (*ComponentOpsOption) GetRestoreEnvOk ¶
func (o *ComponentOpsOption) GetRestoreEnvOk() (*[]ComponentOpsOptionRestoreEnvItem, bool)
GetRestoreEnvOk returns a tuple with the RestoreEnv field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOption) HasDependentCustomOps ¶
func (o *ComponentOpsOption) HasDependentCustomOps() bool
HasDependentCustomOps returns a boolean if a field has been set.
func (*ComponentOpsOption) HasDisableHa ¶
func (o *ComponentOpsOption) HasDisableHa() bool
HasDisableHa returns a boolean if a field has been set.
func (*ComponentOpsOption) HasInPlace ¶
func (o *ComponentOpsOption) HasInPlace() bool
HasInPlace returns a boolean if a field has been set.
func (*ComponentOpsOption) HasNeedBackupWhenInPlace ¶
func (o *ComponentOpsOption) HasNeedBackupWhenInPlace() bool
HasNeedBackupWhenInPlace returns a boolean if a field has been set.
func (*ComponentOpsOption) HasRestoreEnv ¶
func (o *ComponentOpsOption) HasRestoreEnv() bool
HasRestoreEnv returns a boolean if a field has been set.
func (ComponentOpsOption) MarshalJSON ¶
func (o ComponentOpsOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOpsOption) SetComponent ¶
func (o *ComponentOpsOption) SetComponent(v string)
SetComponent sets field value.
func (*ComponentOpsOption) SetDependentCustomOps ¶
func (o *ComponentOpsOption) SetDependentCustomOps(v ComponentOpsOptionDependentCustomOps)
SetDependentCustomOps gets a reference to the given ComponentOpsOptionDependentCustomOps and assigns it to the DependentCustomOps field.
func (*ComponentOpsOption) SetDisableHa ¶
func (o *ComponentOpsOption) SetDisableHa(v bool)
SetDisableHa gets a reference to the given bool and assigns it to the DisableHa field.
func (*ComponentOpsOption) SetInPlace ¶
func (o *ComponentOpsOption) SetInPlace(v bool)
SetInPlace gets a reference to the given bool and assigns it to the InPlace field.
func (*ComponentOpsOption) SetNeedBackupWhenInPlace ¶
func (o *ComponentOpsOption) SetNeedBackupWhenInPlace(v bool)
SetNeedBackupWhenInPlace gets a reference to the given bool and assigns it to the NeedBackupWhenInPlace field.
func (*ComponentOpsOption) SetRestoreEnv ¶
func (o *ComponentOpsOption) SetRestoreEnv(v []ComponentOpsOptionRestoreEnvItem)
SetRestoreEnv gets a reference to the given []ComponentOpsOptionRestoreEnvItem and assigns it to the RestoreEnv field.
func (*ComponentOpsOption) UnmarshalJSON ¶
func (o *ComponentOpsOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOpsOptionDependentCustomOps ¶
type ComponentOpsOptionDependentCustomOps struct {
// opsDefinition name
OpsDefName *string `json:"opsDefName,omitempty"`
// component type name
Component *string `json:"component,omitempty"`
// go template conditional judgment expression, such as $.root.inPlace == true
// available built-in objects that can be referenced in the expression include:
// - cluster: cluster record
// - params: ops input parameters
// - component: current component
// - root: current object
//
When *string `json:"when,omitempty"`
// custom ops parameters
Params []ComponentOpsOptionDependentCustomOpsParamsItem `json:"params,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOpsOptionDependentCustomOps ¶
func NewComponentOpsOptionDependentCustomOps() *ComponentOpsOptionDependentCustomOps
NewComponentOpsOptionDependentCustomOps instantiates a new ComponentOpsOptionDependentCustomOps object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOpsOptionDependentCustomOpsWithDefaults ¶
func NewComponentOpsOptionDependentCustomOpsWithDefaults() *ComponentOpsOptionDependentCustomOps
NewComponentOpsOptionDependentCustomOpsWithDefaults instantiates a new ComponentOpsOptionDependentCustomOps object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOpsOptionDependentCustomOps) GetComponent ¶
func (o *ComponentOpsOptionDependentCustomOps) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOps) GetComponentOk ¶
func (o *ComponentOpsOptionDependentCustomOps) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOps) GetOpsDefName ¶
func (o *ComponentOpsOptionDependentCustomOps) GetOpsDefName() string
GetOpsDefName returns the OpsDefName field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOps) GetOpsDefNameOk ¶
func (o *ComponentOpsOptionDependentCustomOps) GetOpsDefNameOk() (*string, bool)
GetOpsDefNameOk returns a tuple with the OpsDefName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOps) GetParams ¶
func (o *ComponentOpsOptionDependentCustomOps) GetParams() []ComponentOpsOptionDependentCustomOpsParamsItem
GetParams returns the Params field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOps) GetParamsOk ¶
func (o *ComponentOpsOptionDependentCustomOps) GetParamsOk() (*[]ComponentOpsOptionDependentCustomOpsParamsItem, bool)
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOps) GetWhen ¶
func (o *ComponentOpsOptionDependentCustomOps) GetWhen() string
GetWhen returns the When field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOps) GetWhenOk ¶
func (o *ComponentOpsOptionDependentCustomOps) GetWhenOk() (*string, bool)
GetWhenOk returns a tuple with the When field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOps) HasComponent ¶
func (o *ComponentOpsOptionDependentCustomOps) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*ComponentOpsOptionDependentCustomOps) HasOpsDefName ¶
func (o *ComponentOpsOptionDependentCustomOps) HasOpsDefName() bool
HasOpsDefName returns a boolean if a field has been set.
func (*ComponentOpsOptionDependentCustomOps) HasParams ¶
func (o *ComponentOpsOptionDependentCustomOps) HasParams() bool
HasParams returns a boolean if a field has been set.
func (*ComponentOpsOptionDependentCustomOps) HasWhen ¶
func (o *ComponentOpsOptionDependentCustomOps) HasWhen() bool
HasWhen returns a boolean if a field has been set.
func (ComponentOpsOptionDependentCustomOps) MarshalJSON ¶
func (o ComponentOpsOptionDependentCustomOps) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOpsOptionDependentCustomOps) SetComponent ¶
func (o *ComponentOpsOptionDependentCustomOps) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*ComponentOpsOptionDependentCustomOps) SetOpsDefName ¶
func (o *ComponentOpsOptionDependentCustomOps) SetOpsDefName(v string)
SetOpsDefName gets a reference to the given string and assigns it to the OpsDefName field.
func (*ComponentOpsOptionDependentCustomOps) SetParams ¶
func (o *ComponentOpsOptionDependentCustomOps) SetParams(v []ComponentOpsOptionDependentCustomOpsParamsItem)
SetParams gets a reference to the given []ComponentOpsOptionDependentCustomOpsParamsItem and assigns it to the Params field.
func (*ComponentOpsOptionDependentCustomOps) SetWhen ¶
func (o *ComponentOpsOptionDependentCustomOps) SetWhen(v string)
SetWhen gets a reference to the given string and assigns it to the When field.
func (*ComponentOpsOptionDependentCustomOps) UnmarshalJSON ¶
func (o *ComponentOpsOptionDependentCustomOps) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOpsOptionDependentCustomOpsParamsItem ¶
type ComponentOpsOptionDependentCustomOpsParamsItem struct {
// parameter name.
Name *string `json:"name,omitempty"`
// parameter value, you can define a go template expression to refer the variable of the current ops.
// available built-in objects that can be referenced in the expression include:
// - cluster: cluster record
// - params: ops input parameters
// - component: current component
// - root: current object
//
Value *string `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOpsOptionDependentCustomOpsParamsItem ¶
func NewComponentOpsOptionDependentCustomOpsParamsItem() *ComponentOpsOptionDependentCustomOpsParamsItem
NewComponentOpsOptionDependentCustomOpsParamsItem instantiates a new ComponentOpsOptionDependentCustomOpsParamsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOpsOptionDependentCustomOpsParamsItemWithDefaults ¶
func NewComponentOpsOptionDependentCustomOpsParamsItemWithDefaults() *ComponentOpsOptionDependentCustomOpsParamsItem
NewComponentOpsOptionDependentCustomOpsParamsItemWithDefaults instantiates a new ComponentOpsOptionDependentCustomOpsParamsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) GetName ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) GetNameOk ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) GetValue ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) GetValueOk ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) HasName ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) HasValue ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) HasValue() bool
HasValue returns a boolean if a field has been set.
func (ComponentOpsOptionDependentCustomOpsParamsItem) MarshalJSON ¶
func (o ComponentOpsOptionDependentCustomOpsParamsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) SetName ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) SetValue ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (*ComponentOpsOptionDependentCustomOpsParamsItem) UnmarshalJSON ¶
func (o *ComponentOpsOptionDependentCustomOpsParamsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOpsOptionRestoreEnvItem ¶
type ComponentOpsOptionRestoreEnvItem struct {
// env name
Name string `json:"name"`
// env value
Value string `json:"value"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOpsOptionRestoreEnvItem ¶
func NewComponentOpsOptionRestoreEnvItem(name string, value string) *ComponentOpsOptionRestoreEnvItem
NewComponentOpsOptionRestoreEnvItem instantiates a new ComponentOpsOptionRestoreEnvItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOpsOptionRestoreEnvItemWithDefaults ¶
func NewComponentOpsOptionRestoreEnvItemWithDefaults() *ComponentOpsOptionRestoreEnvItem
NewComponentOpsOptionRestoreEnvItemWithDefaults instantiates a new ComponentOpsOptionRestoreEnvItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOpsOptionRestoreEnvItem) GetName ¶
func (o *ComponentOpsOptionRestoreEnvItem) GetName() string
GetName returns the Name field value.
func (*ComponentOpsOptionRestoreEnvItem) GetNameOk ¶
func (o *ComponentOpsOptionRestoreEnvItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ComponentOpsOptionRestoreEnvItem) GetValue ¶
func (o *ComponentOpsOptionRestoreEnvItem) GetValue() string
GetValue returns the Value field value.
func (*ComponentOpsOptionRestoreEnvItem) GetValueOk ¶
func (o *ComponentOpsOptionRestoreEnvItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (ComponentOpsOptionRestoreEnvItem) MarshalJSON ¶
func (o ComponentOpsOptionRestoreEnvItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOpsOptionRestoreEnvItem) SetName ¶
func (o *ComponentOpsOptionRestoreEnvItem) SetName(v string)
SetName sets field value.
func (*ComponentOpsOptionRestoreEnvItem) SetValue ¶
func (o *ComponentOpsOptionRestoreEnvItem) SetValue(v string)
SetValue sets field value.
func (*ComponentOpsOptionRestoreEnvItem) UnmarshalJSON ¶
func (o *ComponentOpsOptionRestoreEnvItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOption ¶
type ComponentOption struct {
// component type
Name string `json:"name"`
// Determine whether the componentDef of kb-cluster belongs to this component type through this matching regularization.
// if not set, componentDef must be equal to component type.
//
MatchRegex *string `json:"matchRegex,omitempty"`
Title LocalizedDescription `json:"title"`
Order int32 `json:"order"`
RoleOrder []string `json:"roleOrder"`
Version *ComponentOptionVersion `json:"version,omitempty"`
// Main component flag
Main *bool `json:"main,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOption ¶
func NewComponentOption(name string, title LocalizedDescription, order int32, roleOrder []string) *ComponentOption
NewComponentOption instantiates a new ComponentOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOptionWithDefaults ¶
func NewComponentOptionWithDefaults() *ComponentOption
NewComponentOptionWithDefaults instantiates a new ComponentOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOption) GetMain ¶
func (o *ComponentOption) GetMain() bool
GetMain returns the Main field value if set, zero value otherwise.
func (*ComponentOption) GetMainOk ¶
func (o *ComponentOption) GetMainOk() (*bool, bool)
GetMainOk returns a tuple with the Main field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOption) GetMatchRegex ¶
func (o *ComponentOption) GetMatchRegex() string
GetMatchRegex returns the MatchRegex field value if set, zero value otherwise.
func (*ComponentOption) GetMatchRegexOk ¶
func (o *ComponentOption) GetMatchRegexOk() (*string, bool)
GetMatchRegexOk returns a tuple with the MatchRegex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOption) GetName ¶
func (o *ComponentOption) GetName() string
GetName returns the Name field value.
func (*ComponentOption) GetNameOk ¶
func (o *ComponentOption) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ComponentOption) GetOrder ¶
func (o *ComponentOption) GetOrder() int32
GetOrder returns the Order field value.
func (*ComponentOption) GetOrderOk ¶
func (o *ComponentOption) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field value and a boolean to check if the value has been set.
func (*ComponentOption) GetRoleOrder ¶
func (o *ComponentOption) GetRoleOrder() []string
GetRoleOrder returns the RoleOrder field value.
func (*ComponentOption) GetRoleOrderOk ¶
func (o *ComponentOption) GetRoleOrderOk() (*[]string, bool)
GetRoleOrderOk returns a tuple with the RoleOrder field value and a boolean to check if the value has been set.
func (*ComponentOption) GetTitle ¶
func (o *ComponentOption) GetTitle() LocalizedDescription
GetTitle returns the Title field value.
func (*ComponentOption) GetTitleOk ¶
func (o *ComponentOption) GetTitleOk() (*LocalizedDescription, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ComponentOption) GetVersion ¶
func (o *ComponentOption) GetVersion() ComponentOptionVersion
GetVersion returns the Version field value if set, zero value otherwise.
func (*ComponentOption) GetVersionOk ¶
func (o *ComponentOption) GetVersionOk() (*ComponentOptionVersion, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOption) HasMain ¶
func (o *ComponentOption) HasMain() bool
HasMain returns a boolean if a field has been set.
func (*ComponentOption) HasMatchRegex ¶
func (o *ComponentOption) HasMatchRegex() bool
HasMatchRegex returns a boolean if a field has been set.
func (*ComponentOption) HasVersion ¶
func (o *ComponentOption) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ComponentOption) MarshalJSON ¶
func (o ComponentOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOption) SetMain ¶
func (o *ComponentOption) SetMain(v bool)
SetMain gets a reference to the given bool and assigns it to the Main field.
func (*ComponentOption) SetMatchRegex ¶
func (o *ComponentOption) SetMatchRegex(v string)
SetMatchRegex gets a reference to the given string and assigns it to the MatchRegex field.
func (*ComponentOption) SetName ¶
func (o *ComponentOption) SetName(v string)
SetName sets field value.
func (*ComponentOption) SetOrder ¶
func (o *ComponentOption) SetOrder(v int32)
SetOrder sets field value.
func (*ComponentOption) SetRoleOrder ¶
func (o *ComponentOption) SetRoleOrder(v []string)
SetRoleOrder sets field value.
func (*ComponentOption) SetTitle ¶
func (o *ComponentOption) SetTitle(v LocalizedDescription)
SetTitle sets field value.
func (*ComponentOption) SetVersion ¶
func (o *ComponentOption) SetVersion(v ComponentOptionVersion)
SetVersion gets a reference to the given ComponentOptionVersion and assigns it to the Version field.
func (*ComponentOption) UnmarshalJSON ¶
func (o *ComponentOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOptionVersion ¶
type ComponentOptionVersion struct {
// component version name
ComponentVersionName string `json:"componentVersionName"`
MinorVersion *ComponentOptionVersionMinorVersion `json:"minorVersion,omitempty"`
MajorVersion ComponentOptionVersionMajorVersion `json:"majorVersion"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOptionVersion ¶
func NewComponentOptionVersion(componentVersionName string, majorVersion ComponentOptionVersionMajorVersion) *ComponentOptionVersion
NewComponentOptionVersion instantiates a new ComponentOptionVersion object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOptionVersionWithDefaults ¶
func NewComponentOptionVersionWithDefaults() *ComponentOptionVersion
NewComponentOptionVersionWithDefaults instantiates a new ComponentOptionVersion object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOptionVersion) GetComponentVersionName ¶
func (o *ComponentOptionVersion) GetComponentVersionName() string
GetComponentVersionName returns the ComponentVersionName field value.
func (*ComponentOptionVersion) GetComponentVersionNameOk ¶
func (o *ComponentOptionVersion) GetComponentVersionNameOk() (*string, bool)
GetComponentVersionNameOk returns a tuple with the ComponentVersionName field value and a boolean to check if the value has been set.
func (*ComponentOptionVersion) GetMajorVersion ¶
func (o *ComponentOptionVersion) GetMajorVersion() ComponentOptionVersionMajorVersion
GetMajorVersion returns the MajorVersion field value.
func (*ComponentOptionVersion) GetMajorVersionOk ¶
func (o *ComponentOptionVersion) GetMajorVersionOk() (*ComponentOptionVersionMajorVersion, bool)
GetMajorVersionOk returns a tuple with the MajorVersion field value and a boolean to check if the value has been set.
func (*ComponentOptionVersion) GetMinorVersion ¶
func (o *ComponentOptionVersion) GetMinorVersion() ComponentOptionVersionMinorVersion
GetMinorVersion returns the MinorVersion field value if set, zero value otherwise.
func (*ComponentOptionVersion) GetMinorVersionOk ¶
func (o *ComponentOptionVersion) GetMinorVersionOk() (*ComponentOptionVersionMinorVersion, bool)
GetMinorVersionOk returns a tuple with the MinorVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersion) HasMinorVersion ¶
func (o *ComponentOptionVersion) HasMinorVersion() bool
HasMinorVersion returns a boolean if a field has been set.
func (ComponentOptionVersion) MarshalJSON ¶
func (o ComponentOptionVersion) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOptionVersion) SetComponentVersionName ¶
func (o *ComponentOptionVersion) SetComponentVersionName(v string)
SetComponentVersionName sets field value.
func (*ComponentOptionVersion) SetMajorVersion ¶
func (o *ComponentOptionVersion) SetMajorVersion(v ComponentOptionVersionMajorVersion)
SetMajorVersion sets field value.
func (*ComponentOptionVersion) SetMinorVersion ¶
func (o *ComponentOptionVersion) SetMinorVersion(v ComponentOptionVersionMinorVersion)
SetMinorVersion gets a reference to the given ComponentOptionVersionMinorVersion and assigns it to the MinorVersion field.
func (*ComponentOptionVersion) UnmarshalJSON ¶
func (o *ComponentOptionVersion) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOptionVersionMajorVersion ¶
type ComponentOptionVersionMajorVersion struct {
// default major version.
Default *string `json:"default,omitempty"`
// ServiceVersion uses semver syntax(X Y.Z), such MySQL 5.7.4 and PG 14.8.0.
// Currently supports [X, X.Y, X.Y.Z] formats to determine major versions of the engine from the serviceVersion
//
Rule string `json:"rule"`
VersionMapping []ComponentOptionVersionMajorVersionVersionMappingItem `json:"versionMapping,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOptionVersionMajorVersion ¶
func NewComponentOptionVersionMajorVersion(rule string) *ComponentOptionVersionMajorVersion
NewComponentOptionVersionMajorVersion instantiates a new ComponentOptionVersionMajorVersion object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOptionVersionMajorVersionWithDefaults ¶
func NewComponentOptionVersionMajorVersionWithDefaults() *ComponentOptionVersionMajorVersion
NewComponentOptionVersionMajorVersionWithDefaults instantiates a new ComponentOptionVersionMajorVersion object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOptionVersionMajorVersion) GetDefault ¶
func (o *ComponentOptionVersionMajorVersion) GetDefault() string
GetDefault returns the Default field value if set, zero value otherwise.
func (*ComponentOptionVersionMajorVersion) GetDefaultOk ¶
func (o *ComponentOptionVersionMajorVersion) GetDefaultOk() (*string, bool)
GetDefaultOk returns a tuple with the Default field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMajorVersion) GetRule ¶
func (o *ComponentOptionVersionMajorVersion) GetRule() string
GetRule returns the Rule field value.
func (*ComponentOptionVersionMajorVersion) GetRuleOk ¶
func (o *ComponentOptionVersionMajorVersion) GetRuleOk() (*string, bool)
GetRuleOk returns a tuple with the Rule field value and a boolean to check if the value has been set.
func (*ComponentOptionVersionMajorVersion) GetVersionMapping ¶
func (o *ComponentOptionVersionMajorVersion) GetVersionMapping() []ComponentOptionVersionMajorVersionVersionMappingItem
GetVersionMapping returns the VersionMapping field value if set, zero value otherwise.
func (*ComponentOptionVersionMajorVersion) GetVersionMappingOk ¶
func (o *ComponentOptionVersionMajorVersion) GetVersionMappingOk() (*[]ComponentOptionVersionMajorVersionVersionMappingItem, bool)
GetVersionMappingOk returns a tuple with the VersionMapping field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMajorVersion) HasDefault ¶
func (o *ComponentOptionVersionMajorVersion) HasDefault() bool
HasDefault returns a boolean if a field has been set.
func (*ComponentOptionVersionMajorVersion) HasVersionMapping ¶
func (o *ComponentOptionVersionMajorVersion) HasVersionMapping() bool
HasVersionMapping returns a boolean if a field has been set.
func (ComponentOptionVersionMajorVersion) MarshalJSON ¶
func (o ComponentOptionVersionMajorVersion) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOptionVersionMajorVersion) SetDefault ¶
func (o *ComponentOptionVersionMajorVersion) SetDefault(v string)
SetDefault gets a reference to the given string and assigns it to the Default field.
func (*ComponentOptionVersionMajorVersion) SetRule ¶
func (o *ComponentOptionVersionMajorVersion) SetRule(v string)
SetRule sets field value.
func (*ComponentOptionVersionMajorVersion) SetVersionMapping ¶
func (o *ComponentOptionVersionMajorVersion) SetVersionMapping(v []ComponentOptionVersionMajorVersionVersionMappingItem)
SetVersionMapping gets a reference to the given []ComponentOptionVersionMajorVersionVersionMappingItem and assigns it to the VersionMapping field.
func (*ComponentOptionVersionMajorVersion) UnmarshalJSON ¶
func (o *ComponentOptionVersionMajorVersion) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOptionVersionMajorVersionVersionMappingItem ¶
type ComponentOptionVersionMajorVersionVersionMappingItem struct {
// major version of the main component
MainComponentMajorVersion *string `json:"mainComponentMajorVersion,omitempty"`
// major versions of the current component
Versions []string `json:"versions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ComponentOptionVersionMajorVersionVersionMappingItem Configure the mapping relationship with the main component's major versions.
func NewComponentOptionVersionMajorVersionVersionMappingItem ¶
func NewComponentOptionVersionMajorVersionVersionMappingItem() *ComponentOptionVersionMajorVersionVersionMappingItem
NewComponentOptionVersionMajorVersionVersionMappingItem instantiates a new ComponentOptionVersionMajorVersionVersionMappingItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOptionVersionMajorVersionVersionMappingItemWithDefaults ¶
func NewComponentOptionVersionMajorVersionVersionMappingItemWithDefaults() *ComponentOptionVersionMajorVersionVersionMappingItem
NewComponentOptionVersionMajorVersionVersionMappingItemWithDefaults instantiates a new ComponentOptionVersionMajorVersionVersionMappingItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersion ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersion() string
GetMainComponentMajorVersion returns the MainComponentMajorVersion field value if set, zero value otherwise.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersionOk ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetMainComponentMajorVersionOk() (*string, bool)
GetMainComponentMajorVersionOk returns a tuple with the MainComponentMajorVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) GetVersions ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetVersions() []string
GetVersions returns the Versions field value if set, zero value otherwise.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) GetVersionsOk ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) GetVersionsOk() (*[]string, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) HasMainComponentMajorVersion ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) HasMainComponentMajorVersion() bool
HasMainComponentMajorVersion returns a boolean if a field has been set.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) HasVersions ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (ComponentOptionVersionMajorVersionVersionMappingItem) MarshalJSON ¶
func (o ComponentOptionVersionMajorVersionVersionMappingItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) SetMainComponentMajorVersion ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) SetMainComponentMajorVersion(v string)
SetMainComponentMajorVersion gets a reference to the given string and assigns it to the MainComponentMajorVersion field.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) SetVersions ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) SetVersions(v []string)
SetVersions gets a reference to the given []string and assigns it to the Versions field.
func (*ComponentOptionVersionMajorVersionVersionMappingItem) UnmarshalJSON ¶
func (o *ComponentOptionVersionMajorVersionVersionMappingItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentOptionVersionMinorVersion ¶
type ComponentOptionVersionMinorVersion struct {
// determine whether minor version can be rolled back.
Rollback *bool `json:"rollback,omitempty"`
// disable roll back the preRelease minor version.
DisableRollbackPreRelease *bool `json:"disableRollbackPreRelease,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentOptionVersionMinorVersion ¶
func NewComponentOptionVersionMinorVersion() *ComponentOptionVersionMinorVersion
NewComponentOptionVersionMinorVersion instantiates a new ComponentOptionVersionMinorVersion object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentOptionVersionMinorVersionWithDefaults ¶
func NewComponentOptionVersionMinorVersionWithDefaults() *ComponentOptionVersionMinorVersion
NewComponentOptionVersionMinorVersionWithDefaults instantiates a new ComponentOptionVersionMinorVersion object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentOptionVersionMinorVersion) GetDisableRollbackPreRelease ¶
func (o *ComponentOptionVersionMinorVersion) GetDisableRollbackPreRelease() bool
GetDisableRollbackPreRelease returns the DisableRollbackPreRelease field value if set, zero value otherwise.
func (*ComponentOptionVersionMinorVersion) GetDisableRollbackPreReleaseOk ¶
func (o *ComponentOptionVersionMinorVersion) GetDisableRollbackPreReleaseOk() (*bool, bool)
GetDisableRollbackPreReleaseOk returns a tuple with the DisableRollbackPreRelease field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMinorVersion) GetRollback ¶
func (o *ComponentOptionVersionMinorVersion) GetRollback() bool
GetRollback returns the Rollback field value if set, zero value otherwise.
func (*ComponentOptionVersionMinorVersion) GetRollbackOk ¶
func (o *ComponentOptionVersionMinorVersion) GetRollbackOk() (*bool, bool)
GetRollbackOk returns a tuple with the Rollback field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentOptionVersionMinorVersion) HasDisableRollbackPreRelease ¶
func (o *ComponentOptionVersionMinorVersion) HasDisableRollbackPreRelease() bool
HasDisableRollbackPreRelease returns a boolean if a field has been set.
func (*ComponentOptionVersionMinorVersion) HasRollback ¶
func (o *ComponentOptionVersionMinorVersion) HasRollback() bool
HasRollback returns a boolean if a field has been set.
func (ComponentOptionVersionMinorVersion) MarshalJSON ¶
func (o ComponentOptionVersionMinorVersion) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentOptionVersionMinorVersion) SetDisableRollbackPreRelease ¶
func (o *ComponentOptionVersionMinorVersion) SetDisableRollbackPreRelease(v bool)
SetDisableRollbackPreRelease gets a reference to the given bool and assigns it to the DisableRollbackPreRelease field.
func (*ComponentOptionVersionMinorVersion) SetRollback ¶
func (o *ComponentOptionVersionMinorVersion) SetRollback(v bool)
SetRollback gets a reference to the given bool and assigns it to the Rollback field.
func (*ComponentOptionVersionMinorVersion) UnmarshalJSON ¶
func (o *ComponentOptionVersionMinorVersion) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentsItem ¶
type ComponentsItem struct {
// component name
Name *string `json:"name,omitempty"`
// component type, refer to componentDef and support NamePrefix
Component *string `json:"component,omitempty"`
// componentDefinition name
ComponentDef *string `json:"componentDef,omitempty"`
// number of components
CompNum *int32 `json:"compNum,omitempty"`
// enable monitor
Monitor *bool `json:"monitor,omitempty"`
// The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
Replicas *int32 `json:"replicas,omitempty"`
ClassCode *string `json:"classCode,omitempty"`
ClassSeries *string `json:"classSeries,omitempty"`
// CPU cores.
Cpu *float64 `json:"cpu,omitempty"`
// Memory, the unit is Gi.
Memory *float64 `json:"memory,omitempty"`
// Storage
Storage *string `json:"storage,omitempty"`
// StorageClass name
StorageClass *string `json:"storageClass,omitempty"`
Volumes []ComponentsItemVolumesItem `json:"volumes,omitempty"`
// Cluster main component codeShort
CodeShort *string `json:"codeShort,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentsItem ¶
func NewComponentsItem() *ComponentsItem
NewComponentsItem instantiates a new ComponentsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentsItemWithDefaults ¶
func NewComponentsItemWithDefaults() *ComponentsItem
NewComponentsItemWithDefaults instantiates a new ComponentsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentsItem) GetClassCode ¶
func (o *ComponentsItem) GetClassCode() string
GetClassCode returns the ClassCode field value if set, zero value otherwise.
func (*ComponentsItem) GetClassCodeOk ¶
func (o *ComponentsItem) GetClassCodeOk() (*string, bool)
GetClassCodeOk returns a tuple with the ClassCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetClassSeries ¶
func (o *ComponentsItem) GetClassSeries() string
GetClassSeries returns the ClassSeries field value if set, zero value otherwise.
func (*ComponentsItem) GetClassSeriesOk ¶
func (o *ComponentsItem) GetClassSeriesOk() (*string, bool)
GetClassSeriesOk returns a tuple with the ClassSeries field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetCodeShort ¶
func (o *ComponentsItem) GetCodeShort() string
GetCodeShort returns the CodeShort field value if set, zero value otherwise.
func (*ComponentsItem) GetCodeShortOk ¶
func (o *ComponentsItem) GetCodeShortOk() (*string, bool)
GetCodeShortOk returns a tuple with the CodeShort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetCompNum ¶
func (o *ComponentsItem) GetCompNum() int32
GetCompNum returns the CompNum field value if set, zero value otherwise.
func (*ComponentsItem) GetCompNumOk ¶
func (o *ComponentsItem) GetCompNumOk() (*int32, bool)
GetCompNumOk returns a tuple with the CompNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetComponent ¶
func (o *ComponentsItem) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*ComponentsItem) GetComponentDef ¶
func (o *ComponentsItem) GetComponentDef() string
GetComponentDef returns the ComponentDef field value if set, zero value otherwise.
func (*ComponentsItem) GetComponentDefOk ¶
func (o *ComponentsItem) GetComponentDefOk() (*string, bool)
GetComponentDefOk returns a tuple with the ComponentDef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetComponentOk ¶
func (o *ComponentsItem) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetCpu ¶
func (o *ComponentsItem) GetCpu() float64
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*ComponentsItem) GetCpuOk ¶
func (o *ComponentsItem) GetCpuOk() (*float64, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetMemory ¶
func (o *ComponentsItem) GetMemory() float64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*ComponentsItem) GetMemoryOk ¶
func (o *ComponentsItem) GetMemoryOk() (*float64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetMonitor ¶
func (o *ComponentsItem) GetMonitor() bool
GetMonitor returns the Monitor field value if set, zero value otherwise.
func (*ComponentsItem) GetMonitorOk ¶
func (o *ComponentsItem) GetMonitorOk() (*bool, bool)
GetMonitorOk returns a tuple with the Monitor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetName ¶
func (o *ComponentsItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ComponentsItem) GetNameOk ¶
func (o *ComponentsItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetReplicas ¶
func (o *ComponentsItem) GetReplicas() int32
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*ComponentsItem) GetReplicasOk ¶
func (o *ComponentsItem) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetStorage ¶
func (o *ComponentsItem) GetStorage() string
GetStorage returns the Storage field value if set, zero value otherwise.
func (*ComponentsItem) GetStorageClass ¶
func (o *ComponentsItem) GetStorageClass() string
GetStorageClass returns the StorageClass field value if set, zero value otherwise.
func (*ComponentsItem) GetStorageClassOk ¶
func (o *ComponentsItem) GetStorageClassOk() (*string, bool)
GetStorageClassOk returns a tuple with the StorageClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetStorageOk ¶
func (o *ComponentsItem) GetStorageOk() (*string, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) GetVolumes ¶
func (o *ComponentsItem) GetVolumes() []ComponentsItemVolumesItem
GetVolumes returns the Volumes field value if set, zero value otherwise.
func (*ComponentsItem) GetVolumesOk ¶
func (o *ComponentsItem) GetVolumesOk() (*[]ComponentsItemVolumesItem, bool)
GetVolumesOk returns a tuple with the Volumes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItem) HasClassCode ¶
func (o *ComponentsItem) HasClassCode() bool
HasClassCode returns a boolean if a field has been set.
func (*ComponentsItem) HasClassSeries ¶
func (o *ComponentsItem) HasClassSeries() bool
HasClassSeries returns a boolean if a field has been set.
func (*ComponentsItem) HasCodeShort ¶
func (o *ComponentsItem) HasCodeShort() bool
HasCodeShort returns a boolean if a field has been set.
func (*ComponentsItem) HasCompNum ¶
func (o *ComponentsItem) HasCompNum() bool
HasCompNum returns a boolean if a field has been set.
func (*ComponentsItem) HasComponent ¶
func (o *ComponentsItem) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*ComponentsItem) HasComponentDef ¶
func (o *ComponentsItem) HasComponentDef() bool
HasComponentDef returns a boolean if a field has been set.
func (*ComponentsItem) HasCpu ¶
func (o *ComponentsItem) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*ComponentsItem) HasMemory ¶
func (o *ComponentsItem) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*ComponentsItem) HasMonitor ¶
func (o *ComponentsItem) HasMonitor() bool
HasMonitor returns a boolean if a field has been set.
func (*ComponentsItem) HasName ¶
func (o *ComponentsItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*ComponentsItem) HasReplicas ¶
func (o *ComponentsItem) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*ComponentsItem) HasStorage ¶
func (o *ComponentsItem) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*ComponentsItem) HasStorageClass ¶
func (o *ComponentsItem) HasStorageClass() bool
HasStorageClass returns a boolean if a field has been set.
func (*ComponentsItem) HasVolumes ¶
func (o *ComponentsItem) HasVolumes() bool
HasVolumes returns a boolean if a field has been set.
func (ComponentsItem) MarshalJSON ¶
func (o ComponentsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentsItem) SetClassCode ¶
func (o *ComponentsItem) SetClassCode(v string)
SetClassCode gets a reference to the given string and assigns it to the ClassCode field.
func (*ComponentsItem) SetClassSeries ¶
func (o *ComponentsItem) SetClassSeries(v string)
SetClassSeries gets a reference to the given string and assigns it to the ClassSeries field.
func (*ComponentsItem) SetCodeShort ¶
func (o *ComponentsItem) SetCodeShort(v string)
SetCodeShort gets a reference to the given string and assigns it to the CodeShort field.
func (*ComponentsItem) SetCompNum ¶
func (o *ComponentsItem) SetCompNum(v int32)
SetCompNum gets a reference to the given int32 and assigns it to the CompNum field.
func (*ComponentsItem) SetComponent ¶
func (o *ComponentsItem) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*ComponentsItem) SetComponentDef ¶
func (o *ComponentsItem) SetComponentDef(v string)
SetComponentDef gets a reference to the given string and assigns it to the ComponentDef field.
func (*ComponentsItem) SetCpu ¶
func (o *ComponentsItem) SetCpu(v float64)
SetCpu gets a reference to the given float64 and assigns it to the Cpu field.
func (*ComponentsItem) SetMemory ¶
func (o *ComponentsItem) SetMemory(v float64)
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*ComponentsItem) SetMonitor ¶
func (o *ComponentsItem) SetMonitor(v bool)
SetMonitor gets a reference to the given bool and assigns it to the Monitor field.
func (*ComponentsItem) SetName ¶
func (o *ComponentsItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ComponentsItem) SetReplicas ¶
func (o *ComponentsItem) SetReplicas(v int32)
SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.
func (*ComponentsItem) SetStorage ¶
func (o *ComponentsItem) SetStorage(v string)
SetStorage gets a reference to the given string and assigns it to the Storage field.
func (*ComponentsItem) SetStorageClass ¶
func (o *ComponentsItem) SetStorageClass(v string)
SetStorageClass gets a reference to the given string and assigns it to the StorageClass field.
func (*ComponentsItem) SetVolumes ¶
func (o *ComponentsItem) SetVolumes(v []ComponentsItemVolumesItem)
SetVolumes gets a reference to the given []ComponentsItemVolumesItem and assigns it to the Volumes field.
func (*ComponentsItem) UnmarshalJSON ¶
func (o *ComponentsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ComponentsItemVolumesItem ¶
type ComponentsItemVolumesItem struct {
// volume name
Name *string `json:"name,omitempty"`
// Storage size, the unit is Gi.
Storage *float64 `json:"storage,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewComponentsItemVolumesItem ¶
func NewComponentsItemVolumesItem() *ComponentsItemVolumesItem
NewComponentsItemVolumesItem instantiates a new ComponentsItemVolumesItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewComponentsItemVolumesItemWithDefaults ¶
func NewComponentsItemVolumesItemWithDefaults() *ComponentsItemVolumesItem
NewComponentsItemVolumesItemWithDefaults instantiates a new ComponentsItemVolumesItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ComponentsItemVolumesItem) GetName ¶
func (o *ComponentsItemVolumesItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ComponentsItemVolumesItem) GetNameOk ¶
func (o *ComponentsItemVolumesItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItemVolumesItem) GetStorage ¶
func (o *ComponentsItemVolumesItem) GetStorage() float64
GetStorage returns the Storage field value if set, zero value otherwise.
func (*ComponentsItemVolumesItem) GetStorageOk ¶
func (o *ComponentsItemVolumesItem) GetStorageOk() (*float64, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ComponentsItemVolumesItem) HasName ¶
func (o *ComponentsItemVolumesItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*ComponentsItemVolumesItem) HasStorage ¶
func (o *ComponentsItemVolumesItem) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (ComponentsItemVolumesItem) MarshalJSON ¶
func (o ComponentsItemVolumesItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ComponentsItemVolumesItem) SetName ¶
func (o *ComponentsItemVolumesItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ComponentsItemVolumesItem) SetStorage ¶
func (o *ComponentsItemVolumesItem) SetStorage(v float64)
SetStorage gets a reference to the given float64 and assigns it to the Storage field.
func (*ComponentsItemVolumesItem) UnmarshalJSON ¶
func (o *ComponentsItemVolumesItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Configuration ¶
type Configuration struct {
// The name of the configuration file
FileName string `json:"fileName"`
// The content of the configuration file
Content string `json:"content"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Configuration Cluster parameters configuration, include the file name and content of the parameters
func NewConfiguration ¶
func NewConfiguration(fileName string, content string) *Configuration
NewConfiguration instantiates a new Configuration object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewConfigurationWithDefaults ¶
func NewConfigurationWithDefaults() *Configuration
NewConfigurationWithDefaults instantiates a new Configuration object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Configuration) GetContent ¶
func (o *Configuration) GetContent() string
GetContent returns the Content field value.
func (*Configuration) GetContentOk ¶
func (o *Configuration) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*Configuration) GetFileName ¶
func (o *Configuration) GetFileName() string
GetFileName returns the FileName field value.
func (*Configuration) GetFileNameOk ¶
func (o *Configuration) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (Configuration) MarshalJSON ¶
func (o Configuration) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Configuration) SetContent ¶
func (o *Configuration) SetContent(v string)
SetContent sets field value.
func (*Configuration) SetFileName ¶
func (o *Configuration) SetFileName(v string)
SetFileName sets field value.
func (*Configuration) UnmarshalJSON ¶
func (o *Configuration) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ConfigurationList ¶
type ConfigurationList struct {
Items []Configuration `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ConfigurationList A list of cluster parameters configuration
func NewConfigurationList ¶
func NewConfigurationList() *ConfigurationList
NewConfigurationList instantiates a new ConfigurationList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewConfigurationListWithDefaults ¶
func NewConfigurationListWithDefaults() *ConfigurationList
NewConfigurationListWithDefaults instantiates a new ConfigurationList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ConfigurationList) GetItems ¶
func (o *ConfigurationList) GetItems() []Configuration
GetItems returns the Items field value if set, zero value otherwise.
func (*ConfigurationList) GetItemsOk ¶
func (o *ConfigurationList) GetItemsOk() (*[]Configuration, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConfigurationList) HasItems ¶
func (o *ConfigurationList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ConfigurationList) MarshalJSON ¶
func (o ConfigurationList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ConfigurationList) SetItems ¶
func (o *ConfigurationList) SetItems(v []Configuration)
SetItems gets a reference to the given []Configuration and assigns it to the Items field.
func (*ConfigurationList) UnmarshalJSON ¶
func (o *ConfigurationList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ConfigurationWithRegex ¶
type ConfigurationWithRegex struct {
// The name of the configuration file
FileName string `json:"fileName"`
// The content of the configuration file
Content string `json:"content"`
// the template regex
Regex string `json:"regex"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ConfigurationWithRegex Cluster parameters configuration, include the file name and content of the parameters
func NewConfigurationWithRegex ¶
func NewConfigurationWithRegex(fileName string, content string, regex string) *ConfigurationWithRegex
NewConfigurationWithRegex instantiates a new ConfigurationWithRegex object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewConfigurationWithRegexWithDefaults ¶
func NewConfigurationWithRegexWithDefaults() *ConfigurationWithRegex
NewConfigurationWithRegexWithDefaults instantiates a new ConfigurationWithRegex object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ConfigurationWithRegex) GetContent ¶
func (o *ConfigurationWithRegex) GetContent() string
GetContent returns the Content field value.
func (*ConfigurationWithRegex) GetContentOk ¶
func (o *ConfigurationWithRegex) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ConfigurationWithRegex) GetFileName ¶
func (o *ConfigurationWithRegex) GetFileName() string
GetFileName returns the FileName field value.
func (*ConfigurationWithRegex) GetFileNameOk ¶
func (o *ConfigurationWithRegex) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (*ConfigurationWithRegex) GetRegex ¶
func (o *ConfigurationWithRegex) GetRegex() string
GetRegex returns the Regex field value.
func (*ConfigurationWithRegex) GetRegexOk ¶
func (o *ConfigurationWithRegex) GetRegexOk() (*string, bool)
GetRegexOk returns a tuple with the Regex field value and a boolean to check if the value has been set.
func (ConfigurationWithRegex) MarshalJSON ¶
func (o ConfigurationWithRegex) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ConfigurationWithRegex) SetContent ¶
func (o *ConfigurationWithRegex) SetContent(v string)
SetContent sets field value.
func (*ConfigurationWithRegex) SetFileName ¶
func (o *ConfigurationWithRegex) SetFileName(v string)
SetFileName sets field value.
func (*ConfigurationWithRegex) SetRegex ¶
func (o *ConfigurationWithRegex) SetRegex(v string)
SetRegex sets field value.
func (*ConfigurationWithRegex) UnmarshalJSON ¶
func (o *ConfigurationWithRegex) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type CreateAlertInhibitOptionalParameters ¶
type CreateAlertInhibitOptionalParameters struct {
Body *AlertInhibit
}
CreateAlertInhibitOptionalParameters holds optional parameters for CreateAlertInhibit.
func NewCreateAlertInhibitOptionalParameters ¶
func NewCreateAlertInhibitOptionalParameters() *CreateAlertInhibitOptionalParameters
NewCreateAlertInhibitOptionalParameters creates an empty struct for parameters.
func (*CreateAlertInhibitOptionalParameters) WithBody ¶
func (r *CreateAlertInhibitOptionalParameters) WithBody(body AlertInhibit) *CreateAlertInhibitOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type CreateClassOptionalParameters ¶
type CreateClassOptionalParameters struct {
Body *Class
}
CreateClassOptionalParameters holds optional parameters for CreateClass.
func NewCreateClassOptionalParameters ¶
func NewCreateClassOptionalParameters() *CreateClassOptionalParameters
NewCreateClassOptionalParameters creates an empty struct for parameters.
func (*CreateClassOptionalParameters) WithBody ¶
func (r *CreateClassOptionalParameters) WithBody(body Class) *CreateClassOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type CreateInvitationOptionalParameters ¶
CreateInvitationOptionalParameters holds optional parameters for CreateInvitation.
func NewCreateInvitationOptionalParameters ¶
func NewCreateInvitationOptionalParameters() *CreateInvitationOptionalParameters
NewCreateInvitationOptionalParameters creates an empty struct for parameters.
func (*CreateInvitationOptionalParameters) WithOrgName ¶
func (r *CreateInvitationOptionalParameters) WithOrgName(orgName string) *CreateInvitationOptionalParameters
WithOrgName sets the corresponding parameter name and returns the struct.
func (*CreateInvitationOptionalParameters) WithUserId ¶
func (r *CreateInvitationOptionalParameters) WithUserId(userId string) *CreateInvitationOptionalParameters
WithUserId sets the corresponding parameter name and returns the struct.
type DashboardOption ¶
type DashboardOption struct {
Component string `json:"component"`
DashboardUid string `json:"dashboardUid"`
Variables map[string]string `json:"variables"`
InstancePanels []DashboardOptionInstancePanelsItem `json:"instancePanels"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDashboardOption ¶
func NewDashboardOption(component string, dashboardUid string, variables map[string]string, instancePanels []DashboardOptionInstancePanelsItem) *DashboardOption
NewDashboardOption instantiates a new DashboardOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardOptionWithDefaults ¶
func NewDashboardOptionWithDefaults() *DashboardOption
NewDashboardOptionWithDefaults instantiates a new DashboardOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardOption) GetComponent ¶
func (o *DashboardOption) GetComponent() string
GetComponent returns the Component field value.
func (*DashboardOption) GetComponentOk ¶
func (o *DashboardOption) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*DashboardOption) GetDashboardUid ¶
func (o *DashboardOption) GetDashboardUid() string
GetDashboardUid returns the DashboardUid field value.
func (*DashboardOption) GetDashboardUidOk ¶
func (o *DashboardOption) GetDashboardUidOk() (*string, bool)
GetDashboardUidOk returns a tuple with the DashboardUid field value and a boolean to check if the value has been set.
func (*DashboardOption) GetInstancePanels ¶
func (o *DashboardOption) GetInstancePanels() []DashboardOptionInstancePanelsItem
GetInstancePanels returns the InstancePanels field value.
func (*DashboardOption) GetInstancePanelsOk ¶
func (o *DashboardOption) GetInstancePanelsOk() (*[]DashboardOptionInstancePanelsItem, bool)
GetInstancePanelsOk returns a tuple with the InstancePanels field value and a boolean to check if the value has been set.
func (*DashboardOption) GetVariables ¶
func (o *DashboardOption) GetVariables() map[string]string
GetVariables returns the Variables field value.
func (*DashboardOption) GetVariablesOk ¶
func (o *DashboardOption) GetVariablesOk() (*map[string]string, bool)
GetVariablesOk returns a tuple with the Variables field value and a boolean to check if the value has been set.
func (DashboardOption) MarshalJSON ¶
func (o DashboardOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardOption) SetComponent ¶
func (o *DashboardOption) SetComponent(v string)
SetComponent sets field value.
func (*DashboardOption) SetDashboardUid ¶
func (o *DashboardOption) SetDashboardUid(v string)
SetDashboardUid sets field value.
func (*DashboardOption) SetInstancePanels ¶
func (o *DashboardOption) SetInstancePanels(v []DashboardOptionInstancePanelsItem)
SetInstancePanels sets field value.
func (*DashboardOption) SetVariables ¶
func (o *DashboardOption) SetVariables(v map[string]string)
SetVariables sets field value.
func (*DashboardOption) UnmarshalJSON ¶
func (o *DashboardOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardOptionInstancePanelsItem ¶
type DashboardOptionInstancePanelsItem struct {
Role *string `json:"role,omitempty"`
Panels []DashboardOptionInstancePanelsItemPanelsItem `json:"panels,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDashboardOptionInstancePanelsItem ¶
func NewDashboardOptionInstancePanelsItem() *DashboardOptionInstancePanelsItem
NewDashboardOptionInstancePanelsItem instantiates a new DashboardOptionInstancePanelsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardOptionInstancePanelsItemWithDefaults ¶
func NewDashboardOptionInstancePanelsItemWithDefaults() *DashboardOptionInstancePanelsItem
NewDashboardOptionInstancePanelsItemWithDefaults instantiates a new DashboardOptionInstancePanelsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardOptionInstancePanelsItem) GetPanels ¶
func (o *DashboardOptionInstancePanelsItem) GetPanels() []DashboardOptionInstancePanelsItemPanelsItem
GetPanels returns the Panels field value if set, zero value otherwise.
func (*DashboardOptionInstancePanelsItem) GetPanelsOk ¶
func (o *DashboardOptionInstancePanelsItem) GetPanelsOk() (*[]DashboardOptionInstancePanelsItemPanelsItem, bool)
GetPanelsOk returns a tuple with the Panels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardOptionInstancePanelsItem) GetRole ¶
func (o *DashboardOptionInstancePanelsItem) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*DashboardOptionInstancePanelsItem) GetRoleOk ¶
func (o *DashboardOptionInstancePanelsItem) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardOptionInstancePanelsItem) HasPanels ¶
func (o *DashboardOptionInstancePanelsItem) HasPanels() bool
HasPanels returns a boolean if a field has been set.
func (*DashboardOptionInstancePanelsItem) HasRole ¶
func (o *DashboardOptionInstancePanelsItem) HasRole() bool
HasRole returns a boolean if a field has been set.
func (DashboardOptionInstancePanelsItem) MarshalJSON ¶
func (o DashboardOptionInstancePanelsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardOptionInstancePanelsItem) SetPanels ¶
func (o *DashboardOptionInstancePanelsItem) SetPanels(v []DashboardOptionInstancePanelsItemPanelsItem)
SetPanels gets a reference to the given []DashboardOptionInstancePanelsItemPanelsItem and assigns it to the Panels field.
func (*DashboardOptionInstancePanelsItem) SetRole ¶
func (o *DashboardOptionInstancePanelsItem) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*DashboardOptionInstancePanelsItem) UnmarshalJSON ¶
func (o *DashboardOptionInstancePanelsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DashboardOptionInstancePanelsItemPanelsItem ¶
type DashboardOptionInstancePanelsItemPanelsItem struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDashboardOptionInstancePanelsItemPanelsItem ¶
func NewDashboardOptionInstancePanelsItemPanelsItem() *DashboardOptionInstancePanelsItemPanelsItem
NewDashboardOptionInstancePanelsItemPanelsItem instantiates a new DashboardOptionInstancePanelsItemPanelsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDashboardOptionInstancePanelsItemPanelsItemWithDefaults ¶
func NewDashboardOptionInstancePanelsItemPanelsItemWithDefaults() *DashboardOptionInstancePanelsItemPanelsItem
NewDashboardOptionInstancePanelsItemPanelsItemWithDefaults instantiates a new DashboardOptionInstancePanelsItemPanelsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DashboardOptionInstancePanelsItemPanelsItem) GetDescription ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DashboardOptionInstancePanelsItemPanelsItem) GetDescriptionOk ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardOptionInstancePanelsItemPanelsItem) GetId ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DashboardOptionInstancePanelsItemPanelsItem) GetIdOk ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DashboardOptionInstancePanelsItemPanelsItem) HasDescription ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DashboardOptionInstancePanelsItemPanelsItem) HasId ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) HasId() bool
HasId returns a boolean if a field has been set.
func (DashboardOptionInstancePanelsItemPanelsItem) MarshalJSON ¶
func (o DashboardOptionInstancePanelsItemPanelsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DashboardOptionInstancePanelsItemPanelsItem) SetDescription ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DashboardOptionInstancePanelsItemPanelsItem) SetId ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DashboardOptionInstancePanelsItemPanelsItem) UnmarshalJSON ¶
func (o *DashboardOptionInstancePanelsItemPanelsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DataDisk ¶
type DataDisk struct {
DataDiskCapacity *string `json:"data_disk_capacity,omitempty"`
DataDiskAllocated *string `json:"data_disk_allocated,omitempty"`
DataDiskInUse *string `json:"data_disk_in_use,omitempty"`
DataDiskHealthStatus *string `json:"data_disk_health_status,omitempty"`
DataDiskAbnormalTime *string `json:"data_disk_abnormal_time,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDataDisk ¶
func NewDataDisk() *DataDisk
NewDataDisk instantiates a new DataDisk object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDataDiskWithDefaults ¶
func NewDataDiskWithDefaults() *DataDisk
NewDataDiskWithDefaults instantiates a new DataDisk object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DataDisk) GetDataDiskAbnormalTime ¶
GetDataDiskAbnormalTime returns the DataDiskAbnormalTime field value if set, zero value otherwise.
func (*DataDisk) GetDataDiskAbnormalTimeOk ¶
GetDataDiskAbnormalTimeOk returns a tuple with the DataDiskAbnormalTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataDisk) GetDataDiskAllocated ¶
GetDataDiskAllocated returns the DataDiskAllocated field value if set, zero value otherwise.
func (*DataDisk) GetDataDiskAllocatedOk ¶
GetDataDiskAllocatedOk returns a tuple with the DataDiskAllocated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataDisk) GetDataDiskCapacity ¶
GetDataDiskCapacity returns the DataDiskCapacity field value if set, zero value otherwise.
func (*DataDisk) GetDataDiskCapacityOk ¶
GetDataDiskCapacityOk returns a tuple with the DataDiskCapacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataDisk) GetDataDiskHealthStatus ¶
GetDataDiskHealthStatus returns the DataDiskHealthStatus field value if set, zero value otherwise.
func (*DataDisk) GetDataDiskHealthStatusOk ¶
GetDataDiskHealthStatusOk returns a tuple with the DataDiskHealthStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataDisk) GetDataDiskInUse ¶
GetDataDiskInUse returns the DataDiskInUse field value if set, zero value otherwise.
func (*DataDisk) GetDataDiskInUseOk ¶
GetDataDiskInUseOk returns a tuple with the DataDiskInUse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DataDisk) HasDataDiskAbnormalTime ¶
HasDataDiskAbnormalTime returns a boolean if a field has been set.
func (*DataDisk) HasDataDiskAllocated ¶
HasDataDiskAllocated returns a boolean if a field has been set.
func (*DataDisk) HasDataDiskCapacity ¶
HasDataDiskCapacity returns a boolean if a field has been set.
func (*DataDisk) HasDataDiskHealthStatus ¶
HasDataDiskHealthStatus returns a boolean if a field has been set.
func (*DataDisk) HasDataDiskInUse ¶
HasDataDiskInUse returns a boolean if a field has been set.
func (DataDisk) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*DataDisk) SetDataDiskAbnormalTime ¶
SetDataDiskAbnormalTime gets a reference to the given string and assigns it to the DataDiskAbnormalTime field.
func (*DataDisk) SetDataDiskAllocated ¶
SetDataDiskAllocated gets a reference to the given string and assigns it to the DataDiskAllocated field.
func (*DataDisk) SetDataDiskCapacity ¶
SetDataDiskCapacity gets a reference to the given string and assigns it to the DataDiskCapacity field.
func (*DataDisk) SetDataDiskHealthStatus ¶
SetDataDiskHealthStatus gets a reference to the given string and assigns it to the DataDiskHealthStatus field.
func (*DataDisk) SetDataDiskInUse ¶
SetDataDiskInUse gets a reference to the given string and assigns it to the DataDiskInUse field.
func (*DataDisk) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type DataExportOptionalParameters ¶
type DataExportOptionalParameters struct {
Body *interface{}
}
DataExportOptionalParameters holds optional parameters for DataExport.
func NewDataExportOptionalParameters ¶
func NewDataExportOptionalParameters() *DataExportOptionalParameters
NewDataExportOptionalParameters creates an empty struct for parameters.
func (*DataExportOptionalParameters) WithBody ¶
func (r *DataExportOptionalParameters) WithBody(body interface{}) *DataExportOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type Database ¶
type Database struct {
// component type
Component *string `json:"component,omitempty"`
// Specify the name of database, which must be unique.
Name string `json:"name"`
// Specify account name who can manage this database
AccountName *string `json:"accountName,omitempty"`
// Specify charsetName of database.
Charset *string `json:"charset,omitempty"`
// Description of the database.
Description *string `json:"description,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Database Cluster database information
func NewDatabase ¶
NewDatabase instantiates a new Database object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDatabaseWithDefaults ¶
func NewDatabaseWithDefaults() *Database
NewDatabaseWithDefaults instantiates a new Database object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Database) GetAccountName ¶
GetAccountName returns the AccountName field value if set, zero value otherwise.
func (*Database) GetAccountNameOk ¶
GetAccountNameOk returns a tuple with the AccountName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetCharset ¶
GetCharset returns the Charset field value if set, zero value otherwise.
func (*Database) GetCharsetOk ¶
GetCharsetOk returns a tuple with the Charset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*Database) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Database) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Database) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Database) HasAccountName ¶
HasAccountName returns a boolean if a field has been set.
func (*Database) HasCharset ¶
HasCharset returns a boolean if a field has been set.
func (*Database) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (*Database) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Database) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Database) SetAccountName ¶
SetAccountName gets a reference to the given string and assigns it to the AccountName field.
func (*Database) SetCharset ¶
SetCharset gets a reference to the given string and assigns it to the Charset field.
func (*Database) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*Database) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Database) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type DatabaseApi ¶
DatabaseApi service type
func NewDatabaseApi ¶
func NewDatabaseApi(client *common.APIClient) *DatabaseApi
NewDatabaseApi Returns NewDatabaseApi.
func (*DatabaseApi) CreateDatabase ¶
func (a *DatabaseApi) CreateDatabase(ctx _context.Context, orgName string, clusterName string, body Database) (*_nethttp.Response, error)
CreateDatabase Create cluster database. create a database in cluster
func (*DatabaseApi) DeleteDatabase ¶
func (a *DatabaseApi) DeleteDatabase(ctx _context.Context, orgName string, clusterName string, databaseName string) (*_nethttp.Response, error)
DeleteDatabase Delete cluster database. delete a database in cluster
func (*DatabaseApi) ListDatabases ¶
func (a *DatabaseApi) ListDatabases(ctx _context.Context, orgName string, clusterName string) (DatabaseList, *_nethttp.Response, error)
ListDatabases List cluster databases. list databases in cluster
type DatabaseItem ¶
type DatabaseItem struct {
// Specify the name of database, which must be unique.
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
DatabaseItem Cluster database information
func NewDatabaseItem ¶
func NewDatabaseItem(name string) *DatabaseItem
NewDatabaseItem instantiates a new DatabaseItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDatabaseItemWithDefaults ¶
func NewDatabaseItemWithDefaults() *DatabaseItem
NewDatabaseItemWithDefaults instantiates a new DatabaseItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DatabaseItem) GetName ¶
func (o *DatabaseItem) GetName() string
GetName returns the Name field value.
func (*DatabaseItem) GetNameOk ¶
func (o *DatabaseItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (DatabaseItem) MarshalJSON ¶
func (o DatabaseItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DatabaseItem) UnmarshalJSON ¶
func (o *DatabaseItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DatabaseList ¶
type DatabaseList struct {
// Items is the list of Databases objects in the list
Items []DatabaseItem `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
DatabaseList DatabaesList is a list of Databaes
func NewDatabaseList ¶
func NewDatabaseList(items []DatabaseItem) *DatabaseList
NewDatabaseList instantiates a new DatabaseList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDatabaseListWithDefaults ¶
func NewDatabaseListWithDefaults() *DatabaseList
NewDatabaseListWithDefaults instantiates a new DatabaseList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DatabaseList) GetItems ¶
func (o *DatabaseList) GetItems() []DatabaseItem
GetItems returns the Items field value.
func (*DatabaseList) GetItemsOk ¶
func (o *DatabaseList) GetItemsOk() (*[]DatabaseItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (DatabaseList) MarshalJSON ¶
func (o DatabaseList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DatabaseList) SetItems ¶
func (o *DatabaseList) SetItems(v []DatabaseItem)
SetItems sets field value.
func (*DatabaseList) UnmarshalJSON ¶
func (o *DatabaseList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DatabaseOption ¶
type DatabaseOption struct {
Enabled bool `json:"enabled"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDatabaseOption ¶
func NewDatabaseOption(enabled bool) *DatabaseOption
NewDatabaseOption instantiates a new DatabaseOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDatabaseOptionWithDefaults ¶
func NewDatabaseOptionWithDefaults() *DatabaseOption
NewDatabaseOptionWithDefaults instantiates a new DatabaseOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DatabaseOption) GetEnabled ¶
func (o *DatabaseOption) GetEnabled() bool
GetEnabled returns the Enabled field value.
func (*DatabaseOption) GetEnabledOk ¶
func (o *DatabaseOption) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (DatabaseOption) MarshalJSON ¶
func (o DatabaseOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DatabaseOption) SetEnabled ¶
func (o *DatabaseOption) SetEnabled(v bool)
SetEnabled sets field value.
func (*DatabaseOption) UnmarshalJSON ¶
func (o *DatabaseOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Datasource ¶
type Datasource struct {
// the id of datasource
Id *string `json:"id,omitempty"`
// the name of datasource
Name *string `json:"name,omitempty"`
// the database type
Type string `json:"type"`
Options map[string]interface{} `json:"options,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDatasource ¶
func NewDatasource(typeVar string) *Datasource
NewDatasource instantiates a new Datasource object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDatasourceWithDefaults ¶
func NewDatasourceWithDefaults() *Datasource
NewDatasourceWithDefaults instantiates a new Datasource object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Datasource) GetId ¶
func (o *Datasource) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*Datasource) GetIdOk ¶
func (o *Datasource) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Datasource) GetName ¶
func (o *Datasource) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Datasource) GetNameOk ¶
func (o *Datasource) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Datasource) GetOptions ¶
func (o *Datasource) GetOptions() map[string]interface{}
GetOptions returns the Options field value if set, zero value otherwise.
func (*Datasource) GetOptionsOk ¶
func (o *Datasource) GetOptionsOk() (*map[string]interface{}, bool)
GetOptionsOk returns a tuple with the Options field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Datasource) GetType ¶
func (o *Datasource) GetType() string
GetType returns the Type field value.
func (*Datasource) GetTypeOk ¶
func (o *Datasource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Datasource) HasId ¶
func (o *Datasource) HasId() bool
HasId returns a boolean if a field has been set.
func (*Datasource) HasName ¶
func (o *Datasource) HasName() bool
HasName returns a boolean if a field has been set.
func (*Datasource) HasOptions ¶
func (o *Datasource) HasOptions() bool
HasOptions returns a boolean if a field has been set.
func (Datasource) MarshalJSON ¶
func (o Datasource) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Datasource) SetId ¶
func (o *Datasource) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*Datasource) SetName ¶
func (o *Datasource) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Datasource) SetOptions ¶
func (o *Datasource) SetOptions(v map[string]interface{})
SetOptions gets a reference to the given map[string]interface{} and assigns it to the Options field.
func (*Datasource) UnmarshalJSON ¶
func (o *Datasource) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DeleteClusterOptionalParameters ¶
type DeleteClusterOptionalParameters struct {
Force *bool
}
DeleteClusterOptionalParameters holds optional parameters for DeleteCluster.
func NewDeleteClusterOptionalParameters ¶
func NewDeleteClusterOptionalParameters() *DeleteClusterOptionalParameters
NewDeleteClusterOptionalParameters creates an empty struct for parameters.
func (*DeleteClusterOptionalParameters) WithForce ¶
func (r *DeleteClusterOptionalParameters) WithForce(force bool) *DeleteClusterOptionalParameters
WithForce sets the corresponding parameter name and returns the struct.
type DescribeClusterHaHistoryOptionalParameters ¶
type DescribeClusterHaHistoryOptionalParameters struct {
ComponentName *string
}
DescribeClusterHaHistoryOptionalParameters holds optional parameters for DescribeClusterHaHistory.
func NewDescribeClusterHaHistoryOptionalParameters ¶
func NewDescribeClusterHaHistoryOptionalParameters() *DescribeClusterHaHistoryOptionalParameters
NewDescribeClusterHaHistoryOptionalParameters creates an empty struct for parameters.
func (*DescribeClusterHaHistoryOptionalParameters) WithComponentName ¶
func (r *DescribeClusterHaHistoryOptionalParameters) WithComponentName(componentName string) *DescribeClusterHaHistoryOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
type DmsApi ¶
DmsApi service type
func (*DmsApi) AlterParameter ¶
func (a *DmsApi) AlterParameter(ctx _context.Context, orgName string, clusterName string, tenantId string, body interface{}) (string, *_nethttp.Response, error)
AlterParameter alter cluster parameter.
func (*DmsApi) AlterVolumes ¶
func (a *DmsApi) AlterVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string, body interface{}) (string, *_nethttp.Response, error)
AlterVolumes Alter the Storage Volume.
func (*DmsApi) CloseSessions ¶
func (a *DmsApi) CloseSessions(ctx _context.Context, orgName string, clusterName string, session string, o ...CloseSessionsOptionalParameters) (string, *_nethttp.Response, error)
CloseSessions close the session for the cluster.
func (*DmsApi) CreateDataSourceV2 ¶
func (a *DmsApi) CreateDataSourceV2(ctx _context.Context, orgName string, clusterName string, body Datasource) (bool, *_nethttp.Response, error)
CreateDataSourceV2 create the datasource.
func (*DmsApi) CreateVolumes ¶
func (a *DmsApi) CreateVolumes(ctx _context.Context, orgName string, clusterName string, body interface{}) (string, *_nethttp.Response, error)
CreateVolumes Create the Storage Volume.
func (*DmsApi) DataExport ¶
func (a *DmsApi) DataExport(ctx _context.Context, orgName string, clusterName string, id string, o ...DataExportOptionalParameters) (*_nethttp.Response, error)
DataExport Data Export.
func (*DmsApi) DataImport ¶
func (a *DmsApi) DataImport(ctx _context.Context, orgName string, clusterName string, id string, file _io.Reader) (interface{}, *_nethttp.Response, error)
DataImport Data Import.
func (*DmsApi) DeleteDataSourceV2 ¶
func (a *DmsApi) DeleteDataSourceV2(ctx _context.Context, orgName string, clusterName string, id string) (*_nethttp.Response, error)
DeleteDataSourceV2 delete the datasource.
func (*DmsApi) DropVolumes ¶
func (a *DmsApi) DropVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string) (string, *_nethttp.Response, error)
DropVolumes Drop the Storage Volume.
func (*DmsApi) GenerateDDL ¶
func (a *DmsApi) GenerateDDL(ctx _context.Context, orgName string, clusterName string, id string, o ...GenerateDDLOptionalParameters) (string, *_nethttp.Response, error)
GenerateDDL support ddl and dml operations.
func (*DmsApi) GetDataSourceV2 ¶
func (a *DmsApi) GetDataSourceV2(ctx _context.Context, orgName string, clusterName string, id string) (Datasource, *_nethttp.Response, error)
GetDataSourceV2 get the datasource.
func (*DmsApi) GetObjectInfo ¶
func (a *DmsApi) GetObjectInfo(ctx _context.Context, orgName string, clusterName string, id string, schema string, typeVar string, objectName string) (ObjectResponse, *_nethttp.Response, error)
GetObjectInfo get the detail object info.
func (*DmsApi) GetSchemaList ¶
func (a *DmsApi) GetSchemaList(ctx _context.Context, orgName string, clusterName string, id string) ([]string, *_nethttp.Response, error)
GetSchemaList list all databases or schema of the cluster.
func (*DmsApi) GetTaskList ¶
func (a *DmsApi) GetTaskList(ctx _context.Context, orgName string, clusterName string, id string) (DmsTaskList, *_nethttp.Response, error)
GetTaskList Get the task list.
func (*DmsApi) GetTaskProgress ¶
func (a *DmsApi) GetTaskProgress(ctx _context.Context, orgName string, clusterName string, id string, taskId string) (DmsTaskInfo, *_nethttp.Response, error)
GetTaskProgress Get the task progress.
func (*DmsApi) ListDataSourceV2 ¶
func (a *DmsApi) ListDataSourceV2(ctx _context.Context, orgName string, clusterName string) ([]Datasource, *_nethttp.Response, error)
ListDataSourceV2 list the datasource of a cluster.
func (*DmsApi) ListObjectNamesByType ¶
func (a *DmsApi) ListObjectNamesByType(ctx _context.Context, orgName string, clusterName string, id string, schema string, typeVar string) ([]string, *_nethttp.Response, error)
ListObjectNamesByType list the all name for the specified object type.
func (*DmsApi) ListObjectTypesInSchema ¶
func (a *DmsApi) ListObjectTypesInSchema(ctx _context.Context, orgName string, clusterName string, id string, schema string) ([]Object, *_nethttp.Response, error)
ListObjectTypesInSchema list the type and number of database objects in the specified database or schema.
func (*DmsApi) ListParameters ¶
func (a *DmsApi) ListParameters(ctx _context.Context, orgName string, clusterName string, tenantId string, mode string) ([]ObParameter, *_nethttp.Response, error)
ListParameters list cluster parameters.
func (*DmsApi) ListQueryHistory ¶
func (a *DmsApi) ListQueryHistory(ctx _context.Context, orgName string, clusterName string, id string) (QueryHistory, *_nethttp.Response, error)
ListQueryHistory list the query History.
func (*DmsApi) ListSessions ¶
func (a *DmsApi) ListSessions(ctx _context.Context, orgName string, clusterName string, o ...ListSessionsOptionalParameters) ([]ObSession, *_nethttp.Response, error)
ListSessions list all session for the cluster.
func (*DmsApi) ListVolumes ¶
func (a *DmsApi) ListVolumes(ctx _context.Context, orgName string, clusterName string) ([]Volume, *_nethttp.Response, error)
ListVolumes List all Storage Volumes.
func (*DmsApi) Query ¶
func (a *DmsApi) Query(ctx _context.Context, orgName string, clusterName string, id string, body interface{}) (QueryResponse, *_nethttp.Response, error)
Query create a SQL query.
func (*DmsApi) SetDefaultVolumes ¶
func (a *DmsApi) SetDefaultVolumes(ctx _context.Context, orgName string, clusterName string, volumeName string) (string, *_nethttp.Response, error)
SetDefaultVolumes Set the Default Storage Volume.
func (*DmsApi) ShowData ¶
func (a *DmsApi) ShowData(ctx _context.Context, orgName string, clusterName string, id string, body interface{}) (Result, *_nethttp.Response, error)
ShowData read data of table or view.
func (*DmsApi) SqlExplain ¶
func (a *DmsApi) SqlExplain(ctx _context.Context, orgName string, clusterName string, id string, body interface{}) (QueryResponse, *_nethttp.Response, error)
SqlExplain explain a SQL.
func (*DmsApi) TenantParameterHistory ¶
func (a *DmsApi) TenantParameterHistory(ctx _context.Context, orgName string, clusterName string, tenantId string, o ...TenantParameterHistoryOptionalParameters) (ParameterHistoryList, *_nethttp.Response, error)
TenantParameterHistory List parameters history of the Oceanbase tenant.
type DmsImportFormData ¶
type DmsImportFormData struct {
// the data file, csv or other format
File _io.Reader `json:"file"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
DmsImportFormData the data of the import task
func NewDmsImportFormData ¶
func NewDmsImportFormData(file _io.Reader) *DmsImportFormData
NewDmsImportFormData instantiates a new DmsImportFormData object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDmsImportFormDataWithDefaults ¶
func NewDmsImportFormDataWithDefaults() *DmsImportFormData
NewDmsImportFormDataWithDefaults instantiates a new DmsImportFormData object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DmsImportFormData) GetFile ¶
func (o *DmsImportFormData) GetFile() _io.Reader
GetFile returns the File field value.
func (*DmsImportFormData) GetFileOk ¶
func (o *DmsImportFormData) GetFileOk() (*_io.Reader, bool)
GetFileOk returns a tuple with the File field value and a boolean to check if the value has been set.
func (DmsImportFormData) MarshalJSON ¶
func (o DmsImportFormData) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DmsImportFormData) SetFile ¶
func (o *DmsImportFormData) SetFile(v _io.Reader)
SetFile sets field value.
func (*DmsImportFormData) UnmarshalJSON ¶
func (o *DmsImportFormData) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type DmsOption ¶
type DmsOption struct {
Enabled bool `json:"enabled"`
Protocol string `json:"protocol"`
Feature map[string]interface{} `json:"feature,omitempty"`
TableMetadata []interface{} `json:"tableMetadata,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDmsOption ¶
NewDmsOption instantiates a new DmsOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDmsOptionWithDefaults ¶
func NewDmsOptionWithDefaults() *DmsOption
NewDmsOptionWithDefaults instantiates a new DmsOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DmsOption) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*DmsOption) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*DmsOption) GetFeature ¶
GetFeature returns the Feature field value if set, zero value otherwise.
func (*DmsOption) GetFeatureOk ¶
GetFeatureOk returns a tuple with the Feature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsOption) GetProtocol ¶
GetProtocol returns the Protocol field value.
func (*DmsOption) GetProtocolOk ¶
GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set.
func (*DmsOption) GetTableMetadata ¶
func (o *DmsOption) GetTableMetadata() []interface{}
GetTableMetadata returns the TableMetadata field value if set, zero value otherwise.
func (*DmsOption) GetTableMetadataOk ¶
GetTableMetadataOk returns a tuple with the TableMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsOption) HasFeature ¶
HasFeature returns a boolean if a field has been set.
func (*DmsOption) HasTableMetadata ¶
HasTableMetadata returns a boolean if a field has been set.
func (DmsOption) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*DmsOption) SetFeature ¶
SetFeature gets a reference to the given map[string]interface{} and assigns it to the Feature field.
func (*DmsOption) SetProtocol ¶
SetProtocol sets field value.
func (*DmsOption) SetTableMetadata ¶
func (o *DmsOption) SetTableMetadata(v []interface{})
SetTableMetadata gets a reference to the given []interface{} and assigns it to the TableMetadata field.
func (*DmsOption) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type DmsTaskInfo ¶
type DmsTaskInfo struct {
// task id
Id *string `json:"id,omitempty"`
// datasource id
Datasource *string `json:"datasource,omitempty"`
// if task failed, this will show why
Message common.NullableString `json:"message,omitempty"`
// task status
Status *string `json:"status,omitempty"`
// task type
Type *string `json:"type,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDmsTaskInfo ¶
func NewDmsTaskInfo() *DmsTaskInfo
NewDmsTaskInfo instantiates a new DmsTaskInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDmsTaskInfoWithDefaults ¶
func NewDmsTaskInfoWithDefaults() *DmsTaskInfo
NewDmsTaskInfoWithDefaults instantiates a new DmsTaskInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DmsTaskInfo) GetCreatedAt ¶
func (o *DmsTaskInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DmsTaskInfo) GetCreatedAtOk ¶
func (o *DmsTaskInfo) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) GetDatasource ¶
func (o *DmsTaskInfo) GetDatasource() string
GetDatasource returns the Datasource field value if set, zero value otherwise.
func (*DmsTaskInfo) GetDatasourceOk ¶
func (o *DmsTaskInfo) GetDatasourceOk() (*string, bool)
GetDatasourceOk returns a tuple with the Datasource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) GetId ¶
func (o *DmsTaskInfo) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DmsTaskInfo) GetIdOk ¶
func (o *DmsTaskInfo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) GetMessage ¶
func (o *DmsTaskInfo) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DmsTaskInfo) GetMessageOk ¶
func (o *DmsTaskInfo) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*DmsTaskInfo) GetStatus ¶
func (o *DmsTaskInfo) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*DmsTaskInfo) GetStatusOk ¶
func (o *DmsTaskInfo) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) GetType ¶
func (o *DmsTaskInfo) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*DmsTaskInfo) GetTypeOk ¶
func (o *DmsTaskInfo) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) GetUpdatedAt ¶
func (o *DmsTaskInfo) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DmsTaskInfo) GetUpdatedAtOk ¶
func (o *DmsTaskInfo) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskInfo) HasCreatedAt ¶
func (o *DmsTaskInfo) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DmsTaskInfo) HasDatasource ¶
func (o *DmsTaskInfo) HasDatasource() bool
HasDatasource returns a boolean if a field has been set.
func (*DmsTaskInfo) HasId ¶
func (o *DmsTaskInfo) HasId() bool
HasId returns a boolean if a field has been set.
func (*DmsTaskInfo) HasMessage ¶
func (o *DmsTaskInfo) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*DmsTaskInfo) HasStatus ¶
func (o *DmsTaskInfo) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*DmsTaskInfo) HasType ¶
func (o *DmsTaskInfo) HasType() bool
HasType returns a boolean if a field has been set.
func (*DmsTaskInfo) HasUpdatedAt ¶
func (o *DmsTaskInfo) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DmsTaskInfo) MarshalJSON ¶
func (o DmsTaskInfo) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DmsTaskInfo) SetCreatedAt ¶
func (o *DmsTaskInfo) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DmsTaskInfo) SetDatasource ¶
func (o *DmsTaskInfo) SetDatasource(v string)
SetDatasource gets a reference to the given string and assigns it to the Datasource field.
func (*DmsTaskInfo) SetId ¶
func (o *DmsTaskInfo) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DmsTaskInfo) SetMessage ¶
func (o *DmsTaskInfo) SetMessage(v string)
SetMessage gets a reference to the given common.NullableString and assigns it to the Message field.
func (*DmsTaskInfo) SetMessageNil ¶
func (o *DmsTaskInfo) SetMessageNil()
SetMessageNil sets the value for Message to be an explicit nil.
func (*DmsTaskInfo) SetStatus ¶
func (o *DmsTaskInfo) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*DmsTaskInfo) SetType ¶
func (o *DmsTaskInfo) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*DmsTaskInfo) SetUpdatedAt ¶
func (o *DmsTaskInfo) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*DmsTaskInfo) UnmarshalJSON ¶
func (o *DmsTaskInfo) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*DmsTaskInfo) UnsetMessage ¶
func (o *DmsTaskInfo) UnsetMessage()
UnsetMessage ensures that no value is present for Message, not even an explicit nil.
type DmsTaskList ¶
type DmsTaskList struct {
Tasks []DmsTaskInfo `json:"tasks,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewDmsTaskList ¶
func NewDmsTaskList() *DmsTaskList
NewDmsTaskList instantiates a new DmsTaskList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewDmsTaskListWithDefaults ¶
func NewDmsTaskListWithDefaults() *DmsTaskList
NewDmsTaskListWithDefaults instantiates a new DmsTaskList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*DmsTaskList) GetTasks ¶
func (o *DmsTaskList) GetTasks() []DmsTaskInfo
GetTasks returns the Tasks field value if set, zero value otherwise.
func (*DmsTaskList) GetTasksOk ¶
func (o *DmsTaskList) GetTasksOk() (*[]DmsTaskInfo, bool)
GetTasksOk returns a tuple with the Tasks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DmsTaskList) HasTasks ¶
func (o *DmsTaskList) HasTasks() bool
HasTasks returns a boolean if a field has been set.
func (DmsTaskList) MarshalJSON ¶
func (o DmsTaskList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*DmsTaskList) SetTasks ¶
func (o *DmsTaskList) SetTasks(v []DmsTaskInfo)
SetTasks gets a reference to the given []DmsTaskInfo and assigns it to the Tasks field.
func (*DmsTaskList) UnmarshalJSON ¶
func (o *DmsTaskList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Endpoint ¶
type Endpoint struct {
// title of the endpoint
Title string `json:"title"`
// Component type name
Component string `json:"component"`
// Endpoint hosts
Hosts []string `json:"hosts"`
// Endpoint port
Port int32 `json:"port"`
// Type of endpoint
Type EndpointType `json:"type"`
// Network type of endpoint
NetworkType EndpointNetworkType `json:"networkType"`
// Service name of endpoint
ServiceName string `json:"serviceName"`
// Port name of endpoint
PortName string `json:"portName"`
// Endpoint backend instances
Instances []string `json:"instances,omitempty"`
// Whether the endpoint is mutable
Mutable bool `json:"mutable"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Endpoint Endpoint is the information of cluster endpoints
func NewEndpoint ¶
func NewEndpoint(title string, component string, hosts []string, port int32, typeVar EndpointType, networkType EndpointNetworkType, serviceName string, portName string, mutable bool) *Endpoint
NewEndpoint instantiates a new Endpoint object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEndpointWithDefaults ¶
func NewEndpointWithDefaults() *Endpoint
NewEndpointWithDefaults instantiates a new Endpoint object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Endpoint) GetComponent ¶
GetComponent returns the Component field value.
func (*Endpoint) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*Endpoint) GetHostsOk ¶
GetHostsOk returns a tuple with the Hosts field value and a boolean to check if the value has been set.
func (*Endpoint) GetInstances ¶
GetInstances returns the Instances field value if set, zero value otherwise.
func (*Endpoint) GetInstancesOk ¶
GetInstancesOk returns a tuple with the Instances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Endpoint) GetMutable ¶
GetMutable returns the Mutable field value.
func (*Endpoint) GetMutableOk ¶
GetMutableOk returns a tuple with the Mutable field value and a boolean to check if the value has been set.
func (*Endpoint) GetNetworkType ¶
func (o *Endpoint) GetNetworkType() EndpointNetworkType
GetNetworkType returns the NetworkType field value.
func (*Endpoint) GetNetworkTypeOk ¶
func (o *Endpoint) GetNetworkTypeOk() (*EndpointNetworkType, bool)
GetNetworkTypeOk returns a tuple with the NetworkType field value and a boolean to check if the value has been set.
func (*Endpoint) GetPortName ¶
GetPortName returns the PortName field value.
func (*Endpoint) GetPortNameOk ¶
GetPortNameOk returns a tuple with the PortName field value and a boolean to check if the value has been set.
func (*Endpoint) GetPortOk ¶
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*Endpoint) GetServiceName ¶
GetServiceName returns the ServiceName field value.
func (*Endpoint) GetServiceNameOk ¶
GetServiceNameOk returns a tuple with the ServiceName field value and a boolean to check if the value has been set.
func (*Endpoint) GetTitleOk ¶
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*Endpoint) GetType ¶
func (o *Endpoint) GetType() EndpointType
GetType returns the Type field value.
func (*Endpoint) GetTypeOk ¶
func (o *Endpoint) GetTypeOk() (*EndpointType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Endpoint) HasInstances ¶
HasInstances returns a boolean if a field has been set.
func (Endpoint) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Endpoint) SetComponent ¶
SetComponent sets field value.
func (*Endpoint) SetInstances ¶
SetInstances gets a reference to the given []string and assigns it to the Instances field.
func (*Endpoint) SetNetworkType ¶
func (o *Endpoint) SetNetworkType(v EndpointNetworkType)
SetNetworkType sets field value.
func (*Endpoint) SetPortName ¶
SetPortName sets field value.
func (*Endpoint) SetServiceName ¶
SetServiceName sets field value.
func (*Endpoint) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type EndpointList ¶
type EndpointList struct {
// Items is the list of endpoint objects in the list
Items []Endpoint `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEndpointList ¶
func NewEndpointList(items []Endpoint) *EndpointList
NewEndpointList instantiates a new EndpointList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEndpointListWithDefaults ¶
func NewEndpointListWithDefaults() *EndpointList
NewEndpointListWithDefaults instantiates a new EndpointList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EndpointList) GetItems ¶
func (o *EndpointList) GetItems() []Endpoint
GetItems returns the Items field value.
func (*EndpointList) GetItemsOk ¶
func (o *EndpointList) GetItemsOk() (*[]Endpoint, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (EndpointList) MarshalJSON ¶
func (o EndpointList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EndpointList) SetItems ¶
func (o *EndpointList) SetItems(v []Endpoint)
SetItems sets field value.
func (*EndpointList) UnmarshalJSON ¶
func (o *EndpointList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EndpointNetworkType ¶
type EndpointNetworkType string
EndpointNetworkType Network type of endpoint
const ( EndpointNetworkTypeInternet EndpointNetworkType = "Internet" EndpointNetworkTypeIntranet EndpointNetworkType = "Intranet" )
List of EndpointNetworkType.
func NewEndpointNetworkTypeFromValue ¶
func NewEndpointNetworkTypeFromValue(v string) (*EndpointNetworkType, error)
NewEndpointNetworkTypeFromValue returns a pointer to a valid EndpointNetworkType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EndpointNetworkType) GetAllowedValues ¶
func (v *EndpointNetworkType) GetAllowedValues() []EndpointNetworkType
GetAllowedValues returns the list of possible values.
func (EndpointNetworkType) IsValid ¶
func (v EndpointNetworkType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EndpointNetworkType) Ptr ¶
func (v EndpointNetworkType) Ptr() *EndpointNetworkType
Ptr returns reference to EndpointNetworkType value.
func (*EndpointNetworkType) UnmarshalJSON ¶
func (v *EndpointNetworkType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EndpointOption ¶
type EndpointOption struct {
Title LocalizedDescription `json:"title"`
Component string `json:"component"`
PortName string `json:"portName"`
Type []string `json:"type"`
Port int32 `json:"port"`
// whether the endpoint supports system use, such as health check, dms, databases & accounts management etc.
SupportsSystemUse *bool `json:"supportsSystemUse,omitempty"`
// service name pattern, e.g. ClusterName-ComponentName or .ClusterName`
ServicePattern *EngineOptionsServicePattern `json:"servicePattern,omitempty"`
// ServiceName regular expression
ServiceNameRegex *string `json:"serviceNameRegex,omitempty"`
// service suffix, defined in ComponentDefinition
ServiceName *string `json:"serviceName,omitempty"`
// selector of k8s service
Selector map[string]string `json:"selector,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEndpointOption ¶
func NewEndpointOption(title LocalizedDescription, component string, portName string, typeVar []string, port int32) *EndpointOption
NewEndpointOption instantiates a new EndpointOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEndpointOptionWithDefaults ¶
func NewEndpointOptionWithDefaults() *EndpointOption
NewEndpointOptionWithDefaults instantiates a new EndpointOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EndpointOption) GetComponent ¶
func (o *EndpointOption) GetComponent() string
GetComponent returns the Component field value.
func (*EndpointOption) GetComponentOk ¶
func (o *EndpointOption) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*EndpointOption) GetPort ¶
func (o *EndpointOption) GetPort() int32
GetPort returns the Port field value.
func (*EndpointOption) GetPortName ¶
func (o *EndpointOption) GetPortName() string
GetPortName returns the PortName field value.
func (*EndpointOption) GetPortNameOk ¶
func (o *EndpointOption) GetPortNameOk() (*string, bool)
GetPortNameOk returns a tuple with the PortName field value and a boolean to check if the value has been set.
func (*EndpointOption) GetPortOk ¶
func (o *EndpointOption) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field value and a boolean to check if the value has been set.
func (*EndpointOption) GetSelector ¶
func (o *EndpointOption) GetSelector() map[string]string
GetSelector returns the Selector field value if set, zero value otherwise.
func (*EndpointOption) GetSelectorOk ¶
func (o *EndpointOption) GetSelectorOk() (*map[string]string, bool)
GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EndpointOption) GetServiceName ¶
func (o *EndpointOption) GetServiceName() string
GetServiceName returns the ServiceName field value if set, zero value otherwise.
func (*EndpointOption) GetServiceNameOk ¶
func (o *EndpointOption) GetServiceNameOk() (*string, bool)
GetServiceNameOk returns a tuple with the ServiceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EndpointOption) GetServiceNameRegex ¶
func (o *EndpointOption) GetServiceNameRegex() string
GetServiceNameRegex returns the ServiceNameRegex field value if set, zero value otherwise.
func (*EndpointOption) GetServiceNameRegexOk ¶
func (o *EndpointOption) GetServiceNameRegexOk() (*string, bool)
GetServiceNameRegexOk returns a tuple with the ServiceNameRegex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EndpointOption) GetServicePattern ¶
func (o *EndpointOption) GetServicePattern() EngineOptionsServicePattern
GetServicePattern returns the ServicePattern field value if set, zero value otherwise.
func (*EndpointOption) GetServicePatternOk ¶
func (o *EndpointOption) GetServicePatternOk() (*EngineOptionsServicePattern, bool)
GetServicePatternOk returns a tuple with the ServicePattern field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EndpointOption) GetSupportsSystemUse ¶
func (o *EndpointOption) GetSupportsSystemUse() bool
GetSupportsSystemUse returns the SupportsSystemUse field value if set, zero value otherwise.
func (*EndpointOption) GetSupportsSystemUseOk ¶
func (o *EndpointOption) GetSupportsSystemUseOk() (*bool, bool)
GetSupportsSystemUseOk returns a tuple with the SupportsSystemUse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EndpointOption) GetTitle ¶
func (o *EndpointOption) GetTitle() LocalizedDescription
GetTitle returns the Title field value.
func (*EndpointOption) GetTitleOk ¶
func (o *EndpointOption) GetTitleOk() (*LocalizedDescription, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*EndpointOption) GetType ¶
func (o *EndpointOption) GetType() []string
GetType returns the Type field value.
func (*EndpointOption) GetTypeOk ¶
func (o *EndpointOption) GetTypeOk() (*[]string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*EndpointOption) HasSelector ¶
func (o *EndpointOption) HasSelector() bool
HasSelector returns a boolean if a field has been set.
func (*EndpointOption) HasServiceName ¶
func (o *EndpointOption) HasServiceName() bool
HasServiceName returns a boolean if a field has been set.
func (*EndpointOption) HasServiceNameRegex ¶
func (o *EndpointOption) HasServiceNameRegex() bool
HasServiceNameRegex returns a boolean if a field has been set.
func (*EndpointOption) HasServicePattern ¶
func (o *EndpointOption) HasServicePattern() bool
HasServicePattern returns a boolean if a field has been set.
func (*EndpointOption) HasSupportsSystemUse ¶
func (o *EndpointOption) HasSupportsSystemUse() bool
HasSupportsSystemUse returns a boolean if a field has been set.
func (EndpointOption) MarshalJSON ¶
func (o EndpointOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EndpointOption) SetComponent ¶
func (o *EndpointOption) SetComponent(v string)
SetComponent sets field value.
func (*EndpointOption) SetPort ¶
func (o *EndpointOption) SetPort(v int32)
SetPort sets field value.
func (*EndpointOption) SetPortName ¶
func (o *EndpointOption) SetPortName(v string)
SetPortName sets field value.
func (*EndpointOption) SetSelector ¶
func (o *EndpointOption) SetSelector(v map[string]string)
SetSelector gets a reference to the given map[string]string and assigns it to the Selector field.
func (*EndpointOption) SetServiceName ¶
func (o *EndpointOption) SetServiceName(v string)
SetServiceName gets a reference to the given string and assigns it to the ServiceName field.
func (*EndpointOption) SetServiceNameRegex ¶
func (o *EndpointOption) SetServiceNameRegex(v string)
SetServiceNameRegex gets a reference to the given string and assigns it to the ServiceNameRegex field.
func (*EndpointOption) SetServicePattern ¶
func (o *EndpointOption) SetServicePattern(v EngineOptionsServicePattern)
SetServicePattern gets a reference to the given EngineOptionsServicePattern and assigns it to the ServicePattern field.
func (*EndpointOption) SetSupportsSystemUse ¶
func (o *EndpointOption) SetSupportsSystemUse(v bool)
SetSupportsSystemUse gets a reference to the given bool and assigns it to the SupportsSystemUse field.
func (*EndpointOption) SetTitle ¶
func (o *EndpointOption) SetTitle(v LocalizedDescription)
SetTitle sets field value.
func (*EndpointOption) SetType ¶
func (o *EndpointOption) SetType(v []string)
SetType sets field value.
func (*EndpointOption) UnmarshalJSON ¶
func (o *EndpointOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EndpointType ¶
type EndpointType string
EndpointType Type of endpoint
const ( EndpointTypeClusterIp EndpointType = "ClusterIP" EndpointTypeNodePort EndpointType = "NodePort" EndpointTypeLoadBalancer EndpointType = "LoadBalancer" )
List of EndpointType.
func NewEndpointTypeFromValue ¶
func NewEndpointTypeFromValue(v string) (*EndpointType, error)
NewEndpointTypeFromValue returns a pointer to a valid EndpointType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EndpointType) GetAllowedValues ¶
func (v *EndpointType) GetAllowedValues() []EndpointType
GetAllowedValues returns the list of possible values.
func (EndpointType) IsValid ¶
func (v EndpointType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EndpointType) Ptr ¶
func (v EndpointType) Ptr() *EndpointType
Ptr returns reference to EndpointType value.
func (*EndpointType) UnmarshalJSON ¶
func (v *EndpointType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Engine ¶
type Engine struct {
// engine ID
Id *string `json:"id,omitempty"`
// the engine description
Description *string `json:"description,omitempty"`
// engine Name
Name *string `json:"name,omitempty"`
// engine version
Version *string `json:"version,omitempty"`
// KubeBlocks version constrain
KbVersionConstraint *string `json:"kbVersionConstraint,omitempty"`
// engine type
Type *EngineType `json:"type,omitempty"`
// whether the engine is installed
Installed *bool `json:"installed,omitempty"`
// engine addon provider
Provider *string `json:"provider,omitempty"`
// engine addon status in K8s
Status *EngineStatus `json:"status,omitempty"`
// engine available versions
AvailableVersion []string `json:"availableVersion,omitempty"`
// engine upgrade history
UpgradeHistory *string `json:"upgradeHistory,omitempty"`
// engine error messages when the engine status is failed
ErrMsg *string `json:"errMsg,omitempty"`
// clusterversion in the engines
ClusterVersions []string `json:"clusterVersions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngine ¶
func NewEngine() *Engine
NewEngine instantiates a new Engine object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineWithDefaults ¶
func NewEngineWithDefaults() *Engine
NewEngineWithDefaults instantiates a new Engine object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Engine) GetAvailableVersion ¶
GetAvailableVersion returns the AvailableVersion field value if set, zero value otherwise.
func (*Engine) GetAvailableVersionOk ¶
GetAvailableVersionOk returns a tuple with the AvailableVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetClusterVersions ¶
GetClusterVersions returns the ClusterVersions field value if set, zero value otherwise.
func (*Engine) GetClusterVersionsOk ¶
GetClusterVersionsOk returns a tuple with the ClusterVersions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Engine) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetErrMsgOk ¶
GetErrMsgOk returns a tuple with the ErrMsg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetInstalled ¶
GetInstalled returns the Installed field value if set, zero value otherwise.
func (*Engine) GetInstalledOk ¶
GetInstalledOk returns a tuple with the Installed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetKbVersionConstraint ¶
GetKbVersionConstraint returns the KbVersionConstraint field value if set, zero value otherwise.
func (*Engine) GetKbVersionConstraintOk ¶
GetKbVersionConstraintOk returns a tuple with the KbVersionConstraint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetProvider ¶
GetProvider returns the Provider field value if set, zero value otherwise.
func (*Engine) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetStatus ¶
func (o *Engine) GetStatus() EngineStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*Engine) GetStatusOk ¶
func (o *Engine) GetStatusOk() (*EngineStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetType ¶
func (o *Engine) GetType() EngineType
GetType returns the Type field value if set, zero value otherwise.
func (*Engine) GetTypeOk ¶
func (o *Engine) GetTypeOk() (*EngineType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetUpgradeHistory ¶
GetUpgradeHistory returns the UpgradeHistory field value if set, zero value otherwise.
func (*Engine) GetUpgradeHistoryOk ¶
GetUpgradeHistoryOk returns a tuple with the UpgradeHistory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) GetVersion ¶
GetVersion returns the Version field value if set, zero value otherwise.
func (*Engine) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Engine) HasAvailableVersion ¶
HasAvailableVersion returns a boolean if a field has been set.
func (*Engine) HasClusterVersions ¶
HasClusterVersions returns a boolean if a field has been set.
func (*Engine) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Engine) HasInstalled ¶
HasInstalled returns a boolean if a field has been set.
func (*Engine) HasKbVersionConstraint ¶
HasKbVersionConstraint returns a boolean if a field has been set.
func (*Engine) HasProvider ¶
HasProvider returns a boolean if a field has been set.
func (*Engine) HasUpgradeHistory ¶
HasUpgradeHistory returns a boolean if a field has been set.
func (*Engine) HasVersion ¶
HasVersion returns a boolean if a field has been set.
func (Engine) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Engine) SetAvailableVersion ¶
SetAvailableVersion gets a reference to the given []string and assigns it to the AvailableVersion field.
func (*Engine) SetClusterVersions ¶
SetClusterVersions gets a reference to the given []string and assigns it to the ClusterVersions field.
func (*Engine) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Engine) SetErrMsg ¶
SetErrMsg gets a reference to the given string and assigns it to the ErrMsg field.
func (*Engine) SetInstalled ¶
SetInstalled gets a reference to the given bool and assigns it to the Installed field.
func (*Engine) SetKbVersionConstraint ¶
SetKbVersionConstraint gets a reference to the given string and assigns it to the KbVersionConstraint field.
func (*Engine) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Engine) SetProvider ¶
SetProvider gets a reference to the given string and assigns it to the Provider field.
func (*Engine) SetStatus ¶
func (o *Engine) SetStatus(v EngineStatus)
SetStatus gets a reference to the given EngineStatus and assigns it to the Status field.
func (*Engine) SetType ¶
func (o *Engine) SetType(v EngineType)
SetType gets a reference to the given EngineType and assigns it to the Type field.
func (*Engine) SetUpgradeHistory ¶
SetUpgradeHistory gets a reference to the given string and assigns it to the UpgradeHistory field.
func (*Engine) SetVersion ¶
SetVersion gets a reference to the given string and assigns it to the Version field.
func (*Engine) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type EngineApi ¶
EngineApi service type
func NewEngineApi ¶
NewEngineApi Returns NewEngineApi.
func (*EngineApi) EngineActionInOrg ¶
func (a *EngineApi) EngineActionInOrg(ctx _context.Context, orgName string, actionInfo interface{}) (bool, *_nethttp.Response, error)
EngineActionInOrg Manage engine in organization.
type EngineLicense ¶
type EngineLicense struct {
EngineName string `json:"engineName"`
Name string `json:"name"`
Key *string `json:"key,omitempty"`
Description *string `json:"description,omitempty"`
ExpiredAt *time.Time `json:"expiredAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Id *int32 `json:"id,omitempty"`
IdString *string `json:"idString,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineLicense ¶
func NewEngineLicense(engineName string, name string) *EngineLicense
NewEngineLicense instantiates a new EngineLicense object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineLicenseWithDefaults ¶
func NewEngineLicenseWithDefaults() *EngineLicense
NewEngineLicenseWithDefaults instantiates a new EngineLicense object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineLicense) GetCreatedAt ¶
func (o *EngineLicense) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*EngineLicense) GetCreatedAtOk ¶
func (o *EngineLicense) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetDescription ¶
func (o *EngineLicense) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EngineLicense) GetDescriptionOk ¶
func (o *EngineLicense) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetEngineName ¶
func (o *EngineLicense) GetEngineName() string
GetEngineName returns the EngineName field value.
func (*EngineLicense) GetEngineNameOk ¶
func (o *EngineLicense) GetEngineNameOk() (*string, bool)
GetEngineNameOk returns a tuple with the EngineName field value and a boolean to check if the value has been set.
func (*EngineLicense) GetExpiredAt ¶
func (o *EngineLicense) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.
func (*EngineLicense) GetExpiredAtOk ¶
func (o *EngineLicense) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetId ¶
func (o *EngineLicense) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*EngineLicense) GetIdOk ¶
func (o *EngineLicense) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetIdString ¶
func (o *EngineLicense) GetIdString() string
GetIdString returns the IdString field value if set, zero value otherwise.
func (*EngineLicense) GetIdStringOk ¶
func (o *EngineLicense) GetIdStringOk() (*string, bool)
GetIdStringOk returns a tuple with the IdString field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetKey ¶
func (o *EngineLicense) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*EngineLicense) GetKeyOk ¶
func (o *EngineLicense) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineLicense) GetName ¶
func (o *EngineLicense) GetName() string
GetName returns the Name field value.
func (*EngineLicense) GetNameOk ¶
func (o *EngineLicense) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EngineLicense) HasCreatedAt ¶
func (o *EngineLicense) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*EngineLicense) HasDescription ¶
func (o *EngineLicense) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*EngineLicense) HasExpiredAt ¶
func (o *EngineLicense) HasExpiredAt() bool
HasExpiredAt returns a boolean if a field has been set.
func (*EngineLicense) HasId ¶
func (o *EngineLicense) HasId() bool
HasId returns a boolean if a field has been set.
func (*EngineLicense) HasIdString ¶
func (o *EngineLicense) HasIdString() bool
HasIdString returns a boolean if a field has been set.
func (*EngineLicense) HasKey ¶
func (o *EngineLicense) HasKey() bool
HasKey returns a boolean if a field has been set.
func (EngineLicense) MarshalJSON ¶
func (o EngineLicense) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineLicense) SetCreatedAt ¶
func (o *EngineLicense) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*EngineLicense) SetDescription ¶
func (o *EngineLicense) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EngineLicense) SetEngineName ¶
func (o *EngineLicense) SetEngineName(v string)
SetEngineName sets field value.
func (*EngineLicense) SetExpiredAt ¶
func (o *EngineLicense) SetExpiredAt(v time.Time)
SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.
func (*EngineLicense) SetId ¶
func (o *EngineLicense) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*EngineLicense) SetIdString ¶
func (o *EngineLicense) SetIdString(v string)
SetIdString gets a reference to the given string and assigns it to the IdString field.
func (*EngineLicense) SetKey ¶
func (o *EngineLicense) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*EngineLicense) UnmarshalJSON ¶
func (o *EngineLicense) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineLicenseApi ¶
EngineLicenseApi service type
func NewEngineLicenseApi ¶
func NewEngineLicenseApi(client *common.APIClient) *EngineLicenseApi
NewEngineLicenseApi Returns NewEngineLicenseApi.
func (*EngineLicenseApi) ListEngineLicenses ¶
func (a *EngineLicenseApi) ListEngineLicenses(ctx _context.Context, o ...ListEngineLicensesOptionalParameters) (EngineLicenseList, *_nethttp.Response, error)
ListEngineLicenses List all engineLicenses. list all engineLicenses
type EngineLicenseList ¶
type EngineLicenseList struct {
// Items is the list of engineLicense objects in the list
Items []EngineLicense `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineLicenseList ¶
func NewEngineLicenseList(items []EngineLicense) *EngineLicenseList
NewEngineLicenseList instantiates a new EngineLicenseList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineLicenseListWithDefaults ¶
func NewEngineLicenseListWithDefaults() *EngineLicenseList
NewEngineLicenseListWithDefaults instantiates a new EngineLicenseList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineLicenseList) GetItems ¶
func (o *EngineLicenseList) GetItems() []EngineLicense
GetItems returns the Items field value.
func (*EngineLicenseList) GetItemsOk ¶
func (o *EngineLicenseList) GetItemsOk() (*[]EngineLicense, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (EngineLicenseList) MarshalJSON ¶
func (o EngineLicenseList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineLicenseList) SetItems ¶
func (o *EngineLicenseList) SetItems(v []EngineLicense)
SetItems sets field value.
func (*EngineLicenseList) UnmarshalJSON ¶
func (o *EngineLicenseList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineOption ¶
type EngineOption struct {
EngineName string `json:"engineName"`
Title string `json:"title"`
Description LocalizedDescription `json:"description"`
Versions []string `json:"versions"`
Components []ComponentOption `json:"components"`
Modes []ModeOption `json:"modes"`
Account AccountOption `json:"account"`
Database *DatabaseOption `json:"database,omitempty"`
Dms DmsOption `json:"dms"`
Backup BackupOption `json:"backup"`
Bench BenchOption `json:"bench"`
Endpoints []EndpointOption `json:"endpoints"`
Promote []ComponentOpsOption `json:"promote"`
Stop []ComponentOpsOption `json:"stop"`
Start []ComponentOpsOption `json:"start"`
Restart []ComponentOpsOption `json:"restart"`
Hscale []ComponentOpsOption `json:"hscale"`
Vscale []ComponentOpsOption `json:"vscale"`
License *EngineOptionLicense `json:"license,omitempty"`
StorageExpansion []ComponentOpsOption `json:"storageExpansion"`
RebuildInstance []ComponentOpsOption `json:"rebuildInstance,omitempty"`
Metrics MetricsOption `json:"metrics"`
Dashboards []DashboardOption `json:"dashboards"`
Logs []LogOption `json:"logs"`
Parameters []ParameterOption `json:"parameters"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineOption ¶
func NewEngineOption(engineName string, title string, description LocalizedDescription, versions []string, components []ComponentOption, modes []ModeOption, account AccountOption, dms DmsOption, backup BackupOption, bench BenchOption, endpoints []EndpointOption, promote []ComponentOpsOption, stop []ComponentOpsOption, start []ComponentOpsOption, restart []ComponentOpsOption, hscale []ComponentOpsOption, vscale []ComponentOpsOption, storageExpansion []ComponentOpsOption, metrics MetricsOption, dashboards []DashboardOption, logs []LogOption, parameters []ParameterOption) *EngineOption
NewEngineOption instantiates a new EngineOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineOptionWithDefaults ¶
func NewEngineOptionWithDefaults() *EngineOption
NewEngineOptionWithDefaults instantiates a new EngineOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineOption) GetAccount ¶
func (o *EngineOption) GetAccount() AccountOption
GetAccount returns the Account field value.
func (*EngineOption) GetAccountOk ¶
func (o *EngineOption) GetAccountOk() (*AccountOption, bool)
GetAccountOk returns a tuple with the Account field value and a boolean to check if the value has been set.
func (*EngineOption) GetBackup ¶
func (o *EngineOption) GetBackup() BackupOption
GetBackup returns the Backup field value.
func (*EngineOption) GetBackupOk ¶
func (o *EngineOption) GetBackupOk() (*BackupOption, bool)
GetBackupOk returns a tuple with the Backup field value and a boolean to check if the value has been set.
func (*EngineOption) GetBench ¶
func (o *EngineOption) GetBench() BenchOption
GetBench returns the Bench field value.
func (*EngineOption) GetBenchOk ¶
func (o *EngineOption) GetBenchOk() (*BenchOption, bool)
GetBenchOk returns a tuple with the Bench field value and a boolean to check if the value has been set.
func (*EngineOption) GetComponents ¶
func (o *EngineOption) GetComponents() []ComponentOption
GetComponents returns the Components field value.
func (*EngineOption) GetComponentsOk ¶
func (o *EngineOption) GetComponentsOk() (*[]ComponentOption, bool)
GetComponentsOk returns a tuple with the Components field value and a boolean to check if the value has been set.
func (*EngineOption) GetDashboards ¶
func (o *EngineOption) GetDashboards() []DashboardOption
GetDashboards returns the Dashboards field value.
func (*EngineOption) GetDashboardsOk ¶
func (o *EngineOption) GetDashboardsOk() (*[]DashboardOption, bool)
GetDashboardsOk returns a tuple with the Dashboards field value and a boolean to check if the value has been set.
func (*EngineOption) GetDatabase ¶
func (o *EngineOption) GetDatabase() DatabaseOption
GetDatabase returns the Database field value if set, zero value otherwise.
func (*EngineOption) GetDatabaseOk ¶
func (o *EngineOption) GetDatabaseOk() (*DatabaseOption, bool)
GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineOption) GetDescription ¶
func (o *EngineOption) GetDescription() LocalizedDescription
GetDescription returns the Description field value.
func (*EngineOption) GetDescriptionOk ¶
func (o *EngineOption) GetDescriptionOk() (*LocalizedDescription, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*EngineOption) GetDms ¶
func (o *EngineOption) GetDms() DmsOption
GetDms returns the Dms field value.
func (*EngineOption) GetDmsOk ¶
func (o *EngineOption) GetDmsOk() (*DmsOption, bool)
GetDmsOk returns a tuple with the Dms field value and a boolean to check if the value has been set.
func (*EngineOption) GetEndpoints ¶
func (o *EngineOption) GetEndpoints() []EndpointOption
GetEndpoints returns the Endpoints field value.
func (*EngineOption) GetEndpointsOk ¶
func (o *EngineOption) GetEndpointsOk() (*[]EndpointOption, bool)
GetEndpointsOk returns a tuple with the Endpoints field value and a boolean to check if the value has been set.
func (*EngineOption) GetEngineName ¶
func (o *EngineOption) GetEngineName() string
GetEngineName returns the EngineName field value.
func (*EngineOption) GetEngineNameOk ¶
func (o *EngineOption) GetEngineNameOk() (*string, bool)
GetEngineNameOk returns a tuple with the EngineName field value and a boolean to check if the value has been set.
func (*EngineOption) GetHscale ¶
func (o *EngineOption) GetHscale() []ComponentOpsOption
GetHscale returns the Hscale field value.
func (*EngineOption) GetHscaleOk ¶
func (o *EngineOption) GetHscaleOk() (*[]ComponentOpsOption, bool)
GetHscaleOk returns a tuple with the Hscale field value and a boolean to check if the value has been set.
func (*EngineOption) GetLicense ¶
func (o *EngineOption) GetLicense() EngineOptionLicense
GetLicense returns the License field value if set, zero value otherwise.
func (*EngineOption) GetLicenseOk ¶
func (o *EngineOption) GetLicenseOk() (*EngineOptionLicense, bool)
GetLicenseOk returns a tuple with the License field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineOption) GetLogs ¶
func (o *EngineOption) GetLogs() []LogOption
GetLogs returns the Logs field value.
func (*EngineOption) GetLogsOk ¶
func (o *EngineOption) GetLogsOk() (*[]LogOption, bool)
GetLogsOk returns a tuple with the Logs field value and a boolean to check if the value has been set.
func (*EngineOption) GetMetrics ¶
func (o *EngineOption) GetMetrics() MetricsOption
GetMetrics returns the Metrics field value.
func (*EngineOption) GetMetricsOk ¶
func (o *EngineOption) GetMetricsOk() (*MetricsOption, bool)
GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.
func (*EngineOption) GetModes ¶
func (o *EngineOption) GetModes() []ModeOption
GetModes returns the Modes field value.
func (*EngineOption) GetModesOk ¶
func (o *EngineOption) GetModesOk() (*[]ModeOption, bool)
GetModesOk returns a tuple with the Modes field value and a boolean to check if the value has been set.
func (*EngineOption) GetParameters ¶
func (o *EngineOption) GetParameters() []ParameterOption
GetParameters returns the Parameters field value.
func (*EngineOption) GetParametersOk ¶
func (o *EngineOption) GetParametersOk() (*[]ParameterOption, bool)
GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.
func (*EngineOption) GetPromote ¶
func (o *EngineOption) GetPromote() []ComponentOpsOption
GetPromote returns the Promote field value.
func (*EngineOption) GetPromoteOk ¶
func (o *EngineOption) GetPromoteOk() (*[]ComponentOpsOption, bool)
GetPromoteOk returns a tuple with the Promote field value and a boolean to check if the value has been set.
func (*EngineOption) GetRebuildInstance ¶
func (o *EngineOption) GetRebuildInstance() []ComponentOpsOption
GetRebuildInstance returns the RebuildInstance field value if set, zero value otherwise.
func (*EngineOption) GetRebuildInstanceOk ¶
func (o *EngineOption) GetRebuildInstanceOk() (*[]ComponentOpsOption, bool)
GetRebuildInstanceOk returns a tuple with the RebuildInstance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineOption) GetRestart ¶
func (o *EngineOption) GetRestart() []ComponentOpsOption
GetRestart returns the Restart field value.
func (*EngineOption) GetRestartOk ¶
func (o *EngineOption) GetRestartOk() (*[]ComponentOpsOption, bool)
GetRestartOk returns a tuple with the Restart field value and a boolean to check if the value has been set.
func (*EngineOption) GetStart ¶
func (o *EngineOption) GetStart() []ComponentOpsOption
GetStart returns the Start field value.
func (*EngineOption) GetStartOk ¶
func (o *EngineOption) GetStartOk() (*[]ComponentOpsOption, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*EngineOption) GetStop ¶
func (o *EngineOption) GetStop() []ComponentOpsOption
GetStop returns the Stop field value.
func (*EngineOption) GetStopOk ¶
func (o *EngineOption) GetStopOk() (*[]ComponentOpsOption, bool)
GetStopOk returns a tuple with the Stop field value and a boolean to check if the value has been set.
func (*EngineOption) GetStorageExpansion ¶
func (o *EngineOption) GetStorageExpansion() []ComponentOpsOption
GetStorageExpansion returns the StorageExpansion field value.
func (*EngineOption) GetStorageExpansionOk ¶
func (o *EngineOption) GetStorageExpansionOk() (*[]ComponentOpsOption, bool)
GetStorageExpansionOk returns a tuple with the StorageExpansion field value and a boolean to check if the value has been set.
func (*EngineOption) GetTitle ¶
func (o *EngineOption) GetTitle() string
GetTitle returns the Title field value.
func (*EngineOption) GetTitleOk ¶
func (o *EngineOption) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*EngineOption) GetVersions ¶
func (o *EngineOption) GetVersions() []string
GetVersions returns the Versions field value.
func (*EngineOption) GetVersionsOk ¶
func (o *EngineOption) GetVersionsOk() (*[]string, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (*EngineOption) GetVscale ¶
func (o *EngineOption) GetVscale() []ComponentOpsOption
GetVscale returns the Vscale field value.
func (*EngineOption) GetVscaleOk ¶
func (o *EngineOption) GetVscaleOk() (*[]ComponentOpsOption, bool)
GetVscaleOk returns a tuple with the Vscale field value and a boolean to check if the value has been set.
func (*EngineOption) HasDatabase ¶
func (o *EngineOption) HasDatabase() bool
HasDatabase returns a boolean if a field has been set.
func (*EngineOption) HasLicense ¶
func (o *EngineOption) HasLicense() bool
HasLicense returns a boolean if a field has been set.
func (*EngineOption) HasRebuildInstance ¶
func (o *EngineOption) HasRebuildInstance() bool
HasRebuildInstance returns a boolean if a field has been set.
func (EngineOption) MarshalJSON ¶
func (o EngineOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineOption) SetAccount ¶
func (o *EngineOption) SetAccount(v AccountOption)
SetAccount sets field value.
func (*EngineOption) SetBackup ¶
func (o *EngineOption) SetBackup(v BackupOption)
SetBackup sets field value.
func (*EngineOption) SetBench ¶
func (o *EngineOption) SetBench(v BenchOption)
SetBench sets field value.
func (*EngineOption) SetComponents ¶
func (o *EngineOption) SetComponents(v []ComponentOption)
SetComponents sets field value.
func (*EngineOption) SetDashboards ¶
func (o *EngineOption) SetDashboards(v []DashboardOption)
SetDashboards sets field value.
func (*EngineOption) SetDatabase ¶
func (o *EngineOption) SetDatabase(v DatabaseOption)
SetDatabase gets a reference to the given DatabaseOption and assigns it to the Database field.
func (*EngineOption) SetDescription ¶
func (o *EngineOption) SetDescription(v LocalizedDescription)
SetDescription sets field value.
func (*EngineOption) SetEndpoints ¶
func (o *EngineOption) SetEndpoints(v []EndpointOption)
SetEndpoints sets field value.
func (*EngineOption) SetEngineName ¶
func (o *EngineOption) SetEngineName(v string)
SetEngineName sets field value.
func (*EngineOption) SetHscale ¶
func (o *EngineOption) SetHscale(v []ComponentOpsOption)
SetHscale sets field value.
func (*EngineOption) SetLicense ¶
func (o *EngineOption) SetLicense(v EngineOptionLicense)
SetLicense gets a reference to the given EngineOptionLicense and assigns it to the License field.
func (*EngineOption) SetLogs ¶
func (o *EngineOption) SetLogs(v []LogOption)
SetLogs sets field value.
func (*EngineOption) SetMetrics ¶
func (o *EngineOption) SetMetrics(v MetricsOption)
SetMetrics sets field value.
func (*EngineOption) SetModes ¶
func (o *EngineOption) SetModes(v []ModeOption)
SetModes sets field value.
func (*EngineOption) SetParameters ¶
func (o *EngineOption) SetParameters(v []ParameterOption)
SetParameters sets field value.
func (*EngineOption) SetPromote ¶
func (o *EngineOption) SetPromote(v []ComponentOpsOption)
SetPromote sets field value.
func (*EngineOption) SetRebuildInstance ¶
func (o *EngineOption) SetRebuildInstance(v []ComponentOpsOption)
SetRebuildInstance gets a reference to the given []ComponentOpsOption and assigns it to the RebuildInstance field.
func (*EngineOption) SetRestart ¶
func (o *EngineOption) SetRestart(v []ComponentOpsOption)
SetRestart sets field value.
func (*EngineOption) SetStart ¶
func (o *EngineOption) SetStart(v []ComponentOpsOption)
SetStart sets field value.
func (*EngineOption) SetStop ¶
func (o *EngineOption) SetStop(v []ComponentOpsOption)
SetStop sets field value.
func (*EngineOption) SetStorageExpansion ¶
func (o *EngineOption) SetStorageExpansion(v []ComponentOpsOption)
SetStorageExpansion sets field value.
func (*EngineOption) SetTitle ¶
func (o *EngineOption) SetTitle(v string)
SetTitle sets field value.
func (*EngineOption) SetVersions ¶
func (o *EngineOption) SetVersions(v []string)
SetVersions sets field value.
func (*EngineOption) SetVscale ¶
func (o *EngineOption) SetVscale(v []ComponentOpsOption)
SetVscale sets field value.
func (*EngineOption) UnmarshalJSON ¶
func (o *EngineOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineOptionApi ¶
EngineOptionApi service type
func NewEngineOptionApi ¶
func NewEngineOptionApi(client *common.APIClient) *EngineOptionApi
NewEngineOptionApi Returns NewEngineOptionApi.
func (*EngineOptionApi) GetEngineOption ¶
func (a *EngineOptionApi) GetEngineOption(ctx _context.Context, engineName string) (EngineOption, *_nethttp.Response, error)
GetEngineOption Get engineOption. Get a engineOption detail
func (*EngineOptionApi) ListEngineOptions ¶
func (a *EngineOptionApi) ListEngineOptions(ctx _context.Context) (EngineOptionList, *_nethttp.Response, error)
ListEngineOptions List all engineOptions. list all engineOptions
func (*EngineOptionApi) ListUpgradeableServiceVersion ¶
func (a *EngineOptionApi) ListUpgradeableServiceVersion(ctx _context.Context, clusterName string, orgName string, component string) (EngineServiceVersions, *_nethttp.Response, error)
ListUpgradeableServiceVersion list upgraded service version of the component. list upgraded service version of the component
type EngineOptionLicense ¶
type EngineOptionLicense struct {
// Indicate whether the current cluster requires users to input the license
Required *bool `json:"required,omitempty"`
// support to refer the cluster name with variable ${clusterName}
SecretName string `json:"secretName"`
// the license file name
FileName string `json:"fileName"`
Components []LicenseOption `json:"components,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineOptionLicense ¶
func NewEngineOptionLicense(secretName string, fileName string) *EngineOptionLicense
NewEngineOptionLicense instantiates a new EngineOptionLicense object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineOptionLicenseWithDefaults ¶
func NewEngineOptionLicenseWithDefaults() *EngineOptionLicense
NewEngineOptionLicenseWithDefaults instantiates a new EngineOptionLicense object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineOptionLicense) GetComponents ¶
func (o *EngineOptionLicense) GetComponents() []LicenseOption
GetComponents returns the Components field value if set, zero value otherwise.
func (*EngineOptionLicense) GetComponentsOk ¶
func (o *EngineOptionLicense) GetComponentsOk() (*[]LicenseOption, bool)
GetComponentsOk returns a tuple with the Components field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineOptionLicense) GetFileName ¶
func (o *EngineOptionLicense) GetFileName() string
GetFileName returns the FileName field value.
func (*EngineOptionLicense) GetFileNameOk ¶
func (o *EngineOptionLicense) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (*EngineOptionLicense) GetRequired ¶
func (o *EngineOptionLicense) GetRequired() bool
GetRequired returns the Required field value if set, zero value otherwise.
func (*EngineOptionLicense) GetRequiredOk ¶
func (o *EngineOptionLicense) GetRequiredOk() (*bool, bool)
GetRequiredOk returns a tuple with the Required field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineOptionLicense) GetSecretName ¶
func (o *EngineOptionLicense) GetSecretName() string
GetSecretName returns the SecretName field value.
func (*EngineOptionLicense) GetSecretNameOk ¶
func (o *EngineOptionLicense) GetSecretNameOk() (*string, bool)
GetSecretNameOk returns a tuple with the SecretName field value and a boolean to check if the value has been set.
func (*EngineOptionLicense) HasComponents ¶
func (o *EngineOptionLicense) HasComponents() bool
HasComponents returns a boolean if a field has been set.
func (*EngineOptionLicense) HasRequired ¶
func (o *EngineOptionLicense) HasRequired() bool
HasRequired returns a boolean if a field has been set.
func (EngineOptionLicense) MarshalJSON ¶
func (o EngineOptionLicense) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineOptionLicense) SetComponents ¶
func (o *EngineOptionLicense) SetComponents(v []LicenseOption)
SetComponents gets a reference to the given []LicenseOption and assigns it to the Components field.
func (*EngineOptionLicense) SetFileName ¶
func (o *EngineOptionLicense) SetFileName(v string)
SetFileName sets field value.
func (*EngineOptionLicense) SetRequired ¶
func (o *EngineOptionLicense) SetRequired(v bool)
SetRequired gets a reference to the given bool and assigns it to the Required field.
func (*EngineOptionLicense) SetSecretName ¶
func (o *EngineOptionLicense) SetSecretName(v string)
SetSecretName sets field value.
func (*EngineOptionLicense) UnmarshalJSON ¶
func (o *EngineOptionLicense) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineOptionList ¶
type EngineOptionList struct {
// Items is the list of engineOption objects in the list
Items []EngineOption `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineOptionList ¶
func NewEngineOptionList(items []EngineOption) *EngineOptionList
NewEngineOptionList instantiates a new EngineOptionList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineOptionListWithDefaults ¶
func NewEngineOptionListWithDefaults() *EngineOptionList
NewEngineOptionListWithDefaults instantiates a new EngineOptionList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineOptionList) GetItems ¶
func (o *EngineOptionList) GetItems() []EngineOption
GetItems returns the Items field value.
func (*EngineOptionList) GetItemsOk ¶
func (o *EngineOptionList) GetItemsOk() (*[]EngineOption, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (EngineOptionList) MarshalJSON ¶
func (o EngineOptionList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineOptionList) SetItems ¶
func (o *EngineOptionList) SetItems(v []EngineOption)
SetItems sets field value.
func (*EngineOptionList) UnmarshalJSON ¶
func (o *EngineOptionList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineOptionsMetricsQueryType ¶
type EngineOptionsMetricsQueryType string
EngineOptionsMetricsQueryType Specifies the type of metrics query to be performed. 'instant' for a single point in time, 'range' for a time range.
const ( EngineOptionsMetricsQueryTypeInstant EngineOptionsMetricsQueryType = "instant" EngineOptionsMetricsQueryTypeRange EngineOptionsMetricsQueryType = "range" )
List of EngineOptionsMetricsQueryType.
func NewEngineOptionsMetricsQueryTypeFromValue ¶
func NewEngineOptionsMetricsQueryTypeFromValue(v string) (*EngineOptionsMetricsQueryType, error)
NewEngineOptionsMetricsQueryTypeFromValue returns a pointer to a valid EngineOptionsMetricsQueryType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EngineOptionsMetricsQueryType) GetAllowedValues ¶
func (v *EngineOptionsMetricsQueryType) GetAllowedValues() []EngineOptionsMetricsQueryType
GetAllowedValues returns the list of possible values.
func (EngineOptionsMetricsQueryType) IsValid ¶
func (v EngineOptionsMetricsQueryType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EngineOptionsMetricsQueryType) Ptr ¶
func (v EngineOptionsMetricsQueryType) Ptr() *EngineOptionsMetricsQueryType
Ptr returns reference to EngineOptionsMetricsQueryType value.
func (*EngineOptionsMetricsQueryType) UnmarshalJSON ¶
func (v *EngineOptionsMetricsQueryType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EngineOptionsServicePattern ¶
type EngineOptionsServicePattern string
EngineOptionsServicePattern service name pattern, e.g. ClusterName-ComponentName or .ClusterName`
const ( EngineOptionsServicePatternClusterComponent EngineOptionsServicePattern = "cluster-component" EngineOptionsServicePatternCluster EngineOptionsServicePattern = "cluster" EngineOptionsServicePatternClusterComponentService EngineOptionsServicePattern = "cluster-component-service" )
List of EngineOptionsServicePattern.
func NewEngineOptionsServicePatternFromValue ¶
func NewEngineOptionsServicePatternFromValue(v string) (*EngineOptionsServicePattern, error)
NewEngineOptionsServicePatternFromValue returns a pointer to a valid EngineOptionsServicePattern for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EngineOptionsServicePattern) GetAllowedValues ¶
func (v *EngineOptionsServicePattern) GetAllowedValues() []EngineOptionsServicePattern
GetAllowedValues returns the list of possible values.
func (EngineOptionsServicePattern) IsValid ¶
func (v EngineOptionsServicePattern) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EngineOptionsServicePattern) Ptr ¶
func (v EngineOptionsServicePattern) Ptr() *EngineOptionsServicePattern
Ptr returns reference to EngineOptionsServicePattern value.
func (*EngineOptionsServicePattern) UnmarshalJSON ¶
func (v *EngineOptionsServicePattern) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EngineServiceVersions ¶
type EngineServiceVersions struct {
// component type, refer to componentDef and support NamePrefix
Component *string `json:"component,omitempty"`
UpgradeableVersions []string `json:"upgradeableVersions,omitempty"`
Versions []EngineServiceVersionsVersionsItem `json:"versions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineServiceVersions ¶
func NewEngineServiceVersions() *EngineServiceVersions
NewEngineServiceVersions instantiates a new EngineServiceVersions object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineServiceVersionsWithDefaults ¶
func NewEngineServiceVersionsWithDefaults() *EngineServiceVersions
NewEngineServiceVersionsWithDefaults instantiates a new EngineServiceVersions object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineServiceVersions) GetComponent ¶
func (o *EngineServiceVersions) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*EngineServiceVersions) GetComponentOk ¶
func (o *EngineServiceVersions) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineServiceVersions) GetUpgradeableVersions ¶
func (o *EngineServiceVersions) GetUpgradeableVersions() []string
GetUpgradeableVersions returns the UpgradeableVersions field value if set, zero value otherwise.
func (*EngineServiceVersions) GetUpgradeableVersionsOk ¶
func (o *EngineServiceVersions) GetUpgradeableVersionsOk() (*[]string, bool)
GetUpgradeableVersionsOk returns a tuple with the UpgradeableVersions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineServiceVersions) GetVersions ¶
func (o *EngineServiceVersions) GetVersions() []EngineServiceVersionsVersionsItem
GetVersions returns the Versions field value if set, zero value otherwise.
func (*EngineServiceVersions) GetVersionsOk ¶
func (o *EngineServiceVersions) GetVersionsOk() (*[]EngineServiceVersionsVersionsItem, bool)
GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineServiceVersions) HasComponent ¶
func (o *EngineServiceVersions) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*EngineServiceVersions) HasUpgradeableVersions ¶
func (o *EngineServiceVersions) HasUpgradeableVersions() bool
HasUpgradeableVersions returns a boolean if a field has been set.
func (*EngineServiceVersions) HasVersions ¶
func (o *EngineServiceVersions) HasVersions() bool
HasVersions returns a boolean if a field has been set.
func (EngineServiceVersions) MarshalJSON ¶
func (o EngineServiceVersions) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineServiceVersions) SetComponent ¶
func (o *EngineServiceVersions) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*EngineServiceVersions) SetUpgradeableVersions ¶
func (o *EngineServiceVersions) SetUpgradeableVersions(v []string)
SetUpgradeableVersions gets a reference to the given []string and assigns it to the UpgradeableVersions field.
func (*EngineServiceVersions) SetVersions ¶
func (o *EngineServiceVersions) SetVersions(v []EngineServiceVersionsVersionsItem)
SetVersions gets a reference to the given []EngineServiceVersionsVersionsItem and assigns it to the Versions field.
func (*EngineServiceVersions) UnmarshalJSON ¶
func (o *EngineServiceVersions) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineServiceVersionsVersionsItem ¶
type EngineServiceVersionsVersionsItem struct {
MajorVersion *string `json:"majorVersion,omitempty"`
MinorVersions []string `json:"minorVersions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewEngineServiceVersionsVersionsItem ¶
func NewEngineServiceVersionsVersionsItem() *EngineServiceVersionsVersionsItem
NewEngineServiceVersionsVersionsItem instantiates a new EngineServiceVersionsVersionsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEngineServiceVersionsVersionsItemWithDefaults ¶
func NewEngineServiceVersionsVersionsItemWithDefaults() *EngineServiceVersionsVersionsItem
NewEngineServiceVersionsVersionsItemWithDefaults instantiates a new EngineServiceVersionsVersionsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EngineServiceVersionsVersionsItem) GetMajorVersion ¶
func (o *EngineServiceVersionsVersionsItem) GetMajorVersion() string
GetMajorVersion returns the MajorVersion field value if set, zero value otherwise.
func (*EngineServiceVersionsVersionsItem) GetMajorVersionOk ¶
func (o *EngineServiceVersionsVersionsItem) GetMajorVersionOk() (*string, bool)
GetMajorVersionOk returns a tuple with the MajorVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineServiceVersionsVersionsItem) GetMinorVersions ¶
func (o *EngineServiceVersionsVersionsItem) GetMinorVersions() []string
GetMinorVersions returns the MinorVersions field value if set, zero value otherwise.
func (*EngineServiceVersionsVersionsItem) GetMinorVersionsOk ¶
func (o *EngineServiceVersionsVersionsItem) GetMinorVersionsOk() (*[]string, bool)
GetMinorVersionsOk returns a tuple with the MinorVersions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EngineServiceVersionsVersionsItem) HasMajorVersion ¶
func (o *EngineServiceVersionsVersionsItem) HasMajorVersion() bool
HasMajorVersion returns a boolean if a field has been set.
func (*EngineServiceVersionsVersionsItem) HasMinorVersions ¶
func (o *EngineServiceVersionsVersionsItem) HasMinorVersions() bool
HasMinorVersions returns a boolean if a field has been set.
func (EngineServiceVersionsVersionsItem) MarshalJSON ¶
func (o EngineServiceVersionsVersionsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EngineServiceVersionsVersionsItem) SetMajorVersion ¶
func (o *EngineServiceVersionsVersionsItem) SetMajorVersion(v string)
SetMajorVersion gets a reference to the given string and assigns it to the MajorVersion field.
func (*EngineServiceVersionsVersionsItem) SetMinorVersions ¶
func (o *EngineServiceVersionsVersionsItem) SetMinorVersions(v []string)
SetMinorVersions gets a reference to the given []string and assigns it to the MinorVersions field.
func (*EngineServiceVersionsVersionsItem) UnmarshalJSON ¶
func (o *EngineServiceVersionsVersionsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EngineStatus ¶
type EngineStatus string
EngineStatus engine addon status in K8s
const ( EngineStatusDisabled EngineStatus = "Disabled" EngineStatusEnabled EngineStatus = "Enabled" EngineStatusFailed EngineStatus = "Failed" EngineStatusEnabling EngineStatus = "Enabling" EngineStatusDisabling EngineStatus = "Disabling" )
List of EngineStatus.
func NewEngineStatusFromValue ¶
func NewEngineStatusFromValue(v string) (*EngineStatus, error)
NewEngineStatusFromValue returns a pointer to a valid EngineStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EngineStatus) GetAllowedValues ¶
func (v *EngineStatus) GetAllowedValues() []EngineStatus
GetAllowedValues returns the list of possible values.
func (EngineStatus) IsValid ¶
func (v EngineStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EngineStatus) Ptr ¶
func (v EngineStatus) Ptr() *EngineStatus
Ptr returns reference to EngineStatus value.
func (*EngineStatus) UnmarshalJSON ¶
func (v *EngineStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EngineType ¶
type EngineType string
EngineType engine type
const ( EngineTypeRdbms EngineType = "RDBMS" EngineTypeSearchEngine EngineType = "search-engine" EngineTypeKeyValue EngineType = "key-value" EngineTypeTimeSeries EngineType = "time-series" EngineTypeStreaming EngineType = "streaming" EngineTypeLlm EngineType = "LLM" EngineTypeVector EngineType = "vector" EngineTypeDocument EngineType = "document" EngineTypeGraph EngineType = "graph" EngineTypeOther EngineType = "other" )
List of EngineType.
func NewEngineTypeFromValue ¶
func NewEngineTypeFromValue(v string) (*EngineType, error)
NewEngineTypeFromValue returns a pointer to a valid EngineType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EngineType) GetAllowedValues ¶
func (v *EngineType) GetAllowedValues() []EngineType
GetAllowedValues returns the list of possible values.
func (EngineType) IsValid ¶
func (v EngineType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EngineType) Ptr ¶
func (v EngineType) Ptr() *EngineType
Ptr returns reference to EngineType value.
func (*EngineType) UnmarshalJSON ¶
func (v *EngineType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Environment ¶
type Environment struct {
// Provider
Provider string `json:"provider"`
// Region
Region string `json:"region"`
// Availability Zones
AvailabilityZones []string `json:"availabilityZones"`
// Configuration of networking for this environment
NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"`
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
CreatedAt time.Time `json:"createdAt"`
// The description of the organization
Description *string `json:"description,omitempty"`
// The display name of the context
DisplayName *string `json:"displayName,omitempty"`
// environment id
Id uuid.UUID `json:"id"`
// The full, unique name of this Object in the format contexts/{name}, set during creation. name must be a valid RFC 1123 compliant DNS label
Name string `json:"name"`
// Organization Name
OrgName string `json:"orgName"`
// Output only. State of the Environment resource
State EnvironmentState `json:"state"`
// Type of this environment
Type EnvironmentType `json:"type"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
UpdatedAt time.Time `json:"updatedAt"`
// Image registry used by the environment
ImageRegistry *string `json:"imageRegistry,omitempty"`
// extra info for environment
ExtraInfo *string `json:"extraInfo,omitempty"`
// namespace info for environment
Namespaces []string `json:"namespaces,omitempty"`
// Enable pod antiaffinity for cluster
PodAntiAffinityEnabled *bool `json:"podAntiAffinityEnabled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Environment Environment info
func NewEnvironment ¶
func NewEnvironment(provider string, region string, availabilityZones []string, createdAt time.Time, id uuid.UUID, name string, orgName string, state EnvironmentState, typeVar EnvironmentType, updatedAt time.Time) *Environment
NewEnvironment instantiates a new Environment object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEnvironmentWithDefaults ¶
func NewEnvironmentWithDefaults() *Environment
NewEnvironmentWithDefaults instantiates a new Environment object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Environment) GetAvailabilityZones ¶
func (o *Environment) GetAvailabilityZones() []string
GetAvailabilityZones returns the AvailabilityZones field value.
func (*Environment) GetAvailabilityZonesOk ¶
func (o *Environment) GetAvailabilityZonesOk() (*[]string, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.
func (*Environment) GetCreatedAt ¶
func (o *Environment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*Environment) GetCreatedAtOk ¶
func (o *Environment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Environment) GetDescription ¶
func (o *Environment) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*Environment) GetDescriptionOk ¶
func (o *Environment) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetDisplayName ¶
func (o *Environment) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*Environment) GetDisplayNameOk ¶
func (o *Environment) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetExtraInfo ¶
func (o *Environment) GetExtraInfo() string
GetExtraInfo returns the ExtraInfo field value if set, zero value otherwise.
func (*Environment) GetExtraInfoOk ¶
func (o *Environment) GetExtraInfoOk() (*string, bool)
GetExtraInfoOk returns a tuple with the ExtraInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetId ¶
func (o *Environment) GetId() uuid.UUID
GetId returns the Id field value.
func (*Environment) GetIdOk ¶
func (o *Environment) GetIdOk() (*uuid.UUID, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Environment) GetImageRegistry ¶
func (o *Environment) GetImageRegistry() string
GetImageRegistry returns the ImageRegistry field value if set, zero value otherwise.
func (*Environment) GetImageRegistryOk ¶
func (o *Environment) GetImageRegistryOk() (*string, bool)
GetImageRegistryOk returns a tuple with the ImageRegistry field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetName ¶
func (o *Environment) GetName() string
GetName returns the Name field value.
func (*Environment) GetNameOk ¶
func (o *Environment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Environment) GetNamespaces ¶
func (o *Environment) GetNamespaces() []string
GetNamespaces returns the Namespaces field value if set, zero value otherwise.
func (*Environment) GetNamespacesOk ¶
func (o *Environment) GetNamespacesOk() (*[]string, bool)
GetNamespacesOk returns a tuple with the Namespaces field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetNetworkConfig ¶
func (o *Environment) GetNetworkConfig() NetworkConfig
GetNetworkConfig returns the NetworkConfig field value if set, zero value otherwise.
func (*Environment) GetNetworkConfigOk ¶
func (o *Environment) GetNetworkConfigOk() (*NetworkConfig, bool)
GetNetworkConfigOk returns a tuple with the NetworkConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetOrgName ¶
func (o *Environment) GetOrgName() string
GetOrgName returns the OrgName field value.
func (*Environment) GetOrgNameOk ¶
func (o *Environment) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value and a boolean to check if the value has been set.
func (*Environment) GetPodAntiAffinityEnabled ¶
func (o *Environment) GetPodAntiAffinityEnabled() bool
GetPodAntiAffinityEnabled returns the PodAntiAffinityEnabled field value if set, zero value otherwise.
func (*Environment) GetPodAntiAffinityEnabledOk ¶
func (o *Environment) GetPodAntiAffinityEnabledOk() (*bool, bool)
GetPodAntiAffinityEnabledOk returns a tuple with the PodAntiAffinityEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Environment) GetProvider ¶
func (o *Environment) GetProvider() string
GetProvider returns the Provider field value.
func (*Environment) GetProviderOk ¶
func (o *Environment) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Environment) GetRegion ¶
func (o *Environment) GetRegion() string
GetRegion returns the Region field value.
func (*Environment) GetRegionOk ¶
func (o *Environment) GetRegionOk() (*string, bool)
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Environment) GetState ¶
func (o *Environment) GetState() EnvironmentState
GetState returns the State field value.
func (*Environment) GetStateOk ¶
func (o *Environment) GetStateOk() (*EnvironmentState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*Environment) GetType ¶
func (o *Environment) GetType() EnvironmentType
GetType returns the Type field value.
func (*Environment) GetTypeOk ¶
func (o *Environment) GetTypeOk() (*EnvironmentType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Environment) GetUpdatedAt ¶
func (o *Environment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value.
func (*Environment) GetUpdatedAtOk ¶
func (o *Environment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Environment) HasDescription ¶
func (o *Environment) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*Environment) HasDisplayName ¶
func (o *Environment) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*Environment) HasExtraInfo ¶
func (o *Environment) HasExtraInfo() bool
HasExtraInfo returns a boolean if a field has been set.
func (*Environment) HasImageRegistry ¶
func (o *Environment) HasImageRegistry() bool
HasImageRegistry returns a boolean if a field has been set.
func (*Environment) HasNamespaces ¶
func (o *Environment) HasNamespaces() bool
HasNamespaces returns a boolean if a field has been set.
func (*Environment) HasNetworkConfig ¶
func (o *Environment) HasNetworkConfig() bool
HasNetworkConfig returns a boolean if a field has been set.
func (*Environment) HasPodAntiAffinityEnabled ¶
func (o *Environment) HasPodAntiAffinityEnabled() bool
HasPodAntiAffinityEnabled returns a boolean if a field has been set.
func (Environment) MarshalJSON ¶
func (o Environment) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Environment) SetAvailabilityZones ¶
func (o *Environment) SetAvailabilityZones(v []string)
SetAvailabilityZones sets field value.
func (*Environment) SetCreatedAt ¶
func (o *Environment) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*Environment) SetDescription ¶
func (o *Environment) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Environment) SetDisplayName ¶
func (o *Environment) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*Environment) SetExtraInfo ¶
func (o *Environment) SetExtraInfo(v string)
SetExtraInfo gets a reference to the given string and assigns it to the ExtraInfo field.
func (*Environment) SetImageRegistry ¶
func (o *Environment) SetImageRegistry(v string)
SetImageRegistry gets a reference to the given string and assigns it to the ImageRegistry field.
func (*Environment) SetNamespaces ¶
func (o *Environment) SetNamespaces(v []string)
SetNamespaces gets a reference to the given []string and assigns it to the Namespaces field.
func (*Environment) SetNetworkConfig ¶
func (o *Environment) SetNetworkConfig(v NetworkConfig)
SetNetworkConfig gets a reference to the given NetworkConfig and assigns it to the NetworkConfig field.
func (*Environment) SetOrgName ¶
func (o *Environment) SetOrgName(v string)
SetOrgName sets field value.
func (*Environment) SetPodAntiAffinityEnabled ¶
func (o *Environment) SetPodAntiAffinityEnabled(v bool)
SetPodAntiAffinityEnabled gets a reference to the given bool and assigns it to the PodAntiAffinityEnabled field.
func (*Environment) SetProvider ¶
func (o *Environment) SetProvider(v string)
SetProvider sets field value.
func (*Environment) SetRegion ¶
func (o *Environment) SetRegion(v string)
SetRegion sets field value.
func (*Environment) SetState ¶
func (o *Environment) SetState(v EnvironmentState)
SetState sets field value.
func (*Environment) SetType ¶
func (o *Environment) SetType(v EnvironmentType)
SetType sets field value.
func (*Environment) SetUpdatedAt ¶
func (o *Environment) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value.
func (*Environment) UnmarshalJSON ¶
func (o *Environment) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EnvironmentApi ¶
EnvironmentApi service type
func NewEnvironmentApi ¶
func NewEnvironmentApi(client *common.APIClient) *EnvironmentApi
NewEnvironmentApi Returns NewEnvironmentApi.
func (*EnvironmentApi) FilterEnvironment ¶
func (a *EnvironmentApi) FilterEnvironment(ctx _context.Context, orgName string, engineName string, version string) (EnvironmentList, *_nethttp.Response, error)
FilterEnvironment List environments. List environments
func (*EnvironmentApi) GetEnvironment ¶
func (a *EnvironmentApi) GetEnvironment(ctx _context.Context, orgName string, environmentName string) (Environment, *_nethttp.Response, error)
GetEnvironment Get environment.
func (*EnvironmentApi) ListEnvNodeZone ¶
func (a *EnvironmentApi) ListEnvNodeZone(ctx _context.Context, orgName string, environmentName string) (ZoneList, *_nethttp.Response, error)
ListEnvNodeZone List the availability zones where the environment's nodes are located. List available zones of an environment
func (*EnvironmentApi) ListEnvironment ¶
func (a *EnvironmentApi) ListEnvironment(ctx _context.Context, orgName string) (EnvironmentList, *_nethttp.Response, error)
ListEnvironment List environments. List environments
func (*EnvironmentApi) ListNodeGroup ¶
func (a *EnvironmentApi) ListNodeGroup(ctx _context.Context, environmentName string) (NodeGroup, *_nethttp.Response, error)
ListNodeGroup List environment node group.
type EnvironmentList ¶
type EnvironmentList struct {
// Items is the list of Environment objects in the list
Items []Environment `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
EnvironmentList EnvironmentList is a list of Environments
func NewEnvironmentList ¶
func NewEnvironmentList(items []Environment) *EnvironmentList
NewEnvironmentList instantiates a new EnvironmentList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEnvironmentListWithDefaults ¶
func NewEnvironmentListWithDefaults() *EnvironmentList
NewEnvironmentListWithDefaults instantiates a new EnvironmentList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EnvironmentList) GetItems ¶
func (o *EnvironmentList) GetItems() []Environment
GetItems returns the Items field value.
func (*EnvironmentList) GetItemsOk ¶
func (o *EnvironmentList) GetItemsOk() (*[]Environment, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*EnvironmentList) GetPageResult ¶
func (o *EnvironmentList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*EnvironmentList) GetPageResultOk ¶
func (o *EnvironmentList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvironmentList) HasPageResult ¶
func (o *EnvironmentList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (EnvironmentList) MarshalJSON ¶
func (o EnvironmentList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*EnvironmentList) SetItems ¶
func (o *EnvironmentList) SetItems(v []Environment)
SetItems sets field value.
func (*EnvironmentList) SetPageResult ¶
func (o *EnvironmentList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*EnvironmentList) UnmarshalJSON ¶
func (o *EnvironmentList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type EnvironmentState ¶
type EnvironmentState string
EnvironmentState Output only. State of the Environment resource
const ( EnvironmentStatePending EnvironmentState = "PENDING" EnvironmentStateRegistered EnvironmentState = "REGISTERED" EnvironmentStateProvisioning EnvironmentState = "PROVISIONING" EnvironmentStateNotready EnvironmentState = "NOTREADY" EnvironmentStateReady EnvironmentState = "READY" EnvironmentStateWarning EnvironmentState = "WARNING" EnvironmentStateUnreachable EnvironmentState = "UNREACHABLE" EnvironmentStateOutofstock EnvironmentState = "OUTOFSTOCK" )
List of EnvironmentState.
func NewEnvironmentStateFromValue ¶
func NewEnvironmentStateFromValue(v string) (*EnvironmentState, error)
NewEnvironmentStateFromValue returns a pointer to a valid EnvironmentState for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EnvironmentState) GetAllowedValues ¶
func (v *EnvironmentState) GetAllowedValues() []EnvironmentState
GetAllowedValues returns the list of possible values.
func (EnvironmentState) IsValid ¶
func (v EnvironmentState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EnvironmentState) Ptr ¶
func (v EnvironmentState) Ptr() *EnvironmentState
Ptr returns reference to EnvironmentState value.
func (*EnvironmentState) UnmarshalJSON ¶
func (v *EnvironmentState) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EnvironmentType ¶
type EnvironmentType string
EnvironmentType Type of this environment
const ( EnvironmentTypePublic EnvironmentType = "public" EnvironmentTypePrivate EnvironmentType = "private" )
List of EnvironmentType.
func NewEnvironmentTypeFromValue ¶
func NewEnvironmentTypeFromValue(v string) (*EnvironmentType, error)
NewEnvironmentTypeFromValue returns a pointer to a valid EnvironmentType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EnvironmentType) GetAllowedValues ¶
func (v *EnvironmentType) GetAllowedValues() []EnvironmentType
GetAllowedValues returns the list of possible values.
func (EnvironmentType) IsValid ¶
func (v EnvironmentType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EnvironmentType) Ptr ¶
func (v EnvironmentType) Ptr() *EnvironmentType
Ptr returns reference to EnvironmentType value.
func (*EnvironmentType) UnmarshalJSON ¶
func (v *EnvironmentType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Event ¶
type Event struct {
// ID of the event
Id *string `json:"id,omitempty"`
// ID of the resource
ResourceId *string `json:"resourceId,omitempty"`
// Type of the resource
ResourceType *EventResourceType `json:"resourceType,omitempty"`
// Name of the resource
ResourceName *string `json:"resourceName,omitempty"`
// operator of the event, if source is user, operator is user name; if source is system, operator is system name
Operator *string `json:"operator,omitempty"`
// The user ID of the operator
OperatorId *string `json:"operatorId,omitempty"`
// Details will include the extra event info, such as update cluster which field, OpsRequest content etc
Details *string `json:"details,omitempty"`
// hasTask is true if the event has a task
HasTask *bool `json:"hasTask,omitempty"`
// result of the operation event
Result *string `json:"result,omitempty"`
// Event name is OpsRequest name or cluster operation name
EventName *string `json:"eventName,omitempty"`
// result status of the operation event
ResultStatus *EventResultStatus `json:"resultStatus,omitempty"`
// event source
Source *EventSource `json:"source,omitempty"`
// event end time
End *time.Time `json:"end,omitempty"`
// event start time
Start *time.Time `json:"start,omitempty"`
// event created time
CreatedAt *time.Time `json:"createdAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Event event is the information of operation event
func NewEvent ¶
func NewEvent() *Event
NewEvent instantiates a new Event object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Event) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Event) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetDetails ¶
GetDetails returns the Details field value if set, zero value otherwise.
func (*Event) GetDetailsOk ¶
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetEndOk ¶
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetEventName ¶
GetEventName returns the EventName field value if set, zero value otherwise.
func (*Event) GetEventNameOk ¶
GetEventNameOk returns a tuple with the EventName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetHasTask ¶
GetHasTask returns the HasTask field value if set, zero value otherwise.
func (*Event) GetHasTaskOk ¶
GetHasTaskOk returns a tuple with the HasTask field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetOperator ¶
GetOperator returns the Operator field value if set, zero value otherwise.
func (*Event) GetOperatorId ¶
GetOperatorId returns the OperatorId field value if set, zero value otherwise.
func (*Event) GetOperatorIdOk ¶
GetOperatorIdOk returns a tuple with the OperatorId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetOperatorOk ¶
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetResourceId ¶
GetResourceId returns the ResourceId field value if set, zero value otherwise.
func (*Event) GetResourceIdOk ¶
GetResourceIdOk returns a tuple with the ResourceId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetResourceName ¶
GetResourceName returns the ResourceName field value if set, zero value otherwise.
func (*Event) GetResourceNameOk ¶
GetResourceNameOk returns a tuple with the ResourceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetResourceType ¶
func (o *Event) GetResourceType() EventResourceType
GetResourceType returns the ResourceType field value if set, zero value otherwise.
func (*Event) GetResourceTypeOk ¶
func (o *Event) GetResourceTypeOk() (*EventResourceType, bool)
GetResourceTypeOk returns a tuple with the ResourceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetResultOk ¶
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetResultStatus ¶
func (o *Event) GetResultStatus() EventResultStatus
GetResultStatus returns the ResultStatus field value if set, zero value otherwise.
func (*Event) GetResultStatusOk ¶
func (o *Event) GetResultStatusOk() (*EventResultStatus, bool)
GetResultStatusOk returns a tuple with the ResultStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetSource ¶
func (o *Event) GetSource() EventSource
GetSource returns the Source field value if set, zero value otherwise.
func (*Event) GetSourceOk ¶
func (o *Event) GetSourceOk() (*EventSource, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetStartOk ¶
GetStartOk returns a tuple with the Start field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Event) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (*Event) HasEventName ¶
HasEventName returns a boolean if a field has been set.
func (*Event) HasHasTask ¶
HasHasTask returns a boolean if a field has been set.
func (*Event) HasOperator ¶
HasOperator returns a boolean if a field has been set.
func (*Event) HasOperatorId ¶
HasOperatorId returns a boolean if a field has been set.
func (*Event) HasResourceId ¶
HasResourceId returns a boolean if a field has been set.
func (*Event) HasResourceName ¶
HasResourceName returns a boolean if a field has been set.
func (*Event) HasResourceType ¶
HasResourceType returns a boolean if a field has been set.
func (*Event) HasResultStatus ¶
HasResultStatus returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Event) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Event) SetDetails ¶
SetDetails gets a reference to the given string and assigns it to the Details field.
func (*Event) SetEnd ¶
SetEnd gets a reference to the given time.Time and assigns it to the End field.
func (*Event) SetEventName ¶
SetEventName gets a reference to the given string and assigns it to the EventName field.
func (*Event) SetHasTask ¶
SetHasTask gets a reference to the given bool and assigns it to the HasTask field.
func (*Event) SetOperator ¶
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*Event) SetOperatorId ¶
SetOperatorId gets a reference to the given string and assigns it to the OperatorId field.
func (*Event) SetResourceId ¶
SetResourceId gets a reference to the given string and assigns it to the ResourceId field.
func (*Event) SetResourceName ¶
SetResourceName gets a reference to the given string and assigns it to the ResourceName field.
func (*Event) SetResourceType ¶
func (o *Event) SetResourceType(v EventResourceType)
SetResourceType gets a reference to the given EventResourceType and assigns it to the ResourceType field.
func (*Event) SetResult ¶
SetResult gets a reference to the given string and assigns it to the Result field.
func (*Event) SetResultStatus ¶
func (o *Event) SetResultStatus(v EventResultStatus)
SetResultStatus gets a reference to the given EventResultStatus and assigns it to the ResultStatus field.
func (*Event) SetSource ¶
func (o *Event) SetSource(v EventSource)
SetSource gets a reference to the given EventSource and assigns it to the Source field.
func (*Event) SetStart ¶
SetStart gets a reference to the given time.Time and assigns it to the Start field.
func (*Event) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type EventList ¶
type EventList struct {
// Items is the list of operation event objects in the list
Items []Event `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
EventList EventList is a list of operation event objects
func NewEventList ¶
NewEventList instantiates a new EventList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewEventListWithDefaults ¶
func NewEventListWithDefaults() *EventList
NewEventListWithDefaults instantiates a new EventList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*EventList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (EventList) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*EventList) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type EventResourceType ¶
type EventResourceType string
EventResourceType Type of the resource
const ( EventResourceTypeCluster EventResourceType = "cluster" EventResourceTypeRole EventResourceType = "role" )
List of EventResourceType.
func NewEventResourceTypeFromValue ¶
func NewEventResourceTypeFromValue(v string) (*EventResourceType, error)
NewEventResourceTypeFromValue returns a pointer to a valid EventResourceType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EventResourceType) GetAllowedValues ¶
func (v *EventResourceType) GetAllowedValues() []EventResourceType
GetAllowedValues returns the list of possible values.
func (EventResourceType) IsValid ¶
func (v EventResourceType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EventResourceType) Ptr ¶
func (v EventResourceType) Ptr() *EventResourceType
Ptr returns reference to EventResourceType value.
func (*EventResourceType) UnmarshalJSON ¶
func (v *EventResourceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EventResultStatus ¶
type EventResultStatus string
EventResultStatus result status of the operation event
const ( EventResultStatusSuccess EventResultStatus = "success" EventResultStatusFailed EventResultStatus = "failed" )
List of EventResultStatus.
func NewEventResultStatusFromValue ¶
func NewEventResultStatusFromValue(v string) (*EventResultStatus, error)
NewEventResultStatusFromValue returns a pointer to a valid EventResultStatus for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EventResultStatus) GetAllowedValues ¶
func (v *EventResultStatus) GetAllowedValues() []EventResultStatus
GetAllowedValues returns the list of possible values.
func (EventResultStatus) IsValid ¶
func (v EventResultStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EventResultStatus) Ptr ¶
func (v EventResultStatus) Ptr() *EventResultStatus
Ptr returns reference to EventResultStatus value.
func (*EventResultStatus) UnmarshalJSON ¶
func (v *EventResultStatus) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type EventSource ¶
type EventSource string
EventSource event source
const ( EventSourceUser EventSource = "user" EventSourceSystem EventSource = "system" )
List of EventSource.
func NewEventSourceFromValue ¶
func NewEventSourceFromValue(v string) (*EventSource, error)
NewEventSourceFromValue returns a pointer to a valid EventSource for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*EventSource) GetAllowedValues ¶
func (v *EventSource) GetAllowedValues() []EventSource
GetAllowedValues returns the list of possible values.
func (EventSource) IsValid ¶
func (v EventSource) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (EventSource) Ptr ¶
func (v EventSource) Ptr() *EventSource
Ptr returns reference to EventSource value.
func (*EventSource) UnmarshalJSON ¶
func (v *EventSource) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Feature ¶
type Feature struct {
// Name of a feature
Name string `json:"name"`
// The enablement state for the feature
Enabled bool `json:"enabled"`
// Indicates the maturity level of a feature
PreRelease FeaturePreReleaseType `json:"preRelease"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewFeature ¶
func NewFeature(name string, enabled bool, preRelease FeaturePreReleaseType) *Feature
NewFeature instantiates a new Feature object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFeatureWithDefaults ¶
func NewFeatureWithDefaults() *Feature
NewFeatureWithDefaults instantiates a new Feature object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Feature) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*Feature) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Feature) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Feature) GetPreRelease ¶
func (o *Feature) GetPreRelease() FeaturePreReleaseType
GetPreRelease returns the PreRelease field value.
func (*Feature) GetPreReleaseOk ¶
func (o *Feature) GetPreReleaseOk() (*FeaturePreReleaseType, bool)
GetPreReleaseOk returns a tuple with the PreRelease field value and a boolean to check if the value has been set.
func (Feature) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Feature) SetPreRelease ¶
func (o *Feature) SetPreRelease(v FeaturePreReleaseType)
SetPreRelease sets field value.
func (*Feature) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type FeatureApi ¶
FeatureApi service type
func NewFeatureApi ¶
func NewFeatureApi(client *common.APIClient) *FeatureApi
NewFeatureApi Returns NewFeatureApi.
func (*FeatureApi) ListFeature ¶
func (a *FeatureApi) ListFeature(ctx _context.Context, o ...ListFeatureOptionalParameters) (FeatureList, *_nethttp.Response, error)
ListFeature Get feature list. Get feature list
func (*FeatureApi) ReadFeature ¶
func (a *FeatureApi) ReadFeature(ctx _context.Context, featureName string) (Feature, *_nethttp.Response, error)
ReadFeature Get feature. Get feature
type FeatureList ¶
type FeatureList struct {
// The list of feature
Items []Feature `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
FeatureList A list of feature
func NewFeatureList ¶
func NewFeatureList(items []Feature) *FeatureList
NewFeatureList instantiates a new FeatureList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFeatureListWithDefaults ¶
func NewFeatureListWithDefaults() *FeatureList
NewFeatureListWithDefaults instantiates a new FeatureList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FeatureList) GetItems ¶
func (o *FeatureList) GetItems() []Feature
GetItems returns the Items field value.
func (*FeatureList) GetItemsOk ¶
func (o *FeatureList) GetItemsOk() (*[]Feature, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (FeatureList) MarshalJSON ¶
func (o FeatureList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FeatureList) SetItems ¶
func (o *FeatureList) SetItems(v []Feature)
SetItems sets field value.
func (*FeatureList) UnmarshalJSON ¶
func (o *FeatureList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type FeaturePreReleaseType ¶
type FeaturePreReleaseType string
FeaturePreReleaseType Indicates the maturity level of a feature
const ( FeaturePreReleaseTypeAlpha FeaturePreReleaseType = "ALPHA" FeaturePreReleaseTypeBeta FeaturePreReleaseType = "BETA" FeaturePreReleaseTypeEmpty FeaturePreReleaseType = "" FeaturePreReleaseTypeDeprecated FeaturePreReleaseType = "DEPRECATED" )
List of FeaturePreReleaseType.
func NewFeaturePreReleaseTypeFromValue ¶
func NewFeaturePreReleaseTypeFromValue(v string) (*FeaturePreReleaseType, error)
NewFeaturePreReleaseTypeFromValue returns a pointer to a valid FeaturePreReleaseType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*FeaturePreReleaseType) GetAllowedValues ¶
func (v *FeaturePreReleaseType) GetAllowedValues() []FeaturePreReleaseType
GetAllowedValues returns the list of possible values.
func (FeaturePreReleaseType) IsValid ¶
func (v FeaturePreReleaseType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (FeaturePreReleaseType) Ptr ¶
func (v FeaturePreReleaseType) Ptr() *FeaturePreReleaseType
Ptr returns reference to FeaturePreReleaseType value.
func (*FeaturePreReleaseType) UnmarshalJSON ¶
func (v *FeaturePreReleaseType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type FileEntry ¶
type FileEntry struct {
// description the entry type
IsDir *bool `json:"IsDir,omitempty"`
// the full path of file
FullPath *string `json:"fullPath,omitempty"`
// the filename
Filename *string `json:"filename,omitempty"`
// the size of entry
Size *int64 `json:"size,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
FileEntry the entry of files
func NewFileEntry ¶
func NewFileEntry() *FileEntry
NewFileEntry instantiates a new FileEntry object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFileEntryWithDefaults ¶
func NewFileEntryWithDefaults() *FileEntry
NewFileEntryWithDefaults instantiates a new FileEntry object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FileEntry) GetFilename ¶
GetFilename returns the Filename field value if set, zero value otherwise.
func (*FileEntry) GetFilenameOk ¶
GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileEntry) GetFullPath ¶
GetFullPath returns the FullPath field value if set, zero value otherwise.
func (*FileEntry) GetFullPathOk ¶
GetFullPathOk returns a tuple with the FullPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileEntry) GetIsDirOk ¶
GetIsDirOk returns a tuple with the IsDir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileEntry) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileEntry) HasFilename ¶
HasFilename returns a boolean if a field has been set.
func (*FileEntry) HasFullPath ¶
HasFullPath returns a boolean if a field has been set.
func (FileEntry) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*FileEntry) SetFilename ¶
SetFilename gets a reference to the given string and assigns it to the Filename field.
func (*FileEntry) SetFullPath ¶
SetFullPath gets a reference to the given string and assigns it to the FullPath field.
func (*FileEntry) SetIsDir ¶
SetIsDir gets a reference to the given bool and assigns it to the IsDir field.
func (*FileEntry) SetSize ¶
SetSize gets a reference to the given int64 and assigns it to the Size field.
func (*FileEntry) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type FileEntryList ¶
type FileEntryList struct {
// Items is the list of backup entry
Items []FileEntry `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
FileEntryList BackupEntryList is a list of entry
func NewFileEntryList ¶
func NewFileEntryList(items []FileEntry) *FileEntryList
NewFileEntryList instantiates a new FileEntryList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFileEntryListWithDefaults ¶
func NewFileEntryListWithDefaults() *FileEntryList
NewFileEntryListWithDefaults instantiates a new FileEntryList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FileEntryList) GetItems ¶
func (o *FileEntryList) GetItems() []FileEntry
GetItems returns the Items field value.
func (*FileEntryList) GetItemsOk ¶
func (o *FileEntryList) GetItemsOk() (*[]FileEntry, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*FileEntryList) GetPageResult ¶
func (o *FileEntryList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*FileEntryList) GetPageResultOk ¶
func (o *FileEntryList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FileEntryList) HasPageResult ¶
func (o *FileEntryList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (FileEntryList) MarshalJSON ¶
func (o FileEntryList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FileEntryList) SetItems ¶
func (o *FileEntryList) SetItems(v []FileEntry)
SetItems sets field value.
func (*FileEntryList) SetPageResult ¶
func (o *FileEntryList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*FileEntryList) UnmarshalJSON ¶
func (o *FileEntryList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type FloatOption ¶
type FloatOption struct {
Min float64 `json:"min"`
Max float64 `json:"max"`
Default float64 `json:"default"`
Step float64 `json:"step"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewFloatOption ¶
func NewFloatOption(min float64, max float64, defaultVar float64, step float64) *FloatOption
NewFloatOption instantiates a new FloatOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewFloatOptionWithDefaults ¶
func NewFloatOptionWithDefaults() *FloatOption
NewFloatOptionWithDefaults instantiates a new FloatOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*FloatOption) GetDefault ¶
func (o *FloatOption) GetDefault() float64
GetDefault returns the Default field value.
func (*FloatOption) GetDefaultOk ¶
func (o *FloatOption) GetDefaultOk() (*float64, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*FloatOption) GetMax ¶
func (o *FloatOption) GetMax() float64
GetMax returns the Max field value.
func (*FloatOption) GetMaxOk ¶
func (o *FloatOption) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*FloatOption) GetMin ¶
func (o *FloatOption) GetMin() float64
GetMin returns the Min field value.
func (*FloatOption) GetMinOk ¶
func (o *FloatOption) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (*FloatOption) GetStep ¶
func (o *FloatOption) GetStep() float64
GetStep returns the Step field value.
func (*FloatOption) GetStepOk ¶
func (o *FloatOption) GetStepOk() (*float64, bool)
GetStepOk returns a tuple with the Step field value and a boolean to check if the value has been set.
func (FloatOption) MarshalJSON ¶
func (o FloatOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*FloatOption) SetDefault ¶
func (o *FloatOption) SetDefault(v float64)
SetDefault sets field value.
func (*FloatOption) UnmarshalJSON ¶
func (o *FloatOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type GenerateDDLOptionalParameters ¶
type GenerateDDLOptionalParameters struct {
Body *interface{}
}
GenerateDDLOptionalParameters holds optional parameters for GenerateDDL.
func NewGenerateDDLOptionalParameters ¶
func NewGenerateDDLOptionalParameters() *GenerateDDLOptionalParameters
NewGenerateDDLOptionalParameters creates an empty struct for parameters.
func (*GenerateDDLOptionalParameters) WithBody ¶
func (r *GenerateDDLOptionalParameters) WithBody(body interface{}) *GenerateDDLOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type GetBackupRepoOptionalParameters ¶
type GetBackupRepoOptionalParameters struct {
OrgName *string
}
GetBackupRepoOptionalParameters holds optional parameters for GetBackupRepo.
func NewGetBackupRepoOptionalParameters ¶
func NewGetBackupRepoOptionalParameters() *GetBackupRepoOptionalParameters
NewGetBackupRepoOptionalParameters creates an empty struct for parameters.
func (*GetBackupRepoOptionalParameters) WithOrgName ¶
func (r *GetBackupRepoOptionalParameters) WithOrgName(orgName string) *GetBackupRepoOptionalParameters
WithOrgName sets the corresponding parameter name and returns the struct.
type GetClusterBackupPolicyOptionalParameters ¶
type GetClusterBackupPolicyOptionalParameters struct {
UseVolumeSnapshot *bool
}
GetClusterBackupPolicyOptionalParameters holds optional parameters for GetClusterBackupPolicy.
func NewGetClusterBackupPolicyOptionalParameters ¶
func NewGetClusterBackupPolicyOptionalParameters() *GetClusterBackupPolicyOptionalParameters
NewGetClusterBackupPolicyOptionalParameters creates an empty struct for parameters.
func (*GetClusterBackupPolicyOptionalParameters) WithUseVolumeSnapshot ¶
func (r *GetClusterBackupPolicyOptionalParameters) WithUseVolumeSnapshot(useVolumeSnapshot bool) *GetClusterBackupPolicyOptionalParameters
WithUseVolumeSnapshot sets the corresponding parameter name and returns the struct.
type GetClusterInstanceLogOptionalParameters ¶
type GetClusterInstanceLogOptionalParameters struct {
WorkloadType *string
Previous *bool
SinceSeconds *int32
TailLines *int32
}
GetClusterInstanceLogOptionalParameters holds optional parameters for GetClusterInstanceLog.
func NewGetClusterInstanceLogOptionalParameters ¶
func NewGetClusterInstanceLogOptionalParameters() *GetClusterInstanceLogOptionalParameters
NewGetClusterInstanceLogOptionalParameters creates an empty struct for parameters.
func (*GetClusterInstanceLogOptionalParameters) WithPrevious ¶
func (r *GetClusterInstanceLogOptionalParameters) WithPrevious(previous bool) *GetClusterInstanceLogOptionalParameters
WithPrevious sets the corresponding parameter name and returns the struct.
func (*GetClusterInstanceLogOptionalParameters) WithSinceSeconds ¶
func (r *GetClusterInstanceLogOptionalParameters) WithSinceSeconds(sinceSeconds int32) *GetClusterInstanceLogOptionalParameters
WithSinceSeconds sets the corresponding parameter name and returns the struct.
func (*GetClusterInstanceLogOptionalParameters) WithTailLines ¶
func (r *GetClusterInstanceLogOptionalParameters) WithTailLines(tailLines int32) *GetClusterInstanceLogOptionalParameters
WithTailLines sets the corresponding parameter name and returns the struct.
func (*GetClusterInstanceLogOptionalParameters) WithWorkloadType ¶
func (r *GetClusterInstanceLogOptionalParameters) WithWorkloadType(workloadType string) *GetClusterInstanceLogOptionalParameters
WithWorkloadType sets the corresponding parameter name and returns the struct.
type GetClusterManifestOptionalParameters ¶
GetClusterManifestOptionalParameters holds optional parameters for GetClusterManifest.
func NewGetClusterManifestOptionalParameters ¶
func NewGetClusterManifestOptionalParameters() *GetClusterManifestOptionalParameters
NewGetClusterManifestOptionalParameters creates an empty struct for parameters.
func (*GetClusterManifestOptionalParameters) WithComponent ¶
func (r *GetClusterManifestOptionalParameters) WithComponent(component string) *GetClusterManifestOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
func (*GetClusterManifestOptionalParameters) WithOpsType ¶
func (r *GetClusterManifestOptionalParameters) WithOpsType(opsType OpsType) *GetClusterManifestOptionalParameters
WithOpsType sets the corresponding parameter name and returns the struct.
type GetClusterParamTplsOptionalParameters ¶
GetClusterParamTplsOptionalParameters holds optional parameters for GetClusterParamTpls.
func NewGetClusterParamTplsOptionalParameters ¶
func NewGetClusterParamTplsOptionalParameters() *GetClusterParamTplsOptionalParameters
NewGetClusterParamTplsOptionalParameters creates an empty struct for parameters.
func (*GetClusterParamTplsOptionalParameters) WithComponent ¶
func (r *GetClusterParamTplsOptionalParameters) WithComponent(component string) *GetClusterParamTplsOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
func (*GetClusterParamTplsOptionalParameters) WithEngineName ¶
func (r *GetClusterParamTplsOptionalParameters) WithEngineName(engineName string) *GetClusterParamTplsOptionalParameters
WithEngineName sets the corresponding parameter name and returns the struct.
type HaHistoryResponse ¶
type HaHistoryResponse struct {
ComponentName *string `json:"componentName,omitempty"`
Records []HaHistoryResponseRecordsItem `json:"records,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HaHistoryResponse hahistory is the payload to get ha history of a KubeBlocks cluster
func NewHaHistoryResponse ¶
func NewHaHistoryResponse() *HaHistoryResponse
NewHaHistoryResponse instantiates a new HaHistoryResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHaHistoryResponseWithDefaults ¶
func NewHaHistoryResponseWithDefaults() *HaHistoryResponse
NewHaHistoryResponseWithDefaults instantiates a new HaHistoryResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HaHistoryResponse) GetComponentName ¶
func (o *HaHistoryResponse) GetComponentName() string
GetComponentName returns the ComponentName field value if set, zero value otherwise.
func (*HaHistoryResponse) GetComponentNameOk ¶
func (o *HaHistoryResponse) GetComponentNameOk() (*string, bool)
GetComponentNameOk returns a tuple with the ComponentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponse) GetRecords ¶
func (o *HaHistoryResponse) GetRecords() []HaHistoryResponseRecordsItem
GetRecords returns the Records field value if set, zero value otherwise.
func (*HaHistoryResponse) GetRecordsOk ¶
func (o *HaHistoryResponse) GetRecordsOk() (*[]HaHistoryResponseRecordsItem, bool)
GetRecordsOk returns a tuple with the Records field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponse) HasComponentName ¶
func (o *HaHistoryResponse) HasComponentName() bool
HasComponentName returns a boolean if a field has been set.
func (*HaHistoryResponse) HasRecords ¶
func (o *HaHistoryResponse) HasRecords() bool
HasRecords returns a boolean if a field has been set.
func (HaHistoryResponse) MarshalJSON ¶
func (o HaHistoryResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HaHistoryResponse) SetComponentName ¶
func (o *HaHistoryResponse) SetComponentName(v string)
SetComponentName gets a reference to the given string and assigns it to the ComponentName field.
func (*HaHistoryResponse) SetRecords ¶
func (o *HaHistoryResponse) SetRecords(v []HaHistoryResponseRecordsItem)
SetRecords gets a reference to the given []HaHistoryResponseRecordsItem and assigns it to the Records field.
func (*HaHistoryResponse) UnmarshalJSON ¶
func (o *HaHistoryResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type HaHistoryResponseRecordsItem ¶
type HaHistoryResponseRecordsItem struct {
StartAt int32 `json:"StartAt"`
EndAt *int32 `json:"EndAt,omitempty"`
OldPrimary *string `json:"OldPrimary,omitempty"`
NewPrimary *string `json:"NewPrimary,omitempty"`
Reason *string `json:"Reason,omitempty"`
UserId *string `json:"UserID,omitempty"`
UserName *string `json:"UserName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewHaHistoryResponseRecordsItem ¶
func NewHaHistoryResponseRecordsItem(startAt int32) *HaHistoryResponseRecordsItem
NewHaHistoryResponseRecordsItem instantiates a new HaHistoryResponseRecordsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewHaHistoryResponseRecordsItemWithDefaults ¶
func NewHaHistoryResponseRecordsItemWithDefaults() *HaHistoryResponseRecordsItem
NewHaHistoryResponseRecordsItemWithDefaults instantiates a new HaHistoryResponseRecordsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*HaHistoryResponseRecordsItem) GetEndAt ¶
func (o *HaHistoryResponseRecordsItem) GetEndAt() int32
GetEndAt returns the EndAt field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetEndAtOk ¶
func (o *HaHistoryResponseRecordsItem) GetEndAtOk() (*int32, bool)
GetEndAtOk returns a tuple with the EndAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetNewPrimary ¶
func (o *HaHistoryResponseRecordsItem) GetNewPrimary() string
GetNewPrimary returns the NewPrimary field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetNewPrimaryOk ¶
func (o *HaHistoryResponseRecordsItem) GetNewPrimaryOk() (*string, bool)
GetNewPrimaryOk returns a tuple with the NewPrimary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetOldPrimary ¶
func (o *HaHistoryResponseRecordsItem) GetOldPrimary() string
GetOldPrimary returns the OldPrimary field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetOldPrimaryOk ¶
func (o *HaHistoryResponseRecordsItem) GetOldPrimaryOk() (*string, bool)
GetOldPrimaryOk returns a tuple with the OldPrimary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetReason ¶
func (o *HaHistoryResponseRecordsItem) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetReasonOk ¶
func (o *HaHistoryResponseRecordsItem) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetStartAt ¶
func (o *HaHistoryResponseRecordsItem) GetStartAt() int32
GetStartAt returns the StartAt field value.
func (*HaHistoryResponseRecordsItem) GetStartAtOk ¶
func (o *HaHistoryResponseRecordsItem) GetStartAtOk() (*int32, bool)
GetStartAtOk returns a tuple with the StartAt field value and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetUserId ¶
func (o *HaHistoryResponseRecordsItem) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetUserIdOk ¶
func (o *HaHistoryResponseRecordsItem) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) GetUserName ¶
func (o *HaHistoryResponseRecordsItem) GetUserName() string
GetUserName returns the UserName field value if set, zero value otherwise.
func (*HaHistoryResponseRecordsItem) GetUserNameOk ¶
func (o *HaHistoryResponseRecordsItem) GetUserNameOk() (*string, bool)
GetUserNameOk returns a tuple with the UserName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HaHistoryResponseRecordsItem) HasEndAt ¶
func (o *HaHistoryResponseRecordsItem) HasEndAt() bool
HasEndAt returns a boolean if a field has been set.
func (*HaHistoryResponseRecordsItem) HasNewPrimary ¶
func (o *HaHistoryResponseRecordsItem) HasNewPrimary() bool
HasNewPrimary returns a boolean if a field has been set.
func (*HaHistoryResponseRecordsItem) HasOldPrimary ¶
func (o *HaHistoryResponseRecordsItem) HasOldPrimary() bool
HasOldPrimary returns a boolean if a field has been set.
func (*HaHistoryResponseRecordsItem) HasReason ¶
func (o *HaHistoryResponseRecordsItem) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*HaHistoryResponseRecordsItem) HasUserId ¶
func (o *HaHistoryResponseRecordsItem) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (*HaHistoryResponseRecordsItem) HasUserName ¶
func (o *HaHistoryResponseRecordsItem) HasUserName() bool
HasUserName returns a boolean if a field has been set.
func (HaHistoryResponseRecordsItem) MarshalJSON ¶
func (o HaHistoryResponseRecordsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*HaHistoryResponseRecordsItem) SetEndAt ¶
func (o *HaHistoryResponseRecordsItem) SetEndAt(v int32)
SetEndAt gets a reference to the given int32 and assigns it to the EndAt field.
func (*HaHistoryResponseRecordsItem) SetNewPrimary ¶
func (o *HaHistoryResponseRecordsItem) SetNewPrimary(v string)
SetNewPrimary gets a reference to the given string and assigns it to the NewPrimary field.
func (*HaHistoryResponseRecordsItem) SetOldPrimary ¶
func (o *HaHistoryResponseRecordsItem) SetOldPrimary(v string)
SetOldPrimary gets a reference to the given string and assigns it to the OldPrimary field.
func (*HaHistoryResponseRecordsItem) SetReason ¶
func (o *HaHistoryResponseRecordsItem) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*HaHistoryResponseRecordsItem) SetStartAt ¶
func (o *HaHistoryResponseRecordsItem) SetStartAt(v int32)
SetStartAt sets field value.
func (*HaHistoryResponseRecordsItem) SetUserId ¶
func (o *HaHistoryResponseRecordsItem) SetUserId(v string)
SetUserId gets a reference to the given string and assigns it to the UserId field.
func (*HaHistoryResponseRecordsItem) SetUserName ¶
func (o *HaHistoryResponseRecordsItem) SetUserName(v string)
SetUserName gets a reference to the given string and assigns it to the UserName field.
func (*HaHistoryResponseRecordsItem) UnmarshalJSON ¶
func (o *HaHistoryResponseRecordsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InitOptionsItem ¶
type InitOptionsItem struct {
// component type, refer to componentDef and support NamePrefix'
Component *string `json:"component,omitempty"`
// component type, refer to componentDef and support NamePrefix, Deprecated
ComponentDefRef *string `json:"componentDefRef,omitempty"`
InitParams map[string]string `json:"initParams,omitempty"`
// config spec name
SpecName *string `json:"specName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewInitOptionsItem ¶
func NewInitOptionsItem() *InitOptionsItem
NewInitOptionsItem instantiates a new InitOptionsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInitOptionsItemWithDefaults ¶
func NewInitOptionsItemWithDefaults() *InitOptionsItem
NewInitOptionsItemWithDefaults instantiates a new InitOptionsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InitOptionsItem) GetComponent ¶
func (o *InitOptionsItem) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*InitOptionsItem) GetComponentDefRef ¶
func (o *InitOptionsItem) GetComponentDefRef() string
GetComponentDefRef returns the ComponentDefRef field value if set, zero value otherwise.
func (*InitOptionsItem) GetComponentDefRefOk ¶
func (o *InitOptionsItem) GetComponentDefRefOk() (*string, bool)
GetComponentDefRefOk returns a tuple with the ComponentDefRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitOptionsItem) GetComponentOk ¶
func (o *InitOptionsItem) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitOptionsItem) GetInitParams ¶
func (o *InitOptionsItem) GetInitParams() map[string]string
GetInitParams returns the InitParams field value if set, zero value otherwise.
func (*InitOptionsItem) GetInitParamsOk ¶
func (o *InitOptionsItem) GetInitParamsOk() (*map[string]string, bool)
GetInitParamsOk returns a tuple with the InitParams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitOptionsItem) GetSpecName ¶
func (o *InitOptionsItem) GetSpecName() string
GetSpecName returns the SpecName field value if set, zero value otherwise.
func (*InitOptionsItem) GetSpecNameOk ¶
func (o *InitOptionsItem) GetSpecNameOk() (*string, bool)
GetSpecNameOk returns a tuple with the SpecName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InitOptionsItem) HasComponent ¶
func (o *InitOptionsItem) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*InitOptionsItem) HasComponentDefRef ¶
func (o *InitOptionsItem) HasComponentDefRef() bool
HasComponentDefRef returns a boolean if a field has been set.
func (*InitOptionsItem) HasInitParams ¶
func (o *InitOptionsItem) HasInitParams() bool
HasInitParams returns a boolean if a field has been set.
func (*InitOptionsItem) HasSpecName ¶
func (o *InitOptionsItem) HasSpecName() bool
HasSpecName returns a boolean if a field has been set.
func (InitOptionsItem) MarshalJSON ¶
func (o InitOptionsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InitOptionsItem) SetComponent ¶
func (o *InitOptionsItem) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*InitOptionsItem) SetComponentDefRef ¶
func (o *InitOptionsItem) SetComponentDefRef(v string)
SetComponentDefRef gets a reference to the given string and assigns it to the ComponentDefRef field.
func (*InitOptionsItem) SetInitParams ¶
func (o *InitOptionsItem) SetInitParams(v map[string]string)
SetInitParams gets a reference to the given map[string]string and assigns it to the InitParams field.
func (*InitOptionsItem) SetSpecName ¶
func (o *InitOptionsItem) SetSpecName(v string)
SetSpecName gets a reference to the given string and assigns it to the SpecName field.
func (*InitOptionsItem) UnmarshalJSON ¶
func (o *InitOptionsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Inspection ¶
type Inspection struct {
Id *int32 `json:"id,omitempty"`
OrgName *string `json:"orgName,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Creator *string `json:"creator,omitempty"`
ClusterId *string `json:"clusterID,omitempty"`
ClusterName *string `json:"clusterName,omitempty"`
ClusterEngine *string `json:"clusterEngine,omitempty"`
Result *string `json:"result,omitempty"`
Severity *string `json:"severity,omitempty"`
Status *string `json:"status,omitempty"`
IsAuto *bool `json:"isAuto,omitempty"`
ScriptId *int32 `json:"scriptID,omitempty"`
ScriptName *string `json:"scriptName,omitempty"`
ScriptCategory *string `json:"scriptCategory,omitempty"`
Reason *string `json:"reason,omitempty"`
Suggestion *string `json:"suggestion,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Inspection inspection
func NewInspection ¶
func NewInspection() *Inspection
NewInspection instantiates a new Inspection object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInspectionWithDefaults ¶
func NewInspectionWithDefaults() *Inspection
NewInspectionWithDefaults instantiates a new Inspection object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Inspection) GetClusterEngine ¶
func (o *Inspection) GetClusterEngine() string
GetClusterEngine returns the ClusterEngine field value if set, zero value otherwise.
func (*Inspection) GetClusterEngineOk ¶
func (o *Inspection) GetClusterEngineOk() (*string, bool)
GetClusterEngineOk returns a tuple with the ClusterEngine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetClusterId ¶
func (o *Inspection) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*Inspection) GetClusterIdOk ¶
func (o *Inspection) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetClusterName ¶
func (o *Inspection) GetClusterName() string
GetClusterName returns the ClusterName field value if set, zero value otherwise.
func (*Inspection) GetClusterNameOk ¶
func (o *Inspection) GetClusterNameOk() (*string, bool)
GetClusterNameOk returns a tuple with the ClusterName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetCreatedAt ¶
func (o *Inspection) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Inspection) GetCreatedAtOk ¶
func (o *Inspection) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetCreator ¶
func (o *Inspection) GetCreator() string
GetCreator returns the Creator field value if set, zero value otherwise.
func (*Inspection) GetCreatorOk ¶
func (o *Inspection) GetCreatorOk() (*string, bool)
GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetId ¶
func (o *Inspection) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*Inspection) GetIdOk ¶
func (o *Inspection) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetIsAuto ¶
func (o *Inspection) GetIsAuto() bool
GetIsAuto returns the IsAuto field value if set, zero value otherwise.
func (*Inspection) GetIsAutoOk ¶
func (o *Inspection) GetIsAutoOk() (*bool, bool)
GetIsAutoOk returns a tuple with the IsAuto field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetOrgName ¶
func (o *Inspection) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*Inspection) GetOrgNameOk ¶
func (o *Inspection) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetReason ¶
func (o *Inspection) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*Inspection) GetReasonOk ¶
func (o *Inspection) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetResult ¶
func (o *Inspection) GetResult() string
GetResult returns the Result field value if set, zero value otherwise.
func (*Inspection) GetResultOk ¶
func (o *Inspection) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetScriptCategory ¶
func (o *Inspection) GetScriptCategory() string
GetScriptCategory returns the ScriptCategory field value if set, zero value otherwise.
func (*Inspection) GetScriptCategoryOk ¶
func (o *Inspection) GetScriptCategoryOk() (*string, bool)
GetScriptCategoryOk returns a tuple with the ScriptCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetScriptId ¶
func (o *Inspection) GetScriptId() int32
GetScriptId returns the ScriptId field value if set, zero value otherwise.
func (*Inspection) GetScriptIdOk ¶
func (o *Inspection) GetScriptIdOk() (*int32, bool)
GetScriptIdOk returns a tuple with the ScriptId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetScriptName ¶
func (o *Inspection) GetScriptName() string
GetScriptName returns the ScriptName field value if set, zero value otherwise.
func (*Inspection) GetScriptNameOk ¶
func (o *Inspection) GetScriptNameOk() (*string, bool)
GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetSeverity ¶
func (o *Inspection) GetSeverity() string
GetSeverity returns the Severity field value if set, zero value otherwise.
func (*Inspection) GetSeverityOk ¶
func (o *Inspection) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetStatus ¶
func (o *Inspection) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*Inspection) GetStatusOk ¶
func (o *Inspection) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetSuggestion ¶
func (o *Inspection) GetSuggestion() string
GetSuggestion returns the Suggestion field value if set, zero value otherwise.
func (*Inspection) GetSuggestionOk ¶
func (o *Inspection) GetSuggestionOk() (*string, bool)
GetSuggestionOk returns a tuple with the Suggestion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) GetUpdatedAt ¶
func (o *Inspection) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Inspection) GetUpdatedAtOk ¶
func (o *Inspection) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Inspection) HasClusterEngine ¶
func (o *Inspection) HasClusterEngine() bool
HasClusterEngine returns a boolean if a field has been set.
func (*Inspection) HasClusterId ¶
func (o *Inspection) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (*Inspection) HasClusterName ¶
func (o *Inspection) HasClusterName() bool
HasClusterName returns a boolean if a field has been set.
func (*Inspection) HasCreatedAt ¶
func (o *Inspection) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*Inspection) HasCreator ¶
func (o *Inspection) HasCreator() bool
HasCreator returns a boolean if a field has been set.
func (*Inspection) HasId ¶
func (o *Inspection) HasId() bool
HasId returns a boolean if a field has been set.
func (*Inspection) HasIsAuto ¶
func (o *Inspection) HasIsAuto() bool
HasIsAuto returns a boolean if a field has been set.
func (*Inspection) HasOrgName ¶
func (o *Inspection) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*Inspection) HasReason ¶
func (o *Inspection) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*Inspection) HasResult ¶
func (o *Inspection) HasResult() bool
HasResult returns a boolean if a field has been set.
func (*Inspection) HasScriptCategory ¶
func (o *Inspection) HasScriptCategory() bool
HasScriptCategory returns a boolean if a field has been set.
func (*Inspection) HasScriptId ¶
func (o *Inspection) HasScriptId() bool
HasScriptId returns a boolean if a field has been set.
func (*Inspection) HasScriptName ¶
func (o *Inspection) HasScriptName() bool
HasScriptName returns a boolean if a field has been set.
func (*Inspection) HasSeverity ¶
func (o *Inspection) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (*Inspection) HasStatus ¶
func (o *Inspection) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*Inspection) HasSuggestion ¶
func (o *Inspection) HasSuggestion() bool
HasSuggestion returns a boolean if a field has been set.
func (*Inspection) HasUpdatedAt ¶
func (o *Inspection) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (Inspection) MarshalJSON ¶
func (o Inspection) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Inspection) SetClusterEngine ¶
func (o *Inspection) SetClusterEngine(v string)
SetClusterEngine gets a reference to the given string and assigns it to the ClusterEngine field.
func (*Inspection) SetClusterId ¶
func (o *Inspection) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*Inspection) SetClusterName ¶
func (o *Inspection) SetClusterName(v string)
SetClusterName gets a reference to the given string and assigns it to the ClusterName field.
func (*Inspection) SetCreatedAt ¶
func (o *Inspection) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Inspection) SetCreator ¶
func (o *Inspection) SetCreator(v string)
SetCreator gets a reference to the given string and assigns it to the Creator field.
func (*Inspection) SetId ¶
func (o *Inspection) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*Inspection) SetIsAuto ¶
func (o *Inspection) SetIsAuto(v bool)
SetIsAuto gets a reference to the given bool and assigns it to the IsAuto field.
func (*Inspection) SetOrgName ¶
func (o *Inspection) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*Inspection) SetReason ¶
func (o *Inspection) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*Inspection) SetResult ¶
func (o *Inspection) SetResult(v string)
SetResult gets a reference to the given string and assigns it to the Result field.
func (*Inspection) SetScriptCategory ¶
func (o *Inspection) SetScriptCategory(v string)
SetScriptCategory gets a reference to the given string and assigns it to the ScriptCategory field.
func (*Inspection) SetScriptId ¶
func (o *Inspection) SetScriptId(v int32)
SetScriptId gets a reference to the given int32 and assigns it to the ScriptId field.
func (*Inspection) SetScriptName ¶
func (o *Inspection) SetScriptName(v string)
SetScriptName gets a reference to the given string and assigns it to the ScriptName field.
func (*Inspection) SetSeverity ¶
func (o *Inspection) SetSeverity(v string)
SetSeverity gets a reference to the given string and assigns it to the Severity field.
func (*Inspection) SetStatus ¶
func (o *Inspection) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Inspection) SetSuggestion ¶
func (o *Inspection) SetSuggestion(v string)
SetSuggestion gets a reference to the given string and assigns it to the Suggestion field.
func (*Inspection) SetUpdatedAt ¶
func (o *Inspection) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Inspection) UnmarshalJSON ¶
func (o *Inspection) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InspectionApi ¶
InspectionApi service type
func NewInspectionApi ¶
func NewInspectionApi(client *common.APIClient) *InspectionApi
NewInspectionApi Returns NewInspectionApi.
func (*InspectionApi) CreateAutoInspection ¶
func (a *InspectionApi) CreateAutoInspection(ctx _context.Context, orgName string, body AutoInspection) (AutoInspection, *_nethttp.Response, error)
CreateAutoInspection Create auto inspection.
func (*InspectionApi) CreateInspectionScript ¶
func (a *InspectionApi) CreateInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
CreateInspectionScript Create inspection script.
func (*InspectionApi) DeleteInspectionScript ¶
func (a *InspectionApi) DeleteInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
DeleteInspectionScript Delete inspection script.
func (*InspectionApi) ListAutoInspection ¶
func (a *InspectionApi) ListAutoInspection(ctx _context.Context, orgName string) (AutoInspection, *_nethttp.Response, error)
ListAutoInspection list auto inspection.
func (*InspectionApi) ListInspectionScripts ¶
func (a *InspectionApi) ListInspectionScripts(ctx _context.Context, orgName string, o ...ListInspectionScriptsOptionalParameters) ([]InspectionScript, *_nethttp.Response, error)
ListInspectionScripts list inspection scripts.
func (*InspectionApi) ListInspections ¶
func (a *InspectionApi) ListInspections(ctx _context.Context, orgName string, o ...ListInspectionsOptionalParameters) ([]Inspection, *_nethttp.Response, error)
ListInspections list inspections.
func (*InspectionApi) UpdateAutoInspection ¶
func (a *InspectionApi) UpdateAutoInspection(ctx _context.Context, orgName string, body AutoInspection) (AutoInspection, *_nethttp.Response, error)
UpdateAutoInspection Update auto inspection.
func (*InspectionApi) UpdateInspection ¶
func (a *InspectionApi) UpdateInspection(ctx _context.Context, orgName string, body Inspection) (Inspection, *_nethttp.Response, error)
UpdateInspection Update inspection.
func (*InspectionApi) UpdateInspectionScript ¶
func (a *InspectionApi) UpdateInspectionScript(ctx _context.Context, orgName string, body InspectionScript) (InspectionScript, *_nethttp.Response, error)
UpdateInspectionScript Update inspection script.
type InspectionScript ¶
type InspectionScript struct {
Id *int32 `json:"id,omitempty"`
Engine *string `json:"engine,omitempty"`
Name *string `json:"name,omitempty"`
Category *string `json:"category,omitempty"`
Type *string `json:"type,omitempty"`
ScriptType *string `json:"scriptType,omitempty"`
Reason *string `json:"reason,omitempty"`
Suggestion *string `json:"suggestion,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ScriptName *string `json:"scriptName,omitempty"`
Script *string `json:"script,omitempty"`
StatusCheckName *string `json:"statusCheckName,omitempty"`
StatusCheck *string `json:"statusCheck,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewInspectionScript ¶
func NewInspectionScript() *InspectionScript
NewInspectionScript instantiates a new InspectionScript object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInspectionScriptWithDefaults ¶
func NewInspectionScriptWithDefaults() *InspectionScript
NewInspectionScriptWithDefaults instantiates a new InspectionScript object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InspectionScript) GetCategory ¶
func (o *InspectionScript) GetCategory() string
GetCategory returns the Category field value if set, zero value otherwise.
func (*InspectionScript) GetCategoryOk ¶
func (o *InspectionScript) GetCategoryOk() (*string, bool)
GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetEnabled ¶
func (o *InspectionScript) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*InspectionScript) GetEnabledOk ¶
func (o *InspectionScript) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetEngine ¶
func (o *InspectionScript) GetEngine() string
GetEngine returns the Engine field value if set, zero value otherwise.
func (*InspectionScript) GetEngineOk ¶
func (o *InspectionScript) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetId ¶
func (o *InspectionScript) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*InspectionScript) GetIdOk ¶
func (o *InspectionScript) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetName ¶
func (o *InspectionScript) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*InspectionScript) GetNameOk ¶
func (o *InspectionScript) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetReason ¶
func (o *InspectionScript) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*InspectionScript) GetReasonOk ¶
func (o *InspectionScript) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetScript ¶
func (o *InspectionScript) GetScript() string
GetScript returns the Script field value if set, zero value otherwise.
func (*InspectionScript) GetScriptName ¶
func (o *InspectionScript) GetScriptName() string
GetScriptName returns the ScriptName field value if set, zero value otherwise.
func (*InspectionScript) GetScriptNameOk ¶
func (o *InspectionScript) GetScriptNameOk() (*string, bool)
GetScriptNameOk returns a tuple with the ScriptName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetScriptOk ¶
func (o *InspectionScript) GetScriptOk() (*string, bool)
GetScriptOk returns a tuple with the Script field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetScriptType ¶
func (o *InspectionScript) GetScriptType() string
GetScriptType returns the ScriptType field value if set, zero value otherwise.
func (*InspectionScript) GetScriptTypeOk ¶
func (o *InspectionScript) GetScriptTypeOk() (*string, bool)
GetScriptTypeOk returns a tuple with the ScriptType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetStatusCheck ¶
func (o *InspectionScript) GetStatusCheck() string
GetStatusCheck returns the StatusCheck field value if set, zero value otherwise.
func (*InspectionScript) GetStatusCheckName ¶
func (o *InspectionScript) GetStatusCheckName() string
GetStatusCheckName returns the StatusCheckName field value if set, zero value otherwise.
func (*InspectionScript) GetStatusCheckNameOk ¶
func (o *InspectionScript) GetStatusCheckNameOk() (*string, bool)
GetStatusCheckNameOk returns a tuple with the StatusCheckName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetStatusCheckOk ¶
func (o *InspectionScript) GetStatusCheckOk() (*string, bool)
GetStatusCheckOk returns a tuple with the StatusCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetSuggestion ¶
func (o *InspectionScript) GetSuggestion() string
GetSuggestion returns the Suggestion field value if set, zero value otherwise.
func (*InspectionScript) GetSuggestionOk ¶
func (o *InspectionScript) GetSuggestionOk() (*string, bool)
GetSuggestionOk returns a tuple with the Suggestion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) GetType ¶
func (o *InspectionScript) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*InspectionScript) GetTypeOk ¶
func (o *InspectionScript) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InspectionScript) HasCategory ¶
func (o *InspectionScript) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (*InspectionScript) HasEnabled ¶
func (o *InspectionScript) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*InspectionScript) HasEngine ¶
func (o *InspectionScript) HasEngine() bool
HasEngine returns a boolean if a field has been set.
func (*InspectionScript) HasId ¶
func (o *InspectionScript) HasId() bool
HasId returns a boolean if a field has been set.
func (*InspectionScript) HasName ¶
func (o *InspectionScript) HasName() bool
HasName returns a boolean if a field has been set.
func (*InspectionScript) HasReason ¶
func (o *InspectionScript) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*InspectionScript) HasScript ¶
func (o *InspectionScript) HasScript() bool
HasScript returns a boolean if a field has been set.
func (*InspectionScript) HasScriptName ¶
func (o *InspectionScript) HasScriptName() bool
HasScriptName returns a boolean if a field has been set.
func (*InspectionScript) HasScriptType ¶
func (o *InspectionScript) HasScriptType() bool
HasScriptType returns a boolean if a field has been set.
func (*InspectionScript) HasStatusCheck ¶
func (o *InspectionScript) HasStatusCheck() bool
HasStatusCheck returns a boolean if a field has been set.
func (*InspectionScript) HasStatusCheckName ¶
func (o *InspectionScript) HasStatusCheckName() bool
HasStatusCheckName returns a boolean if a field has been set.
func (*InspectionScript) HasSuggestion ¶
func (o *InspectionScript) HasSuggestion() bool
HasSuggestion returns a boolean if a field has been set.
func (*InspectionScript) HasType ¶
func (o *InspectionScript) HasType() bool
HasType returns a boolean if a field has been set.
func (InspectionScript) MarshalJSON ¶
func (o InspectionScript) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InspectionScript) SetCategory ¶
func (o *InspectionScript) SetCategory(v string)
SetCategory gets a reference to the given string and assigns it to the Category field.
func (*InspectionScript) SetEnabled ¶
func (o *InspectionScript) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*InspectionScript) SetEngine ¶
func (o *InspectionScript) SetEngine(v string)
SetEngine gets a reference to the given string and assigns it to the Engine field.
func (*InspectionScript) SetId ¶
func (o *InspectionScript) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*InspectionScript) SetName ¶
func (o *InspectionScript) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*InspectionScript) SetReason ¶
func (o *InspectionScript) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*InspectionScript) SetScript ¶
func (o *InspectionScript) SetScript(v string)
SetScript gets a reference to the given string and assigns it to the Script field.
func (*InspectionScript) SetScriptName ¶
func (o *InspectionScript) SetScriptName(v string)
SetScriptName gets a reference to the given string and assigns it to the ScriptName field.
func (*InspectionScript) SetScriptType ¶
func (o *InspectionScript) SetScriptType(v string)
SetScriptType gets a reference to the given string and assigns it to the ScriptType field.
func (*InspectionScript) SetStatusCheck ¶
func (o *InspectionScript) SetStatusCheck(v string)
SetStatusCheck gets a reference to the given string and assigns it to the StatusCheck field.
func (*InspectionScript) SetStatusCheckName ¶
func (o *InspectionScript) SetStatusCheckName(v string)
SetStatusCheckName gets a reference to the given string and assigns it to the StatusCheckName field.
func (*InspectionScript) SetSuggestion ¶
func (o *InspectionScript) SetSuggestion(v string)
SetSuggestion gets a reference to the given string and assigns it to the Suggestion field.
func (*InspectionScript) SetType ¶
func (o *InspectionScript) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*InspectionScript) UnmarshalJSON ¶
func (o *InspectionScript) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Instance ¶
type Instance struct {
// Access mode for instance
AccessMode string `json:"accessMode"`
// Cloud for instance
Cloud string `json:"cloud"`
// Cluster name
Cluster string `json:"cluster"`
// Component name
ComponentName *string `json:"componentName,omitempty"`
// ComponentDefinition name
ComponentDef *string `json:"componentDef,omitempty"`
// component type, refer to componentDef and support NamePrefix
Component string `json:"component"`
// cpu with uint cores.
Cpu string `json:"cpu"`
// created at
CreatedAt string `json:"createdAt"`
// Memory with uint Gi.
Memory string `json:"memory"`
// Instance name
Name string `json:"name"`
// node name
Node string `json:"node"`
// Region for instance
Region string `json:"region"`
// Role for instance
Role string `json:"role"`
// Status for instance
Status InstanceStatus `json:"status"`
// storage sets the storage size value mapping key
Storage []InstanceStorageItem `json:"storage"`
// Available zone for instance
Zone string `json:"zone"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Instance Instance is the information of KubeBlocks cluster instances
func NewInstance ¶
func NewInstance(accessMode string, cloud string, cluster string, component string, cpu string, createdAt string, memory string, name string, node string, region string, role string, status InstanceStatus, storage []InstanceStorageItem, zone string) *Instance
NewInstance instantiates a new Instance object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceWithDefaults ¶
func NewInstanceWithDefaults() *Instance
NewInstanceWithDefaults instantiates a new Instance object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Instance) GetAccessMode ¶
GetAccessMode returns the AccessMode field value.
func (*Instance) GetAccessModeOk ¶
GetAccessModeOk returns a tuple with the AccessMode field value and a boolean to check if the value has been set.
func (*Instance) GetCloudOk ¶
GetCloudOk returns a tuple with the Cloud field value and a boolean to check if the value has been set.
func (*Instance) GetCluster ¶
GetCluster returns the Cluster field value.
func (*Instance) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*Instance) GetComponent ¶
GetComponent returns the Component field value.
func (*Instance) GetComponentDef ¶
GetComponentDef returns the ComponentDef field value if set, zero value otherwise.
func (*Instance) GetComponentDefOk ¶
GetComponentDefOk returns a tuple with the ComponentDef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetComponentName ¶
GetComponentName returns the ComponentName field value if set, zero value otherwise.
func (*Instance) GetComponentNameOk ¶
GetComponentNameOk returns a tuple with the ComponentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Instance) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*Instance) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*Instance) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*Instance) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Instance) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*Instance) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Instance) GetNodeOk ¶
GetNodeOk returns a tuple with the Node field value and a boolean to check if the value has been set.
func (*Instance) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Instance) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*Instance) GetStatus ¶
func (o *Instance) GetStatus() InstanceStatus
GetStatus returns the Status field value.
func (*Instance) GetStatusOk ¶
func (o *Instance) GetStatusOk() (*InstanceStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Instance) GetStorage ¶
func (o *Instance) GetStorage() []InstanceStorageItem
GetStorage returns the Storage field value.
func (*Instance) GetStorageOk ¶
func (o *Instance) GetStorageOk() (*[]InstanceStorageItem, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*Instance) GetZoneOk ¶
GetZoneOk returns a tuple with the Zone field value and a boolean to check if the value has been set.
func (*Instance) HasComponentDef ¶
HasComponentDef returns a boolean if a field has been set.
func (*Instance) HasComponentName ¶
HasComponentName returns a boolean if a field has been set.
func (Instance) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Instance) SetAccessMode ¶
SetAccessMode sets field value.
func (*Instance) SetComponent ¶
SetComponent sets field value.
func (*Instance) SetComponentDef ¶
SetComponentDef gets a reference to the given string and assigns it to the ComponentDef field.
func (*Instance) SetComponentName ¶
SetComponentName gets a reference to the given string and assigns it to the ComponentName field.
func (*Instance) SetCreatedAt ¶
SetCreatedAt sets field value.
func (*Instance) SetStatus ¶
func (o *Instance) SetStatus(v InstanceStatus)
SetStatus sets field value.
func (*Instance) SetStorage ¶
func (o *Instance) SetStorage(v []InstanceStorageItem)
SetStorage sets field value.
func (*Instance) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type InstanceList ¶
type InstanceList struct {
// Items is the list of KubeBlocks cluster objects in the list
Items []Instance `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InstanceList ClusterList is a list of KubeBlocks clusters
func NewInstanceList ¶
func NewInstanceList(items []Instance) *InstanceList
NewInstanceList instantiates a new InstanceList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceListWithDefaults ¶
func NewInstanceListWithDefaults() *InstanceList
NewInstanceListWithDefaults instantiates a new InstanceList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InstanceList) GetItems ¶
func (o *InstanceList) GetItems() []Instance
GetItems returns the Items field value.
func (*InstanceList) GetItemsOk ¶
func (o *InstanceList) GetItemsOk() (*[]Instance, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (InstanceList) MarshalJSON ¶
func (o InstanceList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InstanceList) SetItems ¶
func (o *InstanceList) SetItems(v []Instance)
SetItems sets field value.
func (*InstanceList) UnmarshalJSON ¶
func (o *InstanceList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InstanceMetrics ¶
type InstanceMetrics struct {
// the name of the instance
InstanceName string `json:"instanceName"`
// cpu with uint cores.
CpuUsage string `json:"cpuUsage"`
// memory with uint Gi.
MemoryUsage string `json:"memoryUsage"`
// disk with uint Gi.
DiskUsage string `json:"diskUsage"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InstanceMetrics instance metrics
func NewInstanceMetrics ¶
func NewInstanceMetrics(instanceName string, cpuUsage string, memoryUsage string, diskUsage string) *InstanceMetrics
NewInstanceMetrics instantiates a new InstanceMetrics object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceMetricsWithDefaults ¶
func NewInstanceMetricsWithDefaults() *InstanceMetrics
NewInstanceMetricsWithDefaults instantiates a new InstanceMetrics object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InstanceMetrics) GetCpuUsage ¶
func (o *InstanceMetrics) GetCpuUsage() string
GetCpuUsage returns the CpuUsage field value.
func (*InstanceMetrics) GetCpuUsageOk ¶
func (o *InstanceMetrics) GetCpuUsageOk() (*string, bool)
GetCpuUsageOk returns a tuple with the CpuUsage field value and a boolean to check if the value has been set.
func (*InstanceMetrics) GetDiskUsage ¶
func (o *InstanceMetrics) GetDiskUsage() string
GetDiskUsage returns the DiskUsage field value.
func (*InstanceMetrics) GetDiskUsageOk ¶
func (o *InstanceMetrics) GetDiskUsageOk() (*string, bool)
GetDiskUsageOk returns a tuple with the DiskUsage field value and a boolean to check if the value has been set.
func (*InstanceMetrics) GetInstanceName ¶
func (o *InstanceMetrics) GetInstanceName() string
GetInstanceName returns the InstanceName field value.
func (*InstanceMetrics) GetInstanceNameOk ¶
func (o *InstanceMetrics) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field value and a boolean to check if the value has been set.
func (*InstanceMetrics) GetMemoryUsage ¶
func (o *InstanceMetrics) GetMemoryUsage() string
GetMemoryUsage returns the MemoryUsage field value.
func (*InstanceMetrics) GetMemoryUsageOk ¶
func (o *InstanceMetrics) GetMemoryUsageOk() (*string, bool)
GetMemoryUsageOk returns a tuple with the MemoryUsage field value and a boolean to check if the value has been set.
func (InstanceMetrics) MarshalJSON ¶
func (o InstanceMetrics) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InstanceMetrics) SetCpuUsage ¶
func (o *InstanceMetrics) SetCpuUsage(v string)
SetCpuUsage sets field value.
func (*InstanceMetrics) SetDiskUsage ¶
func (o *InstanceMetrics) SetDiskUsage(v string)
SetDiskUsage sets field value.
func (*InstanceMetrics) SetInstanceName ¶
func (o *InstanceMetrics) SetInstanceName(v string)
SetInstanceName sets field value.
func (*InstanceMetrics) SetMemoryUsage ¶
func (o *InstanceMetrics) SetMemoryUsage(v string)
SetMemoryUsage sets field value.
func (*InstanceMetrics) UnmarshalJSON ¶
func (o *InstanceMetrics) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InstanceMetricsList ¶
type InstanceMetricsList struct {
// instanceMetrics list
Items []InstanceMetrics `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InstanceMetricsList instance metrics list
func NewInstanceMetricsList ¶
func NewInstanceMetricsList(items []InstanceMetrics) *InstanceMetricsList
NewInstanceMetricsList instantiates a new InstanceMetricsList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceMetricsListWithDefaults ¶
func NewInstanceMetricsListWithDefaults() *InstanceMetricsList
NewInstanceMetricsListWithDefaults instantiates a new InstanceMetricsList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InstanceMetricsList) GetItems ¶
func (o *InstanceMetricsList) GetItems() []InstanceMetrics
GetItems returns the Items field value.
func (*InstanceMetricsList) GetItemsOk ¶
func (o *InstanceMetricsList) GetItemsOk() (*[]InstanceMetrics, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (InstanceMetricsList) MarshalJSON ¶
func (o InstanceMetricsList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InstanceMetricsList) SetItems ¶
func (o *InstanceMetricsList) SetItems(v []InstanceMetrics)
SetItems sets field value.
func (*InstanceMetricsList) UnmarshalJSON ¶
func (o *InstanceMetricsList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InstanceStatus ¶
type InstanceStatus struct {
// The current phase of the cluster
Phase string `json:"phase"`
// A brief reason for the cluster's current phase
Reason *string `json:"reason,omitempty"`
// A human-readable message indicating details about the cluster's current phase
Message *string `json:"message,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InstanceStatus Status for instance
func NewInstanceStatus ¶
func NewInstanceStatus(phase string) *InstanceStatus
NewInstanceStatus instantiates a new InstanceStatus object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceStatusWithDefaults ¶
func NewInstanceStatusWithDefaults() *InstanceStatus
NewInstanceStatusWithDefaults instantiates a new InstanceStatus object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InstanceStatus) GetMessage ¶
func (o *InstanceStatus) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*InstanceStatus) GetMessageOk ¶
func (o *InstanceStatus) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceStatus) GetPhase ¶
func (o *InstanceStatus) GetPhase() string
GetPhase returns the Phase field value.
func (*InstanceStatus) GetPhaseOk ¶
func (o *InstanceStatus) GetPhaseOk() (*string, bool)
GetPhaseOk returns a tuple with the Phase field value and a boolean to check if the value has been set.
func (*InstanceStatus) GetReason ¶
func (o *InstanceStatus) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*InstanceStatus) GetReasonOk ¶
func (o *InstanceStatus) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceStatus) HasMessage ¶
func (o *InstanceStatus) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*InstanceStatus) HasReason ¶
func (o *InstanceStatus) HasReason() bool
HasReason returns a boolean if a field has been set.
func (InstanceStatus) MarshalJSON ¶
func (o InstanceStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InstanceStatus) SetMessage ¶
func (o *InstanceStatus) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*InstanceStatus) SetPhase ¶
func (o *InstanceStatus) SetPhase(v string)
SetPhase sets field value.
func (*InstanceStatus) SetReason ¶
func (o *InstanceStatus) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*InstanceStatus) UnmarshalJSON ¶
func (o *InstanceStatus) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InstanceStorageItem ¶
type InstanceStorageItem struct {
// Specify the name of storage, which must be unique.
Name string `json:"name"`
// Specify the size of storage, the unit is Gi.
Size string `json:"size"`
// The name of StorageClass in use
StorageClass *string `json:"storageClass,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InstanceStorageItem Instance storage information
func NewInstanceStorageItem ¶
func NewInstanceStorageItem(name string, size string) *InstanceStorageItem
NewInstanceStorageItem instantiates a new InstanceStorageItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInstanceStorageItemWithDefaults ¶
func NewInstanceStorageItemWithDefaults() *InstanceStorageItem
NewInstanceStorageItemWithDefaults instantiates a new InstanceStorageItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InstanceStorageItem) GetName ¶
func (o *InstanceStorageItem) GetName() string
GetName returns the Name field value.
func (*InstanceStorageItem) GetNameOk ¶
func (o *InstanceStorageItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InstanceStorageItem) GetSize ¶
func (o *InstanceStorageItem) GetSize() string
GetSize returns the Size field value.
func (*InstanceStorageItem) GetSizeOk ¶
func (o *InstanceStorageItem) GetSizeOk() (*string, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*InstanceStorageItem) GetStorageClass ¶
func (o *InstanceStorageItem) GetStorageClass() string
GetStorageClass returns the StorageClass field value if set, zero value otherwise.
func (*InstanceStorageItem) GetStorageClassOk ¶
func (o *InstanceStorageItem) GetStorageClassOk() (*string, bool)
GetStorageClassOk returns a tuple with the StorageClass field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InstanceStorageItem) HasStorageClass ¶
func (o *InstanceStorageItem) HasStorageClass() bool
HasStorageClass returns a boolean if a field has been set.
func (InstanceStorageItem) MarshalJSON ¶
func (o InstanceStorageItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InstanceStorageItem) SetName ¶
func (o *InstanceStorageItem) SetName(v string)
SetName sets field value.
func (*InstanceStorageItem) SetSize ¶
func (o *InstanceStorageItem) SetSize(v string)
SetSize sets field value.
func (*InstanceStorageItem) SetStorageClass ¶
func (o *InstanceStorageItem) SetStorageClass(v string)
SetStorageClass gets a reference to the given string and assigns it to the StorageClass field.
func (*InstanceStorageItem) UnmarshalJSON ¶
func (o *InstanceStorageItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IntegerOption ¶
type IntegerOption struct {
Min int32 `json:"min"`
Max int32 `json:"max"`
Default int32 `json:"default"`
Step int32 `json:"step"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewIntegerOption ¶
func NewIntegerOption(min int32, max int32, defaultVar int32, step int32) *IntegerOption
NewIntegerOption instantiates a new IntegerOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIntegerOptionWithDefaults ¶
func NewIntegerOptionWithDefaults() *IntegerOption
NewIntegerOptionWithDefaults instantiates a new IntegerOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IntegerOption) GetDefault ¶
func (o *IntegerOption) GetDefault() int32
GetDefault returns the Default field value.
func (*IntegerOption) GetDefaultOk ¶
func (o *IntegerOption) GetDefaultOk() (*int32, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*IntegerOption) GetMax ¶
func (o *IntegerOption) GetMax() int32
GetMax returns the Max field value.
func (*IntegerOption) GetMaxOk ¶
func (o *IntegerOption) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*IntegerOption) GetMin ¶
func (o *IntegerOption) GetMin() int32
GetMin returns the Min field value.
func (*IntegerOption) GetMinOk ¶
func (o *IntegerOption) GetMinOk() (*int32, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (*IntegerOption) GetStep ¶
func (o *IntegerOption) GetStep() int32
GetStep returns the Step field value.
func (*IntegerOption) GetStepOk ¶
func (o *IntegerOption) GetStepOk() (*int32, bool)
GetStepOk returns a tuple with the Step field value and a boolean to check if the value has been set.
func (IntegerOption) MarshalJSON ¶
func (o IntegerOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IntegerOption) SetDefault ¶
func (o *IntegerOption) SetDefault(v int32)
SetDefault sets field value.
func (*IntegerOption) UnmarshalJSON ¶
func (o *IntegerOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Invitation ¶
type Invitation struct {
// User has accepted or not
Accepted bool `json:"accepted"`
// the created time of the invitation
CreatedAt *time.Time `json:"createdAt,omitempty"`
// The email of the invitee
Email string `json:"email"`
// Expire time of this invitation
ExpireTime time.Time `json:"expireTime"`
// The ID for the invitation
Id string `json:"id"`
// Last email send time
LastEmailTime time.Time `json:"lastEmailTime"`
// The name of the organization, for output only
OrgName string `json:"orgName"`
// The name of the role
RoleName string `json:"roleName"`
// InvitationSender is the User who send the Invitation
Sender *InvitationSender `json:"sender,omitempty"`
// [internal, not for caller display] token of invitation, base64 encoded string including invitation and org ID
Token string `json:"token"`
// the updated time of the invitation
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Invitation Invitation info
func NewInvitation ¶
func NewInvitation(accepted bool, email string, expireTime time.Time, id string, lastEmailTime time.Time, orgName string, roleName string, token string) *Invitation
NewInvitation instantiates a new Invitation object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInvitationWithDefaults ¶
func NewInvitationWithDefaults() *Invitation
NewInvitationWithDefaults instantiates a new Invitation object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Invitation) GetAccepted ¶
func (o *Invitation) GetAccepted() bool
GetAccepted returns the Accepted field value.
func (*Invitation) GetAcceptedOk ¶
func (o *Invitation) GetAcceptedOk() (*bool, bool)
GetAcceptedOk returns a tuple with the Accepted field value and a boolean to check if the value has been set.
func (*Invitation) GetCreatedAt ¶
func (o *Invitation) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Invitation) GetCreatedAtOk ¶
func (o *Invitation) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invitation) GetEmail ¶
func (o *Invitation) GetEmail() string
GetEmail returns the Email field value.
func (*Invitation) GetEmailOk ¶
func (o *Invitation) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*Invitation) GetExpireTime ¶
func (o *Invitation) GetExpireTime() time.Time
GetExpireTime returns the ExpireTime field value.
func (*Invitation) GetExpireTimeOk ¶
func (o *Invitation) GetExpireTimeOk() (*time.Time, bool)
GetExpireTimeOk returns a tuple with the ExpireTime field value and a boolean to check if the value has been set.
func (*Invitation) GetIdOk ¶
func (o *Invitation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Invitation) GetLastEmailTime ¶
func (o *Invitation) GetLastEmailTime() time.Time
GetLastEmailTime returns the LastEmailTime field value.
func (*Invitation) GetLastEmailTimeOk ¶
func (o *Invitation) GetLastEmailTimeOk() (*time.Time, bool)
GetLastEmailTimeOk returns a tuple with the LastEmailTime field value and a boolean to check if the value has been set.
func (*Invitation) GetOrgName ¶
func (o *Invitation) GetOrgName() string
GetOrgName returns the OrgName field value.
func (*Invitation) GetOrgNameOk ¶
func (o *Invitation) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value and a boolean to check if the value has been set.
func (*Invitation) GetRoleName ¶
func (o *Invitation) GetRoleName() string
GetRoleName returns the RoleName field value.
func (*Invitation) GetRoleNameOk ¶
func (o *Invitation) GetRoleNameOk() (*string, bool)
GetRoleNameOk returns a tuple with the RoleName field value and a boolean to check if the value has been set.
func (*Invitation) GetSender ¶
func (o *Invitation) GetSender() InvitationSender
GetSender returns the Sender field value if set, zero value otherwise.
func (*Invitation) GetSenderOk ¶
func (o *Invitation) GetSenderOk() (*InvitationSender, bool)
GetSenderOk returns a tuple with the Sender field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invitation) GetToken ¶
func (o *Invitation) GetToken() string
GetToken returns the Token field value.
func (*Invitation) GetTokenOk ¶
func (o *Invitation) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*Invitation) GetUpdatedAt ¶
func (o *Invitation) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Invitation) GetUpdatedAtOk ¶
func (o *Invitation) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Invitation) HasCreatedAt ¶
func (o *Invitation) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*Invitation) HasSender ¶
func (o *Invitation) HasSender() bool
HasSender returns a boolean if a field has been set.
func (*Invitation) HasUpdatedAt ¶
func (o *Invitation) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (Invitation) MarshalJSON ¶
func (o Invitation) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Invitation) SetAccepted ¶
func (o *Invitation) SetAccepted(v bool)
SetAccepted sets field value.
func (*Invitation) SetCreatedAt ¶
func (o *Invitation) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Invitation) SetExpireTime ¶
func (o *Invitation) SetExpireTime(v time.Time)
SetExpireTime sets field value.
func (*Invitation) SetLastEmailTime ¶
func (o *Invitation) SetLastEmailTime(v time.Time)
SetLastEmailTime sets field value.
func (*Invitation) SetOrgName ¶
func (o *Invitation) SetOrgName(v string)
SetOrgName sets field value.
func (*Invitation) SetRoleName ¶
func (o *Invitation) SetRoleName(v string)
SetRoleName sets field value.
func (*Invitation) SetSender ¶
func (o *Invitation) SetSender(v InvitationSender)
SetSender gets a reference to the given InvitationSender and assigns it to the Sender field.
func (*Invitation) SetUpdatedAt ¶
func (o *Invitation) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Invitation) UnmarshalJSON ¶
func (o *Invitation) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InvitationApi ¶
InvitationApi service type
func NewInvitationApi ¶
func NewInvitationApi(client *common.APIClient) *InvitationApi
NewInvitationApi Returns NewInvitationApi.
func (*InvitationApi) AcceptInvitation ¶
func (a *InvitationApi) AcceptInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
AcceptInvitation Accept invitation. partially update the specified Invitation
func (*InvitationApi) CreateInvitation ¶
func (a *InvitationApi) CreateInvitation(ctx _context.Context, body InvitationCreate, o ...CreateInvitationOptionalParameters) (Invitation, *_nethttp.Response, error)
CreateInvitation Create invitation. create a Invitation
func (*InvitationApi) DeleteInvitation ¶
func (a *InvitationApi) DeleteInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
DeleteInvitation Delete Invitation. delete the specified Invitation for organization admin
func (*InvitationApi) ListInvitation ¶
func (a *InvitationApi) ListInvitation(ctx _context.Context, o ...ListInvitationOptionalParameters) (InvitationList, *_nethttp.Response, error)
ListInvitation List invitations. list the Invitation of specified Org or User
func (*InvitationApi) ReadInvitation ¶
func (a *InvitationApi) ReadInvitation(ctx _context.Context, invitationId string) (Invitation, *_nethttp.Response, error)
ReadInvitation Get Invitation. read the specified Invitation for organization admin or invitee
func (*InvitationApi) RejectInvitation ¶
func (a *InvitationApi) RejectInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
RejectInvitation Reject invitation. partially update the specified Invitation
func (*InvitationApi) ResendInvitation ¶
func (a *InvitationApi) ResendInvitation(ctx _context.Context, invitationId string) (*_nethttp.Response, error)
ResendInvitation Resend invitation. partially update the specified Invitation
type InvitationCreate ¶
type InvitationCreate struct {
// The email of the invitee
Email string `json:"email"`
// The name of the organization, for output only
OrgName string `json:"orgName"`
// The name of the role
RoleName string `json:"roleName"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InvitationCreate Invitation create payload
func NewInvitationCreate ¶
func NewInvitationCreate(email string, orgName string, roleName string) *InvitationCreate
NewInvitationCreate instantiates a new InvitationCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInvitationCreateWithDefaults ¶
func NewInvitationCreateWithDefaults() *InvitationCreate
NewInvitationCreateWithDefaults instantiates a new InvitationCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InvitationCreate) GetEmail ¶
func (o *InvitationCreate) GetEmail() string
GetEmail returns the Email field value.
func (*InvitationCreate) GetEmailOk ¶
func (o *InvitationCreate) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*InvitationCreate) GetOrgName ¶
func (o *InvitationCreate) GetOrgName() string
GetOrgName returns the OrgName field value.
func (*InvitationCreate) GetOrgNameOk ¶
func (o *InvitationCreate) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value and a boolean to check if the value has been set.
func (*InvitationCreate) GetRoleName ¶
func (o *InvitationCreate) GetRoleName() string
GetRoleName returns the RoleName field value.
func (*InvitationCreate) GetRoleNameOk ¶
func (o *InvitationCreate) GetRoleNameOk() (*string, bool)
GetRoleNameOk returns a tuple with the RoleName field value and a boolean to check if the value has been set.
func (InvitationCreate) MarshalJSON ¶
func (o InvitationCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InvitationCreate) SetEmail ¶
func (o *InvitationCreate) SetEmail(v string)
SetEmail sets field value.
func (*InvitationCreate) SetOrgName ¶
func (o *InvitationCreate) SetOrgName(v string)
SetOrgName sets field value.
func (*InvitationCreate) SetRoleName ¶
func (o *InvitationCreate) SetRoleName(v string)
SetRoleName sets field value.
func (*InvitationCreate) UnmarshalJSON ¶
func (o *InvitationCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InvitationList ¶
type InvitationList struct {
// Items is the list of Invitation objects in the list
Items []Invitation `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InvitationList InvitationList is a list of invitations
func NewInvitationList ¶
func NewInvitationList(items []Invitation) *InvitationList
NewInvitationList instantiates a new InvitationList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInvitationListWithDefaults ¶
func NewInvitationListWithDefaults() *InvitationList
NewInvitationListWithDefaults instantiates a new InvitationList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InvitationList) GetItems ¶
func (o *InvitationList) GetItems() []Invitation
GetItems returns the Items field value.
func (*InvitationList) GetItemsOk ¶
func (o *InvitationList) GetItemsOk() (*[]Invitation, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*InvitationList) GetPageResult ¶
func (o *InvitationList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*InvitationList) GetPageResultOk ¶
func (o *InvitationList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvitationList) HasPageResult ¶
func (o *InvitationList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (InvitationList) MarshalJSON ¶
func (o InvitationList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InvitationList) SetItems ¶
func (o *InvitationList) SetItems(v []Invitation)
SetItems sets field value.
func (*InvitationList) SetPageResult ¶
func (o *InvitationList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*InvitationList) UnmarshalJSON ¶
func (o *InvitationList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type InvitationSender ¶
type InvitationSender struct {
// The email of the User
Email *string `json:"email,omitempty"`
// The ID of the User
Id *string `json:"id,omitempty"`
// The name of the User
Name *string `json:"name,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
InvitationSender InvitationSender is the User who send the Invitation
func NewInvitationSender ¶
func NewInvitationSender() *InvitationSender
NewInvitationSender instantiates a new InvitationSender object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewInvitationSenderWithDefaults ¶
func NewInvitationSenderWithDefaults() *InvitationSender
NewInvitationSenderWithDefaults instantiates a new InvitationSender object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*InvitationSender) GetEmail ¶
func (o *InvitationSender) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*InvitationSender) GetEmailOk ¶
func (o *InvitationSender) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvitationSender) GetId ¶
func (o *InvitationSender) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*InvitationSender) GetIdOk ¶
func (o *InvitationSender) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvitationSender) GetName ¶
func (o *InvitationSender) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*InvitationSender) GetNameOk ¶
func (o *InvitationSender) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*InvitationSender) HasEmail ¶
func (o *InvitationSender) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*InvitationSender) HasId ¶
func (o *InvitationSender) HasId() bool
HasId returns a boolean if a field has been set.
func (*InvitationSender) HasName ¶
func (o *InvitationSender) HasName() bool
HasName returns a boolean if a field has been set.
func (InvitationSender) MarshalJSON ¶
func (o InvitationSender) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*InvitationSender) SetEmail ¶
func (o *InvitationSender) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*InvitationSender) SetId ¶
func (o *InvitationSender) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*InvitationSender) SetName ¶
func (o *InvitationSender) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*InvitationSender) UnmarshalJSON ¶
func (o *InvitationSender) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IpWhitelist ¶
type IpWhitelist struct {
// ID of the whitelist
Id string `json:"id"`
// Name of the whitelist
Name string `json:"name"`
// Description
Description *string `json:"description,omitempty"`
// Whitelist IP Addresses
Addresses []string `json:"addresses"`
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
CreatedAt *time.Time `json:"createdAt,omitempty"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
IpWhitelist whitelist
func NewIpWhitelist ¶
func NewIpWhitelist(id string, name string, addresses []string) *IpWhitelist
NewIpWhitelist instantiates a new IpWhitelist object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIpWhitelistWithDefaults ¶
func NewIpWhitelistWithDefaults() *IpWhitelist
NewIpWhitelistWithDefaults instantiates a new IpWhitelist object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IpWhitelist) GetAddresses ¶
func (o *IpWhitelist) GetAddresses() []string
GetAddresses returns the Addresses field value.
func (*IpWhitelist) GetAddressesOk ¶
func (o *IpWhitelist) GetAddressesOk() (*[]string, bool)
GetAddressesOk returns a tuple with the Addresses field value and a boolean to check if the value has been set.
func (*IpWhitelist) GetCreatedAt ¶
func (o *IpWhitelist) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*IpWhitelist) GetCreatedAtOk ¶
func (o *IpWhitelist) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpWhitelist) GetDescription ¶
func (o *IpWhitelist) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*IpWhitelist) GetDescriptionOk ¶
func (o *IpWhitelist) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpWhitelist) GetIdOk ¶
func (o *IpWhitelist) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*IpWhitelist) GetName ¶
func (o *IpWhitelist) GetName() string
GetName returns the Name field value.
func (*IpWhitelist) GetNameOk ¶
func (o *IpWhitelist) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*IpWhitelist) GetUpdatedAt ¶
func (o *IpWhitelist) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*IpWhitelist) GetUpdatedAtOk ¶
func (o *IpWhitelist) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpWhitelist) HasCreatedAt ¶
func (o *IpWhitelist) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*IpWhitelist) HasDescription ¶
func (o *IpWhitelist) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*IpWhitelist) HasUpdatedAt ¶
func (o *IpWhitelist) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (IpWhitelist) MarshalJSON ¶
func (o IpWhitelist) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IpWhitelist) SetAddresses ¶
func (o *IpWhitelist) SetAddresses(v []string)
SetAddresses sets field value.
func (*IpWhitelist) SetCreatedAt ¶
func (o *IpWhitelist) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*IpWhitelist) SetDescription ¶
func (o *IpWhitelist) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*IpWhitelist) SetUpdatedAt ¶
func (o *IpWhitelist) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*IpWhitelist) UnmarshalJSON ¶
func (o *IpWhitelist) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type IpWhitelistApi ¶
IpWhitelistApi service type
func NewIpWhitelistApi ¶
func NewIpWhitelistApi(client *common.APIClient) *IpWhitelistApi
NewIpWhitelistApi Returns NewIpWhitelistApi.
func (*IpWhitelistApi) CreateIPWhitelist ¶
func (a *IpWhitelistApi) CreateIPWhitelist(ctx _context.Context, orgName string, clusterName string, body interface{}) (IpWhitelist, *_nethttp.Response, error)
CreateIPWhitelist Create IP whitelist.
func (*IpWhitelistApi) ListIPWhitelist ¶
func (a *IpWhitelistApi) ListIPWhitelist(ctx _context.Context, orgName string, clusterName string) (IpWhitelistList, *_nethttp.Response, error)
ListIPWhitelist List IP whitelists.
func (*IpWhitelistApi) UpdateIPWhitelist ¶
func (a *IpWhitelistApi) UpdateIPWhitelist(ctx _context.Context, orgName string, clusterName string, ipWhitelistId string, body interface{}) (IpWhitelist, *_nethttp.Response, error)
UpdateIPWhitelist Update IP whitelist.
type IpWhitelistList ¶
type IpWhitelistList struct {
// Items is the list of whitelist objects in the Cluster
Items []IpWhitelist `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewIpWhitelistList ¶
func NewIpWhitelistList(items []IpWhitelist) *IpWhitelistList
NewIpWhitelistList instantiates a new IpWhitelistList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewIpWhitelistListWithDefaults ¶
func NewIpWhitelistListWithDefaults() *IpWhitelistList
NewIpWhitelistListWithDefaults instantiates a new IpWhitelistList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*IpWhitelistList) GetItems ¶
func (o *IpWhitelistList) GetItems() []IpWhitelist
GetItems returns the Items field value.
func (*IpWhitelistList) GetItemsOk ¶
func (o *IpWhitelistList) GetItemsOk() (*[]IpWhitelist, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (IpWhitelistList) MarshalJSON ¶
func (o IpWhitelistList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*IpWhitelistList) SetItems ¶
func (o *IpWhitelistList) SetItems(v []IpWhitelist)
SetItems sets field value.
func (*IpWhitelistList) UnmarshalJSON ¶
func (o *IpWhitelistList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type KubernetesManifestList ¶
type KubernetesManifestList struct {
// Items is the list of Kubernetes objects in the list
KubernetesManifests []map[string]interface{} `json:"kubernetesManifests,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
KubernetesManifestList KubernetesManifestList is the list of Kubernetes objects in the list
func NewKubernetesManifestList ¶
func NewKubernetesManifestList() *KubernetesManifestList
NewKubernetesManifestList instantiates a new KubernetesManifestList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewKubernetesManifestListWithDefaults ¶
func NewKubernetesManifestListWithDefaults() *KubernetesManifestList
NewKubernetesManifestListWithDefaults instantiates a new KubernetesManifestList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*KubernetesManifestList) GetKubernetesManifests ¶
func (o *KubernetesManifestList) GetKubernetesManifests() []map[string]interface{}
GetKubernetesManifests returns the KubernetesManifests field value if set, zero value otherwise.
func (*KubernetesManifestList) GetKubernetesManifestsOk ¶
func (o *KubernetesManifestList) GetKubernetesManifestsOk() (*[]map[string]interface{}, bool)
GetKubernetesManifestsOk returns a tuple with the KubernetesManifests field value if set, nil otherwise and a boolean to check if the value has been set.
func (*KubernetesManifestList) HasKubernetesManifests ¶
func (o *KubernetesManifestList) HasKubernetesManifests() bool
HasKubernetesManifests returns a boolean if a field has been set.
func (KubernetesManifestList) MarshalJSON ¶
func (o KubernetesManifestList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*KubernetesManifestList) SetKubernetesManifests ¶
func (o *KubernetesManifestList) SetKubernetesManifests(v []map[string]interface{})
SetKubernetesManifests gets a reference to the given []map[string]interface{} and assigns it to the KubernetesManifests field.
func (*KubernetesManifestList) UnmarshalJSON ¶
func (o *KubernetesManifestList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LicenseOption ¶
type LicenseOption struct {
Component string `json:"component"`
OpsDefName string `json:"opsDefName"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewLicenseOption ¶
func NewLicenseOption(component string, opsDefName string) *LicenseOption
NewLicenseOption instantiates a new LicenseOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLicenseOptionWithDefaults ¶
func NewLicenseOptionWithDefaults() *LicenseOption
NewLicenseOptionWithDefaults instantiates a new LicenseOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LicenseOption) GetComponent ¶
func (o *LicenseOption) GetComponent() string
GetComponent returns the Component field value.
func (*LicenseOption) GetComponentOk ¶
func (o *LicenseOption) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*LicenseOption) GetOpsDefName ¶
func (o *LicenseOption) GetOpsDefName() string
GetOpsDefName returns the OpsDefName field value.
func (*LicenseOption) GetOpsDefNameOk ¶
func (o *LicenseOption) GetOpsDefNameOk() (*string, bool)
GetOpsDefNameOk returns a tuple with the OpsDefName field value and a boolean to check if the value has been set.
func (LicenseOption) MarshalJSON ¶
func (o LicenseOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LicenseOption) SetComponent ¶
func (o *LicenseOption) SetComponent(v string)
SetComponent sets field value.
func (*LicenseOption) SetOpsDefName ¶
func (o *LicenseOption) SetOpsDefName(v string)
SetOpsDefName sets field value.
func (*LicenseOption) UnmarshalJSON ¶
func (o *LicenseOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ListAccountsOptionalParameters ¶
type ListAccountsOptionalParameters struct {
IncludeRoot *bool
}
ListAccountsOptionalParameters holds optional parameters for ListAccounts.
func NewListAccountsOptionalParameters ¶
func NewListAccountsOptionalParameters() *ListAccountsOptionalParameters
NewListAccountsOptionalParameters creates an empty struct for parameters.
func (*ListAccountsOptionalParameters) WithIncludeRoot ¶
func (r *ListAccountsOptionalParameters) WithIncludeRoot(includeRoot bool) *ListAccountsOptionalParameters
WithIncludeRoot sets the corresponding parameter name and returns the struct.
type ListAlertMetricsOptionalParameters ¶
type ListAlertMetricsOptionalParameters struct {
Category *string
}
ListAlertMetricsOptionalParameters holds optional parameters for ListAlertMetrics.
func NewListAlertMetricsOptionalParameters ¶
func NewListAlertMetricsOptionalParameters() *ListAlertMetricsOptionalParameters
NewListAlertMetricsOptionalParameters creates an empty struct for parameters.
func (*ListAlertMetricsOptionalParameters) WithCategory ¶
func (r *ListAlertMetricsOptionalParameters) WithCategory(category string) *ListAlertMetricsOptionalParameters
WithCategory sets the corresponding parameter name and returns the struct.
type ListAlertReceiversOptionalParameters ¶
type ListAlertReceiversOptionalParameters struct {
Category *AlertReceiverCategory
}
ListAlertReceiversOptionalParameters holds optional parameters for ListAlertReceivers.
func NewListAlertReceiversOptionalParameters ¶
func NewListAlertReceiversOptionalParameters() *ListAlertReceiversOptionalParameters
NewListAlertReceiversOptionalParameters creates an empty struct for parameters.
func (*ListAlertReceiversOptionalParameters) WithCategory ¶
func (r *ListAlertReceiversOptionalParameters) WithCategory(category AlertReceiverCategory) *ListAlertReceiversOptionalParameters
WithCategory sets the corresponding parameter name and returns the struct.
type ListBackupsOptionalParameters ¶
type ListBackupsOptionalParameters struct {
ClusterName *string
ClusterId *string
BackupRepo *string
FetchWithDeletedCluster *bool
WithDeletedBackups *bool
BackupType *string
ComponentName *string
}
ListBackupsOptionalParameters holds optional parameters for ListBackups.
func NewListBackupsOptionalParameters ¶
func NewListBackupsOptionalParameters() *ListBackupsOptionalParameters
NewListBackupsOptionalParameters creates an empty struct for parameters.
func (*ListBackupsOptionalParameters) WithBackupRepo ¶
func (r *ListBackupsOptionalParameters) WithBackupRepo(backupRepo string) *ListBackupsOptionalParameters
WithBackupRepo sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithBackupType ¶
func (r *ListBackupsOptionalParameters) WithBackupType(backupType string) *ListBackupsOptionalParameters
WithBackupType sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithClusterId ¶
func (r *ListBackupsOptionalParameters) WithClusterId(clusterId string) *ListBackupsOptionalParameters
WithClusterId sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithClusterName ¶
func (r *ListBackupsOptionalParameters) WithClusterName(clusterName string) *ListBackupsOptionalParameters
WithClusterName sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithComponentName ¶
func (r *ListBackupsOptionalParameters) WithComponentName(componentName string) *ListBackupsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithFetchWithDeletedCluster ¶
func (r *ListBackupsOptionalParameters) WithFetchWithDeletedCluster(fetchWithDeletedCluster bool) *ListBackupsOptionalParameters
WithFetchWithDeletedCluster sets the corresponding parameter name and returns the struct.
func (*ListBackupsOptionalParameters) WithWithDeletedBackups ¶
func (r *ListBackupsOptionalParameters) WithWithDeletedBackups(withDeletedBackups bool) *ListBackupsOptionalParameters
WithWithDeletedBackups sets the corresponding parameter name and returns the struct.
type ListBenchmarkOptionalParameters ¶
ListBenchmarkOptionalParameters holds optional parameters for ListBenchmark.
func NewListBenchmarkOptionalParameters ¶
func NewListBenchmarkOptionalParameters() *ListBenchmarkOptionalParameters
NewListBenchmarkOptionalParameters creates an empty struct for parameters.
func (*ListBenchmarkOptionalParameters) WithBenchType ¶
func (r *ListBenchmarkOptionalParameters) WithBenchType(benchType string) *ListBenchmarkOptionalParameters
WithBenchType sets the corresponding parameter name and returns the struct.
func (*ListBenchmarkOptionalParameters) WithCluster ¶
func (r *ListBenchmarkOptionalParameters) WithCluster(cluster string) *ListBenchmarkOptionalParameters
WithCluster sets the corresponding parameter name and returns the struct.
func (*ListBenchmarkOptionalParameters) WithClusterId ¶
func (r *ListBenchmarkOptionalParameters) WithClusterId(clusterId string) *ListBenchmarkOptionalParameters
WithClusterId sets the corresponding parameter name and returns the struct.
type ListClusterOptionalParameters ¶
type ListClusterOptionalParameters struct {
ClusterDefinition *string
EnvironmentName *string
EnvironmentType *EnvironmentType
TagKey *string
TagValue *string
TagKeys *[]string
TagValues *[]string
LicenseId *int32
}
ListClusterOptionalParameters holds optional parameters for ListCluster.
func NewListClusterOptionalParameters ¶
func NewListClusterOptionalParameters() *ListClusterOptionalParameters
NewListClusterOptionalParameters creates an empty struct for parameters.
func (*ListClusterOptionalParameters) WithClusterDefinition ¶
func (r *ListClusterOptionalParameters) WithClusterDefinition(clusterDefinition string) *ListClusterOptionalParameters
WithClusterDefinition sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithEnvironmentName ¶
func (r *ListClusterOptionalParameters) WithEnvironmentName(environmentName string) *ListClusterOptionalParameters
WithEnvironmentName sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithEnvironmentType ¶
func (r *ListClusterOptionalParameters) WithEnvironmentType(environmentType EnvironmentType) *ListClusterOptionalParameters
WithEnvironmentType sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithLicenseId ¶
func (r *ListClusterOptionalParameters) WithLicenseId(licenseId int32) *ListClusterOptionalParameters
WithLicenseId sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithTagKey ¶
func (r *ListClusterOptionalParameters) WithTagKey(tagKey string) *ListClusterOptionalParameters
WithTagKey sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithTagKeys ¶
func (r *ListClusterOptionalParameters) WithTagKeys(tagKeys []string) *ListClusterOptionalParameters
WithTagKeys sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithTagValue ¶
func (r *ListClusterOptionalParameters) WithTagValue(tagValue string) *ListClusterOptionalParameters
WithTagValue sets the corresponding parameter name and returns the struct.
func (*ListClusterOptionalParameters) WithTagValues ¶
func (r *ListClusterOptionalParameters) WithTagValues(tagValues []string) *ListClusterOptionalParameters
WithTagValues sets the corresponding parameter name and returns the struct.
type ListConfigurationsOptionalParameters ¶
type ListConfigurationsOptionalParameters struct {
Component *string
}
ListConfigurationsOptionalParameters holds optional parameters for ListConfigurations.
func NewListConfigurationsOptionalParameters ¶
func NewListConfigurationsOptionalParameters() *ListConfigurationsOptionalParameters
NewListConfigurationsOptionalParameters creates an empty struct for parameters.
func (*ListConfigurationsOptionalParameters) WithComponent ¶
func (r *ListConfigurationsOptionalParameters) WithComponent(component string) *ListConfigurationsOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
type ListEndpointsOptionalParameters ¶
ListEndpointsOptionalParameters holds optional parameters for ListEndpoints.
func NewListEndpointsOptionalParameters ¶
func NewListEndpointsOptionalParameters() *ListEndpointsOptionalParameters
NewListEndpointsOptionalParameters creates an empty struct for parameters.
func (*ListEndpointsOptionalParameters) WithIncludeClusterIp ¶
func (r *ListEndpointsOptionalParameters) WithIncludeClusterIp(includeClusterIp bool) *ListEndpointsOptionalParameters
WithIncludeClusterIp sets the corresponding parameter name and returns the struct.
func (*ListEndpointsOptionalParameters) WithNodePortHostCount ¶
func (r *ListEndpointsOptionalParameters) WithNodePortHostCount(nodePortHostCount int32) *ListEndpointsOptionalParameters
WithNodePortHostCount sets the corresponding parameter name and returns the struct.
type ListEngineLicensesOptionalParameters ¶
type ListEngineLicensesOptionalParameters struct {
EngineName *string
}
ListEngineLicensesOptionalParameters holds optional parameters for ListEngineLicenses.
func NewListEngineLicensesOptionalParameters ¶
func NewListEngineLicensesOptionalParameters() *ListEngineLicensesOptionalParameters
NewListEngineLicensesOptionalParameters creates an empty struct for parameters.
func (*ListEngineLicensesOptionalParameters) WithEngineName ¶
func (r *ListEngineLicensesOptionalParameters) WithEngineName(engineName string) *ListEngineLicensesOptionalParameters
WithEngineName sets the corresponding parameter name and returns the struct.
type ListEnginesInEnvOptionalParameters ¶
type ListEnginesInEnvOptionalParameters struct {
Name *string
Type *EngineType
Version *string
Provider *string
All *bool
}
ListEnginesInEnvOptionalParameters holds optional parameters for ListEnginesInEnv.
func NewListEnginesInEnvOptionalParameters ¶
func NewListEnginesInEnvOptionalParameters() *ListEnginesInEnvOptionalParameters
NewListEnginesInEnvOptionalParameters creates an empty struct for parameters.
func (*ListEnginesInEnvOptionalParameters) WithAll ¶
func (r *ListEnginesInEnvOptionalParameters) WithAll(all bool) *ListEnginesInEnvOptionalParameters
WithAll sets the corresponding parameter name and returns the struct.
func (*ListEnginesInEnvOptionalParameters) WithName ¶
func (r *ListEnginesInEnvOptionalParameters) WithName(name string) *ListEnginesInEnvOptionalParameters
WithName sets the corresponding parameter name and returns the struct.
func (*ListEnginesInEnvOptionalParameters) WithProvider ¶
func (r *ListEnginesInEnvOptionalParameters) WithProvider(provider string) *ListEnginesInEnvOptionalParameters
WithProvider sets the corresponding parameter name and returns the struct.
func (*ListEnginesInEnvOptionalParameters) WithType ¶
func (r *ListEnginesInEnvOptionalParameters) WithType(typeVar EngineType) *ListEnginesInEnvOptionalParameters
WithType sets the corresponding parameter name and returns the struct.
func (*ListEnginesInEnvOptionalParameters) WithVersion ¶
func (r *ListEnginesInEnvOptionalParameters) WithVersion(version string) *ListEnginesInEnvOptionalParameters
WithVersion sets the corresponding parameter name and returns the struct.
type ListEnginesInOrgOptionalParameters ¶
type ListEnginesInOrgOptionalParameters struct {
EnvironmentName *string
Name *string
Type *EngineType
Version *string
Provider *string
}
ListEnginesInOrgOptionalParameters holds optional parameters for ListEnginesInOrg.
func NewListEnginesInOrgOptionalParameters ¶
func NewListEnginesInOrgOptionalParameters() *ListEnginesInOrgOptionalParameters
NewListEnginesInOrgOptionalParameters creates an empty struct for parameters.
func (*ListEnginesInOrgOptionalParameters) WithEnvironmentName ¶
func (r *ListEnginesInOrgOptionalParameters) WithEnvironmentName(environmentName string) *ListEnginesInOrgOptionalParameters
WithEnvironmentName sets the corresponding parameter name and returns the struct.
func (*ListEnginesInOrgOptionalParameters) WithName ¶
func (r *ListEnginesInOrgOptionalParameters) WithName(name string) *ListEnginesInOrgOptionalParameters
WithName sets the corresponding parameter name and returns the struct.
func (*ListEnginesInOrgOptionalParameters) WithProvider ¶
func (r *ListEnginesInOrgOptionalParameters) WithProvider(provider string) *ListEnginesInOrgOptionalParameters
WithProvider sets the corresponding parameter name and returns the struct.
func (*ListEnginesInOrgOptionalParameters) WithType ¶
func (r *ListEnginesInOrgOptionalParameters) WithType(typeVar EngineType) *ListEnginesInOrgOptionalParameters
WithType sets the corresponding parameter name and returns the struct.
func (*ListEnginesInOrgOptionalParameters) WithVersion ¶
func (r *ListEnginesInOrgOptionalParameters) WithVersion(version string) *ListEnginesInOrgOptionalParameters
WithVersion sets the corresponding parameter name and returns the struct.
type ListFeatureOptionalParameters ¶
type ListFeatureOptionalParameters struct {
Group *string
}
ListFeatureOptionalParameters holds optional parameters for ListFeature.
func NewListFeatureOptionalParameters ¶
func NewListFeatureOptionalParameters() *ListFeatureOptionalParameters
NewListFeatureOptionalParameters creates an empty struct for parameters.
func (*ListFeatureOptionalParameters) WithGroup ¶
func (r *ListFeatureOptionalParameters) WithGroup(group string) *ListFeatureOptionalParameters
WithGroup sets the corresponding parameter name and returns the struct.
type ListInspectionScriptsOptionalParameters ¶
type ListInspectionScriptsOptionalParameters struct {
Engine *string
}
ListInspectionScriptsOptionalParameters holds optional parameters for ListInspectionScripts.
func NewListInspectionScriptsOptionalParameters ¶
func NewListInspectionScriptsOptionalParameters() *ListInspectionScriptsOptionalParameters
NewListInspectionScriptsOptionalParameters creates an empty struct for parameters.
func (*ListInspectionScriptsOptionalParameters) WithEngine ¶
func (r *ListInspectionScriptsOptionalParameters) WithEngine(engine string) *ListInspectionScriptsOptionalParameters
WithEngine sets the corresponding parameter name and returns the struct.
type ListInspectionsOptionalParameters ¶
ListInspectionsOptionalParameters holds optional parameters for ListInspections.
func NewListInspectionsOptionalParameters ¶
func NewListInspectionsOptionalParameters() *ListInspectionsOptionalParameters
NewListInspectionsOptionalParameters creates an empty struct for parameters.
func (*ListInspectionsOptionalParameters) WithClusterId ¶
func (r *ListInspectionsOptionalParameters) WithClusterId(clusterId string) *ListInspectionsOptionalParameters
WithClusterId sets the corresponding parameter name and returns the struct.
func (*ListInspectionsOptionalParameters) WithTaskId ¶
func (r *ListInspectionsOptionalParameters) WithTaskId(taskId string) *ListInspectionsOptionalParameters
WithTaskId sets the corresponding parameter name and returns the struct.
type ListInvitationOptionalParameters ¶
type ListInvitationOptionalParameters struct {
OrgName *string
UserId *string
PageToken *string
PageSize *string
}
ListInvitationOptionalParameters holds optional parameters for ListInvitation.
func NewListInvitationOptionalParameters ¶
func NewListInvitationOptionalParameters() *ListInvitationOptionalParameters
NewListInvitationOptionalParameters creates an empty struct for parameters.
func (*ListInvitationOptionalParameters) WithOrgName ¶
func (r *ListInvitationOptionalParameters) WithOrgName(orgName string) *ListInvitationOptionalParameters
WithOrgName sets the corresponding parameter name and returns the struct.
func (*ListInvitationOptionalParameters) WithPageSize ¶
func (r *ListInvitationOptionalParameters) WithPageSize(pageSize string) *ListInvitationOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListInvitationOptionalParameters) WithPageToken ¶
func (r *ListInvitationOptionalParameters) WithPageToken(pageToken string) *ListInvitationOptionalParameters
WithPageToken sets the corresponding parameter name and returns the struct.
func (*ListInvitationOptionalParameters) WithUserId ¶
func (r *ListInvitationOptionalParameters) WithUserId(userId string) *ListInvitationOptionalParameters
WithUserId sets the corresponding parameter name and returns the struct.
type ListOrgMemberOptionalParameters ¶
ListOrgMemberOptionalParameters holds optional parameters for ListOrgMember.
func NewListOrgMemberOptionalParameters ¶
func NewListOrgMemberOptionalParameters() *ListOrgMemberOptionalParameters
NewListOrgMemberOptionalParameters creates an empty struct for parameters.
func (*ListOrgMemberOptionalParameters) WithPageSize ¶
func (r *ListOrgMemberOptionalParameters) WithPageSize(pageSize string) *ListOrgMemberOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListOrgMemberOptionalParameters) WithPageToken ¶
func (r *ListOrgMemberOptionalParameters) WithPageToken(pageToken string) *ListOrgMemberOptionalParameters
WithPageToken sets the corresponding parameter name and returns the struct.
type ListOrgOptionalParameters ¶
ListOrgOptionalParameters holds optional parameters for ListOrg.
func NewListOrgOptionalParameters ¶
func NewListOrgOptionalParameters() *ListOrgOptionalParameters
NewListOrgOptionalParameters creates an empty struct for parameters.
func (*ListOrgOptionalParameters) WithPageSize ¶
func (r *ListOrgOptionalParameters) WithPageSize(pageSize string) *ListOrgOptionalParameters
WithPageSize sets the corresponding parameter name and returns the struct.
func (*ListOrgOptionalParameters) WithPageToken ¶
func (r *ListOrgOptionalParameters) WithPageToken(pageToken string) *ListOrgOptionalParameters
WithPageToken sets the corresponding parameter name and returns the struct.
type ListParamTplOptionalParameters ¶
type ListParamTplOptionalParameters struct {
Partition *ParamTplPartition
Version *string
Component *string
}
ListParamTplOptionalParameters holds optional parameters for ListParamTpl.
func NewListParamTplOptionalParameters ¶
func NewListParamTplOptionalParameters() *ListParamTplOptionalParameters
NewListParamTplOptionalParameters creates an empty struct for parameters.
func (*ListParamTplOptionalParameters) WithComponent ¶
func (r *ListParamTplOptionalParameters) WithComponent(component string) *ListParamTplOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
func (*ListParamTplOptionalParameters) WithPartition ¶
func (r *ListParamTplOptionalParameters) WithPartition(partition ParamTplPartition) *ListParamTplOptionalParameters
WithPartition sets the corresponding parameter name and returns the struct.
func (*ListParamTplOptionalParameters) WithVersion ¶
func (r *ListParamTplOptionalParameters) WithVersion(version string) *ListParamTplOptionalParameters
WithVersion sets the corresponding parameter name and returns the struct.
type ListParameterSpecsOptionalParameters ¶
type ListParameterSpecsOptionalParameters struct {
Component *string
}
ListParameterSpecsOptionalParameters holds optional parameters for ListParameterSpecs.
func NewListParameterSpecsOptionalParameters ¶
func NewListParameterSpecsOptionalParameters() *ListParameterSpecsOptionalParameters
NewListParameterSpecsOptionalParameters creates an empty struct for parameters.
func (*ListParameterSpecsOptionalParameters) WithComponent ¶
func (r *ListParameterSpecsOptionalParameters) WithComponent(component string) *ListParameterSpecsOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
type ListParametersHistoryOptionalParameters ¶
type ListParametersHistoryOptionalParameters struct {
ParameterName *string
}
ListParametersHistoryOptionalParameters holds optional parameters for ListParametersHistory.
func NewListParametersHistoryOptionalParameters ¶
func NewListParametersHistoryOptionalParameters() *ListParametersHistoryOptionalParameters
NewListParametersHistoryOptionalParameters creates an empty struct for parameters.
func (*ListParametersHistoryOptionalParameters) WithParameterName ¶
func (r *ListParametersHistoryOptionalParameters) WithParameterName(parameterName string) *ListParametersHistoryOptionalParameters
WithParameterName sets the corresponding parameter name and returns the struct.
type ListServiceVersionOptionalParameters ¶
type ListServiceVersionOptionalParameters struct {
Component *string
}
ListServiceVersionOptionalParameters holds optional parameters for ListServiceVersion.
func NewListServiceVersionOptionalParameters ¶
func NewListServiceVersionOptionalParameters() *ListServiceVersionOptionalParameters
NewListServiceVersionOptionalParameters creates an empty struct for parameters.
func (*ListServiceVersionOptionalParameters) WithComponent ¶
func (r *ListServiceVersionOptionalParameters) WithComponent(component string) *ListServiceVersionOptionalParameters
WithComponent sets the corresponding parameter name and returns the struct.
type ListSessionsOptionalParameters ¶
type ListSessionsOptionalParameters struct {
All *string
}
ListSessionsOptionalParameters holds optional parameters for ListSessions.
func NewListSessionsOptionalParameters ¶
func NewListSessionsOptionalParameters() *ListSessionsOptionalParameters
NewListSessionsOptionalParameters creates an empty struct for parameters.
func (*ListSessionsOptionalParameters) WithAll ¶
func (r *ListSessionsOptionalParameters) WithAll(all string) *ListSessionsOptionalParameters
WithAll sets the corresponding parameter name and returns the struct.
type LoadBalancer ¶
type LoadBalancer struct {
// Whether the loadbalancer is available in the environment.
Available LoadBalancerAvailableType `json:"available"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LoadBalancer The load balancer info
func NewLoadBalancer ¶
func NewLoadBalancer(available LoadBalancerAvailableType) *LoadBalancer
NewLoadBalancer instantiates a new LoadBalancer object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLoadBalancerWithDefaults ¶
func NewLoadBalancerWithDefaults() *LoadBalancer
NewLoadBalancerWithDefaults instantiates a new LoadBalancer object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LoadBalancer) GetAvailable ¶
func (o *LoadBalancer) GetAvailable() LoadBalancerAvailableType
GetAvailable returns the Available field value.
func (*LoadBalancer) GetAvailableOk ¶
func (o *LoadBalancer) GetAvailableOk() (*LoadBalancerAvailableType, bool)
GetAvailableOk returns a tuple with the Available field value and a boolean to check if the value has been set.
func (LoadBalancer) MarshalJSON ¶
func (o LoadBalancer) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LoadBalancer) SetAvailable ¶
func (o *LoadBalancer) SetAvailable(v LoadBalancerAvailableType)
SetAvailable sets field value.
func (*LoadBalancer) UnmarshalJSON ¶
func (o *LoadBalancer) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LoadBalancerApi ¶
LoadBalancerApi service type
func NewLoadBalancerApi ¶
func NewLoadBalancerApi(client *common.APIClient) *LoadBalancerApi
NewLoadBalancerApi Returns NewLoadBalancerApi.
func (*LoadBalancerApi) GetLoadBalancer ¶
func (a *LoadBalancerApi) GetLoadBalancer(ctx _context.Context, orgName string, environmentName string) (LoadBalancer, *_nethttp.Response, error)
GetLoadBalancer Get the load balancer info in the environment.
type LoadBalancerAvailableType ¶
type LoadBalancerAvailableType string
LoadBalancerAvailableType Whether the loadbalancer is available in the environment.
const ( LoadBalancerAvailableTypeAvailable LoadBalancerAvailableType = "Available" LoadBalancerAvailableTypeChecking LoadBalancerAvailableType = "Checking" LoadBalancerAvailableTypeUnknown LoadBalancerAvailableType = "Unknown" )
List of LoadBalancerAvailableType.
func NewLoadBalancerAvailableTypeFromValue ¶
func NewLoadBalancerAvailableTypeFromValue(v string) (*LoadBalancerAvailableType, error)
NewLoadBalancerAvailableTypeFromValue returns a pointer to a valid LoadBalancerAvailableType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*LoadBalancerAvailableType) GetAllowedValues ¶
func (v *LoadBalancerAvailableType) GetAllowedValues() []LoadBalancerAvailableType
GetAllowedValues returns the list of possible values.
func (LoadBalancerAvailableType) IsValid ¶
func (v LoadBalancerAvailableType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (LoadBalancerAvailableType) Ptr ¶
func (v LoadBalancerAvailableType) Ptr() *LoadBalancerAvailableType
Ptr returns reference to LoadBalancerAvailableType value.
func (*LoadBalancerAvailableType) UnmarshalJSON ¶
func (v *LoadBalancerAvailableType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type LocalizedDescription ¶
type LocalizedDescription struct {
ZhCn string `json:"zh-CN"`
EnUs string `json:"en-US"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewLocalizedDescription ¶
func NewLocalizedDescription(zhCn string, enUs string) *LocalizedDescription
NewLocalizedDescription instantiates a new LocalizedDescription object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLocalizedDescriptionWithDefaults ¶
func NewLocalizedDescriptionWithDefaults() *LocalizedDescription
NewLocalizedDescriptionWithDefaults instantiates a new LocalizedDescription object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LocalizedDescription) GetEnUs ¶
func (o *LocalizedDescription) GetEnUs() string
GetEnUs returns the EnUs field value.
func (*LocalizedDescription) GetEnUsOk ¶
func (o *LocalizedDescription) GetEnUsOk() (*string, bool)
GetEnUsOk returns a tuple with the EnUs field value and a boolean to check if the value has been set.
func (*LocalizedDescription) GetZhCn ¶
func (o *LocalizedDescription) GetZhCn() string
GetZhCn returns the ZhCn field value.
func (*LocalizedDescription) GetZhCnOk ¶
func (o *LocalizedDescription) GetZhCnOk() (*string, bool)
GetZhCnOk returns a tuple with the ZhCn field value and a boolean to check if the value has been set.
func (LocalizedDescription) MarshalJSON ¶
func (o LocalizedDescription) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*LocalizedDescription) SetEnUs ¶
func (o *LocalizedDescription) SetEnUs(v string)
SetEnUs sets field value.
func (*LocalizedDescription) SetZhCn ¶
func (o *LocalizedDescription) SetZhCn(v string)
SetZhCn sets field value.
func (*LocalizedDescription) UnmarshalJSON ¶
func (o *LocalizedDescription) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type LogDisk ¶
type LogDisk struct {
LogDiskCapacity *string `json:"log_disk_capacity,omitempty"`
LogDiskAssigned *string `json:"log_disk_assigned,omitempty"`
LogDiskInUse *string `json:"log_disk_in_use,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewLogDisk ¶
func NewLogDisk() *LogDisk
NewLogDisk instantiates a new LogDisk object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogDiskWithDefaults ¶
func NewLogDiskWithDefaults() *LogDisk
NewLogDiskWithDefaults instantiates a new LogDisk object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogDisk) GetLogDiskAssigned ¶
GetLogDiskAssigned returns the LogDiskAssigned field value if set, zero value otherwise.
func (*LogDisk) GetLogDiskAssignedOk ¶
GetLogDiskAssignedOk returns a tuple with the LogDiskAssigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogDisk) GetLogDiskCapacity ¶
GetLogDiskCapacity returns the LogDiskCapacity field value if set, zero value otherwise.
func (*LogDisk) GetLogDiskCapacityOk ¶
GetLogDiskCapacityOk returns a tuple with the LogDiskCapacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogDisk) GetLogDiskInUse ¶
GetLogDiskInUse returns the LogDiskInUse field value if set, zero value otherwise.
func (*LogDisk) GetLogDiskInUseOk ¶
GetLogDiskInUseOk returns a tuple with the LogDiskInUse field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LogDisk) HasLogDiskAssigned ¶
HasLogDiskAssigned returns a boolean if a field has been set.
func (*LogDisk) HasLogDiskCapacity ¶
HasLogDiskCapacity returns a boolean if a field has been set.
func (*LogDisk) HasLogDiskInUse ¶
HasLogDiskInUse returns a boolean if a field has been set.
func (LogDisk) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*LogDisk) SetLogDiskAssigned ¶
SetLogDiskAssigned gets a reference to the given string and assigns it to the LogDiskAssigned field.
func (*LogDisk) SetLogDiskCapacity ¶
SetLogDiskCapacity gets a reference to the given string and assigns it to the LogDiskCapacity field.
func (*LogDisk) SetLogDiskInUse ¶
SetLogDiskInUse gets a reference to the given string and assigns it to the LogDiskInUse field.
func (*LogDisk) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type LogOption ¶
type LogOption struct {
Component string `json:"component"`
Error bool `json:"error"`
Slow bool `json:"slow"`
Audit bool `json:"audit"`
Running bool `json:"running"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewLogOption ¶
NewLogOption instantiates a new LogOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewLogOptionWithDefaults ¶
func NewLogOptionWithDefaults() *LogOption
NewLogOptionWithDefaults instantiates a new LogOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*LogOption) GetAuditOk ¶
GetAuditOk returns a tuple with the Audit field value and a boolean to check if the value has been set.
func (*LogOption) GetComponent ¶
GetComponent returns the Component field value.
func (*LogOption) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*LogOption) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*LogOption) GetRunning ¶
GetRunning returns the Running field value.
func (*LogOption) GetRunningOk ¶
GetRunningOk returns a tuple with the Running field value and a boolean to check if the value has been set.
func (*LogOption) GetSlowOk ¶
GetSlowOk returns a tuple with the Slow field value and a boolean to check if the value has been set.
func (LogOption) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*LogOption) SetComponent ¶
SetComponent sets field value.
func (*LogOption) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ManifestType ¶
type ManifestType string
const ( ManifestTypeService ManifestType = "service" ManifestTypeConfigmap ManifestType = "configmap" ManifestTypeSecret ManifestType = "secret" ManifestTypeEvent ManifestType = "event" ManifestTypeOpsrequest ManifestType = "opsrequest" ManifestTypeConfigconstraint ManifestType = "configconstraint" )
List of ManifestType.
func NewManifestTypeFromValue ¶
func NewManifestTypeFromValue(v string) (*ManifestType, error)
NewManifestTypeFromValue returns a pointer to a valid ManifestType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ManifestType) GetAllowedValues ¶
func (v *ManifestType) GetAllowedValues() []ManifestType
GetAllowedValues returns the list of possible values.
func (ManifestType) IsValid ¶
func (v ManifestType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ManifestType) Ptr ¶
func (v ManifestType) Ptr() *ManifestType
Ptr returns reference to ManifestType value.
func (*ManifestType) UnmarshalJSON ¶
func (v *ManifestType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type MarkClusterApi ¶
MarkClusterApi service type
func NewMarkClusterApi ¶
func NewMarkClusterApi(client *common.APIClient) *MarkClusterApi
NewMarkClusterApi Returns NewMarkClusterApi.
func (*MarkClusterApi) MarkClusterRestoreCompleted ¶
func (a *MarkClusterApi) MarkClusterRestoreCompleted(ctx _context.Context, orgName string, clusterName string) (*_nethttp.Response, error)
MarkClusterRestoreCompleted mark cluster to restore completed, usually used when manually repairing or recovering issues.
type MemberApi ¶
MemberApi service type
func NewMemberApi ¶
NewMemberApi Returns NewMemberApi.
func (*MemberApi) AddOrgMember ¶
func (a *MemberApi) AddOrgMember(ctx _context.Context, orgName string, body OrgMemberAdd) (OrgMember, *_nethttp.Response, error)
AddOrgMember Add member. Add organization with specific role
func (*MemberApi) DeleteOrgMember ¶
func (a *MemberApi) DeleteOrgMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
DeleteOrgMember Delete member. delete a Org Member
func (*MemberApi) ListOrgMember ¶
func (a *MemberApi) ListOrgMember(ctx _context.Context, orgName string, o ...ListOrgMemberOptionalParameters) (OrgMemberList, *_nethttp.Response, error)
ListOrgMember List members. list members of the specified Org
func (*MemberApi) ListOrgMemberPermission ¶
func (a *MemberApi) ListOrgMemberPermission(ctx _context.Context, orgName string) (PermissionList, *_nethttp.Response, error)
ListOrgMemberPermission List permissions of a member.
type Memory ¶
type Memory struct {
MemCapacity *string `json:"mem_capacity,omitempty"`
MemoryLimit *string `json:"memory_limit,omitempty"`
MemAssigned *string `json:"mem_assigned,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewMemory ¶
func NewMemory() *Memory
NewMemory instantiates a new Memory object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMemoryWithDefaults ¶
func NewMemoryWithDefaults() *Memory
NewMemoryWithDefaults instantiates a new Memory object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Memory) GetMemAssigned ¶
GetMemAssigned returns the MemAssigned field value if set, zero value otherwise.
func (*Memory) GetMemAssignedOk ¶
GetMemAssignedOk returns a tuple with the MemAssigned field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) GetMemCapacity ¶
GetMemCapacity returns the MemCapacity field value if set, zero value otherwise.
func (*Memory) GetMemCapacityOk ¶
GetMemCapacityOk returns a tuple with the MemCapacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) GetMemoryLimit ¶
GetMemoryLimit returns the MemoryLimit field value if set, zero value otherwise.
func (*Memory) GetMemoryLimitOk ¶
GetMemoryLimitOk returns a tuple with the MemoryLimit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Memory) HasMemAssigned ¶
HasMemAssigned returns a boolean if a field has been set.
func (*Memory) HasMemCapacity ¶
HasMemCapacity returns a boolean if a field has been set.
func (*Memory) HasMemoryLimit ¶
HasMemoryLimit returns a boolean if a field has been set.
func (Memory) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Memory) SetMemAssigned ¶
SetMemAssigned gets a reference to the given string and assigns it to the MemAssigned field.
func (*Memory) SetMemCapacity ¶
SetMemCapacity gets a reference to the given string and assigns it to the MemCapacity field.
func (*Memory) SetMemoryLimit ¶
SetMemoryLimit gets a reference to the given string and assigns it to the MemoryLimit field.
func (*Memory) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type MetricsApi ¶
MetricsApi service type
func NewMetricsApi ¶
func NewMetricsApi(client *common.APIClient) *MetricsApi
NewMetricsApi Returns NewMetricsApi.
func (*MetricsApi) QueryClusterMetrics ¶
func (a *MetricsApi) QueryClusterMetrics(ctx _context.Context, orgName string, clusterName string, query string, queryType MetricsQueryType, o ...QueryClusterMetricsOptionalParameters) (ClusterMetrics, *_nethttp.Response, error)
QueryClusterMetrics Query cluster metrics. Query cluster metrics by specified metric name and instance name, support instant and range query
type MetricsOption ¶
type MetricsOption struct {
ReplicationLag *MetricsOptionReplicationLag `json:"replicationLag,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewMetricsOption ¶
func NewMetricsOption() *MetricsOption
NewMetricsOption instantiates a new MetricsOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricsOptionWithDefaults ¶
func NewMetricsOptionWithDefaults() *MetricsOption
NewMetricsOptionWithDefaults instantiates a new MetricsOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricsOption) GetReplicationLag ¶
func (o *MetricsOption) GetReplicationLag() MetricsOptionReplicationLag
GetReplicationLag returns the ReplicationLag field value if set, zero value otherwise.
func (*MetricsOption) GetReplicationLagOk ¶
func (o *MetricsOption) GetReplicationLagOk() (*MetricsOptionReplicationLag, bool)
GetReplicationLagOk returns a tuple with the ReplicationLag field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricsOption) HasReplicationLag ¶
func (o *MetricsOption) HasReplicationLag() bool
HasReplicationLag returns a boolean if a field has been set.
func (MetricsOption) MarshalJSON ¶
func (o MetricsOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricsOption) SetReplicationLag ¶
func (o *MetricsOption) SetReplicationLag(v MetricsOptionReplicationLag)
SetReplicationLag gets a reference to the given MetricsOptionReplicationLag and assigns it to the ReplicationLag field.
func (*MetricsOption) UnmarshalJSON ¶
func (o *MetricsOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricsOptionReplicationLag ¶
type MetricsOptionReplicationLag struct {
QueryPattern *string `json:"queryPattern,omitempty"`
// Specifies the type of metrics query to be performed.
// 'instant' for a single point in time, 'range' for a time range.
//
QueryType *EngineOptionsMetricsQueryType `json:"queryType,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewMetricsOptionReplicationLag ¶
func NewMetricsOptionReplicationLag() *MetricsOptionReplicationLag
NewMetricsOptionReplicationLag instantiates a new MetricsOptionReplicationLag object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewMetricsOptionReplicationLagWithDefaults ¶
func NewMetricsOptionReplicationLagWithDefaults() *MetricsOptionReplicationLag
NewMetricsOptionReplicationLagWithDefaults instantiates a new MetricsOptionReplicationLag object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*MetricsOptionReplicationLag) GetQueryPattern ¶
func (o *MetricsOptionReplicationLag) GetQueryPattern() string
GetQueryPattern returns the QueryPattern field value if set, zero value otherwise.
func (*MetricsOptionReplicationLag) GetQueryPatternOk ¶
func (o *MetricsOptionReplicationLag) GetQueryPatternOk() (*string, bool)
GetQueryPatternOk returns a tuple with the QueryPattern field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricsOptionReplicationLag) GetQueryType ¶
func (o *MetricsOptionReplicationLag) GetQueryType() EngineOptionsMetricsQueryType
GetQueryType returns the QueryType field value if set, zero value otherwise.
func (*MetricsOptionReplicationLag) GetQueryTypeOk ¶
func (o *MetricsOptionReplicationLag) GetQueryTypeOk() (*EngineOptionsMetricsQueryType, bool)
GetQueryTypeOk returns a tuple with the QueryType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetricsOptionReplicationLag) HasQueryPattern ¶
func (o *MetricsOptionReplicationLag) HasQueryPattern() bool
HasQueryPattern returns a boolean if a field has been set.
func (*MetricsOptionReplicationLag) HasQueryType ¶
func (o *MetricsOptionReplicationLag) HasQueryType() bool
HasQueryType returns a boolean if a field has been set.
func (MetricsOptionReplicationLag) MarshalJSON ¶
func (o MetricsOptionReplicationLag) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*MetricsOptionReplicationLag) SetQueryPattern ¶
func (o *MetricsOptionReplicationLag) SetQueryPattern(v string)
SetQueryPattern gets a reference to the given string and assigns it to the QueryPattern field.
func (*MetricsOptionReplicationLag) SetQueryType ¶
func (o *MetricsOptionReplicationLag) SetQueryType(v EngineOptionsMetricsQueryType)
SetQueryType gets a reference to the given EngineOptionsMetricsQueryType and assigns it to the QueryType field.
func (*MetricsOptionReplicationLag) UnmarshalJSON ¶
func (o *MetricsOptionReplicationLag) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type MetricsQueryType ¶
type MetricsQueryType string
const ( MetricsQueryTypeInstant MetricsQueryType = "instant" MetricsQueryTypeRange MetricsQueryType = "range" )
List of MetricsQueryType.
func NewMetricsQueryTypeFromValue ¶
func NewMetricsQueryTypeFromValue(v string) (*MetricsQueryType, error)
NewMetricsQueryTypeFromValue returns a pointer to a valid MetricsQueryType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*MetricsQueryType) GetAllowedValues ¶
func (v *MetricsQueryType) GetAllowedValues() []MetricsQueryType
GetAllowedValues returns the list of possible values.
func (MetricsQueryType) IsValid ¶
func (v MetricsQueryType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (MetricsQueryType) Ptr ¶
func (v MetricsQueryType) Ptr() *MetricsQueryType
Ptr returns reference to MetricsQueryType value.
func (*MetricsQueryType) UnmarshalJSON ¶
func (v *MetricsQueryType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ModeComponent ¶
type ModeComponent struct {
Component string `json:"component"`
Shards *IntegerOption `json:"shards,omitempty"`
Replicas IntegerOption `json:"replicas"`
Cpu FloatOption `json:"cpu"`
Memory FloatOption `json:"memory"`
HideEnpoints bool `json:"hideEnpoints"`
HideOnCreate bool `json:"hideOnCreate"`
Storages []StorageOption `json:"storages"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewModeComponent ¶
func NewModeComponent(component string, replicas IntegerOption, cpu FloatOption, memory FloatOption, hideEnpoints bool, hideOnCreate bool, storages []StorageOption) *ModeComponent
NewModeComponent instantiates a new ModeComponent object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewModeComponentWithDefaults ¶
func NewModeComponentWithDefaults() *ModeComponent
NewModeComponentWithDefaults instantiates a new ModeComponent object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ModeComponent) GetComponent ¶
func (o *ModeComponent) GetComponent() string
GetComponent returns the Component field value.
func (*ModeComponent) GetComponentOk ¶
func (o *ModeComponent) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*ModeComponent) GetCpu ¶
func (o *ModeComponent) GetCpu() FloatOption
GetCpu returns the Cpu field value.
func (*ModeComponent) GetCpuOk ¶
func (o *ModeComponent) GetCpuOk() (*FloatOption, bool)
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*ModeComponent) GetHideEnpoints ¶
func (o *ModeComponent) GetHideEnpoints() bool
GetHideEnpoints returns the HideEnpoints field value.
func (*ModeComponent) GetHideEnpointsOk ¶
func (o *ModeComponent) GetHideEnpointsOk() (*bool, bool)
GetHideEnpointsOk returns a tuple with the HideEnpoints field value and a boolean to check if the value has been set.
func (*ModeComponent) GetHideOnCreate ¶
func (o *ModeComponent) GetHideOnCreate() bool
GetHideOnCreate returns the HideOnCreate field value.
func (*ModeComponent) GetHideOnCreateOk ¶
func (o *ModeComponent) GetHideOnCreateOk() (*bool, bool)
GetHideOnCreateOk returns a tuple with the HideOnCreate field value and a boolean to check if the value has been set.
func (*ModeComponent) GetMemory ¶
func (o *ModeComponent) GetMemory() FloatOption
GetMemory returns the Memory field value.
func (*ModeComponent) GetMemoryOk ¶
func (o *ModeComponent) GetMemoryOk() (*FloatOption, bool)
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*ModeComponent) GetReplicas ¶
func (o *ModeComponent) GetReplicas() IntegerOption
GetReplicas returns the Replicas field value.
func (*ModeComponent) GetReplicasOk ¶
func (o *ModeComponent) GetReplicasOk() (*IntegerOption, bool)
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*ModeComponent) GetShards ¶
func (o *ModeComponent) GetShards() IntegerOption
GetShards returns the Shards field value if set, zero value otherwise.
func (*ModeComponent) GetShardsOk ¶
func (o *ModeComponent) GetShardsOk() (*IntegerOption, bool)
GetShardsOk returns a tuple with the Shards field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModeComponent) GetStorages ¶
func (o *ModeComponent) GetStorages() []StorageOption
GetStorages returns the Storages field value.
func (*ModeComponent) GetStoragesOk ¶
func (o *ModeComponent) GetStoragesOk() (*[]StorageOption, bool)
GetStoragesOk returns a tuple with the Storages field value and a boolean to check if the value has been set.
func (*ModeComponent) HasShards ¶
func (o *ModeComponent) HasShards() bool
HasShards returns a boolean if a field has been set.
func (ModeComponent) MarshalJSON ¶
func (o ModeComponent) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ModeComponent) SetComponent ¶
func (o *ModeComponent) SetComponent(v string)
SetComponent sets field value.
func (*ModeComponent) SetCpu ¶
func (o *ModeComponent) SetCpu(v FloatOption)
SetCpu sets field value.
func (*ModeComponent) SetHideEnpoints ¶
func (o *ModeComponent) SetHideEnpoints(v bool)
SetHideEnpoints sets field value.
func (*ModeComponent) SetHideOnCreate ¶
func (o *ModeComponent) SetHideOnCreate(v bool)
SetHideOnCreate sets field value.
func (*ModeComponent) SetMemory ¶
func (o *ModeComponent) SetMemory(v FloatOption)
SetMemory sets field value.
func (*ModeComponent) SetReplicas ¶
func (o *ModeComponent) SetReplicas(v IntegerOption)
SetReplicas sets field value.
func (*ModeComponent) SetShards ¶
func (o *ModeComponent) SetShards(v IntegerOption)
SetShards gets a reference to the given IntegerOption and assigns it to the Shards field.
func (*ModeComponent) SetStorages ¶
func (o *ModeComponent) SetStorages(v []StorageOption)
SetStorages sets field value.
func (*ModeComponent) UnmarshalJSON ¶
func (o *ModeComponent) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ModeOption ¶
type ModeOption struct {
Name string `json:"name"`
Title LocalizedDescription `json:"title"`
Description LocalizedDescription `json:"description"`
Components []ModeComponent `json:"components"`
Proxy *ModeOptionProxy `json:"proxy,omitempty"`
Extra map[string]interface{} `json:"extra,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewModeOption ¶
func NewModeOption(name string, title LocalizedDescription, description LocalizedDescription, components []ModeComponent) *ModeOption
NewModeOption instantiates a new ModeOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewModeOptionWithDefaults ¶
func NewModeOptionWithDefaults() *ModeOption
NewModeOptionWithDefaults instantiates a new ModeOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ModeOption) GetComponents ¶
func (o *ModeOption) GetComponents() []ModeComponent
GetComponents returns the Components field value.
func (*ModeOption) GetComponentsOk ¶
func (o *ModeOption) GetComponentsOk() (*[]ModeComponent, bool)
GetComponentsOk returns a tuple with the Components field value and a boolean to check if the value has been set.
func (*ModeOption) GetDescription ¶
func (o *ModeOption) GetDescription() LocalizedDescription
GetDescription returns the Description field value.
func (*ModeOption) GetDescriptionOk ¶
func (o *ModeOption) GetDescriptionOk() (*LocalizedDescription, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ModeOption) GetExtra ¶
func (o *ModeOption) GetExtra() map[string]interface{}
GetExtra returns the Extra field value if set, zero value otherwise.
func (*ModeOption) GetExtraOk ¶
func (o *ModeOption) GetExtraOk() (*map[string]interface{}, bool)
GetExtraOk returns a tuple with the Extra field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModeOption) GetName ¶
func (o *ModeOption) GetName() string
GetName returns the Name field value.
func (*ModeOption) GetNameOk ¶
func (o *ModeOption) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ModeOption) GetProxy ¶
func (o *ModeOption) GetProxy() ModeOptionProxy
GetProxy returns the Proxy field value if set, zero value otherwise.
func (*ModeOption) GetProxyOk ¶
func (o *ModeOption) GetProxyOk() (*ModeOptionProxy, bool)
GetProxyOk returns a tuple with the Proxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModeOption) GetTitle ¶
func (o *ModeOption) GetTitle() LocalizedDescription
GetTitle returns the Title field value.
func (*ModeOption) GetTitleOk ¶
func (o *ModeOption) GetTitleOk() (*LocalizedDescription, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ModeOption) HasExtra ¶
func (o *ModeOption) HasExtra() bool
HasExtra returns a boolean if a field has been set.
func (*ModeOption) HasProxy ¶
func (o *ModeOption) HasProxy() bool
HasProxy returns a boolean if a field has been set.
func (ModeOption) MarshalJSON ¶
func (o ModeOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ModeOption) SetComponents ¶
func (o *ModeOption) SetComponents(v []ModeComponent)
SetComponents sets field value.
func (*ModeOption) SetDescription ¶
func (o *ModeOption) SetDescription(v LocalizedDescription)
SetDescription sets field value.
func (*ModeOption) SetExtra ¶
func (o *ModeOption) SetExtra(v map[string]interface{})
SetExtra gets a reference to the given map[string]interface{} and assigns it to the Extra field.
func (*ModeOption) SetProxy ¶
func (o *ModeOption) SetProxy(v ModeOptionProxy)
SetProxy gets a reference to the given ModeOptionProxy and assigns it to the Proxy field.
func (*ModeOption) SetTitle ¶
func (o *ModeOption) SetTitle(v LocalizedDescription)
SetTitle sets field value.
func (*ModeOption) UnmarshalJSON ¶
func (o *ModeOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ModeOptionProxy ¶
type ModeOptionProxy struct {
Enabled *bool `json:"enabled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewModeOptionProxy ¶
func NewModeOptionProxy() *ModeOptionProxy
NewModeOptionProxy instantiates a new ModeOptionProxy object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewModeOptionProxyWithDefaults ¶
func NewModeOptionProxyWithDefaults() *ModeOptionProxy
NewModeOptionProxyWithDefaults instantiates a new ModeOptionProxy object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ModeOptionProxy) GetEnabled ¶
func (o *ModeOptionProxy) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ModeOptionProxy) GetEnabledOk ¶
func (o *ModeOptionProxy) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModeOptionProxy) HasEnabled ¶
func (o *ModeOptionProxy) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (ModeOptionProxy) MarshalJSON ¶
func (o ModeOptionProxy) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ModeOptionProxy) SetEnabled ¶
func (o *ModeOptionProxy) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ModeOptionProxy) UnmarshalJSON ¶
func (o *ModeOptionProxy) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type NetworkConfig ¶
type NetworkConfig struct {
// Enable node port service for this environment
NodePortEnabled *bool `json:"nodePortEnabled,omitempty"`
// Enable load balancer service for this environment
LbEnabled *bool `json:"lbEnabled,omitempty"`
// Enable the Internet load balancer service for this environment
InternetLbEnabled *bool `json:"internetLBEnabled,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
NetworkConfig Configuration of networking for this environment
func NewNetworkConfig ¶
func NewNetworkConfig() *NetworkConfig
NewNetworkConfig instantiates a new NetworkConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewNetworkConfigWithDefaults ¶
func NewNetworkConfigWithDefaults() *NetworkConfig
NewNetworkConfigWithDefaults instantiates a new NetworkConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*NetworkConfig) GetInternetLbEnabled ¶
func (o *NetworkConfig) GetInternetLbEnabled() bool
GetInternetLbEnabled returns the InternetLbEnabled field value if set, zero value otherwise.
func (*NetworkConfig) GetInternetLbEnabledOk ¶
func (o *NetworkConfig) GetInternetLbEnabledOk() (*bool, bool)
GetInternetLbEnabledOk returns a tuple with the InternetLbEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetLbEnabled ¶
func (o *NetworkConfig) GetLbEnabled() bool
GetLbEnabled returns the LbEnabled field value if set, zero value otherwise.
func (*NetworkConfig) GetLbEnabledOk ¶
func (o *NetworkConfig) GetLbEnabledOk() (*bool, bool)
GetLbEnabledOk returns a tuple with the LbEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNodePortEnabled ¶
func (o *NetworkConfig) GetNodePortEnabled() bool
GetNodePortEnabled returns the NodePortEnabled field value if set, zero value otherwise.
func (*NetworkConfig) GetNodePortEnabledOk ¶
func (o *NetworkConfig) GetNodePortEnabledOk() (*bool, bool)
GetNodePortEnabledOk returns a tuple with the NodePortEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) HasInternetLbEnabled ¶
func (o *NetworkConfig) HasInternetLbEnabled() bool
HasInternetLbEnabled returns a boolean if a field has been set.
func (*NetworkConfig) HasLbEnabled ¶
func (o *NetworkConfig) HasLbEnabled() bool
HasLbEnabled returns a boolean if a field has been set.
func (*NetworkConfig) HasNodePortEnabled ¶
func (o *NetworkConfig) HasNodePortEnabled() bool
HasNodePortEnabled returns a boolean if a field has been set.
func (NetworkConfig) MarshalJSON ¶
func (o NetworkConfig) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*NetworkConfig) SetInternetLbEnabled ¶
func (o *NetworkConfig) SetInternetLbEnabled(v bool)
SetInternetLbEnabled gets a reference to the given bool and assigns it to the InternetLbEnabled field.
func (*NetworkConfig) SetLbEnabled ¶
func (o *NetworkConfig) SetLbEnabled(v bool)
SetLbEnabled gets a reference to the given bool and assigns it to the LbEnabled field.
func (*NetworkConfig) SetNodePortEnabled ¶
func (o *NetworkConfig) SetNodePortEnabled(v bool)
SetNodePortEnabled gets a reference to the given bool and assigns it to the NodePortEnabled field.
func (*NetworkConfig) UnmarshalJSON ¶
func (o *NetworkConfig) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type NodeGroup ¶
type NodeGroup struct {
// The full, unique name of this Object, name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc'
Name string `json:"name"`
// the description of the node group
Description *string `json:"description,omitempty"`
// the nodes of the node group
Nodes []string `json:"nodes"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
NodeGroup NodeGroup creation info
func NewNodeGroup ¶
NewNodeGroup instantiates a new NodeGroup object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewNodeGroupWithDefaults ¶
func NewNodeGroupWithDefaults() *NodeGroup
NewNodeGroupWithDefaults instantiates a new NodeGroup object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*NodeGroup) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*NodeGroup) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NodeGroup) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*NodeGroup) GetNodesOk ¶
GetNodesOk returns a tuple with the Nodes field value and a boolean to check if the value has been set.
func (*NodeGroup) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (NodeGroup) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*NodeGroup) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*NodeGroup) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ObParameter ¶
type ObParameter struct {
// The name of the parameter
Name string `json:"name"`
// The value of the parameter
Value string `json:"value"`
// The type of the parameter value
DataType string `json:"dataType"`
// The description of the parameter
Description string `json:"description"`
// The value options of the parameter
Enum []map[string]interface{} `json:"enum"`
// The maximum value of the parameter
Maximum float64 `json:"maximum"`
// The minimum value of the parameter
Minimum float64 `json:"minimum"`
// Whether the parameter is an immutable parameter, immutable parameters cannot be modified
Immutable *bool `json:"immutable,omitempty"`
// Whether the parameter is variable or a parameter
IsVariable *bool `json:"isVariable,omitempty"`
// EditLevel represents the way the configuration item is modified.
EditLevel *string `json:"editLevel,omitempty"`
// Whether the parameter is read-only
ReadOnly bool `json:"readOnly"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewObParameter ¶
func NewObParameter(name string, value string, dataType string, description string, enum []map[string]interface{}, maximum float64, minimum float64, readOnly bool) *ObParameter
NewObParameter instantiates a new ObParameter object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewObParameterWithDefaults ¶
func NewObParameterWithDefaults() *ObParameter
NewObParameterWithDefaults instantiates a new ObParameter object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ObParameter) GetDataType ¶
func (o *ObParameter) GetDataType() string
GetDataType returns the DataType field value.
func (*ObParameter) GetDataTypeOk ¶
func (o *ObParameter) GetDataTypeOk() (*string, bool)
GetDataTypeOk returns a tuple with the DataType field value and a boolean to check if the value has been set.
func (*ObParameter) GetDescription ¶
func (o *ObParameter) GetDescription() string
GetDescription returns the Description field value.
func (*ObParameter) GetDescriptionOk ¶
func (o *ObParameter) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ObParameter) GetEditLevel ¶
func (o *ObParameter) GetEditLevel() string
GetEditLevel returns the EditLevel field value if set, zero value otherwise.
func (*ObParameter) GetEditLevelOk ¶
func (o *ObParameter) GetEditLevelOk() (*string, bool)
GetEditLevelOk returns a tuple with the EditLevel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObParameter) GetEnum ¶
func (o *ObParameter) GetEnum() []map[string]interface{}
GetEnum returns the Enum field value.
func (*ObParameter) GetEnumOk ¶
func (o *ObParameter) GetEnumOk() (*[]map[string]interface{}, bool)
GetEnumOk returns a tuple with the Enum field value and a boolean to check if the value has been set.
func (*ObParameter) GetImmutable ¶
func (o *ObParameter) GetImmutable() bool
GetImmutable returns the Immutable field value if set, zero value otherwise.
func (*ObParameter) GetImmutableOk ¶
func (o *ObParameter) GetImmutableOk() (*bool, bool)
GetImmutableOk returns a tuple with the Immutable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObParameter) GetIsVariable ¶
func (o *ObParameter) GetIsVariable() bool
GetIsVariable returns the IsVariable field value if set, zero value otherwise.
func (*ObParameter) GetIsVariableOk ¶
func (o *ObParameter) GetIsVariableOk() (*bool, bool)
GetIsVariableOk returns a tuple with the IsVariable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObParameter) GetMaximum ¶
func (o *ObParameter) GetMaximum() float64
GetMaximum returns the Maximum field value.
func (*ObParameter) GetMaximumOk ¶
func (o *ObParameter) GetMaximumOk() (*float64, bool)
GetMaximumOk returns a tuple with the Maximum field value and a boolean to check if the value has been set.
func (*ObParameter) GetMinimum ¶
func (o *ObParameter) GetMinimum() float64
GetMinimum returns the Minimum field value.
func (*ObParameter) GetMinimumOk ¶
func (o *ObParameter) GetMinimumOk() (*float64, bool)
GetMinimumOk returns a tuple with the Minimum field value and a boolean to check if the value has been set.
func (*ObParameter) GetName ¶
func (o *ObParameter) GetName() string
GetName returns the Name field value.
func (*ObParameter) GetNameOk ¶
func (o *ObParameter) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ObParameter) GetReadOnly ¶
func (o *ObParameter) GetReadOnly() bool
GetReadOnly returns the ReadOnly field value.
func (*ObParameter) GetReadOnlyOk ¶
func (o *ObParameter) GetReadOnlyOk() (*bool, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value and a boolean to check if the value has been set.
func (*ObParameter) GetValue ¶
func (o *ObParameter) GetValue() string
GetValue returns the Value field value.
func (*ObParameter) GetValueOk ¶
func (o *ObParameter) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*ObParameter) HasEditLevel ¶
func (o *ObParameter) HasEditLevel() bool
HasEditLevel returns a boolean if a field has been set.
func (*ObParameter) HasImmutable ¶
func (o *ObParameter) HasImmutable() bool
HasImmutable returns a boolean if a field has been set.
func (*ObParameter) HasIsVariable ¶
func (o *ObParameter) HasIsVariable() bool
HasIsVariable returns a boolean if a field has been set.
func (ObParameter) MarshalJSON ¶
func (o ObParameter) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ObParameter) SetDataType ¶
func (o *ObParameter) SetDataType(v string)
SetDataType sets field value.
func (*ObParameter) SetDescription ¶
func (o *ObParameter) SetDescription(v string)
SetDescription sets field value.
func (*ObParameter) SetEditLevel ¶
func (o *ObParameter) SetEditLevel(v string)
SetEditLevel gets a reference to the given string and assigns it to the EditLevel field.
func (*ObParameter) SetEnum ¶
func (o *ObParameter) SetEnum(v []map[string]interface{})
SetEnum sets field value.
func (*ObParameter) SetImmutable ¶
func (o *ObParameter) SetImmutable(v bool)
SetImmutable gets a reference to the given bool and assigns it to the Immutable field.
func (*ObParameter) SetIsVariable ¶
func (o *ObParameter) SetIsVariable(v bool)
SetIsVariable gets a reference to the given bool and assigns it to the IsVariable field.
func (*ObParameter) SetMaximum ¶
func (o *ObParameter) SetMaximum(v float64)
SetMaximum sets field value.
func (*ObParameter) SetMinimum ¶
func (o *ObParameter) SetMinimum(v float64)
SetMinimum sets field value.
func (*ObParameter) SetReadOnly ¶
func (o *ObParameter) SetReadOnly(v bool)
SetReadOnly sets field value.
func (*ObParameter) UnmarshalJSON ¶
func (o *ObParameter) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ObSession ¶
type ObSession struct {
// session id
Id *string `json:"id,omitempty"`
// user name
User *string `json:"user,omitempty"`
// tenant name
Tenant *string `json:"tenant,omitempty"`
// host name
Host *string `json:"host,omitempty"`
// database name
Db *string `json:"db,omitempty"`
// command
Command *string `json:"command,omitempty"`
// time
Time *string `json:"time,omitempty"`
// state
State *string `json:"state,omitempty"`
// info
Info *string `json:"info,omitempty"`
// ip
Ip *string `json:"ip,omitempty"`
// port
Port *string `json:"port,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewObSession ¶
func NewObSession() *ObSession
NewObSession instantiates a new ObSession object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewObSessionWithDefaults ¶
func NewObSessionWithDefaults() *ObSession
NewObSessionWithDefaults instantiates a new ObSession object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ObSession) GetCommand ¶
GetCommand returns the Command field value if set, zero value otherwise.
func (*ObSession) GetCommandOk ¶
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetDbOk ¶
GetDbOk returns a tuple with the Db field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetHostOk ¶
GetHostOk returns a tuple with the Host field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetInfoOk ¶
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetPortOk ¶
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetTenant ¶
GetTenant returns the Tenant field value if set, zero value otherwise.
func (*ObSession) GetTenantOk ¶
GetTenantOk returns a tuple with the Tenant field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetTimeOk ¶
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) GetUserOk ¶
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObSession) HasCommand ¶
HasCommand returns a boolean if a field has been set.
func (ObSession) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*ObSession) SetCommand ¶
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*ObSession) SetDb ¶
SetDb gets a reference to the given string and assigns it to the Db field.
func (*ObSession) SetHost ¶
SetHost gets a reference to the given string and assigns it to the Host field.
func (*ObSession) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*ObSession) SetInfo ¶
SetInfo gets a reference to the given string and assigns it to the Info field.
func (*ObSession) SetIp ¶
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*ObSession) SetPort ¶
SetPort gets a reference to the given string and assigns it to the Port field.
func (*ObSession) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*ObSession) SetTenant ¶
SetTenant gets a reference to the given string and assigns it to the Tenant field.
func (*ObSession) SetTime ¶
SetTime gets a reference to the given string and assigns it to the Time field.
func (*ObSession) SetUser ¶
SetUser gets a reference to the given string and assigns it to the User field.
func (*ObSession) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type Object ¶
type Object struct {
// Type is the type of db object, like 'Table', 'Views', 'Functions'
Type *string `json:"type,omitempty"`
// Count is the number of each object
Count *int64 `json:"count,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewObject ¶
func NewObject() *Object
NewObject instantiates a new Object object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewObjectWithDefaults ¶
func NewObjectWithDefaults() *Object
NewObjectWithDefaults instantiates a new Object object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Object) GetCountOk ¶
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Object) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Object) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Object) SetCount ¶
SetCount gets a reference to the given int64 and assigns it to the Count field.
func (*Object) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Object) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ObjectResponse ¶
type ObjectResponse struct {
// The data of the Object
Data map[string]interface{} `json:"data,omitempty"`
// The type of the Object
Type *string `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewObjectResponse ¶
func NewObjectResponse() *ObjectResponse
NewObjectResponse instantiates a new ObjectResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewObjectResponseWithDefaults ¶
func NewObjectResponseWithDefaults() *ObjectResponse
NewObjectResponseWithDefaults instantiates a new ObjectResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ObjectResponse) GetData ¶
func (o *ObjectResponse) GetData() map[string]interface{}
GetData returns the Data field value if set, zero value otherwise.
func (*ObjectResponse) GetDataOk ¶
func (o *ObjectResponse) GetDataOk() (*map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectResponse) GetType ¶
func (o *ObjectResponse) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ObjectResponse) GetTypeOk ¶
func (o *ObjectResponse) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectResponse) HasData ¶
func (o *ObjectResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*ObjectResponse) HasType ¶
func (o *ObjectResponse) HasType() bool
HasType returns a boolean if a field has been set.
func (ObjectResponse) MarshalJSON ¶
func (o ObjectResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ObjectResponse) SetData ¶
func (o *ObjectResponse) SetData(v map[string]interface{})
SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.
func (*ObjectResponse) SetType ¶
func (o *ObjectResponse) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ObjectResponse) UnmarshalJSON ¶
func (o *ObjectResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OceanbaseApi ¶
OceanbaseApi service type
func NewOceanbaseApi ¶
func NewOceanbaseApi(client *common.APIClient) *OceanbaseApi
NewOceanbaseApi Returns NewOceanbaseApi.
type OpsExpose ¶
type OpsExpose struct {
Component *string `json:"component,omitempty"`
Enable bool `json:"enable"`
// Specifies the type of exposure for the KubeBlocks cluster.
Type OpsExposeType `json:"type"`
// Specifies the type of service for the KubeBlocks cluster.
VpcServiceType *OpsExposeVPCServiceType `json:"vpcServiceType,omitempty"`
PortsMapping []OpsExposePortsMappingItem `json:"portsMapping,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsExpose OpsExpose is the payload to expose a KubeBlocks cluster
func NewOpsExpose ¶
func NewOpsExpose(enable bool, typeVar OpsExposeType) *OpsExpose
NewOpsExpose instantiates a new OpsExpose object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsExposeWithDefaults ¶
func NewOpsExposeWithDefaults() *OpsExpose
NewOpsExposeWithDefaults instantiates a new OpsExpose object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsExpose) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsExpose) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsExpose) GetEnableOk ¶
GetEnableOk returns a tuple with the Enable field value and a boolean to check if the value has been set.
func (*OpsExpose) GetPortsMapping ¶
func (o *OpsExpose) GetPortsMapping() []OpsExposePortsMappingItem
GetPortsMapping returns the PortsMapping field value if set, zero value otherwise.
func (*OpsExpose) GetPortsMappingOk ¶
func (o *OpsExpose) GetPortsMappingOk() (*[]OpsExposePortsMappingItem, bool)
GetPortsMappingOk returns a tuple with the PortsMapping field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsExpose) GetType ¶
func (o *OpsExpose) GetType() OpsExposeType
GetType returns the Type field value.
func (*OpsExpose) GetTypeOk ¶
func (o *OpsExpose) GetTypeOk() (*OpsExposeType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*OpsExpose) GetVpcServiceType ¶
func (o *OpsExpose) GetVpcServiceType() OpsExposeVPCServiceType
GetVpcServiceType returns the VpcServiceType field value if set, zero value otherwise.
func (*OpsExpose) GetVpcServiceTypeOk ¶
func (o *OpsExpose) GetVpcServiceTypeOk() (*OpsExposeVPCServiceType, bool)
GetVpcServiceTypeOk returns a tuple with the VpcServiceType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsExpose) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (*OpsExpose) HasPortsMapping ¶
HasPortsMapping returns a boolean if a field has been set.
func (*OpsExpose) HasVpcServiceType ¶
HasVpcServiceType returns a boolean if a field has been set.
func (OpsExpose) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OpsExpose) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsExpose) SetPortsMapping ¶
func (o *OpsExpose) SetPortsMapping(v []OpsExposePortsMappingItem)
SetPortsMapping gets a reference to the given []OpsExposePortsMappingItem and assigns it to the PortsMapping field.
func (*OpsExpose) SetVpcServiceType ¶
func (o *OpsExpose) SetVpcServiceType(v OpsExposeVPCServiceType)
SetVpcServiceType gets a reference to the given OpsExposeVPCServiceType and assigns it to the VpcServiceType field.
func (*OpsExpose) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OpsExposePortsMappingItem ¶
type OpsExposePortsMappingItem struct {
Old *int32 `json:"old,omitempty"`
New *int32 `json:"new,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewOpsExposePortsMappingItem ¶
func NewOpsExposePortsMappingItem() *OpsExposePortsMappingItem
NewOpsExposePortsMappingItem instantiates a new OpsExposePortsMappingItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsExposePortsMappingItemWithDefaults ¶
func NewOpsExposePortsMappingItemWithDefaults() *OpsExposePortsMappingItem
NewOpsExposePortsMappingItemWithDefaults instantiates a new OpsExposePortsMappingItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsExposePortsMappingItem) GetNew ¶
func (o *OpsExposePortsMappingItem) GetNew() int32
GetNew returns the New field value if set, zero value otherwise.
func (*OpsExposePortsMappingItem) GetNewOk ¶
func (o *OpsExposePortsMappingItem) GetNewOk() (*int32, bool)
GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsExposePortsMappingItem) GetOld ¶
func (o *OpsExposePortsMappingItem) GetOld() int32
GetOld returns the Old field value if set, zero value otherwise.
func (*OpsExposePortsMappingItem) GetOldOk ¶
func (o *OpsExposePortsMappingItem) GetOldOk() (*int32, bool)
GetOldOk returns a tuple with the Old field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsExposePortsMappingItem) HasNew ¶
func (o *OpsExposePortsMappingItem) HasNew() bool
HasNew returns a boolean if a field has been set.
func (*OpsExposePortsMappingItem) HasOld ¶
func (o *OpsExposePortsMappingItem) HasOld() bool
HasOld returns a boolean if a field has been set.
func (OpsExposePortsMappingItem) MarshalJSON ¶
func (o OpsExposePortsMappingItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsExposePortsMappingItem) SetNew ¶
func (o *OpsExposePortsMappingItem) SetNew(v int32)
SetNew gets a reference to the given int32 and assigns it to the New field.
func (*OpsExposePortsMappingItem) SetOld ¶
func (o *OpsExposePortsMappingItem) SetOld(v int32)
SetOld gets a reference to the given int32 and assigns it to the Old field.
func (*OpsExposePortsMappingItem) UnmarshalJSON ¶
func (o *OpsExposePortsMappingItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsExposeType ¶
type OpsExposeType string
OpsExposeType Specifies the type of exposure for the KubeBlocks cluster.
const ( OpsExposeTypeVpc OpsExposeType = "vpc" OpsExposeTypeInternet OpsExposeType = "internet" )
List of OpsExposeType.
func NewOpsExposeTypeFromValue ¶
func NewOpsExposeTypeFromValue(v string) (*OpsExposeType, error)
NewOpsExposeTypeFromValue returns a pointer to a valid OpsExposeType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OpsExposeType) GetAllowedValues ¶
func (v *OpsExposeType) GetAllowedValues() []OpsExposeType
GetAllowedValues returns the list of possible values.
func (OpsExposeType) IsValid ¶
func (v OpsExposeType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OpsExposeType) Ptr ¶
func (v OpsExposeType) Ptr() *OpsExposeType
Ptr returns reference to OpsExposeType value.
func (*OpsExposeType) UnmarshalJSON ¶
func (v *OpsExposeType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type OpsExposeVPCServiceType ¶
type OpsExposeVPCServiceType string
OpsExposeVPCServiceType Specifies the type of service for the KubeBlocks cluster.
const ( OpsExposeVPCServiceTypeLoadBalancer OpsExposeVPCServiceType = "LoadBalancer" OpsExposeVPCServiceTypeNodePort OpsExposeVPCServiceType = "NodePort" )
List of OpsExposeVPCServiceType.
func NewOpsExposeVPCServiceTypeFromValue ¶
func NewOpsExposeVPCServiceTypeFromValue(v string) (*OpsExposeVPCServiceType, error)
NewOpsExposeVPCServiceTypeFromValue returns a pointer to a valid OpsExposeVPCServiceType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OpsExposeVPCServiceType) GetAllowedValues ¶
func (v *OpsExposeVPCServiceType) GetAllowedValues() []OpsExposeVPCServiceType
GetAllowedValues returns the list of possible values.
func (OpsExposeVPCServiceType) IsValid ¶
func (v OpsExposeVPCServiceType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OpsExposeVPCServiceType) Ptr ¶
func (v OpsExposeVPCServiceType) Ptr() *OpsExposeVPCServiceType
Ptr returns reference to OpsExposeVPCServiceType value.
func (*OpsExposeVPCServiceType) UnmarshalJSON ¶
func (v *OpsExposeVPCServiceType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type OpsHScale ¶
type OpsHScale struct {
// component type
Component *string `json:"component,omitempty"`
// number of replicas
Replicas int32 `json:"replicas"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsHScale OpsHScale is the payload to horizontally scale a KubeBlocks cluster
func NewOpsHScale ¶
NewOpsHScale instantiates a new OpsHScale object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsHScaleWithDefaults ¶
func NewOpsHScaleWithDefaults() *OpsHScale
NewOpsHScaleWithDefaults instantiates a new OpsHScale object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsHScale) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsHScale) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsHScale) GetReplicas ¶
GetReplicas returns the Replicas field value.
func (*OpsHScale) GetReplicasOk ¶
GetReplicasOk returns a tuple with the Replicas field value and a boolean to check if the value has been set.
func (*OpsHScale) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (OpsHScale) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OpsHScale) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsHScale) SetReplicas ¶
SetReplicas sets field value.
func (*OpsHScale) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OpsLicense ¶
type OpsLicense struct {
// component type
Component string `json:"component"`
// license ID
LicenseId string `json:"licenseId"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsLicense OpsLicense is the payload to update a KubeBlocks cluster license
func NewOpsLicense ¶
func NewOpsLicense(component string, licenseId string) *OpsLicense
NewOpsLicense instantiates a new OpsLicense object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsLicenseWithDefaults ¶
func NewOpsLicenseWithDefaults() *OpsLicense
NewOpsLicenseWithDefaults instantiates a new OpsLicense object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsLicense) GetComponent ¶
func (o *OpsLicense) GetComponent() string
GetComponent returns the Component field value.
func (*OpsLicense) GetComponentOk ¶
func (o *OpsLicense) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*OpsLicense) GetLicenseId ¶
func (o *OpsLicense) GetLicenseId() string
GetLicenseId returns the LicenseId field value.
func (*OpsLicense) GetLicenseIdOk ¶
func (o *OpsLicense) GetLicenseIdOk() (*string, bool)
GetLicenseIdOk returns a tuple with the LicenseId field value and a boolean to check if the value has been set.
func (OpsLicense) MarshalJSON ¶
func (o OpsLicense) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsLicense) SetComponent ¶
func (o *OpsLicense) SetComponent(v string)
SetComponent sets field value.
func (*OpsLicense) SetLicenseId ¶
func (o *OpsLicense) SetLicenseId(v string)
SetLicenseId sets field value.
func (*OpsLicense) UnmarshalJSON ¶
func (o *OpsLicense) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsPromote ¶
type OpsPromote struct {
ComponentName *string `json:"componentName,omitempty"`
InstanceName *string `json:"instanceName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsPromote OpsPromote is the payload to promote a KubeBlocks cluster
func NewOpsPromote ¶
func NewOpsPromote() *OpsPromote
NewOpsPromote instantiates a new OpsPromote object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsPromoteWithDefaults ¶
func NewOpsPromoteWithDefaults() *OpsPromote
NewOpsPromoteWithDefaults instantiates a new OpsPromote object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsPromote) GetComponentName ¶
func (o *OpsPromote) GetComponentName() string
GetComponentName returns the ComponentName field value if set, zero value otherwise.
func (*OpsPromote) GetComponentNameOk ¶
func (o *OpsPromote) GetComponentNameOk() (*string, bool)
GetComponentNameOk returns a tuple with the ComponentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsPromote) GetInstanceName ¶
func (o *OpsPromote) GetInstanceName() string
GetInstanceName returns the InstanceName field value if set, zero value otherwise.
func (*OpsPromote) GetInstanceNameOk ¶
func (o *OpsPromote) GetInstanceNameOk() (*string, bool)
GetInstanceNameOk returns a tuple with the InstanceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsPromote) HasComponentName ¶
func (o *OpsPromote) HasComponentName() bool
HasComponentName returns a boolean if a field has been set.
func (*OpsPromote) HasInstanceName ¶
func (o *OpsPromote) HasInstanceName() bool
HasInstanceName returns a boolean if a field has been set.
func (OpsPromote) MarshalJSON ¶
func (o OpsPromote) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsPromote) SetComponentName ¶
func (o *OpsPromote) SetComponentName(v string)
SetComponentName gets a reference to the given string and assigns it to the ComponentName field.
func (*OpsPromote) SetInstanceName ¶
func (o *OpsPromote) SetInstanceName(v string)
SetInstanceName gets a reference to the given string and assigns it to the InstanceName field.
func (*OpsPromote) UnmarshalJSON ¶
func (o *OpsPromote) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsRebuildInstance ¶
type OpsRebuildInstance struct {
// will ignore role check during rebuilding instance.
IgnoreRoleCheck *bool `json:"ignoreRoleCheck,omitempty"`
Requests []OpsRebuildInstanceRequestsItem `json:"requests,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsRebuildInstance rebuild the instances of the cluster.
func NewOpsRebuildInstance ¶
func NewOpsRebuildInstance() *OpsRebuildInstance
NewOpsRebuildInstance instantiates a new OpsRebuildInstance object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsRebuildInstanceWithDefaults ¶
func NewOpsRebuildInstanceWithDefaults() *OpsRebuildInstance
NewOpsRebuildInstanceWithDefaults instantiates a new OpsRebuildInstance object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsRebuildInstance) GetIgnoreRoleCheck ¶
func (o *OpsRebuildInstance) GetIgnoreRoleCheck() bool
GetIgnoreRoleCheck returns the IgnoreRoleCheck field value if set, zero value otherwise.
func (*OpsRebuildInstance) GetIgnoreRoleCheckOk ¶
func (o *OpsRebuildInstance) GetIgnoreRoleCheckOk() (*bool, bool)
GetIgnoreRoleCheckOk returns a tuple with the IgnoreRoleCheck field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRebuildInstance) GetRequests ¶
func (o *OpsRebuildInstance) GetRequests() []OpsRebuildInstanceRequestsItem
GetRequests returns the Requests field value if set, zero value otherwise.
func (*OpsRebuildInstance) GetRequestsOk ¶
func (o *OpsRebuildInstance) GetRequestsOk() (*[]OpsRebuildInstanceRequestsItem, bool)
GetRequestsOk returns a tuple with the Requests field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRebuildInstance) HasIgnoreRoleCheck ¶
func (o *OpsRebuildInstance) HasIgnoreRoleCheck() bool
HasIgnoreRoleCheck returns a boolean if a field has been set.
func (*OpsRebuildInstance) HasRequests ¶
func (o *OpsRebuildInstance) HasRequests() bool
HasRequests returns a boolean if a field has been set.
func (OpsRebuildInstance) MarshalJSON ¶
func (o OpsRebuildInstance) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsRebuildInstance) SetIgnoreRoleCheck ¶
func (o *OpsRebuildInstance) SetIgnoreRoleCheck(v bool)
SetIgnoreRoleCheck gets a reference to the given bool and assigns it to the IgnoreRoleCheck field.
func (*OpsRebuildInstance) SetRequests ¶
func (o *OpsRebuildInstance) SetRequests(v []OpsRebuildInstanceRequestsItem)
SetRequests gets a reference to the given []OpsRebuildInstanceRequestsItem and assigns it to the Requests field.
func (*OpsRebuildInstance) UnmarshalJSON ¶
func (o *OpsRebuildInstance) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsRebuildInstanceInstanceParam ¶
type OpsRebuildInstanceInstanceParam struct {
// Pod name of the instance
Name string `json:"name"`
// The instance will rebuild on the specified node. If not set, it will rebuild on a random node.
TargetNodeName *string `json:"targetNodeName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsRebuildInstanceInstanceParam instance params for RebuildInstance ops
func NewOpsRebuildInstanceInstanceParam ¶
func NewOpsRebuildInstanceInstanceParam(name string) *OpsRebuildInstanceInstanceParam
NewOpsRebuildInstanceInstanceParam instantiates a new OpsRebuildInstanceInstanceParam object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsRebuildInstanceInstanceParamWithDefaults ¶
func NewOpsRebuildInstanceInstanceParamWithDefaults() *OpsRebuildInstanceInstanceParam
NewOpsRebuildInstanceInstanceParamWithDefaults instantiates a new OpsRebuildInstanceInstanceParam object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsRebuildInstanceInstanceParam) GetName ¶
func (o *OpsRebuildInstanceInstanceParam) GetName() string
GetName returns the Name field value.
func (*OpsRebuildInstanceInstanceParam) GetNameOk ¶
func (o *OpsRebuildInstanceInstanceParam) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OpsRebuildInstanceInstanceParam) GetTargetNodeName ¶
func (o *OpsRebuildInstanceInstanceParam) GetTargetNodeName() string
GetTargetNodeName returns the TargetNodeName field value if set, zero value otherwise.
func (*OpsRebuildInstanceInstanceParam) GetTargetNodeNameOk ¶
func (o *OpsRebuildInstanceInstanceParam) GetTargetNodeNameOk() (*string, bool)
GetTargetNodeNameOk returns a tuple with the TargetNodeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRebuildInstanceInstanceParam) HasTargetNodeName ¶
func (o *OpsRebuildInstanceInstanceParam) HasTargetNodeName() bool
HasTargetNodeName returns a boolean if a field has been set.
func (OpsRebuildInstanceInstanceParam) MarshalJSON ¶
func (o OpsRebuildInstanceInstanceParam) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsRebuildInstanceInstanceParam) SetName ¶
func (o *OpsRebuildInstanceInstanceParam) SetName(v string)
SetName sets field value.
func (*OpsRebuildInstanceInstanceParam) SetTargetNodeName ¶
func (o *OpsRebuildInstanceInstanceParam) SetTargetNodeName(v string)
SetTargetNodeName gets a reference to the given string and assigns it to the TargetNodeName field.
func (*OpsRebuildInstanceInstanceParam) UnmarshalJSON ¶
func (o *OpsRebuildInstanceInstanceParam) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsRebuildInstanceRequestsItem ¶
type OpsRebuildInstanceRequestsItem struct {
BackupName *string `json:"backupName,omitempty"`
Instances []OpsRebuildInstanceInstanceParam `json:"instances"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewOpsRebuildInstanceRequestsItem ¶
func NewOpsRebuildInstanceRequestsItem(instances []OpsRebuildInstanceInstanceParam) *OpsRebuildInstanceRequestsItem
NewOpsRebuildInstanceRequestsItem instantiates a new OpsRebuildInstanceRequestsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsRebuildInstanceRequestsItemWithDefaults ¶
func NewOpsRebuildInstanceRequestsItemWithDefaults() *OpsRebuildInstanceRequestsItem
NewOpsRebuildInstanceRequestsItemWithDefaults instantiates a new OpsRebuildInstanceRequestsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsRebuildInstanceRequestsItem) GetBackupName ¶
func (o *OpsRebuildInstanceRequestsItem) GetBackupName() string
GetBackupName returns the BackupName field value if set, zero value otherwise.
func (*OpsRebuildInstanceRequestsItem) GetBackupNameOk ¶
func (o *OpsRebuildInstanceRequestsItem) GetBackupNameOk() (*string, bool)
GetBackupNameOk returns a tuple with the BackupName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRebuildInstanceRequestsItem) GetInstances ¶
func (o *OpsRebuildInstanceRequestsItem) GetInstances() []OpsRebuildInstanceInstanceParam
GetInstances returns the Instances field value.
func (*OpsRebuildInstanceRequestsItem) GetInstancesOk ¶
func (o *OpsRebuildInstanceRequestsItem) GetInstancesOk() (*[]OpsRebuildInstanceInstanceParam, bool)
GetInstancesOk returns a tuple with the Instances field value and a boolean to check if the value has been set.
func (*OpsRebuildInstanceRequestsItem) HasBackupName ¶
func (o *OpsRebuildInstanceRequestsItem) HasBackupName() bool
HasBackupName returns a boolean if a field has been set.
func (OpsRebuildInstanceRequestsItem) MarshalJSON ¶
func (o OpsRebuildInstanceRequestsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsRebuildInstanceRequestsItem) SetBackupName ¶
func (o *OpsRebuildInstanceRequestsItem) SetBackupName(v string)
SetBackupName gets a reference to the given string and assigns it to the BackupName field.
func (*OpsRebuildInstanceRequestsItem) SetInstances ¶
func (o *OpsRebuildInstanceRequestsItem) SetInstances(v []OpsRebuildInstanceInstanceParam)
SetInstances sets field value.
func (*OpsRebuildInstanceRequestsItem) UnmarshalJSON ¶
func (o *OpsRebuildInstanceRequestsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsRequestName ¶
type OpsRequestName struct {
OpsRequestName string `json:"opsRequestName"`
DependentOpsName *string `json:"dependentOpsName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsRequestName OpsRequestName is the name of a KubeBlocks OpsRequest
func NewOpsRequestName ¶
func NewOpsRequestName(opsRequestName string) *OpsRequestName
NewOpsRequestName instantiates a new OpsRequestName object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsRequestNameWithDefaults ¶
func NewOpsRequestNameWithDefaults() *OpsRequestName
NewOpsRequestNameWithDefaults instantiates a new OpsRequestName object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsRequestName) GetDependentOpsName ¶
func (o *OpsRequestName) GetDependentOpsName() string
GetDependentOpsName returns the DependentOpsName field value if set, zero value otherwise.
func (*OpsRequestName) GetDependentOpsNameOk ¶
func (o *OpsRequestName) GetDependentOpsNameOk() (*string, bool)
GetDependentOpsNameOk returns a tuple with the DependentOpsName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRequestName) GetOpsRequestName ¶
func (o *OpsRequestName) GetOpsRequestName() string
GetOpsRequestName returns the OpsRequestName field value.
func (*OpsRequestName) GetOpsRequestNameOk ¶
func (o *OpsRequestName) GetOpsRequestNameOk() (*string, bool)
GetOpsRequestNameOk returns a tuple with the OpsRequestName field value and a boolean to check if the value has been set.
func (*OpsRequestName) HasDependentOpsName ¶
func (o *OpsRequestName) HasDependentOpsName() bool
HasDependentOpsName returns a boolean if a field has been set.
func (OpsRequestName) MarshalJSON ¶
func (o OpsRequestName) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsRequestName) SetDependentOpsName ¶
func (o *OpsRequestName) SetDependentOpsName(v string)
SetDependentOpsName gets a reference to the given string and assigns it to the DependentOpsName field.
func (*OpsRequestName) SetOpsRequestName ¶
func (o *OpsRequestName) SetOpsRequestName(v string)
SetOpsRequestName sets field value.
func (*OpsRequestName) UnmarshalJSON ¶
func (o *OpsRequestName) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsRestart ¶
type OpsRestart struct {
// component type
Component *string `json:"component,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsRestart OpsRestart is the payload to restart a KubeBlocks cluster
func NewOpsRestart ¶
func NewOpsRestart() *OpsRestart
NewOpsRestart instantiates a new OpsRestart object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsRestartWithDefaults ¶
func NewOpsRestartWithDefaults() *OpsRestart
NewOpsRestartWithDefaults instantiates a new OpsRestart object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsRestart) GetComponent ¶
func (o *OpsRestart) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsRestart) GetComponentOk ¶
func (o *OpsRestart) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsRestart) HasComponent ¶
func (o *OpsRestart) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (OpsRestart) MarshalJSON ¶
func (o OpsRestart) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsRestart) SetComponent ¶
func (o *OpsRestart) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsRestart) UnmarshalJSON ¶
func (o *OpsRestart) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsType ¶
type OpsType string
const ( OpsTypeVerticalScaling OpsType = "VerticalScaling" OpsTypeHorizontalScaling OpsType = "HorizontalScaling" OpsTypeVolumeExpansion OpsType = "VolumeExpansion" OpsTypeUpgrade OpsType = "Upgrade" OpsTypeReconfiguring OpsType = "Reconfiguring" OpsTypeSwitchover OpsType = "Switchover" OpsTypeRestart OpsType = "Restart" OpsTypeStop OpsType = "Stop" OpsTypeStart OpsType = "Start" OpsTypeExpose OpsType = "Expose" OpsTypeDataScript OpsType = "DataScript" )
List of OpsType.
func NewOpsTypeFromValue ¶
NewOpsTypeFromValue returns a pointer to a valid OpsType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OpsType) GetAllowedValues ¶
GetAllowedValues returns the list of possible values.
func (*OpsType) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OpsUpgrade ¶
type OpsUpgrade struct {
Version string `json:"version"`
Component *string `json:"component,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsUpgrade OpsUpgrade is the payload to upgrade a KubeBlocks cluster
func NewOpsUpgrade ¶
func NewOpsUpgrade(version string) *OpsUpgrade
NewOpsUpgrade instantiates a new OpsUpgrade object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsUpgradeWithDefaults ¶
func NewOpsUpgradeWithDefaults() *OpsUpgrade
NewOpsUpgradeWithDefaults instantiates a new OpsUpgrade object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsUpgrade) GetComponent ¶
func (o *OpsUpgrade) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsUpgrade) GetComponentOk ¶
func (o *OpsUpgrade) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsUpgrade) GetVersion ¶
func (o *OpsUpgrade) GetVersion() string
GetVersion returns the Version field value.
func (*OpsUpgrade) GetVersionOk ¶
func (o *OpsUpgrade) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*OpsUpgrade) HasComponent ¶
func (o *OpsUpgrade) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (OpsUpgrade) MarshalJSON ¶
func (o OpsUpgrade) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsUpgrade) SetComponent ¶
func (o *OpsUpgrade) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsUpgrade) SetVersion ¶
func (o *OpsUpgrade) SetVersion(v string)
SetVersion sets field value.
func (*OpsUpgrade) UnmarshalJSON ¶
func (o *OpsUpgrade) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsVScale ¶
type OpsVScale struct {
// component type
Component *string `json:"component,omitempty"`
// number of cpu
Cpu *string `json:"cpu,omitempty"`
// memory size
Memory *string `json:"memory,omitempty"`
// class code of the cluster
ClassCode *string `json:"classCode,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsVScale OpsVScale is the payload to vertically scale a KubeBlocks cluster
func NewOpsVScale ¶
func NewOpsVScale() *OpsVScale
NewOpsVScale instantiates a new OpsVScale object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsVScaleWithDefaults ¶
func NewOpsVScaleWithDefaults() *OpsVScale
NewOpsVScaleWithDefaults instantiates a new OpsVScale object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsVScale) GetClassCode ¶
GetClassCode returns the ClassCode field value if set, zero value otherwise.
func (*OpsVScale) GetClassCodeOk ¶
GetClassCodeOk returns a tuple with the ClassCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsVScale) GetComponent ¶
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsVScale) GetComponentOk ¶
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsVScale) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsVScale) GetMemory ¶
GetMemory returns the Memory field value if set, zero value otherwise.
func (*OpsVScale) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsVScale) HasClassCode ¶
HasClassCode returns a boolean if a field has been set.
func (*OpsVScale) HasComponent ¶
HasComponent returns a boolean if a field has been set.
func (OpsVScale) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OpsVScale) SetClassCode ¶
SetClassCode gets a reference to the given string and assigns it to the ClassCode field.
func (*OpsVScale) SetComponent ¶
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsVScale) SetCpu ¶
SetCpu gets a reference to the given string and assigns it to the Cpu field.
func (*OpsVScale) SetMemory ¶
SetMemory gets a reference to the given string and assigns it to the Memory field.
func (*OpsVScale) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OpsVolumeExpand ¶
type OpsVolumeExpand struct {
Component *string `json:"component,omitempty"`
Volumes []OpsVolumeExpandVolumesItem `json:"volumes"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OpsVolumeExpand OpsVolumeExpand is the payload to expand volume for a KubeBlocks cluster
func NewOpsVolumeExpand ¶
func NewOpsVolumeExpand(volumes []OpsVolumeExpandVolumesItem) *OpsVolumeExpand
NewOpsVolumeExpand instantiates a new OpsVolumeExpand object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsVolumeExpandWithDefaults ¶
func NewOpsVolumeExpandWithDefaults() *OpsVolumeExpand
NewOpsVolumeExpandWithDefaults instantiates a new OpsVolumeExpand object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsVolumeExpand) GetComponent ¶
func (o *OpsVolumeExpand) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*OpsVolumeExpand) GetComponentOk ¶
func (o *OpsVolumeExpand) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OpsVolumeExpand) GetVolumes ¶
func (o *OpsVolumeExpand) GetVolumes() []OpsVolumeExpandVolumesItem
GetVolumes returns the Volumes field value.
func (*OpsVolumeExpand) GetVolumesOk ¶
func (o *OpsVolumeExpand) GetVolumesOk() (*[]OpsVolumeExpandVolumesItem, bool)
GetVolumesOk returns a tuple with the Volumes field value and a boolean to check if the value has been set.
func (*OpsVolumeExpand) HasComponent ¶
func (o *OpsVolumeExpand) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (OpsVolumeExpand) MarshalJSON ¶
func (o OpsVolumeExpand) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsVolumeExpand) SetComponent ¶
func (o *OpsVolumeExpand) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*OpsVolumeExpand) SetVolumes ¶
func (o *OpsVolumeExpand) SetVolumes(v []OpsVolumeExpandVolumesItem)
SetVolumes sets field value.
func (*OpsVolumeExpand) UnmarshalJSON ¶
func (o *OpsVolumeExpand) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsVolumeExpandVolumesItem ¶
type OpsVolumeExpandVolumesItem struct {
// volume name
Name string `json:"name"`
// Storage size, the unit is Gi.
Storage string `json:"storage"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewOpsVolumeExpandVolumesItem ¶
func NewOpsVolumeExpandVolumesItem(name string, storage string) *OpsVolumeExpandVolumesItem
NewOpsVolumeExpandVolumesItem instantiates a new OpsVolumeExpandVolumesItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOpsVolumeExpandVolumesItemWithDefaults ¶
func NewOpsVolumeExpandVolumesItemWithDefaults() *OpsVolumeExpandVolumesItem
NewOpsVolumeExpandVolumesItemWithDefaults instantiates a new OpsVolumeExpandVolumesItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OpsVolumeExpandVolumesItem) GetName ¶
func (o *OpsVolumeExpandVolumesItem) GetName() string
GetName returns the Name field value.
func (*OpsVolumeExpandVolumesItem) GetNameOk ¶
func (o *OpsVolumeExpandVolumesItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OpsVolumeExpandVolumesItem) GetStorage ¶
func (o *OpsVolumeExpandVolumesItem) GetStorage() string
GetStorage returns the Storage field value.
func (*OpsVolumeExpandVolumesItem) GetStorageOk ¶
func (o *OpsVolumeExpandVolumesItem) GetStorageOk() (*string, bool)
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (OpsVolumeExpandVolumesItem) MarshalJSON ¶
func (o OpsVolumeExpandVolumesItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OpsVolumeExpandVolumesItem) SetName ¶
func (o *OpsVolumeExpandVolumesItem) SetName(v string)
SetName sets field value.
func (*OpsVolumeExpandVolumesItem) SetStorage ¶
func (o *OpsVolumeExpandVolumesItem) SetStorage(v string)
SetStorage sets field value.
func (*OpsVolumeExpandVolumesItem) UnmarshalJSON ¶
func (o *OpsVolumeExpandVolumesItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OpsrequestApi ¶
OpsrequestApi service type
func NewOpsrequestApi ¶
func NewOpsrequestApi(client *common.APIClient) *OpsrequestApi
NewOpsrequestApi Returns NewOpsrequestApi.
func (*OpsrequestApi) CancelOps ¶
func (a *OpsrequestApi) CancelOps(ctx _context.Context, orgName string, opsName string, clusterName string, opsType string) (*_nethttp.Response, error)
CancelOps Cancel OpsRequest. cancel a OpsRequest
func (*OpsrequestApi) ClusterVolumeExpand ¶
func (a *OpsrequestApi) ClusterVolumeExpand(ctx _context.Context, orgName string, clusterName string, body OpsVolumeExpand) (OpsRequestName, *_nethttp.Response, error)
ClusterVolumeExpand Expand cluster volume size.
func (*OpsrequestApi) CustomOps ¶
func (a *OpsrequestApi) CustomOps(ctx _context.Context, orgName string, clusterName string, body interface{}) (OpsRequestName, *_nethttp.Response, error)
CustomOps Create custom OpsRequest.
func (*OpsrequestApi) ExposeCluster ¶
func (a *OpsrequestApi) ExposeCluster(ctx _context.Context, orgName string, clusterName string, body OpsExpose) (OpsRequestName, *_nethttp.Response, error)
ExposeCluster Expose cluster loadbalancer endpoint.
func (*OpsrequestApi) HorizontalScaleCluster ¶
func (a *OpsrequestApi) HorizontalScaleCluster(ctx _context.Context, orgName string, clusterName string, body OpsHScale) (OpsRequestName, *_nethttp.Response, error)
HorizontalScaleCluster Horizontal scale cluster.
func (*OpsrequestApi) PromoteCluster ¶
func (a *OpsrequestApi) PromoteCluster(ctx _context.Context, orgName string, clusterName string, body OpsPromote) (OpsRequestName, *_nethttp.Response, error)
PromoteCluster Promote cluster intance to primary.
func (*OpsrequestApi) RebuildInstance ¶
func (a *OpsrequestApi) RebuildInstance(ctx _context.Context, orgName string, clusterName string, body OpsRebuildInstance) (OpsRequestName, *_nethttp.Response, error)
RebuildInstance rebuild the instance.
func (*OpsrequestApi) ReconfigureCluster ¶
func (a *OpsrequestApi) ReconfigureCluster(ctx _context.Context, orgName string, clusterName string, body ReconfigureCreate) (OpsRequestName, *_nethttp.Response, error)
ReconfigureCluster Update cluster configuration.
func (*OpsrequestApi) RestartCluster ¶
func (a *OpsrequestApi) RestartCluster(ctx _context.Context, orgName string, clusterName string, body OpsRestart) (OpsRequestName, *_nethttp.Response, error)
RestartCluster Restart cluster.
func (*OpsrequestApi) StartCluster ¶
func (a *OpsrequestApi) StartCluster(ctx _context.Context, orgName string, clusterName string) (OpsRequestName, *_nethttp.Response, error)
StartCluster Start cluster.
func (*OpsrequestApi) StopCluster ¶
func (a *OpsrequestApi) StopCluster(ctx _context.Context, orgName string, clusterName string) (OpsRequestName, *_nethttp.Response, error)
StopCluster Stop cluster.
func (*OpsrequestApi) UpdateClusterLicense ¶
func (a *OpsrequestApi) UpdateClusterLicense(ctx _context.Context, orgName string, clusterName string, body OpsLicense) (OpsRequestName, *_nethttp.Response, error)
UpdateClusterLicense Update the cluster license.
func (*OpsrequestApi) UpgradeCluster ¶
func (a *OpsrequestApi) UpgradeCluster(ctx _context.Context, orgName string, clusterName string, body OpsUpgrade) (OpsRequestName, *_nethttp.Response, error)
UpgradeCluster Upgrade cluster version.
func (*OpsrequestApi) VerticalScaleCluster ¶
func (a *OpsrequestApi) VerticalScaleCluster(ctx _context.Context, orgName string, clusterName string, body OpsVScale) (OpsRequestName, *_nethttp.Response, error)
VerticalScaleCluster Vertical scale cluster.
type Org ¶
type Org struct {
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
CreatedAt time.Time `json:"createdAt"`
// The description of the organization
Description *string `json:"description,omitempty"`
// The display name of the organization
DisplayName *string `json:"displayName,omitempty"`
// The ID of the organization
Id *string `json:"id,omitempty"`
// The full, unique name of this Object in the format organizations/{name}, set during creation. name must be a valid RFC 1123 compliant DNS label
Name string `json:"name"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
UpdatedAt time.Time `json:"updatedAt"`
// return true if the organization is enabled
Enabled bool `json:"enabled"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Org Org info
func NewOrg ¶
NewOrg instantiates a new Org object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgWithDefaults ¶
func NewOrgWithDefaults() *Org
NewOrgWithDefaults instantiates a new Org object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Org) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*Org) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Org) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Org) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Org) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*Org) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Org) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*Org) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Org) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Org) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Org) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value.
func (*Org) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Org) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Org) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (Org) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Org) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Org) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*Org) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OrgCreate ¶
type OrgCreate struct {
// The description of the organization
Description *string `json:"description,omitempty"`
// The display name of the organization
DisplayName *string `json:"displayName,omitempty"`
// The full, unique name of this Object in the format organizations/{name}, set during creation. name must be a valid RFC 1123 compliant DNS label
Name string `json:"name"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgCreate OrgCreate is the payload for organization creation
func NewOrgCreate ¶
NewOrgCreate instantiates a new OrgCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgCreateWithDefaults ¶
func NewOrgCreateWithDefaults() *OrgCreate
NewOrgCreateWithDefaults instantiates a new OrgCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgCreate) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*OrgCreate) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgCreate) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*OrgCreate) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgCreate) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*OrgCreate) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*OrgCreate) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (OrgCreate) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OrgCreate) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*OrgCreate) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*OrgCreate) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OrgList ¶
type OrgList struct {
// Items is the list of Org objects in the list
Items []Org `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgList OrgList is a list of Orgs
func NewOrgList ¶
NewOrgList instantiates a new OrgList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgListWithDefaults ¶
func NewOrgListWithDefaults() *OrgList
NewOrgListWithDefaults instantiates a new OrgList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*OrgList) GetPageResult ¶
func (o *OrgList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*OrgList) GetPageResultOk ¶
func (o *OrgList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgList) HasPageResult ¶
HasPageResult returns a boolean if a field has been set.
func (OrgList) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OrgList) SetPageResult ¶
func (o *OrgList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*OrgList) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OrgMember ¶
type OrgMember struct {
// The display name of User. Read-Only
DisplayName *string `json:"displayName,omitempty"`
// The email of User. Required when create. Read-Only after create
Email string `json:"email"`
// The role of the User in the Org. Required
Role OrgMemberRole `json:"role"`
// The ID of User. Read-Only
UserId string `json:"userId"`
// Return true if the member is freezed in the organization
Freezed bool `json:"freezed"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgMember Org Member info
func NewOrgMember ¶
func NewOrgMember(email string, role OrgMemberRole, userId string, freezed bool) *OrgMember
NewOrgMember instantiates a new OrgMember object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgMemberWithDefaults ¶
func NewOrgMemberWithDefaults() *OrgMember
NewOrgMemberWithDefaults instantiates a new OrgMember object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgMember) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*OrgMember) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgMember) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*OrgMember) GetFreezed ¶
GetFreezed returns the Freezed field value.
func (*OrgMember) GetFreezedOk ¶
GetFreezedOk returns a tuple with the Freezed field value and a boolean to check if the value has been set.
func (*OrgMember) GetRole ¶
func (o *OrgMember) GetRole() OrgMemberRole
GetRole returns the Role field value.
func (*OrgMember) GetRoleOk ¶
func (o *OrgMember) GetRoleOk() (*OrgMemberRole, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*OrgMember) GetUserIdOk ¶
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (*OrgMember) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (OrgMember) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OrgMember) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*OrgMember) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OrgMemberAdd ¶
type OrgMemberAdd struct {
// The name of the role in the organization
Role string `json:"role"`
// The ID of the user
UserId string `json:"userId"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgMemberAdd MemberAdd is the payload for adding organization member
func NewOrgMemberAdd ¶
func NewOrgMemberAdd(role string, userId string) *OrgMemberAdd
NewOrgMemberAdd instantiates a new OrgMemberAdd object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgMemberAddWithDefaults ¶
func NewOrgMemberAddWithDefaults() *OrgMemberAdd
NewOrgMemberAddWithDefaults instantiates a new OrgMemberAdd object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgMemberAdd) GetRole ¶
func (o *OrgMemberAdd) GetRole() string
GetRole returns the Role field value.
func (*OrgMemberAdd) GetRoleOk ¶
func (o *OrgMemberAdd) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*OrgMemberAdd) GetUserId ¶
func (o *OrgMemberAdd) GetUserId() string
GetUserId returns the UserId field value.
func (*OrgMemberAdd) GetUserIdOk ¶
func (o *OrgMemberAdd) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field value and a boolean to check if the value has been set.
func (OrgMemberAdd) MarshalJSON ¶
func (o OrgMemberAdd) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OrgMemberAdd) SetUserId ¶
func (o *OrgMemberAdd) SetUserId(v string)
SetUserId sets field value.
func (*OrgMemberAdd) UnmarshalJSON ¶
func (o *OrgMemberAdd) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrgMemberList ¶
type OrgMemberList struct {
// Items is the list of OrgMember objects in the list
Items []OrgMember `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgMemberList OrgMemberList is org member list
func NewOrgMemberList ¶
func NewOrgMemberList(items []OrgMember) *OrgMemberList
NewOrgMemberList instantiates a new OrgMemberList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgMemberListWithDefaults ¶
func NewOrgMemberListWithDefaults() *OrgMemberList
NewOrgMemberListWithDefaults instantiates a new OrgMemberList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgMemberList) GetItems ¶
func (o *OrgMemberList) GetItems() []OrgMember
GetItems returns the Items field value.
func (*OrgMemberList) GetItemsOk ¶
func (o *OrgMemberList) GetItemsOk() (*[]OrgMember, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*OrgMemberList) GetPageResult ¶
func (o *OrgMemberList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*OrgMemberList) GetPageResultOk ¶
func (o *OrgMemberList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgMemberList) HasPageResult ¶
func (o *OrgMemberList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (OrgMemberList) MarshalJSON ¶
func (o OrgMemberList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OrgMemberList) SetItems ¶
func (o *OrgMemberList) SetItems(v []OrgMember)
SetItems sets field value.
func (*OrgMemberList) SetPageResult ¶
func (o *OrgMemberList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*OrgMemberList) UnmarshalJSON ¶
func (o *OrgMemberList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrgMemberRole ¶
type OrgMemberRole string
OrgMemberRole The role of the User in the Org. Required
const ( OrgMemberRoleAdmin OrgMemberRole = "admin" OrgMemberRoleDeveloper OrgMemberRole = "developer" )
List of OrgMemberRole.
func NewOrgMemberRoleFromValue ¶
func NewOrgMemberRoleFromValue(v string) (*OrgMemberRole, error)
NewOrgMemberRoleFromValue returns a pointer to a valid OrgMemberRole for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*OrgMemberRole) GetAllowedValues ¶
func (v *OrgMemberRole) GetAllowedValues() []OrgMemberRole
GetAllowedValues returns the list of possible values.
func (OrgMemberRole) IsValid ¶
func (v OrgMemberRole) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (OrgMemberRole) Ptr ¶
func (v OrgMemberRole) Ptr() *OrgMemberRole
Ptr returns reference to OrgMemberRole value.
func (*OrgMemberRole) UnmarshalJSON ¶
func (v *OrgMemberRole) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type OrgMemberUpdate ¶
type OrgMemberUpdate struct {
// The role of the User in the Org. Required
Role string `json:"role"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgMemberUpdate Org Member update
func NewOrgMemberUpdate ¶
func NewOrgMemberUpdate(role string) *OrgMemberUpdate
NewOrgMemberUpdate instantiates a new OrgMemberUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgMemberUpdateWithDefaults ¶
func NewOrgMemberUpdateWithDefaults() *OrgMemberUpdate
NewOrgMemberUpdateWithDefaults instantiates a new OrgMemberUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgMemberUpdate) GetRole ¶
func (o *OrgMemberUpdate) GetRole() string
GetRole returns the Role field value.
func (*OrgMemberUpdate) GetRoleOk ¶
func (o *OrgMemberUpdate) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (OrgMemberUpdate) MarshalJSON ¶
func (o OrgMemberUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OrgMemberUpdate) SetRole ¶
func (o *OrgMemberUpdate) SetRole(v string)
SetRole sets field value.
func (*OrgMemberUpdate) UnmarshalJSON ¶
func (o *OrgMemberUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrgTagsList ¶
type OrgTagsList struct {
Items []Tag `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewOrgTagsList ¶
func NewOrgTagsList(items []Tag) *OrgTagsList
NewOrgTagsList instantiates a new OrgTagsList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgTagsListWithDefaults ¶
func NewOrgTagsListWithDefaults() *OrgTagsList
NewOrgTagsListWithDefaults instantiates a new OrgTagsList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgTagsList) GetItems ¶
func (o *OrgTagsList) GetItems() []Tag
GetItems returns the Items field value.
func (*OrgTagsList) GetItemsOk ¶
func (o *OrgTagsList) GetItemsOk() (*[]Tag, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (OrgTagsList) MarshalJSON ¶
func (o OrgTagsList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*OrgTagsList) UnmarshalJSON ¶
func (o *OrgTagsList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type OrgUpdate ¶
type OrgUpdate struct {
// The description of the organization
Description *string `json:"description,omitempty"`
// The display name of the organization
DisplayName *string `json:"displayName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
OrgUpdate Organization update
func NewOrgUpdate ¶
func NewOrgUpdate() *OrgUpdate
NewOrgUpdate instantiates a new OrgUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOrgUpdateWithDefaults ¶
func NewOrgUpdateWithDefaults() *OrgUpdate
NewOrgUpdateWithDefaults instantiates a new OrgUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*OrgUpdate) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*OrgUpdate) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgUpdate) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*OrgUpdate) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OrgUpdate) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*OrgUpdate) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (OrgUpdate) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*OrgUpdate) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*OrgUpdate) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*OrgUpdate) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type OrganizationApi ¶
OrganizationApi service type
func NewOrganizationApi ¶
func NewOrganizationApi(client *common.APIClient) *OrganizationApi
NewOrganizationApi Returns NewOrganizationApi.
func (*OrganizationApi) CreateOrg ¶
func (a *OrganizationApi) CreateOrg(ctx _context.Context, body OrgCreate) (Org, *_nethttp.Response, error)
CreateOrg Create organization. Create a new organization
func (*OrganizationApi) FreezeMember ¶
func (a *OrganizationApi) FreezeMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
FreezeMember freeze the member in org. freeze the member in org
func (*OrganizationApi) ListOrg ¶
func (a *OrganizationApi) ListOrg(ctx _context.Context, o ...ListOrgOptionalParameters) (OrgList, *_nethttp.Response, error)
ListOrg List joined organizations. List organizations of current user
func (*OrganizationApi) PatchOrg ¶
func (a *OrganizationApi) PatchOrg(ctx _context.Context, orgName string, body OrgUpdate) (Org, *_nethttp.Response, error)
PatchOrg Update organization. partially update the specified Org
func (*OrganizationApi) ReadOrg ¶
func (a *OrganizationApi) ReadOrg(ctx _context.Context, orgName string) (Org, *_nethttp.Response, error)
ReadOrg Get organization. read the specified Org
func (*OrganizationApi) UnfreezeMember ¶
func (a *OrganizationApi) UnfreezeMember(ctx _context.Context, orgName string, memberId string) (*_nethttp.Response, error)
UnfreezeMember unfreeze the member in org. unfreeze the member in org
type Owner ¶
type Owner struct {
// APIVersion is the API version of the owner.
ApiVersion *string `json:"apiVersion,omitempty"`
// Kind is the type of the owner.
Kind *string `json:"kind,omitempty"`
// Name is the name of the owner.
Name *string `json:"name,omitempty"`
// UID is the unique identifier of the owner.
Uid *string `json:"uid,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Owner Owner related to the Event
func NewOwner ¶
func NewOwner() *Owner
NewOwner instantiates a new Owner object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewOwnerWithDefaults ¶
func NewOwnerWithDefaults() *Owner
NewOwnerWithDefaults instantiates a new Owner object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Owner) GetApiVersion ¶
GetApiVersion returns the ApiVersion field value if set, zero value otherwise.
func (*Owner) GetApiVersionOk ¶
GetApiVersionOk returns a tuple with the ApiVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Owner) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Owner) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Owner) GetUidOk ¶
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Owner) HasApiVersion ¶
HasApiVersion returns a boolean if a field has been set.
func (Owner) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Owner) SetApiVersion ¶
SetApiVersion gets a reference to the given string and assigns it to the ApiVersion field.
func (*Owner) SetKind ¶
SetKind gets a reference to the given string and assigns it to the Kind field.
func (*Owner) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Owner) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type PageResult ¶
type PageResult struct {
// a link to the first page of results. This link is optional for collections that cannot be indexed directly to a given page
First *string `json:"first,omitempty"`
// a link to the last page of results. This link is optional for collections that cannot be indexed directly to a given page
Last *string `json:"last,omitempty"`
// a link to the next page of results. A response that does not contain a next link does not have further data to fetch
Next *string `json:"next,omitempty"`
// a link to the previous page of results. A response that does not contain a prev link has no previous data. This link is optional for collections that cannot be traversed backward
Prev *string `json:"prev,omitempty"`
// the total count of items in the list irrespective of pagination
TotalSize *int64 `json:"totalSize,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PageResult PageResult info
func NewPageResult ¶
func NewPageResult() *PageResult
NewPageResult instantiates a new PageResult object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPageResultWithDefaults ¶
func NewPageResultWithDefaults() *PageResult
NewPageResultWithDefaults instantiates a new PageResult object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PageResult) GetFirst ¶
func (o *PageResult) GetFirst() string
GetFirst returns the First field value if set, zero value otherwise.
func (*PageResult) GetFirstOk ¶
func (o *PageResult) GetFirstOk() (*string, bool)
GetFirstOk returns a tuple with the First field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PageResult) GetLast ¶
func (o *PageResult) GetLast() string
GetLast returns the Last field value if set, zero value otherwise.
func (*PageResult) GetLastOk ¶
func (o *PageResult) GetLastOk() (*string, bool)
GetLastOk returns a tuple with the Last field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PageResult) GetNext ¶
func (o *PageResult) GetNext() string
GetNext returns the Next field value if set, zero value otherwise.
func (*PageResult) GetNextOk ¶
func (o *PageResult) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PageResult) GetPrev ¶
func (o *PageResult) GetPrev() string
GetPrev returns the Prev field value if set, zero value otherwise.
func (*PageResult) GetPrevOk ¶
func (o *PageResult) GetPrevOk() (*string, bool)
GetPrevOk returns a tuple with the Prev field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PageResult) GetTotalSize ¶
func (o *PageResult) GetTotalSize() int64
GetTotalSize returns the TotalSize field value if set, zero value otherwise.
func (*PageResult) GetTotalSizeOk ¶
func (o *PageResult) GetTotalSizeOk() (*int64, bool)
GetTotalSizeOk returns a tuple with the TotalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PageResult) HasFirst ¶
func (o *PageResult) HasFirst() bool
HasFirst returns a boolean if a field has been set.
func (*PageResult) HasLast ¶
func (o *PageResult) HasLast() bool
HasLast returns a boolean if a field has been set.
func (*PageResult) HasNext ¶
func (o *PageResult) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*PageResult) HasPrev ¶
func (o *PageResult) HasPrev() bool
HasPrev returns a boolean if a field has been set.
func (*PageResult) HasTotalSize ¶
func (o *PageResult) HasTotalSize() bool
HasTotalSize returns a boolean if a field has been set.
func (PageResult) MarshalJSON ¶
func (o PageResult) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PageResult) SetFirst ¶
func (o *PageResult) SetFirst(v string)
SetFirst gets a reference to the given string and assigns it to the First field.
func (*PageResult) SetLast ¶
func (o *PageResult) SetLast(v string)
SetLast gets a reference to the given string and assigns it to the Last field.
func (*PageResult) SetNext ¶
func (o *PageResult) SetNext(v string)
SetNext gets a reference to the given string and assigns it to the Next field.
func (*PageResult) SetPrev ¶
func (o *PageResult) SetPrev(v string)
SetPrev gets a reference to the given string and assigns it to the Prev field.
func (*PageResult) SetTotalSize ¶
func (o *PageResult) SetTotalSize(v int64)
SetTotalSize gets a reference to the given int64 and assigns it to the TotalSize field.
func (*PageResult) UnmarshalJSON ¶
func (o *PageResult) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Pagination ¶
type Pagination struct {
RowsCount *int32 `json:"rows_count,omitempty"`
Page *int32 `json:"page,omitempty"`
PagesCount *int32 `json:"pages_count,omitempty"`
PerPage *int32 `json:"per_page,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewPagination ¶
func NewPagination() *Pagination
NewPagination instantiates a new Pagination object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPaginationWithDefaults ¶
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Pagination) GetPage ¶
func (o *Pagination) GetPage() int32
GetPage returns the Page field value if set, zero value otherwise.
func (*Pagination) GetPageOk ¶
func (o *Pagination) GetPageOk() (*int32, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetPagesCount ¶
func (o *Pagination) GetPagesCount() int32
GetPagesCount returns the PagesCount field value if set, zero value otherwise.
func (*Pagination) GetPagesCountOk ¶
func (o *Pagination) GetPagesCountOk() (*int32, bool)
GetPagesCountOk returns a tuple with the PagesCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetPerPage ¶
func (o *Pagination) GetPerPage() int32
GetPerPage returns the PerPage field value if set, zero value otherwise.
func (*Pagination) GetPerPageOk ¶
func (o *Pagination) GetPerPageOk() (*int32, bool)
GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) GetRowsCount ¶
func (o *Pagination) GetRowsCount() int32
GetRowsCount returns the RowsCount field value if set, zero value otherwise.
func (*Pagination) GetRowsCountOk ¶
func (o *Pagination) GetRowsCountOk() (*int32, bool)
GetRowsCountOk returns a tuple with the RowsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pagination) HasPage ¶
func (o *Pagination) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*Pagination) HasPagesCount ¶
func (o *Pagination) HasPagesCount() bool
HasPagesCount returns a boolean if a field has been set.
func (*Pagination) HasPerPage ¶
func (o *Pagination) HasPerPage() bool
HasPerPage returns a boolean if a field has been set.
func (*Pagination) HasRowsCount ¶
func (o *Pagination) HasRowsCount() bool
HasRowsCount returns a boolean if a field has been set.
func (Pagination) MarshalJSON ¶
func (o Pagination) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Pagination) SetPage ¶
func (o *Pagination) SetPage(v int32)
SetPage gets a reference to the given int32 and assigns it to the Page field.
func (*Pagination) SetPagesCount ¶
func (o *Pagination) SetPagesCount(v int32)
SetPagesCount gets a reference to the given int32 and assigns it to the PagesCount field.
func (*Pagination) SetPerPage ¶
func (o *Pagination) SetPerPage(v int32)
SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.
func (*Pagination) SetRowsCount ¶
func (o *Pagination) SetRowsCount(v int32)
SetRowsCount gets a reference to the given int32 and assigns it to the RowsCount field.
func (*Pagination) UnmarshalJSON ¶
func (o *Pagination) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplApi ¶
ParamTplApi service type
func NewParamTplApi ¶
func NewParamTplApi(client *common.APIClient) *ParamTplApi
NewParamTplApi Returns NewParamTplApi.
func (*ParamTplApi) CreateParamTpl ¶
func (a *ParamTplApi) CreateParamTpl(ctx _context.Context, orgName string, body ParamTplCreate) (ParamTplListItem, *_nethttp.Response, error)
CreateParamTpl Create configuration template.
func (*ParamTplApi) CreateParamTplFromCluster ¶
func (a *ParamTplApi) CreateParamTplFromCluster(ctx _context.Context, orgName string, clusterName string, body ParamTplCreateFromCluster) (*_nethttp.Response, error)
CreateParamTplFromCluster Export configuration template from cluster.
func (*ParamTplApi) DeleteParamTpl ¶
func (a *ParamTplApi) DeleteParamTpl(ctx _context.Context, orgName string, paramTplName string) (*_nethttp.Response, error)
DeleteParamTpl Delete configuration template.
func (*ParamTplApi) GetClusterParamTpls ¶
func (a *ParamTplApi) GetClusterParamTpls(ctx _context.Context, orgName string, clusterName string, o ...GetClusterParamTplsOptionalParameters) (ParamTplApplToClusterList, *_nethttp.Response, error)
GetClusterParamTpls Get cluster configuration templates.
func (*ParamTplApi) ListParamTpl ¶
func (a *ParamTplApi) ListParamTpl(ctx _context.Context, orgName string, o ...ListParamTplOptionalParameters) (ParamTplList, *_nethttp.Response, error)
ListParamTpl List configuration templates in an Org.
func (*ParamTplApi) PatchParamTpl ¶
func (a *ParamTplApi) PatchParamTpl(ctx _context.Context, orgName string, paramTplName string, body ParamTplUpdate) (ParamTplListItem, *_nethttp.Response, error)
PatchParamTpl Update configuration template. partially update the parameter template
func (*ParamTplApi) ReadParamTpl ¶
func (a *ParamTplApi) ReadParamTpl(ctx _context.Context, orgName string, paramTplName string, o ...ReadParamTplOptionalParameters) (ParamTplGet, *_nethttp.Response, error)
ReadParamTpl Get configuration template details.
type ParamTplApplToClusterList ¶
type ParamTplApplToClusterList struct {
// Items is the list of parameter templates applicable to the cluster objects in the list
Items []ParamTplApplToClusterListItem `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplApplToClusterList paramTplAPPLToClusterList is a list of parameter templates applicable to the cluster
func NewParamTplApplToClusterList ¶
func NewParamTplApplToClusterList(items []ParamTplApplToClusterListItem) *ParamTplApplToClusterList
NewParamTplApplToClusterList instantiates a new ParamTplApplToClusterList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplApplToClusterListWithDefaults ¶
func NewParamTplApplToClusterListWithDefaults() *ParamTplApplToClusterList
NewParamTplApplToClusterListWithDefaults instantiates a new ParamTplApplToClusterList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplApplToClusterList) GetItems ¶
func (o *ParamTplApplToClusterList) GetItems() []ParamTplApplToClusterListItem
GetItems returns the Items field value.
func (*ParamTplApplToClusterList) GetItemsOk ¶
func (o *ParamTplApplToClusterList) GetItemsOk() (*[]ParamTplApplToClusterListItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ParamTplApplToClusterList) GetPageResult ¶
func (o *ParamTplApplToClusterList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*ParamTplApplToClusterList) GetPageResultOk ¶
func (o *ParamTplApplToClusterList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplApplToClusterList) HasPageResult ¶
func (o *ParamTplApplToClusterList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (ParamTplApplToClusterList) MarshalJSON ¶
func (o ParamTplApplToClusterList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplApplToClusterList) SetItems ¶
func (o *ParamTplApplToClusterList) SetItems(v []ParamTplApplToClusterListItem)
SetItems sets field value.
func (*ParamTplApplToClusterList) SetPageResult ¶
func (o *ParamTplApplToClusterList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*ParamTplApplToClusterList) UnmarshalJSON ¶
func (o *ParamTplApplToClusterList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplApplToClusterListItem ¶
type ParamTplApplToClusterListItem struct {
// The number of parameters in the parameter template
Count int32 `json:"count"`
// Name of parameter template. Name must be unique within an Org
Name string `json:"name"`
// whether to restart after applying this parameter template or not
NeedRestart bool `json:"needRestart"`
// the template partition
Partition string `json:"partition"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplApplToClusterListItem parameter template applicable to the cluster information
func NewParamTplApplToClusterListItem ¶
func NewParamTplApplToClusterListItem(count int32, name string, needRestart bool, partition string) *ParamTplApplToClusterListItem
NewParamTplApplToClusterListItem instantiates a new ParamTplApplToClusterListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplApplToClusterListItemWithDefaults ¶
func NewParamTplApplToClusterListItemWithDefaults() *ParamTplApplToClusterListItem
NewParamTplApplToClusterListItemWithDefaults instantiates a new ParamTplApplToClusterListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplApplToClusterListItem) GetCount ¶
func (o *ParamTplApplToClusterListItem) GetCount() int32
GetCount returns the Count field value.
func (*ParamTplApplToClusterListItem) GetCountOk ¶
func (o *ParamTplApplToClusterListItem) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*ParamTplApplToClusterListItem) GetName ¶
func (o *ParamTplApplToClusterListItem) GetName() string
GetName returns the Name field value.
func (*ParamTplApplToClusterListItem) GetNameOk ¶
func (o *ParamTplApplToClusterListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParamTplApplToClusterListItem) GetNeedRestart ¶
func (o *ParamTplApplToClusterListItem) GetNeedRestart() bool
GetNeedRestart returns the NeedRestart field value.
func (*ParamTplApplToClusterListItem) GetNeedRestartOk ¶
func (o *ParamTplApplToClusterListItem) GetNeedRestartOk() (*bool, bool)
GetNeedRestartOk returns a tuple with the NeedRestart field value and a boolean to check if the value has been set.
func (*ParamTplApplToClusterListItem) GetPartition ¶
func (o *ParamTplApplToClusterListItem) GetPartition() string
GetPartition returns the Partition field value.
func (*ParamTplApplToClusterListItem) GetPartitionOk ¶
func (o *ParamTplApplToClusterListItem) GetPartitionOk() (*string, bool)
GetPartitionOk returns a tuple with the Partition field value and a boolean to check if the value has been set.
func (ParamTplApplToClusterListItem) MarshalJSON ¶
func (o ParamTplApplToClusterListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplApplToClusterListItem) SetCount ¶
func (o *ParamTplApplToClusterListItem) SetCount(v int32)
SetCount sets field value.
func (*ParamTplApplToClusterListItem) SetName ¶
func (o *ParamTplApplToClusterListItem) SetName(v string)
SetName sets field value.
func (*ParamTplApplToClusterListItem) SetNeedRestart ¶
func (o *ParamTplApplToClusterListItem) SetNeedRestart(v bool)
SetNeedRestart sets field value.
func (*ParamTplApplToClusterListItem) SetPartition ¶
func (o *ParamTplApplToClusterListItem) SetPartition(v string)
SetPartition sets field value.
func (*ParamTplApplToClusterListItem) UnmarshalJSON ¶
func (o *ParamTplApplToClusterListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplCreate ¶
type ParamTplCreate struct {
// Description of parameter template
Description string `json:"description"`
// Name of database with its version, eg: mysql8.0
Family string `json:"family"`
// Name of parameter template. Name must be unique within an Org
Name string `json:"name"`
// Name of custom parameter template. When set customName, will create a copy of this custom parameter template.
CustomName *string `json:"customName,omitempty"`
// Determines whether the user can see this parameter template
IsPrivate *bool `json:"isPrivate,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplCreate parameter template create
func NewParamTplCreate ¶
func NewParamTplCreate(description string, family string, name string) *ParamTplCreate
NewParamTplCreate instantiates a new ParamTplCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplCreateWithDefaults ¶
func NewParamTplCreateWithDefaults() *ParamTplCreate
NewParamTplCreateWithDefaults instantiates a new ParamTplCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplCreate) GetCustomName ¶
func (o *ParamTplCreate) GetCustomName() string
GetCustomName returns the CustomName field value if set, zero value otherwise.
func (*ParamTplCreate) GetCustomNameOk ¶
func (o *ParamTplCreate) GetCustomNameOk() (*string, bool)
GetCustomNameOk returns a tuple with the CustomName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplCreate) GetDescription ¶
func (o *ParamTplCreate) GetDescription() string
GetDescription returns the Description field value.
func (*ParamTplCreate) GetDescriptionOk ¶
func (o *ParamTplCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ParamTplCreate) GetFamily ¶
func (o *ParamTplCreate) GetFamily() string
GetFamily returns the Family field value.
func (*ParamTplCreate) GetFamilyOk ¶
func (o *ParamTplCreate) GetFamilyOk() (*string, bool)
GetFamilyOk returns a tuple with the Family field value and a boolean to check if the value has been set.
func (*ParamTplCreate) GetIsPrivate ¶
func (o *ParamTplCreate) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.
func (*ParamTplCreate) GetIsPrivateOk ¶
func (o *ParamTplCreate) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplCreate) GetName ¶
func (o *ParamTplCreate) GetName() string
GetName returns the Name field value.
func (*ParamTplCreate) GetNameOk ¶
func (o *ParamTplCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParamTplCreate) HasCustomName ¶
func (o *ParamTplCreate) HasCustomName() bool
HasCustomName returns a boolean if a field has been set.
func (*ParamTplCreate) HasIsPrivate ¶
func (o *ParamTplCreate) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.
func (ParamTplCreate) MarshalJSON ¶
func (o ParamTplCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplCreate) SetCustomName ¶
func (o *ParamTplCreate) SetCustomName(v string)
SetCustomName gets a reference to the given string and assigns it to the CustomName field.
func (*ParamTplCreate) SetDescription ¶
func (o *ParamTplCreate) SetDescription(v string)
SetDescription sets field value.
func (*ParamTplCreate) SetFamily ¶
func (o *ParamTplCreate) SetFamily(v string)
SetFamily sets field value.
func (*ParamTplCreate) SetIsPrivate ¶
func (o *ParamTplCreate) SetIsPrivate(v bool)
SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.
func (*ParamTplCreate) SetName ¶
func (o *ParamTplCreate) SetName(v string)
SetName sets field value.
func (*ParamTplCreate) UnmarshalJSON ¶
func (o *ParamTplCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplCreateFromCluster ¶
type ParamTplCreateFromCluster struct {
// Description of parameter template
Description string `json:"description"`
// Name of parameter template. Name must be unique within an Org
Name string `json:"name"`
// component type.
Component *string `json:"component,omitempty"`
// database engine Version
EngineVersion *string `json:"engineVersion,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplCreateFromCluster parameter template create
func NewParamTplCreateFromCluster ¶
func NewParamTplCreateFromCluster(description string, name string) *ParamTplCreateFromCluster
NewParamTplCreateFromCluster instantiates a new ParamTplCreateFromCluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplCreateFromClusterWithDefaults ¶
func NewParamTplCreateFromClusterWithDefaults() *ParamTplCreateFromCluster
NewParamTplCreateFromClusterWithDefaults instantiates a new ParamTplCreateFromCluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplCreateFromCluster) GetComponent ¶
func (o *ParamTplCreateFromCluster) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*ParamTplCreateFromCluster) GetComponentOk ¶
func (o *ParamTplCreateFromCluster) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplCreateFromCluster) GetDescription ¶
func (o *ParamTplCreateFromCluster) GetDescription() string
GetDescription returns the Description field value.
func (*ParamTplCreateFromCluster) GetDescriptionOk ¶
func (o *ParamTplCreateFromCluster) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ParamTplCreateFromCluster) GetEngineVersion ¶
func (o *ParamTplCreateFromCluster) GetEngineVersion() string
GetEngineVersion returns the EngineVersion field value if set, zero value otherwise.
func (*ParamTplCreateFromCluster) GetEngineVersionOk ¶
func (o *ParamTplCreateFromCluster) GetEngineVersionOk() (*string, bool)
GetEngineVersionOk returns a tuple with the EngineVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplCreateFromCluster) GetName ¶
func (o *ParamTplCreateFromCluster) GetName() string
GetName returns the Name field value.
func (*ParamTplCreateFromCluster) GetNameOk ¶
func (o *ParamTplCreateFromCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParamTplCreateFromCluster) HasComponent ¶
func (o *ParamTplCreateFromCluster) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*ParamTplCreateFromCluster) HasEngineVersion ¶
func (o *ParamTplCreateFromCluster) HasEngineVersion() bool
HasEngineVersion returns a boolean if a field has been set.
func (ParamTplCreateFromCluster) MarshalJSON ¶
func (o ParamTplCreateFromCluster) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplCreateFromCluster) SetComponent ¶
func (o *ParamTplCreateFromCluster) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*ParamTplCreateFromCluster) SetDescription ¶
func (o *ParamTplCreateFromCluster) SetDescription(v string)
SetDescription sets field value.
func (*ParamTplCreateFromCluster) SetEngineVersion ¶
func (o *ParamTplCreateFromCluster) SetEngineVersion(v string)
SetEngineVersion gets a reference to the given string and assigns it to the EngineVersion field.
func (*ParamTplCreateFromCluster) SetName ¶
func (o *ParamTplCreateFromCluster) SetName(v string)
SetName sets field value.
func (*ParamTplCreateFromCluster) UnmarshalJSON ¶
func (o *ParamTplCreateFromCluster) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplGet ¶
type ParamTplGet struct {
Items []ParamTplGetItem `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplGet paramTplGet is the response of get parameter template request
func NewParamTplGet ¶
func NewParamTplGet() *ParamTplGet
NewParamTplGet instantiates a new ParamTplGet object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplGetWithDefaults ¶
func NewParamTplGetWithDefaults() *ParamTplGet
NewParamTplGetWithDefaults instantiates a new ParamTplGet object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplGet) GetItems ¶
func (o *ParamTplGet) GetItems() []ParamTplGetItem
GetItems returns the Items field value if set, zero value otherwise.
func (*ParamTplGet) GetItemsOk ¶
func (o *ParamTplGet) GetItemsOk() (*[]ParamTplGetItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplGet) HasItems ¶
func (o *ParamTplGet) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ParamTplGet) MarshalJSON ¶
func (o ParamTplGet) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplGet) SetItems ¶
func (o *ParamTplGet) SetItems(v []ParamTplGetItem)
SetItems gets a reference to the given []ParamTplGetItem and assigns it to the Items field.
func (*ParamTplGet) UnmarshalJSON ¶
func (o *ParamTplGet) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplGetItem ¶
type ParamTplGetItem struct {
// The name of the configuration spec
SpecName string `json:"specName"`
// Cluster parameters configuration, include the file name and content of the parameters
Config ConfigurationWithRegex `json:"config"`
// With the list of parameterSpecs and the configuration file name
ParameterSpec ParameterSpecListItem `json:"parameterSpec"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplGetItem paramTplGetItem is a list of get parameter template and parameterSpec
func NewParamTplGetItem ¶
func NewParamTplGetItem(specName string, config ConfigurationWithRegex, parameterSpec ParameterSpecListItem) *ParamTplGetItem
NewParamTplGetItem instantiates a new ParamTplGetItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplGetItemWithDefaults ¶
func NewParamTplGetItemWithDefaults() *ParamTplGetItem
NewParamTplGetItemWithDefaults instantiates a new ParamTplGetItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplGetItem) GetConfig ¶
func (o *ParamTplGetItem) GetConfig() ConfigurationWithRegex
GetConfig returns the Config field value.
func (*ParamTplGetItem) GetConfigOk ¶
func (o *ParamTplGetItem) GetConfigOk() (*ConfigurationWithRegex, bool)
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*ParamTplGetItem) GetParameterSpec ¶
func (o *ParamTplGetItem) GetParameterSpec() ParameterSpecListItem
GetParameterSpec returns the ParameterSpec field value.
func (*ParamTplGetItem) GetParameterSpecOk ¶
func (o *ParamTplGetItem) GetParameterSpecOk() (*ParameterSpecListItem, bool)
GetParameterSpecOk returns a tuple with the ParameterSpec field value and a boolean to check if the value has been set.
func (*ParamTplGetItem) GetSpecName ¶
func (o *ParamTplGetItem) GetSpecName() string
GetSpecName returns the SpecName field value.
func (*ParamTplGetItem) GetSpecNameOk ¶
func (o *ParamTplGetItem) GetSpecNameOk() (*string, bool)
GetSpecNameOk returns a tuple with the SpecName field value and a boolean to check if the value has been set.
func (ParamTplGetItem) MarshalJSON ¶
func (o ParamTplGetItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplGetItem) SetConfig ¶
func (o *ParamTplGetItem) SetConfig(v ConfigurationWithRegex)
SetConfig sets field value.
func (*ParamTplGetItem) SetParameterSpec ¶
func (o *ParamTplGetItem) SetParameterSpec(v ParameterSpecListItem)
SetParameterSpec sets field value.
func (*ParamTplGetItem) SetSpecName ¶
func (o *ParamTplGetItem) SetSpecName(v string)
SetSpecName sets field value.
func (*ParamTplGetItem) UnmarshalJSON ¶
func (o *ParamTplGetItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplList ¶
type ParamTplList struct {
// Items is the list of parameter templates objects in the list
Items []ParamTplListItem `json:"items"`
// PageResult info
PageResult *PageResult `json:"pageResult,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplList paramTplList is a list of parameter templates
func NewParamTplList ¶
func NewParamTplList(items []ParamTplListItem) *ParamTplList
NewParamTplList instantiates a new ParamTplList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplListWithDefaults ¶
func NewParamTplListWithDefaults() *ParamTplList
NewParamTplListWithDefaults instantiates a new ParamTplList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplList) GetItems ¶
func (o *ParamTplList) GetItems() []ParamTplListItem
GetItems returns the Items field value.
func (*ParamTplList) GetItemsOk ¶
func (o *ParamTplList) GetItemsOk() (*[]ParamTplListItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*ParamTplList) GetPageResult ¶
func (o *ParamTplList) GetPageResult() PageResult
GetPageResult returns the PageResult field value if set, zero value otherwise.
func (*ParamTplList) GetPageResultOk ¶
func (o *ParamTplList) GetPageResultOk() (*PageResult, bool)
GetPageResultOk returns a tuple with the PageResult field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplList) HasPageResult ¶
func (o *ParamTplList) HasPageResult() bool
HasPageResult returns a boolean if a field has been set.
func (ParamTplList) MarshalJSON ¶
func (o ParamTplList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplList) SetItems ¶
func (o *ParamTplList) SetItems(v []ParamTplListItem)
SetItems sets field value.
func (*ParamTplList) SetPageResult ¶
func (o *ParamTplList) SetPageResult(v PageResult)
SetPageResult gets a reference to the given PageResult and assigns it to the PageResult field.
func (*ParamTplList) UnmarshalJSON ¶
func (o *ParamTplList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplListItem ¶
type ParamTplListItem struct {
// Name of the organization
OrgName *string `json:"orgName,omitempty"`
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description of parameter template
Description string `json:"description"`
// Name of database with its version, eg: mysql8.0
Family string `json:"family"`
// Name of parameter template. Name must be unique within an Org
Name string `json:"name"`
// the template partition in listParamTpl request
Partition string `json:"partition"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplListItem parameter template information
func NewParamTplListItem ¶
func NewParamTplListItem(description string, family string, name string, partition string) *ParamTplListItem
NewParamTplListItem instantiates a new ParamTplListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplListItemWithDefaults ¶
func NewParamTplListItemWithDefaults() *ParamTplListItem
NewParamTplListItemWithDefaults instantiates a new ParamTplListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplListItem) GetCreatedAt ¶
func (o *ParamTplListItem) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ParamTplListItem) GetCreatedAtOk ¶
func (o *ParamTplListItem) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplListItem) GetDescription ¶
func (o *ParamTplListItem) GetDescription() string
GetDescription returns the Description field value.
func (*ParamTplListItem) GetDescriptionOk ¶
func (o *ParamTplListItem) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ParamTplListItem) GetFamily ¶
func (o *ParamTplListItem) GetFamily() string
GetFamily returns the Family field value.
func (*ParamTplListItem) GetFamilyOk ¶
func (o *ParamTplListItem) GetFamilyOk() (*string, bool)
GetFamilyOk returns a tuple with the Family field value and a boolean to check if the value has been set.
func (*ParamTplListItem) GetName ¶
func (o *ParamTplListItem) GetName() string
GetName returns the Name field value.
func (*ParamTplListItem) GetNameOk ¶
func (o *ParamTplListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParamTplListItem) GetOrgName ¶
func (o *ParamTplListItem) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*ParamTplListItem) GetOrgNameOk ¶
func (o *ParamTplListItem) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplListItem) GetPartition ¶
func (o *ParamTplListItem) GetPartition() string
GetPartition returns the Partition field value.
func (*ParamTplListItem) GetPartitionOk ¶
func (o *ParamTplListItem) GetPartitionOk() (*string, bool)
GetPartitionOk returns a tuple with the Partition field value and a boolean to check if the value has been set.
func (*ParamTplListItem) GetUpdatedAt ¶
func (o *ParamTplListItem) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*ParamTplListItem) GetUpdatedAtOk ¶
func (o *ParamTplListItem) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplListItem) HasCreatedAt ¶
func (o *ParamTplListItem) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ParamTplListItem) HasOrgName ¶
func (o *ParamTplListItem) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*ParamTplListItem) HasUpdatedAt ¶
func (o *ParamTplListItem) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (ParamTplListItem) MarshalJSON ¶
func (o ParamTplListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplListItem) SetCreatedAt ¶
func (o *ParamTplListItem) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ParamTplListItem) SetDescription ¶
func (o *ParamTplListItem) SetDescription(v string)
SetDescription sets field value.
func (*ParamTplListItem) SetFamily ¶
func (o *ParamTplListItem) SetFamily(v string)
SetFamily sets field value.
func (*ParamTplListItem) SetName ¶
func (o *ParamTplListItem) SetName(v string)
SetName sets field value.
func (*ParamTplListItem) SetOrgName ¶
func (o *ParamTplListItem) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*ParamTplListItem) SetPartition ¶
func (o *ParamTplListItem) SetPartition(v string)
SetPartition sets field value.
func (*ParamTplListItem) SetUpdatedAt ¶
func (o *ParamTplListItem) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*ParamTplListItem) UnmarshalJSON ¶
func (o *ParamTplListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplPartition ¶
type ParamTplPartition string
const ( ParamTplPartitionDefault ParamTplPartition = "default" ParamTplPartitionCustom ParamTplPartition = "custom" )
List of ParamTplPartition.
func NewParamTplPartitionFromValue ¶
func NewParamTplPartitionFromValue(v string) (*ParamTplPartition, error)
NewParamTplPartitionFromValue returns a pointer to a valid ParamTplPartition for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*ParamTplPartition) GetAllowedValues ¶
func (v *ParamTplPartition) GetAllowedValues() []ParamTplPartition
GetAllowedValues returns the list of possible values.
func (ParamTplPartition) IsValid ¶
func (v ParamTplPartition) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (ParamTplPartition) Ptr ¶
func (v ParamTplPartition) Ptr() *ParamTplPartition
Ptr returns reference to ParamTplPartition value.
func (*ParamTplPartition) UnmarshalJSON ¶
func (v *ParamTplPartition) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type ParamTplUpdate ¶
type ParamTplUpdate struct {
// Specify parameters belongs to which spec
SpecName *string `json:"specName,omitempty"`
// Specify parameters belongs to which config file
ConfigFile *string `json:"configFile,omitempty"`
// Specify parameters list to be updated
Parameters map[string]string `json:"parameters,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplUpdate paramTplUpdate is the payload to update a parameter template
func NewParamTplUpdate ¶
func NewParamTplUpdate() *ParamTplUpdate
NewParamTplUpdate instantiates a new ParamTplUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplUpdateWithDefaults ¶
func NewParamTplUpdateWithDefaults() *ParamTplUpdate
NewParamTplUpdateWithDefaults instantiates a new ParamTplUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplUpdate) GetConfigFile ¶
func (o *ParamTplUpdate) GetConfigFile() string
GetConfigFile returns the ConfigFile field value if set, zero value otherwise.
func (*ParamTplUpdate) GetConfigFileOk ¶
func (o *ParamTplUpdate) GetConfigFileOk() (*string, bool)
GetConfigFileOk returns a tuple with the ConfigFile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplUpdate) GetParameters ¶
func (o *ParamTplUpdate) GetParameters() map[string]string
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*ParamTplUpdate) GetParametersOk ¶
func (o *ParamTplUpdate) GetParametersOk() (*map[string]string, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplUpdate) GetSpecName ¶
func (o *ParamTplUpdate) GetSpecName() string
GetSpecName returns the SpecName field value if set, zero value otherwise.
func (*ParamTplUpdate) GetSpecNameOk ¶
func (o *ParamTplUpdate) GetSpecNameOk() (*string, bool)
GetSpecNameOk returns a tuple with the SpecName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplUpdate) HasConfigFile ¶
func (o *ParamTplUpdate) HasConfigFile() bool
HasConfigFile returns a boolean if a field has been set.
func (*ParamTplUpdate) HasParameters ¶
func (o *ParamTplUpdate) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (*ParamTplUpdate) HasSpecName ¶
func (o *ParamTplUpdate) HasSpecName() bool
HasSpecName returns a boolean if a field has been set.
func (ParamTplUpdate) MarshalJSON ¶
func (o ParamTplUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplUpdate) SetConfigFile ¶
func (o *ParamTplUpdate) SetConfigFile(v string)
SetConfigFile gets a reference to the given string and assigns it to the ConfigFile field.
func (*ParamTplUpdate) SetParameters ¶
func (o *ParamTplUpdate) SetParameters(v map[string]string)
SetParameters gets a reference to the given map[string]string and assigns it to the Parameters field.
func (*ParamTplUpdate) SetSpecName ¶
func (o *ParamTplUpdate) SetSpecName(v string)
SetSpecName gets a reference to the given string and assigns it to the SpecName field.
func (*ParamTplUpdate) UnmarshalJSON ¶
func (o *ParamTplUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParamTplsItem ¶
type ParamTplsItem struct {
// component type, refer to componentDef and support NamePrefix, Deprecated.
ComponentDefRef *string `json:"componentDefRef,omitempty"`
// component type, refer to componentDef and support NamePrefix
Component *string `json:"component,omitempty"`
// name of assigned parameter template
ParamTplName *string `json:"paramTplName,omitempty"`
ParamTplPartition *ParamTplPartition `json:"paramTplPartition,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParamTplsItem the item of the parameter template
func NewParamTplsItem ¶
func NewParamTplsItem() *ParamTplsItem
NewParamTplsItem instantiates a new ParamTplsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParamTplsItemWithDefaults ¶
func NewParamTplsItemWithDefaults() *ParamTplsItem
NewParamTplsItemWithDefaults instantiates a new ParamTplsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParamTplsItem) GetComponent ¶
func (o *ParamTplsItem) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*ParamTplsItem) GetComponentDefRef ¶
func (o *ParamTplsItem) GetComponentDefRef() string
GetComponentDefRef returns the ComponentDefRef field value if set, zero value otherwise.
func (*ParamTplsItem) GetComponentDefRefOk ¶
func (o *ParamTplsItem) GetComponentDefRefOk() (*string, bool)
GetComponentDefRefOk returns a tuple with the ComponentDefRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplsItem) GetComponentOk ¶
func (o *ParamTplsItem) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplsItem) GetParamTplName ¶
func (o *ParamTplsItem) GetParamTplName() string
GetParamTplName returns the ParamTplName field value if set, zero value otherwise.
func (*ParamTplsItem) GetParamTplNameOk ¶
func (o *ParamTplsItem) GetParamTplNameOk() (*string, bool)
GetParamTplNameOk returns a tuple with the ParamTplName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplsItem) GetParamTplPartition ¶
func (o *ParamTplsItem) GetParamTplPartition() ParamTplPartition
GetParamTplPartition returns the ParamTplPartition field value if set, zero value otherwise.
func (*ParamTplsItem) GetParamTplPartitionOk ¶
func (o *ParamTplsItem) GetParamTplPartitionOk() (*ParamTplPartition, bool)
GetParamTplPartitionOk returns a tuple with the ParamTplPartition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParamTplsItem) HasComponent ¶
func (o *ParamTplsItem) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*ParamTplsItem) HasComponentDefRef ¶
func (o *ParamTplsItem) HasComponentDefRef() bool
HasComponentDefRef returns a boolean if a field has been set.
func (*ParamTplsItem) HasParamTplName ¶
func (o *ParamTplsItem) HasParamTplName() bool
HasParamTplName returns a boolean if a field has been set.
func (*ParamTplsItem) HasParamTplPartition ¶
func (o *ParamTplsItem) HasParamTplPartition() bool
HasParamTplPartition returns a boolean if a field has been set.
func (ParamTplsItem) MarshalJSON ¶
func (o ParamTplsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParamTplsItem) SetComponent ¶
func (o *ParamTplsItem) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*ParamTplsItem) SetComponentDefRef ¶
func (o *ParamTplsItem) SetComponentDefRef(v string)
SetComponentDefRef gets a reference to the given string and assigns it to the ComponentDefRef field.
func (*ParamTplsItem) SetParamTplName ¶
func (o *ParamTplsItem) SetParamTplName(v string)
SetParamTplName gets a reference to the given string and assigns it to the ParamTplName field.
func (*ParamTplsItem) SetParamTplPartition ¶
func (o *ParamTplsItem) SetParamTplPartition(v ParamTplPartition)
SetParamTplPartition gets a reference to the given ParamTplPartition and assigns it to the ParamTplPartition field.
func (*ParamTplsItem) UnmarshalJSON ¶
func (o *ParamTplsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterApi ¶
ParameterApi service type
func NewParameterApi ¶
func NewParameterApi(client *common.APIClient) *ParameterApi
NewParameterApi Returns NewParameterApi.
func (*ParameterApi) ListConfigurations ¶
func (a *ParameterApi) ListConfigurations(ctx _context.Context, orgName string, clusterName string, o ...ListConfigurationsOptionalParameters) (ConfigurationList, *_nethttp.Response, error)
ListConfigurations List configurations of the cluster.
func (*ParameterApi) ListParameterSpecs ¶
func (a *ParameterApi) ListParameterSpecs(ctx _context.Context, orgName string, clusterName string, o ...ListParameterSpecsOptionalParameters) (ParameterSpecList, *_nethttp.Response, error)
ListParameterSpecs List parameter specs of the cluster.
func (*ParameterApi) ListParametersHistory ¶
func (a *ParameterApi) ListParametersHistory(ctx _context.Context, orgName string, clusterName string, o ...ListParametersHistoryOptionalParameters) (ParameterHistoryList, *_nethttp.Response, error)
ListParametersHistory List parameters history of the cluster.
type ParameterConfig ¶
type ParameterConfig struct {
ConfigName string `json:"configName"`
SpecName string `json:"specName"`
Constraint string `json:"constraint"`
Regex string `json:"regex"`
ConfigTplName string `json:"configTplName"`
InitOptions map[string]interface{} `json:"initOptions,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewParameterConfig ¶
func NewParameterConfig(configName string, specName string, constraint string, regex string, configTplName string) *ParameterConfig
NewParameterConfig instantiates a new ParameterConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterConfigWithDefaults ¶
func NewParameterConfigWithDefaults() *ParameterConfig
NewParameterConfigWithDefaults instantiates a new ParameterConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterConfig) GetConfigName ¶
func (o *ParameterConfig) GetConfigName() string
GetConfigName returns the ConfigName field value.
func (*ParameterConfig) GetConfigNameOk ¶
func (o *ParameterConfig) GetConfigNameOk() (*string, bool)
GetConfigNameOk returns a tuple with the ConfigName field value and a boolean to check if the value has been set.
func (*ParameterConfig) GetConfigTplName ¶
func (o *ParameterConfig) GetConfigTplName() string
GetConfigTplName returns the ConfigTplName field value.
func (*ParameterConfig) GetConfigTplNameOk ¶
func (o *ParameterConfig) GetConfigTplNameOk() (*string, bool)
GetConfigTplNameOk returns a tuple with the ConfigTplName field value and a boolean to check if the value has been set.
func (*ParameterConfig) GetConstraint ¶
func (o *ParameterConfig) GetConstraint() string
GetConstraint returns the Constraint field value.
func (*ParameterConfig) GetConstraintOk ¶
func (o *ParameterConfig) GetConstraintOk() (*string, bool)
GetConstraintOk returns a tuple with the Constraint field value and a boolean to check if the value has been set.
func (*ParameterConfig) GetInitOptions ¶
func (o *ParameterConfig) GetInitOptions() map[string]interface{}
GetInitOptions returns the InitOptions field value if set, zero value otherwise.
func (*ParameterConfig) GetInitOptionsOk ¶
func (o *ParameterConfig) GetInitOptionsOk() (*map[string]interface{}, bool)
GetInitOptionsOk returns a tuple with the InitOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterConfig) GetRegex ¶
func (o *ParameterConfig) GetRegex() string
GetRegex returns the Regex field value.
func (*ParameterConfig) GetRegexOk ¶
func (o *ParameterConfig) GetRegexOk() (*string, bool)
GetRegexOk returns a tuple with the Regex field value and a boolean to check if the value has been set.
func (*ParameterConfig) GetSpecName ¶
func (o *ParameterConfig) GetSpecName() string
GetSpecName returns the SpecName field value.
func (*ParameterConfig) GetSpecNameOk ¶
func (o *ParameterConfig) GetSpecNameOk() (*string, bool)
GetSpecNameOk returns a tuple with the SpecName field value and a boolean to check if the value has been set.
func (*ParameterConfig) HasInitOptions ¶
func (o *ParameterConfig) HasInitOptions() bool
HasInitOptions returns a boolean if a field has been set.
func (ParameterConfig) MarshalJSON ¶
func (o ParameterConfig) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterConfig) SetConfigName ¶
func (o *ParameterConfig) SetConfigName(v string)
SetConfigName sets field value.
func (*ParameterConfig) SetConfigTplName ¶
func (o *ParameterConfig) SetConfigTplName(v string)
SetConfigTplName sets field value.
func (*ParameterConfig) SetConstraint ¶
func (o *ParameterConfig) SetConstraint(v string)
SetConstraint sets field value.
func (*ParameterConfig) SetInitOptions ¶
func (o *ParameterConfig) SetInitOptions(v map[string]interface{})
SetInitOptions gets a reference to the given map[string]interface{} and assigns it to the InitOptions field.
func (*ParameterConfig) SetRegex ¶
func (o *ParameterConfig) SetRegex(v string)
SetRegex sets field value.
func (*ParameterConfig) SetSpecName ¶
func (o *ParameterConfig) SetSpecName(v string)
SetSpecName sets field value.
func (*ParameterConfig) UnmarshalJSON ¶
func (o *ParameterConfig) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterHistory ¶
type ParameterHistory struct {
// The name of the parameter
ParameterName string `json:"parameterName"`
// The old value of the parameter
OldValue string `json:"oldValue"`
// The new value of the parameter
NewValue string `json:"newValue"`
// The date and time the parameter was last updated
UpdatedAt time.Time `json:"updatedAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParameterHistory The history of a parameter
func NewParameterHistory ¶
func NewParameterHistory(parameterName string, oldValue string, newValue string, updatedAt time.Time) *ParameterHistory
NewParameterHistory instantiates a new ParameterHistory object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterHistoryWithDefaults ¶
func NewParameterHistoryWithDefaults() *ParameterHistory
NewParameterHistoryWithDefaults instantiates a new ParameterHistory object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterHistory) GetNewValue ¶
func (o *ParameterHistory) GetNewValue() string
GetNewValue returns the NewValue field value.
func (*ParameterHistory) GetNewValueOk ¶
func (o *ParameterHistory) GetNewValueOk() (*string, bool)
GetNewValueOk returns a tuple with the NewValue field value and a boolean to check if the value has been set.
func (*ParameterHistory) GetOldValue ¶
func (o *ParameterHistory) GetOldValue() string
GetOldValue returns the OldValue field value.
func (*ParameterHistory) GetOldValueOk ¶
func (o *ParameterHistory) GetOldValueOk() (*string, bool)
GetOldValueOk returns a tuple with the OldValue field value and a boolean to check if the value has been set.
func (*ParameterHistory) GetParameterName ¶
func (o *ParameterHistory) GetParameterName() string
GetParameterName returns the ParameterName field value.
func (*ParameterHistory) GetParameterNameOk ¶
func (o *ParameterHistory) GetParameterNameOk() (*string, bool)
GetParameterNameOk returns a tuple with the ParameterName field value and a boolean to check if the value has been set.
func (*ParameterHistory) GetUpdatedAt ¶
func (o *ParameterHistory) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value.
func (*ParameterHistory) GetUpdatedAtOk ¶
func (o *ParameterHistory) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (ParameterHistory) MarshalJSON ¶
func (o ParameterHistory) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterHistory) SetNewValue ¶
func (o *ParameterHistory) SetNewValue(v string)
SetNewValue sets field value.
func (*ParameterHistory) SetOldValue ¶
func (o *ParameterHistory) SetOldValue(v string)
SetOldValue sets field value.
func (*ParameterHistory) SetParameterName ¶
func (o *ParameterHistory) SetParameterName(v string)
SetParameterName sets field value.
func (*ParameterHistory) SetUpdatedAt ¶
func (o *ParameterHistory) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value.
func (*ParameterHistory) UnmarshalJSON ¶
func (o *ParameterHistory) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterHistoryList ¶
type ParameterHistoryList struct {
Items []ParameterHistory `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParameterHistoryList A list of parameter history
func NewParameterHistoryList ¶
func NewParameterHistoryList() *ParameterHistoryList
NewParameterHistoryList instantiates a new ParameterHistoryList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterHistoryListWithDefaults ¶
func NewParameterHistoryListWithDefaults() *ParameterHistoryList
NewParameterHistoryListWithDefaults instantiates a new ParameterHistoryList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterHistoryList) GetItems ¶
func (o *ParameterHistoryList) GetItems() []ParameterHistory
GetItems returns the Items field value if set, zero value otherwise.
func (*ParameterHistoryList) GetItemsOk ¶
func (o *ParameterHistoryList) GetItemsOk() (*[]ParameterHistory, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterHistoryList) HasItems ¶
func (o *ParameterHistoryList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ParameterHistoryList) MarshalJSON ¶
func (o ParameterHistoryList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterHistoryList) SetItems ¶
func (o *ParameterHistoryList) SetItems(v []ParameterHistory)
SetItems gets a reference to the given []ParameterHistory and assigns it to the Items field.
func (*ParameterHistoryList) UnmarshalJSON ¶
func (o *ParameterHistoryList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterOption ¶
type ParameterOption struct {
Component string `json:"component"`
Configs []ParameterConfig `json:"configs"`
// deprecated
Versions []string `json:"versions"`
ExportTpl bool `json:"exportTpl"`
// a alias with major version.
Family string `json:"family"`
// match the major version
MajorVersion *string `json:"majorVersion,omitempty"`
DefaultTplName string `json:"defaultTplName"`
DefaultTplDescription LocalizedDescription `json:"defaultTplDescription"`
DisableHa *bool `json:"disableHA,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewParameterOption ¶
func NewParameterOption(component string, configs []ParameterConfig, versions []string, exportTpl bool, family string, defaultTplName string, defaultTplDescription LocalizedDescription) *ParameterOption
NewParameterOption instantiates a new ParameterOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterOptionWithDefaults ¶
func NewParameterOptionWithDefaults() *ParameterOption
NewParameterOptionWithDefaults instantiates a new ParameterOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterOption) GetComponent ¶
func (o *ParameterOption) GetComponent() string
GetComponent returns the Component field value.
func (*ParameterOption) GetComponentOk ¶
func (o *ParameterOption) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value and a boolean to check if the value has been set.
func (*ParameterOption) GetConfigs ¶
func (o *ParameterOption) GetConfigs() []ParameterConfig
GetConfigs returns the Configs field value.
func (*ParameterOption) GetConfigsOk ¶
func (o *ParameterOption) GetConfigsOk() (*[]ParameterConfig, bool)
GetConfigsOk returns a tuple with the Configs field value and a boolean to check if the value has been set.
func (*ParameterOption) GetDefaultTplDescription ¶
func (o *ParameterOption) GetDefaultTplDescription() LocalizedDescription
GetDefaultTplDescription returns the DefaultTplDescription field value.
func (*ParameterOption) GetDefaultTplDescriptionOk ¶
func (o *ParameterOption) GetDefaultTplDescriptionOk() (*LocalizedDescription, bool)
GetDefaultTplDescriptionOk returns a tuple with the DefaultTplDescription field value and a boolean to check if the value has been set.
func (*ParameterOption) GetDefaultTplName ¶
func (o *ParameterOption) GetDefaultTplName() string
GetDefaultTplName returns the DefaultTplName field value.
func (*ParameterOption) GetDefaultTplNameOk ¶
func (o *ParameterOption) GetDefaultTplNameOk() (*string, bool)
GetDefaultTplNameOk returns a tuple with the DefaultTplName field value and a boolean to check if the value has been set.
func (*ParameterOption) GetDisableHa ¶
func (o *ParameterOption) GetDisableHa() bool
GetDisableHa returns the DisableHa field value if set, zero value otherwise.
func (*ParameterOption) GetDisableHaOk ¶
func (o *ParameterOption) GetDisableHaOk() (*bool, bool)
GetDisableHaOk returns a tuple with the DisableHa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterOption) GetExportTpl ¶
func (o *ParameterOption) GetExportTpl() bool
GetExportTpl returns the ExportTpl field value.
func (*ParameterOption) GetExportTplOk ¶
func (o *ParameterOption) GetExportTplOk() (*bool, bool)
GetExportTplOk returns a tuple with the ExportTpl field value and a boolean to check if the value has been set.
func (*ParameterOption) GetFamily ¶
func (o *ParameterOption) GetFamily() string
GetFamily returns the Family field value.
func (*ParameterOption) GetFamilyOk ¶
func (o *ParameterOption) GetFamilyOk() (*string, bool)
GetFamilyOk returns a tuple with the Family field value and a boolean to check if the value has been set.
func (*ParameterOption) GetMajorVersion ¶
func (o *ParameterOption) GetMajorVersion() string
GetMajorVersion returns the MajorVersion field value if set, zero value otherwise.
func (*ParameterOption) GetMajorVersionOk ¶
func (o *ParameterOption) GetMajorVersionOk() (*string, bool)
GetMajorVersionOk returns a tuple with the MajorVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterOption) GetVersions ¶
func (o *ParameterOption) GetVersions() []string
GetVersions returns the Versions field value.
func (*ParameterOption) GetVersionsOk ¶
func (o *ParameterOption) GetVersionsOk() (*[]string, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (*ParameterOption) HasDisableHa ¶
func (o *ParameterOption) HasDisableHa() bool
HasDisableHa returns a boolean if a field has been set.
func (*ParameterOption) HasMajorVersion ¶
func (o *ParameterOption) HasMajorVersion() bool
HasMajorVersion returns a boolean if a field has been set.
func (ParameterOption) MarshalJSON ¶
func (o ParameterOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterOption) SetComponent ¶
func (o *ParameterOption) SetComponent(v string)
SetComponent sets field value.
func (*ParameterOption) SetConfigs ¶
func (o *ParameterOption) SetConfigs(v []ParameterConfig)
SetConfigs sets field value.
func (*ParameterOption) SetDefaultTplDescription ¶
func (o *ParameterOption) SetDefaultTplDescription(v LocalizedDescription)
SetDefaultTplDescription sets field value.
func (*ParameterOption) SetDefaultTplName ¶
func (o *ParameterOption) SetDefaultTplName(v string)
SetDefaultTplName sets field value.
func (*ParameterOption) SetDisableHa ¶
func (o *ParameterOption) SetDisableHa(v bool)
SetDisableHa gets a reference to the given bool and assigns it to the DisableHa field.
func (*ParameterOption) SetExportTpl ¶
func (o *ParameterOption) SetExportTpl(v bool)
SetExportTpl sets field value.
func (*ParameterOption) SetFamily ¶
func (o *ParameterOption) SetFamily(v string)
SetFamily sets field value.
func (*ParameterOption) SetMajorVersion ¶
func (o *ParameterOption) SetMajorVersion(v string)
SetMajorVersion gets a reference to the given string and assigns it to the MajorVersion field.
func (*ParameterOption) SetVersions ¶
func (o *ParameterOption) SetVersions(v []string)
SetVersions sets field value.
func (*ParameterOption) UnmarshalJSON ¶
func (o *ParameterOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterSpec ¶
type ParameterSpec struct {
// The name of the parameter
Name string `json:"name"`
// The description of the parameter
Description string `json:"description"`
// The type of the parameter value
Type string `json:"type"`
// The default value of the parameter
Default map[string]interface{} `json:"default"`
// Whether the parameter requires a restart to take effect
NeedRestart bool `json:"needRestart"`
// Whether the parameter is an immutable parameter, immutable parameters cannot be modified
Immutable bool `json:"immutable"`
// The maximum value of the parameter
Maximum float64 `json:"maximum"`
// The minimum value of the parameter
Minimum float64 `json:"minimum"`
// The value options of the parameter
Enum []map[string]interface{} `json:"enum"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParameterSpec Cluster parameter specification
func NewParameterSpec ¶
func NewParameterSpec(name string, description string, typeVar string, defaultVar map[string]interface{}, needRestart bool, immutable bool, maximum float64, minimum float64, enum []map[string]interface{}) *ParameterSpec
NewParameterSpec instantiates a new ParameterSpec object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterSpecWithDefaults ¶
func NewParameterSpecWithDefaults() *ParameterSpec
NewParameterSpecWithDefaults instantiates a new ParameterSpec object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterSpec) GetDefault ¶
func (o *ParameterSpec) GetDefault() map[string]interface{}
GetDefault returns the Default field value.
func (*ParameterSpec) GetDefaultOk ¶
func (o *ParameterSpec) GetDefaultOk() (*map[string]interface{}, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetDescription ¶
func (o *ParameterSpec) GetDescription() string
GetDescription returns the Description field value.
func (*ParameterSpec) GetDescriptionOk ¶
func (o *ParameterSpec) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetEnum ¶
func (o *ParameterSpec) GetEnum() []map[string]interface{}
GetEnum returns the Enum field value.
func (*ParameterSpec) GetEnumOk ¶
func (o *ParameterSpec) GetEnumOk() (*[]map[string]interface{}, bool)
GetEnumOk returns a tuple with the Enum field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetImmutable ¶
func (o *ParameterSpec) GetImmutable() bool
GetImmutable returns the Immutable field value.
func (*ParameterSpec) GetImmutableOk ¶
func (o *ParameterSpec) GetImmutableOk() (*bool, bool)
GetImmutableOk returns a tuple with the Immutable field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetMaximum ¶
func (o *ParameterSpec) GetMaximum() float64
GetMaximum returns the Maximum field value.
func (*ParameterSpec) GetMaximumOk ¶
func (o *ParameterSpec) GetMaximumOk() (*float64, bool)
GetMaximumOk returns a tuple with the Maximum field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetMinimum ¶
func (o *ParameterSpec) GetMinimum() float64
GetMinimum returns the Minimum field value.
func (*ParameterSpec) GetMinimumOk ¶
func (o *ParameterSpec) GetMinimumOk() (*float64, bool)
GetMinimumOk returns a tuple with the Minimum field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetName ¶
func (o *ParameterSpec) GetName() string
GetName returns the Name field value.
func (*ParameterSpec) GetNameOk ¶
func (o *ParameterSpec) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetNeedRestart ¶
func (o *ParameterSpec) GetNeedRestart() bool
GetNeedRestart returns the NeedRestart field value.
func (*ParameterSpec) GetNeedRestartOk ¶
func (o *ParameterSpec) GetNeedRestartOk() (*bool, bool)
GetNeedRestartOk returns a tuple with the NeedRestart field value and a boolean to check if the value has been set.
func (*ParameterSpec) GetType ¶
func (o *ParameterSpec) GetType() string
GetType returns the Type field value.
func (*ParameterSpec) GetTypeOk ¶
func (o *ParameterSpec) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ParameterSpec) MarshalJSON ¶
func (o ParameterSpec) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterSpec) SetDefault ¶
func (o *ParameterSpec) SetDefault(v map[string]interface{})
SetDefault sets field value.
func (*ParameterSpec) SetDescription ¶
func (o *ParameterSpec) SetDescription(v string)
SetDescription sets field value.
func (*ParameterSpec) SetEnum ¶
func (o *ParameterSpec) SetEnum(v []map[string]interface{})
SetEnum sets field value.
func (*ParameterSpec) SetImmutable ¶
func (o *ParameterSpec) SetImmutable(v bool)
SetImmutable sets field value.
func (*ParameterSpec) SetMaximum ¶
func (o *ParameterSpec) SetMaximum(v float64)
SetMaximum sets field value.
func (*ParameterSpec) SetMinimum ¶
func (o *ParameterSpec) SetMinimum(v float64)
SetMinimum sets field value.
func (*ParameterSpec) SetNeedRestart ¶
func (o *ParameterSpec) SetNeedRestart(v bool)
SetNeedRestart sets field value.
func (*ParameterSpec) UnmarshalJSON ¶
func (o *ParameterSpec) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterSpecList ¶
type ParameterSpecList struct {
Items []ParameterSpecListItem `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParameterSpecList A list of cluster parameterSpecs
func NewParameterSpecList ¶
func NewParameterSpecList() *ParameterSpecList
NewParameterSpecList instantiates a new ParameterSpecList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterSpecListWithDefaults ¶
func NewParameterSpecListWithDefaults() *ParameterSpecList
NewParameterSpecListWithDefaults instantiates a new ParameterSpecList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterSpecList) GetItems ¶
func (o *ParameterSpecList) GetItems() []ParameterSpecListItem
GetItems returns the Items field value if set, zero value otherwise.
func (*ParameterSpecList) GetItemsOk ¶
func (o *ParameterSpecList) GetItemsOk() (*[]ParameterSpecListItem, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterSpecList) HasItems ¶
func (o *ParameterSpecList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ParameterSpecList) MarshalJSON ¶
func (o ParameterSpecList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterSpecList) SetItems ¶
func (o *ParameterSpecList) SetItems(v []ParameterSpecListItem)
SetItems gets a reference to the given []ParameterSpecListItem and assigns it to the Items field.
func (*ParameterSpecList) UnmarshalJSON ¶
func (o *ParameterSpecList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ParameterSpecListItem ¶
type ParameterSpecListItem struct {
Specs []ParameterSpec `json:"specs,omitempty"`
// The name of the configuration file
FileName *string `json:"fileName,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ParameterSpecListItem With the list of parameterSpecs and the configuration file name
func NewParameterSpecListItem ¶
func NewParameterSpecListItem() *ParameterSpecListItem
NewParameterSpecListItem instantiates a new ParameterSpecListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewParameterSpecListItemWithDefaults ¶
func NewParameterSpecListItemWithDefaults() *ParameterSpecListItem
NewParameterSpecListItemWithDefaults instantiates a new ParameterSpecListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ParameterSpecListItem) GetFileName ¶
func (o *ParameterSpecListItem) GetFileName() string
GetFileName returns the FileName field value if set, zero value otherwise.
func (*ParameterSpecListItem) GetFileNameOk ¶
func (o *ParameterSpecListItem) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterSpecListItem) GetSpecs ¶
func (o *ParameterSpecListItem) GetSpecs() []ParameterSpec
GetSpecs returns the Specs field value if set, zero value otherwise.
func (*ParameterSpecListItem) GetSpecsOk ¶
func (o *ParameterSpecListItem) GetSpecsOk() (*[]ParameterSpec, bool)
GetSpecsOk returns a tuple with the Specs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ParameterSpecListItem) HasFileName ¶
func (o *ParameterSpecListItem) HasFileName() bool
HasFileName returns a boolean if a field has been set.
func (*ParameterSpecListItem) HasSpecs ¶
func (o *ParameterSpecListItem) HasSpecs() bool
HasSpecs returns a boolean if a field has been set.
func (ParameterSpecListItem) MarshalJSON ¶
func (o ParameterSpecListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ParameterSpecListItem) SetFileName ¶
func (o *ParameterSpecListItem) SetFileName(v string)
SetFileName gets a reference to the given string and assigns it to the FileName field.
func (*ParameterSpecListItem) SetSpecs ¶
func (o *ParameterSpecListItem) SetSpecs(v []ParameterSpec)
SetSpecs gets a reference to the given []ParameterSpec and assigns it to the Specs field.
func (*ParameterSpecListItem) UnmarshalJSON ¶
func (o *ParameterSpecListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PatchAlertInhibitOptionalParameters ¶
type PatchAlertInhibitOptionalParameters struct {
Body *AlertInhibit
}
PatchAlertInhibitOptionalParameters holds optional parameters for PatchAlertInhibit.
func NewPatchAlertInhibitOptionalParameters ¶
func NewPatchAlertInhibitOptionalParameters() *PatchAlertInhibitOptionalParameters
NewPatchAlertInhibitOptionalParameters creates an empty struct for parameters.
func (*PatchAlertInhibitOptionalParameters) WithBody ¶
func (r *PatchAlertInhibitOptionalParameters) WithBody(body AlertInhibit) *PatchAlertInhibitOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type PatchBackupPolicyOptionalParameters ¶
type PatchBackupPolicyOptionalParameters struct {
UseVolumeSnapshot *bool
}
PatchBackupPolicyOptionalParameters holds optional parameters for PatchBackupPolicy.
func NewPatchBackupPolicyOptionalParameters ¶
func NewPatchBackupPolicyOptionalParameters() *PatchBackupPolicyOptionalParameters
NewPatchBackupPolicyOptionalParameters creates an empty struct for parameters.
func (*PatchBackupPolicyOptionalParameters) WithUseVolumeSnapshot ¶
func (r *PatchBackupPolicyOptionalParameters) WithUseVolumeSnapshot(useVolumeSnapshot bool) *PatchBackupPolicyOptionalParameters
WithUseVolumeSnapshot sets the corresponding parameter name and returns the struct.
type PatchClassOptionalParameters ¶
type PatchClassOptionalParameters struct {
Body *Class
}
PatchClassOptionalParameters holds optional parameters for PatchClass.
func NewPatchClassOptionalParameters ¶
func NewPatchClassOptionalParameters() *PatchClassOptionalParameters
NewPatchClassOptionalParameters creates an empty struct for parameters.
func (*PatchClassOptionalParameters) WithBody ¶
func (r *PatchClassOptionalParameters) WithBody(body Class) *PatchClassOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type Permission ¶
type Permission struct {
// The name of the permission
Name *string `json:"name,omitempty"`
// The group of the permission
Group *string `json:"group,omitempty"`
// The description of the permission
Description *string `json:"description,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Permission Permission information
func NewPermission ¶
func NewPermission() *Permission
NewPermission instantiates a new Permission object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPermissionWithDefaults ¶
func NewPermissionWithDefaults() *Permission
NewPermissionWithDefaults instantiates a new Permission object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Permission) GetDescription ¶
func (o *Permission) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*Permission) GetDescriptionOk ¶
func (o *Permission) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) GetGroup ¶
func (o *Permission) GetGroup() string
GetGroup returns the Group field value if set, zero value otherwise.
func (*Permission) GetGroupOk ¶
func (o *Permission) GetGroupOk() (*string, bool)
GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) GetName ¶
func (o *Permission) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*Permission) GetNameOk ¶
func (o *Permission) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Permission) HasDescription ¶
func (o *Permission) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*Permission) HasGroup ¶
func (o *Permission) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (*Permission) HasName ¶
func (o *Permission) HasName() bool
HasName returns a boolean if a field has been set.
func (Permission) MarshalJSON ¶
func (o Permission) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*Permission) SetDescription ¶
func (o *Permission) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Permission) SetGroup ¶
func (o *Permission) SetGroup(v string)
SetGroup gets a reference to the given string and assigns it to the Group field.
func (*Permission) SetName ¶
func (o *Permission) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*Permission) UnmarshalJSON ¶
func (o *Permission) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type PermissionList ¶
type PermissionList struct {
// Items is the list of Permission objects in the list
Items []Permission `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PermissionList PermissionList is a list of Permissions
func NewPermissionList ¶
func NewPermissionList(items []Permission) *PermissionList
NewPermissionList instantiates a new PermissionList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPermissionListWithDefaults ¶
func NewPermissionListWithDefaults() *PermissionList
NewPermissionListWithDefaults instantiates a new PermissionList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PermissionList) GetItems ¶
func (o *PermissionList) GetItems() []Permission
GetItems returns the Items field value.
func (*PermissionList) GetItemsOk ¶
func (o *PermissionList) GetItemsOk() (*[]Permission, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (PermissionList) MarshalJSON ¶
func (o PermissionList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PermissionList) SetItems ¶
func (o *PermissionList) SetItems(v []Permission)
SetItems sets field value.
func (*PermissionList) UnmarshalJSON ¶
func (o *PermissionList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Pgbench ¶
type Pgbench struct {
// Step of pgbench
Step *PgbenchStep `json:"step,omitempty"`
// the cpu limit for test container
LimitCpu *string `json:"limitCpu,omitempty"`
// the memory limit for test container
LimitMemory *string `json:"limitMemory,omitempty"`
// the cpu request for test container
RequestCpu *string `json:"requestCpu,omitempty"`
// the memory request for test container
RequestMemory *string `json:"requestMemory,omitempty"`
// the name of benchmark
Name *string `json:"name,omitempty"`
// the cluster name
Cluster string `json:"cluster"`
// the database name
Database string `json:"database"`
// Username for database
Username string `json:"username"`
// Password for database
Password string `json:"password"`
// Address for database
Address string `json:"address"`
// Scale of pgbench
Scale *int32 `json:"scale,omitempty"`
// Number of clients to run
Clients *int32 `json:"clients,omitempty"`
// Number of threads to use
Threads *int32 `json:"threads,omitempty"`
// the seconds of test duration
Duration *int32 `json:"duration,omitempty"`
// Run select only test
SelectOnly *bool `json:"selectOnly,omitempty"`
// Extra arguments for pgbench
ExtraArgs *string `json:"extraArgs,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Pgbench pgbench is the pgbench benchmark object
func NewPgbench ¶
func NewPgbench(cluster string, database string, username string, password string, address string) *Pgbench
NewPgbench instantiates a new Pgbench object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPgbenchWithDefaults ¶
func NewPgbenchWithDefaults() *Pgbench
NewPgbenchWithDefaults instantiates a new Pgbench object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Pgbench) GetAddress ¶
GetAddress returns the Address field value.
func (*Pgbench) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Pgbench) GetClients ¶
GetClients returns the Clients field value if set, zero value otherwise.
func (*Pgbench) GetClientsOk ¶
GetClientsOk returns a tuple with the Clients field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetCluster ¶
GetCluster returns the Cluster field value.
func (*Pgbench) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*Pgbench) GetDatabase ¶
GetDatabase returns the Database field value.
func (*Pgbench) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value and a boolean to check if the value has been set.
func (*Pgbench) GetDuration ¶
GetDuration returns the Duration field value if set, zero value otherwise.
func (*Pgbench) GetDurationOk ¶
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetExtraArgs ¶
GetExtraArgs returns the ExtraArgs field value if set, zero value otherwise.
func (*Pgbench) GetExtraArgsOk ¶
GetExtraArgsOk returns a tuple with the ExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetLimitCpu ¶
GetLimitCpu returns the LimitCpu field value if set, zero value otherwise.
func (*Pgbench) GetLimitCpuOk ¶
GetLimitCpuOk returns a tuple with the LimitCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetLimitMemory ¶
GetLimitMemory returns the LimitMemory field value if set, zero value otherwise.
func (*Pgbench) GetLimitMemoryOk ¶
GetLimitMemoryOk returns a tuple with the LimitMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetPassword ¶
GetPassword returns the Password field value.
func (*Pgbench) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*Pgbench) GetRequestCpu ¶
GetRequestCpu returns the RequestCpu field value if set, zero value otherwise.
func (*Pgbench) GetRequestCpuOk ¶
GetRequestCpuOk returns a tuple with the RequestCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetRequestMemory ¶
GetRequestMemory returns the RequestMemory field value if set, zero value otherwise.
func (*Pgbench) GetRequestMemoryOk ¶
GetRequestMemoryOk returns a tuple with the RequestMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetScaleOk ¶
GetScaleOk returns a tuple with the Scale field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetSelectOnly ¶
GetSelectOnly returns the SelectOnly field value if set, zero value otherwise.
func (*Pgbench) GetSelectOnlyOk ¶
GetSelectOnlyOk returns a tuple with the SelectOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetStep ¶
func (o *Pgbench) GetStep() PgbenchStep
GetStep returns the Step field value if set, zero value otherwise.
func (*Pgbench) GetStepOk ¶
func (o *Pgbench) GetStepOk() (*PgbenchStep, bool)
GetStepOk returns a tuple with the Step field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetThreads ¶
GetThreads returns the Threads field value if set, zero value otherwise.
func (*Pgbench) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pgbench) GetUsername ¶
GetUsername returns the Username field value.
func (*Pgbench) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*Pgbench) HasClients ¶
HasClients returns a boolean if a field has been set.
func (*Pgbench) HasDuration ¶
HasDuration returns a boolean if a field has been set.
func (*Pgbench) HasExtraArgs ¶
HasExtraArgs returns a boolean if a field has been set.
func (*Pgbench) HasLimitCpu ¶
HasLimitCpu returns a boolean if a field has been set.
func (*Pgbench) HasLimitMemory ¶
HasLimitMemory returns a boolean if a field has been set.
func (*Pgbench) HasRequestCpu ¶
HasRequestCpu returns a boolean if a field has been set.
func (*Pgbench) HasRequestMemory ¶
HasRequestMemory returns a boolean if a field has been set.
func (*Pgbench) HasSelectOnly ¶
HasSelectOnly returns a boolean if a field has been set.
func (*Pgbench) HasThreads ¶
HasThreads returns a boolean if a field has been set.
func (Pgbench) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Pgbench) SetClients ¶
SetClients gets a reference to the given int32 and assigns it to the Clients field.
func (*Pgbench) SetDuration ¶
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*Pgbench) SetExtraArgs ¶
SetExtraArgs gets a reference to the given string and assigns it to the ExtraArgs field.
func (*Pgbench) SetLimitCpu ¶
SetLimitCpu gets a reference to the given string and assigns it to the LimitCpu field.
func (*Pgbench) SetLimitMemory ¶
SetLimitMemory gets a reference to the given string and assigns it to the LimitMemory field.
func (*Pgbench) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Pgbench) SetRequestCpu ¶
SetRequestCpu gets a reference to the given string and assigns it to the RequestCpu field.
func (*Pgbench) SetRequestMemory ¶
SetRequestMemory gets a reference to the given string and assigns it to the RequestMemory field.
func (*Pgbench) SetScale ¶
SetScale gets a reference to the given int32 and assigns it to the Scale field.
func (*Pgbench) SetSelectOnly ¶
SetSelectOnly gets a reference to the given bool and assigns it to the SelectOnly field.
func (*Pgbench) SetStep ¶
func (o *Pgbench) SetStep(v PgbenchStep)
SetStep gets a reference to the given PgbenchStep and assigns it to the Step field.
func (*Pgbench) SetThreads ¶
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*Pgbench) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type PgbenchStep ¶
type PgbenchStep string
PgbenchStep Step of pgbench
const ( PgbenchStepPrepare PgbenchStep = "prepare" PgbenchStepRun PgbenchStep = "run" PgbenchStepCleanup PgbenchStep = "cleanup" PgbenchStepAll PgbenchStep = "all" )
List of PgbenchStep.
func NewPgbenchStepFromValue ¶
func NewPgbenchStepFromValue(v string) (*PgbenchStep, error)
NewPgbenchStepFromValue returns a pointer to a valid PgbenchStep for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*PgbenchStep) GetAllowedValues ¶
func (v *PgbenchStep) GetAllowedValues() []PgbenchStep
GetAllowedValues returns the list of possible values.
func (PgbenchStep) IsValid ¶
func (v PgbenchStep) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (PgbenchStep) Ptr ¶
func (v PgbenchStep) Ptr() *PgbenchStep
Ptr returns reference to PgbenchStep value.
func (*PgbenchStep) UnmarshalJSON ¶
func (v *PgbenchStep) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type PrivilegeListItem ¶
type PrivilegeListItem struct {
// The name of the database.
DatabaseName *string `json:"databaseName,omitempty"`
// The type of privilege.
Privileges string `json:"privileges"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
PrivilegeListItem Database and its assigned privileges.
func NewPrivilegeListItem ¶
func NewPrivilegeListItem(privileges string) *PrivilegeListItem
NewPrivilegeListItem instantiates a new PrivilegeListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewPrivilegeListItemWithDefaults ¶
func NewPrivilegeListItemWithDefaults() *PrivilegeListItem
NewPrivilegeListItemWithDefaults instantiates a new PrivilegeListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*PrivilegeListItem) GetDatabaseName ¶
func (o *PrivilegeListItem) GetDatabaseName() string
GetDatabaseName returns the DatabaseName field value if set, zero value otherwise.
func (*PrivilegeListItem) GetDatabaseNameOk ¶
func (o *PrivilegeListItem) GetDatabaseNameOk() (*string, bool)
GetDatabaseNameOk returns a tuple with the DatabaseName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivilegeListItem) GetPrivileges ¶
func (o *PrivilegeListItem) GetPrivileges() string
GetPrivileges returns the Privileges field value.
func (*PrivilegeListItem) GetPrivilegesOk ¶
func (o *PrivilegeListItem) GetPrivilegesOk() (*string, bool)
GetPrivilegesOk returns a tuple with the Privileges field value and a boolean to check if the value has been set.
func (*PrivilegeListItem) HasDatabaseName ¶
func (o *PrivilegeListItem) HasDatabaseName() bool
HasDatabaseName returns a boolean if a field has been set.
func (PrivilegeListItem) MarshalJSON ¶
func (o PrivilegeListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*PrivilegeListItem) SetDatabaseName ¶
func (o *PrivilegeListItem) SetDatabaseName(v string)
SetDatabaseName gets a reference to the given string and assigns it to the DatabaseName field.
func (*PrivilegeListItem) SetPrivileges ¶
func (o *PrivilegeListItem) SetPrivileges(v string)
SetPrivileges sets field value.
func (*PrivilegeListItem) UnmarshalJSON ¶
func (o *PrivilegeListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Provider ¶
type Provider struct {
// The name of the cloud provider.
Name string `json:"name"`
// The Chinese name of the cloud provider.
NameCn string `json:"nameCN"`
// The English name of the cloud provider.
NameEn string `json:"nameEN"`
// The logo of the cloud provider.
Logo string `json:"logo"`
// Whether the cloud provider is enabled.
Enabled bool `json:"enabled"`
// Whether the cloud provider supports ARN.
SupportArn bool `json:"supportARN"`
// The number of environments that the cloud provider has.
EnvironmentCount int32 `json:"environmentCount"`
// The number of regions that the cloud provider has.
RegionCount int32 `json:"regionCount"`
// The number of zones that the cloud provider has.
ZoneCount int32 `json:"zoneCount"`
// The time when the cloud provider was created.
CreatedAt time.Time `json:"createdAt"`
// The time when the cloud provider was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Provider The cloud provider that the environment is running on.
func NewProvider ¶
func NewProvider(name string, nameCn string, nameEn string, logo string, enabled bool, supportArn bool, environmentCount int32, regionCount int32, zoneCount int32, createdAt time.Time, updatedAt time.Time) *Provider
NewProvider instantiates a new Provider object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProviderWithDefaults ¶
func NewProviderWithDefaults() *Provider
NewProviderWithDefaults instantiates a new Provider object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Provider) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*Provider) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Provider) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*Provider) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Provider) GetEnvironmentCount ¶
GetEnvironmentCount returns the EnvironmentCount field value.
func (*Provider) GetEnvironmentCountOk ¶
GetEnvironmentCountOk returns a tuple with the EnvironmentCount field value and a boolean to check if the value has been set.
func (*Provider) GetLogoOk ¶
GetLogoOk returns a tuple with the Logo field value and a boolean to check if the value has been set.
func (*Provider) GetNameCnOk ¶
GetNameCnOk returns a tuple with the NameCn field value and a boolean to check if the value has been set.
func (*Provider) GetNameEnOk ¶
GetNameEnOk returns a tuple with the NameEn field value and a boolean to check if the value has been set.
func (*Provider) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Provider) GetRegionCount ¶
GetRegionCount returns the RegionCount field value.
func (*Provider) GetRegionCountOk ¶
GetRegionCountOk returns a tuple with the RegionCount field value and a boolean to check if the value has been set.
func (*Provider) GetSupportArn ¶
GetSupportArn returns the SupportArn field value.
func (*Provider) GetSupportArnOk ¶
GetSupportArnOk returns a tuple with the SupportArn field value and a boolean to check if the value has been set.
func (*Provider) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value.
func (*Provider) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Provider) GetZoneCount ¶
GetZoneCount returns the ZoneCount field value.
func (*Provider) GetZoneCountOk ¶
GetZoneCountOk returns a tuple with the ZoneCount field value and a boolean to check if the value has been set.
func (Provider) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Provider) SetCreatedAt ¶
SetCreatedAt sets field value.
func (*Provider) SetEnvironmentCount ¶
SetEnvironmentCount sets field value.
func (*Provider) SetRegionCount ¶
SetRegionCount sets field value.
func (*Provider) SetSupportArn ¶
SetSupportArn sets field value.
func (*Provider) SetUpdatedAt ¶
SetUpdatedAt sets field value.
func (*Provider) SetZoneCount ¶
SetZoneCount sets field value.
func (*Provider) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ProviderApi ¶
ProviderApi service type
func NewProviderApi ¶
func NewProviderApi(client *common.APIClient) *ProviderApi
NewProviderApi Returns NewProviderApi.
func (*ProviderApi) GetCloudProvider ¶
func (a *ProviderApi) GetCloudProvider(ctx _context.Context, providerName string) (Provider, *_nethttp.Response, error)
GetCloudProvider Get cloud provider. Get cloud provider
func (*ProviderApi) ListCloudProviders ¶
func (a *ProviderApi) ListCloudProviders(ctx _context.Context) (ProviderList, *_nethttp.Response, error)
ListCloudProviders Get cloud provider list. Get cloud provider list
type ProviderList ¶
type ProviderList struct {
// The list of cloud providers.
Items []Provider `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ProviderList The list of cloud providers.
func NewProviderList ¶
func NewProviderList() *ProviderList
NewProviderList instantiates a new ProviderList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewProviderListWithDefaults ¶
func NewProviderListWithDefaults() *ProviderList
NewProviderListWithDefaults instantiates a new ProviderList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ProviderList) GetItems ¶
func (o *ProviderList) GetItems() []Provider
GetItems returns the Items field value if set, zero value otherwise.
func (*ProviderList) GetItemsOk ¶
func (o *ProviderList) GetItemsOk() (*[]Provider, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProviderList) HasItems ¶
func (o *ProviderList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (ProviderList) MarshalJSON ¶
func (o ProviderList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ProviderList) SetItems ¶
func (o *ProviderList) SetItems(v []Provider)
SetItems gets a reference to the given []Provider and assigns it to the Items field.
func (*ProviderList) UnmarshalJSON ¶
func (o *ProviderList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type QueryAuditLogsOptionalParameters ¶
type QueryAuditLogsOptionalParameters struct {
Limit *string
ComponentName *string
SortType *SortType
}
QueryAuditLogsOptionalParameters holds optional parameters for QueryAuditLogs.
func NewQueryAuditLogsOptionalParameters ¶
func NewQueryAuditLogsOptionalParameters() *QueryAuditLogsOptionalParameters
NewQueryAuditLogsOptionalParameters creates an empty struct for parameters.
func (*QueryAuditLogsOptionalParameters) WithComponentName ¶
func (r *QueryAuditLogsOptionalParameters) WithComponentName(componentName string) *QueryAuditLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*QueryAuditLogsOptionalParameters) WithLimit ¶
func (r *QueryAuditLogsOptionalParameters) WithLimit(limit string) *QueryAuditLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*QueryAuditLogsOptionalParameters) WithSortType ¶
func (r *QueryAuditLogsOptionalParameters) WithSortType(sortType SortType) *QueryAuditLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type QueryClusterEventsOptionalParameters ¶
type QueryClusterEventsOptionalParameters struct {
ResourceId *int32
ResourceType *string
EventName *string
OperatorId *int32
Start *int64
End *int64
}
QueryClusterEventsOptionalParameters holds optional parameters for QueryClusterEvents.
func NewQueryClusterEventsOptionalParameters ¶
func NewQueryClusterEventsOptionalParameters() *QueryClusterEventsOptionalParameters
NewQueryClusterEventsOptionalParameters creates an empty struct for parameters.
func (*QueryClusterEventsOptionalParameters) WithEnd ¶
func (r *QueryClusterEventsOptionalParameters) WithEnd(end int64) *QueryClusterEventsOptionalParameters
WithEnd sets the corresponding parameter name and returns the struct.
func (*QueryClusterEventsOptionalParameters) WithEventName ¶
func (r *QueryClusterEventsOptionalParameters) WithEventName(eventName string) *QueryClusterEventsOptionalParameters
WithEventName sets the corresponding parameter name and returns the struct.
func (*QueryClusterEventsOptionalParameters) WithOperatorId ¶
func (r *QueryClusterEventsOptionalParameters) WithOperatorId(operatorId int32) *QueryClusterEventsOptionalParameters
WithOperatorId sets the corresponding parameter name and returns the struct.
func (*QueryClusterEventsOptionalParameters) WithResourceId ¶
func (r *QueryClusterEventsOptionalParameters) WithResourceId(resourceId int32) *QueryClusterEventsOptionalParameters
WithResourceId sets the corresponding parameter name and returns the struct.
func (*QueryClusterEventsOptionalParameters) WithResourceType ¶
func (r *QueryClusterEventsOptionalParameters) WithResourceType(resourceType string) *QueryClusterEventsOptionalParameters
WithResourceType sets the corresponding parameter name and returns the struct.
func (*QueryClusterEventsOptionalParameters) WithStart ¶
func (r *QueryClusterEventsOptionalParameters) WithStart(start int64) *QueryClusterEventsOptionalParameters
WithStart sets the corresponding parameter name and returns the struct.
type QueryClusterMetricsOptionalParameters ¶
QueryClusterMetricsOptionalParameters holds optional parameters for QueryClusterMetrics.
func NewQueryClusterMetricsOptionalParameters ¶
func NewQueryClusterMetricsOptionalParameters() *QueryClusterMetricsOptionalParameters
NewQueryClusterMetricsOptionalParameters creates an empty struct for parameters.
func (*QueryClusterMetricsOptionalParameters) WithEnd ¶
func (r *QueryClusterMetricsOptionalParameters) WithEnd(end int64) *QueryClusterMetricsOptionalParameters
WithEnd sets the corresponding parameter name and returns the struct.
func (*QueryClusterMetricsOptionalParameters) WithStart ¶
func (r *QueryClusterMetricsOptionalParameters) WithStart(start int64) *QueryClusterMetricsOptionalParameters
WithStart sets the corresponding parameter name and returns the struct.
type QueryErrorLogsOptionalParameters ¶
type QueryErrorLogsOptionalParameters struct {
ComponentName *string
InstanceName *string
Limit *string
SortType *SortType
}
QueryErrorLogsOptionalParameters holds optional parameters for QueryErrorLogs.
func NewQueryErrorLogsOptionalParameters ¶
func NewQueryErrorLogsOptionalParameters() *QueryErrorLogsOptionalParameters
NewQueryErrorLogsOptionalParameters creates an empty struct for parameters.
func (*QueryErrorLogsOptionalParameters) WithComponentName ¶
func (r *QueryErrorLogsOptionalParameters) WithComponentName(componentName string) *QueryErrorLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*QueryErrorLogsOptionalParameters) WithInstanceName ¶
func (r *QueryErrorLogsOptionalParameters) WithInstanceName(instanceName string) *QueryErrorLogsOptionalParameters
WithInstanceName sets the corresponding parameter name and returns the struct.
func (*QueryErrorLogsOptionalParameters) WithLimit ¶
func (r *QueryErrorLogsOptionalParameters) WithLimit(limit string) *QueryErrorLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*QueryErrorLogsOptionalParameters) WithSortType ¶
func (r *QueryErrorLogsOptionalParameters) WithSortType(sortType SortType) *QueryErrorLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type QueryHistory ¶
type QueryHistory struct {
// executed sql statements
Sql *string `json:"sql,omitempty"`
// sql executed massage
ErrMassage *string `json:"errMassage,omitempty"`
// sql executed time
CreatedAt *time.Time `json:"createdAt,omitempty"`
// sql executed duration
Duration *int32 `json:"duration,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewQueryHistory ¶
func NewQueryHistory() *QueryHistory
NewQueryHistory instantiates a new QueryHistory object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewQueryHistoryWithDefaults ¶
func NewQueryHistoryWithDefaults() *QueryHistory
NewQueryHistoryWithDefaults instantiates a new QueryHistory object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*QueryHistory) GetCreatedAt ¶
func (o *QueryHistory) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*QueryHistory) GetCreatedAtOk ¶
func (o *QueryHistory) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryHistory) GetDuration ¶
func (o *QueryHistory) GetDuration() int32
GetDuration returns the Duration field value if set, zero value otherwise.
func (*QueryHistory) GetDurationOk ¶
func (o *QueryHistory) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryHistory) GetErrMassage ¶
func (o *QueryHistory) GetErrMassage() string
GetErrMassage returns the ErrMassage field value if set, zero value otherwise.
func (*QueryHistory) GetErrMassageOk ¶
func (o *QueryHistory) GetErrMassageOk() (*string, bool)
GetErrMassageOk returns a tuple with the ErrMassage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryHistory) GetSql ¶
func (o *QueryHistory) GetSql() string
GetSql returns the Sql field value if set, zero value otherwise.
func (*QueryHistory) GetSqlOk ¶
func (o *QueryHistory) GetSqlOk() (*string, bool)
GetSqlOk returns a tuple with the Sql field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryHistory) HasCreatedAt ¶
func (o *QueryHistory) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*QueryHistory) HasDuration ¶
func (o *QueryHistory) HasDuration() bool
HasDuration returns a boolean if a field has been set.
func (*QueryHistory) HasErrMassage ¶
func (o *QueryHistory) HasErrMassage() bool
HasErrMassage returns a boolean if a field has been set.
func (*QueryHistory) HasSql ¶
func (o *QueryHistory) HasSql() bool
HasSql returns a boolean if a field has been set.
func (QueryHistory) MarshalJSON ¶
func (o QueryHistory) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*QueryHistory) SetCreatedAt ¶
func (o *QueryHistory) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*QueryHistory) SetDuration ¶
func (o *QueryHistory) SetDuration(v int32)
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*QueryHistory) SetErrMassage ¶
func (o *QueryHistory) SetErrMassage(v string)
SetErrMassage gets a reference to the given string and assigns it to the ErrMassage field.
func (*QueryHistory) SetSql ¶
func (o *QueryHistory) SetSql(v string)
SetSql gets a reference to the given string and assigns it to the Sql field.
func (*QueryHistory) UnmarshalJSON ¶
func (o *QueryHistory) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type QueryPodLogsOptionalParameters ¶
type QueryPodLogsOptionalParameters struct {
ComponentName *string
InstanceName *string
Limit *string
SortType *SortType
}
QueryPodLogsOptionalParameters holds optional parameters for QueryPodLogs.
func NewQueryPodLogsOptionalParameters ¶
func NewQueryPodLogsOptionalParameters() *QueryPodLogsOptionalParameters
NewQueryPodLogsOptionalParameters creates an empty struct for parameters.
func (*QueryPodLogsOptionalParameters) WithComponentName ¶
func (r *QueryPodLogsOptionalParameters) WithComponentName(componentName string) *QueryPodLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*QueryPodLogsOptionalParameters) WithInstanceName ¶
func (r *QueryPodLogsOptionalParameters) WithInstanceName(instanceName string) *QueryPodLogsOptionalParameters
WithInstanceName sets the corresponding parameter name and returns the struct.
func (*QueryPodLogsOptionalParameters) WithLimit ¶
func (r *QueryPodLogsOptionalParameters) WithLimit(limit string) *QueryPodLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*QueryPodLogsOptionalParameters) WithSortType ¶
func (r *QueryPodLogsOptionalParameters) WithSortType(sortType SortType) *QueryPodLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type QueryResponse ¶
type QueryResponse struct {
// result set of query
Data []Result `json:"data,omitempty"`
// error message set of query
ErrMessage common.NullableList[string] `json:"errMessage,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewQueryResponse ¶
func NewQueryResponse() *QueryResponse
NewQueryResponse instantiates a new QueryResponse object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewQueryResponseWithDefaults ¶
func NewQueryResponseWithDefaults() *QueryResponse
NewQueryResponseWithDefaults instantiates a new QueryResponse object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*QueryResponse) GetData ¶
func (o *QueryResponse) GetData() []Result
GetData returns the Data field value if set, zero value otherwise.
func (*QueryResponse) GetDataOk ¶
func (o *QueryResponse) GetDataOk() (*[]Result, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryResponse) GetErrMessage ¶
func (o *QueryResponse) GetErrMessage() []string
GetErrMessage returns the ErrMessage field value if set, zero value otherwise (both if not set or set to explicit null).
func (*QueryResponse) GetErrMessageOk ¶
func (o *QueryResponse) GetErrMessageOk() (*[]string, bool)
GetErrMessageOk returns a tuple with the ErrMessage field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned.
func (*QueryResponse) HasData ¶
func (o *QueryResponse) HasData() bool
HasData returns a boolean if a field has been set.
func (*QueryResponse) HasErrMessage ¶
func (o *QueryResponse) HasErrMessage() bool
HasErrMessage returns a boolean if a field has been set.
func (QueryResponse) MarshalJSON ¶
func (o QueryResponse) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*QueryResponse) SetData ¶
func (o *QueryResponse) SetData(v []Result)
SetData gets a reference to the given []Result and assigns it to the Data field.
func (*QueryResponse) SetErrMessage ¶
func (o *QueryResponse) SetErrMessage(v []string)
SetErrMessage gets a reference to the given common.NullableList[string] and assigns it to the ErrMessage field.
func (*QueryResponse) SetErrMessageNil ¶
func (o *QueryResponse) SetErrMessageNil()
SetErrMessageNil sets the value for ErrMessage to be an explicit nil.
func (*QueryResponse) UnmarshalJSON ¶
func (o *QueryResponse) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
func (*QueryResponse) UnsetErrMessage ¶
func (o *QueryResponse) UnsetErrMessage()
UnsetErrMessage ensures that no value is present for ErrMessage, not even an explicit nil.
type QueryRunningLogsOptionalParameters ¶
type QueryRunningLogsOptionalParameters struct {
ComponentName *string
InstanceName *string
Limit *string
SortType *SortType
}
QueryRunningLogsOptionalParameters holds optional parameters for QueryRunningLogs.
func NewQueryRunningLogsOptionalParameters ¶
func NewQueryRunningLogsOptionalParameters() *QueryRunningLogsOptionalParameters
NewQueryRunningLogsOptionalParameters creates an empty struct for parameters.
func (*QueryRunningLogsOptionalParameters) WithComponentName ¶
func (r *QueryRunningLogsOptionalParameters) WithComponentName(componentName string) *QueryRunningLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*QueryRunningLogsOptionalParameters) WithInstanceName ¶
func (r *QueryRunningLogsOptionalParameters) WithInstanceName(instanceName string) *QueryRunningLogsOptionalParameters
WithInstanceName sets the corresponding parameter name and returns the struct.
func (*QueryRunningLogsOptionalParameters) WithLimit ¶
func (r *QueryRunningLogsOptionalParameters) WithLimit(limit string) *QueryRunningLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*QueryRunningLogsOptionalParameters) WithSortType ¶
func (r *QueryRunningLogsOptionalParameters) WithSortType(sortType SortType) *QueryRunningLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type QuerySlowLogsOptionalParameters ¶
type QuerySlowLogsOptionalParameters struct {
ComponentName *string
Limit *string
SortType *SortType
}
QuerySlowLogsOptionalParameters holds optional parameters for QuerySlowLogs.
func NewQuerySlowLogsOptionalParameters ¶
func NewQuerySlowLogsOptionalParameters() *QuerySlowLogsOptionalParameters
NewQuerySlowLogsOptionalParameters creates an empty struct for parameters.
func (*QuerySlowLogsOptionalParameters) WithComponentName ¶
func (r *QuerySlowLogsOptionalParameters) WithComponentName(componentName string) *QuerySlowLogsOptionalParameters
WithComponentName sets the corresponding parameter name and returns the struct.
func (*QuerySlowLogsOptionalParameters) WithLimit ¶
func (r *QuerySlowLogsOptionalParameters) WithLimit(limit string) *QuerySlowLogsOptionalParameters
WithLimit sets the corresponding parameter name and returns the struct.
func (*QuerySlowLogsOptionalParameters) WithSortType ¶
func (r *QuerySlowLogsOptionalParameters) WithSortType(sortType SortType) *QuerySlowLogsOptionalParameters
WithSortType sets the corresponding parameter name and returns the struct.
type ReadParamTplOptionalParameters ¶
type ReadParamTplOptionalParameters struct {
Partition *ParamTplPartition
}
ReadParamTplOptionalParameters holds optional parameters for ReadParamTpl.
func NewReadParamTplOptionalParameters ¶
func NewReadParamTplOptionalParameters() *ReadParamTplOptionalParameters
NewReadParamTplOptionalParameters creates an empty struct for parameters.
func (*ReadParamTplOptionalParameters) WithPartition ¶
func (r *ReadParamTplOptionalParameters) WithPartition(partition ParamTplPartition) *ReadParamTplOptionalParameters
WithPartition sets the corresponding parameter name and returns the struct.
type ReconfigureCreate ¶
type ReconfigureCreate struct {
// component type
Component *string `json:"component,omitempty"`
// config file name
ConfigFileName *string `json:"configFileName,omitempty"`
// Specify parameters list to be updated
Parameters map[string]string `json:"parameters"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ReconfigureCreate ReconfigureCreate is the payload to reconfigure a KubeBlocks cluster
func NewReconfigureCreate ¶
func NewReconfigureCreate(parameters map[string]string) *ReconfigureCreate
NewReconfigureCreate instantiates a new ReconfigureCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewReconfigureCreateWithDefaults ¶
func NewReconfigureCreateWithDefaults() *ReconfigureCreate
NewReconfigureCreateWithDefaults instantiates a new ReconfigureCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ReconfigureCreate) GetComponent ¶
func (o *ReconfigureCreate) GetComponent() string
GetComponent returns the Component field value if set, zero value otherwise.
func (*ReconfigureCreate) GetComponentOk ¶
func (o *ReconfigureCreate) GetComponentOk() (*string, bool)
GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReconfigureCreate) GetConfigFileName ¶
func (o *ReconfigureCreate) GetConfigFileName() string
GetConfigFileName returns the ConfigFileName field value if set, zero value otherwise.
func (*ReconfigureCreate) GetConfigFileNameOk ¶
func (o *ReconfigureCreate) GetConfigFileNameOk() (*string, bool)
GetConfigFileNameOk returns a tuple with the ConfigFileName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReconfigureCreate) GetParameters ¶
func (o *ReconfigureCreate) GetParameters() map[string]string
GetParameters returns the Parameters field value.
func (*ReconfigureCreate) GetParametersOk ¶
func (o *ReconfigureCreate) GetParametersOk() (*map[string]string, bool)
GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.
func (*ReconfigureCreate) HasComponent ¶
func (o *ReconfigureCreate) HasComponent() bool
HasComponent returns a boolean if a field has been set.
func (*ReconfigureCreate) HasConfigFileName ¶
func (o *ReconfigureCreate) HasConfigFileName() bool
HasConfigFileName returns a boolean if a field has been set.
func (ReconfigureCreate) MarshalJSON ¶
func (o ReconfigureCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ReconfigureCreate) SetComponent ¶
func (o *ReconfigureCreate) SetComponent(v string)
SetComponent gets a reference to the given string and assigns it to the Component field.
func (*ReconfigureCreate) SetConfigFileName ¶
func (o *ReconfigureCreate) SetConfigFileName(v string)
SetConfigFileName gets a reference to the given string and assigns it to the ConfigFileName field.
func (*ReconfigureCreate) SetParameters ¶
func (o *ReconfigureCreate) SetParameters(v map[string]string)
SetParameters sets field value.
func (*ReconfigureCreate) UnmarshalJSON ¶
func (o *ReconfigureCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RecycleBinCluster ¶
type RecycleBinCluster struct {
// Cluster Recycle Bin ID
Id *string `json:"id,omitempty"`
// Cluster ID
ClusterId *string `json:"clusterId,omitempty"`
// Org Name
OrgName *string `json:"orgName,omitempty"`
// Cloud Provider
CloudProvider *string `json:"cloudProvider,omitempty"`
// ID of the environment
EnvironmentId *string `json:"environmentId,omitempty"`
// Environment Name
EnvironmentName string `json:"environmentName"`
// Environment Types
EnvironmentType *string `json:"environmentType,omitempty"`
// Cloud Region
CloudRegion *string `json:"cloudRegion,omitempty"`
// Environment Namespace
Namespace *string `json:"namespace,omitempty"`
// Name of cluster. Name must be unique within an Org
Name string `json:"name"`
// Hash of cluster. Name must be unique within an Org
Hash *string `json:"hash,omitempty"`
// Cluster Application Engine
Engine string `json:"engine"`
// Values
Values map[string]interface{} `json:"values,omitempty"`
// Cluster Application Version
Version *string `json:"version,omitempty"`
// The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.
Replicas *int32 `json:"replicas,omitempty"`
// CPU cores.
Cpu *float64 `json:"cpu,omitempty"`
// Memory, the unit is Gi.
Memory *float64 `json:"memory,omitempty"`
// Storage size, the unit is Gi.
Storage *float64 `json:"storage,omitempty"`
// status represents the actual status of the cluster in k8s, it is different from the state of the cluster in recycle bin, which means whether the cluster has been deleted by a stop opsRequest.
Status *string `json:"status,omitempty"`
// state represents whether the cluster has been deleted by a stop opsRequest, and therefore, whether it is in the recycle bin. It is differnt from the Status of the cluster undeleted.
State *string `json:"state,omitempty"`
// Cluster topology mode
Mode *string `json:"mode,omitempty"`
// Items is the list of ComponentSpec in the list
Components []ComponentsItem `json:"components,omitempty"`
// Use single availability zones
SingleZone *bool `json:"singleZone,omitempty"`
// Availability Zones
AvailabilityZones []string `json:"availabilityZones,omitempty"`
// clusterBackup is the payload for cluster backup
Backup *ClusterBackup `json:"backup,omitempty"`
// StoppedAt is a timestamp representing the server time when this object was stopped and moved to the recycle bin.
StoppedAt *time.Time `json:"stoppedAt,omitempty"`
// CreatedAt is a timestamp representing the server time when this object was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ExpiredAt is a timestamp representing the server time when this object will be expired, and deleted automatically.
ExpiredAt *time.Time `json:"expiredAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RecycleBinCluster KubeBlocks cluster(in recycle bin) information
func NewRecycleBinCluster ¶
func NewRecycleBinCluster(environmentName string, name string, engine string) *RecycleBinCluster
NewRecycleBinCluster instantiates a new RecycleBinCluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRecycleBinClusterWithDefaults ¶
func NewRecycleBinClusterWithDefaults() *RecycleBinCluster
NewRecycleBinClusterWithDefaults instantiates a new RecycleBinCluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RecycleBinCluster) GetAvailabilityZones ¶
func (o *RecycleBinCluster) GetAvailabilityZones() []string
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*RecycleBinCluster) GetAvailabilityZonesOk ¶
func (o *RecycleBinCluster) GetAvailabilityZonesOk() (*[]string, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetBackup ¶
func (o *RecycleBinCluster) GetBackup() ClusterBackup
GetBackup returns the Backup field value if set, zero value otherwise.
func (*RecycleBinCluster) GetBackupOk ¶
func (o *RecycleBinCluster) GetBackupOk() (*ClusterBackup, bool)
GetBackupOk returns a tuple with the Backup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetCloudProvider ¶
func (o *RecycleBinCluster) GetCloudProvider() string
GetCloudProvider returns the CloudProvider field value if set, zero value otherwise.
func (*RecycleBinCluster) GetCloudProviderOk ¶
func (o *RecycleBinCluster) GetCloudProviderOk() (*string, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetCloudRegion ¶
func (o *RecycleBinCluster) GetCloudRegion() string
GetCloudRegion returns the CloudRegion field value if set, zero value otherwise.
func (*RecycleBinCluster) GetCloudRegionOk ¶
func (o *RecycleBinCluster) GetCloudRegionOk() (*string, bool)
GetCloudRegionOk returns a tuple with the CloudRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetClusterId ¶
func (o *RecycleBinCluster) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*RecycleBinCluster) GetClusterIdOk ¶
func (o *RecycleBinCluster) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetComponents ¶
func (o *RecycleBinCluster) GetComponents() []ComponentsItem
GetComponents returns the Components field value if set, zero value otherwise.
func (*RecycleBinCluster) GetComponentsOk ¶
func (o *RecycleBinCluster) GetComponentsOk() (*[]ComponentsItem, bool)
GetComponentsOk returns a tuple with the Components field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetCpu ¶
func (o *RecycleBinCluster) GetCpu() float64
GetCpu returns the Cpu field value if set, zero value otherwise.
func (*RecycleBinCluster) GetCpuOk ¶
func (o *RecycleBinCluster) GetCpuOk() (*float64, bool)
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetCreatedAt ¶
func (o *RecycleBinCluster) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RecycleBinCluster) GetCreatedAtOk ¶
func (o *RecycleBinCluster) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetEngine ¶
func (o *RecycleBinCluster) GetEngine() string
GetEngine returns the Engine field value.
func (*RecycleBinCluster) GetEngineOk ¶
func (o *RecycleBinCluster) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field value and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetEnvironmentId ¶
func (o *RecycleBinCluster) GetEnvironmentId() string
GetEnvironmentId returns the EnvironmentId field value if set, zero value otherwise.
func (*RecycleBinCluster) GetEnvironmentIdOk ¶
func (o *RecycleBinCluster) GetEnvironmentIdOk() (*string, bool)
GetEnvironmentIdOk returns a tuple with the EnvironmentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetEnvironmentName ¶
func (o *RecycleBinCluster) GetEnvironmentName() string
GetEnvironmentName returns the EnvironmentName field value.
func (*RecycleBinCluster) GetEnvironmentNameOk ¶
func (o *RecycleBinCluster) GetEnvironmentNameOk() (*string, bool)
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetEnvironmentType ¶
func (o *RecycleBinCluster) GetEnvironmentType() string
GetEnvironmentType returns the EnvironmentType field value if set, zero value otherwise.
func (*RecycleBinCluster) GetEnvironmentTypeOk ¶
func (o *RecycleBinCluster) GetEnvironmentTypeOk() (*string, bool)
GetEnvironmentTypeOk returns a tuple with the EnvironmentType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetExpiredAt ¶
func (o *RecycleBinCluster) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.
func (*RecycleBinCluster) GetExpiredAtOk ¶
func (o *RecycleBinCluster) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetHash ¶
func (o *RecycleBinCluster) GetHash() string
GetHash returns the Hash field value if set, zero value otherwise.
func (*RecycleBinCluster) GetHashOk ¶
func (o *RecycleBinCluster) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetId ¶
func (o *RecycleBinCluster) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*RecycleBinCluster) GetIdOk ¶
func (o *RecycleBinCluster) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetMemory ¶
func (o *RecycleBinCluster) GetMemory() float64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*RecycleBinCluster) GetMemoryOk ¶
func (o *RecycleBinCluster) GetMemoryOk() (*float64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetMode ¶
func (o *RecycleBinCluster) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*RecycleBinCluster) GetModeOk ¶
func (o *RecycleBinCluster) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetName ¶
func (o *RecycleBinCluster) GetName() string
GetName returns the Name field value.
func (*RecycleBinCluster) GetNameOk ¶
func (o *RecycleBinCluster) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetNamespace ¶
func (o *RecycleBinCluster) GetNamespace() string
GetNamespace returns the Namespace field value if set, zero value otherwise.
func (*RecycleBinCluster) GetNamespaceOk ¶
func (o *RecycleBinCluster) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetOrgName ¶
func (o *RecycleBinCluster) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*RecycleBinCluster) GetOrgNameOk ¶
func (o *RecycleBinCluster) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetReplicas ¶
func (o *RecycleBinCluster) GetReplicas() int32
GetReplicas returns the Replicas field value if set, zero value otherwise.
func (*RecycleBinCluster) GetReplicasOk ¶
func (o *RecycleBinCluster) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetSingleZone ¶
func (o *RecycleBinCluster) GetSingleZone() bool
GetSingleZone returns the SingleZone field value if set, zero value otherwise.
func (*RecycleBinCluster) GetSingleZoneOk ¶
func (o *RecycleBinCluster) GetSingleZoneOk() (*bool, bool)
GetSingleZoneOk returns a tuple with the SingleZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetState ¶
func (o *RecycleBinCluster) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*RecycleBinCluster) GetStateOk ¶
func (o *RecycleBinCluster) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetStatus ¶
func (o *RecycleBinCluster) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*RecycleBinCluster) GetStatusOk ¶
func (o *RecycleBinCluster) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetStoppedAt ¶
func (o *RecycleBinCluster) GetStoppedAt() time.Time
GetStoppedAt returns the StoppedAt field value if set, zero value otherwise.
func (*RecycleBinCluster) GetStoppedAtOk ¶
func (o *RecycleBinCluster) GetStoppedAtOk() (*time.Time, bool)
GetStoppedAtOk returns a tuple with the StoppedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetStorage ¶
func (o *RecycleBinCluster) GetStorage() float64
GetStorage returns the Storage field value if set, zero value otherwise.
func (*RecycleBinCluster) GetStorageOk ¶
func (o *RecycleBinCluster) GetStorageOk() (*float64, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetValues ¶
func (o *RecycleBinCluster) GetValues() map[string]interface{}
GetValues returns the Values field value if set, zero value otherwise.
func (*RecycleBinCluster) GetValuesOk ¶
func (o *RecycleBinCluster) GetValuesOk() (*map[string]interface{}, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) GetVersion ¶
func (o *RecycleBinCluster) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*RecycleBinCluster) GetVersionOk ¶
func (o *RecycleBinCluster) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinCluster) HasAvailabilityZones ¶
func (o *RecycleBinCluster) HasAvailabilityZones() bool
HasAvailabilityZones returns a boolean if a field has been set.
func (*RecycleBinCluster) HasBackup ¶
func (o *RecycleBinCluster) HasBackup() bool
HasBackup returns a boolean if a field has been set.
func (*RecycleBinCluster) HasCloudProvider ¶
func (o *RecycleBinCluster) HasCloudProvider() bool
HasCloudProvider returns a boolean if a field has been set.
func (*RecycleBinCluster) HasCloudRegion ¶
func (o *RecycleBinCluster) HasCloudRegion() bool
HasCloudRegion returns a boolean if a field has been set.
func (*RecycleBinCluster) HasClusterId ¶
func (o *RecycleBinCluster) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (*RecycleBinCluster) HasComponents ¶
func (o *RecycleBinCluster) HasComponents() bool
HasComponents returns a boolean if a field has been set.
func (*RecycleBinCluster) HasCpu ¶
func (o *RecycleBinCluster) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (*RecycleBinCluster) HasCreatedAt ¶
func (o *RecycleBinCluster) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RecycleBinCluster) HasEnvironmentId ¶
func (o *RecycleBinCluster) HasEnvironmentId() bool
HasEnvironmentId returns a boolean if a field has been set.
func (*RecycleBinCluster) HasEnvironmentType ¶
func (o *RecycleBinCluster) HasEnvironmentType() bool
HasEnvironmentType returns a boolean if a field has been set.
func (*RecycleBinCluster) HasExpiredAt ¶
func (o *RecycleBinCluster) HasExpiredAt() bool
HasExpiredAt returns a boolean if a field has been set.
func (*RecycleBinCluster) HasHash ¶
func (o *RecycleBinCluster) HasHash() bool
HasHash returns a boolean if a field has been set.
func (*RecycleBinCluster) HasId ¶
func (o *RecycleBinCluster) HasId() bool
HasId returns a boolean if a field has been set.
func (*RecycleBinCluster) HasMemory ¶
func (o *RecycleBinCluster) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*RecycleBinCluster) HasMode ¶
func (o *RecycleBinCluster) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*RecycleBinCluster) HasNamespace ¶
func (o *RecycleBinCluster) HasNamespace() bool
HasNamespace returns a boolean if a field has been set.
func (*RecycleBinCluster) HasOrgName ¶
func (o *RecycleBinCluster) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*RecycleBinCluster) HasReplicas ¶
func (o *RecycleBinCluster) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (*RecycleBinCluster) HasSingleZone ¶
func (o *RecycleBinCluster) HasSingleZone() bool
HasSingleZone returns a boolean if a field has been set.
func (*RecycleBinCluster) HasState ¶
func (o *RecycleBinCluster) HasState() bool
HasState returns a boolean if a field has been set.
func (*RecycleBinCluster) HasStatus ¶
func (o *RecycleBinCluster) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*RecycleBinCluster) HasStoppedAt ¶
func (o *RecycleBinCluster) HasStoppedAt() bool
HasStoppedAt returns a boolean if a field has been set.
func (*RecycleBinCluster) HasStorage ¶
func (o *RecycleBinCluster) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (*RecycleBinCluster) HasValues ¶
func (o *RecycleBinCluster) HasValues() bool
HasValues returns a boolean if a field has been set.
func (*RecycleBinCluster) HasVersion ¶
func (o *RecycleBinCluster) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (RecycleBinCluster) MarshalJSON ¶
func (o RecycleBinCluster) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RecycleBinCluster) SetAvailabilityZones ¶
func (o *RecycleBinCluster) SetAvailabilityZones(v []string)
SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.
func (*RecycleBinCluster) SetBackup ¶
func (o *RecycleBinCluster) SetBackup(v ClusterBackup)
SetBackup gets a reference to the given ClusterBackup and assigns it to the Backup field.
func (*RecycleBinCluster) SetCloudProvider ¶
func (o *RecycleBinCluster) SetCloudProvider(v string)
SetCloudProvider gets a reference to the given string and assigns it to the CloudProvider field.
func (*RecycleBinCluster) SetCloudRegion ¶
func (o *RecycleBinCluster) SetCloudRegion(v string)
SetCloudRegion gets a reference to the given string and assigns it to the CloudRegion field.
func (*RecycleBinCluster) SetClusterId ¶
func (o *RecycleBinCluster) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*RecycleBinCluster) SetComponents ¶
func (o *RecycleBinCluster) SetComponents(v []ComponentsItem)
SetComponents gets a reference to the given []ComponentsItem and assigns it to the Components field.
func (*RecycleBinCluster) SetCpu ¶
func (o *RecycleBinCluster) SetCpu(v float64)
SetCpu gets a reference to the given float64 and assigns it to the Cpu field.
func (*RecycleBinCluster) SetCreatedAt ¶
func (o *RecycleBinCluster) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RecycleBinCluster) SetEngine ¶
func (o *RecycleBinCluster) SetEngine(v string)
SetEngine sets field value.
func (*RecycleBinCluster) SetEnvironmentId ¶
func (o *RecycleBinCluster) SetEnvironmentId(v string)
SetEnvironmentId gets a reference to the given string and assigns it to the EnvironmentId field.
func (*RecycleBinCluster) SetEnvironmentName ¶
func (o *RecycleBinCluster) SetEnvironmentName(v string)
SetEnvironmentName sets field value.
func (*RecycleBinCluster) SetEnvironmentType ¶
func (o *RecycleBinCluster) SetEnvironmentType(v string)
SetEnvironmentType gets a reference to the given string and assigns it to the EnvironmentType field.
func (*RecycleBinCluster) SetExpiredAt ¶
func (o *RecycleBinCluster) SetExpiredAt(v time.Time)
SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.
func (*RecycleBinCluster) SetHash ¶
func (o *RecycleBinCluster) SetHash(v string)
SetHash gets a reference to the given string and assigns it to the Hash field.
func (*RecycleBinCluster) SetId ¶
func (o *RecycleBinCluster) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*RecycleBinCluster) SetMemory ¶
func (o *RecycleBinCluster) SetMemory(v float64)
SetMemory gets a reference to the given float64 and assigns it to the Memory field.
func (*RecycleBinCluster) SetMode ¶
func (o *RecycleBinCluster) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*RecycleBinCluster) SetName ¶
func (o *RecycleBinCluster) SetName(v string)
SetName sets field value.
func (*RecycleBinCluster) SetNamespace ¶
func (o *RecycleBinCluster) SetNamespace(v string)
SetNamespace gets a reference to the given string and assigns it to the Namespace field.
func (*RecycleBinCluster) SetOrgName ¶
func (o *RecycleBinCluster) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*RecycleBinCluster) SetReplicas ¶
func (o *RecycleBinCluster) SetReplicas(v int32)
SetReplicas gets a reference to the given int32 and assigns it to the Replicas field.
func (*RecycleBinCluster) SetSingleZone ¶
func (o *RecycleBinCluster) SetSingleZone(v bool)
SetSingleZone gets a reference to the given bool and assigns it to the SingleZone field.
func (*RecycleBinCluster) SetState ¶
func (o *RecycleBinCluster) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*RecycleBinCluster) SetStatus ¶
func (o *RecycleBinCluster) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*RecycleBinCluster) SetStoppedAt ¶
func (o *RecycleBinCluster) SetStoppedAt(v time.Time)
SetStoppedAt gets a reference to the given time.Time and assigns it to the StoppedAt field.
func (*RecycleBinCluster) SetStorage ¶
func (o *RecycleBinCluster) SetStorage(v float64)
SetStorage gets a reference to the given float64 and assigns it to the Storage field.
func (*RecycleBinCluster) SetValues ¶
func (o *RecycleBinCluster) SetValues(v map[string]interface{})
SetValues gets a reference to the given map[string]interface{} and assigns it to the Values field.
func (*RecycleBinCluster) SetVersion ¶
func (o *RecycleBinCluster) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (*RecycleBinCluster) UnmarshalJSON ¶
func (o *RecycleBinCluster) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RecycleBinClusterApi ¶
RecycleBinClusterApi service type
func NewRecycleBinClusterApi ¶
func NewRecycleBinClusterApi(client *common.APIClient) *RecycleBinClusterApi
NewRecycleBinClusterApi Returns NewRecycleBinClusterApi.
func (*RecycleBinClusterApi) DeleteRecycleBinCluster ¶
func (a *RecycleBinClusterApi) DeleteRecycleBinCluster(ctx _context.Context, orgName string, clusterName string, isDeleteBackup bool) (*_nethttp.Response, error)
DeleteRecycleBinCluster Delete cluster from the Recycle Bin of the Org.
func (*RecycleBinClusterApi) GetRecycleBinCluster ¶
func (a *RecycleBinClusterApi) GetRecycleBinCluster(ctx _context.Context, orgName string, clusterName string) (RecycleBinCluster, *_nethttp.Response, error)
GetRecycleBinCluster Get cluster in the Recycle Bin of the Org.
func (*RecycleBinClusterApi) ListRecycleBinCluster ¶
func (a *RecycleBinClusterApi) ListRecycleBinCluster(ctx _context.Context, orgName string) (RecycleBinClusterList, *_nethttp.Response, error)
ListRecycleBinCluster List clusters in the Recycle Bin of the Org.
func (*RecycleBinClusterApi) RestoreRecycleBinCluster ¶
func (a *RecycleBinClusterApi) RestoreRecycleBinCluster(ctx _context.Context, orgName string, clusterName string) (RecycleBinCluster, *_nethttp.Response, error)
RestoreRecycleBinCluster Restore cluster from the Recycle Bin of the Org.
type RecycleBinClusterList ¶
type RecycleBinClusterList struct {
// Items is the KubeBlocks cluster objects in the recycleBinClusterList
Items []RecycleBinClusterListItem `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RecycleBinClusterList recycleBinClusterList is a list of KubeBlocks clusters in the recycle bin
func NewRecycleBinClusterList ¶
func NewRecycleBinClusterList(items []RecycleBinClusterListItem) *RecycleBinClusterList
NewRecycleBinClusterList instantiates a new RecycleBinClusterList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRecycleBinClusterListWithDefaults ¶
func NewRecycleBinClusterListWithDefaults() *RecycleBinClusterList
NewRecycleBinClusterListWithDefaults instantiates a new RecycleBinClusterList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RecycleBinClusterList) GetItems ¶
func (o *RecycleBinClusterList) GetItems() []RecycleBinClusterListItem
GetItems returns the Items field value.
func (*RecycleBinClusterList) GetItemsOk ¶
func (o *RecycleBinClusterList) GetItemsOk() (*[]RecycleBinClusterListItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (RecycleBinClusterList) MarshalJSON ¶
func (o RecycleBinClusterList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RecycleBinClusterList) SetItems ¶
func (o *RecycleBinClusterList) SetItems(v []RecycleBinClusterListItem)
SetItems sets field value.
func (*RecycleBinClusterList) UnmarshalJSON ¶
func (o *RecycleBinClusterList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RecycleBinClusterListItem ¶
type RecycleBinClusterListItem struct {
// Cloud Provider
CloudProvider string `json:"cloudProvider"`
// Cloud Provider
CloudRegion *string `json:"cloudRegion,omitempty"`
// Availability Zones
AvailabilityZones []string `json:"availabilityZones,omitempty"`
// Display name of cluster.
DisplayName *string `json:"displayName,omitempty"`
// Cluster Application Engine
Engine string `json:"engine"`
// Cluster topology mode
Mode *string `json:"mode,omitempty"`
// Environment Name
EnvironmentName string `json:"environmentName"`
// Cluster Recycle Bin ID
Id string `json:"id"`
// Cluster ID
ClusterId *string `json:"clusterId,omitempty"`
// Name of cluster. Name must be unique within an Org
Name string `json:"name"`
// Cluster Application Version
Version string `json:"version"`
// Cluster main component classCode
ClassCode *string `json:"classCode,omitempty"`
// Cluster main component storage
Storage *string `json:"storage,omitempty"`
// Name of the Org
OrgName *string `json:"orgName,omitempty"`
// state represents whether the cluster has been deleted by a stop opsRequest, and therefore, whether it is in the recycle bin. It is differnt from the Status.Phase of the cluster in k8s.
State string `json:"state"`
// StoppedAt is a timestamp representing the server time when this object was stopped and moved to the recycle bin.
StoppedAt time.Time `json:"stoppedAt"`
// CreatedAt is a timestamp representing the server time when this object was created.
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ExpiredAt is a timestamp representing the server time when this object will be expired, and deleted automatically.
ExpiredAt *time.Time `json:"expiredAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RecycleBinClusterListItem information of kubeblocks cluster in recycle bin
func NewRecycleBinClusterListItem ¶
func NewRecycleBinClusterListItem(cloudProvider string, engine string, environmentName string, id string, name string, version string, state string, stoppedAt time.Time) *RecycleBinClusterListItem
NewRecycleBinClusterListItem instantiates a new RecycleBinClusterListItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRecycleBinClusterListItemWithDefaults ¶
func NewRecycleBinClusterListItemWithDefaults() *RecycleBinClusterListItem
NewRecycleBinClusterListItemWithDefaults instantiates a new RecycleBinClusterListItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RecycleBinClusterListItem) GetAvailabilityZones ¶
func (o *RecycleBinClusterListItem) GetAvailabilityZones() []string
GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetAvailabilityZonesOk ¶
func (o *RecycleBinClusterListItem) GetAvailabilityZonesOk() (*[]string, bool)
GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetClassCode ¶
func (o *RecycleBinClusterListItem) GetClassCode() string
GetClassCode returns the ClassCode field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetClassCodeOk ¶
func (o *RecycleBinClusterListItem) GetClassCodeOk() (*string, bool)
GetClassCodeOk returns a tuple with the ClassCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetCloudProvider ¶
func (o *RecycleBinClusterListItem) GetCloudProvider() string
GetCloudProvider returns the CloudProvider field value.
func (*RecycleBinClusterListItem) GetCloudProviderOk ¶
func (o *RecycleBinClusterListItem) GetCloudProviderOk() (*string, bool)
GetCloudProviderOk returns a tuple with the CloudProvider field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetCloudRegion ¶
func (o *RecycleBinClusterListItem) GetCloudRegion() string
GetCloudRegion returns the CloudRegion field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetCloudRegionOk ¶
func (o *RecycleBinClusterListItem) GetCloudRegionOk() (*string, bool)
GetCloudRegionOk returns a tuple with the CloudRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetClusterId ¶
func (o *RecycleBinClusterListItem) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetClusterIdOk ¶
func (o *RecycleBinClusterListItem) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetCreatedAt ¶
func (o *RecycleBinClusterListItem) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetCreatedAtOk ¶
func (o *RecycleBinClusterListItem) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetDisplayName ¶
func (o *RecycleBinClusterListItem) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetDisplayNameOk ¶
func (o *RecycleBinClusterListItem) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetEngine ¶
func (o *RecycleBinClusterListItem) GetEngine() string
GetEngine returns the Engine field value.
func (*RecycleBinClusterListItem) GetEngineOk ¶
func (o *RecycleBinClusterListItem) GetEngineOk() (*string, bool)
GetEngineOk returns a tuple with the Engine field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetEnvironmentName ¶
func (o *RecycleBinClusterListItem) GetEnvironmentName() string
GetEnvironmentName returns the EnvironmentName field value.
func (*RecycleBinClusterListItem) GetEnvironmentNameOk ¶
func (o *RecycleBinClusterListItem) GetEnvironmentNameOk() (*string, bool)
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetExpiredAt ¶
func (o *RecycleBinClusterListItem) GetExpiredAt() time.Time
GetExpiredAt returns the ExpiredAt field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetExpiredAtOk ¶
func (o *RecycleBinClusterListItem) GetExpiredAtOk() (*time.Time, bool)
GetExpiredAtOk returns a tuple with the ExpiredAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetId ¶
func (o *RecycleBinClusterListItem) GetId() string
GetId returns the Id field value.
func (*RecycleBinClusterListItem) GetIdOk ¶
func (o *RecycleBinClusterListItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetMode ¶
func (o *RecycleBinClusterListItem) GetMode() string
GetMode returns the Mode field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetModeOk ¶
func (o *RecycleBinClusterListItem) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetName ¶
func (o *RecycleBinClusterListItem) GetName() string
GetName returns the Name field value.
func (*RecycleBinClusterListItem) GetNameOk ¶
func (o *RecycleBinClusterListItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetOrgName ¶
func (o *RecycleBinClusterListItem) GetOrgName() string
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetOrgNameOk ¶
func (o *RecycleBinClusterListItem) GetOrgNameOk() (*string, bool)
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetState ¶
func (o *RecycleBinClusterListItem) GetState() string
GetState returns the State field value.
func (*RecycleBinClusterListItem) GetStateOk ¶
func (o *RecycleBinClusterListItem) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetStoppedAt ¶
func (o *RecycleBinClusterListItem) GetStoppedAt() time.Time
GetStoppedAt returns the StoppedAt field value.
func (*RecycleBinClusterListItem) GetStoppedAtOk ¶
func (o *RecycleBinClusterListItem) GetStoppedAtOk() (*time.Time, bool)
GetStoppedAtOk returns a tuple with the StoppedAt field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetStorage ¶
func (o *RecycleBinClusterListItem) GetStorage() string
GetStorage returns the Storage field value if set, zero value otherwise.
func (*RecycleBinClusterListItem) GetStorageOk ¶
func (o *RecycleBinClusterListItem) GetStorageOk() (*string, bool)
GetStorageOk returns a tuple with the Storage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) GetVersion ¶
func (o *RecycleBinClusterListItem) GetVersion() string
GetVersion returns the Version field value.
func (*RecycleBinClusterListItem) GetVersionOk ¶
func (o *RecycleBinClusterListItem) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*RecycleBinClusterListItem) HasAvailabilityZones ¶
func (o *RecycleBinClusterListItem) HasAvailabilityZones() bool
HasAvailabilityZones returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasClassCode ¶
func (o *RecycleBinClusterListItem) HasClassCode() bool
HasClassCode returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasCloudRegion ¶
func (o *RecycleBinClusterListItem) HasCloudRegion() bool
HasCloudRegion returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasClusterId ¶
func (o *RecycleBinClusterListItem) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasCreatedAt ¶
func (o *RecycleBinClusterListItem) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasDisplayName ¶
func (o *RecycleBinClusterListItem) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasExpiredAt ¶
func (o *RecycleBinClusterListItem) HasExpiredAt() bool
HasExpiredAt returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasMode ¶
func (o *RecycleBinClusterListItem) HasMode() bool
HasMode returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasOrgName ¶
func (o *RecycleBinClusterListItem) HasOrgName() bool
HasOrgName returns a boolean if a field has been set.
func (*RecycleBinClusterListItem) HasStorage ¶
func (o *RecycleBinClusterListItem) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (RecycleBinClusterListItem) MarshalJSON ¶
func (o RecycleBinClusterListItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RecycleBinClusterListItem) SetAvailabilityZones ¶
func (o *RecycleBinClusterListItem) SetAvailabilityZones(v []string)
SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.
func (*RecycleBinClusterListItem) SetClassCode ¶
func (o *RecycleBinClusterListItem) SetClassCode(v string)
SetClassCode gets a reference to the given string and assigns it to the ClassCode field.
func (*RecycleBinClusterListItem) SetCloudProvider ¶
func (o *RecycleBinClusterListItem) SetCloudProvider(v string)
SetCloudProvider sets field value.
func (*RecycleBinClusterListItem) SetCloudRegion ¶
func (o *RecycleBinClusterListItem) SetCloudRegion(v string)
SetCloudRegion gets a reference to the given string and assigns it to the CloudRegion field.
func (*RecycleBinClusterListItem) SetClusterId ¶
func (o *RecycleBinClusterListItem) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*RecycleBinClusterListItem) SetCreatedAt ¶
func (o *RecycleBinClusterListItem) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*RecycleBinClusterListItem) SetDisplayName ¶
func (o *RecycleBinClusterListItem) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*RecycleBinClusterListItem) SetEngine ¶
func (o *RecycleBinClusterListItem) SetEngine(v string)
SetEngine sets field value.
func (*RecycleBinClusterListItem) SetEnvironmentName ¶
func (o *RecycleBinClusterListItem) SetEnvironmentName(v string)
SetEnvironmentName sets field value.
func (*RecycleBinClusterListItem) SetExpiredAt ¶
func (o *RecycleBinClusterListItem) SetExpiredAt(v time.Time)
SetExpiredAt gets a reference to the given time.Time and assigns it to the ExpiredAt field.
func (*RecycleBinClusterListItem) SetId ¶
func (o *RecycleBinClusterListItem) SetId(v string)
SetId sets field value.
func (*RecycleBinClusterListItem) SetMode ¶
func (o *RecycleBinClusterListItem) SetMode(v string)
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*RecycleBinClusterListItem) SetName ¶
func (o *RecycleBinClusterListItem) SetName(v string)
SetName sets field value.
func (*RecycleBinClusterListItem) SetOrgName ¶
func (o *RecycleBinClusterListItem) SetOrgName(v string)
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*RecycleBinClusterListItem) SetState ¶
func (o *RecycleBinClusterListItem) SetState(v string)
SetState sets field value.
func (*RecycleBinClusterListItem) SetStoppedAt ¶
func (o *RecycleBinClusterListItem) SetStoppedAt(v time.Time)
SetStoppedAt sets field value.
func (*RecycleBinClusterListItem) SetStorage ¶
func (o *RecycleBinClusterListItem) SetStorage(v string)
SetStorage gets a reference to the given string and assigns it to the Storage field.
func (*RecycleBinClusterListItem) SetVersion ¶
func (o *RecycleBinClusterListItem) SetVersion(v string)
SetVersion sets field value.
func (*RecycleBinClusterListItem) UnmarshalJSON ¶
func (o *RecycleBinClusterListItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Region ¶
type Region struct {
// The name of the region.
Name string `json:"name"`
// The Chinese name of the region.
NameCn string `json:"nameCN"`
// The English name of the region.
NameEn string `json:"nameEN"`
// The name of the cloud provider.
Provider string `json:"provider"`
// The group of the region.
Group string `json:"group"`
// Whether the region is enabled.
Enabled bool `json:"enabled"`
// The number of zones that the region has.
ZoneCount int32 `json:"zoneCount"`
// The time when the region was created.
CreatedAt time.Time `json:"createdAt"`
// The time when the region was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Region The region that the cloud provider has.
func NewRegion ¶
func NewRegion(name string, nameCn string, nameEn string, provider string, group string, enabled bool, zoneCount int32, createdAt time.Time, updatedAt time.Time) *Region
NewRegion instantiates a new Region object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRegionWithDefaults ¶
func NewRegionWithDefaults() *Region
NewRegionWithDefaults instantiates a new Region object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Region) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*Region) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Region) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*Region) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Region) GetGroupOk ¶
GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.
func (*Region) GetNameCnOk ¶
GetNameCnOk returns a tuple with the NameCn field value and a boolean to check if the value has been set.
func (*Region) GetNameEnOk ¶
GetNameEnOk returns a tuple with the NameEn field value and a boolean to check if the value has been set.
func (*Region) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Region) GetProvider ¶
GetProvider returns the Provider field value.
func (*Region) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*Region) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value.
func (*Region) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Region) GetZoneCount ¶
GetZoneCount returns the ZoneCount field value.
func (*Region) GetZoneCountOk ¶
GetZoneCountOk returns a tuple with the ZoneCount field value and a boolean to check if the value has been set.
func (Region) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Region) SetCreatedAt ¶
SetCreatedAt sets field value.
func (*Region) SetUpdatedAt ¶
SetUpdatedAt sets field value.
func (*Region) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RegionApi ¶
RegionApi service type
func NewRegionApi ¶
NewRegionApi Returns NewRegionApi.
func (*RegionApi) GetRegion ¶
func (a *RegionApi) GetRegion(ctx _context.Context, providerName string, regionName string) (Region, *_nethttp.Response, error)
GetRegion Get region. Get region
func (*RegionApi) ListRegions ¶
func (a *RegionApi) ListRegions(ctx _context.Context, providerName string) (RegionList, *_nethttp.Response, error)
ListRegions Get region list. Get region list
type RegionList ¶
type RegionList struct {
// The list of regions.
Items []Region `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RegionList The list of regions.
func NewRegionList ¶
func NewRegionList() *RegionList
NewRegionList instantiates a new RegionList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRegionListWithDefaults ¶
func NewRegionListWithDefaults() *RegionList
NewRegionListWithDefaults instantiates a new RegionList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RegionList) GetItems ¶
func (o *RegionList) GetItems() []Region
GetItems returns the Items field value if set, zero value otherwise.
func (*RegionList) GetItemsOk ¶
func (o *RegionList) GetItemsOk() (*[]Region, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RegionList) HasItems ¶
func (o *RegionList) HasItems() bool
HasItems returns a boolean if a field has been set.
func (RegionList) MarshalJSON ¶
func (o RegionList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RegionList) SetItems ¶
func (o *RegionList) SetItems(v []Region)
SetItems gets a reference to the given []Region and assigns it to the Items field.
func (*RegionList) UnmarshalJSON ¶
func (o *RegionList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Restore ¶
type Restore struct {
// organization name
OrgName *string `json:"orgName,omitempty"`
// backup name
BackupName string `json:"backupName"`
// kubeBlocks cluster name
ClusterName string `json:"clusterName"`
// component name of cluster
ComponentName string `json:"componentName"`
// target pod name
TargetPodName *string `json:"targetPodName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// kubeBlocks restore name
Name *string `json:"name,omitempty"`
// restore parameters to inject env of the restore CR.
Parameters *RestoreParameters `json:"parameters,omitempty"`
// restore time
RestoreTime *string `json:"restoreTime,omitempty"`
// restore status
Status *RestoreStatus `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Restore create a KubeBlocks restore API
func NewRestore ¶
NewRestore instantiates a new Restore object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreWithDefaults ¶
func NewRestoreWithDefaults() *Restore
NewRestoreWithDefaults instantiates a new Restore object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Restore) GetBackupName ¶
GetBackupName returns the BackupName field value.
func (*Restore) GetBackupNameOk ¶
GetBackupNameOk returns a tuple with the BackupName field value and a boolean to check if the value has been set.
func (*Restore) GetClusterName ¶
GetClusterName returns the ClusterName field value.
func (*Restore) GetClusterNameOk ¶
GetClusterNameOk returns a tuple with the ClusterName field value and a boolean to check if the value has been set.
func (*Restore) GetComponentName ¶
GetComponentName returns the ComponentName field value.
func (*Restore) GetComponentNameOk ¶
GetComponentNameOk returns a tuple with the ComponentName field value and a boolean to check if the value has been set.
func (*Restore) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Restore) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetOrgName ¶
GetOrgName returns the OrgName field value if set, zero value otherwise.
func (*Restore) GetOrgNameOk ¶
GetOrgNameOk returns a tuple with the OrgName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetParameters ¶
func (o *Restore) GetParameters() RestoreParameters
GetParameters returns the Parameters field value if set, zero value otherwise.
func (*Restore) GetParametersOk ¶
func (o *Restore) GetParametersOk() (*RestoreParameters, bool)
GetParametersOk returns a tuple with the Parameters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetRestoreTime ¶
GetRestoreTime returns the RestoreTime field value if set, zero value otherwise.
func (*Restore) GetRestoreTimeOk ¶
GetRestoreTimeOk returns a tuple with the RestoreTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetStatus ¶
func (o *Restore) GetStatus() RestoreStatus
GetStatus returns the Status field value if set, zero value otherwise.
func (*Restore) GetStatusOk ¶
func (o *Restore) GetStatusOk() (*RestoreStatus, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) GetTargetPodName ¶
GetTargetPodName returns the TargetPodName field value if set, zero value otherwise.
func (*Restore) GetTargetPodNameOk ¶
GetTargetPodNameOk returns a tuple with the TargetPodName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Restore) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Restore) HasOrgName ¶
HasOrgName returns a boolean if a field has been set.
func (*Restore) HasParameters ¶
HasParameters returns a boolean if a field has been set.
func (*Restore) HasRestoreTime ¶
HasRestoreTime returns a boolean if a field has been set.
func (*Restore) HasTargetPodName ¶
HasTargetPodName returns a boolean if a field has been set.
func (Restore) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Restore) SetBackupName ¶
SetBackupName sets field value.
func (*Restore) SetClusterName ¶
SetClusterName sets field value.
func (*Restore) SetComponentName ¶
SetComponentName sets field value.
func (*Restore) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Restore) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Restore) SetOrgName ¶
SetOrgName gets a reference to the given string and assigns it to the OrgName field.
func (*Restore) SetParameters ¶
func (o *Restore) SetParameters(v RestoreParameters)
SetParameters gets a reference to the given RestoreParameters and assigns it to the Parameters field.
func (*Restore) SetRestoreTime ¶
SetRestoreTime gets a reference to the given string and assigns it to the RestoreTime field.
func (*Restore) SetStatus ¶
func (o *Restore) SetStatus(v RestoreStatus)
SetStatus gets a reference to the given RestoreStatus and assigns it to the Status field.
func (*Restore) SetTargetPodName ¶
SetTargetPodName gets a reference to the given string and assigns it to the TargetPodName field.
func (*Restore) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RestoreApi ¶
RestoreApi service type
func NewRestoreApi ¶
func NewRestoreApi(client *common.APIClient) *RestoreApi
NewRestoreApi Returns NewRestoreApi.
func (*RestoreApi) DeleteRestoreObject ¶
func (a *RestoreApi) DeleteRestoreObject(ctx _context.Context, orgName string, clusterName string, restoreName string) (*_nethttp.Response, error)
DeleteRestoreObject Delete restore task.
func (*RestoreApi) DoRestore ¶
func (a *RestoreApi) DoRestore(ctx _context.Context, orgName string, clusterName string, body Restore) (Restore, *_nethttp.Response, error)
DoRestore Restore current cluster or instance.
func (*RestoreApi) GetRestoreLog ¶
func (a *RestoreApi) GetRestoreLog(ctx _context.Context, orgName string, clusterName string, restoreId string) (RestoreLog, *_nethttp.Response, error)
GetRestoreLog get restore workload logs of the cluster.
func (*RestoreApi) GetRestoreTimeRange ¶
func (a *RestoreApi) GetRestoreTimeRange(ctx _context.Context, orgName string, clusterId string) (Backup, *_nethttp.Response, error)
GetRestoreTimeRange Get cluster restore time ragne.
func (*RestoreApi) ListClusterRestore ¶
func (a *RestoreApi) ListClusterRestore(ctx _context.Context, orgName string, clusterName string) (RestoreList, *_nethttp.Response, error)
ListClusterRestore List restore tasks.
func (*RestoreApi) ListRestores ¶
func (a *RestoreApi) ListRestores(ctx _context.Context, orgName string) (RestoreList, *_nethttp.Response, error)
ListRestores List restore tasks.
func (*RestoreApi) RestoreCluster ¶
func (a *RestoreApi) RestoreCluster(ctx _context.Context, orgName string, body RestoreCreate) (Cluster, *_nethttp.Response, error)
RestoreCluster Restore new cluster.
type RestoreCreate ¶
type RestoreCreate struct {
// the env name of the target environment to restore
EnvironmentName string `json:"environmentName"`
// the id of backup to restore
BackupId string `json:"backupId"`
// KubeBlocks cluster information
Cluster Cluster `json:"cluster"`
// restoreTime point to restore
RestoreTimeStr *string `json:"restoreTimeStr,omitempty"`
// the recovery process in the PostReady phase will be performed after the cluster is running successfully.
DoReadyRestoreAfterClusterRunning *bool `json:"doReadyRestoreAfterClusterRunning,omitempty"`
// the volume claim restore policy, support values: [Serial, Parallel]
VolumeRestorePolicy *VolumeRestorePolicy `json:"volumeRestorePolicy,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreCreate RestoreCreate is the payload to restore a KubeBlocks cluster
func NewRestoreCreate ¶
func NewRestoreCreate(environmentName string, backupId string, cluster Cluster) *RestoreCreate
NewRestoreCreate instantiates a new RestoreCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreCreateWithDefaults ¶
func NewRestoreCreateWithDefaults() *RestoreCreate
NewRestoreCreateWithDefaults instantiates a new RestoreCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreCreate) GetBackupId ¶
func (o *RestoreCreate) GetBackupId() string
GetBackupId returns the BackupId field value.
func (*RestoreCreate) GetBackupIdOk ¶
func (o *RestoreCreate) GetBackupIdOk() (*string, bool)
GetBackupIdOk returns a tuple with the BackupId field value and a boolean to check if the value has been set.
func (*RestoreCreate) GetCluster ¶
func (o *RestoreCreate) GetCluster() Cluster
GetCluster returns the Cluster field value.
func (*RestoreCreate) GetClusterOk ¶
func (o *RestoreCreate) GetClusterOk() (*Cluster, bool)
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*RestoreCreate) GetDoReadyRestoreAfterClusterRunning ¶
func (o *RestoreCreate) GetDoReadyRestoreAfterClusterRunning() bool
GetDoReadyRestoreAfterClusterRunning returns the DoReadyRestoreAfterClusterRunning field value if set, zero value otherwise.
func (*RestoreCreate) GetDoReadyRestoreAfterClusterRunningOk ¶
func (o *RestoreCreate) GetDoReadyRestoreAfterClusterRunningOk() (*bool, bool)
GetDoReadyRestoreAfterClusterRunningOk returns a tuple with the DoReadyRestoreAfterClusterRunning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreCreate) GetEnvironmentName ¶
func (o *RestoreCreate) GetEnvironmentName() string
GetEnvironmentName returns the EnvironmentName field value.
func (*RestoreCreate) GetEnvironmentNameOk ¶
func (o *RestoreCreate) GetEnvironmentNameOk() (*string, bool)
GetEnvironmentNameOk returns a tuple with the EnvironmentName field value and a boolean to check if the value has been set.
func (*RestoreCreate) GetRestoreTimeStr ¶
func (o *RestoreCreate) GetRestoreTimeStr() string
GetRestoreTimeStr returns the RestoreTimeStr field value if set, zero value otherwise.
func (*RestoreCreate) GetRestoreTimeStrOk ¶
func (o *RestoreCreate) GetRestoreTimeStrOk() (*string, bool)
GetRestoreTimeStrOk returns a tuple with the RestoreTimeStr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreCreate) GetVolumeRestorePolicy ¶
func (o *RestoreCreate) GetVolumeRestorePolicy() VolumeRestorePolicy
GetVolumeRestorePolicy returns the VolumeRestorePolicy field value if set, zero value otherwise.
func (*RestoreCreate) GetVolumeRestorePolicyOk ¶
func (o *RestoreCreate) GetVolumeRestorePolicyOk() (*VolumeRestorePolicy, bool)
GetVolumeRestorePolicyOk returns a tuple with the VolumeRestorePolicy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreCreate) HasDoReadyRestoreAfterClusterRunning ¶
func (o *RestoreCreate) HasDoReadyRestoreAfterClusterRunning() bool
HasDoReadyRestoreAfterClusterRunning returns a boolean if a field has been set.
func (*RestoreCreate) HasRestoreTimeStr ¶
func (o *RestoreCreate) HasRestoreTimeStr() bool
HasRestoreTimeStr returns a boolean if a field has been set.
func (*RestoreCreate) HasVolumeRestorePolicy ¶
func (o *RestoreCreate) HasVolumeRestorePolicy() bool
HasVolumeRestorePolicy returns a boolean if a field has been set.
func (RestoreCreate) MarshalJSON ¶
func (o RestoreCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreCreate) SetBackupId ¶
func (o *RestoreCreate) SetBackupId(v string)
SetBackupId sets field value.
func (*RestoreCreate) SetCluster ¶
func (o *RestoreCreate) SetCluster(v Cluster)
SetCluster sets field value.
func (*RestoreCreate) SetDoReadyRestoreAfterClusterRunning ¶
func (o *RestoreCreate) SetDoReadyRestoreAfterClusterRunning(v bool)
SetDoReadyRestoreAfterClusterRunning gets a reference to the given bool and assigns it to the DoReadyRestoreAfterClusterRunning field.
func (*RestoreCreate) SetEnvironmentName ¶
func (o *RestoreCreate) SetEnvironmentName(v string)
SetEnvironmentName sets field value.
func (*RestoreCreate) SetRestoreTimeStr ¶
func (o *RestoreCreate) SetRestoreTimeStr(v string)
SetRestoreTimeStr gets a reference to the given string and assigns it to the RestoreTimeStr field.
func (*RestoreCreate) SetVolumeRestorePolicy ¶
func (o *RestoreCreate) SetVolumeRestorePolicy(v VolumeRestorePolicy)
SetVolumeRestorePolicy gets a reference to the given VolumeRestorePolicy and assigns it to the VolumeRestorePolicy field.
func (*RestoreCreate) UnmarshalJSON ¶
func (o *RestoreCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreList ¶
type RestoreList struct {
// Items is the list of restore objects in the list
Items []Restore `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreList restoreList is a list of restore object
func NewRestoreList ¶
func NewRestoreList(items []Restore) *RestoreList
NewRestoreList instantiates a new RestoreList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreListWithDefaults ¶
func NewRestoreListWithDefaults() *RestoreList
NewRestoreListWithDefaults instantiates a new RestoreList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreList) GetItems ¶
func (o *RestoreList) GetItems() []Restore
GetItems returns the Items field value.
func (*RestoreList) GetItemsOk ¶
func (o *RestoreList) GetItemsOk() (*[]Restore, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (RestoreList) MarshalJSON ¶
func (o RestoreList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreList) SetItems ¶
func (o *RestoreList) SetItems(v []Restore)
SetItems sets field value.
func (*RestoreList) UnmarshalJSON ¶
func (o *RestoreList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreLog ¶
type RestoreLog struct {
// items is the list of restoreLogByPod objects
Items []RestoreLogByPod `json:"items,omitempty"`
// restore id
RestoreId *string `json:"restoreId,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreLog restore workload logs
func NewRestoreLog ¶
func NewRestoreLog() *RestoreLog
NewRestoreLog instantiates a new RestoreLog object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreLogWithDefaults ¶
func NewRestoreLogWithDefaults() *RestoreLog
NewRestoreLogWithDefaults instantiates a new RestoreLog object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreLog) GetItems ¶
func (o *RestoreLog) GetItems() []RestoreLogByPod
GetItems returns the Items field value if set, zero value otherwise.
func (*RestoreLog) GetItemsOk ¶
func (o *RestoreLog) GetItemsOk() (*[]RestoreLogByPod, bool)
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLog) GetRestoreId ¶
func (o *RestoreLog) GetRestoreId() string
GetRestoreId returns the RestoreId field value if set, zero value otherwise.
func (*RestoreLog) GetRestoreIdOk ¶
func (o *RestoreLog) GetRestoreIdOk() (*string, bool)
GetRestoreIdOk returns a tuple with the RestoreId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLog) HasItems ¶
func (o *RestoreLog) HasItems() bool
HasItems returns a boolean if a field has been set.
func (*RestoreLog) HasRestoreId ¶
func (o *RestoreLog) HasRestoreId() bool
HasRestoreId returns a boolean if a field has been set.
func (RestoreLog) MarshalJSON ¶
func (o RestoreLog) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreLog) SetItems ¶
func (o *RestoreLog) SetItems(v []RestoreLogByPod)
SetItems gets a reference to the given []RestoreLogByPod and assigns it to the Items field.
func (*RestoreLog) SetRestoreId ¶
func (o *RestoreLog) SetRestoreId(v string)
SetRestoreId gets a reference to the given string and assigns it to the RestoreId field.
func (*RestoreLog) UnmarshalJSON ¶
func (o *RestoreLog) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreLogByPod ¶
type RestoreLogByPod struct {
// restore pod log
Log *string `json:"log,omitempty"`
// pod ownerReference objectkey
OwnerObjectKey *string `json:"ownerObjectKey,omitempty"`
// pod name
PodName *string `json:"podName,omitempty"`
// Date/time when the restore pod was created.
CreationTimestamp *time.Time `json:"creationTimestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreLogByPod info of restore workload log
func NewRestoreLogByPod ¶
func NewRestoreLogByPod() *RestoreLogByPod
NewRestoreLogByPod instantiates a new RestoreLogByPod object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreLogByPodWithDefaults ¶
func NewRestoreLogByPodWithDefaults() *RestoreLogByPod
NewRestoreLogByPodWithDefaults instantiates a new RestoreLogByPod object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreLogByPod) GetCreationTimestamp ¶
func (o *RestoreLogByPod) GetCreationTimestamp() time.Time
GetCreationTimestamp returns the CreationTimestamp field value if set, zero value otherwise.
func (*RestoreLogByPod) GetCreationTimestampOk ¶
func (o *RestoreLogByPod) GetCreationTimestampOk() (*time.Time, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLogByPod) GetLog ¶
func (o *RestoreLogByPod) GetLog() string
GetLog returns the Log field value if set, zero value otherwise.
func (*RestoreLogByPod) GetLogOk ¶
func (o *RestoreLogByPod) GetLogOk() (*string, bool)
GetLogOk returns a tuple with the Log field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLogByPod) GetOwnerObjectKey ¶
func (o *RestoreLogByPod) GetOwnerObjectKey() string
GetOwnerObjectKey returns the OwnerObjectKey field value if set, zero value otherwise.
func (*RestoreLogByPod) GetOwnerObjectKeyOk ¶
func (o *RestoreLogByPod) GetOwnerObjectKeyOk() (*string, bool)
GetOwnerObjectKeyOk returns a tuple with the OwnerObjectKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLogByPod) GetPodName ¶
func (o *RestoreLogByPod) GetPodName() string
GetPodName returns the PodName field value if set, zero value otherwise.
func (*RestoreLogByPod) GetPodNameOk ¶
func (o *RestoreLogByPod) GetPodNameOk() (*string, bool)
GetPodNameOk returns a tuple with the PodName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreLogByPod) HasCreationTimestamp ¶
func (o *RestoreLogByPod) HasCreationTimestamp() bool
HasCreationTimestamp returns a boolean if a field has been set.
func (*RestoreLogByPod) HasLog ¶
func (o *RestoreLogByPod) HasLog() bool
HasLog returns a boolean if a field has been set.
func (*RestoreLogByPod) HasOwnerObjectKey ¶
func (o *RestoreLogByPod) HasOwnerObjectKey() bool
HasOwnerObjectKey returns a boolean if a field has been set.
func (*RestoreLogByPod) HasPodName ¶
func (o *RestoreLogByPod) HasPodName() bool
HasPodName returns a boolean if a field has been set.
func (RestoreLogByPod) MarshalJSON ¶
func (o RestoreLogByPod) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreLogByPod) SetCreationTimestamp ¶
func (o *RestoreLogByPod) SetCreationTimestamp(v time.Time)
SetCreationTimestamp gets a reference to the given time.Time and assigns it to the CreationTimestamp field.
func (*RestoreLogByPod) SetLog ¶
func (o *RestoreLogByPod) SetLog(v string)
SetLog gets a reference to the given string and assigns it to the Log field.
func (*RestoreLogByPod) SetOwnerObjectKey ¶
func (o *RestoreLogByPod) SetOwnerObjectKey(v string)
SetOwnerObjectKey gets a reference to the given string and assigns it to the OwnerObjectKey field.
func (*RestoreLogByPod) SetPodName ¶
func (o *RestoreLogByPod) SetPodName(v string)
SetPodName gets a reference to the given string and assigns it to the PodName field.
func (*RestoreLogByPod) UnmarshalJSON ¶
func (o *RestoreLogByPod) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreParameters ¶
type RestoreParameters struct {
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreParameters restore parameters to inject env of the restore CR.
func NewRestoreParameters ¶
func NewRestoreParameters() *RestoreParameters
NewRestoreParameters instantiates a new RestoreParameters object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreParametersWithDefaults ¶
func NewRestoreParametersWithDefaults() *RestoreParameters
NewRestoreParametersWithDefaults instantiates a new RestoreParameters object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (RestoreParameters) MarshalJSON ¶
func (o RestoreParameters) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreParameters) UnmarshalJSON ¶
func (o *RestoreParameters) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreStatus ¶
type RestoreStatus struct {
Actions []RestoreStatusActionsItem `json:"actions,omitempty"`
// completion time
CompletionTimestamp *string `json:"completionTimestamp,omitempty"`
Conditions []RestoreStatusConditionsItem `json:"conditions,omitempty"`
// restore phase
Phase *string `json:"phase,omitempty"`
// start time
StartTimestamp *string `json:"startTimestamp,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RestoreStatus restore status
func NewRestoreStatus ¶
func NewRestoreStatus() *RestoreStatus
NewRestoreStatus instantiates a new RestoreStatus object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreStatusWithDefaults ¶
func NewRestoreStatusWithDefaults() *RestoreStatus
NewRestoreStatusWithDefaults instantiates a new RestoreStatus object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreStatus) GetActions ¶
func (o *RestoreStatus) GetActions() []RestoreStatusActionsItem
GetActions returns the Actions field value if set, zero value otherwise.
func (*RestoreStatus) GetActionsOk ¶
func (o *RestoreStatus) GetActionsOk() (*[]RestoreStatusActionsItem, bool)
GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatus) GetCompletionTimestamp ¶
func (o *RestoreStatus) GetCompletionTimestamp() string
GetCompletionTimestamp returns the CompletionTimestamp field value if set, zero value otherwise.
func (*RestoreStatus) GetCompletionTimestampOk ¶
func (o *RestoreStatus) GetCompletionTimestampOk() (*string, bool)
GetCompletionTimestampOk returns a tuple with the CompletionTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatus) GetConditions ¶
func (o *RestoreStatus) GetConditions() []RestoreStatusConditionsItem
GetConditions returns the Conditions field value if set, zero value otherwise.
func (*RestoreStatus) GetConditionsOk ¶
func (o *RestoreStatus) GetConditionsOk() (*[]RestoreStatusConditionsItem, bool)
GetConditionsOk returns a tuple with the Conditions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatus) GetPhase ¶
func (o *RestoreStatus) GetPhase() string
GetPhase returns the Phase field value if set, zero value otherwise.
func (*RestoreStatus) GetPhaseOk ¶
func (o *RestoreStatus) GetPhaseOk() (*string, bool)
GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatus) GetStartTimestamp ¶
func (o *RestoreStatus) GetStartTimestamp() string
GetStartTimestamp returns the StartTimestamp field value if set, zero value otherwise.
func (*RestoreStatus) GetStartTimestampOk ¶
func (o *RestoreStatus) GetStartTimestampOk() (*string, bool)
GetStartTimestampOk returns a tuple with the StartTimestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatus) HasActions ¶
func (o *RestoreStatus) HasActions() bool
HasActions returns a boolean if a field has been set.
func (*RestoreStatus) HasCompletionTimestamp ¶
func (o *RestoreStatus) HasCompletionTimestamp() bool
HasCompletionTimestamp returns a boolean if a field has been set.
func (*RestoreStatus) HasConditions ¶
func (o *RestoreStatus) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (*RestoreStatus) HasPhase ¶
func (o *RestoreStatus) HasPhase() bool
HasPhase returns a boolean if a field has been set.
func (*RestoreStatus) HasStartTimestamp ¶
func (o *RestoreStatus) HasStartTimestamp() bool
HasStartTimestamp returns a boolean if a field has been set.
func (RestoreStatus) MarshalJSON ¶
func (o RestoreStatus) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreStatus) SetActions ¶
func (o *RestoreStatus) SetActions(v []RestoreStatusActionsItem)
SetActions gets a reference to the given []RestoreStatusActionsItem and assigns it to the Actions field.
func (*RestoreStatus) SetCompletionTimestamp ¶
func (o *RestoreStatus) SetCompletionTimestamp(v string)
SetCompletionTimestamp gets a reference to the given string and assigns it to the CompletionTimestamp field.
func (*RestoreStatus) SetConditions ¶
func (o *RestoreStatus) SetConditions(v []RestoreStatusConditionsItem)
SetConditions gets a reference to the given []RestoreStatusConditionsItem and assigns it to the Conditions field.
func (*RestoreStatus) SetPhase ¶
func (o *RestoreStatus) SetPhase(v string)
SetPhase gets a reference to the given string and assigns it to the Phase field.
func (*RestoreStatus) SetStartTimestamp ¶
func (o *RestoreStatus) SetStartTimestamp(v string)
SetStartTimestamp gets a reference to the given string and assigns it to the StartTimestamp field.
func (*RestoreStatus) UnmarshalJSON ¶
func (o *RestoreStatus) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreStatusActionsItem ¶
type RestoreStatusActionsItem struct {
Message *string `json:"message,omitempty"`
// action name
Name *string `json:"name,omitempty"`
// action status, enum values: [Processing, Completed, Failed]
Status *string `json:"status,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewRestoreStatusActionsItem ¶
func NewRestoreStatusActionsItem() *RestoreStatusActionsItem
NewRestoreStatusActionsItem instantiates a new RestoreStatusActionsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreStatusActionsItemWithDefaults ¶
func NewRestoreStatusActionsItemWithDefaults() *RestoreStatusActionsItem
NewRestoreStatusActionsItemWithDefaults instantiates a new RestoreStatusActionsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreStatusActionsItem) GetMessage ¶
func (o *RestoreStatusActionsItem) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*RestoreStatusActionsItem) GetMessageOk ¶
func (o *RestoreStatusActionsItem) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusActionsItem) GetName ¶
func (o *RestoreStatusActionsItem) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RestoreStatusActionsItem) GetNameOk ¶
func (o *RestoreStatusActionsItem) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusActionsItem) GetStatus ¶
func (o *RestoreStatusActionsItem) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*RestoreStatusActionsItem) GetStatusOk ¶
func (o *RestoreStatusActionsItem) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusActionsItem) HasMessage ¶
func (o *RestoreStatusActionsItem) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*RestoreStatusActionsItem) HasName ¶
func (o *RestoreStatusActionsItem) HasName() bool
HasName returns a boolean if a field has been set.
func (*RestoreStatusActionsItem) HasStatus ¶
func (o *RestoreStatusActionsItem) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (RestoreStatusActionsItem) MarshalJSON ¶
func (o RestoreStatusActionsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreStatusActionsItem) SetMessage ¶
func (o *RestoreStatusActionsItem) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*RestoreStatusActionsItem) SetName ¶
func (o *RestoreStatusActionsItem) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RestoreStatusActionsItem) SetStatus ¶
func (o *RestoreStatusActionsItem) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*RestoreStatusActionsItem) UnmarshalJSON ¶
func (o *RestoreStatusActionsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RestoreStatusConditionsItem ¶
type RestoreStatusConditionsItem struct {
Message *string `json:"message,omitempty"`
Reason *string `json:"reason,omitempty"`
// conditionType
Type *string `json:"type,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewRestoreStatusConditionsItem ¶
func NewRestoreStatusConditionsItem() *RestoreStatusConditionsItem
NewRestoreStatusConditionsItem instantiates a new RestoreStatusConditionsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRestoreStatusConditionsItemWithDefaults ¶
func NewRestoreStatusConditionsItemWithDefaults() *RestoreStatusConditionsItem
NewRestoreStatusConditionsItemWithDefaults instantiates a new RestoreStatusConditionsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RestoreStatusConditionsItem) GetMessage ¶
func (o *RestoreStatusConditionsItem) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*RestoreStatusConditionsItem) GetMessageOk ¶
func (o *RestoreStatusConditionsItem) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusConditionsItem) GetReason ¶
func (o *RestoreStatusConditionsItem) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*RestoreStatusConditionsItem) GetReasonOk ¶
func (o *RestoreStatusConditionsItem) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusConditionsItem) GetType ¶
func (o *RestoreStatusConditionsItem) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*RestoreStatusConditionsItem) GetTypeOk ¶
func (o *RestoreStatusConditionsItem) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreStatusConditionsItem) HasMessage ¶
func (o *RestoreStatusConditionsItem) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*RestoreStatusConditionsItem) HasReason ¶
func (o *RestoreStatusConditionsItem) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*RestoreStatusConditionsItem) HasType ¶
func (o *RestoreStatusConditionsItem) HasType() bool
HasType returns a boolean if a field has been set.
func (RestoreStatusConditionsItem) MarshalJSON ¶
func (o RestoreStatusConditionsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RestoreStatusConditionsItem) SetMessage ¶
func (o *RestoreStatusConditionsItem) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*RestoreStatusConditionsItem) SetReason ¶
func (o *RestoreStatusConditionsItem) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*RestoreStatusConditionsItem) SetType ¶
func (o *RestoreStatusConditionsItem) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*RestoreStatusConditionsItem) UnmarshalJSON ¶
func (o *RestoreStatusConditionsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Result ¶
type Result struct {
Pagination *Pagination `json:"pagination,omitempty"`
Columns []string `json:"columns,omitempty"`
Rows [][]interface{} `json:"rows,omitempty"`
Stats *ResultStats `json:"stats,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewResult ¶
func NewResult() *Result
NewResult instantiates a new Result object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewResultWithDefaults ¶
func NewResultWithDefaults() *Result
NewResultWithDefaults instantiates a new Result object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Result) GetColumns ¶
GetColumns returns the Columns field value if set, zero value otherwise.
func (*Result) GetColumnsOk ¶
GetColumnsOk returns a tuple with the Columns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Result) GetPagination ¶
func (o *Result) GetPagination() Pagination
GetPagination returns the Pagination field value if set, zero value otherwise.
func (*Result) GetPaginationOk ¶
func (o *Result) GetPaginationOk() (*Pagination, bool)
GetPaginationOk returns a tuple with the Pagination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Result) GetRows ¶
func (o *Result) GetRows() [][]interface{}
GetRows returns the Rows field value if set, zero value otherwise.
func (*Result) GetRowsOk ¶
GetRowsOk returns a tuple with the Rows field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Result) GetStats ¶
func (o *Result) GetStats() ResultStats
GetStats returns the Stats field value if set, zero value otherwise.
func (*Result) GetStatsOk ¶
func (o *Result) GetStatsOk() (*ResultStats, bool)
GetStatsOk returns a tuple with the Stats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Result) HasColumns ¶
HasColumns returns a boolean if a field has been set.
func (*Result) HasPagination ¶
HasPagination returns a boolean if a field has been set.
func (Result) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Result) SetColumns ¶
SetColumns gets a reference to the given []string and assigns it to the Columns field.
func (*Result) SetPagination ¶
func (o *Result) SetPagination(v Pagination)
SetPagination gets a reference to the given Pagination and assigns it to the Pagination field.
func (*Result) SetRows ¶
func (o *Result) SetRows(v [][]interface{})
SetRows gets a reference to the given [][]interface{} and assigns it to the Rows field.
func (*Result) SetStats ¶
func (o *Result) SetStats(v ResultStats)
SetStats gets a reference to the given ResultStats and assigns it to the Stats field.
func (*Result) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ResultStats ¶
type ResultStats struct {
ColumnsCount *int32 `json:"columns_count,omitempty"`
RowsCount *int32 `json:"rows_count,omitempty"`
RowsAffected *int32 `json:"rows_affected,omitempty"`
QueryStartTime *time.Time `json:"query_start_time,omitempty"`
QueryFinishTime *time.Time `json:"query_finish_time,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewResultStats ¶
func NewResultStats() *ResultStats
NewResultStats instantiates a new ResultStats object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewResultStatsWithDefaults ¶
func NewResultStatsWithDefaults() *ResultStats
NewResultStatsWithDefaults instantiates a new ResultStats object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ResultStats) GetColumnsCount ¶
func (o *ResultStats) GetColumnsCount() int32
GetColumnsCount returns the ColumnsCount field value if set, zero value otherwise.
func (*ResultStats) GetColumnsCountOk ¶
func (o *ResultStats) GetColumnsCountOk() (*int32, bool)
GetColumnsCountOk returns a tuple with the ColumnsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResultStats) GetQueryFinishTime ¶
func (o *ResultStats) GetQueryFinishTime() time.Time
GetQueryFinishTime returns the QueryFinishTime field value if set, zero value otherwise.
func (*ResultStats) GetQueryFinishTimeOk ¶
func (o *ResultStats) GetQueryFinishTimeOk() (*time.Time, bool)
GetQueryFinishTimeOk returns a tuple with the QueryFinishTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResultStats) GetQueryStartTime ¶
func (o *ResultStats) GetQueryStartTime() time.Time
GetQueryStartTime returns the QueryStartTime field value if set, zero value otherwise.
func (*ResultStats) GetQueryStartTimeOk ¶
func (o *ResultStats) GetQueryStartTimeOk() (*time.Time, bool)
GetQueryStartTimeOk returns a tuple with the QueryStartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResultStats) GetRowsAffected ¶
func (o *ResultStats) GetRowsAffected() int32
GetRowsAffected returns the RowsAffected field value if set, zero value otherwise.
func (*ResultStats) GetRowsAffectedOk ¶
func (o *ResultStats) GetRowsAffectedOk() (*int32, bool)
GetRowsAffectedOk returns a tuple with the RowsAffected field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResultStats) GetRowsCount ¶
func (o *ResultStats) GetRowsCount() int32
GetRowsCount returns the RowsCount field value if set, zero value otherwise.
func (*ResultStats) GetRowsCountOk ¶
func (o *ResultStats) GetRowsCountOk() (*int32, bool)
GetRowsCountOk returns a tuple with the RowsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResultStats) HasColumnsCount ¶
func (o *ResultStats) HasColumnsCount() bool
HasColumnsCount returns a boolean if a field has been set.
func (*ResultStats) HasQueryFinishTime ¶
func (o *ResultStats) HasQueryFinishTime() bool
HasQueryFinishTime returns a boolean if a field has been set.
func (*ResultStats) HasQueryStartTime ¶
func (o *ResultStats) HasQueryStartTime() bool
HasQueryStartTime returns a boolean if a field has been set.
func (*ResultStats) HasRowsAffected ¶
func (o *ResultStats) HasRowsAffected() bool
HasRowsAffected returns a boolean if a field has been set.
func (*ResultStats) HasRowsCount ¶
func (o *ResultStats) HasRowsCount() bool
HasRowsCount returns a boolean if a field has been set.
func (ResultStats) MarshalJSON ¶
func (o ResultStats) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ResultStats) SetColumnsCount ¶
func (o *ResultStats) SetColumnsCount(v int32)
SetColumnsCount gets a reference to the given int32 and assigns it to the ColumnsCount field.
func (*ResultStats) SetQueryFinishTime ¶
func (o *ResultStats) SetQueryFinishTime(v time.Time)
SetQueryFinishTime gets a reference to the given time.Time and assigns it to the QueryFinishTime field.
func (*ResultStats) SetQueryStartTime ¶
func (o *ResultStats) SetQueryStartTime(v time.Time)
SetQueryStartTime gets a reference to the given time.Time and assigns it to the QueryStartTime field.
func (*ResultStats) SetRowsAffected ¶
func (o *ResultStats) SetRowsAffected(v int32)
SetRowsAffected gets a reference to the given int32 and assigns it to the RowsAffected field.
func (*ResultStats) SetRowsCount ¶
func (o *ResultStats) SetRowsCount(v int32)
SetRowsCount gets a reference to the given int32 and assigns it to the RowsCount field.
func (*ResultStats) UnmarshalJSON ¶
func (o *ResultStats) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Role ¶
type Role struct {
// The name of the role
Name *string `json:"name,omitempty"`
// The type of the role
Type *string `json:"type,omitempty"`
// The description of the role
Description *string `json:"description,omitempty"`
// The time when the role was created. Read-Only
CreatedAt *time.Time `json:"createdAt,omitempty"`
// The time when the role was updated. Read-Only
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Role Role information
func NewRole ¶
func NewRole() *Role
NewRole instantiates a new Role object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleWithDefaults ¶
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Role) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Role) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Role) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Role) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Role) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Role) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Role) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Role) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Role) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Role) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Role) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Role) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Role) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*Role) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RoleApi ¶
RoleApi service type
func (*RoleApi) BatchAddRolePermissions ¶
func (a *RoleApi) BatchAddRolePermissions(ctx _context.Context, orgName string, roleName string, body []string) (*_nethttp.Response, error)
BatchAddRolePermissions Batch add permissions to a role. Batch add permissions to a role
func (*RoleApi) BatchRemoveRolePermissions ¶
func (a *RoleApi) BatchRemoveRolePermissions(ctx _context.Context, orgName string, roleName string, body []string) (*_nethttp.Response, error)
BatchRemoveRolePermissions Batch remove permissions from a role. Batch remove permissions from a role
func (*RoleApi) CreateRole ¶
func (a *RoleApi) CreateRole(ctx _context.Context, orgName string, body RoleCreate) (Role, *_nethttp.Response, error)
CreateRole Create role. Create role
func (*RoleApi) DeleteRoleByName ¶
func (a *RoleApi) DeleteRoleByName(ctx _context.Context, orgName string, roleName string) (*_nethttp.Response, error)
DeleteRoleByName Delete role by name. Delete role by name
func (*RoleApi) GetRoleByName ¶
func (a *RoleApi) GetRoleByName(ctx _context.Context, orgName string, roleName string) (Role, *_nethttp.Response, error)
GetRoleByName Get role by name. Get role by name
func (*RoleApi) ListPermissions ¶
ListPermissions List all permissions. List all permissions
func (*RoleApi) ListRolePermissions ¶
func (a *RoleApi) ListRolePermissions(ctx _context.Context, orgName string, roleName string) (PermissionList, *_nethttp.Response, error)
ListRolePermissions List permissions of a role. List permissions of a role
type RoleCreate ¶
type RoleCreate struct {
// The name of the role
Name *string `json:"name,omitempty"`
// The description of the role
Description *string `json:"description,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RoleCreate Role create
func NewRoleCreate ¶
func NewRoleCreate() *RoleCreate
NewRoleCreate instantiates a new RoleCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleCreateWithDefaults ¶
func NewRoleCreateWithDefaults() *RoleCreate
NewRoleCreateWithDefaults instantiates a new RoleCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleCreate) GetDescription ¶
func (o *RoleCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoleCreate) GetDescriptionOk ¶
func (o *RoleCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreate) GetName ¶
func (o *RoleCreate) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RoleCreate) GetNameOk ¶
func (o *RoleCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleCreate) HasDescription ¶
func (o *RoleCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*RoleCreate) HasName ¶
func (o *RoleCreate) HasName() bool
HasName returns a boolean if a field has been set.
func (RoleCreate) MarshalJSON ¶
func (o RoleCreate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleCreate) SetDescription ¶
func (o *RoleCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoleCreate) SetName ¶
func (o *RoleCreate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*RoleCreate) UnmarshalJSON ¶
func (o *RoleCreate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type RoleList ¶
type RoleList struct {
// Items is the list of Role objects in the list
Items []Role `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RoleList RoleList is a list of Roles
func NewRoleList ¶
NewRoleList instantiates a new RoleList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleListWithDefaults ¶
func NewRoleListWithDefaults() *RoleList
NewRoleListWithDefaults instantiates a new RoleList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (RoleList) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*RoleList) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type RoleUpdate ¶
type RoleUpdate struct {
// The description of the role
Description *string `json:"description,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
RoleUpdate Role update
func NewRoleUpdate ¶
func NewRoleUpdate() *RoleUpdate
NewRoleUpdate instantiates a new RoleUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewRoleUpdateWithDefaults ¶
func NewRoleUpdateWithDefaults() *RoleUpdate
NewRoleUpdateWithDefaults instantiates a new RoleUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*RoleUpdate) GetDescription ¶
func (o *RoleUpdate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RoleUpdate) GetDescriptionOk ¶
func (o *RoleUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleUpdate) HasDescription ¶
func (o *RoleUpdate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (RoleUpdate) MarshalJSON ¶
func (o RoleUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*RoleUpdate) SetDescription ¶
func (o *RoleUpdate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*RoleUpdate) UnmarshalJSON ¶
func (o *RoleUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ServiceVersionApi ¶
ServiceVersionApi service type
func NewServiceVersionApi ¶
func NewServiceVersionApi(client *common.APIClient) *ServiceVersionApi
NewServiceVersionApi Returns NewServiceVersionApi.
func (*ServiceVersionApi) ListServiceVersion ¶
func (a *ServiceVersionApi) ListServiceVersion(ctx _context.Context, environmentName string, engineName string, engineMode string, o ...ListServiceVersionOptionalParameters) (EngineServiceVersions, *_nethttp.Response, error)
ListServiceVersion list the service version of the engine. list the service version of the engine
type SetAlertConfigOptionalParameters ¶
type SetAlertConfigOptionalParameters struct {
Body *AlertConfig
}
SetAlertConfigOptionalParameters holds optional parameters for SetAlertConfig.
func NewSetAlertConfigOptionalParameters ¶
func NewSetAlertConfigOptionalParameters() *SetAlertConfigOptionalParameters
NewSetAlertConfigOptionalParameters creates an empty struct for parameters.
func (*SetAlertConfigOptionalParameters) WithBody ¶
func (r *SetAlertConfigOptionalParameters) WithBody(body AlertConfig) *SetAlertConfigOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type SetAlertObjectsStatusOptionalParameters ¶
type SetAlertObjectsStatusOptionalParameters struct {
Body *[]AlertObject
}
SetAlertObjectsStatusOptionalParameters holds optional parameters for SetAlertObjectsStatus.
func NewSetAlertObjectsStatusOptionalParameters ¶
func NewSetAlertObjectsStatusOptionalParameters() *SetAlertObjectsStatusOptionalParameters
NewSetAlertObjectsStatusOptionalParameters creates an empty struct for parameters.
func (*SetAlertObjectsStatusOptionalParameters) WithBody ¶
func (r *SetAlertObjectsStatusOptionalParameters) WithBody(body []AlertObject) *SetAlertObjectsStatusOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type SetClusterAlertDisabledOptionalParameters ¶
type SetClusterAlertDisabledOptionalParameters struct {
Body *AlertCluster
}
SetClusterAlertDisabledOptionalParameters holds optional parameters for SetClusterAlertDisabled.
func NewSetClusterAlertDisabledOptionalParameters ¶
func NewSetClusterAlertDisabledOptionalParameters() *SetClusterAlertDisabledOptionalParameters
NewSetClusterAlertDisabledOptionalParameters creates an empty struct for parameters.
func (*SetClusterAlertDisabledOptionalParameters) WithBody ¶
func (r *SetClusterAlertDisabledOptionalParameters) WithBody(body AlertCluster) *SetClusterAlertDisabledOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type SortType ¶
type SortType string
SortType Represents the type of sorting.
func NewSortTypeFromValue ¶
NewSortTypeFromValue returns a pointer to a valid SortType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SortType) GetAllowedValues ¶
GetAllowedValues returns the list of possible values.
func (*SortType) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type SqlEditorApi ¶
SqlEditorApi service type
func NewSqlEditorApi ¶
func NewSqlEditorApi(client *common.APIClient) *SqlEditorApi
NewSqlEditorApi Returns NewSqlEditorApi.
type SqlReqRes ¶
type SqlReqRes struct {
// SQL request or response body
Body *string `json:"body,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewSqlReqRes ¶
func NewSqlReqRes() *SqlReqRes
NewSqlReqRes instantiates a new SqlReqRes object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSqlReqResWithDefaults ¶
func NewSqlReqResWithDefaults() *SqlReqRes
NewSqlReqResWithDefaults instantiates a new SqlReqRes object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*SqlReqRes) GetBodyOk ¶
GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.
func (SqlReqRes) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*SqlReqRes) SetBody ¶
SetBody gets a reference to the given string and assigns it to the Body field.
func (*SqlReqRes) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type StorageClassApi ¶
StorageClassApi service type
func NewStorageClassApi ¶
func NewStorageClassApi(client *common.APIClient) *StorageClassApi
NewStorageClassApi Returns NewStorageClassApi.
func (*StorageClassApi) GetStorageClassStats ¶
func (a *StorageClassApi) GetStorageClassStats(ctx _context.Context, orgName string, environmentName string) (StorageClassList, *_nethttp.Response, error)
GetStorageClassStats Get storage class stats. Provides a summary of storage class statistics, aggregated and organized by namespace.
type StorageClassInfo ¶
type StorageClassInfo struct {
// the name of the storage class
Name string `json:"name"`
// the creation time of the storage class
CreationTimestamp string `json:"creationTimestamp"`
// the provisioner of the storage class
Provisioner string `json:"provisioner"`
// the parameters of the storage class
Parameters map[string]string `json:"parameters"`
// the labels of the storage class
Labels map[string]string `json:"labels"`
// the annotations of the storage class
Annotations map[string]string `json:"annotations"`
// the reclaim policy of the storage class
ReclaimPolicy string `json:"reclaimPolicy"`
// whether allow volume expansion
AllowVolumeExpansion bool `json:"allowVolumeExpansion"`
// the volume binding mode of the storage class
VolumeBindingMode string `json:"volumeBindingMode"`
// the number of PVCs
PvcCount string `json:"pvcCount"`
// whether allow clone
AllowClone bool `json:"allowClone"`
// whether allow snapshot
AllowSnapshot bool `json:"allowSnapshot"`
// whether is default class
IsDefaultClass bool `json:"isDefaultClass"`
// the type of the storage class
Type string `json:"type"`
// the host path when using local storage provisioner
HostPath *string `json:"hostPath,omitempty"`
// the mount options of the storage class
MountOptions []string `json:"mountOptions"`
// the creation time of the storage class
CreatedAt time.Time `json:"createdAt"`
// the description of the storage class
Description string `json:"description"`
// the display name of the storage class
DisplayName string `json:"displayName"`
// whether the storage class is enabled
Enabled bool `json:"enabled"`
// the id of the storage class
Id string `json:"id"`
// the update time of the storage class
UpdatedAt time.Time `json:"updatedAt"`
// the List stands for stats for the storage volumes of nodes.
StatsByNodeList StorageClassInfoStatsByNodeList `json:"statsByNodeList"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StorageClassInfo StorageClassInfo provides detailed information about a specific storage class.
func NewStorageClassInfo ¶
func NewStorageClassInfo(name string, creationTimestamp string, provisioner string, parameters map[string]string, labels map[string]string, annotations map[string]string, reclaimPolicy string, allowVolumeExpansion bool, volumeBindingMode string, pvcCount string, allowClone bool, allowSnapshot bool, isDefaultClass bool, typeVar string, mountOptions []string, createdAt time.Time, description string, displayName string, enabled bool, id string, updatedAt time.Time, statsByNodeList StorageClassInfoStatsByNodeList) *StorageClassInfo
NewStorageClassInfo instantiates a new StorageClassInfo object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewStorageClassInfoWithDefaults ¶
func NewStorageClassInfoWithDefaults() *StorageClassInfo
NewStorageClassInfoWithDefaults instantiates a new StorageClassInfo object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*StorageClassInfo) GetAllowClone ¶
func (o *StorageClassInfo) GetAllowClone() bool
GetAllowClone returns the AllowClone field value.
func (*StorageClassInfo) GetAllowCloneOk ¶
func (o *StorageClassInfo) GetAllowCloneOk() (*bool, bool)
GetAllowCloneOk returns a tuple with the AllowClone field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetAllowSnapshot ¶
func (o *StorageClassInfo) GetAllowSnapshot() bool
GetAllowSnapshot returns the AllowSnapshot field value.
func (*StorageClassInfo) GetAllowSnapshotOk ¶
func (o *StorageClassInfo) GetAllowSnapshotOk() (*bool, bool)
GetAllowSnapshotOk returns a tuple with the AllowSnapshot field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetAllowVolumeExpansion ¶
func (o *StorageClassInfo) GetAllowVolumeExpansion() bool
GetAllowVolumeExpansion returns the AllowVolumeExpansion field value.
func (*StorageClassInfo) GetAllowVolumeExpansionOk ¶
func (o *StorageClassInfo) GetAllowVolumeExpansionOk() (*bool, bool)
GetAllowVolumeExpansionOk returns a tuple with the AllowVolumeExpansion field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetAnnotations ¶
func (o *StorageClassInfo) GetAnnotations() map[string]string
GetAnnotations returns the Annotations field value.
func (*StorageClassInfo) GetAnnotationsOk ¶
func (o *StorageClassInfo) GetAnnotationsOk() (*map[string]string, bool)
GetAnnotationsOk returns a tuple with the Annotations field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetCreatedAt ¶
func (o *StorageClassInfo) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value.
func (*StorageClassInfo) GetCreatedAtOk ¶
func (o *StorageClassInfo) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetCreationTimestamp ¶
func (o *StorageClassInfo) GetCreationTimestamp() string
GetCreationTimestamp returns the CreationTimestamp field value.
func (*StorageClassInfo) GetCreationTimestampOk ¶
func (o *StorageClassInfo) GetCreationTimestampOk() (*string, bool)
GetCreationTimestampOk returns a tuple with the CreationTimestamp field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetDescription ¶
func (o *StorageClassInfo) GetDescription() string
GetDescription returns the Description field value.
func (*StorageClassInfo) GetDescriptionOk ¶
func (o *StorageClassInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetDisplayName ¶
func (o *StorageClassInfo) GetDisplayName() string
GetDisplayName returns the DisplayName field value.
func (*StorageClassInfo) GetDisplayNameOk ¶
func (o *StorageClassInfo) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetEnabled ¶
func (o *StorageClassInfo) GetEnabled() bool
GetEnabled returns the Enabled field value.
func (*StorageClassInfo) GetEnabledOk ¶
func (o *StorageClassInfo) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetHostPath ¶
func (o *StorageClassInfo) GetHostPath() string
GetHostPath returns the HostPath field value if set, zero value otherwise.
func (*StorageClassInfo) GetHostPathOk ¶
func (o *StorageClassInfo) GetHostPathOk() (*string, bool)
GetHostPathOk returns a tuple with the HostPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageClassInfo) GetId ¶
func (o *StorageClassInfo) GetId() string
GetId returns the Id field value.
func (*StorageClassInfo) GetIdOk ¶
func (o *StorageClassInfo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetIsDefaultClass ¶
func (o *StorageClassInfo) GetIsDefaultClass() bool
GetIsDefaultClass returns the IsDefaultClass field value.
func (*StorageClassInfo) GetIsDefaultClassOk ¶
func (o *StorageClassInfo) GetIsDefaultClassOk() (*bool, bool)
GetIsDefaultClassOk returns a tuple with the IsDefaultClass field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetLabels ¶
func (o *StorageClassInfo) GetLabels() map[string]string
GetLabels returns the Labels field value.
func (*StorageClassInfo) GetLabelsOk ¶
func (o *StorageClassInfo) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetMountOptions ¶
func (o *StorageClassInfo) GetMountOptions() []string
GetMountOptions returns the MountOptions field value.
func (*StorageClassInfo) GetMountOptionsOk ¶
func (o *StorageClassInfo) GetMountOptionsOk() (*[]string, bool)
GetMountOptionsOk returns a tuple with the MountOptions field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetName ¶
func (o *StorageClassInfo) GetName() string
GetName returns the Name field value.
func (*StorageClassInfo) GetNameOk ¶
func (o *StorageClassInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetParameters ¶
func (o *StorageClassInfo) GetParameters() map[string]string
GetParameters returns the Parameters field value.
func (*StorageClassInfo) GetParametersOk ¶
func (o *StorageClassInfo) GetParametersOk() (*map[string]string, bool)
GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetProvisioner ¶
func (o *StorageClassInfo) GetProvisioner() string
GetProvisioner returns the Provisioner field value.
func (*StorageClassInfo) GetProvisionerOk ¶
func (o *StorageClassInfo) GetProvisionerOk() (*string, bool)
GetProvisionerOk returns a tuple with the Provisioner field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetPvcCount ¶
func (o *StorageClassInfo) GetPvcCount() string
GetPvcCount returns the PvcCount field value.
func (*StorageClassInfo) GetPvcCountOk ¶
func (o *StorageClassInfo) GetPvcCountOk() (*string, bool)
GetPvcCountOk returns a tuple with the PvcCount field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetReclaimPolicy ¶
func (o *StorageClassInfo) GetReclaimPolicy() string
GetReclaimPolicy returns the ReclaimPolicy field value.
func (*StorageClassInfo) GetReclaimPolicyOk ¶
func (o *StorageClassInfo) GetReclaimPolicyOk() (*string, bool)
GetReclaimPolicyOk returns a tuple with the ReclaimPolicy field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetStatsByNodeList ¶
func (o *StorageClassInfo) GetStatsByNodeList() StorageClassInfoStatsByNodeList
GetStatsByNodeList returns the StatsByNodeList field value.
func (*StorageClassInfo) GetStatsByNodeListOk ¶
func (o *StorageClassInfo) GetStatsByNodeListOk() (*StorageClassInfoStatsByNodeList, bool)
GetStatsByNodeListOk returns a tuple with the StatsByNodeList field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetType ¶
func (o *StorageClassInfo) GetType() string
GetType returns the Type field value.
func (*StorageClassInfo) GetTypeOk ¶
func (o *StorageClassInfo) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetUpdatedAt ¶
func (o *StorageClassInfo) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value.
func (*StorageClassInfo) GetUpdatedAtOk ¶
func (o *StorageClassInfo) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*StorageClassInfo) GetVolumeBindingMode ¶
func (o *StorageClassInfo) GetVolumeBindingMode() string
GetVolumeBindingMode returns the VolumeBindingMode field value.
func (*StorageClassInfo) GetVolumeBindingModeOk ¶
func (o *StorageClassInfo) GetVolumeBindingModeOk() (*string, bool)
GetVolumeBindingModeOk returns a tuple with the VolumeBindingMode field value and a boolean to check if the value has been set.
func (*StorageClassInfo) HasHostPath ¶
func (o *StorageClassInfo) HasHostPath() bool
HasHostPath returns a boolean if a field has been set.
func (StorageClassInfo) MarshalJSON ¶
func (o StorageClassInfo) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*StorageClassInfo) SetAllowClone ¶
func (o *StorageClassInfo) SetAllowClone(v bool)
SetAllowClone sets field value.
func (*StorageClassInfo) SetAllowSnapshot ¶
func (o *StorageClassInfo) SetAllowSnapshot(v bool)
SetAllowSnapshot sets field value.
func (*StorageClassInfo) SetAllowVolumeExpansion ¶
func (o *StorageClassInfo) SetAllowVolumeExpansion(v bool)
SetAllowVolumeExpansion sets field value.
func (*StorageClassInfo) SetAnnotations ¶
func (o *StorageClassInfo) SetAnnotations(v map[string]string)
SetAnnotations sets field value.
func (*StorageClassInfo) SetCreatedAt ¶
func (o *StorageClassInfo) SetCreatedAt(v time.Time)
SetCreatedAt sets field value.
func (*StorageClassInfo) SetCreationTimestamp ¶
func (o *StorageClassInfo) SetCreationTimestamp(v string)
SetCreationTimestamp sets field value.
func (*StorageClassInfo) SetDescription ¶
func (o *StorageClassInfo) SetDescription(v string)
SetDescription sets field value.
func (*StorageClassInfo) SetDisplayName ¶
func (o *StorageClassInfo) SetDisplayName(v string)
SetDisplayName sets field value.
func (*StorageClassInfo) SetEnabled ¶
func (o *StorageClassInfo) SetEnabled(v bool)
SetEnabled sets field value.
func (*StorageClassInfo) SetHostPath ¶
func (o *StorageClassInfo) SetHostPath(v string)
SetHostPath gets a reference to the given string and assigns it to the HostPath field.
func (*StorageClassInfo) SetIsDefaultClass ¶
func (o *StorageClassInfo) SetIsDefaultClass(v bool)
SetIsDefaultClass sets field value.
func (*StorageClassInfo) SetLabels ¶
func (o *StorageClassInfo) SetLabels(v map[string]string)
SetLabels sets field value.
func (*StorageClassInfo) SetMountOptions ¶
func (o *StorageClassInfo) SetMountOptions(v []string)
SetMountOptions sets field value.
func (*StorageClassInfo) SetName ¶
func (o *StorageClassInfo) SetName(v string)
SetName sets field value.
func (*StorageClassInfo) SetParameters ¶
func (o *StorageClassInfo) SetParameters(v map[string]string)
SetParameters sets field value.
func (*StorageClassInfo) SetProvisioner ¶
func (o *StorageClassInfo) SetProvisioner(v string)
SetProvisioner sets field value.
func (*StorageClassInfo) SetPvcCount ¶
func (o *StorageClassInfo) SetPvcCount(v string)
SetPvcCount sets field value.
func (*StorageClassInfo) SetReclaimPolicy ¶
func (o *StorageClassInfo) SetReclaimPolicy(v string)
SetReclaimPolicy sets field value.
func (*StorageClassInfo) SetStatsByNodeList ¶
func (o *StorageClassInfo) SetStatsByNodeList(v StorageClassInfoStatsByNodeList)
SetStatsByNodeList sets field value.
func (*StorageClassInfo) SetType ¶
func (o *StorageClassInfo) SetType(v string)
SetType sets field value.
func (*StorageClassInfo) SetUpdatedAt ¶
func (o *StorageClassInfo) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value.
func (*StorageClassInfo) SetVolumeBindingMode ¶
func (o *StorageClassInfo) SetVolumeBindingMode(v string)
SetVolumeBindingMode sets field value.
func (*StorageClassInfo) UnmarshalJSON ¶
func (o *StorageClassInfo) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type StorageClassInfoStatsByNodeList ¶
type StorageClassInfoStatsByNodeList struct {
// the list of storage volumes stats by node
Items []StorageVolumeStatsByNode `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StorageClassInfoStatsByNodeList the List stands for stats for the storage volumes of nodes.
func NewStorageClassInfoStatsByNodeList ¶
func NewStorageClassInfoStatsByNodeList(items []StorageVolumeStatsByNode) *StorageClassInfoStatsByNodeList
NewStorageClassInfoStatsByNodeList instantiates a new StorageClassInfoStatsByNodeList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewStorageClassInfoStatsByNodeListWithDefaults ¶
func NewStorageClassInfoStatsByNodeListWithDefaults() *StorageClassInfoStatsByNodeList
NewStorageClassInfoStatsByNodeListWithDefaults instantiates a new StorageClassInfoStatsByNodeList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*StorageClassInfoStatsByNodeList) GetItems ¶
func (o *StorageClassInfoStatsByNodeList) GetItems() []StorageVolumeStatsByNode
GetItems returns the Items field value.
func (*StorageClassInfoStatsByNodeList) GetItemsOk ¶
func (o *StorageClassInfoStatsByNodeList) GetItemsOk() (*[]StorageVolumeStatsByNode, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (StorageClassInfoStatsByNodeList) MarshalJSON ¶
func (o StorageClassInfoStatsByNodeList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*StorageClassInfoStatsByNodeList) SetItems ¶
func (o *StorageClassInfoStatsByNodeList) SetItems(v []StorageVolumeStatsByNode)
SetItems sets field value.
func (*StorageClassInfoStatsByNodeList) UnmarshalJSON ¶
func (o *StorageClassInfoStatsByNodeList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type StorageClassList ¶
type StorageClassList struct {
// the list of storage classes
Items []StorageClassInfo `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StorageClassList StorageClassList stands for stats for storage classes.
func NewStorageClassList ¶
func NewStorageClassList(items []StorageClassInfo) *StorageClassList
NewStorageClassList instantiates a new StorageClassList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewStorageClassListWithDefaults ¶
func NewStorageClassListWithDefaults() *StorageClassList
NewStorageClassListWithDefaults instantiates a new StorageClassList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*StorageClassList) GetItems ¶
func (o *StorageClassList) GetItems() []StorageClassInfo
GetItems returns the Items field value.
func (*StorageClassList) GetItemsOk ¶
func (o *StorageClassList) GetItemsOk() (*[]StorageClassInfo, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (StorageClassList) MarshalJSON ¶
func (o StorageClassList) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*StorageClassList) SetItems ¶
func (o *StorageClassList) SetItems(v []StorageClassInfo)
SetItems sets field value.
func (*StorageClassList) UnmarshalJSON ¶
func (o *StorageClassList) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type StorageOption ¶
type StorageOption struct {
Title LocalizedDescription `json:"title"`
Name string `json:"name"`
Min int32 `json:"min"`
Max int32 `json:"max"`
Default int32 `json:"default"`
Step int32 `json:"step"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewStorageOption ¶
func NewStorageOption(title LocalizedDescription, name string, min int32, max int32, defaultVar int32, step int32) *StorageOption
NewStorageOption instantiates a new StorageOption object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewStorageOptionWithDefaults ¶
func NewStorageOptionWithDefaults() *StorageOption
NewStorageOptionWithDefaults instantiates a new StorageOption object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*StorageOption) GetDefault ¶
func (o *StorageOption) GetDefault() int32
GetDefault returns the Default field value.
func (*StorageOption) GetDefaultOk ¶
func (o *StorageOption) GetDefaultOk() (*int32, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*StorageOption) GetMax ¶
func (o *StorageOption) GetMax() int32
GetMax returns the Max field value.
func (*StorageOption) GetMaxOk ¶
func (o *StorageOption) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value and a boolean to check if the value has been set.
func (*StorageOption) GetMin ¶
func (o *StorageOption) GetMin() int32
GetMin returns the Min field value.
func (*StorageOption) GetMinOk ¶
func (o *StorageOption) GetMinOk() (*int32, bool)
GetMinOk returns a tuple with the Min field value and a boolean to check if the value has been set.
func (*StorageOption) GetName ¶
func (o *StorageOption) GetName() string
GetName returns the Name field value.
func (*StorageOption) GetNameOk ¶
func (o *StorageOption) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StorageOption) GetStep ¶
func (o *StorageOption) GetStep() int32
GetStep returns the Step field value.
func (*StorageOption) GetStepOk ¶
func (o *StorageOption) GetStepOk() (*int32, bool)
GetStepOk returns a tuple with the Step field value and a boolean to check if the value has been set.
func (*StorageOption) GetTitle ¶
func (o *StorageOption) GetTitle() LocalizedDescription
GetTitle returns the Title field value.
func (*StorageOption) GetTitleOk ¶
func (o *StorageOption) GetTitleOk() (*LocalizedDescription, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (StorageOption) MarshalJSON ¶
func (o StorageOption) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*StorageOption) SetDefault ¶
func (o *StorageOption) SetDefault(v int32)
SetDefault sets field value.
func (*StorageOption) SetTitle ¶
func (o *StorageOption) SetTitle(v LocalizedDescription)
SetTitle sets field value.
func (*StorageOption) UnmarshalJSON ¶
func (o *StorageOption) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type StorageVolumeStatsByNode ¶
type StorageVolumeStatsByNode struct {
// the name of the node
NodeName *string `json:"nodeName,omitempty"`
// the status of the node
NodeStatus *string `json:"nodeStatus,omitempty"`
// the number of PVCs on the node
VolumeNum *string `json:"VolumeNum,omitempty"`
// the sum of capacity of PVC on the node
Capacity *string `json:"capacity,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
StorageVolumeStatsByNode storageVolumeStatsByNode provides detailed information about storage volumes of nodes.
func NewStorageVolumeStatsByNode ¶
func NewStorageVolumeStatsByNode() *StorageVolumeStatsByNode
NewStorageVolumeStatsByNode instantiates a new StorageVolumeStatsByNode object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewStorageVolumeStatsByNodeWithDefaults ¶
func NewStorageVolumeStatsByNodeWithDefaults() *StorageVolumeStatsByNode
NewStorageVolumeStatsByNodeWithDefaults instantiates a new StorageVolumeStatsByNode object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*StorageVolumeStatsByNode) GetCapacity ¶
func (o *StorageVolumeStatsByNode) GetCapacity() string
GetCapacity returns the Capacity field value if set, zero value otherwise.
func (*StorageVolumeStatsByNode) GetCapacityOk ¶
func (o *StorageVolumeStatsByNode) GetCapacityOk() (*string, bool)
GetCapacityOk returns a tuple with the Capacity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageVolumeStatsByNode) GetNodeName ¶
func (o *StorageVolumeStatsByNode) GetNodeName() string
GetNodeName returns the NodeName field value if set, zero value otherwise.
func (*StorageVolumeStatsByNode) GetNodeNameOk ¶
func (o *StorageVolumeStatsByNode) GetNodeNameOk() (*string, bool)
GetNodeNameOk returns a tuple with the NodeName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageVolumeStatsByNode) GetNodeStatus ¶
func (o *StorageVolumeStatsByNode) GetNodeStatus() string
GetNodeStatus returns the NodeStatus field value if set, zero value otherwise.
func (*StorageVolumeStatsByNode) GetNodeStatusOk ¶
func (o *StorageVolumeStatsByNode) GetNodeStatusOk() (*string, bool)
GetNodeStatusOk returns a tuple with the NodeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageVolumeStatsByNode) GetVolumeNum ¶
func (o *StorageVolumeStatsByNode) GetVolumeNum() string
GetVolumeNum returns the VolumeNum field value if set, zero value otherwise.
func (*StorageVolumeStatsByNode) GetVolumeNumOk ¶
func (o *StorageVolumeStatsByNode) GetVolumeNumOk() (*string, bool)
GetVolumeNumOk returns a tuple with the VolumeNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageVolumeStatsByNode) HasCapacity ¶
func (o *StorageVolumeStatsByNode) HasCapacity() bool
HasCapacity returns a boolean if a field has been set.
func (*StorageVolumeStatsByNode) HasNodeName ¶
func (o *StorageVolumeStatsByNode) HasNodeName() bool
HasNodeName returns a boolean if a field has been set.
func (*StorageVolumeStatsByNode) HasNodeStatus ¶
func (o *StorageVolumeStatsByNode) HasNodeStatus() bool
HasNodeStatus returns a boolean if a field has been set.
func (*StorageVolumeStatsByNode) HasVolumeNum ¶
func (o *StorageVolumeStatsByNode) HasVolumeNum() bool
HasVolumeNum returns a boolean if a field has been set.
func (StorageVolumeStatsByNode) MarshalJSON ¶
func (o StorageVolumeStatsByNode) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*StorageVolumeStatsByNode) SetCapacity ¶
func (o *StorageVolumeStatsByNode) SetCapacity(v string)
SetCapacity gets a reference to the given string and assigns it to the Capacity field.
func (*StorageVolumeStatsByNode) SetNodeName ¶
func (o *StorageVolumeStatsByNode) SetNodeName(v string)
SetNodeName gets a reference to the given string and assigns it to the NodeName field.
func (*StorageVolumeStatsByNode) SetNodeStatus ¶
func (o *StorageVolumeStatsByNode) SetNodeStatus(v string)
SetNodeStatus gets a reference to the given string and assigns it to the NodeStatus field.
func (*StorageVolumeStatsByNode) SetVolumeNum ¶
func (o *StorageVolumeStatsByNode) SetVolumeNum(v string)
SetVolumeNum gets a reference to the given string and assigns it to the VolumeNum field.
func (*StorageVolumeStatsByNode) UnmarshalJSON ¶
func (o *StorageVolumeStatsByNode) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Sysbench ¶
type Sysbench struct {
// Step of sysbench
Step *SysbenchStep `json:"step,omitempty"`
// the cpu limit for test container
LimitCpu *string `json:"limitCpu,omitempty"`
// the memory limit for test container
LimitMemory *string `json:"limitMemory,omitempty"`
// the cpu request for test container
RequestCpu *string `json:"requestCpu,omitempty"`
// the memory request for test container
RequestMemory *string `json:"requestMemory,omitempty"`
// the name of benchmark
Name *string `json:"name,omitempty"`
// the cluster name
Cluster string `json:"cluster"`
// the database name
Database string `json:"database"`
// Number of threads to use
Threads *int32 `json:"threads,omitempty"`
// the seconds of test duration
Duration *int32 `json:"duration,omitempty"`
// Number of rows per table
TableSize *int32 `json:"tableSize,omitempty"`
// Number of tables
TableNum *int32 `json:"tableNum,omitempty"`
// Test type for sysbench
TestType *SysbenchTestType `json:"testType,omitempty"`
// Percentage of reads, only used for oltp_read_write_pct
ReadPercent *int32 `json:"readPercent,omitempty"`
// Percentage of writes, only used for oltp_read_write_pct
WritePercent *int32 `json:"writePercent,omitempty"`
// Username for database
Username string `json:"username"`
// Password for database
Password string `json:"password"`
// Address for database
Address string `json:"address"`
// Extra arguments for sysbench
ExtraArgs *string `json:"extraArgs,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Sysbench sysbench is the sysbench benchmark object
func NewSysbench ¶
func NewSysbench(cluster string, database string, username string, password string, address string) *Sysbench
NewSysbench instantiates a new Sysbench object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewSysbenchWithDefaults ¶
func NewSysbenchWithDefaults() *Sysbench
NewSysbenchWithDefaults instantiates a new Sysbench object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Sysbench) GetAddress ¶
GetAddress returns the Address field value.
func (*Sysbench) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Sysbench) GetCluster ¶
GetCluster returns the Cluster field value.
func (*Sysbench) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*Sysbench) GetDatabase ¶
GetDatabase returns the Database field value.
func (*Sysbench) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value and a boolean to check if the value has been set.
func (*Sysbench) GetDuration ¶
GetDuration returns the Duration field value if set, zero value otherwise.
func (*Sysbench) GetDurationOk ¶
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetExtraArgs ¶
GetExtraArgs returns the ExtraArgs field value if set, zero value otherwise.
func (*Sysbench) GetExtraArgsOk ¶
GetExtraArgsOk returns a tuple with the ExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetLimitCpu ¶
GetLimitCpu returns the LimitCpu field value if set, zero value otherwise.
func (*Sysbench) GetLimitCpuOk ¶
GetLimitCpuOk returns a tuple with the LimitCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetLimitMemory ¶
GetLimitMemory returns the LimitMemory field value if set, zero value otherwise.
func (*Sysbench) GetLimitMemoryOk ¶
GetLimitMemoryOk returns a tuple with the LimitMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetPassword ¶
GetPassword returns the Password field value.
func (*Sysbench) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*Sysbench) GetReadPercent ¶
GetReadPercent returns the ReadPercent field value if set, zero value otherwise.
func (*Sysbench) GetReadPercentOk ¶
GetReadPercentOk returns a tuple with the ReadPercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetRequestCpu ¶
GetRequestCpu returns the RequestCpu field value if set, zero value otherwise.
func (*Sysbench) GetRequestCpuOk ¶
GetRequestCpuOk returns a tuple with the RequestCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetRequestMemory ¶
GetRequestMemory returns the RequestMemory field value if set, zero value otherwise.
func (*Sysbench) GetRequestMemoryOk ¶
GetRequestMemoryOk returns a tuple with the RequestMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetStep ¶
func (o *Sysbench) GetStep() SysbenchStep
GetStep returns the Step field value if set, zero value otherwise.
func (*Sysbench) GetStepOk ¶
func (o *Sysbench) GetStepOk() (*SysbenchStep, bool)
GetStepOk returns a tuple with the Step field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetTableNum ¶
GetTableNum returns the TableNum field value if set, zero value otherwise.
func (*Sysbench) GetTableNumOk ¶
GetTableNumOk returns a tuple with the TableNum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetTableSize ¶
GetTableSize returns the TableSize field value if set, zero value otherwise.
func (*Sysbench) GetTableSizeOk ¶
GetTableSizeOk returns a tuple with the TableSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetTestType ¶
func (o *Sysbench) GetTestType() SysbenchTestType
GetTestType returns the TestType field value if set, zero value otherwise.
func (*Sysbench) GetTestTypeOk ¶
func (o *Sysbench) GetTestTypeOk() (*SysbenchTestType, bool)
GetTestTypeOk returns a tuple with the TestType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetThreads ¶
GetThreads returns the Threads field value if set, zero value otherwise.
func (*Sysbench) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) GetUsername ¶
GetUsername returns the Username field value.
func (*Sysbench) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*Sysbench) GetWritePercent ¶
GetWritePercent returns the WritePercent field value if set, zero value otherwise.
func (*Sysbench) GetWritePercentOk ¶
GetWritePercentOk returns a tuple with the WritePercent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Sysbench) HasDuration ¶
HasDuration returns a boolean if a field has been set.
func (*Sysbench) HasExtraArgs ¶
HasExtraArgs returns a boolean if a field has been set.
func (*Sysbench) HasLimitCpu ¶
HasLimitCpu returns a boolean if a field has been set.
func (*Sysbench) HasLimitMemory ¶
HasLimitMemory returns a boolean if a field has been set.
func (*Sysbench) HasReadPercent ¶
HasReadPercent returns a boolean if a field has been set.
func (*Sysbench) HasRequestCpu ¶
HasRequestCpu returns a boolean if a field has been set.
func (*Sysbench) HasRequestMemory ¶
HasRequestMemory returns a boolean if a field has been set.
func (*Sysbench) HasTableNum ¶
HasTableNum returns a boolean if a field has been set.
func (*Sysbench) HasTableSize ¶
HasTableSize returns a boolean if a field has been set.
func (*Sysbench) HasTestType ¶
HasTestType returns a boolean if a field has been set.
func (*Sysbench) HasThreads ¶
HasThreads returns a boolean if a field has been set.
func (*Sysbench) HasWritePercent ¶
HasWritePercent returns a boolean if a field has been set.
func (Sysbench) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Sysbench) SetDatabase ¶
SetDatabase sets field value.
func (*Sysbench) SetDuration ¶
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*Sysbench) SetExtraArgs ¶
SetExtraArgs gets a reference to the given string and assigns it to the ExtraArgs field.
func (*Sysbench) SetLimitCpu ¶
SetLimitCpu gets a reference to the given string and assigns it to the LimitCpu field.
func (*Sysbench) SetLimitMemory ¶
SetLimitMemory gets a reference to the given string and assigns it to the LimitMemory field.
func (*Sysbench) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Sysbench) SetPassword ¶
SetPassword sets field value.
func (*Sysbench) SetReadPercent ¶
SetReadPercent gets a reference to the given int32 and assigns it to the ReadPercent field.
func (*Sysbench) SetRequestCpu ¶
SetRequestCpu gets a reference to the given string and assigns it to the RequestCpu field.
func (*Sysbench) SetRequestMemory ¶
SetRequestMemory gets a reference to the given string and assigns it to the RequestMemory field.
func (*Sysbench) SetStep ¶
func (o *Sysbench) SetStep(v SysbenchStep)
SetStep gets a reference to the given SysbenchStep and assigns it to the Step field.
func (*Sysbench) SetTableNum ¶
SetTableNum gets a reference to the given int32 and assigns it to the TableNum field.
func (*Sysbench) SetTableSize ¶
SetTableSize gets a reference to the given int32 and assigns it to the TableSize field.
func (*Sysbench) SetTestType ¶
func (o *Sysbench) SetTestType(v SysbenchTestType)
SetTestType gets a reference to the given SysbenchTestType and assigns it to the TestType field.
func (*Sysbench) SetThreads ¶
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*Sysbench) SetUsername ¶
SetUsername sets field value.
func (*Sysbench) SetWritePercent ¶
SetWritePercent gets a reference to the given int32 and assigns it to the WritePercent field.
func (*Sysbench) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type SysbenchStep ¶
type SysbenchStep string
SysbenchStep Step of sysbench
const ( SysbenchStepPrepare SysbenchStep = "prepare" SysbenchStepRun SysbenchStep = "run" SysbenchStepCleanup SysbenchStep = "cleanup" SysbenchStepAll SysbenchStep = "all" )
List of SysbenchStep.
func NewSysbenchStepFromValue ¶
func NewSysbenchStepFromValue(v string) (*SysbenchStep, error)
NewSysbenchStepFromValue returns a pointer to a valid SysbenchStep for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SysbenchStep) GetAllowedValues ¶
func (v *SysbenchStep) GetAllowedValues() []SysbenchStep
GetAllowedValues returns the list of possible values.
func (SysbenchStep) IsValid ¶
func (v SysbenchStep) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SysbenchStep) Ptr ¶
func (v SysbenchStep) Ptr() *SysbenchStep
Ptr returns reference to SysbenchStep value.
func (*SysbenchStep) UnmarshalJSON ¶
func (v *SysbenchStep) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type SysbenchTestType ¶
type SysbenchTestType string
SysbenchTestType Test type for sysbench
const ( SysbenchTestTypeOltpDelete SysbenchTestType = "oltp_delete" SysbenchTestTypeOltpInsert SysbenchTestType = "oltp_insert" SysbenchTestTypeOltpPointSelect SysbenchTestType = "oltp_point_select" SysbenchTestTypeOltpReadOnly SysbenchTestType = "oltp_read_only" SysbenchTestTypeOltpReadWrite SysbenchTestType = "oltp_read_write" SysbenchTestTypeOltpUpdateIndex SysbenchTestType = "oltp_update_index" SysbenchTestTypeOltpUpdateNonIndex SysbenchTestType = "oltp_update_non_index" SysbenchTestTypeOltpWriteOnly SysbenchTestType = "oltp_write_only" SysbenchTestTypeSelectRandomPoints SysbenchTestType = "select_random_points" SysbenchTestTypeSelectRandomRanges SysbenchTestType = "select_random_ranges" SysbenchTestTypeBulkInsert SysbenchTestType = "bulk_insert" SysbenchTestTypeOltpReadWritePct SysbenchTestType = "oltp_read_write_pct" )
List of SysbenchTestType.
func NewSysbenchTestTypeFromValue ¶
func NewSysbenchTestTypeFromValue(v string) (*SysbenchTestType, error)
NewSysbenchTestTypeFromValue returns a pointer to a valid SysbenchTestType for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*SysbenchTestType) GetAllowedValues ¶
func (v *SysbenchTestType) GetAllowedValues() []SysbenchTestType
GetAllowedValues returns the list of possible values.
func (SysbenchTestType) IsValid ¶
func (v SysbenchTestType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (SysbenchTestType) Ptr ¶
func (v SysbenchTestType) Ptr() *SysbenchTestType
Ptr returns reference to SysbenchTestType value.
func (*SysbenchTestType) UnmarshalJSON ¶
func (v *SysbenchTestType) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type Tag ¶
type Tag struct {
// The id of the tag
Id string `json:"id"`
// the key of the tag
Key *string `json:"key,omitempty"`
// The value corresponding to the key
Value *string `json:"value,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Tag tag info
func NewTag ¶
NewTag instantiates a new Tag object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTagWithDefaults ¶
func NewTagWithDefaults() *Tag
NewTagWithDefaults instantiates a new Tag object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Tag) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Tag) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tag) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (Tag) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Tag) SetValue ¶
SetValue gets a reference to the given string and assigns it to the Value field.
func (*Tag) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TagApi ¶
TagApi service type
func (*TagApi) CreateTag ¶
func (a *TagApi) CreateTag(ctx _context.Context, orgName string, body interface{}) (TagCreate, *_nethttp.Response, error)
CreateTag Create cluster tags. create tag
func (*TagApi) DeleteTags ¶
func (a *TagApi) DeleteTags(ctx _context.Context, orgName string, tagId string) (*_nethttp.Response, error)
DeleteTags Delete tag. delete tag
func (*TagApi) GetTags ¶
func (a *TagApi) GetTags(ctx _context.Context, orgName string, clusterIds string) ([]TagCluster, *_nethttp.Response, error)
GetTags Get cluster tags.
func (*TagApi) ListOrgTags ¶
func (a *TagApi) ListOrgTags(ctx _context.Context, orgName string) (OrgTagsList, *_nethttp.Response, error)
ListOrgTags List tags by organization name. List tags by organization name.
type TagCluster ¶
type TagCluster struct {
// The cluster id corresponding to the tag
ClusterId *string `json:"clusterId,omitempty"`
Tags []Tag `json:"tags,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTagCluster ¶
func NewTagCluster() *TagCluster
NewTagCluster instantiates a new TagCluster object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTagClusterWithDefaults ¶
func NewTagClusterWithDefaults() *TagCluster
NewTagClusterWithDefaults instantiates a new TagCluster object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TagCluster) GetClusterId ¶
func (o *TagCluster) GetClusterId() string
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*TagCluster) GetClusterIdOk ¶
func (o *TagCluster) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagCluster) GetTags ¶
func (o *TagCluster) GetTags() []Tag
GetTags returns the Tags field value if set, zero value otherwise.
func (*TagCluster) GetTagsOk ¶
func (o *TagCluster) GetTagsOk() (*[]Tag, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagCluster) HasClusterId ¶
func (o *TagCluster) HasClusterId() bool
HasClusterId returns a boolean if a field has been set.
func (*TagCluster) HasTags ¶
func (o *TagCluster) HasTags() bool
HasTags returns a boolean if a field has been set.
func (TagCluster) MarshalJSON ¶
func (o TagCluster) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*TagCluster) SetClusterId ¶
func (o *TagCluster) SetClusterId(v string)
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*TagCluster) SetTags ¶
func (o *TagCluster) SetTags(v []Tag)
SetTags gets a reference to the given []Tag and assigns it to the Tags field.
func (*TagCluster) UnmarshalJSON ¶
func (o *TagCluster) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type TagCreate ¶
type TagCreate struct {
// The cluster id corresponding to the tag
ClusterId string `json:"clusterId"`
// The key value pair of the tag needed to create
Items []TagCreateItemsItem `json:"items"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TagCreate Tag create
func NewTagCreate ¶
func NewTagCreate(clusterId string, items []TagCreateItemsItem) *TagCreate
NewTagCreate instantiates a new TagCreate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTagCreateWithDefaults ¶
func NewTagCreateWithDefaults() *TagCreate
NewTagCreateWithDefaults instantiates a new TagCreate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TagCreate) GetClusterId ¶
GetClusterId returns the ClusterId field value.
func (*TagCreate) GetClusterIdOk ¶
GetClusterIdOk returns a tuple with the ClusterId field value and a boolean to check if the value has been set.
func (*TagCreate) GetItems ¶
func (o *TagCreate) GetItems() []TagCreateItemsItem
GetItems returns the Items field value.
func (*TagCreate) GetItemsOk ¶
func (o *TagCreate) GetItemsOk() (*[]TagCreateItemsItem, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (TagCreate) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*TagCreate) SetClusterId ¶
SetClusterId sets field value.
func (*TagCreate) SetItems ¶
func (o *TagCreate) SetItems(v []TagCreateItemsItem)
SetItems sets field value.
func (*TagCreate) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TagCreateItemsItem ¶
type TagCreateItemsItem struct {
Id *string `json:"id,omitempty"`
Key string `json:"key"`
Value string `json:"value"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTagCreateItemsItem ¶
func NewTagCreateItemsItem(key string, value string) *TagCreateItemsItem
NewTagCreateItemsItem instantiates a new TagCreateItemsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTagCreateItemsItemWithDefaults ¶
func NewTagCreateItemsItemWithDefaults() *TagCreateItemsItem
NewTagCreateItemsItemWithDefaults instantiates a new TagCreateItemsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TagCreateItemsItem) GetId ¶
func (o *TagCreateItemsItem) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*TagCreateItemsItem) GetIdOk ¶
func (o *TagCreateItemsItem) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagCreateItemsItem) GetKey ¶
func (o *TagCreateItemsItem) GetKey() string
GetKey returns the Key field value.
func (*TagCreateItemsItem) GetKeyOk ¶
func (o *TagCreateItemsItem) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*TagCreateItemsItem) GetValue ¶
func (o *TagCreateItemsItem) GetValue() string
GetValue returns the Value field value.
func (*TagCreateItemsItem) GetValueOk ¶
func (o *TagCreateItemsItem) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*TagCreateItemsItem) HasId ¶
func (o *TagCreateItemsItem) HasId() bool
HasId returns a boolean if a field has been set.
func (TagCreateItemsItem) MarshalJSON ¶
func (o TagCreateItemsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*TagCreateItemsItem) SetId ¶
func (o *TagCreateItemsItem) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*TagCreateItemsItem) SetKey ¶
func (o *TagCreateItemsItem) SetKey(v string)
SetKey sets field value.
func (*TagCreateItemsItem) SetValue ¶
func (o *TagCreateItemsItem) SetValue(v string)
SetValue sets field value.
func (*TagCreateItemsItem) UnmarshalJSON ¶
func (o *TagCreateItemsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type TagUpdate ¶
type TagUpdate struct {
// The key of the tag
Key string `json:"key"`
// the value corresponding th the key
Value string `json:"value"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TagUpdate Tag update
func NewTagUpdate ¶
NewTagUpdate instantiates a new TagUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTagUpdateWithDefaults ¶
func NewTagUpdateWithDefaults() *TagUpdate
NewTagUpdateWithDefaults instantiates a new TagUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TagUpdate) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*TagUpdate) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (TagUpdate) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*TagUpdate) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type Tenant ¶
type Tenant struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Mode *string `json:"mode,omitempty"`
CreateAt *string `json:"create_at,omitempty"`
Role *string `json:"role,omitempty"`
PrimaryZone *string `json:"primary_zone,omitempty"`
Status *string `json:"status,omitempty"`
PrimaryZoneProxy *string `json:"primary_zone_proxy,omitempty"`
ChartSet *string `json:"chart_set,omitempty"`
Resource *string `json:"resource,omitempty"`
Cpu *CPU `json:"cpu,omitempty"`
Memory *Memory `json:"memory,omitempty"`
LogDisk *LogDisk `json:"log_disk,omitempty"`
DataDisk *DataDisk `json:"data_disk,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTenant ¶
func NewTenant() *Tenant
NewTenant instantiates a new Tenant object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTenantWithDefaults ¶
func NewTenantWithDefaults() *Tenant
NewTenantWithDefaults instantiates a new Tenant object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Tenant) GetChartSet ¶
GetChartSet returns the ChartSet field value if set, zero value otherwise.
func (*Tenant) GetChartSetOk ¶
GetChartSetOk returns a tuple with the ChartSet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetCreateAt ¶
GetCreateAt returns the CreateAt field value if set, zero value otherwise.
func (*Tenant) GetCreateAtOk ¶
GetCreateAtOk returns a tuple with the CreateAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetDataDisk ¶
GetDataDisk returns the DataDisk field value if set, zero value otherwise.
func (*Tenant) GetDataDiskOk ¶
GetDataDiskOk returns a tuple with the DataDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetLogDisk ¶
GetLogDisk returns the LogDisk field value if set, zero value otherwise.
func (*Tenant) GetLogDiskOk ¶
GetLogDiskOk returns a tuple with the LogDisk field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetModeOk ¶
GetModeOk returns a tuple with the Mode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetPrimaryZone ¶
GetPrimaryZone returns the PrimaryZone field value if set, zero value otherwise.
func (*Tenant) GetPrimaryZoneOk ¶
GetPrimaryZoneOk returns a tuple with the PrimaryZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetPrimaryZoneProxy ¶
GetPrimaryZoneProxy returns the PrimaryZoneProxy field value if set, zero value otherwise.
func (*Tenant) GetPrimaryZoneProxyOk ¶
GetPrimaryZoneProxyOk returns a tuple with the PrimaryZoneProxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetResource ¶
GetResource returns the Resource field value if set, zero value otherwise.
func (*Tenant) GetResourceOk ¶
GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tenant) HasChartSet ¶
HasChartSet returns a boolean if a field has been set.
func (*Tenant) HasCreateAt ¶
HasCreateAt returns a boolean if a field has been set.
func (*Tenant) HasDataDisk ¶
HasDataDisk returns a boolean if a field has been set.
func (*Tenant) HasLogDisk ¶
HasLogDisk returns a boolean if a field has been set.
func (*Tenant) HasPrimaryZone ¶
HasPrimaryZone returns a boolean if a field has been set.
func (*Tenant) HasPrimaryZoneProxy ¶
HasPrimaryZoneProxy returns a boolean if a field has been set.
func (*Tenant) HasResource ¶
HasResource returns a boolean if a field has been set.
func (Tenant) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Tenant) SetChartSet ¶
SetChartSet gets a reference to the given string and assigns it to the ChartSet field.
func (*Tenant) SetCreateAt ¶
SetCreateAt gets a reference to the given string and assigns it to the CreateAt field.
func (*Tenant) SetDataDisk ¶
SetDataDisk gets a reference to the given DataDisk and assigns it to the DataDisk field.
func (*Tenant) SetLogDisk ¶
SetLogDisk gets a reference to the given LogDisk and assigns it to the LogDisk field.
func (*Tenant) SetMemory ¶
SetMemory gets a reference to the given Memory and assigns it to the Memory field.
func (*Tenant) SetMode ¶
SetMode gets a reference to the given string and assigns it to the Mode field.
func (*Tenant) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Tenant) SetPrimaryZone ¶
SetPrimaryZone gets a reference to the given string and assigns it to the PrimaryZone field.
func (*Tenant) SetPrimaryZoneProxy ¶
SetPrimaryZoneProxy gets a reference to the given string and assigns it to the PrimaryZoneProxy field.
func (*Tenant) SetResource ¶
SetResource gets a reference to the given string and assigns it to the Resource field.
func (*Tenant) SetRole ¶
SetRole gets a reference to the given string and assigns it to the Role field.
func (*Tenant) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Tenant) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TenantParameterHistoryOptionalParameters ¶
type TenantParameterHistoryOptionalParameters struct {
ParameterName *string
}
TenantParameterHistoryOptionalParameters holds optional parameters for TenantParameterHistory.
func NewTenantParameterHistoryOptionalParameters ¶
func NewTenantParameterHistoryOptionalParameters() *TenantParameterHistoryOptionalParameters
NewTenantParameterHistoryOptionalParameters creates an empty struct for parameters.
func (*TenantParameterHistoryOptionalParameters) WithParameterName ¶
func (r *TenantParameterHistoryOptionalParameters) WithParameterName(parameterName string) *TenantParameterHistoryOptionalParameters
WithParameterName sets the corresponding parameter name and returns the struct.
type TlsApi ¶
TlsApi service type
type TlsCert ¶
type TlsCert struct {
// Configuration for TLS including all certificates and keys
TlsConfig *TlsConfig `json:"tlsConfig,omitempty"`
// Component these certs belong to
ComponentName *string `json:"componentName,omitempty"`
// Expiration days of CA certificate
ExpirationDaysCa *int32 `json:"expirationDaysCA,omitempty"`
// Expiration days of client certificate
ExpirationDaysClient *int32 `json:"expirationDaysClient,omitempty"`
// Expiration days of Keystore certificate
ExpirationDaysKeystore *int32 `json:"expirationDaysKeystore,omitempty"`
// Expiration days of Truststore certificate
ExpirationDaysTruststore *int32 `json:"expirationDaysTruststore,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTlsCert ¶
func NewTlsCert() *TlsCert
NewTlsCert instantiates a new TlsCert object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTlsCertWithDefaults ¶
func NewTlsCertWithDefaults() *TlsCert
NewTlsCertWithDefaults instantiates a new TlsCert object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TlsCert) GetComponentName ¶
GetComponentName returns the ComponentName field value if set, zero value otherwise.
func (*TlsCert) GetComponentNameOk ¶
GetComponentNameOk returns a tuple with the ComponentName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) GetExpirationDaysCa ¶
GetExpirationDaysCa returns the ExpirationDaysCa field value if set, zero value otherwise.
func (*TlsCert) GetExpirationDaysCaOk ¶
GetExpirationDaysCaOk returns a tuple with the ExpirationDaysCa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) GetExpirationDaysClient ¶
GetExpirationDaysClient returns the ExpirationDaysClient field value if set, zero value otherwise.
func (*TlsCert) GetExpirationDaysClientOk ¶
GetExpirationDaysClientOk returns a tuple with the ExpirationDaysClient field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) GetExpirationDaysKeystore ¶
GetExpirationDaysKeystore returns the ExpirationDaysKeystore field value if set, zero value otherwise.
func (*TlsCert) GetExpirationDaysKeystoreOk ¶
GetExpirationDaysKeystoreOk returns a tuple with the ExpirationDaysKeystore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) GetExpirationDaysTruststore ¶
GetExpirationDaysTruststore returns the ExpirationDaysTruststore field value if set, zero value otherwise.
func (*TlsCert) GetExpirationDaysTruststoreOk ¶
GetExpirationDaysTruststoreOk returns a tuple with the ExpirationDaysTruststore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) GetTlsConfig ¶
GetTlsConfig returns the TlsConfig field value if set, zero value otherwise.
func (*TlsCert) GetTlsConfigOk ¶
GetTlsConfigOk returns a tuple with the TlsConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsCert) HasComponentName ¶
HasComponentName returns a boolean if a field has been set.
func (*TlsCert) HasExpirationDaysCa ¶
HasExpirationDaysCa returns a boolean if a field has been set.
func (*TlsCert) HasExpirationDaysClient ¶
HasExpirationDaysClient returns a boolean if a field has been set.
func (*TlsCert) HasExpirationDaysKeystore ¶
HasExpirationDaysKeystore returns a boolean if a field has been set.
func (*TlsCert) HasExpirationDaysTruststore ¶
HasExpirationDaysTruststore returns a boolean if a field has been set.
func (*TlsCert) HasTlsConfig ¶
HasTlsConfig returns a boolean if a field has been set.
func (TlsCert) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*TlsCert) SetComponentName ¶
SetComponentName gets a reference to the given string and assigns it to the ComponentName field.
func (*TlsCert) SetExpirationDaysCa ¶
SetExpirationDaysCa gets a reference to the given int32 and assigns it to the ExpirationDaysCa field.
func (*TlsCert) SetExpirationDaysClient ¶
SetExpirationDaysClient gets a reference to the given int32 and assigns it to the ExpirationDaysClient field.
func (*TlsCert) SetExpirationDaysKeystore ¶
SetExpirationDaysKeystore gets a reference to the given int32 and assigns it to the ExpirationDaysKeystore field.
func (*TlsCert) SetExpirationDaysTruststore ¶
SetExpirationDaysTruststore gets a reference to the given int32 and assigns it to the ExpirationDaysTruststore field.
func (*TlsCert) SetTlsConfig ¶
SetTlsConfig gets a reference to the given TlsConfig and assigns it to the TlsConfig field.
func (*TlsCert) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TlsConfig ¶
type TlsConfig struct {
// CA Certificate
CaCert *string `json:"caCert,omitempty"`
// Client Side Certificate
ClientCert *string `json:"clientCert,omitempty"`
// Client Side key
ClientKey *string `json:"clientKey,omitempty"`
// Keystore in PEM format
Keystore *string `json:"keystore,omitempty"`
// Truststore in PEM format
Truststore *string `json:"truststore,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
TlsConfig Configuration for TLS including all certificates and keys
func NewTlsConfig ¶
func NewTlsConfig() *TlsConfig
NewTlsConfig instantiates a new TlsConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTlsConfigWithDefaults ¶
func NewTlsConfigWithDefaults() *TlsConfig
NewTlsConfigWithDefaults instantiates a new TlsConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TlsConfig) GetCaCert ¶
GetCaCert returns the CaCert field value if set, zero value otherwise.
func (*TlsConfig) GetCaCertOk ¶
GetCaCertOk returns a tuple with the CaCert field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetClientCert ¶
GetClientCert returns the ClientCert field value if set, zero value otherwise.
func (*TlsConfig) GetClientCertOk ¶
GetClientCertOk returns a tuple with the ClientCert field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetClientKey ¶
GetClientKey returns the ClientKey field value if set, zero value otherwise.
func (*TlsConfig) GetClientKeyOk ¶
GetClientKeyOk returns a tuple with the ClientKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetKeystore ¶
GetKeystore returns the Keystore field value if set, zero value otherwise.
func (*TlsConfig) GetKeystoreOk ¶
GetKeystoreOk returns a tuple with the Keystore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) GetTruststore ¶
GetTruststore returns the Truststore field value if set, zero value otherwise.
func (*TlsConfig) GetTruststoreOk ¶
GetTruststoreOk returns a tuple with the Truststore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsConfig) HasClientCert ¶
HasClientCert returns a boolean if a field has been set.
func (*TlsConfig) HasClientKey ¶
HasClientKey returns a boolean if a field has been set.
func (*TlsConfig) HasKeystore ¶
HasKeystore returns a boolean if a field has been set.
func (*TlsConfig) HasTruststore ¶
HasTruststore returns a boolean if a field has been set.
func (TlsConfig) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*TlsConfig) SetCaCert ¶
SetCaCert gets a reference to the given string and assigns it to the CaCert field.
func (*TlsConfig) SetClientCert ¶
SetClientCert gets a reference to the given string and assigns it to the ClientCert field.
func (*TlsConfig) SetClientKey ¶
SetClientKey gets a reference to the given string and assigns it to the ClientKey field.
func (*TlsConfig) SetKeystore ¶
SetKeystore gets a reference to the given string and assigns it to the Keystore field.
func (*TlsConfig) SetTruststore ¶
SetTruststore gets a reference to the given string and assigns it to the Truststore field.
func (*TlsConfig) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TlsRequest ¶
type TlsRequest struct {
// Enable TLS or not
Enable *bool `json:"enable,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTlsRequest ¶
func NewTlsRequest() *TlsRequest
NewTlsRequest instantiates a new TlsRequest object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTlsRequestWithDefaults ¶
func NewTlsRequestWithDefaults() *TlsRequest
NewTlsRequestWithDefaults instantiates a new TlsRequest object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TlsRequest) GetEnable ¶
func (o *TlsRequest) GetEnable() bool
GetEnable returns the Enable field value if set, zero value otherwise.
func (*TlsRequest) GetEnableOk ¶
func (o *TlsRequest) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TlsRequest) HasEnable ¶
func (o *TlsRequest) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (TlsRequest) MarshalJSON ¶
func (o TlsRequest) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*TlsRequest) SetEnable ¶
func (o *TlsRequest) SetEnable(v bool)
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*TlsRequest) UnmarshalJSON ¶
func (o *TlsRequest) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Tpcc ¶
type Tpcc struct {
// Step of sysbench
Step *TpccStep `json:"step,omitempty"`
// the cpu limit for test container
LimitCpu *string `json:"limitCpu,omitempty"`
// the memory limit for test container
LimitMemory *string `json:"limitMemory,omitempty"`
// the cpu request for test container
RequestCpu *string `json:"requestCpu,omitempty"`
// the memory request for test container
RequestMemory *string `json:"requestMemory,omitempty"`
// the name of benchmark
Name *string `json:"name,omitempty"`
// the cluster name
Cluster string `json:"cluster"`
// the database name
Database string `json:"database"`
// Username for database
Username string `json:"username"`
// Password for database
Password string `json:"password"`
// Address for database
Address string `json:"address"`
// Number of threads to use
Threads *int32 `json:"threads,omitempty"`
// Number of warehouses
Warehouses *int32 `json:"warehouses,omitempty"`
// the minutes of test duration
Duration *int32 `json:"duration,omitempty"`
// limit the number of transactions per minute, 0 means no limit
LimitTxPerMin *int32 `json:"limitTxPerMin,omitempty"`
// Percentage of new order transactions
NewOrderWeight *int32 `json:"newOrderWeight,omitempty"`
// Percentage of payment transactions
PaymentWeight *int32 `json:"paymentWeight,omitempty"`
// Percentage of order status transactions
OrderStatusWeight *int32 `json:"orderStatusWeight,omitempty"`
// Percentage of delivery transactions
DeliveryWeight *int32 `json:"deliveryWeight,omitempty"`
// Percentage of stock level transactions
StockLevelWeight *int32 `json:"stockLevelWeight,omitempty"`
// Extra arguments for tpcc
ExtraArgs *string `json:"extraArgs,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Tpcc tpcc is the tpcc benchmark object
func NewTpcc ¶
func NewTpcc(cluster string, database string, username string, password string, address string) *Tpcc
NewTpcc instantiates a new Tpcc object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTpccWithDefaults ¶
func NewTpccWithDefaults() *Tpcc
NewTpccWithDefaults instantiates a new Tpcc object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Tpcc) GetAddress ¶
GetAddress returns the Address field value.
func (*Tpcc) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Tpcc) GetCluster ¶
GetCluster returns the Cluster field value.
func (*Tpcc) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*Tpcc) GetDatabase ¶
GetDatabase returns the Database field value.
func (*Tpcc) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value and a boolean to check if the value has been set.
func (*Tpcc) GetDeliveryWeight ¶
GetDeliveryWeight returns the DeliveryWeight field value if set, zero value otherwise.
func (*Tpcc) GetDeliveryWeightOk ¶
GetDeliveryWeightOk returns a tuple with the DeliveryWeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetDuration ¶
GetDuration returns the Duration field value if set, zero value otherwise.
func (*Tpcc) GetDurationOk ¶
GetDurationOk returns a tuple with the Duration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetExtraArgs ¶
GetExtraArgs returns the ExtraArgs field value if set, zero value otherwise.
func (*Tpcc) GetExtraArgsOk ¶
GetExtraArgsOk returns a tuple with the ExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetLimitCpu ¶
GetLimitCpu returns the LimitCpu field value if set, zero value otherwise.
func (*Tpcc) GetLimitCpuOk ¶
GetLimitCpuOk returns a tuple with the LimitCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetLimitMemory ¶
GetLimitMemory returns the LimitMemory field value if set, zero value otherwise.
func (*Tpcc) GetLimitMemoryOk ¶
GetLimitMemoryOk returns a tuple with the LimitMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetLimitTxPerMin ¶
GetLimitTxPerMin returns the LimitTxPerMin field value if set, zero value otherwise.
func (*Tpcc) GetLimitTxPerMinOk ¶
GetLimitTxPerMinOk returns a tuple with the LimitTxPerMin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetNewOrderWeight ¶
GetNewOrderWeight returns the NewOrderWeight field value if set, zero value otherwise.
func (*Tpcc) GetNewOrderWeightOk ¶
GetNewOrderWeightOk returns a tuple with the NewOrderWeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetOrderStatusWeight ¶
GetOrderStatusWeight returns the OrderStatusWeight field value if set, zero value otherwise.
func (*Tpcc) GetOrderStatusWeightOk ¶
GetOrderStatusWeightOk returns a tuple with the OrderStatusWeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetPassword ¶
GetPassword returns the Password field value.
func (*Tpcc) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*Tpcc) GetPaymentWeight ¶
GetPaymentWeight returns the PaymentWeight field value if set, zero value otherwise.
func (*Tpcc) GetPaymentWeightOk ¶
GetPaymentWeightOk returns a tuple with the PaymentWeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetRequestCpu ¶
GetRequestCpu returns the RequestCpu field value if set, zero value otherwise.
func (*Tpcc) GetRequestCpuOk ¶
GetRequestCpuOk returns a tuple with the RequestCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetRequestMemory ¶
GetRequestMemory returns the RequestMemory field value if set, zero value otherwise.
func (*Tpcc) GetRequestMemoryOk ¶
GetRequestMemoryOk returns a tuple with the RequestMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetStepOk ¶
GetStepOk returns a tuple with the Step field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetStockLevelWeight ¶
GetStockLevelWeight returns the StockLevelWeight field value if set, zero value otherwise.
func (*Tpcc) GetStockLevelWeightOk ¶
GetStockLevelWeightOk returns a tuple with the StockLevelWeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetThreads ¶
GetThreads returns the Threads field value if set, zero value otherwise.
func (*Tpcc) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) GetUsername ¶
GetUsername returns the Username field value.
func (*Tpcc) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*Tpcc) GetWarehouses ¶
GetWarehouses returns the Warehouses field value if set, zero value otherwise.
func (*Tpcc) GetWarehousesOk ¶
GetWarehousesOk returns a tuple with the Warehouses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tpcc) HasDeliveryWeight ¶
HasDeliveryWeight returns a boolean if a field has been set.
func (*Tpcc) HasDuration ¶
HasDuration returns a boolean if a field has been set.
func (*Tpcc) HasExtraArgs ¶
HasExtraArgs returns a boolean if a field has been set.
func (*Tpcc) HasLimitCpu ¶
HasLimitCpu returns a boolean if a field has been set.
func (*Tpcc) HasLimitMemory ¶
HasLimitMemory returns a boolean if a field has been set.
func (*Tpcc) HasLimitTxPerMin ¶
HasLimitTxPerMin returns a boolean if a field has been set.
func (*Tpcc) HasNewOrderWeight ¶
HasNewOrderWeight returns a boolean if a field has been set.
func (*Tpcc) HasOrderStatusWeight ¶
HasOrderStatusWeight returns a boolean if a field has been set.
func (*Tpcc) HasPaymentWeight ¶
HasPaymentWeight returns a boolean if a field has been set.
func (*Tpcc) HasRequestCpu ¶
HasRequestCpu returns a boolean if a field has been set.
func (*Tpcc) HasRequestMemory ¶
HasRequestMemory returns a boolean if a field has been set.
func (*Tpcc) HasStockLevelWeight ¶
HasStockLevelWeight returns a boolean if a field has been set.
func (*Tpcc) HasThreads ¶
HasThreads returns a boolean if a field has been set.
func (*Tpcc) HasWarehouses ¶
HasWarehouses returns a boolean if a field has been set.
func (Tpcc) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Tpcc) SetDeliveryWeight ¶
SetDeliveryWeight gets a reference to the given int32 and assigns it to the DeliveryWeight field.
func (*Tpcc) SetDuration ¶
SetDuration gets a reference to the given int32 and assigns it to the Duration field.
func (*Tpcc) SetExtraArgs ¶
SetExtraArgs gets a reference to the given string and assigns it to the ExtraArgs field.
func (*Tpcc) SetLimitCpu ¶
SetLimitCpu gets a reference to the given string and assigns it to the LimitCpu field.
func (*Tpcc) SetLimitMemory ¶
SetLimitMemory gets a reference to the given string and assigns it to the LimitMemory field.
func (*Tpcc) SetLimitTxPerMin ¶
SetLimitTxPerMin gets a reference to the given int32 and assigns it to the LimitTxPerMin field.
func (*Tpcc) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Tpcc) SetNewOrderWeight ¶
SetNewOrderWeight gets a reference to the given int32 and assigns it to the NewOrderWeight field.
func (*Tpcc) SetOrderStatusWeight ¶
SetOrderStatusWeight gets a reference to the given int32 and assigns it to the OrderStatusWeight field.
func (*Tpcc) SetPaymentWeight ¶
SetPaymentWeight gets a reference to the given int32 and assigns it to the PaymentWeight field.
func (*Tpcc) SetRequestCpu ¶
SetRequestCpu gets a reference to the given string and assigns it to the RequestCpu field.
func (*Tpcc) SetRequestMemory ¶
SetRequestMemory gets a reference to the given string and assigns it to the RequestMemory field.
func (*Tpcc) SetStep ¶
SetStep gets a reference to the given TpccStep and assigns it to the Step field.
func (*Tpcc) SetStockLevelWeight ¶
SetStockLevelWeight gets a reference to the given int32 and assigns it to the StockLevelWeight field.
func (*Tpcc) SetThreads ¶
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*Tpcc) SetWarehouses ¶
SetWarehouses gets a reference to the given int32 and assigns it to the Warehouses field.
func (*Tpcc) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TpccStep ¶
type TpccStep string
TpccStep Step of sysbench
const ( TpccStepPrepare TpccStep = "prepare" TpccStepRun TpccStep = "run" TpccStepCleanup TpccStep = "cleanup" TpccStepAll TpccStep = "all" )
List of TpccStep.
func NewTpccStepFromValue ¶
NewTpccStepFromValue returns a pointer to a valid TpccStep for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*TpccStep) GetAllowedValues ¶
GetAllowedValues returns the list of possible values.
func (*TpccStep) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type TreeNode ¶
type TreeNode struct {
// A string representing the level of the node.
Level *string `json:"level,omitempty"`
// A string representing the name of the node.
Name *string `json:"name,omitempty"`
// A string representing the uid of the resource.
Uid *string `json:"uid,omitempty"`
// A mapping where each key is a string representing the event name, and the value is a MapNode object.
Events []View_event `json:"events,omitempty"`
// An array of child nodes.
Children []TreeNode `json:"children,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewTreeNode ¶
func NewTreeNode() *TreeNode
NewTreeNode instantiates a new TreeNode object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewTreeNodeWithDefaults ¶
func NewTreeNodeWithDefaults() *TreeNode
NewTreeNodeWithDefaults instantiates a new TreeNode object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*TreeNode) GetChildren ¶
GetChildren returns the Children field value if set, zero value otherwise.
func (*TreeNode) GetChildrenOk ¶
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeNode) GetEvents ¶
func (o *TreeNode) GetEvents() []View_event
GetEvents returns the Events field value if set, zero value otherwise.
func (*TreeNode) GetEventsOk ¶
func (o *TreeNode) GetEventsOk() (*[]View_event, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeNode) GetLevelOk ¶
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeNode) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeNode) GetUidOk ¶
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TreeNode) HasChildren ¶
HasChildren returns a boolean if a field has been set.
func (TreeNode) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*TreeNode) SetChildren ¶
SetChildren gets a reference to the given []TreeNode and assigns it to the Children field.
func (*TreeNode) SetEvents ¶
func (o *TreeNode) SetEvents(v []View_event)
SetEvents gets a reference to the given []View_event and assigns it to the Events field.
func (*TreeNode) SetLevel ¶
SetLevel gets a reference to the given string and assigns it to the Level field.
func (*TreeNode) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*TreeNode) SetUid ¶
SetUid gets a reference to the given string and assigns it to the Uid field.
func (*TreeNode) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type User ¶
type User struct {
// CreatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists
CreatedAt time.Time `json:"createdAt"`
// The display name of the user
DisplayName *string `json:"displayName,omitempty"`
// The email for the user
Email string `json:"email"`
// The ID for the user
Id string `json:"id"`
// The phonenumber for the user.
PhoneNumber *string `json:"phoneNumber,omitempty"`
// UpdatedAt is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
//
// Populated by the system. Read-only. Null for lists
UpdatedAt time.Time `json:"updatedAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
User User info
func NewUser ¶
NewUser instantiates a new User object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*User) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*User) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*User) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetPhoneNumber ¶
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*User) GetPhoneNumberOk ¶
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value.
func (*User) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*User) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*User) HasPhoneNumber ¶
HasPhoneNumber returns a boolean if a field has been set.
func (User) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*User) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*User) SetPhoneNumber ¶
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (*User) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type UserApi ¶
UserApi service type
func (*UserApi) CreateUserApikey ¶
func (a *UserApi) CreateUserApikey(ctx _context.Context, body ApikeyCreate) (ApikeyWithSK, *_nethttp.Response, error)
CreateUserApikey Create apikey of the authenticated user. Create apikey of the authenticated user
func (*UserApi) DeleteApikey ¶
DeleteApikey Delete apikey. delete apikey
func (*UserApi) PatchAPIkey ¶
func (a *UserApi) PatchAPIkey(ctx _context.Context, keyName string, body ApikeyCreate) (Apikey, *_nethttp.Response, error)
PatchAPIkey Update apikey information. partially update the specified apikey
func (*UserApi) PatchUser ¶
PatchUser Update user information. partially update the specified User. If you want to update phone number, you must request /api/v1/user/phone-verification-code first.
func (*UserApi) PhoneVerification ¶
func (a *UserApi) PhoneVerification(ctx _context.Context, body interface{}) (*_nethttp.Response, error)
PhoneVerification Send verification code to user's phone. to update user phone number, send verification code first
func (*UserApi) ReadUserApikeys ¶
ReadUserApikeys Get apikeys of the authenticated user. Get apikeys of the authenticated user
func (*UserApi) SendVerificationEmail ¶
SendVerificationEmail Send verification email to user's email address. For logto and authing, only the "email" is required, and for auth0, only the "externalID" is required.. To send verification email checking user's email address
type UserUpdate ¶
type UserUpdate struct {
// The display name of the user
DisplayName *string `json:"displayName,omitempty"`
// The email for the user
Email *string `json:"email,omitempty"`
// The phonenumber for the user.
PhoneNumber *string `json:"phoneNumber,omitempty"`
// The verification code for the user
VerificationCode *string `json:"verificationCode,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
UserUpdate User update
func NewUserUpdate ¶
func NewUserUpdate() *UserUpdate
NewUserUpdate instantiates a new UserUpdate object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewUserUpdateWithDefaults ¶
func NewUserUpdateWithDefaults() *UserUpdate
NewUserUpdateWithDefaults instantiates a new UserUpdate object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*UserUpdate) GetDisplayName ¶
func (o *UserUpdate) GetDisplayName() string
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UserUpdate) GetDisplayNameOk ¶
func (o *UserUpdate) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdate) GetEmail ¶
func (o *UserUpdate) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise.
func (*UserUpdate) GetEmailOk ¶
func (o *UserUpdate) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdate) GetPhoneNumber ¶
func (o *UserUpdate) GetPhoneNumber() string
GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.
func (*UserUpdate) GetPhoneNumberOk ¶
func (o *UserUpdate) GetPhoneNumberOk() (*string, bool)
GetPhoneNumberOk returns a tuple with the PhoneNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdate) GetVerificationCode ¶
func (o *UserUpdate) GetVerificationCode() string
GetVerificationCode returns the VerificationCode field value if set, zero value otherwise.
func (*UserUpdate) GetVerificationCodeOk ¶
func (o *UserUpdate) GetVerificationCodeOk() (*string, bool)
GetVerificationCodeOk returns a tuple with the VerificationCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserUpdate) HasDisplayName ¶
func (o *UserUpdate) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (*UserUpdate) HasEmail ¶
func (o *UserUpdate) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UserUpdate) HasPhoneNumber ¶
func (o *UserUpdate) HasPhoneNumber() bool
HasPhoneNumber returns a boolean if a field has been set.
func (*UserUpdate) HasVerificationCode ¶
func (o *UserUpdate) HasVerificationCode() bool
HasVerificationCode returns a boolean if a field has been set.
func (UserUpdate) MarshalJSON ¶
func (o UserUpdate) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*UserUpdate) SetDisplayName ¶
func (o *UserUpdate) SetDisplayName(v string)
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*UserUpdate) SetEmail ¶
func (o *UserUpdate) SetEmail(v string)
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*UserUpdate) SetPhoneNumber ¶
func (o *UserUpdate) SetPhoneNumber(v string)
SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.
func (*UserUpdate) SetVerificationCode ¶
func (o *UserUpdate) SetVerificationCode(v string)
SetVerificationCode gets a reference to the given string and assigns it to the VerificationCode field.
func (*UserUpdate) UnmarshalJSON ¶
func (o *UserUpdate) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type View ¶
type View struct {
// A label selector is a label query over a set of resources.
InvolvedObjectsSelector *ViewInvolvedObjectsSelector `json:"involvedObjectsSelector,omitempty"`
// targetResource specifies the type of resource the view is targeting.
TargetResource *string `json:"targetResource,omitempty"`
// viewDefRef is a reference to the definition of the view.
ViewDefRef *string `json:"viewDefRef,omitempty"`
// Events are a list of events related to the view.
Events []View_event `json:"events,omitempty"`
// Progress describes the overall progress of the view.
Progress *string `json:"progress,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
View View is the schema for the views API
func NewView ¶
func NewView() *View
NewView instantiates a new View object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewViewWithDefaults ¶
func NewViewWithDefaults() *View
NewViewWithDefaults instantiates a new View object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*View) GetEvents ¶
func (o *View) GetEvents() []View_event
GetEvents returns the Events field value if set, zero value otherwise.
func (*View) GetEventsOk ¶
func (o *View) GetEventsOk() (*[]View_event, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View) GetInvolvedObjectsSelector ¶
func (o *View) GetInvolvedObjectsSelector() ViewInvolvedObjectsSelector
GetInvolvedObjectsSelector returns the InvolvedObjectsSelector field value if set, zero value otherwise.
func (*View) GetInvolvedObjectsSelectorOk ¶
func (o *View) GetInvolvedObjectsSelectorOk() (*ViewInvolvedObjectsSelector, bool)
GetInvolvedObjectsSelectorOk returns a tuple with the InvolvedObjectsSelector field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View) GetProgress ¶
GetProgress returns the Progress field value if set, zero value otherwise.
func (*View) GetProgressOk ¶
GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View) GetTargetResource ¶
GetTargetResource returns the TargetResource field value if set, zero value otherwise.
func (*View) GetTargetResourceOk ¶
GetTargetResourceOk returns a tuple with the TargetResource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View) GetViewDefRef ¶
GetViewDefRef returns the ViewDefRef field value if set, zero value otherwise.
func (*View) GetViewDefRefOk ¶
GetViewDefRefOk returns a tuple with the ViewDefRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View) HasInvolvedObjectsSelector ¶
HasInvolvedObjectsSelector returns a boolean if a field has been set.
func (*View) HasProgress ¶
HasProgress returns a boolean if a field has been set.
func (*View) HasTargetResource ¶
HasTargetResource returns a boolean if a field has been set.
func (*View) HasViewDefRef ¶
HasViewDefRef returns a boolean if a field has been set.
func (View) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*View) SetEvents ¶
func (o *View) SetEvents(v []View_event)
SetEvents gets a reference to the given []View_event and assigns it to the Events field.
func (*View) SetInvolvedObjectsSelector ¶
func (o *View) SetInvolvedObjectsSelector(v ViewInvolvedObjectsSelector)
SetInvolvedObjectsSelector gets a reference to the given ViewInvolvedObjectsSelector and assigns it to the InvolvedObjectsSelector field.
func (*View) SetProgress ¶
SetProgress gets a reference to the given string and assigns it to the Progress field.
func (*View) SetTargetResource ¶
SetTargetResource gets a reference to the given string and assigns it to the TargetResource field.
func (*View) SetViewDefRef ¶
SetViewDefRef gets a reference to the given string and assigns it to the ViewDefRef field.
func (*View) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ViewApi ¶
ViewApi service type
type ViewBackupOptionalParameters ¶
type ViewBackupOptionalParameters struct {
Body *BackupView
}
ViewBackupOptionalParameters holds optional parameters for ViewBackup.
func NewViewBackupOptionalParameters ¶
func NewViewBackupOptionalParameters() *ViewBackupOptionalParameters
NewViewBackupOptionalParameters creates an empty struct for parameters.
func (*ViewBackupOptionalParameters) WithBody ¶
func (r *ViewBackupOptionalParameters) WithBody(body BackupView) *ViewBackupOptionalParameters
WithBody sets the corresponding parameter name and returns the struct.
type ViewInvolvedObjectsSelector ¶
type ViewInvolvedObjectsSelector struct {
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
MatchExpressions []ViewInvolvedObjectsSelectorMatchExpressionsItem `json:"matchExpressions,omitempty"`
// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
MatchLabels map[string]string `json:"matchLabels,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ViewInvolvedObjectsSelector A label selector is a label query over a set of resources.
func NewViewInvolvedObjectsSelector ¶
func NewViewInvolvedObjectsSelector() *ViewInvolvedObjectsSelector
NewViewInvolvedObjectsSelector instantiates a new ViewInvolvedObjectsSelector object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewViewInvolvedObjectsSelectorWithDefaults ¶
func NewViewInvolvedObjectsSelectorWithDefaults() *ViewInvolvedObjectsSelector
NewViewInvolvedObjectsSelectorWithDefaults instantiates a new ViewInvolvedObjectsSelector object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ViewInvolvedObjectsSelector) GetMatchExpressions ¶
func (o *ViewInvolvedObjectsSelector) GetMatchExpressions() []ViewInvolvedObjectsSelectorMatchExpressionsItem
GetMatchExpressions returns the MatchExpressions field value if set, zero value otherwise.
func (*ViewInvolvedObjectsSelector) GetMatchExpressionsOk ¶
func (o *ViewInvolvedObjectsSelector) GetMatchExpressionsOk() (*[]ViewInvolvedObjectsSelectorMatchExpressionsItem, bool)
GetMatchExpressionsOk returns a tuple with the MatchExpressions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ViewInvolvedObjectsSelector) GetMatchLabels ¶
func (o *ViewInvolvedObjectsSelector) GetMatchLabels() map[string]string
GetMatchLabels returns the MatchLabels field value if set, zero value otherwise.
func (*ViewInvolvedObjectsSelector) GetMatchLabelsOk ¶
func (o *ViewInvolvedObjectsSelector) GetMatchLabelsOk() (*map[string]string, bool)
GetMatchLabelsOk returns a tuple with the MatchLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ViewInvolvedObjectsSelector) HasMatchExpressions ¶
func (o *ViewInvolvedObjectsSelector) HasMatchExpressions() bool
HasMatchExpressions returns a boolean if a field has been set.
func (*ViewInvolvedObjectsSelector) HasMatchLabels ¶
func (o *ViewInvolvedObjectsSelector) HasMatchLabels() bool
HasMatchLabels returns a boolean if a field has been set.
func (ViewInvolvedObjectsSelector) MarshalJSON ¶
func (o ViewInvolvedObjectsSelector) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ViewInvolvedObjectsSelector) SetMatchExpressions ¶
func (o *ViewInvolvedObjectsSelector) SetMatchExpressions(v []ViewInvolvedObjectsSelectorMatchExpressionsItem)
SetMatchExpressions gets a reference to the given []ViewInvolvedObjectsSelectorMatchExpressionsItem and assigns it to the MatchExpressions field.
func (*ViewInvolvedObjectsSelector) SetMatchLabels ¶
func (o *ViewInvolvedObjectsSelector) SetMatchLabels(v map[string]string)
SetMatchLabels gets a reference to the given map[string]string and assigns it to the MatchLabels field.
func (*ViewInvolvedObjectsSelector) UnmarshalJSON ¶
func (o *ViewInvolvedObjectsSelector) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type ViewInvolvedObjectsSelectorMatchExpressionsItem ¶
type ViewInvolvedObjectsSelectorMatchExpressionsItem struct {
// key is the label key that the selector applies to.
Key *string `json:"key,omitempty"`
// operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
Operator *string `json:"operator,omitempty"`
// values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.
Values []string `json:"values,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewViewInvolvedObjectsSelectorMatchExpressionsItem ¶
func NewViewInvolvedObjectsSelectorMatchExpressionsItem() *ViewInvolvedObjectsSelectorMatchExpressionsItem
NewViewInvolvedObjectsSelectorMatchExpressionsItem instantiates a new ViewInvolvedObjectsSelectorMatchExpressionsItem object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewViewInvolvedObjectsSelectorMatchExpressionsItemWithDefaults ¶
func NewViewInvolvedObjectsSelectorMatchExpressionsItemWithDefaults() *ViewInvolvedObjectsSelectorMatchExpressionsItem
NewViewInvolvedObjectsSelectorMatchExpressionsItemWithDefaults instantiates a new ViewInvolvedObjectsSelectorMatchExpressionsItem object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKey ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKeyOk ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperator ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperator() string
GetOperator returns the Operator field value if set, zero value otherwise.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperatorOk ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValues ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValues() []string
GetValues returns the Values field value if set, zero value otherwise.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValuesOk ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) GetValuesOk() (*[]string, bool)
GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) HasKey ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) HasOperator ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasOperator() bool
HasOperator returns a boolean if a field has been set.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) HasValues ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) HasValues() bool
HasValues returns a boolean if a field has been set.
func (ViewInvolvedObjectsSelectorMatchExpressionsItem) MarshalJSON ¶
func (o ViewInvolvedObjectsSelectorMatchExpressionsItem) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) SetKey ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) SetOperator ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetOperator(v string)
SetOperator gets a reference to the given string and assigns it to the Operator field.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) SetValues ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) SetValues(v []string)
SetValues gets a reference to the given []string and assigns it to the Values field.
func (*ViewInvolvedObjectsSelectorMatchExpressionsItem) UnmarshalJSON ¶
func (o *ViewInvolvedObjectsSelectorMatchExpressionsItem) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type View_event ¶
type View_event struct {
// Group is the API group of the event.
Group string `json:"group"`
// Kind is the type of the event.
Kind string `json:"kind"`
// Name is the name of the event.
Name string `json:"name"`
// Namespace is the namespace of the event.
Namespace string `json:"namespace"`
// Owners are the owners of the event.
Owners []Owner `json:"owners,omitempty"`
// Progress describes the progress of the event.
Progress *string `json:"progress,omitempty"`
// Message is the message contained in the event.
Message *string `json:"message,omitempty"`
// ResourceVersion is the version of the resource as seen by the system.
ResourceVersion *string `json:"resourceVersion,omitempty"`
// Type is the type of the event.
Type string `json:"type"`
// Version is the version of the resource that generated the event.
Version *string `json:"version,omitempty"`
// Time is the time of the resource that generated the event.
Time *string `json:"time,omitempty"`
// Level is the level the event.
Level *string `json:"level,omitempty"`
// Reason is the reason of the event.
Reason *string `json:"reason,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
View_event Event related to the view
func NewView_event ¶
func NewView_event(group string, kind string, name string, namespace string, typeVar string) *View_event
NewView_event instantiates a new View_event object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewView_eventWithDefaults ¶
func NewView_eventWithDefaults() *View_event
NewView_eventWithDefaults instantiates a new View_event object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*View_event) GetGroup ¶
func (o *View_event) GetGroup() string
GetGroup returns the Group field value.
func (*View_event) GetGroupOk ¶
func (o *View_event) GetGroupOk() (*string, bool)
GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.
func (*View_event) GetKind ¶
func (o *View_event) GetKind() string
GetKind returns the Kind field value.
func (*View_event) GetKindOk ¶
func (o *View_event) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*View_event) GetLevel ¶
func (o *View_event) GetLevel() string
GetLevel returns the Level field value if set, zero value otherwise.
func (*View_event) GetLevelOk ¶
func (o *View_event) GetLevelOk() (*string, bool)
GetLevelOk returns a tuple with the Level field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetMessage ¶
func (o *View_event) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*View_event) GetMessageOk ¶
func (o *View_event) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetName ¶
func (o *View_event) GetName() string
GetName returns the Name field value.
func (*View_event) GetNameOk ¶
func (o *View_event) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*View_event) GetNamespace ¶
func (o *View_event) GetNamespace() string
GetNamespace returns the Namespace field value.
func (*View_event) GetNamespaceOk ¶
func (o *View_event) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*View_event) GetOwners ¶
func (o *View_event) GetOwners() []Owner
GetOwners returns the Owners field value if set, zero value otherwise.
func (*View_event) GetOwnersOk ¶
func (o *View_event) GetOwnersOk() (*[]Owner, bool)
GetOwnersOk returns a tuple with the Owners field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetProgress ¶
func (o *View_event) GetProgress() string
GetProgress returns the Progress field value if set, zero value otherwise.
func (*View_event) GetProgressOk ¶
func (o *View_event) GetProgressOk() (*string, bool)
GetProgressOk returns a tuple with the Progress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetReason ¶
func (o *View_event) GetReason() string
GetReason returns the Reason field value if set, zero value otherwise.
func (*View_event) GetReasonOk ¶
func (o *View_event) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetResourceVersion ¶
func (o *View_event) GetResourceVersion() string
GetResourceVersion returns the ResourceVersion field value if set, zero value otherwise.
func (*View_event) GetResourceVersionOk ¶
func (o *View_event) GetResourceVersionOk() (*string, bool)
GetResourceVersionOk returns a tuple with the ResourceVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetTime ¶
func (o *View_event) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*View_event) GetTimeOk ¶
func (o *View_event) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) GetType ¶
func (o *View_event) GetType() string
GetType returns the Type field value.
func (*View_event) GetTypeOk ¶
func (o *View_event) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*View_event) GetVersion ¶
func (o *View_event) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*View_event) GetVersionOk ¶
func (o *View_event) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*View_event) HasLevel ¶
func (o *View_event) HasLevel() bool
HasLevel returns a boolean if a field has been set.
func (*View_event) HasMessage ¶
func (o *View_event) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*View_event) HasOwners ¶
func (o *View_event) HasOwners() bool
HasOwners returns a boolean if a field has been set.
func (*View_event) HasProgress ¶
func (o *View_event) HasProgress() bool
HasProgress returns a boolean if a field has been set.
func (*View_event) HasReason ¶
func (o *View_event) HasReason() bool
HasReason returns a boolean if a field has been set.
func (*View_event) HasResourceVersion ¶
func (o *View_event) HasResourceVersion() bool
HasResourceVersion returns a boolean if a field has been set.
func (*View_event) HasTime ¶
func (o *View_event) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*View_event) HasVersion ¶
func (o *View_event) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (View_event) MarshalJSON ¶
func (o View_event) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*View_event) SetLevel ¶
func (o *View_event) SetLevel(v string)
SetLevel gets a reference to the given string and assigns it to the Level field.
func (*View_event) SetMessage ¶
func (o *View_event) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*View_event) SetNamespace ¶
func (o *View_event) SetNamespace(v string)
SetNamespace sets field value.
func (*View_event) SetOwners ¶
func (o *View_event) SetOwners(v []Owner)
SetOwners gets a reference to the given []Owner and assigns it to the Owners field.
func (*View_event) SetProgress ¶
func (o *View_event) SetProgress(v string)
SetProgress gets a reference to the given string and assigns it to the Progress field.
func (*View_event) SetReason ¶
func (o *View_event) SetReason(v string)
SetReason gets a reference to the given string and assigns it to the Reason field.
func (*View_event) SetResourceVersion ¶
func (o *View_event) SetResourceVersion(v string)
SetResourceVersion gets a reference to the given string and assigns it to the ResourceVersion field.
func (*View_event) SetTime ¶
func (o *View_event) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (*View_event) SetVersion ¶
func (o *View_event) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (*View_event) UnmarshalJSON ¶
func (o *View_event) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type Volume ¶
type Volume struct {
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
IsDefault *string `json:"isDefault,omitempty"`
Location *string `json:"location,omitempty"`
Params *string `json:"params,omitempty"`
Comment *string `json:"comment,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
func NewVolume ¶
func NewVolume() *Volume
NewVolume instantiates a new Volume object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewVolumeWithDefaults ¶
func NewVolumeWithDefaults() *Volume
NewVolumeWithDefaults instantiates a new Volume object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Volume) GetComment ¶
GetComment returns the Comment field value if set, zero value otherwise.
func (*Volume) GetCommentOk ¶
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetIsDefault ¶
GetIsDefault returns the IsDefault field value if set, zero value otherwise.
func (*Volume) GetIsDefaultOk ¶
GetIsDefaultOk returns a tuple with the IsDefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetLocation ¶
GetLocation returns the Location field value if set, zero value otherwise.
func (*Volume) GetLocationOk ¶
GetLocationOk returns a tuple with the Location field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetParamsOk ¶
GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Volume) HasComment ¶
HasComment returns a boolean if a field has been set.
func (*Volume) HasIsDefault ¶
HasIsDefault returns a boolean if a field has been set.
func (*Volume) HasLocation ¶
HasLocation returns a boolean if a field has been set.
func (Volume) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Volume) SetComment ¶
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*Volume) SetIsDefault ¶
SetIsDefault gets a reference to the given string and assigns it to the IsDefault field.
func (*Volume) SetLocation ¶
SetLocation gets a reference to the given string and assigns it to the Location field.
func (*Volume) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Volume) SetParams ¶
SetParams gets a reference to the given string and assigns it to the Params field.
func (*Volume) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Volume) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type VolumeRestorePolicy ¶
type VolumeRestorePolicy string
VolumeRestorePolicy the volume claim restore policy, support values: [Serial, Parallel]
const ( VolumeRestorePolicySerial VolumeRestorePolicy = "Serial" VolumeRestorePolicyParallel VolumeRestorePolicy = "Parallel" )
List of VolumeRestorePolicy.
func NewVolumeRestorePolicyFromValue ¶
func NewVolumeRestorePolicyFromValue(v string) (*VolumeRestorePolicy, error)
NewVolumeRestorePolicyFromValue returns a pointer to a valid VolumeRestorePolicy for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*VolumeRestorePolicy) GetAllowedValues ¶
func (v *VolumeRestorePolicy) GetAllowedValues() []VolumeRestorePolicy
GetAllowedValues returns the list of possible values.
func (VolumeRestorePolicy) IsValid ¶
func (v VolumeRestorePolicy) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (VolumeRestorePolicy) Ptr ¶
func (v VolumeRestorePolicy) Ptr() *VolumeRestorePolicy
Ptr returns reference to VolumeRestorePolicy value.
func (*VolumeRestorePolicy) UnmarshalJSON ¶
func (v *VolumeRestorePolicy) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type WebhookConfig ¶
type WebhookConfig struct {
Url string `json:"url"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
WebhookConfig Webhook config of alert receiver
func NewWebhookConfig ¶
func NewWebhookConfig(url string) *WebhookConfig
NewWebhookConfig instantiates a new WebhookConfig object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewWebhookConfigWithDefaults ¶
func NewWebhookConfigWithDefaults() *WebhookConfig
NewWebhookConfigWithDefaults instantiates a new WebhookConfig object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*WebhookConfig) GetUrl ¶
func (o *WebhookConfig) GetUrl() string
GetUrl returns the Url field value.
func (*WebhookConfig) GetUrlOk ¶
func (o *WebhookConfig) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (WebhookConfig) MarshalJSON ¶
func (o WebhookConfig) MarshalJSON() ([]byte, error)
MarshalJSON serializes the struct using spec logic.
func (*WebhookConfig) UnmarshalJSON ¶
func (o *WebhookConfig) UnmarshalJSON(bytes []byte) (err error)
UnmarshalJSON deserializes the given payload.
type WhitelistApi ¶
WhitelistApi service type
func NewWhitelistApi ¶
func NewWhitelistApi(client *common.APIClient) *WhitelistApi
NewWhitelistApi Returns NewWhitelistApi.
type Ycsb ¶
type Ycsb struct {
// Step of benchmark
Step *YcsbStep `json:"step,omitempty"`
// the cpu limit for test container
LimitCpu *string `json:"limitCpu,omitempty"`
// the memory limit for test container
LimitMemory *string `json:"limitMemory,omitempty"`
// the cpu request for test container
RequestCpu *string `json:"requestCpu,omitempty"`
// the memory request for test container
RequestMemory *string `json:"requestMemory,omitempty"`
// the name of benchmark
Name *string `json:"name,omitempty"`
// the database name
Database *string `json:"database,omitempty"`
// the cluster name
Cluster string `json:"cluster"`
// Username for database
Username string `json:"username"`
// Password for database
Password string `json:"password"`
// Address for database
Address string `json:"address"`
// Number of records to load into database
RecordCount *int32 `json:"recordCount,omitempty"`
// Number of operations to perform
OperationCount *int32 `json:"operationCount,omitempty"`
// Percentage of read operations
ReadProportion *int32 `json:"readProportion,omitempty"`
// Percentage of update operations
UpdateProportion *int32 `json:"updateProportion,omitempty"`
// Percentage of insert operations
InsertProportion *int32 `json:"insertProportion,omitempty"`
// Percentage of read-modify-write operations
ReadModifyWriteProportion *int32 `json:"readModifyWriteProportion,omitempty"`
// Percentage of scan operations
ScanProportion *int32 `json:"scanProportion,omitempty"`
// Number of client threads to run
Threads *int32 `json:"threads,omitempty"`
// Extra arguments for ycsb
ExtraArgs *string `json:"extraArgs,omitempty"`
// Redis mode
RedisMode *YcsbRedisMode `json:"redisMode,omitempty"`
// Redis sentinel master
RedisSentinelMaster *string `json:"redisSentinelMaster,omitempty"`
// Redis sentinel username
RedisSentinelUsername *string `json:"redisSentinelUsername,omitempty"`
// Redis sentinel password
RedisSentinelPassword *string `json:"redisSentinelPassword,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Ycsb ycsb is the ycsb benchmark object
func NewYcsb ¶
NewYcsb instantiates a new Ycsb object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewYcsbWithDefaults ¶
func NewYcsbWithDefaults() *Ycsb
NewYcsbWithDefaults instantiates a new Ycsb object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Ycsb) GetAddress ¶
GetAddress returns the Address field value.
func (*Ycsb) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Ycsb) GetCluster ¶
GetCluster returns the Cluster field value.
func (*Ycsb) GetClusterOk ¶
GetClusterOk returns a tuple with the Cluster field value and a boolean to check if the value has been set.
func (*Ycsb) GetDatabase ¶
GetDatabase returns the Database field value if set, zero value otherwise.
func (*Ycsb) GetDatabaseOk ¶
GetDatabaseOk returns a tuple with the Database field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetExtraArgs ¶
GetExtraArgs returns the ExtraArgs field value if set, zero value otherwise.
func (*Ycsb) GetExtraArgsOk ¶
GetExtraArgsOk returns a tuple with the ExtraArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetInsertProportion ¶
GetInsertProportion returns the InsertProportion field value if set, zero value otherwise.
func (*Ycsb) GetInsertProportionOk ¶
GetInsertProportionOk returns a tuple with the InsertProportion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetLimitCpu ¶
GetLimitCpu returns the LimitCpu field value if set, zero value otherwise.
func (*Ycsb) GetLimitCpuOk ¶
GetLimitCpuOk returns a tuple with the LimitCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetLimitMemory ¶
GetLimitMemory returns the LimitMemory field value if set, zero value otherwise.
func (*Ycsb) GetLimitMemoryOk ¶
GetLimitMemoryOk returns a tuple with the LimitMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetOperationCount ¶
GetOperationCount returns the OperationCount field value if set, zero value otherwise.
func (*Ycsb) GetOperationCountOk ¶
GetOperationCountOk returns a tuple with the OperationCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetPassword ¶
GetPassword returns the Password field value.
func (*Ycsb) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*Ycsb) GetReadModifyWriteProportion ¶
GetReadModifyWriteProportion returns the ReadModifyWriteProportion field value if set, zero value otherwise.
func (*Ycsb) GetReadModifyWriteProportionOk ¶
GetReadModifyWriteProportionOk returns a tuple with the ReadModifyWriteProportion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetReadProportion ¶
GetReadProportion returns the ReadProportion field value if set, zero value otherwise.
func (*Ycsb) GetReadProportionOk ¶
GetReadProportionOk returns a tuple with the ReadProportion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRecordCount ¶
GetRecordCount returns the RecordCount field value if set, zero value otherwise.
func (*Ycsb) GetRecordCountOk ¶
GetRecordCountOk returns a tuple with the RecordCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRedisMode ¶
func (o *Ycsb) GetRedisMode() YcsbRedisMode
GetRedisMode returns the RedisMode field value if set, zero value otherwise.
func (*Ycsb) GetRedisModeOk ¶
func (o *Ycsb) GetRedisModeOk() (*YcsbRedisMode, bool)
GetRedisModeOk returns a tuple with the RedisMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRedisSentinelMaster ¶
GetRedisSentinelMaster returns the RedisSentinelMaster field value if set, zero value otherwise.
func (*Ycsb) GetRedisSentinelMasterOk ¶
GetRedisSentinelMasterOk returns a tuple with the RedisSentinelMaster field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRedisSentinelPassword ¶
GetRedisSentinelPassword returns the RedisSentinelPassword field value if set, zero value otherwise.
func (*Ycsb) GetRedisSentinelPasswordOk ¶
GetRedisSentinelPasswordOk returns a tuple with the RedisSentinelPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRedisSentinelUsername ¶
GetRedisSentinelUsername returns the RedisSentinelUsername field value if set, zero value otherwise.
func (*Ycsb) GetRedisSentinelUsernameOk ¶
GetRedisSentinelUsernameOk returns a tuple with the RedisSentinelUsername field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRequestCpu ¶
GetRequestCpu returns the RequestCpu field value if set, zero value otherwise.
func (*Ycsb) GetRequestCpuOk ¶
GetRequestCpuOk returns a tuple with the RequestCpu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetRequestMemory ¶
GetRequestMemory returns the RequestMemory field value if set, zero value otherwise.
func (*Ycsb) GetRequestMemoryOk ¶
GetRequestMemoryOk returns a tuple with the RequestMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetScanProportion ¶
GetScanProportion returns the ScanProportion field value if set, zero value otherwise.
func (*Ycsb) GetScanProportionOk ¶
GetScanProportionOk returns a tuple with the ScanProportion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetStepOk ¶
GetStepOk returns a tuple with the Step field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetThreads ¶
GetThreads returns the Threads field value if set, zero value otherwise.
func (*Ycsb) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetUpdateProportion ¶
GetUpdateProportion returns the UpdateProportion field value if set, zero value otherwise.
func (*Ycsb) GetUpdateProportionOk ¶
GetUpdateProportionOk returns a tuple with the UpdateProportion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ycsb) GetUsername ¶
GetUsername returns the Username field value.
func (*Ycsb) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*Ycsb) HasDatabase ¶
HasDatabase returns a boolean if a field has been set.
func (*Ycsb) HasExtraArgs ¶
HasExtraArgs returns a boolean if a field has been set.
func (*Ycsb) HasInsertProportion ¶
HasInsertProportion returns a boolean if a field has been set.
func (*Ycsb) HasLimitCpu ¶
HasLimitCpu returns a boolean if a field has been set.
func (*Ycsb) HasLimitMemory ¶
HasLimitMemory returns a boolean if a field has been set.
func (*Ycsb) HasOperationCount ¶
HasOperationCount returns a boolean if a field has been set.
func (*Ycsb) HasReadModifyWriteProportion ¶
HasReadModifyWriteProportion returns a boolean if a field has been set.
func (*Ycsb) HasReadProportion ¶
HasReadProportion returns a boolean if a field has been set.
func (*Ycsb) HasRecordCount ¶
HasRecordCount returns a boolean if a field has been set.
func (*Ycsb) HasRedisMode ¶
HasRedisMode returns a boolean if a field has been set.
func (*Ycsb) HasRedisSentinelMaster ¶
HasRedisSentinelMaster returns a boolean if a field has been set.
func (*Ycsb) HasRedisSentinelPassword ¶
HasRedisSentinelPassword returns a boolean if a field has been set.
func (*Ycsb) HasRedisSentinelUsername ¶
HasRedisSentinelUsername returns a boolean if a field has been set.
func (*Ycsb) HasRequestCpu ¶
HasRequestCpu returns a boolean if a field has been set.
func (*Ycsb) HasRequestMemory ¶
HasRequestMemory returns a boolean if a field has been set.
func (*Ycsb) HasScanProportion ¶
HasScanProportion returns a boolean if a field has been set.
func (*Ycsb) HasThreads ¶
HasThreads returns a boolean if a field has been set.
func (*Ycsb) HasUpdateProportion ¶
HasUpdateProportion returns a boolean if a field has been set.
func (Ycsb) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Ycsb) SetDatabase ¶
SetDatabase gets a reference to the given string and assigns it to the Database field.
func (*Ycsb) SetExtraArgs ¶
SetExtraArgs gets a reference to the given string and assigns it to the ExtraArgs field.
func (*Ycsb) SetInsertProportion ¶
SetInsertProportion gets a reference to the given int32 and assigns it to the InsertProportion field.
func (*Ycsb) SetLimitCpu ¶
SetLimitCpu gets a reference to the given string and assigns it to the LimitCpu field.
func (*Ycsb) SetLimitMemory ¶
SetLimitMemory gets a reference to the given string and assigns it to the LimitMemory field.
func (*Ycsb) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Ycsb) SetOperationCount ¶
SetOperationCount gets a reference to the given int32 and assigns it to the OperationCount field.
func (*Ycsb) SetReadModifyWriteProportion ¶
SetReadModifyWriteProportion gets a reference to the given int32 and assigns it to the ReadModifyWriteProportion field.
func (*Ycsb) SetReadProportion ¶
SetReadProportion gets a reference to the given int32 and assigns it to the ReadProportion field.
func (*Ycsb) SetRecordCount ¶
SetRecordCount gets a reference to the given int32 and assigns it to the RecordCount field.
func (*Ycsb) SetRedisMode ¶
func (o *Ycsb) SetRedisMode(v YcsbRedisMode)
SetRedisMode gets a reference to the given YcsbRedisMode and assigns it to the RedisMode field.
func (*Ycsb) SetRedisSentinelMaster ¶
SetRedisSentinelMaster gets a reference to the given string and assigns it to the RedisSentinelMaster field.
func (*Ycsb) SetRedisSentinelPassword ¶
SetRedisSentinelPassword gets a reference to the given string and assigns it to the RedisSentinelPassword field.
func (*Ycsb) SetRedisSentinelUsername ¶
SetRedisSentinelUsername gets a reference to the given string and assigns it to the RedisSentinelUsername field.
func (*Ycsb) SetRequestCpu ¶
SetRequestCpu gets a reference to the given string and assigns it to the RequestCpu field.
func (*Ycsb) SetRequestMemory ¶
SetRequestMemory gets a reference to the given string and assigns it to the RequestMemory field.
func (*Ycsb) SetScanProportion ¶
SetScanProportion gets a reference to the given int32 and assigns it to the ScanProportion field.
func (*Ycsb) SetStep ¶
SetStep gets a reference to the given YcsbStep and assigns it to the Step field.
func (*Ycsb) SetThreads ¶
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*Ycsb) SetUpdateProportion ¶
SetUpdateProportion gets a reference to the given int32 and assigns it to the UpdateProportion field.
func (*Ycsb) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type YcsbRedisMode ¶
type YcsbRedisMode string
YcsbRedisMode Redis mode
const ( YcsbRedisModeSingle YcsbRedisMode = "single" YcsbRedisModeSentinel YcsbRedisMode = "sentinel" YcsbRedisModeCluster YcsbRedisMode = "cluster" )
List of YcsbRedisMode.
func NewYcsbRedisModeFromValue ¶
func NewYcsbRedisModeFromValue(v string) (*YcsbRedisMode, error)
NewYcsbRedisModeFromValue returns a pointer to a valid YcsbRedisMode for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*YcsbRedisMode) GetAllowedValues ¶
func (v *YcsbRedisMode) GetAllowedValues() []YcsbRedisMode
GetAllowedValues returns the list of possible values.
func (YcsbRedisMode) IsValid ¶
func (v YcsbRedisMode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise.
func (YcsbRedisMode) Ptr ¶
func (v YcsbRedisMode) Ptr() *YcsbRedisMode
Ptr returns reference to YcsbRedisMode value.
func (*YcsbRedisMode) UnmarshalJSON ¶
func (v *YcsbRedisMode) UnmarshalJSON(src []byte) error
UnmarshalJSON deserializes the given payload.
type YcsbStep ¶
type YcsbStep string
YcsbStep Step of benchmark
const ( YcsbStepPrepare YcsbStep = "prepare" YcsbStepRun YcsbStep = "run" YcsbStepCleanup YcsbStep = "cleanup" YcsbStepAll YcsbStep = "all" )
List of YcsbStep.
func NewYcsbStepFromValue ¶
NewYcsbStepFromValue returns a pointer to a valid YcsbStep for the value passed as argument, or an error if the value passed is not allowed by the enum.
func (*YcsbStep) GetAllowedValues ¶
GetAllowedValues returns the list of possible values.
func (*YcsbStep) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type Zone ¶
type Zone struct {
// The name of the zone.
Name string `json:"name"`
// The Chinese name of the zone.
NameCn string `json:"nameCN"`
// The English name of the zone.
NameEn string `json:"nameEN"`
// Whether the zone is enabled.
Enabled bool `json:"enabled"`
// The name of the region.
Region string `json:"region"`
// The time when the zone was created.
CreatedAt time.Time `json:"createdAt"`
// The time when the zone was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Zone The zone that the region has.
func NewZone ¶
func NewZone(name string, nameCn string, nameEn string, enabled bool, region string, createdAt time.Time, updatedAt time.Time) *Zone
NewZone instantiates a new Zone object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewZoneWithDefaults ¶
func NewZoneWithDefaults() *Zone
NewZoneWithDefaults instantiates a new Zone object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*Zone) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value.
func (*Zone) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Zone) GetEnabled ¶
GetEnabled returns the Enabled field value.
func (*Zone) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Zone) GetNameCnOk ¶
GetNameCnOk returns a tuple with the NameCn field value and a boolean to check if the value has been set.
func (*Zone) GetNameEnOk ¶
GetNameEnOk returns a tuple with the NameEn field value and a boolean to check if the value has been set.
func (*Zone) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Zone) GetRegionOk ¶
GetRegionOk returns a tuple with the Region field value and a boolean to check if the value has been set.
func (*Zone) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value.
func (*Zone) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (Zone) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*Zone) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
type ZoneApi ¶
ZoneApi service type
type ZoneList ¶
type ZoneList struct {
// The list of zones.
Items []Zone `json:"items,omitempty"`
// UnparsedObject contains the raw value of the object if there was an error when deserializing into the struct
UnparsedObject map[string]interface{} `json:"-"`
AdditionalProperties map[string]interface{} `json:"-"`
}
ZoneList The list of zones.
func NewZoneList ¶
func NewZoneList() *ZoneList
NewZoneList instantiates a new ZoneList object. This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
func NewZoneListWithDefaults ¶
func NewZoneListWithDefaults() *ZoneList
NewZoneListWithDefaults instantiates a new ZoneList object. This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
func (*ZoneList) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (ZoneList) MarshalJSON ¶
MarshalJSON serializes the struct using spec logic.
func (*ZoneList) SetItems ¶
SetItems gets a reference to the given []Zone and assigns it to the Items field.
func (*ZoneList) UnmarshalJSON ¶
UnmarshalJSON deserializes the given payload.
Source Files
¶
- api_account.go
- api_alert_config.go
- api_alert_inhibit.go
- api_alert_metrics.go
- api_alert_object.go
- api_alert_receiver.go
- api_alert_rule.go
- api_alert_strategy.go
- api_analyze.go
- api_autohealing.go
- api_backup.go
- api_backup_repo.go
- api_benchmark.go
- api_class.go
- api_cluster.go
- api_cluster_alert_switch.go
- api_cluster_log.go
- api_database.go
- api_dms.go
- api_engine.go
- api_engine_license.go
- api_engine_option.go
- api_environment.go
- api_event.go
- api_feature.go
- api_inspection.go
- api_invitation.go
- api_ip_whitelist.go
- api_load_balancer.go
- api_mark_cluster.go
- api_member.go
- api_metrics.go
- api_oceanbase.go
- api_opsrequest.go
- api_organization.go
- api_param_tpl.go
- api_parameter.go
- api_provider.go
- api_recycle_bin_cluster.go
- api_region.go
- api_restore.go
- api_role.go
- api_service_version.go
- api_sql_editor.go
- api_storage_class.go
- api_tag.go
- api_tls.go
- api_user.go
- api_view.go
- api_whitelist.go
- api_zone.go
- doc.go
- model_account.go
- model_account_list_item.go
- model_account_list_role_type.go
- model_account_option.go
- model_account_role_type.go
- model_alert_cluster.go
- model_alert_config.go
- model_alert_inhibit.go
- model_alert_inhibit_list.go
- model_alert_metric.go
- model_alert_metric_list.go
- model_alert_object.go
- model_alert_object_list.go
- model_alert_receiver.go
- model_alert_receiver_category.go
- model_alert_receiver_list.go
- model_alert_receiver_user_group.go
- model_alert_rule.go
- model_alert_rule_group.go
- model_alert_rule_list.go
- model_alert_severity.go
- model_alert_status.go
- model_alert_strategy.go
- model_alert_strategy_list.go
- model_alert_strategy_mute_time_interval.go
- model_alert_strategy_mute_time_interval_times.go
- model_analysis_result.go
- model_api_error_response.go
- model_apikey.go
- model_apikey_create.go
- model_apikey_list.go
- model_apikey_with_sk.go
- model_auto_inspection.go
- model_auto_inspection_run_unit.go
- model_autohealing_list_item.go
- model_backup.go
- model_backup_create.go
- model_backup_download.go
- model_backup_list.go
- model_backup_log.go
- model_backup_log_by_pod.go
- model_backup_method_option.go
- model_backup_option.go
- model_backup_policy.go
- model_backup_repo.go
- model_backup_repo_access_method.go
- model_backup_repo_list.go
- model_backup_repo_update.go
- model_backup_retention_policy.go
- model_backup_stats.go
- model_backup_stats_engine.go
- model_backup_stats_status.go
- model_backup_status.go
- model_backup_type.go
- model_backup_view.go
- model_bench_option.go
- model_benchmark.go
- model_benchmark_list.go
- model_benchmark_status.go
- model_benchmark_type.go
- model_class.go
- model_class_series.go
- model_cluster.go
- model_cluster_backup.go
- model_cluster_execution_log.go
- model_cluster_license.go
- model_cluster_list.go
- model_cluster_list_item.go
- model_cluster_metrics.go
- model_cluster_termination_policy.go
- model_cluster_update.go
- model_component_ops_option.go
- model_component_ops_option_dependent_custom_ops.go
- model_component_ops_option_dependent_custom_ops_params_item.go
- model_component_ops_option_restore_env_item.go
- model_component_option.go
- model_component_option_version.go
- model_component_option_version_major_version.go
- model_component_option_version_major_version_version_mapping_item.go
- model_component_option_version_minor_version.go
- model_components_item.go
- model_components_item_volumes_item.go
- model_configuration.go
- model_configuration_list.go
- model_configuration_with_regex.go
- model_cpu.go
- model_dashboard_option.go
- model_dashboard_option_instance_panels_item.go
- model_dashboard_option_instance_panels_item_panels_item.go
- model_data_disk.go
- model_database.go
- model_database_item.go
- model_database_list.go
- model_database_option.go
- model_datasource.go
- model_dms_import_form_data.go
- model_dms_option.go
- model_dms_task_info.go
- model_dms_task_list.go
- model_endpoint.go
- model_endpoint_list.go
- model_endpoint_network_type.go
- model_endpoint_option.go
- model_endpoint_type.go
- model_engine.go
- model_engine_license.go
- model_engine_license_list.go
- model_engine_option.go
- model_engine_option_license.go
- model_engine_option_list.go
- model_engine_options_metrics_query_type.go
- model_engine_options_service_pattern.go
- model_engine_service_versions.go
- model_engine_service_versions_versions_item.go
- model_engine_status.go
- model_engine_type.go
- model_environment.go
- model_environment_list.go
- model_environment_state.go
- model_environment_type.go
- model_event.go
- model_event_list.go
- model_event_resource_type.go
- model_event_result_status.go
- model_event_source.go
- model_feature.go
- model_feature_list.go
- model_feature_pre_release_type.go
- model_file_entry.go
- model_file_entry_list.go
- model_float_option.go
- model_ha_history_response.go
- model_ha_history_response_records_item.go
- model_init_options_item.go
- model_inspection.go
- model_inspection_script.go
- model_instance.go
- model_instance_list.go
- model_instance_metrics.go
- model_instance_metrics_list.go
- model_instance_status.go
- model_instance_storage_item.go
- model_integer_option.go
- model_invitation.go
- model_invitation_create.go
- model_invitation_list.go
- model_invitation_sender.go
- model_ip_whitelist.go
- model_ip_whitelist_list.go
- model_kubernetes_manifest_list.go
- model_license_option.go
- model_load_balancer.go
- model_load_balancer_available_type.go
- model_localized_description.go
- model_log_disk.go
- model_log_option.go
- model_manifest_type.go
- model_memory.go
- model_metrics_option.go
- model_metrics_option_replication_lag.go
- model_metrics_query_type.go
- model_mode_component.go
- model_mode_option.go
- model_mode_option_proxy.go
- model_network_config.go
- model_node_group.go
- model_ob_parameter.go
- model_ob_session.go
- model_object.go
- model_object_response.go
- model_ops_expose.go
- model_ops_expose_ports_mapping_item.go
- model_ops_expose_type.go
- model_ops_expose_vpc_service_type.go
- model_ops_h_scale.go
- model_ops_license.go
- model_ops_promote.go
- model_ops_rebuild_instance.go
- model_ops_rebuild_instance_instance_param.go
- model_ops_rebuild_instance_requests_item.go
- model_ops_request_name.go
- model_ops_restart.go
- model_ops_type.go
- model_ops_upgrade.go
- model_ops_v_scale.go
- model_ops_volume_expand.go
- model_ops_volume_expand_volumes_item.go
- model_org.go
- model_org_create.go
- model_org_list.go
- model_org_member.go
- model_org_member_add.go
- model_org_member_list.go
- model_org_member_role.go
- model_org_member_update.go
- model_org_tags_list.go
- model_org_update.go
- model_owner.go
- model_page_result.go
- model_pagination.go
- model_param_tpl_appl_to_cluster_list.go
- model_param_tpl_appl_to_cluster_list_item.go
- model_param_tpl_create.go
- model_param_tpl_create_from_cluster.go
- model_param_tpl_get.go
- model_param_tpl_get_item.go
- model_param_tpl_list.go
- model_param_tpl_list_item.go
- model_param_tpl_partition.go
- model_param_tpl_update.go
- model_param_tpls_item.go
- model_parameter_config.go
- model_parameter_history.go
- model_parameter_history_list.go
- model_parameter_option.go
- model_parameter_spec.go
- model_parameter_spec_list.go
- model_parameter_spec_list_item.go
- model_permission.go
- model_permission_list.go
- model_pgbench.go
- model_pgbench_step.go
- model_privilege_list_item.go
- model_provider.go
- model_provider_list.go
- model_query_history.go
- model_query_response.go
- model_reconfigure_create.go
- model_recycle_bin_cluster.go
- model_recycle_bin_cluster_list.go
- model_recycle_bin_cluster_list_item.go
- model_region.go
- model_region_list.go
- model_restore.go
- model_restore_create.go
- model_restore_list.go
- model_restore_log.go
- model_restore_log_by_pod.go
- model_restore_parameters.go
- model_restore_status.go
- model_restore_status_actions_item.go
- model_restore_status_conditions_item.go
- model_result.go
- model_result_stats.go
- model_role.go
- model_role_create.go
- model_role_list.go
- model_role_update.go
- model_sort_type.go
- model_sql_req_res.go
- model_storage_class_info.go
- model_storage_class_info_stats_by_node_list.go
- model_storage_class_list.go
- model_storage_option.go
- model_storage_volume_stats_by_node.go
- model_sysbench.go
- model_sysbench_step.go
- model_sysbench_test_type.go
- model_tag.go
- model_tag_cluster.go
- model_tag_create.go
- model_tag_create_items_item.go
- model_tag_update.go
- model_tenant.go
- model_tls_cert.go
- model_tls_config.go
- model_tls_request.go
- model_tpcc.go
- model_tpcc_step.go
- model_tree_node.go
- model_user.go
- model_user_update.go
- model_view.go
- model_view_event.go
- model_view_involved_objects_selector.go
- model_view_involved_objects_selector_match_expressions_item.go
- model_volume.go
- model_volume_restore_policy.go
- model_webhook_config.go
- model_ycsb.go
- model_ycsb_redis_mode.go
- model_ycsb_step.go
- model_zone.go
- model_zone_list.go