Documentation ¶
Index ¶
- Constants
- Variables
- type AppcImage
- type AssignedTask
- func (p *AssignedTask) GetAssignedPorts() map[string]int32
- func (p *AssignedTask) GetInstanceId() int32
- func (p *AssignedTask) GetSlaveHost() string
- func (p *AssignedTask) GetSlaveId() string
- func (p *AssignedTask) GetTask() *TaskConfig
- func (p *AssignedTask) GetTaskId() string
- func (p *AssignedTask) IsSetTask() bool
- func (p *AssignedTask) Read(iprot thrift.TProtocol) error
- func (p *AssignedTask) String() string
- func (p *AssignedTask) Write(oprot thrift.TProtocol) error
- type Attribute
- type AuroraAdmin
- type AuroraAdminClient
- func (p *AuroraAdminClient) CommitRecovery() (r *Response, err error)
- func (p *AuroraAdminClient) DeleteRecoveryTasks(query *TaskQuery) (r *Response, err error)
- func (p *AuroraAdminClient) DrainHosts(hosts *Hosts) (r *Response, err error)
- func (p *AuroraAdminClient) EndMaintenance(hosts *Hosts) (r *Response, err error)
- func (p *AuroraAdminClient) ForceTaskState(taskId string, status ScheduleStatus) (r *Response, err error)
- func (p *AuroraAdminClient) ListBackups() (r *Response, err error)
- func (p *AuroraAdminClient) MaintenanceStatus(hosts *Hosts) (r *Response, err error)
- func (p *AuroraAdminClient) PerformBackup() (r *Response, err error)
- func (p *AuroraAdminClient) PruneTasks(query *TaskQuery) (r *Response, err error)
- func (p *AuroraAdminClient) QueryRecovery(query *TaskQuery) (r *Response, err error)
- func (p *AuroraAdminClient) SetQuota(ownerRole string, quota *ResourceAggregate) (r *Response, err error)
- func (p *AuroraAdminClient) Snapshot() (r *Response, err error)
- func (p *AuroraAdminClient) StageRecovery(backupId string) (r *Response, err error)
- func (p *AuroraAdminClient) StartMaintenance(hosts *Hosts) (r *Response, err error)
- func (p *AuroraAdminClient) TriggerExplicitTaskReconciliation(settings *ExplicitReconciliationSettings) (r *Response, err error)
- func (p *AuroraAdminClient) TriggerImplicitTaskReconciliation() (r *Response, err error)
- func (p *AuroraAdminClient) UnloadRecovery() (r *Response, err error)
- type AuroraAdminCommitRecoveryArgs
- type AuroraAdminCommitRecoveryResult
- func (p *AuroraAdminCommitRecoveryResult) GetSuccess() *Response
- func (p *AuroraAdminCommitRecoveryResult) IsSetSuccess() bool
- func (p *AuroraAdminCommitRecoveryResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminCommitRecoveryResult) String() string
- func (p *AuroraAdminCommitRecoveryResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminDeleteRecoveryTasksArgs
- func (p *AuroraAdminDeleteRecoveryTasksArgs) GetQuery() *TaskQuery
- func (p *AuroraAdminDeleteRecoveryTasksArgs) IsSetQuery() bool
- func (p *AuroraAdminDeleteRecoveryTasksArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminDeleteRecoveryTasksArgs) String() string
- func (p *AuroraAdminDeleteRecoveryTasksArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminDeleteRecoveryTasksResult
- func (p *AuroraAdminDeleteRecoveryTasksResult) GetSuccess() *Response
- func (p *AuroraAdminDeleteRecoveryTasksResult) IsSetSuccess() bool
- func (p *AuroraAdminDeleteRecoveryTasksResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminDeleteRecoveryTasksResult) String() string
- func (p *AuroraAdminDeleteRecoveryTasksResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminDrainHostsArgs
- func (p *AuroraAdminDrainHostsArgs) GetHosts() *Hosts
- func (p *AuroraAdminDrainHostsArgs) IsSetHosts() bool
- func (p *AuroraAdminDrainHostsArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminDrainHostsArgs) String() string
- func (p *AuroraAdminDrainHostsArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminDrainHostsResult
- func (p *AuroraAdminDrainHostsResult) GetSuccess() *Response
- func (p *AuroraAdminDrainHostsResult) IsSetSuccess() bool
- func (p *AuroraAdminDrainHostsResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminDrainHostsResult) String() string
- func (p *AuroraAdminDrainHostsResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminEndMaintenanceArgs
- func (p *AuroraAdminEndMaintenanceArgs) GetHosts() *Hosts
- func (p *AuroraAdminEndMaintenanceArgs) IsSetHosts() bool
- func (p *AuroraAdminEndMaintenanceArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminEndMaintenanceArgs) String() string
- func (p *AuroraAdminEndMaintenanceArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminEndMaintenanceResult
- func (p *AuroraAdminEndMaintenanceResult) GetSuccess() *Response
- func (p *AuroraAdminEndMaintenanceResult) IsSetSuccess() bool
- func (p *AuroraAdminEndMaintenanceResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminEndMaintenanceResult) String() string
- func (p *AuroraAdminEndMaintenanceResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminForceTaskStateArgs
- func (p *AuroraAdminForceTaskStateArgs) GetStatus() ScheduleStatus
- func (p *AuroraAdminForceTaskStateArgs) GetTaskId() string
- func (p *AuroraAdminForceTaskStateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminForceTaskStateArgs) String() string
- func (p *AuroraAdminForceTaskStateArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminForceTaskStateResult
- func (p *AuroraAdminForceTaskStateResult) GetSuccess() *Response
- func (p *AuroraAdminForceTaskStateResult) IsSetSuccess() bool
- func (p *AuroraAdminForceTaskStateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminForceTaskStateResult) String() string
- func (p *AuroraAdminForceTaskStateResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminListBackupsArgs
- type AuroraAdminListBackupsResult
- func (p *AuroraAdminListBackupsResult) GetSuccess() *Response
- func (p *AuroraAdminListBackupsResult) IsSetSuccess() bool
- func (p *AuroraAdminListBackupsResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminListBackupsResult) String() string
- func (p *AuroraAdminListBackupsResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminMaintenanceStatusArgs
- func (p *AuroraAdminMaintenanceStatusArgs) GetHosts() *Hosts
- func (p *AuroraAdminMaintenanceStatusArgs) IsSetHosts() bool
- func (p *AuroraAdminMaintenanceStatusArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminMaintenanceStatusArgs) String() string
- func (p *AuroraAdminMaintenanceStatusArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminMaintenanceStatusResult
- func (p *AuroraAdminMaintenanceStatusResult) GetSuccess() *Response
- func (p *AuroraAdminMaintenanceStatusResult) IsSetSuccess() bool
- func (p *AuroraAdminMaintenanceStatusResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminMaintenanceStatusResult) String() string
- func (p *AuroraAdminMaintenanceStatusResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminPerformBackupArgs
- type AuroraAdminPerformBackupResult
- func (p *AuroraAdminPerformBackupResult) GetSuccess() *Response
- func (p *AuroraAdminPerformBackupResult) IsSetSuccess() bool
- func (p *AuroraAdminPerformBackupResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminPerformBackupResult) String() string
- func (p *AuroraAdminPerformBackupResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminProcessor
- type AuroraAdminPruneTasksArgs
- func (p *AuroraAdminPruneTasksArgs) GetQuery() *TaskQuery
- func (p *AuroraAdminPruneTasksArgs) IsSetQuery() bool
- func (p *AuroraAdminPruneTasksArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminPruneTasksArgs) String() string
- func (p *AuroraAdminPruneTasksArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminPruneTasksResult
- func (p *AuroraAdminPruneTasksResult) GetSuccess() *Response
- func (p *AuroraAdminPruneTasksResult) IsSetSuccess() bool
- func (p *AuroraAdminPruneTasksResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminPruneTasksResult) String() string
- func (p *AuroraAdminPruneTasksResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminQueryRecoveryArgs
- func (p *AuroraAdminQueryRecoveryArgs) GetQuery() *TaskQuery
- func (p *AuroraAdminQueryRecoveryArgs) IsSetQuery() bool
- func (p *AuroraAdminQueryRecoveryArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminQueryRecoveryArgs) String() string
- func (p *AuroraAdminQueryRecoveryArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminQueryRecoveryResult
- func (p *AuroraAdminQueryRecoveryResult) GetSuccess() *Response
- func (p *AuroraAdminQueryRecoveryResult) IsSetSuccess() bool
- func (p *AuroraAdminQueryRecoveryResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminQueryRecoveryResult) String() string
- func (p *AuroraAdminQueryRecoveryResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminSetQuotaArgs
- func (p *AuroraAdminSetQuotaArgs) GetOwnerRole() string
- func (p *AuroraAdminSetQuotaArgs) GetQuota() *ResourceAggregate
- func (p *AuroraAdminSetQuotaArgs) IsSetQuota() bool
- func (p *AuroraAdminSetQuotaArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminSetQuotaArgs) String() string
- func (p *AuroraAdminSetQuotaArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminSetQuotaResult
- func (p *AuroraAdminSetQuotaResult) GetSuccess() *Response
- func (p *AuroraAdminSetQuotaResult) IsSetSuccess() bool
- func (p *AuroraAdminSetQuotaResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminSetQuotaResult) String() string
- func (p *AuroraAdminSetQuotaResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminSnapshotArgs
- type AuroraAdminSnapshotResult
- func (p *AuroraAdminSnapshotResult) GetSuccess() *Response
- func (p *AuroraAdminSnapshotResult) IsSetSuccess() bool
- func (p *AuroraAdminSnapshotResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminSnapshotResult) String() string
- func (p *AuroraAdminSnapshotResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminStageRecoveryArgs
- type AuroraAdminStageRecoveryResult
- func (p *AuroraAdminStageRecoveryResult) GetSuccess() *Response
- func (p *AuroraAdminStageRecoveryResult) IsSetSuccess() bool
- func (p *AuroraAdminStageRecoveryResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminStageRecoveryResult) String() string
- func (p *AuroraAdminStageRecoveryResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminStartMaintenanceArgs
- func (p *AuroraAdminStartMaintenanceArgs) GetHosts() *Hosts
- func (p *AuroraAdminStartMaintenanceArgs) IsSetHosts() bool
- func (p *AuroraAdminStartMaintenanceArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminStartMaintenanceArgs) String() string
- func (p *AuroraAdminStartMaintenanceArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminStartMaintenanceResult
- func (p *AuroraAdminStartMaintenanceResult) GetSuccess() *Response
- func (p *AuroraAdminStartMaintenanceResult) IsSetSuccess() bool
- func (p *AuroraAdminStartMaintenanceResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminStartMaintenanceResult) String() string
- func (p *AuroraAdminStartMaintenanceResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminTriggerExplicitTaskReconciliationArgs
- func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) GetSettings() *ExplicitReconciliationSettings
- func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) IsSetSettings() bool
- func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) String() string
- func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) Write(oprot thrift.TProtocol) error
- type AuroraAdminTriggerExplicitTaskReconciliationResult
- func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) GetSuccess() *Response
- func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) IsSetSuccess() bool
- func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) String() string
- func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminTriggerImplicitTaskReconciliationArgs
- type AuroraAdminTriggerImplicitTaskReconciliationResult
- func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) GetSuccess() *Response
- func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) IsSetSuccess() bool
- func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) String() string
- func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) Write(oprot thrift.TProtocol) error
- type AuroraAdminUnloadRecoveryArgs
- type AuroraAdminUnloadRecoveryResult
- func (p *AuroraAdminUnloadRecoveryResult) GetSuccess() *Response
- func (p *AuroraAdminUnloadRecoveryResult) IsSetSuccess() bool
- func (p *AuroraAdminUnloadRecoveryResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraAdminUnloadRecoveryResult) String() string
- func (p *AuroraAdminUnloadRecoveryResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManager
- type AuroraSchedulerManagerAbortJobUpdateArgs
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) GetKey() *JobUpdateKey
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) GetMessage() string
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerAbortJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerAbortJobUpdateResult
- func (p *AuroraSchedulerManagerAbortJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerAbortJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerAbortJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerAbortJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerAbortJobUpdateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerAddInstancesArgs
- func (p *AuroraSchedulerManagerAddInstancesArgs) GetCount() int32
- func (p *AuroraSchedulerManagerAddInstancesArgs) GetKey() *InstanceKey
- func (p *AuroraSchedulerManagerAddInstancesArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerAddInstancesArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerAddInstancesArgs) String() string
- func (p *AuroraSchedulerManagerAddInstancesArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerAddInstancesResult
- func (p *AuroraSchedulerManagerAddInstancesResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerAddInstancesResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerAddInstancesResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerAddInstancesResult) String() string
- func (p *AuroraSchedulerManagerAddInstancesResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerClient
- func (p *AuroraSchedulerManagerClient) AbortJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) AddInstances(key *InstanceKey, count int32) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) CreateJob(description *JobConfiguration) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) DescheduleCronJob(job *JobKey) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) KillTasks(job *JobKey, instances map[int32]bool, message string) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) PauseJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) PulseJobUpdate(key *JobUpdateKey) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) ReplaceCronTemplate(config *JobConfiguration) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) RestartShards(job *JobKey, shardIds map[int32]bool) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) ResumeJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) RollbackJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) ScheduleCronJob(description *JobConfiguration) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) StartCronJob(job *JobKey) (r *Response, err error)
- func (p *AuroraSchedulerManagerClient) StartJobUpdate(request *JobUpdateRequest, message string) (r *Response, err error)
- type AuroraSchedulerManagerCreateJobArgs
- func (p *AuroraSchedulerManagerCreateJobArgs) GetDescription() *JobConfiguration
- func (p *AuroraSchedulerManagerCreateJobArgs) IsSetDescription() bool
- func (p *AuroraSchedulerManagerCreateJobArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerCreateJobArgs) String() string
- func (p *AuroraSchedulerManagerCreateJobArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerCreateJobResult
- func (p *AuroraSchedulerManagerCreateJobResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerCreateJobResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerCreateJobResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerCreateJobResult) String() string
- func (p *AuroraSchedulerManagerCreateJobResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerDescheduleCronJobArgs
- func (p *AuroraSchedulerManagerDescheduleCronJobArgs) GetJob() *JobKey
- func (p *AuroraSchedulerManagerDescheduleCronJobArgs) IsSetJob() bool
- func (p *AuroraSchedulerManagerDescheduleCronJobArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerDescheduleCronJobArgs) String() string
- func (p *AuroraSchedulerManagerDescheduleCronJobArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerDescheduleCronJobResult
- func (p *AuroraSchedulerManagerDescheduleCronJobResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerDescheduleCronJobResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerDescheduleCronJobResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerDescheduleCronJobResult) String() string
- func (p *AuroraSchedulerManagerDescheduleCronJobResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerKillTasksArgs
- func (p *AuroraSchedulerManagerKillTasksArgs) GetInstances() map[int32]bool
- func (p *AuroraSchedulerManagerKillTasksArgs) GetJob() *JobKey
- func (p *AuroraSchedulerManagerKillTasksArgs) GetMessage() string
- func (p *AuroraSchedulerManagerKillTasksArgs) IsSetJob() bool
- func (p *AuroraSchedulerManagerKillTasksArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerKillTasksArgs) String() string
- func (p *AuroraSchedulerManagerKillTasksArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerKillTasksResult
- func (p *AuroraSchedulerManagerKillTasksResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerKillTasksResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerKillTasksResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerKillTasksResult) String() string
- func (p *AuroraSchedulerManagerKillTasksResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerPauseJobUpdateArgs
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) GetKey() *JobUpdateKey
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) GetMessage() string
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerPauseJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerPauseJobUpdateResult
- func (p *AuroraSchedulerManagerPauseJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerPauseJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerPauseJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerPauseJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerPauseJobUpdateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerProcessor
- type AuroraSchedulerManagerPulseJobUpdateArgs
- func (p *AuroraSchedulerManagerPulseJobUpdateArgs) GetKey() *JobUpdateKey
- func (p *AuroraSchedulerManagerPulseJobUpdateArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerPulseJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerPulseJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerPulseJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerPulseJobUpdateResult
- func (p *AuroraSchedulerManagerPulseJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerPulseJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerPulseJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerPulseJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerPulseJobUpdateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerReplaceCronTemplateArgs
- func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) GetConfig() *JobConfiguration
- func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) IsSetConfig() bool
- func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) String() string
- func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerReplaceCronTemplateResult
- func (p *AuroraSchedulerManagerReplaceCronTemplateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerReplaceCronTemplateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerReplaceCronTemplateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerReplaceCronTemplateResult) String() string
- func (p *AuroraSchedulerManagerReplaceCronTemplateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerRestartShardsArgs
- func (p *AuroraSchedulerManagerRestartShardsArgs) GetJob() *JobKey
- func (p *AuroraSchedulerManagerRestartShardsArgs) GetShardIds() map[int32]bool
- func (p *AuroraSchedulerManagerRestartShardsArgs) IsSetJob() bool
- func (p *AuroraSchedulerManagerRestartShardsArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerRestartShardsArgs) String() string
- func (p *AuroraSchedulerManagerRestartShardsArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerRestartShardsResult
- func (p *AuroraSchedulerManagerRestartShardsResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerRestartShardsResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerRestartShardsResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerRestartShardsResult) String() string
- func (p *AuroraSchedulerManagerRestartShardsResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerResumeJobUpdateArgs
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) GetKey() *JobUpdateKey
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) GetMessage() string
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerResumeJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerResumeJobUpdateResult
- func (p *AuroraSchedulerManagerResumeJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerResumeJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerResumeJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerResumeJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerResumeJobUpdateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerRollbackJobUpdateArgs
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) GetKey() *JobUpdateKey
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) GetMessage() string
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) IsSetKey() bool
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerRollbackJobUpdateResult
- func (p *AuroraSchedulerManagerRollbackJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerRollbackJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerRollbackJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerRollbackJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerRollbackJobUpdateResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerScheduleCronJobArgs
- func (p *AuroraSchedulerManagerScheduleCronJobArgs) GetDescription() *JobConfiguration
- func (p *AuroraSchedulerManagerScheduleCronJobArgs) IsSetDescription() bool
- func (p *AuroraSchedulerManagerScheduleCronJobArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerScheduleCronJobArgs) String() string
- func (p *AuroraSchedulerManagerScheduleCronJobArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerScheduleCronJobResult
- func (p *AuroraSchedulerManagerScheduleCronJobResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerScheduleCronJobResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerScheduleCronJobResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerScheduleCronJobResult) String() string
- func (p *AuroraSchedulerManagerScheduleCronJobResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerStartCronJobArgs
- func (p *AuroraSchedulerManagerStartCronJobArgs) GetJob() *JobKey
- func (p *AuroraSchedulerManagerStartCronJobArgs) IsSetJob() bool
- func (p *AuroraSchedulerManagerStartCronJobArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerStartCronJobArgs) String() string
- func (p *AuroraSchedulerManagerStartCronJobArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerStartCronJobResult
- func (p *AuroraSchedulerManagerStartCronJobResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerStartCronJobResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerStartCronJobResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerStartCronJobResult) String() string
- func (p *AuroraSchedulerManagerStartCronJobResult) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerStartJobUpdateArgs
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) GetMessage() string
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) GetRequest() *JobUpdateRequest
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) IsSetRequest() bool
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) String() string
- func (p *AuroraSchedulerManagerStartJobUpdateArgs) Write(oprot thrift.TProtocol) error
- type AuroraSchedulerManagerStartJobUpdateResult
- func (p *AuroraSchedulerManagerStartJobUpdateResult) GetSuccess() *Response
- func (p *AuroraSchedulerManagerStartJobUpdateResult) IsSetSuccess() bool
- func (p *AuroraSchedulerManagerStartJobUpdateResult) Read(iprot thrift.TProtocol) error
- func (p *AuroraSchedulerManagerStartJobUpdateResult) String() string
- func (p *AuroraSchedulerManagerStartJobUpdateResult) Write(oprot thrift.TProtocol) error
- type ConfigGroup
- type ConfigSummary
- type ConfigSummaryResult_
- type Constraint
- type Container
- func (p *Container) CountSetFieldsContainer() int
- func (p *Container) GetDocker() *DockerContainer
- func (p *Container) GetMesos() *MesosContainer
- func (p *Container) IsSetDocker() bool
- func (p *Container) IsSetMesos() bool
- func (p *Container) Read(iprot thrift.TProtocol) error
- func (p *Container) String() string
- func (p *Container) Write(oprot thrift.TProtocol) error
- type CronCollisionPolicy
- type DockerContainer
- func (p *DockerContainer) GetImage() string
- func (p *DockerContainer) GetParameters() []*DockerParameter
- func (p *DockerContainer) IsSetParameters() bool
- func (p *DockerContainer) Read(iprot thrift.TProtocol) error
- func (p *DockerContainer) String() string
- func (p *DockerContainer) Write(oprot thrift.TProtocol) error
- type DockerImage
- type DockerParameter
- type DrainHostsResult_
- type EndMaintenanceResult_
- type ExecutorConfig
- type ExplicitReconciliationSettings
- func (p *ExplicitReconciliationSettings) GetBatchSize() int32
- func (p *ExplicitReconciliationSettings) IsSetBatchSize() bool
- func (p *ExplicitReconciliationSettings) Read(iprot thrift.TProtocol) error
- func (p *ExplicitReconciliationSettings) String() string
- func (p *ExplicitReconciliationSettings) Write(oprot thrift.TProtocol) error
- type GetJobUpdateDetailsResult_
- func (p *GetJobUpdateDetailsResult_) GetDetails() *JobUpdateDetails
- func (p *GetJobUpdateDetailsResult_) GetDetailsList() []*JobUpdateDetails
- func (p *GetJobUpdateDetailsResult_) IsSetDetails() bool
- func (p *GetJobUpdateDetailsResult_) Read(iprot thrift.TProtocol) error
- func (p *GetJobUpdateDetailsResult_) String() string
- func (p *GetJobUpdateDetailsResult_) Write(oprot thrift.TProtocol) error
- type GetJobUpdateDiffResult_
- func (p *GetJobUpdateDiffResult_) GetAdd() map[*ConfigGroup]bool
- func (p *GetJobUpdateDiffResult_) GetRemove() map[*ConfigGroup]bool
- func (p *GetJobUpdateDiffResult_) GetUnchanged() map[*ConfigGroup]bool
- func (p *GetJobUpdateDiffResult_) GetUpdate() map[*ConfigGroup]bool
- func (p *GetJobUpdateDiffResult_) Read(iprot thrift.TProtocol) error
- func (p *GetJobUpdateDiffResult_) String() string
- func (p *GetJobUpdateDiffResult_) Write(oprot thrift.TProtocol) error
- type GetJobUpdateSummariesResult_
- type GetJobsResult_
- type GetPendingReasonResult_
- type GetQuotaResult_
- func (p *GetQuotaResult_) GetNonProdDedicatedConsumption() *ResourceAggregate
- func (p *GetQuotaResult_) GetNonProdSharedConsumption() *ResourceAggregate
- func (p *GetQuotaResult_) GetProdDedicatedConsumption() *ResourceAggregate
- func (p *GetQuotaResult_) GetProdSharedConsumption() *ResourceAggregate
- func (p *GetQuotaResult_) GetQuota() *ResourceAggregate
- func (p *GetQuotaResult_) IsSetNonProdDedicatedConsumption() bool
- func (p *GetQuotaResult_) IsSetNonProdSharedConsumption() bool
- func (p *GetQuotaResult_) IsSetProdDedicatedConsumption() bool
- func (p *GetQuotaResult_) IsSetProdSharedConsumption() bool
- func (p *GetQuotaResult_) IsSetQuota() bool
- func (p *GetQuotaResult_) Read(iprot thrift.TProtocol) error
- func (p *GetQuotaResult_) String() string
- func (p *GetQuotaResult_) Write(oprot thrift.TProtocol) error
- type GetTierConfigResult_
- func (p *GetTierConfigResult_) GetDefaultTierName() string
- func (p *GetTierConfigResult_) GetTiers() map[*TierConfig]bool
- func (p *GetTierConfigResult_) Read(iprot thrift.TProtocol) error
- func (p *GetTierConfigResult_) String() string
- func (p *GetTierConfigResult_) Write(oprot thrift.TProtocol) error
- type HostAttributes
- func (p *HostAttributes) GetAttributes() map[*Attribute]bool
- func (p *HostAttributes) GetHost() string
- func (p *HostAttributes) GetMode() MaintenanceMode
- func (p *HostAttributes) GetSlaveId() string
- func (p *HostAttributes) IsSetMode() bool
- func (p *HostAttributes) IsSetSlaveId() bool
- func (p *HostAttributes) Read(iprot thrift.TProtocol) error
- func (p *HostAttributes) String() string
- func (p *HostAttributes) Write(oprot thrift.TProtocol) error
- type HostStatus
- type Hosts
- type Identity
- type Image
- func (p *Image) CountSetFieldsImage() int
- func (p *Image) GetAppc() *AppcImage
- func (p *Image) GetDocker() *DockerImage
- func (p *Image) IsSetAppc() bool
- func (p *Image) IsSetDocker() bool
- func (p *Image) Read(iprot thrift.TProtocol) error
- func (p *Image) String() string
- func (p *Image) Write(oprot thrift.TProtocol) error
- type InstanceKey
- type InstanceTaskConfig
- func (p *InstanceTaskConfig) GetInstances() map[*Range]bool
- func (p *InstanceTaskConfig) GetTask() *TaskConfig
- func (p *InstanceTaskConfig) IsSetTask() bool
- func (p *InstanceTaskConfig) Read(iprot thrift.TProtocol) error
- func (p *InstanceTaskConfig) String() string
- func (p *InstanceTaskConfig) Write(oprot thrift.TProtocol) error
- type JobConfiguration
- func (p *JobConfiguration) GetCronCollisionPolicy() CronCollisionPolicy
- func (p *JobConfiguration) GetCronSchedule() string
- func (p *JobConfiguration) GetInstanceCount() int32
- func (p *JobConfiguration) GetKey() *JobKey
- func (p *JobConfiguration) GetOwner() *Identity
- func (p *JobConfiguration) GetTaskConfig() *TaskConfig
- func (p *JobConfiguration) IsSetCronSchedule() bool
- func (p *JobConfiguration) IsSetKey() bool
- func (p *JobConfiguration) IsSetOwner() bool
- func (p *JobConfiguration) IsSetTaskConfig() bool
- func (p *JobConfiguration) Read(iprot thrift.TProtocol) error
- func (p *JobConfiguration) String() string
- func (p *JobConfiguration) Write(oprot thrift.TProtocol) error
- type JobInstanceUpdateEvent
- func (p *JobInstanceUpdateEvent) GetAction() JobUpdateAction
- func (p *JobInstanceUpdateEvent) GetInstanceId() int32
- func (p *JobInstanceUpdateEvent) GetTimestampMs() int64
- func (p *JobInstanceUpdateEvent) Read(iprot thrift.TProtocol) error
- func (p *JobInstanceUpdateEvent) String() string
- func (p *JobInstanceUpdateEvent) Write(oprot thrift.TProtocol) error
- type JobKey
- type JobStats
- func (p *JobStats) GetActiveTaskCount() int32
- func (p *JobStats) GetFailedTaskCount() int32
- func (p *JobStats) GetFinishedTaskCount() int32
- func (p *JobStats) GetPendingTaskCount() int32
- func (p *JobStats) Read(iprot thrift.TProtocol) error
- func (p *JobStats) String() string
- func (p *JobStats) Write(oprot thrift.TProtocol) error
- type JobSummary
- func (p *JobSummary) GetJob() *JobConfiguration
- func (p *JobSummary) GetNextCronRunMs() int64
- func (p *JobSummary) GetStats() *JobStats
- func (p *JobSummary) IsSetJob() bool
- func (p *JobSummary) IsSetNextCronRunMs() bool
- func (p *JobSummary) IsSetStats() bool
- func (p *JobSummary) Read(iprot thrift.TProtocol) error
- func (p *JobSummary) String() string
- func (p *JobSummary) Write(oprot thrift.TProtocol) error
- type JobSummaryResult_
- type JobUpdate
- func (p *JobUpdate) GetInstructions() *JobUpdateInstructions
- func (p *JobUpdate) GetSummary() *JobUpdateSummary
- func (p *JobUpdate) IsSetInstructions() bool
- func (p *JobUpdate) IsSetSummary() bool
- func (p *JobUpdate) Read(iprot thrift.TProtocol) error
- func (p *JobUpdate) String() string
- func (p *JobUpdate) Write(oprot thrift.TProtocol) error
- type JobUpdateAction
- type JobUpdateDetails
- func (p *JobUpdateDetails) GetInstanceEvents() []*JobInstanceUpdateEvent
- func (p *JobUpdateDetails) GetUpdate() *JobUpdate
- func (p *JobUpdateDetails) GetUpdateEvents() []*JobUpdateEvent
- func (p *JobUpdateDetails) IsSetUpdate() bool
- func (p *JobUpdateDetails) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateDetails) String() string
- func (p *JobUpdateDetails) Write(oprot thrift.TProtocol) error
- type JobUpdateEvent
- func (p *JobUpdateEvent) GetMessage() string
- func (p *JobUpdateEvent) GetStatus() JobUpdateStatus
- func (p *JobUpdateEvent) GetTimestampMs() int64
- func (p *JobUpdateEvent) GetUser() string
- func (p *JobUpdateEvent) IsSetMessage() bool
- func (p *JobUpdateEvent) IsSetUser() bool
- func (p *JobUpdateEvent) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateEvent) String() string
- func (p *JobUpdateEvent) Write(oprot thrift.TProtocol) error
- type JobUpdateInstructions
- func (p *JobUpdateInstructions) GetDesiredState() *InstanceTaskConfig
- func (p *JobUpdateInstructions) GetInitialState() map[*InstanceTaskConfig]bool
- func (p *JobUpdateInstructions) GetSettings() *JobUpdateSettings
- func (p *JobUpdateInstructions) IsSetDesiredState() bool
- func (p *JobUpdateInstructions) IsSetSettings() bool
- func (p *JobUpdateInstructions) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateInstructions) String() string
- func (p *JobUpdateInstructions) Write(oprot thrift.TProtocol) error
- type JobUpdateKey
- type JobUpdatePulseStatus
- type JobUpdateQuery
- func (p *JobUpdateQuery) GetJobKey() *JobKey
- func (p *JobUpdateQuery) GetKey() *JobUpdateKey
- func (p *JobUpdateQuery) GetLimit() int32
- func (p *JobUpdateQuery) GetOffset() int32
- func (p *JobUpdateQuery) GetRole() string
- func (p *JobUpdateQuery) GetUpdateStatuses() map[JobUpdateStatus]bool
- func (p *JobUpdateQuery) GetUser() string
- func (p *JobUpdateQuery) IsSetJobKey() bool
- func (p *JobUpdateQuery) IsSetKey() bool
- func (p *JobUpdateQuery) IsSetRole() bool
- func (p *JobUpdateQuery) IsSetUpdateStatuses() bool
- func (p *JobUpdateQuery) IsSetUser() bool
- func (p *JobUpdateQuery) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateQuery) String() string
- func (p *JobUpdateQuery) Write(oprot thrift.TProtocol) error
- type JobUpdateRequest
- func (p *JobUpdateRequest) GetInstanceCount() int32
- func (p *JobUpdateRequest) GetMetadata() map[*Metadata]bool
- func (p *JobUpdateRequest) GetSettings() *JobUpdateSettings
- func (p *JobUpdateRequest) GetTaskConfig() *TaskConfig
- func (p *JobUpdateRequest) IsSetMetadata() bool
- func (p *JobUpdateRequest) IsSetSettings() bool
- func (p *JobUpdateRequest) IsSetTaskConfig() bool
- func (p *JobUpdateRequest) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateRequest) String() string
- func (p *JobUpdateRequest) Write(oprot thrift.TProtocol) error
- type JobUpdateSettings
- func (p *JobUpdateSettings) GetBlockIfNoPulsesAfterMs() int32
- func (p *JobUpdateSettings) GetMaxFailedInstances() int32
- func (p *JobUpdateSettings) GetMaxPerInstanceFailures() int32
- func (p *JobUpdateSettings) GetMinWaitInInstanceRunningMs() int32
- func (p *JobUpdateSettings) GetRollbackOnFailure() bool
- func (p *JobUpdateSettings) GetUpdateGroupSize() int32
- func (p *JobUpdateSettings) GetUpdateOnlyTheseInstances() map[*Range]bool
- func (p *JobUpdateSettings) GetWaitForBatchCompletion() bool
- func (p *JobUpdateSettings) IsSetBlockIfNoPulsesAfterMs() bool
- func (p *JobUpdateSettings) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateSettings) String() string
- func (p *JobUpdateSettings) Write(oprot thrift.TProtocol) error
- type JobUpdateState
- func (p *JobUpdateState) GetCreatedTimestampMs() int64
- func (p *JobUpdateState) GetLastModifiedTimestampMs() int64
- func (p *JobUpdateState) GetStatus() JobUpdateStatus
- func (p *JobUpdateState) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateState) String() string
- func (p *JobUpdateState) Write(oprot thrift.TProtocol) error
- type JobUpdateStatus
- type JobUpdateSummary
- func (p *JobUpdateSummary) GetKey() *JobUpdateKey
- func (p *JobUpdateSummary) GetMetadata() map[*Metadata]bool
- func (p *JobUpdateSummary) GetState() *JobUpdateState
- func (p *JobUpdateSummary) GetUser() string
- func (p *JobUpdateSummary) IsSetKey() bool
- func (p *JobUpdateSummary) IsSetMetadata() bool
- func (p *JobUpdateSummary) IsSetState() bool
- func (p *JobUpdateSummary) Read(iprot thrift.TProtocol) error
- func (p *JobUpdateSummary) String() string
- func (p *JobUpdateSummary) Write(oprot thrift.TProtocol) error
- type LimitConstraint
- type ListBackupsResult_
- type Lock
- func (p *Lock) GetKey() *LockKey
- func (p *Lock) GetMessage() string
- func (p *Lock) GetTimestampMs() int64
- func (p *Lock) GetToken() string
- func (p *Lock) GetUser() string
- func (p *Lock) IsSetKey() bool
- func (p *Lock) IsSetMessage() bool
- func (p *Lock) Read(iprot thrift.TProtocol) error
- func (p *Lock) String() string
- func (p *Lock) Write(oprot thrift.TProtocol) error
- type LockKey
- type MaintenanceMode
- type MaintenanceStatusResult_
- type MesosContainer
- func (p *MesosContainer) GetImage() *Image
- func (p *MesosContainer) GetVolumes() []*Volume
- func (p *MesosContainer) IsSetImage() bool
- func (p *MesosContainer) IsSetVolumes() bool
- func (p *MesosContainer) Read(iprot thrift.TProtocol) error
- func (p *MesosContainer) String() string
- func (p *MesosContainer) Write(oprot thrift.TProtocol) error
- type MesosFetcherURI
- func (p *MesosFetcherURI) GetCache() bool
- func (p *MesosFetcherURI) GetExtract() bool
- func (p *MesosFetcherURI) GetValue() string
- func (p *MesosFetcherURI) IsSetCache() bool
- func (p *MesosFetcherURI) IsSetExtract() bool
- func (p *MesosFetcherURI) Read(iprot thrift.TProtocol) error
- func (p *MesosFetcherURI) String() string
- func (p *MesosFetcherURI) Write(oprot thrift.TProtocol) error
- type Metadata
- type Mode
- type Package
- type PendingReason
- type PopulateJobResult_
- type PulseJobUpdateResult_
- type QueryRecoveryResult_
- type Range
- type ReadOnlyScheduler
- type ReadOnlySchedulerClient
- func (p *ReadOnlySchedulerClient) GetConfigSummary(job *JobKey) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetJobSummary(role string) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetJobUpdateDetails(query *JobUpdateQuery) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetJobUpdateDiff(request *JobUpdateRequest) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetJobUpdateSummaries(jobUpdateQuery *JobUpdateQuery) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetJobs(ownerRole string) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetPendingReason(query *TaskQuery) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetQuota(ownerRole string) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetRoleSummary() (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetTasksStatus(query *TaskQuery) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetTasksWithoutConfigs(query *TaskQuery) (r *Response, err error)
- func (p *ReadOnlySchedulerClient) GetTierConfigs() (r *Response, err error)
- func (p *ReadOnlySchedulerClient) PopulateJobConfig(description *JobConfiguration) (r *Response, err error)
- type ReadOnlySchedulerGetConfigSummaryArgs
- func (p *ReadOnlySchedulerGetConfigSummaryArgs) GetJob() *JobKey
- func (p *ReadOnlySchedulerGetConfigSummaryArgs) IsSetJob() bool
- func (p *ReadOnlySchedulerGetConfigSummaryArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetConfigSummaryArgs) String() string
- func (p *ReadOnlySchedulerGetConfigSummaryArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetConfigSummaryResult
- func (p *ReadOnlySchedulerGetConfigSummaryResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetConfigSummaryResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetConfigSummaryResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetConfigSummaryResult) String() string
- func (p *ReadOnlySchedulerGetConfigSummaryResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobSummaryArgs
- type ReadOnlySchedulerGetJobSummaryResult
- func (p *ReadOnlySchedulerGetJobSummaryResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetJobSummaryResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetJobSummaryResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobSummaryResult) String() string
- func (p *ReadOnlySchedulerGetJobSummaryResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateDetailsArgs
- func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) GetQuery() *JobUpdateQuery
- func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) IsSetQuery() bool
- func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) String() string
- func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateDetailsResult
- func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) String() string
- func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateDiffArgs
- func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) GetRequest() *JobUpdateRequest
- func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) IsSetRequest() bool
- func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) String() string
- func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateDiffResult
- func (p *ReadOnlySchedulerGetJobUpdateDiffResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetJobUpdateDiffResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetJobUpdateDiffResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateDiffResult) String() string
- func (p *ReadOnlySchedulerGetJobUpdateDiffResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateSummariesArgs
- func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) GetJobUpdateQuery() *JobUpdateQuery
- func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) IsSetJobUpdateQuery() bool
- func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) String() string
- func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobUpdateSummariesResult
- func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) String() string
- func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetJobsArgs
- type ReadOnlySchedulerGetJobsResult
- func (p *ReadOnlySchedulerGetJobsResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetJobsResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetJobsResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetJobsResult) String() string
- func (p *ReadOnlySchedulerGetJobsResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetPendingReasonArgs
- func (p *ReadOnlySchedulerGetPendingReasonArgs) GetQuery() *TaskQuery
- func (p *ReadOnlySchedulerGetPendingReasonArgs) IsSetQuery() bool
- func (p *ReadOnlySchedulerGetPendingReasonArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetPendingReasonArgs) String() string
- func (p *ReadOnlySchedulerGetPendingReasonArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetPendingReasonResult
- func (p *ReadOnlySchedulerGetPendingReasonResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetPendingReasonResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetPendingReasonResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetPendingReasonResult) String() string
- func (p *ReadOnlySchedulerGetPendingReasonResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetQuotaArgs
- type ReadOnlySchedulerGetQuotaResult
- func (p *ReadOnlySchedulerGetQuotaResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetQuotaResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetQuotaResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetQuotaResult) String() string
- func (p *ReadOnlySchedulerGetQuotaResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetRoleSummaryArgs
- type ReadOnlySchedulerGetRoleSummaryResult
- func (p *ReadOnlySchedulerGetRoleSummaryResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetRoleSummaryResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetRoleSummaryResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetRoleSummaryResult) String() string
- func (p *ReadOnlySchedulerGetRoleSummaryResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetTasksStatusArgs
- func (p *ReadOnlySchedulerGetTasksStatusArgs) GetQuery() *TaskQuery
- func (p *ReadOnlySchedulerGetTasksStatusArgs) IsSetQuery() bool
- func (p *ReadOnlySchedulerGetTasksStatusArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetTasksStatusArgs) String() string
- func (p *ReadOnlySchedulerGetTasksStatusArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetTasksStatusResult
- func (p *ReadOnlySchedulerGetTasksStatusResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetTasksStatusResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetTasksStatusResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetTasksStatusResult) String() string
- func (p *ReadOnlySchedulerGetTasksStatusResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetTasksWithoutConfigsArgs
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) GetQuery() *TaskQuery
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) IsSetQuery() bool
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) String() string
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetTasksWithoutConfigsResult
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) String() string
- func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerGetTierConfigsArgs
- type ReadOnlySchedulerGetTierConfigsResult
- func (p *ReadOnlySchedulerGetTierConfigsResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerGetTierConfigsResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerGetTierConfigsResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerGetTierConfigsResult) String() string
- func (p *ReadOnlySchedulerGetTierConfigsResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerPopulateJobConfigArgs
- func (p *ReadOnlySchedulerPopulateJobConfigArgs) GetDescription() *JobConfiguration
- func (p *ReadOnlySchedulerPopulateJobConfigArgs) IsSetDescription() bool
- func (p *ReadOnlySchedulerPopulateJobConfigArgs) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerPopulateJobConfigArgs) String() string
- func (p *ReadOnlySchedulerPopulateJobConfigArgs) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerPopulateJobConfigResult
- func (p *ReadOnlySchedulerPopulateJobConfigResult) GetSuccess() *Response
- func (p *ReadOnlySchedulerPopulateJobConfigResult) IsSetSuccess() bool
- func (p *ReadOnlySchedulerPopulateJobConfigResult) Read(iprot thrift.TProtocol) error
- func (p *ReadOnlySchedulerPopulateJobConfigResult) String() string
- func (p *ReadOnlySchedulerPopulateJobConfigResult) Write(oprot thrift.TProtocol) error
- type ReadOnlySchedulerProcessor
- func (p *ReadOnlySchedulerProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *ReadOnlySchedulerProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *ReadOnlySchedulerProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *ReadOnlySchedulerProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type Resource
- func (p *Resource) CountSetFieldsResource() int
- func (p *Resource) GetDiskMb() int64
- func (p *Resource) GetNamedPort() string
- func (p *Resource) GetNumCpus() float64
- func (p *Resource) GetNumGpus() int64
- func (p *Resource) GetRamMb() int64
- func (p *Resource) IsSetDiskMb() bool
- func (p *Resource) IsSetNamedPort() bool
- func (p *Resource) IsSetNumCpus() bool
- func (p *Resource) IsSetNumGpus() bool
- func (p *Resource) IsSetRamMb() bool
- func (p *Resource) Read(iprot thrift.TProtocol) error
- func (p *Resource) String() string
- func (p *Resource) Write(oprot thrift.TProtocol) error
- type ResourceAggregate
- func (p *ResourceAggregate) GetDiskMb() int64
- func (p *ResourceAggregate) GetNumCpus() float64
- func (p *ResourceAggregate) GetRamMb() int64
- func (p *ResourceAggregate) GetResources() map[*Resource]bool
- func (p *ResourceAggregate) Read(iprot thrift.TProtocol) error
- func (p *ResourceAggregate) String() string
- func (p *ResourceAggregate) Write(oprot thrift.TProtocol) error
- type Response
- func (p *Response) GetDetails() []*ResponseDetail
- func (p *Response) GetResponseCode() ResponseCode
- func (p *Response) GetResult_() *Result_
- func (p *Response) GetServerInfo() *ServerInfo
- func (p *Response) IsSetResult_() bool
- func (p *Response) IsSetServerInfo() bool
- func (p *Response) Read(iprot thrift.TProtocol) error
- func (p *Response) String() string
- func (p *Response) Write(oprot thrift.TProtocol) error
- type ResponseCode
- type ResponseDetail
- type Result_
- func (p *Result_) CountSetFieldsResult_() int
- func (p *Result_) GetConfigSummaryResult_() *ConfigSummaryResult_
- func (p *Result_) GetDrainHostsResult_() *DrainHostsResult_
- func (p *Result_) GetEndMaintenanceResult_() *EndMaintenanceResult_
- func (p *Result_) GetGetJobUpdateDetailsResult_() *GetJobUpdateDetailsResult_
- func (p *Result_) GetGetJobUpdateDiffResult_() *GetJobUpdateDiffResult_
- func (p *Result_) GetGetJobUpdateSummariesResult_() *GetJobUpdateSummariesResult_
- func (p *Result_) GetGetJobsResult_() *GetJobsResult_
- func (p *Result_) GetGetPendingReasonResult_() *GetPendingReasonResult_
- func (p *Result_) GetGetQuotaResult_() *GetQuotaResult_
- func (p *Result_) GetGetTierConfigResult_() *GetTierConfigResult_
- func (p *Result_) GetJobSummaryResult_() *JobSummaryResult_
- func (p *Result_) GetListBackupsResult_() *ListBackupsResult_
- func (p *Result_) GetMaintenanceStatusResult_() *MaintenanceStatusResult_
- func (p *Result_) GetPopulateJobResult_() *PopulateJobResult_
- func (p *Result_) GetPulseJobUpdateResult_() *PulseJobUpdateResult_
- func (p *Result_) GetQueryRecoveryResult_() *QueryRecoveryResult_
- func (p *Result_) GetRoleSummaryResult_() *RoleSummaryResult_
- func (p *Result_) GetScheduleStatusResult_() *ScheduleStatusResult_
- func (p *Result_) GetStartJobUpdateResult_() *StartJobUpdateResult_
- func (p *Result_) GetStartMaintenanceResult_() *StartMaintenanceResult_
- func (p *Result_) IsSetConfigSummaryResult_() bool
- func (p *Result_) IsSetDrainHostsResult_() bool
- func (p *Result_) IsSetEndMaintenanceResult_() bool
- func (p *Result_) IsSetGetJobUpdateDetailsResult_() bool
- func (p *Result_) IsSetGetJobUpdateDiffResult_() bool
- func (p *Result_) IsSetGetJobUpdateSummariesResult_() bool
- func (p *Result_) IsSetGetJobsResult_() bool
- func (p *Result_) IsSetGetPendingReasonResult_() bool
- func (p *Result_) IsSetGetQuotaResult_() bool
- func (p *Result_) IsSetGetTierConfigResult_() bool
- func (p *Result_) IsSetJobSummaryResult_() bool
- func (p *Result_) IsSetListBackupsResult_() bool
- func (p *Result_) IsSetMaintenanceStatusResult_() bool
- func (p *Result_) IsSetPopulateJobResult_() bool
- func (p *Result_) IsSetPulseJobUpdateResult_() bool
- func (p *Result_) IsSetQueryRecoveryResult_() bool
- func (p *Result_) IsSetRoleSummaryResult_() bool
- func (p *Result_) IsSetScheduleStatusResult_() bool
- func (p *Result_) IsSetStartJobUpdateResult_() bool
- func (p *Result_) IsSetStartMaintenanceResult_() bool
- func (p *Result_) Read(iprot thrift.TProtocol) error
- func (p *Result_) String() string
- func (p *Result_) Write(oprot thrift.TProtocol) error
- type RoleSummary
- type RoleSummaryResult_
- type ScheduleStatus
- type ScheduleStatusResult_
- type ScheduledTask
- func (p *ScheduledTask) GetAncestorId() string
- func (p *ScheduledTask) GetAssignedTask() *AssignedTask
- func (p *ScheduledTask) GetFailureCount() int32
- func (p *ScheduledTask) GetStatus() ScheduleStatus
- func (p *ScheduledTask) GetTaskEvents() []*TaskEvent
- func (p *ScheduledTask) IsSetAssignedTask() bool
- func (p *ScheduledTask) Read(iprot thrift.TProtocol) error
- func (p *ScheduledTask) String() string
- func (p *ScheduledTask) Write(oprot thrift.TProtocol) error
- type ServerInfo
- type StartJobUpdateResult_
- func (p *StartJobUpdateResult_) GetKey() *JobUpdateKey
- func (p *StartJobUpdateResult_) GetUpdateSummary() *JobUpdateSummary
- func (p *StartJobUpdateResult_) IsSetKey() bool
- func (p *StartJobUpdateResult_) IsSetUpdateSummary() bool
- func (p *StartJobUpdateResult_) Read(iprot thrift.TProtocol) error
- func (p *StartJobUpdateResult_) String() string
- func (p *StartJobUpdateResult_) Write(oprot thrift.TProtocol) error
- type StartMaintenanceResult_
- type TaskConfig
- func (p *TaskConfig) GetConstraints() map[*Constraint]bool
- func (p *TaskConfig) GetContactEmail() string
- func (p *TaskConfig) GetContainer() *Container
- func (p *TaskConfig) GetDiskMb() int64
- func (p *TaskConfig) GetExecutorConfig() *ExecutorConfig
- func (p *TaskConfig) GetIsService() bool
- func (p *TaskConfig) GetJob() *JobKey
- func (p *TaskConfig) GetMaxTaskFailures() int32
- func (p *TaskConfig) GetMesosFetcherUris() map[*MesosFetcherURI]bool
- func (p *TaskConfig) GetMetadata() map[*Metadata]bool
- func (p *TaskConfig) GetNumCpus() float64
- func (p *TaskConfig) GetOwner() *Identity
- func (p *TaskConfig) GetPriority() int32
- func (p *TaskConfig) GetProduction() bool
- func (p *TaskConfig) GetRamMb() int64
- func (p *TaskConfig) GetRequestedPorts() map[string]bool
- func (p *TaskConfig) GetResources() map[*Resource]bool
- func (p *TaskConfig) GetTaskLinks() map[string]string
- func (p *TaskConfig) GetTier() string
- func (p *TaskConfig) IsSetContactEmail() bool
- func (p *TaskConfig) IsSetContainer() bool
- func (p *TaskConfig) IsSetExecutorConfig() bool
- func (p *TaskConfig) IsSetJob() bool
- func (p *TaskConfig) IsSetMesosFetcherUris() bool
- func (p *TaskConfig) IsSetMetadata() bool
- func (p *TaskConfig) IsSetOwner() bool
- func (p *TaskConfig) IsSetProduction() bool
- func (p *TaskConfig) IsSetTaskLinks() bool
- func (p *TaskConfig) IsSetTier() bool
- func (p *TaskConfig) Read(iprot thrift.TProtocol) error
- func (p *TaskConfig) String() string
- func (p *TaskConfig) Write(oprot thrift.TProtocol) error
- type TaskConstraint
- func (p *TaskConstraint) CountSetFieldsTaskConstraint() int
- func (p *TaskConstraint) GetLimit() *LimitConstraint
- func (p *TaskConstraint) GetValue() *ValueConstraint
- func (p *TaskConstraint) IsSetLimit() bool
- func (p *TaskConstraint) IsSetValue() bool
- func (p *TaskConstraint) Read(iprot thrift.TProtocol) error
- func (p *TaskConstraint) String() string
- func (p *TaskConstraint) Write(oprot thrift.TProtocol) error
- type TaskEvent
- func (p *TaskEvent) GetMessage() string
- func (p *TaskEvent) GetScheduler() string
- func (p *TaskEvent) GetStatus() ScheduleStatus
- func (p *TaskEvent) GetTimestamp() int64
- func (p *TaskEvent) IsSetMessage() bool
- func (p *TaskEvent) IsSetScheduler() bool
- func (p *TaskEvent) Read(iprot thrift.TProtocol) error
- func (p *TaskEvent) String() string
- func (p *TaskEvent) Write(oprot thrift.TProtocol) error
- type TaskQuery
- func (p *TaskQuery) GetEnvironment() string
- func (p *TaskQuery) GetInstanceIds() map[int32]bool
- func (p *TaskQuery) GetJobKeys() map[*JobKey]bool
- func (p *TaskQuery) GetJobName() string
- func (p *TaskQuery) GetLimit() int32
- func (p *TaskQuery) GetOffset() int32
- func (p *TaskQuery) GetRole() string
- func (p *TaskQuery) GetSlaveHosts() map[string]bool
- func (p *TaskQuery) GetStatuses() map[ScheduleStatus]bool
- func (p *TaskQuery) GetTaskIds() map[string]bool
- func (p *TaskQuery) IsSetEnvironment() bool
- func (p *TaskQuery) IsSetInstanceIds() bool
- func (p *TaskQuery) IsSetJobKeys() bool
- func (p *TaskQuery) IsSetJobName() bool
- func (p *TaskQuery) IsSetLimit() bool
- func (p *TaskQuery) IsSetOffset() bool
- func (p *TaskQuery) IsSetRole() bool
- func (p *TaskQuery) IsSetSlaveHosts() bool
- func (p *TaskQuery) IsSetStatuses() bool
- func (p *TaskQuery) IsSetTaskIds() bool
- func (p *TaskQuery) Read(iprot thrift.TProtocol) error
- func (p *TaskQuery) String() string
- func (p *TaskQuery) Write(oprot thrift.TProtocol) error
- type TierConfig
- type ValueConstraint
- type Volume
Constants ¶
const AURORA_EXECUTOR_NAME = "AuroraExecutor"
const BYPASS_LEADER_REDIRECT_HEADER_NAME = "Bypass-Leader-Redirect"
const GOOD_IDENTIFIER_PATTERN = "^[\\w\\-\\.]+$"
const GOOD_IDENTIFIER_PATTERN_JVM = "^[\\w\\-\\.]+$"
const GOOD_IDENTIFIER_PATTERN_PYTHON = "^[\\w\\-\\.]+$"
const TASK_FILESYSTEM_MOUNT_POINT = "taskfs"
Variables ¶
var ACTIVE_JOB_UPDATE_STATES map[JobUpdateStatus]bool
var ACTIVE_STATES map[ScheduleStatus]bool
var AWAITNG_PULSE_JOB_UPDATE_STATES map[JobUpdateStatus]bool
var DockerContainer_Parameters_DEFAULT []*DockerParameter
var ExplicitReconciliationSettings_BatchSize_DEFAULT int32
var GoUnusedProtection__ int
var HostAttributes_SlaveId_DEFAULT string
var JobConfiguration_CronSchedule_DEFAULT string
var JobSummary_NextCronRunMs_DEFAULT int64
var JobUpdateEvent_Message_DEFAULT string
var JobUpdateEvent_User_DEFAULT string
var JobUpdateQuery_Role_DEFAULT string
var JobUpdateQuery_UpdateStatuses_DEFAULT map[JobUpdateStatus]bool
var JobUpdateQuery_User_DEFAULT string
var JobUpdateRequest_Metadata_DEFAULT map[*Metadata]bool
var JobUpdateSettings_BlockIfNoPulsesAfterMs_DEFAULT int32
var JobUpdateSummary_Metadata_DEFAULT map[*Metadata]bool
var LIVE_STATES map[ScheduleStatus]bool
var Lock_Message_DEFAULT string
var MesosContainer_Volumes_DEFAULT []*Volume
var MesosFetcherURI_Cache_DEFAULT bool
var MesosFetcherURI_Extract_DEFAULT bool
var Resource_DiskMb_DEFAULT int64
var Resource_NamedPort_DEFAULT string
var Resource_NumCpus_DEFAULT float64
var Resource_NumGpus_DEFAULT int64
var Resource_RamMb_DEFAULT int64
var SLAVE_ASSIGNED_STATES map[ScheduleStatus]bool
var TERMINAL_STATES map[ScheduleStatus]bool
var TaskConfig_ContactEmail_DEFAULT string
var TaskConfig_MesosFetcherUris_DEFAULT map[*MesosFetcherURI]bool
var TaskConfig_Metadata_DEFAULT map[*Metadata]bool
var TaskConfig_Production_DEFAULT bool
var TaskConfig_TaskLinks_DEFAULT map[string]string
var TaskConfig_Tier_DEFAULT string
var TaskEvent_Message_DEFAULT string
var TaskEvent_Scheduler_DEFAULT string
var TaskQuery_Environment_DEFAULT string
var TaskQuery_InstanceIds_DEFAULT map[int32]bool
var TaskQuery_JobKeys_DEFAULT map[*JobKey]bool
var TaskQuery_JobName_DEFAULT string
var TaskQuery_Limit_DEFAULT int32
var TaskQuery_Offset_DEFAULT int32
var TaskQuery_Role_DEFAULT string
var TaskQuery_SlaveHosts_DEFAULT map[string]bool
var TaskQuery_Statuses_DEFAULT map[ScheduleStatus]bool
var TaskQuery_TaskIds_DEFAULT map[string]bool
Functions ¶
This section is empty.
Types ¶
type AppcImage ¶
type AppcImage struct { Name string `thrift:"name,1" json:"name"` ImageId string `thrift:"imageId,2" json:"imageId"` }
Describes an image for use with the Mesos unified containerizer in the AppC format
Attributes:
- Name: The name of the image to run
- ImageId: The appc image id identifying the image
var Image_Appc_DEFAULT *AppcImage
func NewAppcImage ¶
func NewAppcImage() *AppcImage
func (*AppcImage) GetImageId ¶
type AssignedTask ¶
type AssignedTask struct { TaskId string `thrift:"taskId,1" json:"taskId"` SlaveId string `thrift:"slaveId,2" json:"slaveId"` SlaveHost string `thrift:"slaveHost,3" json:"slaveHost"` Task *TaskConfig `thrift:"task,4" json:"task"` AssignedPorts map[string]int32 `thrift:"assignedPorts,5" json:"assignedPorts"` InstanceId int32 `thrift:"instanceId,6" json:"instanceId"` }
A task assignment that is provided to an executor.
Attributes:
- TaskId: The mesos task ID for this task. Guaranteed to be globally unique
- SlaveId: The mesos slave ID that this task has been assigned to.
This will not be populated for a PENDING task.
- SlaveHost: The name of the machine that this task has been assigned to.
This will not be populated for a PENDING task.
- Task: Information about how to run this task.
- AssignedPorts: Ports reserved on the machine while this task is running.
- InstanceId: The instance ID assigned to this task. Instance IDs must be unique and contiguous within a
job, and will be in the range [0, N-1] (inclusive) for a job that has N instances.
var ScheduledTask_AssignedTask_DEFAULT *AssignedTask
func NewAssignedTask ¶
func NewAssignedTask() *AssignedTask
func (*AssignedTask) GetAssignedPorts ¶
func (p *AssignedTask) GetAssignedPorts() map[string]int32
func (*AssignedTask) GetInstanceId ¶
func (p *AssignedTask) GetInstanceId() int32
func (*AssignedTask) GetSlaveHost ¶
func (p *AssignedTask) GetSlaveHost() string
func (*AssignedTask) GetSlaveId ¶
func (p *AssignedTask) GetSlaveId() string
func (*AssignedTask) GetTask ¶
func (p *AssignedTask) GetTask() *TaskConfig
func (*AssignedTask) GetTaskId ¶
func (p *AssignedTask) GetTaskId() string
func (*AssignedTask) IsSetTask ¶
func (p *AssignedTask) IsSetTask() bool
func (*AssignedTask) String ¶
func (p *AssignedTask) String() string
type Attribute ¶
type Attribute struct { Name string `thrift:"name,1" json:"name"` Values map[string]bool `thrift:"values,2" json:"values"` }
A single host attribute.
Attributes:
- Name
- Values
func NewAttribute ¶
func NewAttribute() *Attribute
type AuroraAdmin ¶
type AuroraAdmin interface { AuroraSchedulerManager // Assign quota to a user. This will overwrite any pre-existing quota for the user. // // Parameters: // - OwnerRole // - Quota SetQuota(ownerRole string, quota *ResourceAggregate) (r *Response, err error) // Forces a task into a specific state. This does not guarantee the task will enter the given // state, as the task must still transition within the bounds of the state machine. However, // it attempts to enter that state via the state machine. // // Parameters: // - TaskId // - Status ForceTaskState(taskId string, status ScheduleStatus) (r *Response, err error) // Immediately writes a storage snapshot to disk. PerformBackup() (r *Response, err error) // Lists backups that are available for recovery. ListBackups() (r *Response, err error) // Loads a backup to an in-memory storage. This must precede all other recovery operations. // // Parameters: // - BackupId StageRecovery(backupId string) (r *Response, err error) // Queries for tasks in a staged recovery. // // Parameters: // - Query QueryRecovery(query *TaskQuery) (r *Response, err error) // Deletes tasks from a staged recovery. // // Parameters: // - Query DeleteRecoveryTasks(query *TaskQuery) (r *Response, err error) // Commits a staged recovery, completely replacing the previous storage state. CommitRecovery() (r *Response, err error) // Unloads (aborts) a staged recovery. UnloadRecovery() (r *Response, err error) // Put the given hosts into maintenance mode. // // Parameters: // - Hosts StartMaintenance(hosts *Hosts) (r *Response, err error) // Ask scheduler to begin moving tasks scheduled on given hosts. // // Parameters: // - Hosts DrainHosts(hosts *Hosts) (r *Response, err error) // Retrieve the current maintenance states for a group of hosts. // // Parameters: // - Hosts MaintenanceStatus(hosts *Hosts) (r *Response, err error) // Set the given hosts back into serving mode. // // Parameters: // - Hosts EndMaintenance(hosts *Hosts) (r *Response, err error) // Start a storage snapshot and block until it completes. Snapshot() (r *Response, err error) // Tell scheduler to trigger an explicit task reconciliation with the given settings. // // Parameters: // - Settings TriggerExplicitTaskReconciliation(settings *ExplicitReconciliationSettings) (r *Response, err error) // Tell scheduler to trigger an implicit task reconciliation. TriggerImplicitTaskReconciliation() (r *Response, err error) // Force prune any (terminal) tasks that match the query. If no statuses are supplied with the // query, it will default to all terminal task states. If statuses are supplied, they must be // terminal states. // // Parameters: // - Query PruneTasks(query *TaskQuery) (r *Response, err error) }
type AuroraAdminClient ¶
type AuroraAdminClient struct {
*AuroraSchedulerManagerClient
}
func NewAuroraAdminClientFactory ¶
func NewAuroraAdminClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AuroraAdminClient
func NewAuroraAdminClientProtocol ¶
func NewAuroraAdminClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuroraAdminClient
func (*AuroraAdminClient) CommitRecovery ¶
func (p *AuroraAdminClient) CommitRecovery() (r *Response, err error)
Commits a staged recovery, completely replacing the previous storage state.
func (*AuroraAdminClient) DeleteRecoveryTasks ¶
func (p *AuroraAdminClient) DeleteRecoveryTasks(query *TaskQuery) (r *Response, err error)
Deletes tasks from a staged recovery.
Parameters:
- Query
func (*AuroraAdminClient) DrainHosts ¶
func (p *AuroraAdminClient) DrainHosts(hosts *Hosts) (r *Response, err error)
Ask scheduler to begin moving tasks scheduled on given hosts.
Parameters:
- Hosts
func (*AuroraAdminClient) EndMaintenance ¶
func (p *AuroraAdminClient) EndMaintenance(hosts *Hosts) (r *Response, err error)
Set the given hosts back into serving mode.
Parameters:
- Hosts
func (*AuroraAdminClient) ForceTaskState ¶
func (p *AuroraAdminClient) ForceTaskState(taskId string, status ScheduleStatus) (r *Response, err error)
Forces a task into a specific state. This does not guarantee the task will enter the given state, as the task must still transition within the bounds of the state machine. However, it attempts to enter that state via the state machine.
Parameters:
- TaskId
- Status
func (*AuroraAdminClient) ListBackups ¶
func (p *AuroraAdminClient) ListBackups() (r *Response, err error)
Lists backups that are available for recovery.
func (*AuroraAdminClient) MaintenanceStatus ¶
func (p *AuroraAdminClient) MaintenanceStatus(hosts *Hosts) (r *Response, err error)
Retrieve the current maintenance states for a group of hosts.
Parameters:
- Hosts
func (*AuroraAdminClient) PerformBackup ¶
func (p *AuroraAdminClient) PerformBackup() (r *Response, err error)
Immediately writes a storage snapshot to disk.
func (*AuroraAdminClient) PruneTasks ¶ added in v1.1.0
func (p *AuroraAdminClient) PruneTasks(query *TaskQuery) (r *Response, err error)
Force prune any (terminal) tasks that match the query. If no statuses are supplied with the query, it will default to all terminal task states. If statuses are supplied, they must be terminal states.
Parameters:
- Query
func (*AuroraAdminClient) QueryRecovery ¶
func (p *AuroraAdminClient) QueryRecovery(query *TaskQuery) (r *Response, err error)
Queries for tasks in a staged recovery.
Parameters:
- Query
func (*AuroraAdminClient) SetQuota ¶
func (p *AuroraAdminClient) SetQuota(ownerRole string, quota *ResourceAggregate) (r *Response, err error)
Assign quota to a user. This will overwrite any pre-existing quota for the user.
Parameters:
- OwnerRole
- Quota
func (*AuroraAdminClient) Snapshot ¶
func (p *AuroraAdminClient) Snapshot() (r *Response, err error)
Start a storage snapshot and block until it completes.
func (*AuroraAdminClient) StageRecovery ¶
func (p *AuroraAdminClient) StageRecovery(backupId string) (r *Response, err error)
Loads a backup to an in-memory storage. This must precede all other recovery operations.
Parameters:
- BackupId
func (*AuroraAdminClient) StartMaintenance ¶
func (p *AuroraAdminClient) StartMaintenance(hosts *Hosts) (r *Response, err error)
Put the given hosts into maintenance mode.
Parameters:
- Hosts
func (*AuroraAdminClient) TriggerExplicitTaskReconciliation ¶
func (p *AuroraAdminClient) TriggerExplicitTaskReconciliation(settings *ExplicitReconciliationSettings) (r *Response, err error)
Tell scheduler to trigger an explicit task reconciliation with the given settings.
Parameters:
- Settings
func (*AuroraAdminClient) TriggerImplicitTaskReconciliation ¶
func (p *AuroraAdminClient) TriggerImplicitTaskReconciliation() (r *Response, err error)
Tell scheduler to trigger an implicit task reconciliation.
func (*AuroraAdminClient) UnloadRecovery ¶
func (p *AuroraAdminClient) UnloadRecovery() (r *Response, err error)
Unloads (aborts) a staged recovery.
type AuroraAdminCommitRecoveryArgs ¶
type AuroraAdminCommitRecoveryArgs struct { }
func NewAuroraAdminCommitRecoveryArgs ¶
func NewAuroraAdminCommitRecoveryArgs() *AuroraAdminCommitRecoveryArgs
func (*AuroraAdminCommitRecoveryArgs) Read ¶
func (p *AuroraAdminCommitRecoveryArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminCommitRecoveryArgs) String ¶
func (p *AuroraAdminCommitRecoveryArgs) String() string
type AuroraAdminCommitRecoveryResult ¶
type AuroraAdminCommitRecoveryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminCommitRecoveryResult ¶
func NewAuroraAdminCommitRecoveryResult() *AuroraAdminCommitRecoveryResult
func (*AuroraAdminCommitRecoveryResult) GetSuccess ¶
func (p *AuroraAdminCommitRecoveryResult) GetSuccess() *Response
func (*AuroraAdminCommitRecoveryResult) IsSetSuccess ¶
func (p *AuroraAdminCommitRecoveryResult) IsSetSuccess() bool
func (*AuroraAdminCommitRecoveryResult) Read ¶
func (p *AuroraAdminCommitRecoveryResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminCommitRecoveryResult) String ¶
func (p *AuroraAdminCommitRecoveryResult) String() string
type AuroraAdminDeleteRecoveryTasksArgs ¶
type AuroraAdminDeleteRecoveryTasksArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewAuroraAdminDeleteRecoveryTasksArgs ¶
func NewAuroraAdminDeleteRecoveryTasksArgs() *AuroraAdminDeleteRecoveryTasksArgs
func (*AuroraAdminDeleteRecoveryTasksArgs) GetQuery ¶
func (p *AuroraAdminDeleteRecoveryTasksArgs) GetQuery() *TaskQuery
func (*AuroraAdminDeleteRecoveryTasksArgs) IsSetQuery ¶
func (p *AuroraAdminDeleteRecoveryTasksArgs) IsSetQuery() bool
func (*AuroraAdminDeleteRecoveryTasksArgs) Read ¶
func (p *AuroraAdminDeleteRecoveryTasksArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminDeleteRecoveryTasksArgs) String ¶
func (p *AuroraAdminDeleteRecoveryTasksArgs) String() string
type AuroraAdminDeleteRecoveryTasksResult ¶
type AuroraAdminDeleteRecoveryTasksResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminDeleteRecoveryTasksResult ¶
func NewAuroraAdminDeleteRecoveryTasksResult() *AuroraAdminDeleteRecoveryTasksResult
func (*AuroraAdminDeleteRecoveryTasksResult) GetSuccess ¶
func (p *AuroraAdminDeleteRecoveryTasksResult) GetSuccess() *Response
func (*AuroraAdminDeleteRecoveryTasksResult) IsSetSuccess ¶
func (p *AuroraAdminDeleteRecoveryTasksResult) IsSetSuccess() bool
func (*AuroraAdminDeleteRecoveryTasksResult) Read ¶
func (p *AuroraAdminDeleteRecoveryTasksResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminDeleteRecoveryTasksResult) String ¶
func (p *AuroraAdminDeleteRecoveryTasksResult) String() string
type AuroraAdminDrainHostsArgs ¶
type AuroraAdminDrainHostsArgs struct {
Hosts *Hosts `thrift:"hosts,1" json:"hosts"`
}
Attributes:
- Hosts
func NewAuroraAdminDrainHostsArgs ¶
func NewAuroraAdminDrainHostsArgs() *AuroraAdminDrainHostsArgs
func (*AuroraAdminDrainHostsArgs) GetHosts ¶
func (p *AuroraAdminDrainHostsArgs) GetHosts() *Hosts
func (*AuroraAdminDrainHostsArgs) IsSetHosts ¶
func (p *AuroraAdminDrainHostsArgs) IsSetHosts() bool
func (*AuroraAdminDrainHostsArgs) Read ¶
func (p *AuroraAdminDrainHostsArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminDrainHostsArgs) String ¶
func (p *AuroraAdminDrainHostsArgs) String() string
type AuroraAdminDrainHostsResult ¶
type AuroraAdminDrainHostsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminDrainHostsResult ¶
func NewAuroraAdminDrainHostsResult() *AuroraAdminDrainHostsResult
func (*AuroraAdminDrainHostsResult) GetSuccess ¶
func (p *AuroraAdminDrainHostsResult) GetSuccess() *Response
func (*AuroraAdminDrainHostsResult) IsSetSuccess ¶
func (p *AuroraAdminDrainHostsResult) IsSetSuccess() bool
func (*AuroraAdminDrainHostsResult) Read ¶
func (p *AuroraAdminDrainHostsResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminDrainHostsResult) String ¶
func (p *AuroraAdminDrainHostsResult) String() string
type AuroraAdminEndMaintenanceArgs ¶
type AuroraAdminEndMaintenanceArgs struct {
Hosts *Hosts `thrift:"hosts,1" json:"hosts"`
}
Attributes:
- Hosts
func NewAuroraAdminEndMaintenanceArgs ¶
func NewAuroraAdminEndMaintenanceArgs() *AuroraAdminEndMaintenanceArgs
func (*AuroraAdminEndMaintenanceArgs) GetHosts ¶
func (p *AuroraAdminEndMaintenanceArgs) GetHosts() *Hosts
func (*AuroraAdminEndMaintenanceArgs) IsSetHosts ¶
func (p *AuroraAdminEndMaintenanceArgs) IsSetHosts() bool
func (*AuroraAdminEndMaintenanceArgs) Read ¶
func (p *AuroraAdminEndMaintenanceArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminEndMaintenanceArgs) String ¶
func (p *AuroraAdminEndMaintenanceArgs) String() string
type AuroraAdminEndMaintenanceResult ¶
type AuroraAdminEndMaintenanceResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminEndMaintenanceResult ¶
func NewAuroraAdminEndMaintenanceResult() *AuroraAdminEndMaintenanceResult
func (*AuroraAdminEndMaintenanceResult) GetSuccess ¶
func (p *AuroraAdminEndMaintenanceResult) GetSuccess() *Response
func (*AuroraAdminEndMaintenanceResult) IsSetSuccess ¶
func (p *AuroraAdminEndMaintenanceResult) IsSetSuccess() bool
func (*AuroraAdminEndMaintenanceResult) Read ¶
func (p *AuroraAdminEndMaintenanceResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminEndMaintenanceResult) String ¶
func (p *AuroraAdminEndMaintenanceResult) String() string
type AuroraAdminForceTaskStateArgs ¶
type AuroraAdminForceTaskStateArgs struct { TaskId string `thrift:"taskId,1" json:"taskId"` Status ScheduleStatus `thrift:"status,2" json:"status"` }
Attributes:
- TaskId
- Status
func NewAuroraAdminForceTaskStateArgs ¶
func NewAuroraAdminForceTaskStateArgs() *AuroraAdminForceTaskStateArgs
func (*AuroraAdminForceTaskStateArgs) GetStatus ¶
func (p *AuroraAdminForceTaskStateArgs) GetStatus() ScheduleStatus
func (*AuroraAdminForceTaskStateArgs) GetTaskId ¶
func (p *AuroraAdminForceTaskStateArgs) GetTaskId() string
func (*AuroraAdminForceTaskStateArgs) Read ¶
func (p *AuroraAdminForceTaskStateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminForceTaskStateArgs) String ¶
func (p *AuroraAdminForceTaskStateArgs) String() string
type AuroraAdminForceTaskStateResult ¶
type AuroraAdminForceTaskStateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminForceTaskStateResult ¶
func NewAuroraAdminForceTaskStateResult() *AuroraAdminForceTaskStateResult
func (*AuroraAdminForceTaskStateResult) GetSuccess ¶
func (p *AuroraAdminForceTaskStateResult) GetSuccess() *Response
func (*AuroraAdminForceTaskStateResult) IsSetSuccess ¶
func (p *AuroraAdminForceTaskStateResult) IsSetSuccess() bool
func (*AuroraAdminForceTaskStateResult) Read ¶
func (p *AuroraAdminForceTaskStateResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminForceTaskStateResult) String ¶
func (p *AuroraAdminForceTaskStateResult) String() string
type AuroraAdminListBackupsArgs ¶
type AuroraAdminListBackupsArgs struct { }
func NewAuroraAdminListBackupsArgs ¶
func NewAuroraAdminListBackupsArgs() *AuroraAdminListBackupsArgs
func (*AuroraAdminListBackupsArgs) Read ¶
func (p *AuroraAdminListBackupsArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminListBackupsArgs) String ¶
func (p *AuroraAdminListBackupsArgs) String() string
type AuroraAdminListBackupsResult ¶
type AuroraAdminListBackupsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminListBackupsResult ¶
func NewAuroraAdminListBackupsResult() *AuroraAdminListBackupsResult
func (*AuroraAdminListBackupsResult) GetSuccess ¶
func (p *AuroraAdminListBackupsResult) GetSuccess() *Response
func (*AuroraAdminListBackupsResult) IsSetSuccess ¶
func (p *AuroraAdminListBackupsResult) IsSetSuccess() bool
func (*AuroraAdminListBackupsResult) Read ¶
func (p *AuroraAdminListBackupsResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminListBackupsResult) String ¶
func (p *AuroraAdminListBackupsResult) String() string
type AuroraAdminMaintenanceStatusArgs ¶
type AuroraAdminMaintenanceStatusArgs struct {
Hosts *Hosts `thrift:"hosts,1" json:"hosts"`
}
Attributes:
- Hosts
func NewAuroraAdminMaintenanceStatusArgs ¶
func NewAuroraAdminMaintenanceStatusArgs() *AuroraAdminMaintenanceStatusArgs
func (*AuroraAdminMaintenanceStatusArgs) GetHosts ¶
func (p *AuroraAdminMaintenanceStatusArgs) GetHosts() *Hosts
func (*AuroraAdminMaintenanceStatusArgs) IsSetHosts ¶
func (p *AuroraAdminMaintenanceStatusArgs) IsSetHosts() bool
func (*AuroraAdminMaintenanceStatusArgs) Read ¶
func (p *AuroraAdminMaintenanceStatusArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminMaintenanceStatusArgs) String ¶
func (p *AuroraAdminMaintenanceStatusArgs) String() string
type AuroraAdminMaintenanceStatusResult ¶
type AuroraAdminMaintenanceStatusResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminMaintenanceStatusResult ¶
func NewAuroraAdminMaintenanceStatusResult() *AuroraAdminMaintenanceStatusResult
func (*AuroraAdminMaintenanceStatusResult) GetSuccess ¶
func (p *AuroraAdminMaintenanceStatusResult) GetSuccess() *Response
func (*AuroraAdminMaintenanceStatusResult) IsSetSuccess ¶
func (p *AuroraAdminMaintenanceStatusResult) IsSetSuccess() bool
func (*AuroraAdminMaintenanceStatusResult) Read ¶
func (p *AuroraAdminMaintenanceStatusResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminMaintenanceStatusResult) String ¶
func (p *AuroraAdminMaintenanceStatusResult) String() string
type AuroraAdminPerformBackupArgs ¶
type AuroraAdminPerformBackupArgs struct { }
func NewAuroraAdminPerformBackupArgs ¶
func NewAuroraAdminPerformBackupArgs() *AuroraAdminPerformBackupArgs
func (*AuroraAdminPerformBackupArgs) Read ¶
func (p *AuroraAdminPerformBackupArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminPerformBackupArgs) String ¶
func (p *AuroraAdminPerformBackupArgs) String() string
type AuroraAdminPerformBackupResult ¶
type AuroraAdminPerformBackupResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminPerformBackupResult ¶
func NewAuroraAdminPerformBackupResult() *AuroraAdminPerformBackupResult
func (*AuroraAdminPerformBackupResult) GetSuccess ¶
func (p *AuroraAdminPerformBackupResult) GetSuccess() *Response
func (*AuroraAdminPerformBackupResult) IsSetSuccess ¶
func (p *AuroraAdminPerformBackupResult) IsSetSuccess() bool
func (*AuroraAdminPerformBackupResult) Read ¶
func (p *AuroraAdminPerformBackupResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminPerformBackupResult) String ¶
func (p *AuroraAdminPerformBackupResult) String() string
type AuroraAdminProcessor ¶
type AuroraAdminProcessor struct {
*AuroraSchedulerManagerProcessor
}
func NewAuroraAdminProcessor ¶
func NewAuroraAdminProcessor(handler AuroraAdmin) *AuroraAdminProcessor
type AuroraAdminPruneTasksArgs ¶ added in v1.1.0
type AuroraAdminPruneTasksArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewAuroraAdminPruneTasksArgs ¶ added in v1.1.0
func NewAuroraAdminPruneTasksArgs() *AuroraAdminPruneTasksArgs
func (*AuroraAdminPruneTasksArgs) GetQuery ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksArgs) GetQuery() *TaskQuery
func (*AuroraAdminPruneTasksArgs) IsSetQuery ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksArgs) IsSetQuery() bool
func (*AuroraAdminPruneTasksArgs) Read ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminPruneTasksArgs) String ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksArgs) String() string
type AuroraAdminPruneTasksResult ¶ added in v1.1.0
type AuroraAdminPruneTasksResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminPruneTasksResult ¶ added in v1.1.0
func NewAuroraAdminPruneTasksResult() *AuroraAdminPruneTasksResult
func (*AuroraAdminPruneTasksResult) GetSuccess ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksResult) GetSuccess() *Response
func (*AuroraAdminPruneTasksResult) IsSetSuccess ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksResult) IsSetSuccess() bool
func (*AuroraAdminPruneTasksResult) Read ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminPruneTasksResult) String ¶ added in v1.1.0
func (p *AuroraAdminPruneTasksResult) String() string
type AuroraAdminQueryRecoveryArgs ¶
type AuroraAdminQueryRecoveryArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewAuroraAdminQueryRecoveryArgs ¶
func NewAuroraAdminQueryRecoveryArgs() *AuroraAdminQueryRecoveryArgs
func (*AuroraAdminQueryRecoveryArgs) GetQuery ¶
func (p *AuroraAdminQueryRecoveryArgs) GetQuery() *TaskQuery
func (*AuroraAdminQueryRecoveryArgs) IsSetQuery ¶
func (p *AuroraAdminQueryRecoveryArgs) IsSetQuery() bool
func (*AuroraAdminQueryRecoveryArgs) Read ¶
func (p *AuroraAdminQueryRecoveryArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminQueryRecoveryArgs) String ¶
func (p *AuroraAdminQueryRecoveryArgs) String() string
type AuroraAdminQueryRecoveryResult ¶
type AuroraAdminQueryRecoveryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminQueryRecoveryResult ¶
func NewAuroraAdminQueryRecoveryResult() *AuroraAdminQueryRecoveryResult
func (*AuroraAdminQueryRecoveryResult) GetSuccess ¶
func (p *AuroraAdminQueryRecoveryResult) GetSuccess() *Response
func (*AuroraAdminQueryRecoveryResult) IsSetSuccess ¶
func (p *AuroraAdminQueryRecoveryResult) IsSetSuccess() bool
func (*AuroraAdminQueryRecoveryResult) Read ¶
func (p *AuroraAdminQueryRecoveryResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminQueryRecoveryResult) String ¶
func (p *AuroraAdminQueryRecoveryResult) String() string
type AuroraAdminSetQuotaArgs ¶
type AuroraAdminSetQuotaArgs struct { OwnerRole string `thrift:"ownerRole,1" json:"ownerRole"` Quota *ResourceAggregate `thrift:"quota,2" json:"quota"` }
Attributes:
- OwnerRole
- Quota
func NewAuroraAdminSetQuotaArgs ¶
func NewAuroraAdminSetQuotaArgs() *AuroraAdminSetQuotaArgs
func (*AuroraAdminSetQuotaArgs) GetOwnerRole ¶
func (p *AuroraAdminSetQuotaArgs) GetOwnerRole() string
func (*AuroraAdminSetQuotaArgs) GetQuota ¶
func (p *AuroraAdminSetQuotaArgs) GetQuota() *ResourceAggregate
func (*AuroraAdminSetQuotaArgs) IsSetQuota ¶
func (p *AuroraAdminSetQuotaArgs) IsSetQuota() bool
func (*AuroraAdminSetQuotaArgs) Read ¶
func (p *AuroraAdminSetQuotaArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminSetQuotaArgs) String ¶
func (p *AuroraAdminSetQuotaArgs) String() string
type AuroraAdminSetQuotaResult ¶
type AuroraAdminSetQuotaResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminSetQuotaResult ¶
func NewAuroraAdminSetQuotaResult() *AuroraAdminSetQuotaResult
func (*AuroraAdminSetQuotaResult) GetSuccess ¶
func (p *AuroraAdminSetQuotaResult) GetSuccess() *Response
func (*AuroraAdminSetQuotaResult) IsSetSuccess ¶
func (p *AuroraAdminSetQuotaResult) IsSetSuccess() bool
func (*AuroraAdminSetQuotaResult) Read ¶
func (p *AuroraAdminSetQuotaResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminSetQuotaResult) String ¶
func (p *AuroraAdminSetQuotaResult) String() string
type AuroraAdminSnapshotArgs ¶
type AuroraAdminSnapshotArgs struct { }
func NewAuroraAdminSnapshotArgs ¶
func NewAuroraAdminSnapshotArgs() *AuroraAdminSnapshotArgs
func (*AuroraAdminSnapshotArgs) Read ¶
func (p *AuroraAdminSnapshotArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminSnapshotArgs) String ¶
func (p *AuroraAdminSnapshotArgs) String() string
type AuroraAdminSnapshotResult ¶
type AuroraAdminSnapshotResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminSnapshotResult ¶
func NewAuroraAdminSnapshotResult() *AuroraAdminSnapshotResult
func (*AuroraAdminSnapshotResult) GetSuccess ¶
func (p *AuroraAdminSnapshotResult) GetSuccess() *Response
func (*AuroraAdminSnapshotResult) IsSetSuccess ¶
func (p *AuroraAdminSnapshotResult) IsSetSuccess() bool
func (*AuroraAdminSnapshotResult) Read ¶
func (p *AuroraAdminSnapshotResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminSnapshotResult) String ¶
func (p *AuroraAdminSnapshotResult) String() string
type AuroraAdminStageRecoveryArgs ¶
type AuroraAdminStageRecoveryArgs struct {
BackupId string `thrift:"backupId,1" json:"backupId"`
}
Attributes:
- BackupId
func NewAuroraAdminStageRecoveryArgs ¶
func NewAuroraAdminStageRecoveryArgs() *AuroraAdminStageRecoveryArgs
func (*AuroraAdminStageRecoveryArgs) GetBackupId ¶
func (p *AuroraAdminStageRecoveryArgs) GetBackupId() string
func (*AuroraAdminStageRecoveryArgs) Read ¶
func (p *AuroraAdminStageRecoveryArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminStageRecoveryArgs) String ¶
func (p *AuroraAdminStageRecoveryArgs) String() string
type AuroraAdminStageRecoveryResult ¶
type AuroraAdminStageRecoveryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminStageRecoveryResult ¶
func NewAuroraAdminStageRecoveryResult() *AuroraAdminStageRecoveryResult
func (*AuroraAdminStageRecoveryResult) GetSuccess ¶
func (p *AuroraAdminStageRecoveryResult) GetSuccess() *Response
func (*AuroraAdminStageRecoveryResult) IsSetSuccess ¶
func (p *AuroraAdminStageRecoveryResult) IsSetSuccess() bool
func (*AuroraAdminStageRecoveryResult) Read ¶
func (p *AuroraAdminStageRecoveryResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminStageRecoveryResult) String ¶
func (p *AuroraAdminStageRecoveryResult) String() string
type AuroraAdminStartMaintenanceArgs ¶
type AuroraAdminStartMaintenanceArgs struct {
Hosts *Hosts `thrift:"hosts,1" json:"hosts"`
}
Attributes:
- Hosts
func NewAuroraAdminStartMaintenanceArgs ¶
func NewAuroraAdminStartMaintenanceArgs() *AuroraAdminStartMaintenanceArgs
func (*AuroraAdminStartMaintenanceArgs) GetHosts ¶
func (p *AuroraAdminStartMaintenanceArgs) GetHosts() *Hosts
func (*AuroraAdminStartMaintenanceArgs) IsSetHosts ¶
func (p *AuroraAdminStartMaintenanceArgs) IsSetHosts() bool
func (*AuroraAdminStartMaintenanceArgs) Read ¶
func (p *AuroraAdminStartMaintenanceArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminStartMaintenanceArgs) String ¶
func (p *AuroraAdminStartMaintenanceArgs) String() string
type AuroraAdminStartMaintenanceResult ¶
type AuroraAdminStartMaintenanceResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminStartMaintenanceResult ¶
func NewAuroraAdminStartMaintenanceResult() *AuroraAdminStartMaintenanceResult
func (*AuroraAdminStartMaintenanceResult) GetSuccess ¶
func (p *AuroraAdminStartMaintenanceResult) GetSuccess() *Response
func (*AuroraAdminStartMaintenanceResult) IsSetSuccess ¶
func (p *AuroraAdminStartMaintenanceResult) IsSetSuccess() bool
func (*AuroraAdminStartMaintenanceResult) Read ¶
func (p *AuroraAdminStartMaintenanceResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminStartMaintenanceResult) String ¶
func (p *AuroraAdminStartMaintenanceResult) String() string
type AuroraAdminTriggerExplicitTaskReconciliationArgs ¶
type AuroraAdminTriggerExplicitTaskReconciliationArgs struct {
Settings *ExplicitReconciliationSettings `thrift:"settings,1" json:"settings"`
}
Attributes:
- Settings
func NewAuroraAdminTriggerExplicitTaskReconciliationArgs ¶
func NewAuroraAdminTriggerExplicitTaskReconciliationArgs() *AuroraAdminTriggerExplicitTaskReconciliationArgs
func (*AuroraAdminTriggerExplicitTaskReconciliationArgs) GetSettings ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) GetSettings() *ExplicitReconciliationSettings
func (*AuroraAdminTriggerExplicitTaskReconciliationArgs) IsSetSettings ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) IsSetSettings() bool
func (*AuroraAdminTriggerExplicitTaskReconciliationArgs) Read ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminTriggerExplicitTaskReconciliationArgs) String ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationArgs) String() string
type AuroraAdminTriggerExplicitTaskReconciliationResult ¶
type AuroraAdminTriggerExplicitTaskReconciliationResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminTriggerExplicitTaskReconciliationResult ¶
func NewAuroraAdminTriggerExplicitTaskReconciliationResult() *AuroraAdminTriggerExplicitTaskReconciliationResult
func (*AuroraAdminTriggerExplicitTaskReconciliationResult) GetSuccess ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) GetSuccess() *Response
func (*AuroraAdminTriggerExplicitTaskReconciliationResult) IsSetSuccess ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) IsSetSuccess() bool
func (*AuroraAdminTriggerExplicitTaskReconciliationResult) Read ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminTriggerExplicitTaskReconciliationResult) String ¶
func (p *AuroraAdminTriggerExplicitTaskReconciliationResult) String() string
type AuroraAdminTriggerImplicitTaskReconciliationArgs ¶
type AuroraAdminTriggerImplicitTaskReconciliationArgs struct { }
func NewAuroraAdminTriggerImplicitTaskReconciliationArgs ¶
func NewAuroraAdminTriggerImplicitTaskReconciliationArgs() *AuroraAdminTriggerImplicitTaskReconciliationArgs
func (*AuroraAdminTriggerImplicitTaskReconciliationArgs) Read ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminTriggerImplicitTaskReconciliationArgs) String ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationArgs) String() string
type AuroraAdminTriggerImplicitTaskReconciliationResult ¶
type AuroraAdminTriggerImplicitTaskReconciliationResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminTriggerImplicitTaskReconciliationResult ¶
func NewAuroraAdminTriggerImplicitTaskReconciliationResult() *AuroraAdminTriggerImplicitTaskReconciliationResult
func (*AuroraAdminTriggerImplicitTaskReconciliationResult) GetSuccess ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) GetSuccess() *Response
func (*AuroraAdminTriggerImplicitTaskReconciliationResult) IsSetSuccess ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) IsSetSuccess() bool
func (*AuroraAdminTriggerImplicitTaskReconciliationResult) Read ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminTriggerImplicitTaskReconciliationResult) String ¶
func (p *AuroraAdminTriggerImplicitTaskReconciliationResult) String() string
type AuroraAdminUnloadRecoveryArgs ¶
type AuroraAdminUnloadRecoveryArgs struct { }
func NewAuroraAdminUnloadRecoveryArgs ¶
func NewAuroraAdminUnloadRecoveryArgs() *AuroraAdminUnloadRecoveryArgs
func (*AuroraAdminUnloadRecoveryArgs) Read ¶
func (p *AuroraAdminUnloadRecoveryArgs) Read(iprot thrift.TProtocol) error
func (*AuroraAdminUnloadRecoveryArgs) String ¶
func (p *AuroraAdminUnloadRecoveryArgs) String() string
type AuroraAdminUnloadRecoveryResult ¶
type AuroraAdminUnloadRecoveryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraAdminUnloadRecoveryResult ¶
func NewAuroraAdminUnloadRecoveryResult() *AuroraAdminUnloadRecoveryResult
func (*AuroraAdminUnloadRecoveryResult) GetSuccess ¶
func (p *AuroraAdminUnloadRecoveryResult) GetSuccess() *Response
func (*AuroraAdminUnloadRecoveryResult) IsSetSuccess ¶
func (p *AuroraAdminUnloadRecoveryResult) IsSetSuccess() bool
func (*AuroraAdminUnloadRecoveryResult) Read ¶
func (p *AuroraAdminUnloadRecoveryResult) Read(iprot thrift.TProtocol) error
func (*AuroraAdminUnloadRecoveryResult) String ¶
func (p *AuroraAdminUnloadRecoveryResult) String() string
type AuroraSchedulerManager ¶
type AuroraSchedulerManager interface { ReadOnlyScheduler // Creates a new job. The request will be denied if a job with the provided name already exists // in the cluster. // // Parameters: // - Description CreateJob(description *JobConfiguration) (r *Response, err error) // Enters a job into the cron schedule, without actually starting the job. // If the job is already present in the schedule, this will update the schedule entry with the new // configuration. // // Parameters: // - Description ScheduleCronJob(description *JobConfiguration) (r *Response, err error) // Removes a job from the cron schedule. The request will be denied if the job was not previously // scheduled with scheduleCronJob. // // Parameters: // - Job DescheduleCronJob(job *JobKey) (r *Response, err error) // Starts a cron job immediately. The request will be denied if the specified job does not // exist for the role account, or the job is not a cron job. // // Parameters: // - Job StartCronJob(job *JobKey) (r *Response, err error) // Restarts a batch of shards. // // Parameters: // - Job // - ShardIds RestartShards(job *JobKey, shardIds map[int32]bool) (r *Response, err error) // Initiates a kill on tasks. // // Parameters: // - Job // - Instances // - Message KillTasks(job *JobKey, instances map[int32]bool, message string) (r *Response, err error) // Adds new instances with the TaskConfig of the existing instance pointed by the key. // // Parameters: // - Key // - Count AddInstances(key *InstanceKey, count int32) (r *Response, err error) // Replaces the template (configuration) for the existing cron job. // The cron job template (configuration) must exist for the call to succeed. // // Parameters: // - Config ReplaceCronTemplate(config *JobConfiguration) (r *Response, err error) // Starts update of the existing service job. // // Parameters: // - Request: A description of how to change the job. // - Message: A user-specified message to include with the induced job update state change. StartJobUpdate(request *JobUpdateRequest, message string) (r *Response, err error) // Pauses the specified job update. Can be resumed by resumeUpdate call. // // Parameters: // - Key: The update to pause. // - Message: A user-specified message to include with the induced job update state change. PauseJobUpdate(key *JobUpdateKey, message string) (r *Response, err error) // Resumes progress of a previously paused job update. // // Parameters: // - Key: The update to resume. // - Message: A user-specified message to include with the induced job update state change. ResumeJobUpdate(key *JobUpdateKey, message string) (r *Response, err error) // Permanently aborts the job update. Does not remove the update history. // // Parameters: // - Key: The update to abort. // - Message: A user-specified message to include with the induced job update state change. AbortJobUpdate(key *JobUpdateKey, message string) (r *Response, err error) // Rollbacks the specified active job update to the initial state. // // Parameters: // - Key: The update to rollback. // - Message: A user-specified message to include with the induced job update state change. RollbackJobUpdate(key *JobUpdateKey, message string) (r *Response, err error) // Allows progress of the job update in case blockIfNoPulsesAfterMs is specified in // JobUpdateSettings. Unblocks progress if the update was previously blocked. // Responds with ResponseCode.INVALID_REQUEST in case an unknown update key is specified. // // Parameters: // - Key PulseJobUpdate(key *JobUpdateKey) (r *Response, err error) }
type AuroraSchedulerManagerAbortJobUpdateArgs ¶
type AuroraSchedulerManagerAbortJobUpdateArgs struct { Key *JobUpdateKey `thrift:"key,1" json:"key"` // unused field # 2 Message string `thrift:"message,3" json:"message"` }
Attributes:
- Key: The update to abort.
- Message: A user-specified message to include with the induced job update state change.
func NewAuroraSchedulerManagerAbortJobUpdateArgs ¶
func NewAuroraSchedulerManagerAbortJobUpdateArgs() *AuroraSchedulerManagerAbortJobUpdateArgs
func (*AuroraSchedulerManagerAbortJobUpdateArgs) GetKey ¶
func (p *AuroraSchedulerManagerAbortJobUpdateArgs) GetKey() *JobUpdateKey
func (*AuroraSchedulerManagerAbortJobUpdateArgs) GetMessage ¶
func (p *AuroraSchedulerManagerAbortJobUpdateArgs) GetMessage() string
func (*AuroraSchedulerManagerAbortJobUpdateArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerAbortJobUpdateArgs) IsSetKey() bool
func (*AuroraSchedulerManagerAbortJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerAbortJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerAbortJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerAbortJobUpdateArgs) String() string
type AuroraSchedulerManagerAbortJobUpdateResult ¶
type AuroraSchedulerManagerAbortJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerAbortJobUpdateResult ¶
func NewAuroraSchedulerManagerAbortJobUpdateResult() *AuroraSchedulerManagerAbortJobUpdateResult
func (*AuroraSchedulerManagerAbortJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerAbortJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerAbortJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerAbortJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerAbortJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerAbortJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerAbortJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerAbortJobUpdateResult) String() string
type AuroraSchedulerManagerAddInstancesArgs ¶
type AuroraSchedulerManagerAddInstancesArgs struct { // unused fields # 1 to 2 Key *InstanceKey `thrift:"key,3" json:"key"` Count int32 `thrift:"count,4" json:"count"` }
Attributes:
- Key
- Count
func NewAuroraSchedulerManagerAddInstancesArgs ¶
func NewAuroraSchedulerManagerAddInstancesArgs() *AuroraSchedulerManagerAddInstancesArgs
func (*AuroraSchedulerManagerAddInstancesArgs) GetCount ¶
func (p *AuroraSchedulerManagerAddInstancesArgs) GetCount() int32
func (*AuroraSchedulerManagerAddInstancesArgs) GetKey ¶
func (p *AuroraSchedulerManagerAddInstancesArgs) GetKey() *InstanceKey
func (*AuroraSchedulerManagerAddInstancesArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerAddInstancesArgs) IsSetKey() bool
func (*AuroraSchedulerManagerAddInstancesArgs) Read ¶
func (p *AuroraSchedulerManagerAddInstancesArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerAddInstancesArgs) String ¶
func (p *AuroraSchedulerManagerAddInstancesArgs) String() string
type AuroraSchedulerManagerAddInstancesResult ¶
type AuroraSchedulerManagerAddInstancesResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerAddInstancesResult ¶
func NewAuroraSchedulerManagerAddInstancesResult() *AuroraSchedulerManagerAddInstancesResult
func (*AuroraSchedulerManagerAddInstancesResult) GetSuccess ¶
func (p *AuroraSchedulerManagerAddInstancesResult) GetSuccess() *Response
func (*AuroraSchedulerManagerAddInstancesResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerAddInstancesResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerAddInstancesResult) Read ¶
func (p *AuroraSchedulerManagerAddInstancesResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerAddInstancesResult) String ¶
func (p *AuroraSchedulerManagerAddInstancesResult) String() string
type AuroraSchedulerManagerClient ¶
type AuroraSchedulerManagerClient struct {
*ReadOnlySchedulerClient
}
func NewAuroraSchedulerManagerClientFactory ¶
func NewAuroraSchedulerManagerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *AuroraSchedulerManagerClient
func NewAuroraSchedulerManagerClientProtocol ¶
func NewAuroraSchedulerManagerClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuroraSchedulerManagerClient
func (*AuroraSchedulerManagerClient) AbortJobUpdate ¶
func (p *AuroraSchedulerManagerClient) AbortJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
Permanently aborts the job update. Does not remove the update history.
Parameters:
- Key: The update to abort.
- Message: A user-specified message to include with the induced job update state change.
func (*AuroraSchedulerManagerClient) AddInstances ¶
func (p *AuroraSchedulerManagerClient) AddInstances(key *InstanceKey, count int32) (r *Response, err error)
Adds new instances with the TaskConfig of the existing instance pointed by the key.
Parameters:
- Key
- Count
func (*AuroraSchedulerManagerClient) CreateJob ¶
func (p *AuroraSchedulerManagerClient) CreateJob(description *JobConfiguration) (r *Response, err error)
Creates a new job. The request will be denied if a job with the provided name already exists in the cluster.
Parameters:
- Description
func (*AuroraSchedulerManagerClient) DescheduleCronJob ¶
func (p *AuroraSchedulerManagerClient) DescheduleCronJob(job *JobKey) (r *Response, err error)
Removes a job from the cron schedule. The request will be denied if the job was not previously scheduled with scheduleCronJob.
Parameters:
- Job
func (*AuroraSchedulerManagerClient) KillTasks ¶
func (p *AuroraSchedulerManagerClient) KillTasks(job *JobKey, instances map[int32]bool, message string) (r *Response, err error)
Initiates a kill on tasks.
Parameters:
- Job
- Instances
- Message
func (*AuroraSchedulerManagerClient) PauseJobUpdate ¶
func (p *AuroraSchedulerManagerClient) PauseJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
Pauses the specified job update. Can be resumed by resumeUpdate call.
Parameters:
- Key: The update to pause.
- Message: A user-specified message to include with the induced job update state change.
func (*AuroraSchedulerManagerClient) PulseJobUpdate ¶
func (p *AuroraSchedulerManagerClient) PulseJobUpdate(key *JobUpdateKey) (r *Response, err error)
Allows progress of the job update in case blockIfNoPulsesAfterMs is specified in JobUpdateSettings. Unblocks progress if the update was previously blocked. Responds with ResponseCode.INVALID_REQUEST in case an unknown update key is specified.
Parameters:
- Key
func (*AuroraSchedulerManagerClient) ReplaceCronTemplate ¶
func (p *AuroraSchedulerManagerClient) ReplaceCronTemplate(config *JobConfiguration) (r *Response, err error)
Replaces the template (configuration) for the existing cron job. The cron job template (configuration) must exist for the call to succeed.
Parameters:
- Config
func (*AuroraSchedulerManagerClient) RestartShards ¶
func (p *AuroraSchedulerManagerClient) RestartShards(job *JobKey, shardIds map[int32]bool) (r *Response, err error)
Restarts a batch of shards.
Parameters:
- Job
- ShardIds
func (*AuroraSchedulerManagerClient) ResumeJobUpdate ¶
func (p *AuroraSchedulerManagerClient) ResumeJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
Resumes progress of a previously paused job update.
Parameters:
- Key: The update to resume.
- Message: A user-specified message to include with the induced job update state change.
func (*AuroraSchedulerManagerClient) RollbackJobUpdate ¶
func (p *AuroraSchedulerManagerClient) RollbackJobUpdate(key *JobUpdateKey, message string) (r *Response, err error)
Rollbacks the specified active job update to the initial state.
Parameters:
- Key: The update to rollback.
- Message: A user-specified message to include with the induced job update state change.
func (*AuroraSchedulerManagerClient) ScheduleCronJob ¶
func (p *AuroraSchedulerManagerClient) ScheduleCronJob(description *JobConfiguration) (r *Response, err error)
Enters a job into the cron schedule, without actually starting the job. If the job is already present in the schedule, this will update the schedule entry with the new configuration.
Parameters:
- Description
func (*AuroraSchedulerManagerClient) StartCronJob ¶
func (p *AuroraSchedulerManagerClient) StartCronJob(job *JobKey) (r *Response, err error)
Starts a cron job immediately. The request will be denied if the specified job does not exist for the role account, or the job is not a cron job.
Parameters:
- Job
func (*AuroraSchedulerManagerClient) StartJobUpdate ¶
func (p *AuroraSchedulerManagerClient) StartJobUpdate(request *JobUpdateRequest, message string) (r *Response, err error)
Starts update of the existing service job.
Parameters:
- Request: A description of how to change the job.
- Message: A user-specified message to include with the induced job update state change.
type AuroraSchedulerManagerCreateJobArgs ¶
type AuroraSchedulerManagerCreateJobArgs struct {
Description *JobConfiguration `thrift:"description,1" json:"description"`
}
Attributes:
- Description
func NewAuroraSchedulerManagerCreateJobArgs ¶
func NewAuroraSchedulerManagerCreateJobArgs() *AuroraSchedulerManagerCreateJobArgs
func (*AuroraSchedulerManagerCreateJobArgs) GetDescription ¶
func (p *AuroraSchedulerManagerCreateJobArgs) GetDescription() *JobConfiguration
func (*AuroraSchedulerManagerCreateJobArgs) IsSetDescription ¶
func (p *AuroraSchedulerManagerCreateJobArgs) IsSetDescription() bool
func (*AuroraSchedulerManagerCreateJobArgs) Read ¶
func (p *AuroraSchedulerManagerCreateJobArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerCreateJobArgs) String ¶
func (p *AuroraSchedulerManagerCreateJobArgs) String() string
type AuroraSchedulerManagerCreateJobResult ¶
type AuroraSchedulerManagerCreateJobResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerCreateJobResult ¶
func NewAuroraSchedulerManagerCreateJobResult() *AuroraSchedulerManagerCreateJobResult
func (*AuroraSchedulerManagerCreateJobResult) GetSuccess ¶
func (p *AuroraSchedulerManagerCreateJobResult) GetSuccess() *Response
func (*AuroraSchedulerManagerCreateJobResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerCreateJobResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerCreateJobResult) Read ¶
func (p *AuroraSchedulerManagerCreateJobResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerCreateJobResult) String ¶
func (p *AuroraSchedulerManagerCreateJobResult) String() string
type AuroraSchedulerManagerDescheduleCronJobArgs ¶
type AuroraSchedulerManagerDescheduleCronJobArgs struct { // unused fields # 1 to 3 Job *JobKey `thrift:"job,4" json:"job"` }
Attributes:
- Job
func NewAuroraSchedulerManagerDescheduleCronJobArgs ¶
func NewAuroraSchedulerManagerDescheduleCronJobArgs() *AuroraSchedulerManagerDescheduleCronJobArgs
func (*AuroraSchedulerManagerDescheduleCronJobArgs) GetJob ¶
func (p *AuroraSchedulerManagerDescheduleCronJobArgs) GetJob() *JobKey
func (*AuroraSchedulerManagerDescheduleCronJobArgs) IsSetJob ¶
func (p *AuroraSchedulerManagerDescheduleCronJobArgs) IsSetJob() bool
func (*AuroraSchedulerManagerDescheduleCronJobArgs) Read ¶
func (p *AuroraSchedulerManagerDescheduleCronJobArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerDescheduleCronJobArgs) String ¶
func (p *AuroraSchedulerManagerDescheduleCronJobArgs) String() string
type AuroraSchedulerManagerDescheduleCronJobResult ¶
type AuroraSchedulerManagerDescheduleCronJobResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerDescheduleCronJobResult ¶
func NewAuroraSchedulerManagerDescheduleCronJobResult() *AuroraSchedulerManagerDescheduleCronJobResult
func (*AuroraSchedulerManagerDescheduleCronJobResult) GetSuccess ¶
func (p *AuroraSchedulerManagerDescheduleCronJobResult) GetSuccess() *Response
func (*AuroraSchedulerManagerDescheduleCronJobResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerDescheduleCronJobResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerDescheduleCronJobResult) Read ¶
func (p *AuroraSchedulerManagerDescheduleCronJobResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerDescheduleCronJobResult) String ¶
func (p *AuroraSchedulerManagerDescheduleCronJobResult) String() string
type AuroraSchedulerManagerKillTasksArgs ¶
type AuroraSchedulerManagerKillTasksArgs struct { // unused fields # 1 to 3 Job *JobKey `thrift:"job,4" json:"job"` Instances map[int32]bool `thrift:"instances,5" json:"instances"` Message string `thrift:"message,6" json:"message"` }
Attributes:
- Job
- Instances
- Message
func NewAuroraSchedulerManagerKillTasksArgs ¶
func NewAuroraSchedulerManagerKillTasksArgs() *AuroraSchedulerManagerKillTasksArgs
func (*AuroraSchedulerManagerKillTasksArgs) GetInstances ¶
func (p *AuroraSchedulerManagerKillTasksArgs) GetInstances() map[int32]bool
func (*AuroraSchedulerManagerKillTasksArgs) GetJob ¶
func (p *AuroraSchedulerManagerKillTasksArgs) GetJob() *JobKey
func (*AuroraSchedulerManagerKillTasksArgs) GetMessage ¶ added in v1.1.0
func (p *AuroraSchedulerManagerKillTasksArgs) GetMessage() string
func (*AuroraSchedulerManagerKillTasksArgs) IsSetJob ¶
func (p *AuroraSchedulerManagerKillTasksArgs) IsSetJob() bool
func (*AuroraSchedulerManagerKillTasksArgs) Read ¶
func (p *AuroraSchedulerManagerKillTasksArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerKillTasksArgs) String ¶
func (p *AuroraSchedulerManagerKillTasksArgs) String() string
type AuroraSchedulerManagerKillTasksResult ¶
type AuroraSchedulerManagerKillTasksResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerKillTasksResult ¶
func NewAuroraSchedulerManagerKillTasksResult() *AuroraSchedulerManagerKillTasksResult
func (*AuroraSchedulerManagerKillTasksResult) GetSuccess ¶
func (p *AuroraSchedulerManagerKillTasksResult) GetSuccess() *Response
func (*AuroraSchedulerManagerKillTasksResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerKillTasksResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerKillTasksResult) Read ¶
func (p *AuroraSchedulerManagerKillTasksResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerKillTasksResult) String ¶
func (p *AuroraSchedulerManagerKillTasksResult) String() string
type AuroraSchedulerManagerPauseJobUpdateArgs ¶
type AuroraSchedulerManagerPauseJobUpdateArgs struct { Key *JobUpdateKey `thrift:"key,1" json:"key"` // unused field # 2 Message string `thrift:"message,3" json:"message"` }
Attributes:
- Key: The update to pause.
- Message: A user-specified message to include with the induced job update state change.
func NewAuroraSchedulerManagerPauseJobUpdateArgs ¶
func NewAuroraSchedulerManagerPauseJobUpdateArgs() *AuroraSchedulerManagerPauseJobUpdateArgs
func (*AuroraSchedulerManagerPauseJobUpdateArgs) GetKey ¶
func (p *AuroraSchedulerManagerPauseJobUpdateArgs) GetKey() *JobUpdateKey
func (*AuroraSchedulerManagerPauseJobUpdateArgs) GetMessage ¶
func (p *AuroraSchedulerManagerPauseJobUpdateArgs) GetMessage() string
func (*AuroraSchedulerManagerPauseJobUpdateArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerPauseJobUpdateArgs) IsSetKey() bool
func (*AuroraSchedulerManagerPauseJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerPauseJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerPauseJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerPauseJobUpdateArgs) String() string
type AuroraSchedulerManagerPauseJobUpdateResult ¶
type AuroraSchedulerManagerPauseJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerPauseJobUpdateResult ¶
func NewAuroraSchedulerManagerPauseJobUpdateResult() *AuroraSchedulerManagerPauseJobUpdateResult
func (*AuroraSchedulerManagerPauseJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerPauseJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerPauseJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerPauseJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerPauseJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerPauseJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerPauseJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerPauseJobUpdateResult) String() string
type AuroraSchedulerManagerProcessor ¶
type AuroraSchedulerManagerProcessor struct {
*ReadOnlySchedulerProcessor
}
func NewAuroraSchedulerManagerProcessor ¶
func NewAuroraSchedulerManagerProcessor(handler AuroraSchedulerManager) *AuroraSchedulerManagerProcessor
type AuroraSchedulerManagerPulseJobUpdateArgs ¶
type AuroraSchedulerManagerPulseJobUpdateArgs struct {
Key *JobUpdateKey `thrift:"key,1" json:"key"`
}
Attributes:
- Key
func NewAuroraSchedulerManagerPulseJobUpdateArgs ¶
func NewAuroraSchedulerManagerPulseJobUpdateArgs() *AuroraSchedulerManagerPulseJobUpdateArgs
func (*AuroraSchedulerManagerPulseJobUpdateArgs) GetKey ¶
func (p *AuroraSchedulerManagerPulseJobUpdateArgs) GetKey() *JobUpdateKey
func (*AuroraSchedulerManagerPulseJobUpdateArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerPulseJobUpdateArgs) IsSetKey() bool
func (*AuroraSchedulerManagerPulseJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerPulseJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerPulseJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerPulseJobUpdateArgs) String() string
type AuroraSchedulerManagerPulseJobUpdateResult ¶
type AuroraSchedulerManagerPulseJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerPulseJobUpdateResult ¶
func NewAuroraSchedulerManagerPulseJobUpdateResult() *AuroraSchedulerManagerPulseJobUpdateResult
func (*AuroraSchedulerManagerPulseJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerPulseJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerPulseJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerPulseJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerPulseJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerPulseJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerPulseJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerPulseJobUpdateResult) String() string
type AuroraSchedulerManagerReplaceCronTemplateArgs ¶
type AuroraSchedulerManagerReplaceCronTemplateArgs struct {
Config *JobConfiguration `thrift:"config,1" json:"config"`
}
Attributes:
- Config
func NewAuroraSchedulerManagerReplaceCronTemplateArgs ¶
func NewAuroraSchedulerManagerReplaceCronTemplateArgs() *AuroraSchedulerManagerReplaceCronTemplateArgs
func (*AuroraSchedulerManagerReplaceCronTemplateArgs) GetConfig ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) GetConfig() *JobConfiguration
func (*AuroraSchedulerManagerReplaceCronTemplateArgs) IsSetConfig ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) IsSetConfig() bool
func (*AuroraSchedulerManagerReplaceCronTemplateArgs) Read ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerReplaceCronTemplateArgs) String ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateArgs) String() string
type AuroraSchedulerManagerReplaceCronTemplateResult ¶
type AuroraSchedulerManagerReplaceCronTemplateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerReplaceCronTemplateResult ¶
func NewAuroraSchedulerManagerReplaceCronTemplateResult() *AuroraSchedulerManagerReplaceCronTemplateResult
func (*AuroraSchedulerManagerReplaceCronTemplateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerReplaceCronTemplateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerReplaceCronTemplateResult) Read ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerReplaceCronTemplateResult) String ¶
func (p *AuroraSchedulerManagerReplaceCronTemplateResult) String() string
type AuroraSchedulerManagerRestartShardsArgs ¶
type AuroraSchedulerManagerRestartShardsArgs struct { // unused fields # 1 to 2 ShardIds map[int32]bool `thrift:"shardIds,3" json:"shardIds"` // unused field # 4 Job *JobKey `thrift:"job,5" json:"job"` }
Attributes:
- Job
- ShardIds
func NewAuroraSchedulerManagerRestartShardsArgs ¶
func NewAuroraSchedulerManagerRestartShardsArgs() *AuroraSchedulerManagerRestartShardsArgs
func (*AuroraSchedulerManagerRestartShardsArgs) GetJob ¶
func (p *AuroraSchedulerManagerRestartShardsArgs) GetJob() *JobKey
func (*AuroraSchedulerManagerRestartShardsArgs) GetShardIds ¶
func (p *AuroraSchedulerManagerRestartShardsArgs) GetShardIds() map[int32]bool
func (*AuroraSchedulerManagerRestartShardsArgs) IsSetJob ¶
func (p *AuroraSchedulerManagerRestartShardsArgs) IsSetJob() bool
func (*AuroraSchedulerManagerRestartShardsArgs) Read ¶
func (p *AuroraSchedulerManagerRestartShardsArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerRestartShardsArgs) String ¶
func (p *AuroraSchedulerManagerRestartShardsArgs) String() string
type AuroraSchedulerManagerRestartShardsResult ¶
type AuroraSchedulerManagerRestartShardsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerRestartShardsResult ¶
func NewAuroraSchedulerManagerRestartShardsResult() *AuroraSchedulerManagerRestartShardsResult
func (*AuroraSchedulerManagerRestartShardsResult) GetSuccess ¶
func (p *AuroraSchedulerManagerRestartShardsResult) GetSuccess() *Response
func (*AuroraSchedulerManagerRestartShardsResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerRestartShardsResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerRestartShardsResult) Read ¶
func (p *AuroraSchedulerManagerRestartShardsResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerRestartShardsResult) String ¶
func (p *AuroraSchedulerManagerRestartShardsResult) String() string
type AuroraSchedulerManagerResumeJobUpdateArgs ¶
type AuroraSchedulerManagerResumeJobUpdateArgs struct { Key *JobUpdateKey `thrift:"key,1" json:"key"` // unused field # 2 Message string `thrift:"message,3" json:"message"` }
Attributes:
- Key: The update to resume.
- Message: A user-specified message to include with the induced job update state change.
func NewAuroraSchedulerManagerResumeJobUpdateArgs ¶
func NewAuroraSchedulerManagerResumeJobUpdateArgs() *AuroraSchedulerManagerResumeJobUpdateArgs
func (*AuroraSchedulerManagerResumeJobUpdateArgs) GetKey ¶
func (p *AuroraSchedulerManagerResumeJobUpdateArgs) GetKey() *JobUpdateKey
func (*AuroraSchedulerManagerResumeJobUpdateArgs) GetMessage ¶
func (p *AuroraSchedulerManagerResumeJobUpdateArgs) GetMessage() string
func (*AuroraSchedulerManagerResumeJobUpdateArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerResumeJobUpdateArgs) IsSetKey() bool
func (*AuroraSchedulerManagerResumeJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerResumeJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerResumeJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerResumeJobUpdateArgs) String() string
type AuroraSchedulerManagerResumeJobUpdateResult ¶
type AuroraSchedulerManagerResumeJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerResumeJobUpdateResult ¶
func NewAuroraSchedulerManagerResumeJobUpdateResult() *AuroraSchedulerManagerResumeJobUpdateResult
func (*AuroraSchedulerManagerResumeJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerResumeJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerResumeJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerResumeJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerResumeJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerResumeJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerResumeJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerResumeJobUpdateResult) String() string
type AuroraSchedulerManagerRollbackJobUpdateArgs ¶
type AuroraSchedulerManagerRollbackJobUpdateArgs struct { Key *JobUpdateKey `thrift:"key,1" json:"key"` Message string `thrift:"message,2" json:"message"` }
Attributes:
- Key: The update to rollback.
- Message: A user-specified message to include with the induced job update state change.
func NewAuroraSchedulerManagerRollbackJobUpdateArgs ¶
func NewAuroraSchedulerManagerRollbackJobUpdateArgs() *AuroraSchedulerManagerRollbackJobUpdateArgs
func (*AuroraSchedulerManagerRollbackJobUpdateArgs) GetKey ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) GetKey() *JobUpdateKey
func (*AuroraSchedulerManagerRollbackJobUpdateArgs) GetMessage ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) GetMessage() string
func (*AuroraSchedulerManagerRollbackJobUpdateArgs) IsSetKey ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) IsSetKey() bool
func (*AuroraSchedulerManagerRollbackJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerRollbackJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateArgs) String() string
type AuroraSchedulerManagerRollbackJobUpdateResult ¶
type AuroraSchedulerManagerRollbackJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerRollbackJobUpdateResult ¶
func NewAuroraSchedulerManagerRollbackJobUpdateResult() *AuroraSchedulerManagerRollbackJobUpdateResult
func (*AuroraSchedulerManagerRollbackJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerRollbackJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerRollbackJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerRollbackJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerRollbackJobUpdateResult) String() string
type AuroraSchedulerManagerScheduleCronJobArgs ¶
type AuroraSchedulerManagerScheduleCronJobArgs struct {
Description *JobConfiguration `thrift:"description,1" json:"description"`
}
Attributes:
- Description
func NewAuroraSchedulerManagerScheduleCronJobArgs ¶
func NewAuroraSchedulerManagerScheduleCronJobArgs() *AuroraSchedulerManagerScheduleCronJobArgs
func (*AuroraSchedulerManagerScheduleCronJobArgs) GetDescription ¶
func (p *AuroraSchedulerManagerScheduleCronJobArgs) GetDescription() *JobConfiguration
func (*AuroraSchedulerManagerScheduleCronJobArgs) IsSetDescription ¶
func (p *AuroraSchedulerManagerScheduleCronJobArgs) IsSetDescription() bool
func (*AuroraSchedulerManagerScheduleCronJobArgs) Read ¶
func (p *AuroraSchedulerManagerScheduleCronJobArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerScheduleCronJobArgs) String ¶
func (p *AuroraSchedulerManagerScheduleCronJobArgs) String() string
type AuroraSchedulerManagerScheduleCronJobResult ¶
type AuroraSchedulerManagerScheduleCronJobResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerScheduleCronJobResult ¶
func NewAuroraSchedulerManagerScheduleCronJobResult() *AuroraSchedulerManagerScheduleCronJobResult
func (*AuroraSchedulerManagerScheduleCronJobResult) GetSuccess ¶
func (p *AuroraSchedulerManagerScheduleCronJobResult) GetSuccess() *Response
func (*AuroraSchedulerManagerScheduleCronJobResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerScheduleCronJobResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerScheduleCronJobResult) Read ¶
func (p *AuroraSchedulerManagerScheduleCronJobResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerScheduleCronJobResult) String ¶
func (p *AuroraSchedulerManagerScheduleCronJobResult) String() string
type AuroraSchedulerManagerStartCronJobArgs ¶
type AuroraSchedulerManagerStartCronJobArgs struct { // unused fields # 1 to 3 Job *JobKey `thrift:"job,4" json:"job"` }
Attributes:
- Job
func NewAuroraSchedulerManagerStartCronJobArgs ¶
func NewAuroraSchedulerManagerStartCronJobArgs() *AuroraSchedulerManagerStartCronJobArgs
func (*AuroraSchedulerManagerStartCronJobArgs) GetJob ¶
func (p *AuroraSchedulerManagerStartCronJobArgs) GetJob() *JobKey
func (*AuroraSchedulerManagerStartCronJobArgs) IsSetJob ¶
func (p *AuroraSchedulerManagerStartCronJobArgs) IsSetJob() bool
func (*AuroraSchedulerManagerStartCronJobArgs) Read ¶
func (p *AuroraSchedulerManagerStartCronJobArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerStartCronJobArgs) String ¶
func (p *AuroraSchedulerManagerStartCronJobArgs) String() string
type AuroraSchedulerManagerStartCronJobResult ¶
type AuroraSchedulerManagerStartCronJobResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerStartCronJobResult ¶
func NewAuroraSchedulerManagerStartCronJobResult() *AuroraSchedulerManagerStartCronJobResult
func (*AuroraSchedulerManagerStartCronJobResult) GetSuccess ¶
func (p *AuroraSchedulerManagerStartCronJobResult) GetSuccess() *Response
func (*AuroraSchedulerManagerStartCronJobResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerStartCronJobResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerStartCronJobResult) Read ¶
func (p *AuroraSchedulerManagerStartCronJobResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerStartCronJobResult) String ¶
func (p *AuroraSchedulerManagerStartCronJobResult) String() string
type AuroraSchedulerManagerStartJobUpdateArgs ¶
type AuroraSchedulerManagerStartJobUpdateArgs struct { Request *JobUpdateRequest `thrift:"request,1" json:"request"` // unused field # 2 Message string `thrift:"message,3" json:"message"` }
Attributes:
- Request: A description of how to change the job.
- Message: A user-specified message to include with the induced job update state change.
func NewAuroraSchedulerManagerStartJobUpdateArgs ¶
func NewAuroraSchedulerManagerStartJobUpdateArgs() *AuroraSchedulerManagerStartJobUpdateArgs
func (*AuroraSchedulerManagerStartJobUpdateArgs) GetMessage ¶
func (p *AuroraSchedulerManagerStartJobUpdateArgs) GetMessage() string
func (*AuroraSchedulerManagerStartJobUpdateArgs) GetRequest ¶
func (p *AuroraSchedulerManagerStartJobUpdateArgs) GetRequest() *JobUpdateRequest
func (*AuroraSchedulerManagerStartJobUpdateArgs) IsSetRequest ¶
func (p *AuroraSchedulerManagerStartJobUpdateArgs) IsSetRequest() bool
func (*AuroraSchedulerManagerStartJobUpdateArgs) Read ¶
func (p *AuroraSchedulerManagerStartJobUpdateArgs) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerStartJobUpdateArgs) String ¶
func (p *AuroraSchedulerManagerStartJobUpdateArgs) String() string
type AuroraSchedulerManagerStartJobUpdateResult ¶
type AuroraSchedulerManagerStartJobUpdateResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewAuroraSchedulerManagerStartJobUpdateResult ¶
func NewAuroraSchedulerManagerStartJobUpdateResult() *AuroraSchedulerManagerStartJobUpdateResult
func (*AuroraSchedulerManagerStartJobUpdateResult) GetSuccess ¶
func (p *AuroraSchedulerManagerStartJobUpdateResult) GetSuccess() *Response
func (*AuroraSchedulerManagerStartJobUpdateResult) IsSetSuccess ¶
func (p *AuroraSchedulerManagerStartJobUpdateResult) IsSetSuccess() bool
func (*AuroraSchedulerManagerStartJobUpdateResult) Read ¶
func (p *AuroraSchedulerManagerStartJobUpdateResult) Read(iprot thrift.TProtocol) error
func (*AuroraSchedulerManagerStartJobUpdateResult) String ¶
func (p *AuroraSchedulerManagerStartJobUpdateResult) String() string
type ConfigGroup ¶
type ConfigGroup struct { Config *TaskConfig `thrift:"config,1" json:"config"` // unused field # 2 Instances map[*Range]bool `thrift:"instances,3" json:"instances"` }
Attributes:
- Config
- Instances
func NewConfigGroup ¶
func NewConfigGroup() *ConfigGroup
func (*ConfigGroup) GetConfig ¶
func (p *ConfigGroup) GetConfig() *TaskConfig
func (*ConfigGroup) GetInstances ¶
func (p *ConfigGroup) GetInstances() map[*Range]bool
func (*ConfigGroup) IsSetConfig ¶
func (p *ConfigGroup) IsSetConfig() bool
func (*ConfigGroup) String ¶
func (p *ConfigGroup) String() string
type ConfigSummary ¶
type ConfigSummary struct { Key *JobKey `thrift:"key,1" json:"key"` Groups map[*ConfigGroup]bool `thrift:"groups,2" json:"groups"` }
Attributes:
- Key
- Groups
var ConfigSummaryResult__Summary_DEFAULT *ConfigSummary
func NewConfigSummary ¶
func NewConfigSummary() *ConfigSummary
func (*ConfigSummary) GetGroups ¶
func (p *ConfigSummary) GetGroups() map[*ConfigGroup]bool
func (*ConfigSummary) GetKey ¶
func (p *ConfigSummary) GetKey() *JobKey
func (*ConfigSummary) IsSetKey ¶
func (p *ConfigSummary) IsSetKey() bool
func (*ConfigSummary) String ¶
func (p *ConfigSummary) String() string
type ConfigSummaryResult_ ¶
type ConfigSummaryResult_ struct {
Summary *ConfigSummary `thrift:"summary,1" json:"summary"`
}
Attributes:
- Summary
var Result__ConfigSummaryResult__DEFAULT *ConfigSummaryResult_
func NewConfigSummaryResult_ ¶
func NewConfigSummaryResult_() *ConfigSummaryResult_
func (*ConfigSummaryResult_) GetSummary ¶
func (p *ConfigSummaryResult_) GetSummary() *ConfigSummary
func (*ConfigSummaryResult_) IsSetSummary ¶
func (p *ConfigSummaryResult_) IsSetSummary() bool
func (*ConfigSummaryResult_) Read ¶
func (p *ConfigSummaryResult_) Read(iprot thrift.TProtocol) error
func (*ConfigSummaryResult_) String ¶
func (p *ConfigSummaryResult_) String() string
type Constraint ¶
type Constraint struct { Name string `thrift:"name,1" json:"name"` Constraint *TaskConstraint `thrift:"constraint,2" json:"constraint"` }
A constraint that defines whether a task may be scheduled on a host.
Attributes:
- Name: Mesos slave attribute that the constraint is matched against.
- Constraint
func NewConstraint ¶
func NewConstraint() *Constraint
func (*Constraint) GetConstraint ¶
func (p *Constraint) GetConstraint() *TaskConstraint
func (*Constraint) GetName ¶
func (p *Constraint) GetName() string
func (*Constraint) IsSetConstraint ¶
func (p *Constraint) IsSetConstraint() bool
func (*Constraint) String ¶
func (p *Constraint) String() string
type Container ¶
type Container struct { Mesos *MesosContainer `thrift:"mesos,1" json:"mesos,omitempty"` Docker *DockerContainer `thrift:"docker,2" json:"docker,omitempty"` }
Describes a container to be used in a task
Attributes:
- Mesos
- Docker
var TaskConfig_Container_DEFAULT *Container = &Container{ Mesos: &MesosContainer{}, }
func NewContainer ¶
func NewContainer() *Container
func (*Container) CountSetFieldsContainer ¶
func (*Container) GetDocker ¶
func (p *Container) GetDocker() *DockerContainer
func (*Container) GetMesos ¶
func (p *Container) GetMesos() *MesosContainer
func (*Container) IsSetDocker ¶
func (*Container) IsSetMesos ¶
type CronCollisionPolicy ¶
type CronCollisionPolicy int64
Defines the policy for launching a new cron job when one is already running.
const ( CronCollisionPolicy_KILL_EXISTING CronCollisionPolicy = 0 CronCollisionPolicy_CANCEL_NEW CronCollisionPolicy = 1 CronCollisionPolicy_RUN_OVERLAP CronCollisionPolicy = 2 )
func CronCollisionPolicyFromString ¶
func CronCollisionPolicyFromString(s string) (CronCollisionPolicy, error)
func CronCollisionPolicyPtr ¶
func CronCollisionPolicyPtr(v CronCollisionPolicy) *CronCollisionPolicy
func (CronCollisionPolicy) MarshalText ¶
func (p CronCollisionPolicy) MarshalText() ([]byte, error)
func (CronCollisionPolicy) String ¶
func (p CronCollisionPolicy) String() string
func (*CronCollisionPolicy) UnmarshalText ¶
func (p *CronCollisionPolicy) UnmarshalText(text []byte) error
type DockerContainer ¶
type DockerContainer struct { Image string `thrift:"image,1" json:"image"` Parameters []*DockerParameter `thrift:"parameters,2" json:"parameters,omitempty"` }
Describes a docker container
Attributes:
- Image: The container image to be run
- Parameters: The arbitrary parameters to pass to container
var Container_Docker_DEFAULT *DockerContainer
func NewDockerContainer ¶
func NewDockerContainer() *DockerContainer
func (*DockerContainer) GetImage ¶
func (p *DockerContainer) GetImage() string
func (*DockerContainer) GetParameters ¶
func (p *DockerContainer) GetParameters() []*DockerParameter
func (*DockerContainer) IsSetParameters ¶
func (p *DockerContainer) IsSetParameters() bool
func (*DockerContainer) String ¶
func (p *DockerContainer) String() string
type DockerImage ¶
type DockerImage struct { Name string `thrift:"name,1" json:"name"` Tag string `thrift:"tag,2" json:"tag"` }
Describes an image for use with the Mesos unified containerizer in the Docker format
Attributes:
- Name: The name of the image to run
- Tag: The Docker tag identifying the image
var Image_Docker_DEFAULT *DockerImage
func NewDockerImage ¶
func NewDockerImage() *DockerImage
func (*DockerImage) GetName ¶
func (p *DockerImage) GetName() string
func (*DockerImage) GetTag ¶
func (p *DockerImage) GetTag() string
func (*DockerImage) String ¶
func (p *DockerImage) String() string
type DockerParameter ¶
type DockerParameter struct { Name string `thrift:"name,1" json:"name"` Value string `thrift:"value,2" json:"value"` }
Describes a parameter passed to docker cli
Attributes:
- Name: a parameter to pass to docker. (e.g. volume)
- Value: the value to pass to a parameter (e.g. /src/webapp:/opt/webapp)
func NewDockerParameter ¶
func NewDockerParameter() *DockerParameter
func (*DockerParameter) GetName ¶
func (p *DockerParameter) GetName() string
func (*DockerParameter) GetValue ¶
func (p *DockerParameter) GetValue() string
func (*DockerParameter) String ¶
func (p *DockerParameter) String() string
type DrainHostsResult_ ¶
type DrainHostsResult_ struct {
Statuses map[*HostStatus]bool `thrift:"statuses,1" json:"statuses"`
}
Attributes:
- Statuses
var Result__DrainHostsResult__DEFAULT *DrainHostsResult_
func NewDrainHostsResult_ ¶
func NewDrainHostsResult_() *DrainHostsResult_
func (*DrainHostsResult_) GetStatuses ¶
func (p *DrainHostsResult_) GetStatuses() map[*HostStatus]bool
func (*DrainHostsResult_) String ¶
func (p *DrainHostsResult_) String() string
type EndMaintenanceResult_ ¶
type EndMaintenanceResult_ struct {
Statuses map[*HostStatus]bool `thrift:"statuses,1" json:"statuses"`
}
Attributes:
- Statuses
var Result__EndMaintenanceResult__DEFAULT *EndMaintenanceResult_
func NewEndMaintenanceResult_ ¶
func NewEndMaintenanceResult_() *EndMaintenanceResult_
func (*EndMaintenanceResult_) GetStatuses ¶
func (p *EndMaintenanceResult_) GetStatuses() map[*HostStatus]bool
func (*EndMaintenanceResult_) Read ¶
func (p *EndMaintenanceResult_) Read(iprot thrift.TProtocol) error
func (*EndMaintenanceResult_) String ¶
func (p *EndMaintenanceResult_) String() string
type ExecutorConfig ¶
type ExecutorConfig struct { Name string `thrift:"name,1" json:"name"` Data string `thrift:"data,2" json:"data"` }
Attributes:
- Name: Name identifying the Executor.
- Data: Executor configuration data.
var TaskConfig_ExecutorConfig_DEFAULT *ExecutorConfig
func NewExecutorConfig ¶
func NewExecutorConfig() *ExecutorConfig
func (*ExecutorConfig) GetData ¶
func (p *ExecutorConfig) GetData() string
func (*ExecutorConfig) GetName ¶
func (p *ExecutorConfig) GetName() string
func (*ExecutorConfig) String ¶
func (p *ExecutorConfig) String() string
type ExplicitReconciliationSettings ¶
type ExplicitReconciliationSettings struct {
BatchSize *int32 `thrift:"batchSize,1" json:"batchSize,omitempty"`
}
Attributes:
- BatchSize
var AuroraAdminTriggerExplicitTaskReconciliationArgs_Settings_DEFAULT *ExplicitReconciliationSettings
func NewExplicitReconciliationSettings ¶
func NewExplicitReconciliationSettings() *ExplicitReconciliationSettings
func (*ExplicitReconciliationSettings) GetBatchSize ¶
func (p *ExplicitReconciliationSettings) GetBatchSize() int32
func (*ExplicitReconciliationSettings) IsSetBatchSize ¶
func (p *ExplicitReconciliationSettings) IsSetBatchSize() bool
func (*ExplicitReconciliationSettings) Read ¶
func (p *ExplicitReconciliationSettings) Read(iprot thrift.TProtocol) error
func (*ExplicitReconciliationSettings) String ¶
func (p *ExplicitReconciliationSettings) String() string
type GetJobUpdateDetailsResult_ ¶
type GetJobUpdateDetailsResult_ struct { Details *JobUpdateDetails `thrift:"details,1" json:"details"` DetailsList []*JobUpdateDetails `thrift:"detailsList,2" json:"detailsList"` }
Result of the getJobUpdateDetails call.
Attributes:
- Details
- DetailsList
var Result__GetJobUpdateDetailsResult__DEFAULT *GetJobUpdateDetailsResult_
func NewGetJobUpdateDetailsResult_ ¶
func NewGetJobUpdateDetailsResult_() *GetJobUpdateDetailsResult_
func (*GetJobUpdateDetailsResult_) GetDetails ¶
func (p *GetJobUpdateDetailsResult_) GetDetails() *JobUpdateDetails
func (*GetJobUpdateDetailsResult_) GetDetailsList ¶
func (p *GetJobUpdateDetailsResult_) GetDetailsList() []*JobUpdateDetails
func (*GetJobUpdateDetailsResult_) IsSetDetails ¶
func (p *GetJobUpdateDetailsResult_) IsSetDetails() bool
func (*GetJobUpdateDetailsResult_) Read ¶
func (p *GetJobUpdateDetailsResult_) Read(iprot thrift.TProtocol) error
func (*GetJobUpdateDetailsResult_) String ¶
func (p *GetJobUpdateDetailsResult_) String() string
type GetJobUpdateDiffResult_ ¶
type GetJobUpdateDiffResult_ struct { Add map[*ConfigGroup]bool `thrift:"add,1" json:"add"` Remove map[*ConfigGroup]bool `thrift:"remove,2" json:"remove"` Update map[*ConfigGroup]bool `thrift:"update,3" json:"update"` Unchanged map[*ConfigGroup]bool `thrift:"unchanged,4" json:"unchanged"` }
Attributes:
- Add: Instance addition diff details.
- Remove: Instance removal diff details.
- Update: Instance update diff details.
- Unchanged: Instances unchanged by the update.
var Result__GetJobUpdateDiffResult__DEFAULT *GetJobUpdateDiffResult_
func NewGetJobUpdateDiffResult_ ¶
func NewGetJobUpdateDiffResult_() *GetJobUpdateDiffResult_
func (*GetJobUpdateDiffResult_) GetAdd ¶
func (p *GetJobUpdateDiffResult_) GetAdd() map[*ConfigGroup]bool
func (*GetJobUpdateDiffResult_) GetRemove ¶
func (p *GetJobUpdateDiffResult_) GetRemove() map[*ConfigGroup]bool
func (*GetJobUpdateDiffResult_) GetUnchanged ¶
func (p *GetJobUpdateDiffResult_) GetUnchanged() map[*ConfigGroup]bool
func (*GetJobUpdateDiffResult_) GetUpdate ¶
func (p *GetJobUpdateDiffResult_) GetUpdate() map[*ConfigGroup]bool
func (*GetJobUpdateDiffResult_) Read ¶
func (p *GetJobUpdateDiffResult_) Read(iprot thrift.TProtocol) error
func (*GetJobUpdateDiffResult_) String ¶
func (p *GetJobUpdateDiffResult_) String() string
type GetJobUpdateSummariesResult_ ¶
type GetJobUpdateSummariesResult_ struct {
UpdateSummaries []*JobUpdateSummary `thrift:"updateSummaries,1" json:"updateSummaries"`
}
Result of the getJobUpdateSummaries call.
Attributes:
- UpdateSummaries
var Result__GetJobUpdateSummariesResult__DEFAULT *GetJobUpdateSummariesResult_
func NewGetJobUpdateSummariesResult_ ¶
func NewGetJobUpdateSummariesResult_() *GetJobUpdateSummariesResult_
func (*GetJobUpdateSummariesResult_) GetUpdateSummaries ¶
func (p *GetJobUpdateSummariesResult_) GetUpdateSummaries() []*JobUpdateSummary
func (*GetJobUpdateSummariesResult_) Read ¶
func (p *GetJobUpdateSummariesResult_) Read(iprot thrift.TProtocol) error
func (*GetJobUpdateSummariesResult_) String ¶
func (p *GetJobUpdateSummariesResult_) String() string
type GetJobsResult_ ¶
type GetJobsResult_ struct {
Configs map[*JobConfiguration]bool `thrift:"configs,1" json:"configs"`
}
Attributes:
- Configs
var Result__GetJobsResult__DEFAULT *GetJobsResult_
func NewGetJobsResult_ ¶
func NewGetJobsResult_() *GetJobsResult_
func (*GetJobsResult_) GetConfigs ¶
func (p *GetJobsResult_) GetConfigs() map[*JobConfiguration]bool
func (*GetJobsResult_) String ¶
func (p *GetJobsResult_) String() string
type GetPendingReasonResult_ ¶
type GetPendingReasonResult_ struct {
Reasons map[*PendingReason]bool `thrift:"reasons,1" json:"reasons"`
}
Attributes:
- Reasons
var Result__GetPendingReasonResult__DEFAULT *GetPendingReasonResult_
func NewGetPendingReasonResult_ ¶
func NewGetPendingReasonResult_() *GetPendingReasonResult_
func (*GetPendingReasonResult_) GetReasons ¶
func (p *GetPendingReasonResult_) GetReasons() map[*PendingReason]bool
func (*GetPendingReasonResult_) Read ¶
func (p *GetPendingReasonResult_) Read(iprot thrift.TProtocol) error
func (*GetPendingReasonResult_) String ¶
func (p *GetPendingReasonResult_) String() string
type GetQuotaResult_ ¶
type GetQuotaResult_ struct { Quota *ResourceAggregate `thrift:"quota,1" json:"quota"` ProdDedicatedConsumption *ResourceAggregate `thrift:"prodDedicatedConsumption,4" json:"prodDedicatedConsumption,omitempty"` NonProdDedicatedConsumption *ResourceAggregate `thrift:"nonProdDedicatedConsumption,5" json:"nonProdDedicatedConsumption,omitempty"` }
Attributes:
- Quota: Total allocated resource quota.
- ProdSharedConsumption: Resources consumed by production jobs from a shared resource pool.
- NonProdSharedConsumption: Resources consumed by non-production jobs from a shared resource pool.
- ProdDedicatedConsumption: Resources consumed by production jobs from a dedicated resource pool.
- NonProdDedicatedConsumption: Resources consumed by non-production jobs from a dedicated resource pool.
var Result__GetQuotaResult__DEFAULT *GetQuotaResult_
func NewGetQuotaResult_ ¶
func NewGetQuotaResult_() *GetQuotaResult_
func (*GetQuotaResult_) GetNonProdDedicatedConsumption ¶
func (p *GetQuotaResult_) GetNonProdDedicatedConsumption() *ResourceAggregate
func (*GetQuotaResult_) GetNonProdSharedConsumption ¶
func (p *GetQuotaResult_) GetNonProdSharedConsumption() *ResourceAggregate
func (*GetQuotaResult_) GetProdDedicatedConsumption ¶
func (p *GetQuotaResult_) GetProdDedicatedConsumption() *ResourceAggregate
func (*GetQuotaResult_) GetProdSharedConsumption ¶
func (p *GetQuotaResult_) GetProdSharedConsumption() *ResourceAggregate
func (*GetQuotaResult_) GetQuota ¶
func (p *GetQuotaResult_) GetQuota() *ResourceAggregate
func (*GetQuotaResult_) IsSetNonProdDedicatedConsumption ¶
func (p *GetQuotaResult_) IsSetNonProdDedicatedConsumption() bool
func (*GetQuotaResult_) IsSetNonProdSharedConsumption ¶
func (p *GetQuotaResult_) IsSetNonProdSharedConsumption() bool
func (*GetQuotaResult_) IsSetProdDedicatedConsumption ¶
func (p *GetQuotaResult_) IsSetProdDedicatedConsumption() bool
func (*GetQuotaResult_) IsSetProdSharedConsumption ¶
func (p *GetQuotaResult_) IsSetProdSharedConsumption() bool
func (*GetQuotaResult_) IsSetQuota ¶
func (p *GetQuotaResult_) IsSetQuota() bool
func (*GetQuotaResult_) String ¶
func (p *GetQuotaResult_) String() string
type GetTierConfigResult_ ¶
type GetTierConfigResult_ struct { DefaultTierName string `thrift:"defaultTierName,1" json:"defaultTierName"` Tiers map[*TierConfig]bool `thrift:"tiers,2" json:"tiers"` }
Result of the getTierConfigResult call.
Attributes:
- DefaultTierName: Name of the default tier.
- Tiers: Set of tier configurations.
var Result__GetTierConfigResult__DEFAULT *GetTierConfigResult_
func NewGetTierConfigResult_ ¶
func NewGetTierConfigResult_() *GetTierConfigResult_
func (*GetTierConfigResult_) GetDefaultTierName ¶
func (p *GetTierConfigResult_) GetDefaultTierName() string
func (*GetTierConfigResult_) GetTiers ¶
func (p *GetTierConfigResult_) GetTiers() map[*TierConfig]bool
func (*GetTierConfigResult_) Read ¶
func (p *GetTierConfigResult_) Read(iprot thrift.TProtocol) error
func (*GetTierConfigResult_) String ¶
func (p *GetTierConfigResult_) String() string
type HostAttributes ¶
type HostAttributes struct { Host string `thrift:"host,1" json:"host"` Attributes map[*Attribute]bool `thrift:"attributes,2" json:"attributes"` Mode *MaintenanceMode `thrift:"mode,3" json:"mode,omitempty"` SlaveId *string `thrift:"slaveId,4" json:"slaveId,omitempty"` }
The attributes assigned to a host.
Attributes:
- Host
- Attributes
- Mode
- SlaveId
func NewHostAttributes ¶
func NewHostAttributes() *HostAttributes
func (*HostAttributes) GetAttributes ¶
func (p *HostAttributes) GetAttributes() map[*Attribute]bool
func (*HostAttributes) GetHost ¶
func (p *HostAttributes) GetHost() string
func (*HostAttributes) GetMode ¶
func (p *HostAttributes) GetMode() MaintenanceMode
func (*HostAttributes) GetSlaveId ¶
func (p *HostAttributes) GetSlaveId() string
func (*HostAttributes) IsSetMode ¶
func (p *HostAttributes) IsSetMode() bool
func (*HostAttributes) IsSetSlaveId ¶
func (p *HostAttributes) IsSetSlaveId() bool
func (*HostAttributes) String ¶
func (p *HostAttributes) String() string
type HostStatus ¶
type HostStatus struct { Host string `thrift:"host,1" json:"host"` Mode MaintenanceMode `thrift:"mode,2" json:"mode"` }
Attributes:
- Host
- Mode
func NewHostStatus ¶
func NewHostStatus() *HostStatus
func (*HostStatus) GetHost ¶
func (p *HostStatus) GetHost() string
func (*HostStatus) GetMode ¶
func (p *HostStatus) GetMode() MaintenanceMode
func (*HostStatus) String ¶
func (p *HostStatus) String() string
type Hosts ¶
Attributes:
- HostNames
var AuroraAdminDrainHostsArgs_Hosts_DEFAULT *Hosts
var AuroraAdminEndMaintenanceArgs_Hosts_DEFAULT *Hosts
var AuroraAdminMaintenanceStatusArgs_Hosts_DEFAULT *Hosts
var AuroraAdminStartMaintenanceArgs_Hosts_DEFAULT *Hosts
func (*Hosts) GetHostNames ¶
type Identity ¶
type Identity struct { // unused field # 1 User string `thrift:"user,2" json:"user"` }
Attributes:
- User
var JobConfiguration_Owner_DEFAULT *Identity
var TaskConfig_Owner_DEFAULT *Identity
func NewIdentity ¶
func NewIdentity() *Identity
type Image ¶
type Image struct { Docker *DockerImage `thrift:"docker,1" json:"docker,omitempty"` Appc *AppcImage `thrift:"appc,2" json:"appc,omitempty"` }
Describes an image to be used with the Mesos unified containerizer
Attributes:
- Docker
- Appc
var MesosContainer_Image_DEFAULT *Image
func (*Image) CountSetFieldsImage ¶
func (*Image) GetDocker ¶
func (p *Image) GetDocker() *DockerImage
func (*Image) IsSetDocker ¶
type InstanceKey ¶
type InstanceKey struct { JobKey *JobKey `thrift:"jobKey,1" json:"jobKey"` InstanceId int32 `thrift:"instanceId,2" json:"instanceId"` }
A unique identifier for the active task within a job.
Attributes:
- JobKey: Key identifying the job.
- InstanceId: Unique instance ID for the active task in a job.
var AuroraSchedulerManagerAddInstancesArgs_Key_DEFAULT *InstanceKey
func NewInstanceKey ¶
func NewInstanceKey() *InstanceKey
func (*InstanceKey) GetInstanceId ¶
func (p *InstanceKey) GetInstanceId() int32
func (*InstanceKey) GetJobKey ¶
func (p *InstanceKey) GetJobKey() *JobKey
func (*InstanceKey) IsSetJobKey ¶
func (p *InstanceKey) IsSetJobKey() bool
func (*InstanceKey) String ¶
func (p *InstanceKey) String() string
type InstanceTaskConfig ¶
type InstanceTaskConfig struct { Task *TaskConfig `thrift:"task,1" json:"task"` Instances map[*Range]bool `thrift:"instances,2" json:"instances"` }
Maps instance IDs to TaskConfigs it.
Attributes:
- Task: A TaskConfig associated with instances.
- Instances: Instances associated with the TaskConfig.
var JobUpdateInstructions_DesiredState_DEFAULT *InstanceTaskConfig
func NewInstanceTaskConfig ¶
func NewInstanceTaskConfig() *InstanceTaskConfig
func (*InstanceTaskConfig) GetInstances ¶
func (p *InstanceTaskConfig) GetInstances() map[*Range]bool
func (*InstanceTaskConfig) GetTask ¶
func (p *InstanceTaskConfig) GetTask() *TaskConfig
func (*InstanceTaskConfig) IsSetTask ¶
func (p *InstanceTaskConfig) IsSetTask() bool
func (*InstanceTaskConfig) String ¶
func (p *InstanceTaskConfig) String() string
type JobConfiguration ¶
type JobConfiguration struct { // unused fields # 1 to 3 CronSchedule *string `thrift:"cronSchedule,4" json:"cronSchedule,omitempty"` CronCollisionPolicy CronCollisionPolicy `thrift:"cronCollisionPolicy,5" json:"cronCollisionPolicy"` TaskConfig *TaskConfig `thrift:"taskConfig,6" json:"taskConfig"` Owner *Identity `thrift:"owner,7" json:"owner"` InstanceCount int32 `thrift:"instanceCount,8" json:"instanceCount"` Key *JobKey `thrift:"key,9" json:"key"` }
Description of an Aurora job. One task will be scheduled for each instance within the job.
Attributes:
- Key: Key for this job. If not specified name, owner.role, and a reasonable default environment are
used to construct it server-side.
- Owner: Owner of this job.
- CronSchedule: If present, the job will be handled as a cron job with this crontab-syntax schedule.
- CronCollisionPolicy: Collision policy to use when handling overlapping cron runs. Default is KILL_EXISTING.
- TaskConfig: Task configuration for this job.
- InstanceCount: The number of instances in the job. Generated instance IDs for tasks will be in the range
[0, instances).
var AuroraSchedulerManagerCreateJobArgs_Description_DEFAULT *JobConfiguration
var AuroraSchedulerManagerReplaceCronTemplateArgs_Config_DEFAULT *JobConfiguration
var AuroraSchedulerManagerScheduleCronJobArgs_Description_DEFAULT *JobConfiguration
var JobSummary_Job_DEFAULT *JobConfiguration
var ReadOnlySchedulerPopulateJobConfigArgs_Description_DEFAULT *JobConfiguration
func NewJobConfiguration ¶
func NewJobConfiguration() *JobConfiguration
func (*JobConfiguration) GetCronCollisionPolicy ¶
func (p *JobConfiguration) GetCronCollisionPolicy() CronCollisionPolicy
func (*JobConfiguration) GetCronSchedule ¶
func (p *JobConfiguration) GetCronSchedule() string
func (*JobConfiguration) GetInstanceCount ¶
func (p *JobConfiguration) GetInstanceCount() int32
func (*JobConfiguration) GetKey ¶
func (p *JobConfiguration) GetKey() *JobKey
func (*JobConfiguration) GetOwner ¶
func (p *JobConfiguration) GetOwner() *Identity
func (*JobConfiguration) GetTaskConfig ¶
func (p *JobConfiguration) GetTaskConfig() *TaskConfig
func (*JobConfiguration) IsSetCronSchedule ¶
func (p *JobConfiguration) IsSetCronSchedule() bool
func (*JobConfiguration) IsSetKey ¶
func (p *JobConfiguration) IsSetKey() bool
func (*JobConfiguration) IsSetOwner ¶
func (p *JobConfiguration) IsSetOwner() bool
func (*JobConfiguration) IsSetTaskConfig ¶
func (p *JobConfiguration) IsSetTaskConfig() bool
func (*JobConfiguration) String ¶
func (p *JobConfiguration) String() string
type JobInstanceUpdateEvent ¶
type JobInstanceUpdateEvent struct { InstanceId int32 `thrift:"instanceId,1" json:"instanceId"` TimestampMs int64 `thrift:"timestampMs,2" json:"timestampMs"` Action JobUpdateAction `thrift:"action,3" json:"action"` }
Event marking a state transition in job instance update lifecycle.
Attributes:
- InstanceId: Job instance ID.
- TimestampMs: Epoch timestamp in milliseconds.
- Action: Job update action taken on the instance.
func NewJobInstanceUpdateEvent ¶
func NewJobInstanceUpdateEvent() *JobInstanceUpdateEvent
func (*JobInstanceUpdateEvent) GetAction ¶
func (p *JobInstanceUpdateEvent) GetAction() JobUpdateAction
func (*JobInstanceUpdateEvent) GetInstanceId ¶
func (p *JobInstanceUpdateEvent) GetInstanceId() int32
func (*JobInstanceUpdateEvent) GetTimestampMs ¶
func (p *JobInstanceUpdateEvent) GetTimestampMs() int64
func (*JobInstanceUpdateEvent) Read ¶
func (p *JobInstanceUpdateEvent) Read(iprot thrift.TProtocol) error
func (*JobInstanceUpdateEvent) String ¶
func (p *JobInstanceUpdateEvent) String() string
type JobKey ¶
type JobKey struct { Role string `thrift:"role,1" json:"role"` Environment string `thrift:"environment,2" json:"environment"` Name string `thrift:"name,3" json:"name"` }
A unique identifier for a Job.
Attributes:
- Role: User role (Unix service account), for example "mesos"
- Environment: Environment, for example "devel"
- Name: Name, for example "labrat"
var AuroraSchedulerManagerDescheduleCronJobArgs_Job_DEFAULT *JobKey
var AuroraSchedulerManagerKillTasksArgs_Job_DEFAULT *JobKey
var AuroraSchedulerManagerRestartShardsArgs_Job_DEFAULT *JobKey
var AuroraSchedulerManagerStartCronJobArgs_Job_DEFAULT *JobKey
var ConfigSummary_Key_DEFAULT *JobKey
var InstanceKey_JobKey_DEFAULT *JobKey
var JobConfiguration_Key_DEFAULT *JobKey
var JobUpdateKey_Job_DEFAULT *JobKey
var JobUpdateQuery_JobKey_DEFAULT *JobKey
var LockKey_Job_DEFAULT *JobKey
var ReadOnlySchedulerGetConfigSummaryArgs_Job_DEFAULT *JobKey
var TaskConfig_Job_DEFAULT *JobKey
func (*JobKey) GetEnvironment ¶
type JobStats ¶
type JobStats struct { ActiveTaskCount int32 `thrift:"activeTaskCount,1" json:"activeTaskCount"` FinishedTaskCount int32 `thrift:"finishedTaskCount,2" json:"finishedTaskCount"` FailedTaskCount int32 `thrift:"failedTaskCount,3" json:"failedTaskCount"` PendingTaskCount int32 `thrift:"pendingTaskCount,4" json:"pendingTaskCount"` }
Attributes:
- ActiveTaskCount: Number of tasks in active state for this job.
- FinishedTaskCount: Number of tasks in finished state for this job.
- FailedTaskCount: Number of failed tasks for this job.
- PendingTaskCount: Number of tasks in pending state for this job.
var JobSummary_Stats_DEFAULT *JobStats
func NewJobStats ¶
func NewJobStats() *JobStats
func (*JobStats) GetActiveTaskCount ¶
func (*JobStats) GetFailedTaskCount ¶
func (*JobStats) GetFinishedTaskCount ¶
func (*JobStats) GetPendingTaskCount ¶
type JobSummary ¶
type JobSummary struct { Job *JobConfiguration `thrift:"job,1" json:"job"` Stats *JobStats `thrift:"stats,2" json:"stats"` NextCronRunMs *int64 `thrift:"nextCronRunMs,3" json:"nextCronRunMs,omitempty"` }
Attributes:
- Job
- Stats
- NextCronRunMs: Timestamp of next cron run in ms since epoch, for a cron job
func NewJobSummary ¶
func NewJobSummary() *JobSummary
func (*JobSummary) GetJob ¶
func (p *JobSummary) GetJob() *JobConfiguration
func (*JobSummary) GetNextCronRunMs ¶
func (p *JobSummary) GetNextCronRunMs() int64
func (*JobSummary) GetStats ¶
func (p *JobSummary) GetStats() *JobStats
func (*JobSummary) IsSetJob ¶
func (p *JobSummary) IsSetJob() bool
func (*JobSummary) IsSetNextCronRunMs ¶
func (p *JobSummary) IsSetNextCronRunMs() bool
func (*JobSummary) IsSetStats ¶
func (p *JobSummary) IsSetStats() bool
func (*JobSummary) String ¶
func (p *JobSummary) String() string
type JobSummaryResult_ ¶
type JobSummaryResult_ struct {
Summaries map[*JobSummary]bool `thrift:"summaries,1" json:"summaries"`
}
Attributes:
- Summaries
var Result__JobSummaryResult__DEFAULT *JobSummaryResult_
func NewJobSummaryResult_ ¶
func NewJobSummaryResult_() *JobSummaryResult_
func (*JobSummaryResult_) GetSummaries ¶
func (p *JobSummaryResult_) GetSummaries() map[*JobSummary]bool
func (*JobSummaryResult_) String ¶
func (p *JobSummaryResult_) String() string
type JobUpdate ¶
type JobUpdate struct { Summary *JobUpdateSummary `thrift:"summary,1" json:"summary"` Instructions *JobUpdateInstructions `thrift:"instructions,2" json:"instructions"` }
Full definition of the job update.
Attributes:
- Summary: Update summary.
- Instructions: Update configuration.
var JobUpdateDetails_Update_DEFAULT *JobUpdate
func NewJobUpdate ¶
func NewJobUpdate() *JobUpdate
func (*JobUpdate) GetInstructions ¶
func (p *JobUpdate) GetInstructions() *JobUpdateInstructions
func (*JobUpdate) GetSummary ¶
func (p *JobUpdate) GetSummary() *JobUpdateSummary
func (*JobUpdate) IsSetInstructions ¶
func (*JobUpdate) IsSetSummary ¶
type JobUpdateAction ¶
type JobUpdateAction int64
Job update actions that can be applied to job instances.
const ( JobUpdateAction_INSTANCE_UPDATED JobUpdateAction = 1 JobUpdateAction_INSTANCE_ROLLED_BACK JobUpdateAction = 2 JobUpdateAction_INSTANCE_UPDATING JobUpdateAction = 3 JobUpdateAction_INSTANCE_ROLLING_BACK JobUpdateAction = 4 JobUpdateAction_INSTANCE_UPDATE_FAILED JobUpdateAction = 5 JobUpdateAction_INSTANCE_ROLLBACK_FAILED JobUpdateAction = 6 )
func JobUpdateActionFromString ¶
func JobUpdateActionFromString(s string) (JobUpdateAction, error)
func JobUpdateActionPtr ¶
func JobUpdateActionPtr(v JobUpdateAction) *JobUpdateAction
func (JobUpdateAction) MarshalText ¶
func (p JobUpdateAction) MarshalText() ([]byte, error)
func (JobUpdateAction) String ¶
func (p JobUpdateAction) String() string
func (*JobUpdateAction) UnmarshalText ¶
func (p *JobUpdateAction) UnmarshalText(text []byte) error
type JobUpdateDetails ¶
type JobUpdateDetails struct { Update *JobUpdate `thrift:"update,1" json:"update"` UpdateEvents []*JobUpdateEvent `thrift:"updateEvents,2" json:"updateEvents"` InstanceEvents []*JobInstanceUpdateEvent `thrift:"instanceEvents,3" json:"instanceEvents"` }
Attributes:
- Update: Update definition.
- UpdateEvents: History for this update.
- InstanceEvents: History for the individual instances updated.
var GetJobUpdateDetailsResult__Details_DEFAULT *JobUpdateDetails
func NewJobUpdateDetails ¶
func NewJobUpdateDetails() *JobUpdateDetails
func (*JobUpdateDetails) GetInstanceEvents ¶
func (p *JobUpdateDetails) GetInstanceEvents() []*JobInstanceUpdateEvent
func (*JobUpdateDetails) GetUpdate ¶
func (p *JobUpdateDetails) GetUpdate() *JobUpdate
func (*JobUpdateDetails) GetUpdateEvents ¶
func (p *JobUpdateDetails) GetUpdateEvents() []*JobUpdateEvent
func (*JobUpdateDetails) IsSetUpdate ¶
func (p *JobUpdateDetails) IsSetUpdate() bool
func (*JobUpdateDetails) String ¶
func (p *JobUpdateDetails) String() string
type JobUpdateEvent ¶
type JobUpdateEvent struct { Status JobUpdateStatus `thrift:"status,1" json:"status"` TimestampMs int64 `thrift:"timestampMs,2" json:"timestampMs"` User *string `thrift:"user,3" json:"user,omitempty"` Message *string `thrift:"message,4" json:"message,omitempty"` }
Event marking a state transition in job update lifecycle.
Attributes:
- Status: Update status.
- TimestampMs: Epoch timestamp in milliseconds.
- User: User who performed this event (if user-initiated).
- Message: Message from the user (for user-initiated transitions) or the scheduler about why the state was
changed.
func NewJobUpdateEvent ¶
func NewJobUpdateEvent() *JobUpdateEvent
func (*JobUpdateEvent) GetMessage ¶
func (p *JobUpdateEvent) GetMessage() string
func (*JobUpdateEvent) GetStatus ¶
func (p *JobUpdateEvent) GetStatus() JobUpdateStatus
func (*JobUpdateEvent) GetTimestampMs ¶
func (p *JobUpdateEvent) GetTimestampMs() int64
func (*JobUpdateEvent) GetUser ¶
func (p *JobUpdateEvent) GetUser() string
func (*JobUpdateEvent) IsSetMessage ¶
func (p *JobUpdateEvent) IsSetMessage() bool
func (*JobUpdateEvent) IsSetUser ¶
func (p *JobUpdateEvent) IsSetUser() bool
func (*JobUpdateEvent) String ¶
func (p *JobUpdateEvent) String() string
type JobUpdateInstructions ¶
type JobUpdateInstructions struct { InitialState map[*InstanceTaskConfig]bool `thrift:"initialState,1" json:"initialState"` DesiredState *InstanceTaskConfig `thrift:"desiredState,2" json:"desiredState"` Settings *JobUpdateSettings `thrift:"settings,3" json:"settings"` }
Update configuration and setting details.
Attributes:
- InitialState: Actual InstanceId -> TaskConfig mapping when the update was requested.
- DesiredState: Desired configuration when the update completes.
- Settings: Update specific settings.
var JobUpdate_Instructions_DEFAULT *JobUpdateInstructions
func NewJobUpdateInstructions ¶
func NewJobUpdateInstructions() *JobUpdateInstructions
func (*JobUpdateInstructions) GetDesiredState ¶
func (p *JobUpdateInstructions) GetDesiredState() *InstanceTaskConfig
func (*JobUpdateInstructions) GetInitialState ¶
func (p *JobUpdateInstructions) GetInitialState() map[*InstanceTaskConfig]bool
func (*JobUpdateInstructions) GetSettings ¶
func (p *JobUpdateInstructions) GetSettings() *JobUpdateSettings
func (*JobUpdateInstructions) IsSetDesiredState ¶
func (p *JobUpdateInstructions) IsSetDesiredState() bool
func (*JobUpdateInstructions) IsSetSettings ¶
func (p *JobUpdateInstructions) IsSetSettings() bool
func (*JobUpdateInstructions) Read ¶
func (p *JobUpdateInstructions) Read(iprot thrift.TProtocol) error
func (*JobUpdateInstructions) String ¶
func (p *JobUpdateInstructions) String() string
type JobUpdateKey ¶
type JobUpdateKey struct { Job *JobKey `thrift:"job,1" json:"job"` ID string `thrift:"id,2" json:"id"` }
Job update key.
Attributes:
- Job: Job being updated
- ID: Update ID.
var AuroraSchedulerManagerAbortJobUpdateArgs_Key_DEFAULT *JobUpdateKey
var AuroraSchedulerManagerPauseJobUpdateArgs_Key_DEFAULT *JobUpdateKey
var AuroraSchedulerManagerPulseJobUpdateArgs_Key_DEFAULT *JobUpdateKey
var AuroraSchedulerManagerResumeJobUpdateArgs_Key_DEFAULT *JobUpdateKey
var AuroraSchedulerManagerRollbackJobUpdateArgs_Key_DEFAULT *JobUpdateKey
var JobUpdateQuery_Key_DEFAULT *JobUpdateKey
var JobUpdateSummary_Key_DEFAULT *JobUpdateKey
var StartJobUpdateResult__Key_DEFAULT *JobUpdateKey
func NewJobUpdateKey ¶
func NewJobUpdateKey() *JobUpdateKey
func (*JobUpdateKey) GetID ¶
func (p *JobUpdateKey) GetID() string
func (*JobUpdateKey) GetJob ¶
func (p *JobUpdateKey) GetJob() *JobKey
func (*JobUpdateKey) IsSetJob ¶
func (p *JobUpdateKey) IsSetJob() bool
func (*JobUpdateKey) String ¶
func (p *JobUpdateKey) String() string
type JobUpdatePulseStatus ¶
type JobUpdatePulseStatus int64
Status of the coordinated update. Intended as a response to pulseJobUpdate RPC.
const ( JobUpdatePulseStatus_OK JobUpdatePulseStatus = 1 JobUpdatePulseStatus_FINISHED JobUpdatePulseStatus = 2 )
func JobUpdatePulseStatusFromString ¶
func JobUpdatePulseStatusFromString(s string) (JobUpdatePulseStatus, error)
func JobUpdatePulseStatusPtr ¶
func JobUpdatePulseStatusPtr(v JobUpdatePulseStatus) *JobUpdatePulseStatus
func (JobUpdatePulseStatus) MarshalText ¶
func (p JobUpdatePulseStatus) MarshalText() ([]byte, error)
func (JobUpdatePulseStatus) String ¶
func (p JobUpdatePulseStatus) String() string
func (*JobUpdatePulseStatus) UnmarshalText ¶
func (p *JobUpdatePulseStatus) UnmarshalText(text []byte) error
type JobUpdateQuery ¶
type JobUpdateQuery struct { // unused field # 1 Role *string `thrift:"role,2" json:"role,omitempty"` JobKey *JobKey `thrift:"jobKey,3" json:"jobKey,omitempty"` User *string `thrift:"user,4" json:"user,omitempty"` UpdateStatuses map[JobUpdateStatus]bool `thrift:"updateStatuses,5" json:"updateStatuses,omitempty"` Offset int32 `thrift:"offset,6" json:"offset"` Limit int32 `thrift:"limit,7" json:"limit"` Key *JobUpdateKey `thrift:"key,8" json:"key,omitempty"` }
Contains a set of restrictions on matching job updates where all restrictions must be met (terms are AND'ed together).
Attributes:
- Role: Job role.
- Key: Unique identifier for a job update.
- JobKey: Job key.
- User: User who created the update.
- UpdateStatuses: Set of update statuses.
- Offset: Offset to serve data from. Used by pagination.
- Limit: Number or records to serve. Used by pagination.
var ReadOnlySchedulerGetJobUpdateDetailsArgs_Query_DEFAULT *JobUpdateQuery
var ReadOnlySchedulerGetJobUpdateSummariesArgs_JobUpdateQuery_DEFAULT *JobUpdateQuery
func NewJobUpdateQuery ¶
func NewJobUpdateQuery() *JobUpdateQuery
func (*JobUpdateQuery) GetJobKey ¶
func (p *JobUpdateQuery) GetJobKey() *JobKey
func (*JobUpdateQuery) GetKey ¶
func (p *JobUpdateQuery) GetKey() *JobUpdateKey
func (*JobUpdateQuery) GetLimit ¶
func (p *JobUpdateQuery) GetLimit() int32
func (*JobUpdateQuery) GetOffset ¶
func (p *JobUpdateQuery) GetOffset() int32
func (*JobUpdateQuery) GetRole ¶
func (p *JobUpdateQuery) GetRole() string
func (*JobUpdateQuery) GetUpdateStatuses ¶
func (p *JobUpdateQuery) GetUpdateStatuses() map[JobUpdateStatus]bool
func (*JobUpdateQuery) GetUser ¶
func (p *JobUpdateQuery) GetUser() string
func (*JobUpdateQuery) IsSetJobKey ¶
func (p *JobUpdateQuery) IsSetJobKey() bool
func (*JobUpdateQuery) IsSetKey ¶
func (p *JobUpdateQuery) IsSetKey() bool
func (*JobUpdateQuery) IsSetRole ¶
func (p *JobUpdateQuery) IsSetRole() bool
func (*JobUpdateQuery) IsSetUpdateStatuses ¶
func (p *JobUpdateQuery) IsSetUpdateStatuses() bool
func (*JobUpdateQuery) IsSetUser ¶
func (p *JobUpdateQuery) IsSetUser() bool
func (*JobUpdateQuery) String ¶
func (p *JobUpdateQuery) String() string
type JobUpdateRequest ¶
type JobUpdateRequest struct { TaskConfig *TaskConfig `thrift:"taskConfig,1" json:"taskConfig"` InstanceCount int32 `thrift:"instanceCount,2" json:"instanceCount"` Settings *JobUpdateSettings `thrift:"settings,3" json:"settings"` Metadata map[*Metadata]bool `thrift:"metadata,4" json:"metadata,omitempty"` }
A request to update the following instances of an existing job. Used by startUpdate.
Attributes:
- TaskConfig: Desired TaskConfig to apply.
- InstanceCount: Desired number of instances of the task config.
- Settings: Update settings and limits.
- Metadata: Update metadata supplied by the client issuing the JobUpdateRequest.
var AuroraSchedulerManagerStartJobUpdateArgs_Request_DEFAULT *JobUpdateRequest
var ReadOnlySchedulerGetJobUpdateDiffArgs_Request_DEFAULT *JobUpdateRequest
func NewJobUpdateRequest ¶
func NewJobUpdateRequest() *JobUpdateRequest
func (*JobUpdateRequest) GetInstanceCount ¶
func (p *JobUpdateRequest) GetInstanceCount() int32
func (*JobUpdateRequest) GetMetadata ¶
func (p *JobUpdateRequest) GetMetadata() map[*Metadata]bool
func (*JobUpdateRequest) GetSettings ¶
func (p *JobUpdateRequest) GetSettings() *JobUpdateSettings
func (*JobUpdateRequest) GetTaskConfig ¶
func (p *JobUpdateRequest) GetTaskConfig() *TaskConfig
func (*JobUpdateRequest) IsSetMetadata ¶
func (p *JobUpdateRequest) IsSetMetadata() bool
func (*JobUpdateRequest) IsSetSettings ¶
func (p *JobUpdateRequest) IsSetSettings() bool
func (*JobUpdateRequest) IsSetTaskConfig ¶
func (p *JobUpdateRequest) IsSetTaskConfig() bool
func (*JobUpdateRequest) String ¶
func (p *JobUpdateRequest) String() string
type JobUpdateSettings ¶
type JobUpdateSettings struct { UpdateGroupSize int32 `thrift:"updateGroupSize,1" json:"updateGroupSize"` MaxPerInstanceFailures int32 `thrift:"maxPerInstanceFailures,2" json:"maxPerInstanceFailures"` MaxFailedInstances int32 `thrift:"maxFailedInstances,3" json:"maxFailedInstances"` // unused field # 4 MinWaitInInstanceRunningMs int32 `thrift:"minWaitInInstanceRunningMs,5" json:"minWaitInInstanceRunningMs"` RollbackOnFailure bool `thrift:"rollbackOnFailure,6" json:"rollbackOnFailure"` UpdateOnlyTheseInstances map[*Range]bool `thrift:"updateOnlyTheseInstances,7" json:"updateOnlyTheseInstances"` WaitForBatchCompletion bool `thrift:"waitForBatchCompletion,8" json:"waitForBatchCompletion"` BlockIfNoPulsesAfterMs *int32 `thrift:"blockIfNoPulsesAfterMs,9" json:"blockIfNoPulsesAfterMs,omitempty"` }
Job update thresholds and limits.
Attributes:
- UpdateGroupSize: Max number of instances being updated at any given moment.
- MaxPerInstanceFailures: Max number of instance failures to tolerate before marking instance as FAILED.
- MaxFailedInstances: Max number of FAILED instances to tolerate before terminating the update.
- MinWaitInInstanceRunningMs: Min time to watch a RUNNING instance.
- RollbackOnFailure: If true, enables failed update rollback.
- UpdateOnlyTheseInstances: Instance IDs to act on. All instances will be affected if this is not set.
- WaitForBatchCompletion: If true, use updateGroupSize as strict batching boundaries, and avoid proceeding to another
batch until the preceding batch finishes updating.
- BlockIfNoPulsesAfterMs: If set, requires external calls to pulseJobUpdate RPC within the specified rate for the
update to make progress. If no pulses received within specified interval the update will block. A blocked update is unable to continue but retains its current status. It may only get unblocked by a fresh pulseJobUpdate call.
var JobUpdateInstructions_Settings_DEFAULT *JobUpdateSettings
var JobUpdateRequest_Settings_DEFAULT *JobUpdateSettings
func NewJobUpdateSettings ¶
func NewJobUpdateSettings() *JobUpdateSettings
func (*JobUpdateSettings) GetBlockIfNoPulsesAfterMs ¶
func (p *JobUpdateSettings) GetBlockIfNoPulsesAfterMs() int32
func (*JobUpdateSettings) GetMaxFailedInstances ¶
func (p *JobUpdateSettings) GetMaxFailedInstances() int32
func (*JobUpdateSettings) GetMaxPerInstanceFailures ¶
func (p *JobUpdateSettings) GetMaxPerInstanceFailures() int32
func (*JobUpdateSettings) GetMinWaitInInstanceRunningMs ¶
func (p *JobUpdateSettings) GetMinWaitInInstanceRunningMs() int32
func (*JobUpdateSettings) GetRollbackOnFailure ¶
func (p *JobUpdateSettings) GetRollbackOnFailure() bool
func (*JobUpdateSettings) GetUpdateGroupSize ¶
func (p *JobUpdateSettings) GetUpdateGroupSize() int32
func (*JobUpdateSettings) GetUpdateOnlyTheseInstances ¶
func (p *JobUpdateSettings) GetUpdateOnlyTheseInstances() map[*Range]bool
func (*JobUpdateSettings) GetWaitForBatchCompletion ¶
func (p *JobUpdateSettings) GetWaitForBatchCompletion() bool
func (*JobUpdateSettings) IsSetBlockIfNoPulsesAfterMs ¶
func (p *JobUpdateSettings) IsSetBlockIfNoPulsesAfterMs() bool
func (*JobUpdateSettings) String ¶
func (p *JobUpdateSettings) String() string
type JobUpdateState ¶
type JobUpdateState struct { Status JobUpdateStatus `thrift:"status,1" json:"status"` CreatedTimestampMs int64 `thrift:"createdTimestampMs,2" json:"createdTimestampMs"` LastModifiedTimestampMs int64 `thrift:"lastModifiedTimestampMs,3" json:"lastModifiedTimestampMs"` }
Current job update state including status and created/modified timestamps.
Attributes:
- Status: Current status of the update.
- CreatedTimestampMs: Created timestamp in milliseconds.
- LastModifiedTimestampMs: Last modified timestamp in milliseconds.
var JobUpdateSummary_State_DEFAULT *JobUpdateState
func NewJobUpdateState ¶
func NewJobUpdateState() *JobUpdateState
func (*JobUpdateState) GetCreatedTimestampMs ¶
func (p *JobUpdateState) GetCreatedTimestampMs() int64
func (*JobUpdateState) GetLastModifiedTimestampMs ¶
func (p *JobUpdateState) GetLastModifiedTimestampMs() int64
func (*JobUpdateState) GetStatus ¶
func (p *JobUpdateState) GetStatus() JobUpdateStatus
func (*JobUpdateState) String ¶
func (p *JobUpdateState) String() string
type JobUpdateStatus ¶
type JobUpdateStatus int64
States that a job update may be in.
const ( JobUpdateStatus_ROLLING_FORWARD JobUpdateStatus = 0 JobUpdateStatus_ROLLING_BACK JobUpdateStatus = 1 JobUpdateStatus_ROLL_FORWARD_PAUSED JobUpdateStatus = 2 JobUpdateStatus_ROLL_BACK_PAUSED JobUpdateStatus = 3 JobUpdateStatus_ROLLED_FORWARD JobUpdateStatus = 4 JobUpdateStatus_ROLLED_BACK JobUpdateStatus = 5 JobUpdateStatus_ABORTED JobUpdateStatus = 6 JobUpdateStatus_ERROR JobUpdateStatus = 7 JobUpdateStatus_FAILED JobUpdateStatus = 8 JobUpdateStatus_ROLL_FORWARD_AWAITING_PULSE JobUpdateStatus = 9 JobUpdateStatus_ROLL_BACK_AWAITING_PULSE JobUpdateStatus = 10 )
func JobUpdateStatusFromString ¶
func JobUpdateStatusFromString(s string) (JobUpdateStatus, error)
func JobUpdateStatusPtr ¶
func JobUpdateStatusPtr(v JobUpdateStatus) *JobUpdateStatus
func (JobUpdateStatus) MarshalText ¶
func (p JobUpdateStatus) MarshalText() ([]byte, error)
func (JobUpdateStatus) String ¶
func (p JobUpdateStatus) String() string
func (*JobUpdateStatus) UnmarshalText ¶
func (p *JobUpdateStatus) UnmarshalText(text []byte) error
type JobUpdateSummary ¶
type JobUpdateSummary struct { // unused fields # 1 to 2 User string `thrift:"user,3" json:"user"` State *JobUpdateState `thrift:"state,4" json:"state"` Key *JobUpdateKey `thrift:"key,5" json:"key"` Metadata map[*Metadata]bool `thrift:"metadata,6" json:"metadata,omitempty"` }
Summary of the job update including job key, user and current state.
Attributes:
- Key: Unique identifier for the update.
- User: User initiated an update.
- State: Current job update state.
- Metadata: Update metadata supplied by the client.
var JobUpdate_Summary_DEFAULT *JobUpdateSummary
var StartJobUpdateResult__UpdateSummary_DEFAULT *JobUpdateSummary
func NewJobUpdateSummary ¶
func NewJobUpdateSummary() *JobUpdateSummary
func (*JobUpdateSummary) GetKey ¶
func (p *JobUpdateSummary) GetKey() *JobUpdateKey
func (*JobUpdateSummary) GetMetadata ¶
func (p *JobUpdateSummary) GetMetadata() map[*Metadata]bool
func (*JobUpdateSummary) GetState ¶
func (p *JobUpdateSummary) GetState() *JobUpdateState
func (*JobUpdateSummary) GetUser ¶
func (p *JobUpdateSummary) GetUser() string
func (*JobUpdateSummary) IsSetKey ¶
func (p *JobUpdateSummary) IsSetKey() bool
func (*JobUpdateSummary) IsSetMetadata ¶
func (p *JobUpdateSummary) IsSetMetadata() bool
func (*JobUpdateSummary) IsSetState ¶
func (p *JobUpdateSummary) IsSetState() bool
func (*JobUpdateSummary) String ¶
func (p *JobUpdateSummary) String() string
type LimitConstraint ¶
type LimitConstraint struct {
Limit int32 `thrift:"limit,1" json:"limit"`
}
A constraint the specifies the maximum number of active tasks on a host with a matching attribute that may be scheduled simultaneously.
Attributes:
- Limit
var TaskConstraint_Limit_DEFAULT *LimitConstraint
func NewLimitConstraint ¶
func NewLimitConstraint() *LimitConstraint
func (*LimitConstraint) GetLimit ¶
func (p *LimitConstraint) GetLimit() int32
func (*LimitConstraint) String ¶
func (p *LimitConstraint) String() string
type ListBackupsResult_ ¶
Attributes:
- Backups
var Result__ListBackupsResult__DEFAULT *ListBackupsResult_
func NewListBackupsResult_ ¶
func NewListBackupsResult_() *ListBackupsResult_
func (*ListBackupsResult_) GetBackups ¶
func (p *ListBackupsResult_) GetBackups() map[string]bool
func (*ListBackupsResult_) String ¶
func (p *ListBackupsResult_) String() string
type Lock ¶
type Lock struct { Key *LockKey `thrift:"key,1" json:"key"` Token string `thrift:"token,2" json:"token"` User string `thrift:"user,3" json:"user"` TimestampMs int64 `thrift:"timestampMs,4" json:"timestampMs"` Message *string `thrift:"message,5" json:"message,omitempty"` }
A generic lock struct to facilitate context specific resource/operation serialization.
Attributes:
- Key: ID of the lock - unique per storage
- Token: UUID - facilitating soft lock authorization
- User: Lock creator
- TimestampMs: Lock creation timestamp in milliseconds
- Message: Optional message to record with the lock
func (*Lock) GetMessage ¶
func (*Lock) GetTimestampMs ¶
func (*Lock) IsSetMessage ¶
type LockKey ¶
type LockKey struct {
Job *JobKey `thrift:"job,1" json:"job,omitempty"`
}
A unique lock key.
Attributes:
- Job
var Lock_Key_DEFAULT *LockKey
func NewLockKey ¶
func NewLockKey() *LockKey
func (*LockKey) CountSetFieldsLockKey ¶
type MaintenanceMode ¶
type MaintenanceMode int64
const ( MaintenanceMode_NONE MaintenanceMode = 1 MaintenanceMode_SCHEDULED MaintenanceMode = 2 MaintenanceMode_DRAINING MaintenanceMode = 3 MaintenanceMode_DRAINED MaintenanceMode = 4 )
var HostAttributes_Mode_DEFAULT MaintenanceMode
func MaintenanceModeFromString ¶
func MaintenanceModeFromString(s string) (MaintenanceMode, error)
func MaintenanceModePtr ¶
func MaintenanceModePtr(v MaintenanceMode) *MaintenanceMode
func (MaintenanceMode) MarshalText ¶
func (p MaintenanceMode) MarshalText() ([]byte, error)
func (MaintenanceMode) String ¶
func (p MaintenanceMode) String() string
func (*MaintenanceMode) UnmarshalText ¶
func (p *MaintenanceMode) UnmarshalText(text []byte) error
type MaintenanceStatusResult_ ¶
type MaintenanceStatusResult_ struct {
Statuses map[*HostStatus]bool `thrift:"statuses,1" json:"statuses"`
}
Attributes:
- Statuses
var Result__MaintenanceStatusResult__DEFAULT *MaintenanceStatusResult_
func NewMaintenanceStatusResult_ ¶
func NewMaintenanceStatusResult_() *MaintenanceStatusResult_
func (*MaintenanceStatusResult_) GetStatuses ¶
func (p *MaintenanceStatusResult_) GetStatuses() map[*HostStatus]bool
func (*MaintenanceStatusResult_) Read ¶
func (p *MaintenanceStatusResult_) Read(iprot thrift.TProtocol) error
func (*MaintenanceStatusResult_) String ¶
func (p *MaintenanceStatusResult_) String() string
type MesosContainer ¶
type MesosContainer struct { Image *Image `thrift:"image,1" json:"image,omitempty"` Volumes []*Volume `thrift:"volumes,2" json:"volumes,omitempty"` }
Describes a mesos container, this is the default
Attributes:
- Image: the optional filesystem image to use when launching this task.
- Volumes: the optional list of volumes to mount into the task.
var Container_Mesos_DEFAULT *MesosContainer
func NewMesosContainer ¶
func NewMesosContainer() *MesosContainer
func (*MesosContainer) GetImage ¶
func (p *MesosContainer) GetImage() *Image
func (*MesosContainer) GetVolumes ¶ added in v1.1.0
func (p *MesosContainer) GetVolumes() []*Volume
func (*MesosContainer) IsSetImage ¶
func (p *MesosContainer) IsSetImage() bool
func (*MesosContainer) IsSetVolumes ¶ added in v1.1.0
func (p *MesosContainer) IsSetVolumes() bool
func (*MesosContainer) String ¶
func (p *MesosContainer) String() string
type MesosFetcherURI ¶
type MesosFetcherURI struct { Value string `thrift:"value,1" json:"value"` Extract *bool `thrift:"extract,2" json:"extract,omitempty"` Cache *bool `thrift:"cache,3" json:"cache,omitempty"` }
URI which mirrors CommandInfo.URI in the Mesos Protobuf
Attributes:
- Value: Where to get the resource from
- Extract: Extract compressed archive after downloading
- Cache: Cache value using Mesos Fetcher caching mechanism *
func NewMesosFetcherURI ¶
func NewMesosFetcherURI() *MesosFetcherURI
func (*MesosFetcherURI) GetCache ¶
func (p *MesosFetcherURI) GetCache() bool
func (*MesosFetcherURI) GetExtract ¶
func (p *MesosFetcherURI) GetExtract() bool
func (*MesosFetcherURI) GetValue ¶
func (p *MesosFetcherURI) GetValue() string
func (*MesosFetcherURI) IsSetCache ¶
func (p *MesosFetcherURI) IsSetCache() bool
func (*MesosFetcherURI) IsSetExtract ¶
func (p *MesosFetcherURI) IsSetExtract() bool
func (*MesosFetcherURI) String ¶
func (p *MesosFetcherURI) String() string
type Metadata ¶
type Metadata struct { Key string `thrift:"key,1" json:"key"` Value string `thrift:"value,2" json:"value"` }
Arbitrary key-value metadata to be included into TaskConfig.
Attributes:
- Key
- Value
func NewMetadata ¶
func NewMetadata() *Metadata
type Mode ¶
type Mode int64
The mode for a volume mount
func ModeFromString ¶
func (Mode) MarshalText ¶
func (*Mode) UnmarshalText ¶
type Package ¶
type Package struct { Role string `thrift:"role,1" json:"role"` Name string `thrift:"name,2" json:"name"` Version int32 `thrift:"version,3" json:"version"` }
Attributes:
- Role
- Name
- Version
func NewPackage ¶
func NewPackage() *Package
func (*Package) GetVersion ¶
type PendingReason ¶
type PendingReason struct { TaskId string `thrift:"taskId,1" json:"taskId"` Reason string `thrift:"reason,2" json:"reason"` }
Attributes:
- TaskId
- Reason
func NewPendingReason ¶
func NewPendingReason() *PendingReason
func (*PendingReason) GetReason ¶
func (p *PendingReason) GetReason() string
func (*PendingReason) GetTaskId ¶
func (p *PendingReason) GetTaskId() string
func (*PendingReason) String ¶
func (p *PendingReason) String() string
type PopulateJobResult_ ¶
type PopulateJobResult_ struct { // unused field # 1 TaskConfig *TaskConfig `thrift:"taskConfig,2" json:"taskConfig"` }
Attributes:
- TaskConfig
var Result__PopulateJobResult__DEFAULT *PopulateJobResult_
func NewPopulateJobResult_ ¶
func NewPopulateJobResult_() *PopulateJobResult_
func (*PopulateJobResult_) GetTaskConfig ¶
func (p *PopulateJobResult_) GetTaskConfig() *TaskConfig
func (*PopulateJobResult_) IsSetTaskConfig ¶
func (p *PopulateJobResult_) IsSetTaskConfig() bool
func (*PopulateJobResult_) String ¶
func (p *PopulateJobResult_) String() string
type PulseJobUpdateResult_ ¶
type PulseJobUpdateResult_ struct {
Status JobUpdatePulseStatus `thrift:"status,1" json:"status"`
}
Result of the pulseJobUpdate call.
Attributes:
- Status
var Result__PulseJobUpdateResult__DEFAULT *PulseJobUpdateResult_
func NewPulseJobUpdateResult_ ¶
func NewPulseJobUpdateResult_() *PulseJobUpdateResult_
func (*PulseJobUpdateResult_) GetStatus ¶
func (p *PulseJobUpdateResult_) GetStatus() JobUpdatePulseStatus
func (*PulseJobUpdateResult_) Read ¶
func (p *PulseJobUpdateResult_) Read(iprot thrift.TProtocol) error
func (*PulseJobUpdateResult_) String ¶
func (p *PulseJobUpdateResult_) String() string
type QueryRecoveryResult_ ¶
type QueryRecoveryResult_ struct {
Tasks map[*ScheduledTask]bool `thrift:"tasks,1" json:"tasks"`
}
Attributes:
- Tasks
var Result__QueryRecoveryResult__DEFAULT *QueryRecoveryResult_
func NewQueryRecoveryResult_ ¶
func NewQueryRecoveryResult_() *QueryRecoveryResult_
func (*QueryRecoveryResult_) GetTasks ¶
func (p *QueryRecoveryResult_) GetTasks() map[*ScheduledTask]bool
func (*QueryRecoveryResult_) Read ¶
func (p *QueryRecoveryResult_) Read(iprot thrift.TProtocol) error
func (*QueryRecoveryResult_) String ¶
func (p *QueryRecoveryResult_) String() string
type Range ¶
type Range struct { First int32 `thrift:"first,1" json:"first"` Last int32 `thrift:"last,2" json:"last"` }
Closed range of integers.
Attributes:
- First
- Last
type ReadOnlyScheduler ¶
type ReadOnlyScheduler interface { // Returns a summary of the jobs grouped by role. GetRoleSummary() (r *Response, err error) // Returns a summary of jobs, optionally only those owned by a specific role. // // Parameters: // - Role GetJobSummary(role string) (r *Response, err error) // Fetches the status of tasks. // // Parameters: // - Query GetTasksStatus(query *TaskQuery) (r *Response, err error) // Same as getTaskStatus but without the TaskConfig.ExecutorConfig data set. // This is an interim solution until we have a better way to query TaskConfigs (AURORA-541). // // Parameters: // - Query GetTasksWithoutConfigs(query *TaskQuery) (r *Response, err error) // Returns user-friendly reasons (if available) for tasks retained in PENDING state. // // Parameters: // - Query GetPendingReason(query *TaskQuery) (r *Response, err error) // Fetches the configuration summary of active tasks for the specified job. // // Parameters: // - Job GetConfigSummary(job *JobKey) (r *Response, err error) // Fetches the status of jobs. // ownerRole is optional, in which case all jobs are returned. // // Parameters: // - OwnerRole GetJobs(ownerRole string) (r *Response, err error) // Fetches the quota allocated for a user. // // Parameters: // - OwnerRole GetQuota(ownerRole string) (r *Response, err error) // Populates fields in a job configuration as though it were about to be run. // This can be used to diff a configuration running tasks. // // Parameters: // - Description PopulateJobConfig(description *JobConfiguration) (r *Response, err error) // Gets job update summaries. // // Parameters: // - JobUpdateQuery GetJobUpdateSummaries(jobUpdateQuery *JobUpdateQuery) (r *Response, err error) // Gets job update details. // // Parameters: // - Query GetJobUpdateDetails(query *JobUpdateQuery) (r *Response, err error) // Gets the diff between client (desired) and server (current) job states. // // Parameters: // - Request GetJobUpdateDiff(request *JobUpdateRequest) (r *Response, err error) // Gets tier configurations. GetTierConfigs() (r *Response, err error) }
type ReadOnlySchedulerClient ¶
type ReadOnlySchedulerClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewReadOnlySchedulerClientFactory ¶
func NewReadOnlySchedulerClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *ReadOnlySchedulerClient
func NewReadOnlySchedulerClientProtocol ¶
func NewReadOnlySchedulerClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ReadOnlySchedulerClient
func (*ReadOnlySchedulerClient) GetConfigSummary ¶
func (p *ReadOnlySchedulerClient) GetConfigSummary(job *JobKey) (r *Response, err error)
Fetches the configuration summary of active tasks for the specified job.
Parameters:
- Job
func (*ReadOnlySchedulerClient) GetJobSummary ¶
func (p *ReadOnlySchedulerClient) GetJobSummary(role string) (r *Response, err error)
Returns a summary of jobs, optionally only those owned by a specific role.
Parameters:
- Role
func (*ReadOnlySchedulerClient) GetJobUpdateDetails ¶
func (p *ReadOnlySchedulerClient) GetJobUpdateDetails(query *JobUpdateQuery) (r *Response, err error)
Gets job update details.
Parameters:
- Query
func (*ReadOnlySchedulerClient) GetJobUpdateDiff ¶
func (p *ReadOnlySchedulerClient) GetJobUpdateDiff(request *JobUpdateRequest) (r *Response, err error)
Gets the diff between client (desired) and server (current) job states.
Parameters:
- Request
func (*ReadOnlySchedulerClient) GetJobUpdateSummaries ¶
func (p *ReadOnlySchedulerClient) GetJobUpdateSummaries(jobUpdateQuery *JobUpdateQuery) (r *Response, err error)
Gets job update summaries.
Parameters:
- JobUpdateQuery
func (*ReadOnlySchedulerClient) GetJobs ¶
func (p *ReadOnlySchedulerClient) GetJobs(ownerRole string) (r *Response, err error)
Fetches the status of jobs. ownerRole is optional, in which case all jobs are returned.
Parameters:
- OwnerRole
func (*ReadOnlySchedulerClient) GetPendingReason ¶
func (p *ReadOnlySchedulerClient) GetPendingReason(query *TaskQuery) (r *Response, err error)
Returns user-friendly reasons (if available) for tasks retained in PENDING state.
Parameters:
- Query
func (*ReadOnlySchedulerClient) GetQuota ¶
func (p *ReadOnlySchedulerClient) GetQuota(ownerRole string) (r *Response, err error)
Fetches the quota allocated for a user.
Parameters:
- OwnerRole
func (*ReadOnlySchedulerClient) GetRoleSummary ¶
func (p *ReadOnlySchedulerClient) GetRoleSummary() (r *Response, err error)
Returns a summary of the jobs grouped by role.
func (*ReadOnlySchedulerClient) GetTasksStatus ¶
func (p *ReadOnlySchedulerClient) GetTasksStatus(query *TaskQuery) (r *Response, err error)
Fetches the status of tasks.
Parameters:
- Query
func (*ReadOnlySchedulerClient) GetTasksWithoutConfigs ¶
func (p *ReadOnlySchedulerClient) GetTasksWithoutConfigs(query *TaskQuery) (r *Response, err error)
Same as getTaskStatus but without the TaskConfig.ExecutorConfig data set. This is an interim solution until we have a better way to query TaskConfigs (AURORA-541).
Parameters:
- Query
func (*ReadOnlySchedulerClient) GetTierConfigs ¶
func (p *ReadOnlySchedulerClient) GetTierConfigs() (r *Response, err error)
Gets tier configurations.
func (*ReadOnlySchedulerClient) PopulateJobConfig ¶
func (p *ReadOnlySchedulerClient) PopulateJobConfig(description *JobConfiguration) (r *Response, err error)
Populates fields in a job configuration as though it were about to be run. This can be used to diff a configuration running tasks.
Parameters:
- Description
type ReadOnlySchedulerGetConfigSummaryArgs ¶
type ReadOnlySchedulerGetConfigSummaryArgs struct {
Job *JobKey `thrift:"job,1" json:"job"`
}
Attributes:
- Job
func NewReadOnlySchedulerGetConfigSummaryArgs ¶
func NewReadOnlySchedulerGetConfigSummaryArgs() *ReadOnlySchedulerGetConfigSummaryArgs
func (*ReadOnlySchedulerGetConfigSummaryArgs) GetJob ¶
func (p *ReadOnlySchedulerGetConfigSummaryArgs) GetJob() *JobKey
func (*ReadOnlySchedulerGetConfigSummaryArgs) IsSetJob ¶
func (p *ReadOnlySchedulerGetConfigSummaryArgs) IsSetJob() bool
func (*ReadOnlySchedulerGetConfigSummaryArgs) Read ¶
func (p *ReadOnlySchedulerGetConfigSummaryArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetConfigSummaryArgs) String ¶
func (p *ReadOnlySchedulerGetConfigSummaryArgs) String() string
type ReadOnlySchedulerGetConfigSummaryResult ¶
type ReadOnlySchedulerGetConfigSummaryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetConfigSummaryResult ¶
func NewReadOnlySchedulerGetConfigSummaryResult() *ReadOnlySchedulerGetConfigSummaryResult
func (*ReadOnlySchedulerGetConfigSummaryResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetConfigSummaryResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetConfigSummaryResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetConfigSummaryResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetConfigSummaryResult) Read ¶
func (p *ReadOnlySchedulerGetConfigSummaryResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetConfigSummaryResult) String ¶
func (p *ReadOnlySchedulerGetConfigSummaryResult) String() string
type ReadOnlySchedulerGetJobSummaryArgs ¶
type ReadOnlySchedulerGetJobSummaryArgs struct {
Role string `thrift:"role,1" json:"role"`
}
Attributes:
- Role
func NewReadOnlySchedulerGetJobSummaryArgs ¶
func NewReadOnlySchedulerGetJobSummaryArgs() *ReadOnlySchedulerGetJobSummaryArgs
func (*ReadOnlySchedulerGetJobSummaryArgs) GetRole ¶
func (p *ReadOnlySchedulerGetJobSummaryArgs) GetRole() string
func (*ReadOnlySchedulerGetJobSummaryArgs) Read ¶
func (p *ReadOnlySchedulerGetJobSummaryArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobSummaryArgs) String ¶
func (p *ReadOnlySchedulerGetJobSummaryArgs) String() string
type ReadOnlySchedulerGetJobSummaryResult ¶
type ReadOnlySchedulerGetJobSummaryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetJobSummaryResult ¶
func NewReadOnlySchedulerGetJobSummaryResult() *ReadOnlySchedulerGetJobSummaryResult
func (*ReadOnlySchedulerGetJobSummaryResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetJobSummaryResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetJobSummaryResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetJobSummaryResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetJobSummaryResult) Read ¶
func (p *ReadOnlySchedulerGetJobSummaryResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobSummaryResult) String ¶
func (p *ReadOnlySchedulerGetJobSummaryResult) String() string
type ReadOnlySchedulerGetJobUpdateDetailsArgs ¶
type ReadOnlySchedulerGetJobUpdateDetailsArgs struct { // unused field # 1 Query *JobUpdateQuery `thrift:"query,2" json:"query"` }
Attributes:
- Query
func NewReadOnlySchedulerGetJobUpdateDetailsArgs ¶
func NewReadOnlySchedulerGetJobUpdateDetailsArgs() *ReadOnlySchedulerGetJobUpdateDetailsArgs
func (*ReadOnlySchedulerGetJobUpdateDetailsArgs) GetQuery ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) GetQuery() *JobUpdateQuery
func (*ReadOnlySchedulerGetJobUpdateDetailsArgs) IsSetQuery ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) IsSetQuery() bool
func (*ReadOnlySchedulerGetJobUpdateDetailsArgs) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateDetailsArgs) String ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsArgs) String() string
type ReadOnlySchedulerGetJobUpdateDetailsResult ¶
type ReadOnlySchedulerGetJobUpdateDetailsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetJobUpdateDetailsResult ¶
func NewReadOnlySchedulerGetJobUpdateDetailsResult() *ReadOnlySchedulerGetJobUpdateDetailsResult
func (*ReadOnlySchedulerGetJobUpdateDetailsResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetJobUpdateDetailsResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetJobUpdateDetailsResult) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateDetailsResult) String ¶
func (p *ReadOnlySchedulerGetJobUpdateDetailsResult) String() string
type ReadOnlySchedulerGetJobUpdateDiffArgs ¶
type ReadOnlySchedulerGetJobUpdateDiffArgs struct {
Request *JobUpdateRequest `thrift:"request,1" json:"request"`
}
Attributes:
- Request
func NewReadOnlySchedulerGetJobUpdateDiffArgs ¶
func NewReadOnlySchedulerGetJobUpdateDiffArgs() *ReadOnlySchedulerGetJobUpdateDiffArgs
func (*ReadOnlySchedulerGetJobUpdateDiffArgs) GetRequest ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) GetRequest() *JobUpdateRequest
func (*ReadOnlySchedulerGetJobUpdateDiffArgs) IsSetRequest ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) IsSetRequest() bool
func (*ReadOnlySchedulerGetJobUpdateDiffArgs) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateDiffArgs) String ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffArgs) String() string
type ReadOnlySchedulerGetJobUpdateDiffResult ¶
type ReadOnlySchedulerGetJobUpdateDiffResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetJobUpdateDiffResult ¶
func NewReadOnlySchedulerGetJobUpdateDiffResult() *ReadOnlySchedulerGetJobUpdateDiffResult
func (*ReadOnlySchedulerGetJobUpdateDiffResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetJobUpdateDiffResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetJobUpdateDiffResult) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateDiffResult) String ¶
func (p *ReadOnlySchedulerGetJobUpdateDiffResult) String() string
type ReadOnlySchedulerGetJobUpdateSummariesArgs ¶
type ReadOnlySchedulerGetJobUpdateSummariesArgs struct {
JobUpdateQuery *JobUpdateQuery `thrift:"jobUpdateQuery,1" json:"jobUpdateQuery"`
}
Attributes:
- JobUpdateQuery
func NewReadOnlySchedulerGetJobUpdateSummariesArgs ¶
func NewReadOnlySchedulerGetJobUpdateSummariesArgs() *ReadOnlySchedulerGetJobUpdateSummariesArgs
func (*ReadOnlySchedulerGetJobUpdateSummariesArgs) GetJobUpdateQuery ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) GetJobUpdateQuery() *JobUpdateQuery
func (*ReadOnlySchedulerGetJobUpdateSummariesArgs) IsSetJobUpdateQuery ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) IsSetJobUpdateQuery() bool
func (*ReadOnlySchedulerGetJobUpdateSummariesArgs) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateSummariesArgs) String ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesArgs) String() string
type ReadOnlySchedulerGetJobUpdateSummariesResult ¶
type ReadOnlySchedulerGetJobUpdateSummariesResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetJobUpdateSummariesResult ¶
func NewReadOnlySchedulerGetJobUpdateSummariesResult() *ReadOnlySchedulerGetJobUpdateSummariesResult
func (*ReadOnlySchedulerGetJobUpdateSummariesResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetJobUpdateSummariesResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetJobUpdateSummariesResult) Read ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobUpdateSummariesResult) String ¶
func (p *ReadOnlySchedulerGetJobUpdateSummariesResult) String() string
type ReadOnlySchedulerGetJobsArgs ¶
type ReadOnlySchedulerGetJobsArgs struct {
OwnerRole string `thrift:"ownerRole,1" json:"ownerRole"`
}
Attributes:
- OwnerRole
func NewReadOnlySchedulerGetJobsArgs ¶
func NewReadOnlySchedulerGetJobsArgs() *ReadOnlySchedulerGetJobsArgs
func (*ReadOnlySchedulerGetJobsArgs) GetOwnerRole ¶
func (p *ReadOnlySchedulerGetJobsArgs) GetOwnerRole() string
func (*ReadOnlySchedulerGetJobsArgs) Read ¶
func (p *ReadOnlySchedulerGetJobsArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobsArgs) String ¶
func (p *ReadOnlySchedulerGetJobsArgs) String() string
type ReadOnlySchedulerGetJobsResult ¶
type ReadOnlySchedulerGetJobsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetJobsResult ¶
func NewReadOnlySchedulerGetJobsResult() *ReadOnlySchedulerGetJobsResult
func (*ReadOnlySchedulerGetJobsResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetJobsResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetJobsResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetJobsResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetJobsResult) Read ¶
func (p *ReadOnlySchedulerGetJobsResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetJobsResult) String ¶
func (p *ReadOnlySchedulerGetJobsResult) String() string
type ReadOnlySchedulerGetPendingReasonArgs ¶
type ReadOnlySchedulerGetPendingReasonArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewReadOnlySchedulerGetPendingReasonArgs ¶
func NewReadOnlySchedulerGetPendingReasonArgs() *ReadOnlySchedulerGetPendingReasonArgs
func (*ReadOnlySchedulerGetPendingReasonArgs) GetQuery ¶
func (p *ReadOnlySchedulerGetPendingReasonArgs) GetQuery() *TaskQuery
func (*ReadOnlySchedulerGetPendingReasonArgs) IsSetQuery ¶
func (p *ReadOnlySchedulerGetPendingReasonArgs) IsSetQuery() bool
func (*ReadOnlySchedulerGetPendingReasonArgs) Read ¶
func (p *ReadOnlySchedulerGetPendingReasonArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetPendingReasonArgs) String ¶
func (p *ReadOnlySchedulerGetPendingReasonArgs) String() string
type ReadOnlySchedulerGetPendingReasonResult ¶
type ReadOnlySchedulerGetPendingReasonResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetPendingReasonResult ¶
func NewReadOnlySchedulerGetPendingReasonResult() *ReadOnlySchedulerGetPendingReasonResult
func (*ReadOnlySchedulerGetPendingReasonResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetPendingReasonResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetPendingReasonResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetPendingReasonResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetPendingReasonResult) Read ¶
func (p *ReadOnlySchedulerGetPendingReasonResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetPendingReasonResult) String ¶
func (p *ReadOnlySchedulerGetPendingReasonResult) String() string
type ReadOnlySchedulerGetQuotaArgs ¶
type ReadOnlySchedulerGetQuotaArgs struct {
OwnerRole string `thrift:"ownerRole,1" json:"ownerRole"`
}
Attributes:
- OwnerRole
func NewReadOnlySchedulerGetQuotaArgs ¶
func NewReadOnlySchedulerGetQuotaArgs() *ReadOnlySchedulerGetQuotaArgs
func (*ReadOnlySchedulerGetQuotaArgs) GetOwnerRole ¶
func (p *ReadOnlySchedulerGetQuotaArgs) GetOwnerRole() string
func (*ReadOnlySchedulerGetQuotaArgs) Read ¶
func (p *ReadOnlySchedulerGetQuotaArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetQuotaArgs) String ¶
func (p *ReadOnlySchedulerGetQuotaArgs) String() string
type ReadOnlySchedulerGetQuotaResult ¶
type ReadOnlySchedulerGetQuotaResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetQuotaResult ¶
func NewReadOnlySchedulerGetQuotaResult() *ReadOnlySchedulerGetQuotaResult
func (*ReadOnlySchedulerGetQuotaResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetQuotaResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetQuotaResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetQuotaResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetQuotaResult) Read ¶
func (p *ReadOnlySchedulerGetQuotaResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetQuotaResult) String ¶
func (p *ReadOnlySchedulerGetQuotaResult) String() string
type ReadOnlySchedulerGetRoleSummaryArgs ¶
type ReadOnlySchedulerGetRoleSummaryArgs struct { }
func NewReadOnlySchedulerGetRoleSummaryArgs ¶
func NewReadOnlySchedulerGetRoleSummaryArgs() *ReadOnlySchedulerGetRoleSummaryArgs
func (*ReadOnlySchedulerGetRoleSummaryArgs) Read ¶
func (p *ReadOnlySchedulerGetRoleSummaryArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetRoleSummaryArgs) String ¶
func (p *ReadOnlySchedulerGetRoleSummaryArgs) String() string
type ReadOnlySchedulerGetRoleSummaryResult ¶
type ReadOnlySchedulerGetRoleSummaryResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetRoleSummaryResult ¶
func NewReadOnlySchedulerGetRoleSummaryResult() *ReadOnlySchedulerGetRoleSummaryResult
func (*ReadOnlySchedulerGetRoleSummaryResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetRoleSummaryResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetRoleSummaryResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetRoleSummaryResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetRoleSummaryResult) Read ¶
func (p *ReadOnlySchedulerGetRoleSummaryResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetRoleSummaryResult) String ¶
func (p *ReadOnlySchedulerGetRoleSummaryResult) String() string
type ReadOnlySchedulerGetTasksStatusArgs ¶
type ReadOnlySchedulerGetTasksStatusArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewReadOnlySchedulerGetTasksStatusArgs ¶
func NewReadOnlySchedulerGetTasksStatusArgs() *ReadOnlySchedulerGetTasksStatusArgs
func (*ReadOnlySchedulerGetTasksStatusArgs) GetQuery ¶
func (p *ReadOnlySchedulerGetTasksStatusArgs) GetQuery() *TaskQuery
func (*ReadOnlySchedulerGetTasksStatusArgs) IsSetQuery ¶
func (p *ReadOnlySchedulerGetTasksStatusArgs) IsSetQuery() bool
func (*ReadOnlySchedulerGetTasksStatusArgs) Read ¶
func (p *ReadOnlySchedulerGetTasksStatusArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTasksStatusArgs) String ¶
func (p *ReadOnlySchedulerGetTasksStatusArgs) String() string
type ReadOnlySchedulerGetTasksStatusResult ¶
type ReadOnlySchedulerGetTasksStatusResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetTasksStatusResult ¶
func NewReadOnlySchedulerGetTasksStatusResult() *ReadOnlySchedulerGetTasksStatusResult
func (*ReadOnlySchedulerGetTasksStatusResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetTasksStatusResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetTasksStatusResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetTasksStatusResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetTasksStatusResult) Read ¶
func (p *ReadOnlySchedulerGetTasksStatusResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTasksStatusResult) String ¶
func (p *ReadOnlySchedulerGetTasksStatusResult) String() string
type ReadOnlySchedulerGetTasksWithoutConfigsArgs ¶
type ReadOnlySchedulerGetTasksWithoutConfigsArgs struct {
Query *TaskQuery `thrift:"query,1" json:"query"`
}
Attributes:
- Query
func NewReadOnlySchedulerGetTasksWithoutConfigsArgs ¶
func NewReadOnlySchedulerGetTasksWithoutConfigsArgs() *ReadOnlySchedulerGetTasksWithoutConfigsArgs
func (*ReadOnlySchedulerGetTasksWithoutConfigsArgs) GetQuery ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) GetQuery() *TaskQuery
func (*ReadOnlySchedulerGetTasksWithoutConfigsArgs) IsSetQuery ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) IsSetQuery() bool
func (*ReadOnlySchedulerGetTasksWithoutConfigsArgs) Read ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTasksWithoutConfigsArgs) String ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsArgs) String() string
type ReadOnlySchedulerGetTasksWithoutConfigsResult ¶
type ReadOnlySchedulerGetTasksWithoutConfigsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetTasksWithoutConfigsResult ¶
func NewReadOnlySchedulerGetTasksWithoutConfigsResult() *ReadOnlySchedulerGetTasksWithoutConfigsResult
func (*ReadOnlySchedulerGetTasksWithoutConfigsResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetTasksWithoutConfigsResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetTasksWithoutConfigsResult) Read ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTasksWithoutConfigsResult) String ¶
func (p *ReadOnlySchedulerGetTasksWithoutConfigsResult) String() string
type ReadOnlySchedulerGetTierConfigsArgs ¶
type ReadOnlySchedulerGetTierConfigsArgs struct { }
func NewReadOnlySchedulerGetTierConfigsArgs ¶
func NewReadOnlySchedulerGetTierConfigsArgs() *ReadOnlySchedulerGetTierConfigsArgs
func (*ReadOnlySchedulerGetTierConfigsArgs) Read ¶
func (p *ReadOnlySchedulerGetTierConfigsArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTierConfigsArgs) String ¶
func (p *ReadOnlySchedulerGetTierConfigsArgs) String() string
type ReadOnlySchedulerGetTierConfigsResult ¶
type ReadOnlySchedulerGetTierConfigsResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerGetTierConfigsResult ¶
func NewReadOnlySchedulerGetTierConfigsResult() *ReadOnlySchedulerGetTierConfigsResult
func (*ReadOnlySchedulerGetTierConfigsResult) GetSuccess ¶
func (p *ReadOnlySchedulerGetTierConfigsResult) GetSuccess() *Response
func (*ReadOnlySchedulerGetTierConfigsResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerGetTierConfigsResult) IsSetSuccess() bool
func (*ReadOnlySchedulerGetTierConfigsResult) Read ¶
func (p *ReadOnlySchedulerGetTierConfigsResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerGetTierConfigsResult) String ¶
func (p *ReadOnlySchedulerGetTierConfigsResult) String() string
type ReadOnlySchedulerPopulateJobConfigArgs ¶
type ReadOnlySchedulerPopulateJobConfigArgs struct {
Description *JobConfiguration `thrift:"description,1" json:"description"`
}
Attributes:
- Description
func NewReadOnlySchedulerPopulateJobConfigArgs ¶
func NewReadOnlySchedulerPopulateJobConfigArgs() *ReadOnlySchedulerPopulateJobConfigArgs
func (*ReadOnlySchedulerPopulateJobConfigArgs) GetDescription ¶
func (p *ReadOnlySchedulerPopulateJobConfigArgs) GetDescription() *JobConfiguration
func (*ReadOnlySchedulerPopulateJobConfigArgs) IsSetDescription ¶
func (p *ReadOnlySchedulerPopulateJobConfigArgs) IsSetDescription() bool
func (*ReadOnlySchedulerPopulateJobConfigArgs) Read ¶
func (p *ReadOnlySchedulerPopulateJobConfigArgs) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerPopulateJobConfigArgs) String ¶
func (p *ReadOnlySchedulerPopulateJobConfigArgs) String() string
type ReadOnlySchedulerPopulateJobConfigResult ¶
type ReadOnlySchedulerPopulateJobConfigResult struct {
Success *Response `thrift:"success,0" json:"success,omitempty"`
}
Attributes:
- Success
func NewReadOnlySchedulerPopulateJobConfigResult ¶
func NewReadOnlySchedulerPopulateJobConfigResult() *ReadOnlySchedulerPopulateJobConfigResult
func (*ReadOnlySchedulerPopulateJobConfigResult) GetSuccess ¶
func (p *ReadOnlySchedulerPopulateJobConfigResult) GetSuccess() *Response
func (*ReadOnlySchedulerPopulateJobConfigResult) IsSetSuccess ¶
func (p *ReadOnlySchedulerPopulateJobConfigResult) IsSetSuccess() bool
func (*ReadOnlySchedulerPopulateJobConfigResult) Read ¶
func (p *ReadOnlySchedulerPopulateJobConfigResult) Read(iprot thrift.TProtocol) error
func (*ReadOnlySchedulerPopulateJobConfigResult) String ¶
func (p *ReadOnlySchedulerPopulateJobConfigResult) String() string
type ReadOnlySchedulerProcessor ¶
type ReadOnlySchedulerProcessor struct {
// contains filtered or unexported fields
}
func NewReadOnlySchedulerProcessor ¶
func NewReadOnlySchedulerProcessor(handler ReadOnlyScheduler) *ReadOnlySchedulerProcessor
func (*ReadOnlySchedulerProcessor) AddToProcessorMap ¶
func (p *ReadOnlySchedulerProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*ReadOnlySchedulerProcessor) GetProcessorFunction ¶
func (p *ReadOnlySchedulerProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*ReadOnlySchedulerProcessor) Process ¶
func (p *ReadOnlySchedulerProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*ReadOnlySchedulerProcessor) ProcessorMap ¶
func (p *ReadOnlySchedulerProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type Resource ¶
type Resource struct { NumCpus *float64 `thrift:"numCpus,1" json:"numCpus,omitempty"` RamMb *int64 `thrift:"ramMb,2" json:"ramMb,omitempty"` DiskMb *int64 `thrift:"diskMb,3" json:"diskMb,omitempty"` NamedPort *string `thrift:"namedPort,4" json:"namedPort,omitempty"` NumGpus *int64 `thrift:"numGpus,5" json:"numGpus,omitempty"` }
Describes resource value required to run a task.
Attributes:
- NumCpus
- RamMb
- DiskMb
- NamedPort
- NumGpus
func NewResource ¶
func NewResource() *Resource
func (*Resource) CountSetFieldsResource ¶
func (*Resource) GetNamedPort ¶
func (*Resource) GetNumCpus ¶
func (*Resource) GetNumGpus ¶
func (*Resource) IsSetDiskMb ¶
func (*Resource) IsSetNamedPort ¶
func (*Resource) IsSetNumCpus ¶
func (*Resource) IsSetNumGpus ¶
func (*Resource) IsSetRamMb ¶
type ResourceAggregate ¶
type ResourceAggregate struct { NumCpus float64 `thrift:"numCpus,1" json:"numCpus"` RamMb int64 `thrift:"ramMb,2" json:"ramMb"` DiskMb int64 `thrift:"diskMb,3" json:"diskMb"` Resources map[*Resource]bool `thrift:"resources,4" json:"resources"` }
Attributes:
- NumCpus: Number of CPU cores allotted.
- RamMb: Megabytes of RAM allotted.
- DiskMb: Megabytes of disk space allotted.
- Resources: Aggregated resource values.
var AuroraAdminSetQuotaArgs_Quota_DEFAULT *ResourceAggregate
var GetQuotaResult__NonProdDedicatedConsumption_DEFAULT *ResourceAggregate
var GetQuotaResult__ProdDedicatedConsumption_DEFAULT *ResourceAggregate
var GetQuotaResult__Quota_DEFAULT *ResourceAggregate
func NewResourceAggregate ¶
func NewResourceAggregate() *ResourceAggregate
func (*ResourceAggregate) GetDiskMb ¶
func (p *ResourceAggregate) GetDiskMb() int64
func (*ResourceAggregate) GetNumCpus ¶
func (p *ResourceAggregate) GetNumCpus() float64
func (*ResourceAggregate) GetRamMb ¶
func (p *ResourceAggregate) GetRamMb() int64
func (*ResourceAggregate) GetResources ¶
func (p *ResourceAggregate) GetResources() map[*Resource]bool
func (*ResourceAggregate) String ¶
func (p *ResourceAggregate) String() string
type Response ¶
type Response struct { ResponseCode ResponseCode `thrift:"responseCode,1" json:"responseCode"` // unused field # 2 Result_ *Result_ `thrift:"result,3" json:"result,omitempty"` // unused field # 4 ServerInfo *ServerInfo `thrift:"serverInfo,5" json:"serverInfo"` Details []*ResponseDetail `thrift:"details,6" json:"details"` }
Attributes:
- ResponseCode
- ServerInfo
- Result_: Payload from the invoked RPC.
- Details: Messages from the server relevant to the request, such as warnings or use of deprecated
features.
var AuroraAdminCommitRecoveryResult_Success_DEFAULT *Response
var AuroraAdminDeleteRecoveryTasksResult_Success_DEFAULT *Response
var AuroraAdminDrainHostsResult_Success_DEFAULT *Response
var AuroraAdminEndMaintenanceResult_Success_DEFAULT *Response
var AuroraAdminForceTaskStateResult_Success_DEFAULT *Response
var AuroraAdminListBackupsResult_Success_DEFAULT *Response
var AuroraAdminMaintenanceStatusResult_Success_DEFAULT *Response
var AuroraAdminPerformBackupResult_Success_DEFAULT *Response
var AuroraAdminPruneTasksResult_Success_DEFAULT *Response
var AuroraAdminQueryRecoveryResult_Success_DEFAULT *Response
var AuroraAdminSetQuotaResult_Success_DEFAULT *Response
var AuroraAdminSnapshotResult_Success_DEFAULT *Response
var AuroraAdminStageRecoveryResult_Success_DEFAULT *Response
var AuroraAdminStartMaintenanceResult_Success_DEFAULT *Response
var AuroraAdminTriggerExplicitTaskReconciliationResult_Success_DEFAULT *Response
var AuroraAdminTriggerImplicitTaskReconciliationResult_Success_DEFAULT *Response
var AuroraAdminUnloadRecoveryResult_Success_DEFAULT *Response
var AuroraSchedulerManagerAbortJobUpdateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerAddInstancesResult_Success_DEFAULT *Response
var AuroraSchedulerManagerCreateJobResult_Success_DEFAULT *Response
var AuroraSchedulerManagerDescheduleCronJobResult_Success_DEFAULT *Response
var AuroraSchedulerManagerKillTasksResult_Success_DEFAULT *Response
var AuroraSchedulerManagerPauseJobUpdateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerPulseJobUpdateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerReplaceCronTemplateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerRestartShardsResult_Success_DEFAULT *Response
var AuroraSchedulerManagerResumeJobUpdateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerRollbackJobUpdateResult_Success_DEFAULT *Response
var AuroraSchedulerManagerScheduleCronJobResult_Success_DEFAULT *Response
var AuroraSchedulerManagerStartCronJobResult_Success_DEFAULT *Response
var AuroraSchedulerManagerStartJobUpdateResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetConfigSummaryResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetJobSummaryResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetJobUpdateDetailsResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetJobUpdateDiffResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetJobUpdateSummariesResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetJobsResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetPendingReasonResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetQuotaResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetRoleSummaryResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetTasksStatusResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetTasksWithoutConfigsResult_Success_DEFAULT *Response
var ReadOnlySchedulerGetTierConfigsResult_Success_DEFAULT *Response
var ReadOnlySchedulerPopulateJobConfigResult_Success_DEFAULT *Response
func NewResponse ¶
func NewResponse() *Response
func (*Response) GetDetails ¶
func (p *Response) GetDetails() []*ResponseDetail
func (*Response) GetResponseCode ¶
func (p *Response) GetResponseCode() ResponseCode
func (*Response) GetResult_ ¶
func (*Response) GetServerInfo ¶
func (p *Response) GetServerInfo() *ServerInfo
func (*Response) IsSetResult_ ¶
func (*Response) IsSetServerInfo ¶
type ResponseCode ¶
type ResponseCode int64
const ( ResponseCode_INVALID_REQUEST ResponseCode = 0 ResponseCode_OK ResponseCode = 1 ResponseCode_ERROR ResponseCode = 2 ResponseCode_WARNING ResponseCode = 3 ResponseCode_AUTH_FAILED ResponseCode = 4 ResponseCode_JOB_UPDATING_ERROR ResponseCode = 5 ResponseCode_ERROR_TRANSIENT ResponseCode = 6 )
func ResponseCodeFromString ¶
func ResponseCodeFromString(s string) (ResponseCode, error)
func ResponseCodePtr ¶
func ResponseCodePtr(v ResponseCode) *ResponseCode
func (ResponseCode) MarshalText ¶
func (p ResponseCode) MarshalText() ([]byte, error)
func (ResponseCode) String ¶
func (p ResponseCode) String() string
func (*ResponseCode) UnmarshalText ¶
func (p *ResponseCode) UnmarshalText(text []byte) error
type ResponseDetail ¶
type ResponseDetail struct {
Message string `thrift:"message,1" json:"message"`
}
Attributes:
- Message
func NewResponseDetail ¶
func NewResponseDetail() *ResponseDetail
func (*ResponseDetail) GetMessage ¶
func (p *ResponseDetail) GetMessage() string
func (*ResponseDetail) String ¶
func (p *ResponseDetail) String() string
type Result_ ¶
type Result_ struct { PopulateJobResult_ *PopulateJobResult_ `thrift:"populateJobResult,1" json:"populateJobResult,omitempty"` // unused field # 2 ScheduleStatusResult_ *ScheduleStatusResult_ `thrift:"scheduleStatusResult,3" json:"scheduleStatusResult,omitempty"` GetJobsResult_ *GetJobsResult_ `thrift:"getJobsResult,4" json:"getJobsResult,omitempty"` GetQuotaResult_ *GetQuotaResult_ `thrift:"getQuotaResult,5" json:"getQuotaResult,omitempty"` ListBackupsResult_ *ListBackupsResult_ `thrift:"listBackupsResult,6" json:"listBackupsResult,omitempty"` StartMaintenanceResult_ *StartMaintenanceResult_ `thrift:"startMaintenanceResult,7" json:"startMaintenanceResult,omitempty"` DrainHostsResult_ *DrainHostsResult_ `thrift:"drainHostsResult,8" json:"drainHostsResult,omitempty"` QueryRecoveryResult_ *QueryRecoveryResult_ `thrift:"queryRecoveryResult,9" json:"queryRecoveryResult,omitempty"` MaintenanceStatusResult_ *MaintenanceStatusResult_ `thrift:"maintenanceStatusResult,10" json:"maintenanceStatusResult,omitempty"` EndMaintenanceResult_ *EndMaintenanceResult_ `thrift:"endMaintenanceResult,11" json:"endMaintenanceResult,omitempty"` // unused fields # 12 to 16 RoleSummaryResult_ *RoleSummaryResult_ `thrift:"roleSummaryResult,17" json:"roleSummaryResult,omitempty"` JobSummaryResult_ *JobSummaryResult_ `thrift:"jobSummaryResult,18" json:"jobSummaryResult,omitempty"` // unused field # 19 ConfigSummaryResult_ *ConfigSummaryResult_ `thrift:"configSummaryResult,20" json:"configSummaryResult,omitempty"` GetPendingReasonResult_ *GetPendingReasonResult_ `thrift:"getPendingReasonResult,21" json:"getPendingReasonResult,omitempty"` StartJobUpdateResult_ *StartJobUpdateResult_ `thrift:"startJobUpdateResult,22" json:"startJobUpdateResult,omitempty"` GetJobUpdateSummariesResult_ *GetJobUpdateSummariesResult_ `thrift:"getJobUpdateSummariesResult,23" json:"getJobUpdateSummariesResult,omitempty"` GetJobUpdateDetailsResult_ *GetJobUpdateDetailsResult_ `thrift:"getJobUpdateDetailsResult,24" json:"getJobUpdateDetailsResult,omitempty"` PulseJobUpdateResult_ *PulseJobUpdateResult_ `thrift:"pulseJobUpdateResult,25" json:"pulseJobUpdateResult,omitempty"` GetJobUpdateDiffResult_ *GetJobUpdateDiffResult_ `thrift:"getJobUpdateDiffResult,26" json:"getJobUpdateDiffResult,omitempty"` GetTierConfigResult_ *GetTierConfigResult_ `thrift:"getTierConfigResult,27" json:"getTierConfigResult,omitempty"` }
Attributes:
- PopulateJobResult_
- ScheduleStatusResult_
- GetJobsResult_
- GetQuotaResult_
- ListBackupsResult_
- StartMaintenanceResult_
- DrainHostsResult_
- QueryRecoveryResult_
- MaintenanceStatusResult_
- EndMaintenanceResult_
- RoleSummaryResult_
- JobSummaryResult_
- ConfigSummaryResult_
- GetPendingReasonResult_
- StartJobUpdateResult_
- GetJobUpdateSummariesResult_
- GetJobUpdateDetailsResult_
- PulseJobUpdateResult_
- GetJobUpdateDiffResult_
- GetTierConfigResult_
var Response_Result__DEFAULT *Result_
func NewResult_ ¶
func NewResult_() *Result_
func (*Result_) CountSetFieldsResult_ ¶
func (*Result_) GetConfigSummaryResult_ ¶
func (p *Result_) GetConfigSummaryResult_() *ConfigSummaryResult_
func (*Result_) GetDrainHostsResult_ ¶
func (p *Result_) GetDrainHostsResult_() *DrainHostsResult_
func (*Result_) GetEndMaintenanceResult_ ¶
func (p *Result_) GetEndMaintenanceResult_() *EndMaintenanceResult_
func (*Result_) GetGetJobUpdateDetailsResult_ ¶
func (p *Result_) GetGetJobUpdateDetailsResult_() *GetJobUpdateDetailsResult_
func (*Result_) GetGetJobUpdateDiffResult_ ¶
func (p *Result_) GetGetJobUpdateDiffResult_() *GetJobUpdateDiffResult_
func (*Result_) GetGetJobUpdateSummariesResult_ ¶
func (p *Result_) GetGetJobUpdateSummariesResult_() *GetJobUpdateSummariesResult_
func (*Result_) GetGetJobsResult_ ¶
func (p *Result_) GetGetJobsResult_() *GetJobsResult_
func (*Result_) GetGetPendingReasonResult_ ¶
func (p *Result_) GetGetPendingReasonResult_() *GetPendingReasonResult_
func (*Result_) GetGetQuotaResult_ ¶
func (p *Result_) GetGetQuotaResult_() *GetQuotaResult_
func (*Result_) GetGetTierConfigResult_ ¶
func (p *Result_) GetGetTierConfigResult_() *GetTierConfigResult_
func (*Result_) GetJobSummaryResult_ ¶
func (p *Result_) GetJobSummaryResult_() *JobSummaryResult_
func (*Result_) GetListBackupsResult_ ¶
func (p *Result_) GetListBackupsResult_() *ListBackupsResult_
func (*Result_) GetMaintenanceStatusResult_ ¶
func (p *Result_) GetMaintenanceStatusResult_() *MaintenanceStatusResult_
func (*Result_) GetPopulateJobResult_ ¶
func (p *Result_) GetPopulateJobResult_() *PopulateJobResult_
func (*Result_) GetPulseJobUpdateResult_ ¶
func (p *Result_) GetPulseJobUpdateResult_() *PulseJobUpdateResult_
func (*Result_) GetQueryRecoveryResult_ ¶
func (p *Result_) GetQueryRecoveryResult_() *QueryRecoveryResult_
func (*Result_) GetRoleSummaryResult_ ¶
func (p *Result_) GetRoleSummaryResult_() *RoleSummaryResult_
func (*Result_) GetScheduleStatusResult_ ¶
func (p *Result_) GetScheduleStatusResult_() *ScheduleStatusResult_
func (*Result_) GetStartJobUpdateResult_ ¶
func (p *Result_) GetStartJobUpdateResult_() *StartJobUpdateResult_
func (*Result_) GetStartMaintenanceResult_ ¶
func (p *Result_) GetStartMaintenanceResult_() *StartMaintenanceResult_
func (*Result_) IsSetConfigSummaryResult_ ¶
func (*Result_) IsSetDrainHostsResult_ ¶
func (*Result_) IsSetEndMaintenanceResult_ ¶
func (*Result_) IsSetGetJobUpdateDetailsResult_ ¶
func (*Result_) IsSetGetJobUpdateDiffResult_ ¶
func (*Result_) IsSetGetJobUpdateSummariesResult_ ¶
func (*Result_) IsSetGetJobsResult_ ¶
func (*Result_) IsSetGetPendingReasonResult_ ¶
func (*Result_) IsSetGetQuotaResult_ ¶
func (*Result_) IsSetGetTierConfigResult_ ¶
func (*Result_) IsSetJobSummaryResult_ ¶
func (*Result_) IsSetListBackupsResult_ ¶
func (*Result_) IsSetMaintenanceStatusResult_ ¶
func (*Result_) IsSetPopulateJobResult_ ¶
func (*Result_) IsSetPulseJobUpdateResult_ ¶
func (*Result_) IsSetQueryRecoveryResult_ ¶
func (*Result_) IsSetRoleSummaryResult_ ¶
func (*Result_) IsSetScheduleStatusResult_ ¶
func (*Result_) IsSetStartJobUpdateResult_ ¶
func (*Result_) IsSetStartMaintenanceResult_ ¶
type RoleSummary ¶
type RoleSummary struct { Role string `thrift:"role,1" json:"role"` JobCount int32 `thrift:"jobCount,2" json:"jobCount"` CronJobCount int32 `thrift:"cronJobCount,3" json:"cronJobCount"` }
Attributes:
- Role
- JobCount
- CronJobCount
func NewRoleSummary ¶
func NewRoleSummary() *RoleSummary
func (*RoleSummary) GetCronJobCount ¶
func (p *RoleSummary) GetCronJobCount() int32
func (*RoleSummary) GetJobCount ¶
func (p *RoleSummary) GetJobCount() int32
func (*RoleSummary) GetRole ¶
func (p *RoleSummary) GetRole() string
func (*RoleSummary) String ¶
func (p *RoleSummary) String() string
type RoleSummaryResult_ ¶
type RoleSummaryResult_ struct {
Summaries map[*RoleSummary]bool `thrift:"summaries,1" json:"summaries"`
}
Attributes:
- Summaries
var Result__RoleSummaryResult__DEFAULT *RoleSummaryResult_
func NewRoleSummaryResult_ ¶
func NewRoleSummaryResult_() *RoleSummaryResult_
func (*RoleSummaryResult_) GetSummaries ¶
func (p *RoleSummaryResult_) GetSummaries() map[*RoleSummary]bool
func (*RoleSummaryResult_) String ¶
func (p *RoleSummaryResult_) String() string
type ScheduleStatus ¶
type ScheduleStatus int64
States that a task may be in.
const ( ScheduleStatus_INIT ScheduleStatus = 11 ScheduleStatus_THROTTLED ScheduleStatus = 16 ScheduleStatus_PENDING ScheduleStatus = 0 ScheduleStatus_ASSIGNED ScheduleStatus = 9 ScheduleStatus_STARTING ScheduleStatus = 1 ScheduleStatus_RUNNING ScheduleStatus = 2 ScheduleStatus_FINISHED ScheduleStatus = 3 ScheduleStatus_PREEMPTING ScheduleStatus = 13 ScheduleStatus_RESTARTING ScheduleStatus = 12 ScheduleStatus_DRAINING ScheduleStatus = 17 ScheduleStatus_FAILED ScheduleStatus = 4 ScheduleStatus_KILLED ScheduleStatus = 5 ScheduleStatus_KILLING ScheduleStatus = 6 ScheduleStatus_LOST ScheduleStatus = 7 )
func ScheduleStatusFromString ¶
func ScheduleStatusFromString(s string) (ScheduleStatus, error)
func ScheduleStatusPtr ¶
func ScheduleStatusPtr(v ScheduleStatus) *ScheduleStatus
func (ScheduleStatus) MarshalText ¶
func (p ScheduleStatus) MarshalText() ([]byte, error)
func (ScheduleStatus) String ¶
func (p ScheduleStatus) String() string
func (*ScheduleStatus) UnmarshalText ¶
func (p *ScheduleStatus) UnmarshalText(text []byte) error
type ScheduleStatusResult_ ¶
type ScheduleStatusResult_ struct {
Tasks []*ScheduledTask `thrift:"tasks,1" json:"tasks"`
}
Attributes:
- Tasks
var Result__ScheduleStatusResult__DEFAULT *ScheduleStatusResult_
func NewScheduleStatusResult_ ¶
func NewScheduleStatusResult_() *ScheduleStatusResult_
func (*ScheduleStatusResult_) GetTasks ¶
func (p *ScheduleStatusResult_) GetTasks() []*ScheduledTask
func (*ScheduleStatusResult_) Read ¶
func (p *ScheduleStatusResult_) Read(iprot thrift.TProtocol) error
func (*ScheduleStatusResult_) String ¶
func (p *ScheduleStatusResult_) String() string
type ScheduledTask ¶
type ScheduledTask struct { AssignedTask *AssignedTask `thrift:"assignedTask,1" json:"assignedTask"` Status ScheduleStatus `thrift:"status,2" json:"status"` FailureCount int32 `thrift:"failureCount,3" json:"failureCount"` TaskEvents []*TaskEvent `thrift:"taskEvents,4" json:"taskEvents"` AncestorId string `thrift:"ancestorId,5" json:"ancestorId"` }
A task that has been scheduled.
Attributes:
- AssignedTask: The task that was scheduled.
- Status: The current status of this task.
- FailureCount: The number of failures that this task has accumulated over the multi-generational history of
this task.
- TaskEvents: State change history for this task.
- AncestorId: The task ID of the previous generation of this task. When a task is automatically rescheduled,
a copy of the task is created and ancestor ID of the previous task's task ID.
func NewScheduledTask ¶
func NewScheduledTask() *ScheduledTask
func (*ScheduledTask) GetAncestorId ¶
func (p *ScheduledTask) GetAncestorId() string
func (*ScheduledTask) GetAssignedTask ¶
func (p *ScheduledTask) GetAssignedTask() *AssignedTask
func (*ScheduledTask) GetFailureCount ¶
func (p *ScheduledTask) GetFailureCount() int32
func (*ScheduledTask) GetStatus ¶
func (p *ScheduledTask) GetStatus() ScheduleStatus
func (*ScheduledTask) GetTaskEvents ¶
func (p *ScheduledTask) GetTaskEvents() []*TaskEvent
func (*ScheduledTask) IsSetAssignedTask ¶
func (p *ScheduledTask) IsSetAssignedTask() bool
func (*ScheduledTask) String ¶
func (p *ScheduledTask) String() string
type ServerInfo ¶
type ServerInfo struct { ClusterName string `thrift:"clusterName,1" json:"clusterName"` // unused field # 2 StatsUrlPrefix string `thrift:"statsUrlPrefix,3" json:"statsUrlPrefix"` }
Information about the scheduler.
Attributes:
- ClusterName
- StatsUrlPrefix: A url prefix for job container stats.
var Response_ServerInfo_DEFAULT *ServerInfo
func NewServerInfo ¶
func NewServerInfo() *ServerInfo
func (*ServerInfo) GetClusterName ¶
func (p *ServerInfo) GetClusterName() string
func (*ServerInfo) GetStatsUrlPrefix ¶
func (p *ServerInfo) GetStatsUrlPrefix() string
func (*ServerInfo) String ¶
func (p *ServerInfo) String() string
type StartJobUpdateResult_ ¶
type StartJobUpdateResult_ struct { Key *JobUpdateKey `thrift:"key,1" json:"key"` UpdateSummary *JobUpdateSummary `thrift:"updateSummary,2" json:"updateSummary,omitempty"` }
Result of the startUpdate call.
Attributes:
- Key: Unique identifier for the job update.
- UpdateSummary: Summary of the update that is in progress for the given JobKey.
var Result__StartJobUpdateResult__DEFAULT *StartJobUpdateResult_
func NewStartJobUpdateResult_ ¶
func NewStartJobUpdateResult_() *StartJobUpdateResult_
func (*StartJobUpdateResult_) GetKey ¶
func (p *StartJobUpdateResult_) GetKey() *JobUpdateKey
func (*StartJobUpdateResult_) GetUpdateSummary ¶
func (p *StartJobUpdateResult_) GetUpdateSummary() *JobUpdateSummary
func (*StartJobUpdateResult_) IsSetKey ¶
func (p *StartJobUpdateResult_) IsSetKey() bool
func (*StartJobUpdateResult_) IsSetUpdateSummary ¶
func (p *StartJobUpdateResult_) IsSetUpdateSummary() bool
func (*StartJobUpdateResult_) Read ¶
func (p *StartJobUpdateResult_) Read(iprot thrift.TProtocol) error
func (*StartJobUpdateResult_) String ¶
func (p *StartJobUpdateResult_) String() string
type StartMaintenanceResult_ ¶
type StartMaintenanceResult_ struct {
Statuses map[*HostStatus]bool `thrift:"statuses,1" json:"statuses"`
}
Attributes:
- Statuses
var Result__StartMaintenanceResult__DEFAULT *StartMaintenanceResult_
func NewStartMaintenanceResult_ ¶
func NewStartMaintenanceResult_() *StartMaintenanceResult_
func (*StartMaintenanceResult_) GetStatuses ¶
func (p *StartMaintenanceResult_) GetStatuses() map[*HostStatus]bool
func (*StartMaintenanceResult_) Read ¶
func (p *StartMaintenanceResult_) Read(iprot thrift.TProtocol) error
func (*StartMaintenanceResult_) String ¶
func (p *StartMaintenanceResult_) String() string
type TaskConfig ¶
type TaskConfig struct { // unused fields # 1 to 6 IsService bool `thrift:"isService,7" json:"isService"` NumCpus float64 `thrift:"numCpus,8" json:"numCpus"` RamMb int64 `thrift:"ramMb,9" json:"ramMb"` DiskMb int64 `thrift:"diskMb,10" json:"diskMb"` Priority int32 `thrift:"priority,11" json:"priority"` // unused field # 12 MaxTaskFailures int32 `thrift:"maxTaskFailures,13" json:"maxTaskFailures"` // unused fields # 14 to 16 Owner *Identity `thrift:"owner,17" json:"owner"` Production *bool `thrift:"production,18" json:"production,omitempty"` // unused field # 19 Constraints map[*Constraint]bool `thrift:"constraints,20" json:"constraints"` RequestedPorts map[string]bool `thrift:"requestedPorts,21" json:"requestedPorts"` TaskLinks map[string]string `thrift:"taskLinks,22" json:"taskLinks,omitempty"` ContactEmail *string `thrift:"contactEmail,23" json:"contactEmail,omitempty"` // unused field # 24 ExecutorConfig *ExecutorConfig `thrift:"executorConfig,25" json:"executorConfig,omitempty"` // unused field # 26 Metadata map[*Metadata]bool `thrift:"metadata,27" json:"metadata,omitempty"` Job *JobKey `thrift:"job,28" json:"job"` Container *Container `thrift:"container,29" json:"container"` Tier *string `thrift:"tier,30" json:"tier,omitempty"` // unused field # 31 Resources map[*Resource]bool `thrift:"resources,32" json:"resources"` MesosFetcherUris map[*MesosFetcherURI]bool `thrift:"mesosFetcherUris,33" json:"mesosFetcherUris,omitempty"` }
Description of the tasks contained within a job.
Attributes:
- Job: Job task belongs to.
- Owner: contains the role component of JobKey
- IsService
- NumCpus
- RamMb
- DiskMb
- Priority
- MaxTaskFailures
- Production: Whether this is a production task, which can preempt.
- Tier: Task tier type.
- Resources: All resources required to run a task.
- Constraints
- RequestedPorts: a list of named ports this task requests
- MesosFetcherUris: Resources to retrieve with Mesos Fetcher
- TaskLinks: Custom links to include when displaying this task on the scheduler dashboard. Keys are anchor
text, values are URLs. Wildcards are supported for dynamic link crafting based on host, ports, instance, etc.
- ContactEmail
- ExecutorConfig: Executor configuration
- Metadata: Used to display additional details in the UI.
- Container: the container the task should use to execute
var AssignedTask_Task_DEFAULT *TaskConfig
var ConfigGroup_Config_DEFAULT *TaskConfig
var InstanceTaskConfig_Task_DEFAULT *TaskConfig
var JobConfiguration_TaskConfig_DEFAULT *TaskConfig
var JobUpdateRequest_TaskConfig_DEFAULT *TaskConfig
var PopulateJobResult__TaskConfig_DEFAULT *TaskConfig
func NewTaskConfig ¶
func NewTaskConfig() *TaskConfig
func (*TaskConfig) GetConstraints ¶
func (p *TaskConfig) GetConstraints() map[*Constraint]bool
func (*TaskConfig) GetContactEmail ¶
func (p *TaskConfig) GetContactEmail() string
func (*TaskConfig) GetContainer ¶
func (p *TaskConfig) GetContainer() *Container
func (*TaskConfig) GetDiskMb ¶
func (p *TaskConfig) GetDiskMb() int64
func (*TaskConfig) GetExecutorConfig ¶
func (p *TaskConfig) GetExecutorConfig() *ExecutorConfig
func (*TaskConfig) GetIsService ¶
func (p *TaskConfig) GetIsService() bool
func (*TaskConfig) GetJob ¶
func (p *TaskConfig) GetJob() *JobKey
func (*TaskConfig) GetMaxTaskFailures ¶
func (p *TaskConfig) GetMaxTaskFailures() int32
func (*TaskConfig) GetMesosFetcherUris ¶
func (p *TaskConfig) GetMesosFetcherUris() map[*MesosFetcherURI]bool
func (*TaskConfig) GetMetadata ¶
func (p *TaskConfig) GetMetadata() map[*Metadata]bool
func (*TaskConfig) GetNumCpus ¶
func (p *TaskConfig) GetNumCpus() float64
func (*TaskConfig) GetOwner ¶
func (p *TaskConfig) GetOwner() *Identity
func (*TaskConfig) GetPriority ¶
func (p *TaskConfig) GetPriority() int32
func (*TaskConfig) GetProduction ¶
func (p *TaskConfig) GetProduction() bool
func (*TaskConfig) GetRamMb ¶
func (p *TaskConfig) GetRamMb() int64
func (*TaskConfig) GetRequestedPorts ¶
func (p *TaskConfig) GetRequestedPorts() map[string]bool
func (*TaskConfig) GetResources ¶
func (p *TaskConfig) GetResources() map[*Resource]bool
func (*TaskConfig) GetTaskLinks ¶
func (p *TaskConfig) GetTaskLinks() map[string]string
func (*TaskConfig) GetTier ¶
func (p *TaskConfig) GetTier() string
func (*TaskConfig) IsSetContactEmail ¶
func (p *TaskConfig) IsSetContactEmail() bool
func (*TaskConfig) IsSetContainer ¶
func (p *TaskConfig) IsSetContainer() bool
func (*TaskConfig) IsSetExecutorConfig ¶
func (p *TaskConfig) IsSetExecutorConfig() bool
func (*TaskConfig) IsSetJob ¶
func (p *TaskConfig) IsSetJob() bool
func (*TaskConfig) IsSetMesosFetcherUris ¶
func (p *TaskConfig) IsSetMesosFetcherUris() bool
func (*TaskConfig) IsSetMetadata ¶
func (p *TaskConfig) IsSetMetadata() bool
func (*TaskConfig) IsSetOwner ¶
func (p *TaskConfig) IsSetOwner() bool
func (*TaskConfig) IsSetProduction ¶
func (p *TaskConfig) IsSetProduction() bool
func (*TaskConfig) IsSetTaskLinks ¶
func (p *TaskConfig) IsSetTaskLinks() bool
func (*TaskConfig) IsSetTier ¶
func (p *TaskConfig) IsSetTier() bool
func (*TaskConfig) String ¶
func (p *TaskConfig) String() string
type TaskConstraint ¶
type TaskConstraint struct { Value *ValueConstraint `thrift:"value,1" json:"value,omitempty"` Limit *LimitConstraint `thrift:"limit,2" json:"limit,omitempty"` }
Types of constraints that may be applied to a task.
Attributes:
- Value
- Limit
var Constraint_Constraint_DEFAULT *TaskConstraint
func NewTaskConstraint ¶
func NewTaskConstraint() *TaskConstraint
func (*TaskConstraint) CountSetFieldsTaskConstraint ¶
func (p *TaskConstraint) CountSetFieldsTaskConstraint() int
func (*TaskConstraint) GetLimit ¶
func (p *TaskConstraint) GetLimit() *LimitConstraint
func (*TaskConstraint) GetValue ¶
func (p *TaskConstraint) GetValue() *ValueConstraint
func (*TaskConstraint) IsSetLimit ¶
func (p *TaskConstraint) IsSetLimit() bool
func (*TaskConstraint) IsSetValue ¶
func (p *TaskConstraint) IsSetValue() bool
func (*TaskConstraint) String ¶
func (p *TaskConstraint) String() string
type TaskEvent ¶
type TaskEvent struct { Timestamp int64 `thrift:"timestamp,1" json:"timestamp"` Status ScheduleStatus `thrift:"status,2" json:"status"` Message *string `thrift:"message,3" json:"message,omitempty"` Scheduler *string `thrift:"scheduler,4" json:"scheduler,omitempty"` }
Event marking a state transition within a task's lifecycle.
Attributes:
- Timestamp: Epoch timestamp in milliseconds.
- Status: New status of the task.
- Message: Audit message that explains why a transition occurred.
- Scheduler: Hostname of the scheduler machine that performed the event.
func NewTaskEvent ¶
func NewTaskEvent() *TaskEvent
func (*TaskEvent) GetMessage ¶
func (*TaskEvent) GetScheduler ¶
func (*TaskEvent) GetStatus ¶
func (p *TaskEvent) GetStatus() ScheduleStatus
func (*TaskEvent) GetTimestamp ¶
func (*TaskEvent) IsSetMessage ¶
func (*TaskEvent) IsSetScheduler ¶
type TaskQuery ¶
type TaskQuery struct { // unused field # 1 JobName *string `thrift:"jobName,2" json:"jobName,omitempty"` // unused field # 3 TaskIds map[string]bool `thrift:"taskIds,4" json:"taskIds,omitempty"` Statuses map[ScheduleStatus]bool `thrift:"statuses,5" json:"statuses,omitempty"` // unused field # 6 InstanceIds map[int32]bool `thrift:"instanceIds,7" json:"instanceIds,omitempty"` // unused field # 8 Environment *string `thrift:"environment,9" json:"environment,omitempty"` SlaveHosts map[string]bool `thrift:"slaveHosts,10" json:"slaveHosts,omitempty"` JobKeys map[*JobKey]bool `thrift:"jobKeys,11" json:"jobKeys,omitempty"` Offset *int32 `thrift:"offset,12" json:"offset,omitempty"` Limit *int32 `thrift:"limit,13" json:"limit,omitempty"` Role *string `thrift:"role,14" json:"role,omitempty"` }
Contains a set of restrictions on matching tasks where all restrictions must be met (terms are AND'ed together).
Attributes:
- Role
- Environment
- JobName
- TaskIds
- Statuses
- InstanceIds
- SlaveHosts
- JobKeys
- Offset
- Limit
var AuroraAdminDeleteRecoveryTasksArgs_Query_DEFAULT *TaskQuery
var AuroraAdminPruneTasksArgs_Query_DEFAULT *TaskQuery
var AuroraAdminQueryRecoveryArgs_Query_DEFAULT *TaskQuery
var ReadOnlySchedulerGetPendingReasonArgs_Query_DEFAULT *TaskQuery
var ReadOnlySchedulerGetTasksStatusArgs_Query_DEFAULT *TaskQuery
var ReadOnlySchedulerGetTasksWithoutConfigsArgs_Query_DEFAULT *TaskQuery
func NewTaskQuery ¶
func NewTaskQuery() *TaskQuery
func (*TaskQuery) GetEnvironment ¶
func (*TaskQuery) GetInstanceIds ¶
func (*TaskQuery) GetJobKeys ¶
func (*TaskQuery) GetJobName ¶
func (*TaskQuery) GetSlaveHosts ¶
func (*TaskQuery) GetStatuses ¶
func (p *TaskQuery) GetStatuses() map[ScheduleStatus]bool
func (*TaskQuery) GetTaskIds ¶
func (*TaskQuery) IsSetEnvironment ¶ added in v1.3.0
func (*TaskQuery) IsSetInstanceIds ¶ added in v1.3.0
func (*TaskQuery) IsSetJobKeys ¶ added in v1.3.0
func (*TaskQuery) IsSetJobName ¶ added in v1.3.0
func (*TaskQuery) IsSetLimit ¶ added in v1.3.0
func (*TaskQuery) IsSetOffset ¶ added in v1.3.0
func (*TaskQuery) IsSetSlaveHosts ¶ added in v1.3.0
func (*TaskQuery) IsSetStatuses ¶ added in v1.3.0
func (*TaskQuery) IsSetTaskIds ¶ added in v1.3.0
type TierConfig ¶
type TierConfig struct { Name string `thrift:"name,1" json:"name"` Settings map[string]string `thrift:"settings,2" json:"settings"` }
Tier information.
Attributes:
- Name: Name of tier.
- Settings: Tier attributes.
func NewTierConfig ¶
func NewTierConfig() *TierConfig
func (*TierConfig) GetName ¶
func (p *TierConfig) GetName() string
func (*TierConfig) GetSettings ¶
func (p *TierConfig) GetSettings() map[string]string
func (*TierConfig) String ¶
func (p *TierConfig) String() string
type ValueConstraint ¶
type ValueConstraint struct { Negated bool `thrift:"negated,1" json:"negated"` Values map[string]bool `thrift:"values,2" json:"values"` }
A constraint that specifies an explicit set of values, at least one of which must be present on a host for a task to be scheduled there.
Attributes:
- Negated: If true, treat this as a 'not' - to avoid specific values.
- Values
var TaskConstraint_Value_DEFAULT *ValueConstraint
func NewValueConstraint ¶
func NewValueConstraint() *ValueConstraint
func (*ValueConstraint) GetNegated ¶
func (p *ValueConstraint) GetNegated() bool
func (*ValueConstraint) GetValues ¶
func (p *ValueConstraint) GetValues() map[string]bool
func (*ValueConstraint) String ¶
func (p *ValueConstraint) String() string
type Volume ¶
type Volume struct { ContainerPath string `thrift:"containerPath,1" json:"containerPath"` HostPath string `thrift:"hostPath,2" json:"hostPath"` Mode Mode `thrift:"mode,3" json:"mode"` }
A volume mount point within a container
Attributes:
- ContainerPath: The path inside the container where the mount will be created.
- HostPath: The path on the host that will serve as the source for the mount.
- Mode: The access mode