models

package
v1.3.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupFilesInfo

type BackupFilesInfo struct {

	// files
	Files []*BackupFilesInfoFilesItems0 `json:"files"`

	// location
	Location string `json:"location,omitempty"`

	// schema
	Schema string `json:"schema,omitempty"`
}

BackupFilesInfo backup files info swagger:model BackupFilesInfo

func (*BackupFilesInfo) MarshalBinary

func (m *BackupFilesInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupFilesInfo) UnmarshalBinary

func (m *BackupFilesInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupFilesInfo) Validate

func (m *BackupFilesInfo) Validate(formats strfmt.Registry) error

Validate validates this backup files info

type BackupFilesInfoFilesItems0

type BackupFilesInfoFilesItems0 struct {

	// files
	Files []string `json:"files"`

	// keyspace
	Keyspace string `json:"keyspace,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// table
	Table string `json:"table,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

BackupFilesInfoFilesItems0 backup files info files items0 swagger:model BackupFilesInfoFilesItems0

func (*BackupFilesInfoFilesItems0) MarshalBinary

func (m *BackupFilesInfoFilesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupFilesInfoFilesItems0) UnmarshalBinary

func (m *BackupFilesInfoFilesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupFilesInfoFilesItems0) Validate

func (m *BackupFilesInfoFilesItems0) Validate(formats strfmt.Registry) error

Validate validates this backup files info files items0

type BackupListItem

type BackupListItem struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// snapshot info
	SnapshotInfo []*SnapshotInfo `json:"snapshot_info"`

	// units
	Units []*BackupUnit `json:"units"`
}

BackupListItem backup list item swagger:model BackupListItem

func (*BackupListItem) MarshalBinary

func (m *BackupListItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupListItem) UnmarshalBinary

func (m *BackupListItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupListItem) Validate

func (m *BackupListItem) Validate(formats strfmt.Registry) error

Validate validates this backup list item

type BackupProgress

type BackupProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// dcs
	Dcs []string `json:"dcs"`

	// failed
	Failed int64 `json:"failed,omitempty"`

	// hosts
	Hosts []*HostProgress `json:"hosts"`

	// size
	Size int64 `json:"size,omitempty"`

	// skipped
	Skipped int64 `json:"skipped,omitempty"`

	// snapshot tag
	SnapshotTag string `json:"snapshot_tag,omitempty"`

	// stage
	Stage string `json:"stage,omitempty"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// uploaded
	Uploaded int64 `json:"uploaded,omitempty"`
}

BackupProgress backup progress swagger:model BackupProgress

func (*BackupProgress) MarshalBinary

func (m *BackupProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupProgress) UnmarshalBinary

func (m *BackupProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupProgress) Validate

func (m *BackupProgress) Validate(formats strfmt.Registry) error

Validate validates this backup progress

type BackupTarget

type BackupTarget struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// dc
	Dc []string `json:"dc"`

	// host
	Host string `json:"host,omitempty"`

	// location
	Location []string `json:"location"`

	// rate limit
	RateLimit []string `json:"rate_limit"`

	// retention
	Retention int64 `json:"retention,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// snapshot parallel
	SnapshotParallel []string `json:"snapshot_parallel"`

	// units
	Units []*BackupUnit `json:"units"`

	// upload parallel
	UploadParallel []string `json:"upload_parallel"`

	// with hosts
	WithHosts []string `json:"with_hosts"`
}

BackupTarget backup target swagger:model BackupTarget

func (*BackupTarget) MarshalBinary

func (m *BackupTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupTarget) UnmarshalBinary

func (m *BackupTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupTarget) Validate

func (m *BackupTarget) Validate(formats strfmt.Registry) error

Validate validates this backup target

type BackupUnit

type BackupUnit struct {

	// all tables
	AllTables bool `json:"all_tables,omitempty"`

	// keyspace
	Keyspace string `json:"keyspace,omitempty"`

	// tables
	Tables []string `json:"tables"`
}

BackupUnit backup unit swagger:model BackupUnit

func (*BackupUnit) MarshalBinary

func (m *BackupUnit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackupUnit) UnmarshalBinary

func (m *BackupUnit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackupUnit) Validate

func (m *BackupUnit) Validate(formats strfmt.Registry) error

Validate validates this backup unit

type Cluster

