Documentation ¶
Index ¶
- Constants
- type ComponentSpec
- type CreateInProgressResponse
- type DataTransport
- type ProtectedEntityID
- type ProtectedEntityInfo
- type ProtectedEntityList
- type ProtectedEntitySnapshotID
- type ServiceList
- type TaskID
- type TaskIDList
- type TaskInfo
- type TaskNexusID
- type TaskNexusInfo
- type TaskNexusList
- type TaskNexusResponse
Constants ¶
const ( // TaskInfoStatusRunning captures enum value "running" TaskInfoStatusRunning string = "running" // TaskInfoStatusSuccess captures enum value "success" TaskInfoStatusSuccess string = "success" // TaskInfoStatusFailed captures enum value "failed" TaskInfoStatusFailed string = "failed" // TaskInfoStatusCancelled captures enum value "cancelled" TaskInfoStatusCancelled string = "cancelled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentSpec ¶
type ComponentSpec struct { // id // Required: true ID ProtectedEntityID `json:"id"` // server Server string `json:"server,omitempty"` }
ComponentSpec component spec swagger:model ComponentSpec
func (*ComponentSpec) MarshalBinary ¶
func (m *ComponentSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ComponentSpec) UnmarshalBinary ¶
func (m *ComponentSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateInProgressResponse ¶
type CreateInProgressResponse struct { // task ID TaskID TaskID `json:"taskID,omitempty"` }
CreateInProgressResponse create in progress response swagger:model CreateInProgressResponse
func (*CreateInProgressResponse) MarshalBinary ¶
func (m *CreateInProgressResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateInProgressResponse) UnmarshalBinary ¶
func (m *CreateInProgressResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataTransport ¶
type DataTransport struct { // params Params map[string]string `json:"params,omitempty"` // transport type TransportType string `json:"transportType,omitempty"` }
DataTransport data transport swagger:model DataTransport
func (*DataTransport) MarshalBinary ¶
func (m *DataTransport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataTransport) UnmarshalBinary ¶
func (m *DataTransport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtectedEntityID ¶
type ProtectedEntityID string
ProtectedEntityID protected entity ID swagger:model ProtectedEntityID
type ProtectedEntityInfo ¶
type ProtectedEntityInfo struct { // combined transports // Required: true CombinedTransports []*DataTransport `json:"combinedTransports"` // component specs // Required: true ComponentSpecs []*ComponentSpec `json:"componentSpecs"` // data transports // Required: true DataTransports []*DataTransport `json:"dataTransports"` // id // Required: true ID ProtectedEntityID `json:"id"` // metadata transports // Required: true MetadataTransports []*DataTransport `json:"metadataTransports"` // name // Required: true Name *string `json:"name"` }
ProtectedEntityInfo protected entity info swagger:model ProtectedEntityInfo
func (*ProtectedEntityInfo) MarshalBinary ¶
func (m *ProtectedEntityInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtectedEntityInfo) UnmarshalBinary ¶
func (m *ProtectedEntityInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtectedEntityList ¶
type ProtectedEntityList struct { // list List []ProtectedEntityID `json:"list"` // truncated Truncated bool `json:"truncated,omitempty"` }
ProtectedEntityList protected entity list swagger:model ProtectedEntityList
func (*ProtectedEntityList) MarshalBinary ¶
func (m *ProtectedEntityList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtectedEntityList) UnmarshalBinary ¶
func (m *ProtectedEntityList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtectedEntitySnapshotID ¶
type ProtectedEntitySnapshotID string
ProtectedEntitySnapshotID protected entity snapshot ID swagger:model ProtectedEntitySnapshotID
type ServiceList ¶
type ServiceList struct { // services Services []string `json:"services"` }
ServiceList service list swagger:model ServiceList
func (*ServiceList) MarshalBinary ¶
func (m *ServiceList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceList) UnmarshalBinary ¶
func (m *ServiceList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskInfo ¶
type TaskInfo struct { // completed // Required: true Completed *bool `json:"completed"` // details Details string `json:"details,omitempty"` // finished time FinishedTime string `json:"finishedTime,omitempty"` // Finished time in nanoseconds FinishedTimeNS int64 `json:"finishedTimeNS,omitempty"` // id // Required: true ID TaskID `json:"id"` // progress // Required: true // Maximum: 100 // Minimum: 0 Progress *float64 `json:"progress"` // result Result interface{} `json:"result,omitempty"` // started time // Required: true StartedTime *string `json:"startedTime"` // Start time in nanoseconds // Required: true StartedTimeNS *int64 `json:"startedTimeNS"` // status // Required: true // Enum: [running success failed cancelled] Status *string `json:"status"` }
TaskInfo task info swagger:model TaskInfo
func (*TaskInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaskInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TaskNexusInfo ¶
type TaskNexusInfo struct { // associated tasks AssociatedTasks []TaskID `json:"associatedTasks"` // id ID TaskNexusID `json:"id,omitempty"` }
TaskNexusInfo task nexus info swagger:model TaskNexusInfo
func (*TaskNexusInfo) MarshalBinary ¶
func (m *TaskNexusInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskNexusInfo) UnmarshalBinary ¶
func (m *TaskNexusInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskNexusList ¶
type TaskNexusList []*TaskNexusInfo
TaskNexusList task nexus list swagger:model TaskNexusList
type TaskNexusResponse ¶
type TaskNexusResponse struct { // finished Finished []*TaskInfo `json:"finished"` // id ID TaskNexusID `json:"id,omitempty"` }
TaskNexusResponse task nexus response swagger:model TaskNexusResponse
func (*TaskNexusResponse) MarshalBinary ¶
func (m *TaskNexusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskNexusResponse) UnmarshalBinary ¶
func (m *TaskNexusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- component_spec.go
- create_in_progress_response.go
- data_transport.go
- protected_entity_id.go
- protected_entity_info.go
- protected_entity_list.go
- protected_entity_snapshot_id.go
- service_list.go
- task_id.go
- task_id_list.go
- task_info.go
- task_nexus_id.go
- task_nexus_info.go
- task_nexus_list.go
- task_nexus_response.go