models

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// message
	// Required: true
	// Min Length: 1
	Message *string `json:"message"`
}

Error error swagger:model error

func (*Error) Validate

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

Validate validates this error

type Healthz

type Healthz struct {

	// message
	// Required: true
	// Min Length: 1
	Message *string `json:"message"`

	// status
	// Required: true
	// Min Length: 2
	Status *string `json:"status"`
}

Healthz healthz swagger:model healthz

func (*Healthz) Validate

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

Validate validates this healthz

type IndiceStatus

type IndiceStatus struct {

	// List of indices that are being deleted.
	Deleting []string `json:"deleting"`

	// List of indices that are available not but being restored.
	Pending []string `json:"pending"`

	// List of indices restored and are ready for query.
	Ready []string `json:"ready"`

	// List of indices being resotred.
	Restoring []string `json:"restoring"`
}

IndiceStatus indice status swagger:model indice_status

func (*IndiceStatus) Validate

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

Validate validates this indice status

Jump to

Keyboard shortcuts

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