type Cluster struct {

	// auth token
	AuthToken string `json:"auth_token,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// ssl user cert file
	// Format: byte
	SslUserCertFile strfmt.Base64 `json:"ssl_user_cert_file,omitempty"`

	// ssl user key file
	// Format: byte
	SslUserKeyFile strfmt.Base64 `json:"ssl_user_key_file,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// without repair
	WithoutRepair bool `json:"without_repair,omitempty"`
}

Cluster cluster swagger:model Cluster

func (*Cluster) MarshalBinary

func (m *Cluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary

func (m *Cluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cluster) Validate

func (m *Cluster) Validate(formats strfmt.Registry) error

Validate validates this cluster

type ClusterStatus

type ClusterStatus []*ClusterStatusItems0

ClusterStatus cluster status swagger:model ClusterStatus

func (ClusterStatus) Validate

func (m ClusterStatus) Validate(formats strfmt.Registry) error

Validate validates this cluster status

type ClusterStatusItems0

type ClusterStatusItems0 struct {

	// agent version
	AgentVersion string `json:"agent_version,omitempty"`

	// alternator rtt ms
	AlternatorRttMs float32 `json:"alternator_rtt_ms,omitempty"`

	// alternator status
	AlternatorStatus string `json:"alternator_status,omitempty"`

	// cpu count
	CPUCount int64 `json:"cpu_count,omitempty"`

	// cql rtt ms
	CqlRttMs float32 `json:"cql_rtt_ms,omitempty"`

	// cql status
	CqlStatus string `json:"cql_status,omitempty"`

	// dc
	Dc string `json:"dc,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// host id
	HostID string `json:"host_id,omitempty"`

	// rest rtt ms
	RestRttMs float32 `json:"rest_rtt_ms,omitempty"`

	// rest status
	RestStatus string `json:"rest_status,omitempty"`

	// scylla version
	ScyllaVersion string `json:"scylla_version,omitempty"`

	// ssl
	Ssl bool `json:"ssl,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// total ram
	TotalRAM int64 `json:"total_ram,omitempty"`

	// uptime
	Uptime int64 `json:"uptime,omitempty"`
}

ClusterStatusItems0 cluster status items0 swagger:model ClusterStatusItems0

func (*ClusterStatusItems0) MarshalBinary

func (m *ClusterStatusItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterStatusItems0) UnmarshalBinary

func (m *ClusterStatusItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterStatusItems0) Validate

func (m *ClusterStatusItems0) Validate(formats strfmt.Registry) error

Validate validates this cluster status items0

type ErrorResponse

type ErrorResponse struct {

	// Error description
	Message string `json:"message,omitempty"`

	// Request ID for tracing in logs
	TraceID string `json:"trace_id,omitempty"`
}

ErrorResponse error response swagger:model ErrorResponse

func (*ErrorResponse) MarshalBinary

func (m *ErrorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

func (m *ErrorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

func (m *ErrorResponse) Validate(formats strfmt.Registry) error

Validate validates this error response

type ExtendedTask

type ExtendedTask struct {

	// cause
	Cause string `json:"cause,omitempty"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"end_time,omitempty"`

	// failures
	Failures int64 `json:"failures,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// next activation
	// Format: date-time
	NextActivation strfmt.DateTime `json:"next_activation,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`

	// schedule
	Schedule *Schedule `json:"schedule,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// type
	Type string `json:"type,omitempty"`
}

ExtendedTask extended task swagger:model ExtendedTask

func (*ExtendedTask) MarshalBinary

func (m *ExtendedTask) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExtendedTask) UnmarshalBinary

func (m *ExtendedTask) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExtendedTask) Validate

func (m *ExtendedTask) Validate(formats strfmt.Registry) error

Validate validates this extended task

type HostProgress

type HostProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// failed
	Failed int64 `json:"failed,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// keyspaces
	Keyspaces []*KeyspaceProgress `json:"keyspaces"`

	// size
	Size int64 `json:"size,omitempty"`

	// skipped
	Skipped int64 `json:"skipped,omitempty"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// uploaded
	Uploaded int64 `json:"uploaded,omitempty"`
}

HostProgress host progress swagger:model HostProgress

func (*HostProgress) MarshalBinary

func (m *HostProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostProgress) UnmarshalBinary

func (m *HostProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostProgress) Validate

func (m *HostProgress) Validate(formats strfmt.Registry) error

Validate validates this host progress

type KeyspaceProgress

type KeyspaceProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// failed
	Failed int64 `json:"failed,omitempty"`

	// keyspace
	Keyspace string `json:"keyspace,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// skipped
	Skipped int64 `json:"skipped,omitempty"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// tables
	Tables []*TableProgress `json:"tables"`

	// uploaded
	Uploaded int64 `json:"uploaded,omitempty"`
}

KeyspaceProgress keyspace progress swagger:model KeyspaceProgress

func (*KeyspaceProgress) MarshalBinary

func (m *KeyspaceProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyspaceProgress) UnmarshalBinary

func (m *KeyspaceProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyspaceProgress) Validate

func (m *KeyspaceProgress) Validate(formats strfmt.Registry) error

Validate validates this keyspace progress

type RepairProgress

type RepairProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// dcs
	Dcs []string `json:"dcs"`

	// error
	Error int64 `json:"error,omitempty"`

	// hosts
	Hosts []*RepairProgressHostsItems0 `json:"hosts"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// success
	Success int64 `json:"success,omitempty"`

	// tables
	Tables []*TableRepairProgress `json:"tables"`

	// token ranges
	TokenRanges int64 `json:"token_ranges,omitempty"`
}

RepairProgress repair progress swagger:model RepairProgress

func (*RepairProgress) MarshalBinary

func (m *RepairProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepairProgress) UnmarshalBinary

func (m *RepairProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepairProgress) Validate

func (m *RepairProgress) Validate(formats strfmt.Registry) error

Validate validates this repair progress

type RepairProgressHostsItems0

type RepairProgressHostsItems0 struct {

	// host
	Host string `json:"host,omitempty"`

	// intensity
	Intensity float64 `json:"intensity,omitempty"`

	// tables
	Tables []*TableRepairProgress `json:"tables"`
}

RepairProgressHostsItems0 repair progress hosts items0 swagger:model RepairProgressHostsItems0

func (*RepairProgressHostsItems0) MarshalBinary

func (m *RepairProgressHostsItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepairProgressHostsItems0) UnmarshalBinary

func (m *RepairProgressHostsItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepairProgressHostsItems0) Validate

func (m *RepairProgressHostsItems0) Validate(formats strfmt.Registry) error

Validate validates this repair progress hosts items0

type RepairTarget

type RepairTarget struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// dc
	Dc []string `json:"dc"`

	// host
	Host string `json:"host,omitempty"`

	// token ranges
	TokenRanges string `json:"token_ranges,omitempty"`

	// units
	Units []*RepairUnit `json:"units"`

	// with hosts
	WithHosts []string `json:"with_hosts"`
}

RepairTarget repair target swagger:model RepairTarget

func (*RepairTarget) MarshalBinary

func (m *RepairTarget) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepairTarget) UnmarshalBinary

func (m *RepairTarget) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepairTarget) Validate

func (m *RepairTarget) Validate(formats strfmt.Registry) error

Validate validates this repair target

type RepairUnit

type RepairUnit struct {

	// all tables
	AllTables bool `json:"all_tables,omitempty"`

	// keyspace
	Keyspace string `json:"keyspace,omitempty"`

	// tables
	Tables []string `json:"tables"`
}

RepairUnit repair unit swagger:model RepairUnit

func (*RepairUnit) MarshalBinary

func (m *RepairUnit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepairUnit) UnmarshalBinary

func (m *RepairUnit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepairUnit) Validate

func (m *RepairUnit) Validate(formats strfmt.Registry) error

Validate validates this repair unit

type Schedule

type Schedule struct {

	// interval
	Interval string `json:"interval,omitempty"`

	// num retries
	NumRetries int64 `json:"num_retries,omitempty"`

	// start date
	// Format: date-time
	StartDate strfmt.DateTime `json:"start_date,omitempty"`
}

Schedule schedule swagger:model Schedule

func (*Schedule) MarshalBinary

func (m *Schedule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Schedule) UnmarshalBinary

func (m *Schedule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Schedule) Validate

func (m *Schedule) Validate(formats strfmt.Registry) error

Validate validates this schedule

type SnapshotInfo

type SnapshotInfo struct {

	// size
	Size int64 `json:"size,omitempty"`

	// snapshot tag
	SnapshotTag string `json:"snapshot_tag,omitempty"`
}

SnapshotInfo snapshot info swagger:model SnapshotInfo

func (*SnapshotInfo) MarshalBinary

func (m *SnapshotInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotInfo) UnmarshalBinary

func (m *SnapshotInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotInfo) Validate

func (m *SnapshotInfo) Validate(formats strfmt.Registry) error

Validate validates this snapshot info

type TableProgress

type TableProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// failed
	Failed int64 `json:"failed,omitempty"`

	// size
	Size int64 `json:"size,omitempty"`

	// skipped
	Skipped int64 `json:"skipped,omitempty"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// table
	Table string `json:"table,omitempty"`

	// uploaded
	Uploaded int64 `json:"uploaded,omitempty"`
}

TableProgress table progress swagger:model TableProgress

func (*TableProgress) MarshalBinary

func (m *TableProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TableProgress) UnmarshalBinary

func (m *TableProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TableProgress) Validate

func (m *TableProgress) Validate(formats strfmt.Registry) error

Validate validates this table progress

type TableRepairProgress

type TableRepairProgress struct {

	// completed at
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at,omitempty"`

	// error
	Error int64 `json:"error,omitempty"`

	// keyspace
	Keyspace string `json:"keyspace,omitempty"`

	// started at
	// Format: date-time
	StartedAt *strfmt.DateTime `json:"started_at,omitempty"`

	// success
	Success int64 `json:"success,omitempty"`

	// table
	Table string `json:"table,omitempty"`

	// token ranges
	TokenRanges int64 `json:"token_ranges,omitempty"`
}

TableRepairProgress table repair progress swagger:model TableRepairProgress

func (*TableRepairProgress) MarshalBinary

func (m *TableRepairProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TableRepairProgress) UnmarshalBinary

func (m *TableRepairProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TableRepairProgress) Validate

func (m *TableRepairProgress) Validate(formats strfmt.Registry) error

Validate validates this table repair progress

type Task

type Task struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`

	// schedule
	Schedule *Schedule `json:"schedule,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// type
	Type string `json:"type,omitempty"`
}

Task task swagger:model Task

func (*Task) MarshalBinary

func (m *Task) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Task) UnmarshalBinary

func (m *Task) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Task) Validate

func (m *Task) Validate(formats strfmt.Registry) error

Validate validates this task

type TaskRun

type TaskRun struct {

	// cause
	Cause string `json:"cause,omitempty"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// end time
	// Format: date-time
	EndTime strfmt.DateTime `json:"end_time,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"start_time,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

TaskRun task run swagger:model TaskRun

func (*TaskRun) MarshalBinary

func (m *TaskRun) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskRun) UnmarshalBinary

func (m *TaskRun) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskRun) Validate

func (m *TaskRun) Validate(formats strfmt.Registry) error

Validate validates this task run

type TaskRunBackupProgress

type TaskRunBackupProgress struct {

	// progress
	Progress *BackupProgress `json:"progress,omitempty"`

	// run
	Run *TaskRun `json:"run,omitempty"`
}

TaskRunBackupProgress task run backup progress swagger:model TaskRunBackupProgress

func (*TaskRunBackupProgress) MarshalBinary

func (m *TaskRunBackupProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskRunBackupProgress) UnmarshalBinary

func (m *TaskRunBackupProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskRunBackupProgress) Validate

func (m *TaskRunBackupProgress) Validate(formats strfmt.Registry) error

Validate validates this task run backup progress

type TaskRunRepairProgress

type TaskRunRepairProgress struct {

	// progress
	Progress *RepairProgress `json:"progress,omitempty"`

	// run
	Run *TaskRun `json:"run,omitempty"`
}

TaskRunRepairProgress task run repair progress swagger:model TaskRunRepairProgress

func (*TaskRunRepairProgress) MarshalBinary

func (m *TaskRunRepairProgress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskRunRepairProgress) UnmarshalBinary

func (m *TaskRunRepairProgress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskRunRepairProgress) Validate

func (m *TaskRunRepairProgress) Validate(formats strfmt.Registry) error

Validate validates this task run repair progress

type TaskUpdate

type TaskUpdate struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// properties
	Properties interface{} `json:"properties,omitempty"`

	// schedule
	Schedule *Schedule `json:"schedule,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// type
	Type string `json:"type,omitempty"`
}

TaskUpdate task update swagger:model TaskUpdate

func (*TaskUpdate) MarshalBinary

func (m *TaskUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskUpdate) UnmarshalBinary

func (m *TaskUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskUpdate) Validate

func (m *TaskUpdate) Validate(formats strfmt.Registry) error

Validate validates this task update

type Version

type Version struct {

	// version
	Version string `json:"version,omitempty"`
}

Version version swagger:model Version

func (*Version) MarshalBinary

func (m *Version) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Version) UnmarshalBinary

func (m *Version) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Version) Validate

func (m *Version) Validate(formats strfmt.Registry) error

Validate validates this version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL