Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIAnnotationsCreateRequest added in v1.14.1

type APIAnnotationsCreateRequest struct {

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

	// text
	Text string `json:"text,omitempty"`
}

APIAnnotationsCreateRequest api annotations create request swagger:model apiAnnotationsCreateRequest

func (*APIAnnotationsCreateRequest) MarshalBinary added in v1.14.1

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

MarshalBinary interface implementation

func (*APIAnnotationsCreateRequest) UnmarshalBinary added in v1.14.1

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

UnmarshalBinary interface implementation

func (*APIAnnotationsCreateRequest) Validate added in v1.14.1

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

Validate validates this api annotations create request

type APIAnnotationsCreateResponse added in v1.14.1

type APIAnnotationsCreateResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

APIAnnotationsCreateResponse api annotations create response swagger:model apiAnnotationsCreateResponse

func (*APIAnnotationsCreateResponse) MarshalBinary added in v1.14.1

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

MarshalBinary interface implementation

func (*APIAnnotationsCreateResponse) UnmarshalBinary added in v1.14.1

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

UnmarshalBinary interface implementation

func (*APIAnnotationsCreateResponse) Validate added in v1.14.1

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

Validate validates this api annotations create response

type APIBaseVersionResponse

type APIBaseVersionResponse struct {

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

APIBaseVersionResponse api base version response swagger:model apiBaseVersionResponse

func (*APIBaseVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APIBaseVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIBaseVersionResponse) Validate

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

Validate validates this api base version response

type APIBasicAuth

type APIBasicAuth struct {

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

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

APIBasicAuth api basic auth swagger:model apiBasicAuth

func (*APIBasicAuth) MarshalBinary

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

MarshalBinary interface implementation

func (*APIBasicAuth) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIBasicAuth) Validate

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

Validate validates this api basic auth

type APIDemoErrorResponse

type APIDemoErrorResponse interface{}

APIDemoErrorResponse api demo error response swagger:model apiDemoErrorResponse

type APILabelPair

type APILabelPair struct {

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

	// Label value
	Value string `json:"value,omitempty"`
}

APILabelPair api label pair swagger:model apiLabelPair

func (*APILabelPair) MarshalBinary

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

MarshalBinary interface implementation

func (*APILabelPair) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APILabelPair) Validate

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

Validate validates this api label pair

type APILog added in v1.14.1

type APILog struct {

	// Last lines of log file
	Lines []string `json:"lines"`
}

APILog api log swagger:model apiLog

func (*APILog) MarshalBinary added in v1.14.1

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

MarshalBinary interface implementation

func (*APILog) UnmarshalBinary added in v1.14.1

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

UnmarshalBinary interface implementation

func (*APILog) Validate added in v1.14.1

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

Validate validates this api log

type APILogsAllResponse added in v1.14.1

type APILogsAllResponse struct {

	// Maps log file name to content
	Logs map[string]APILog `json:"logs,omitempty"`
}

APILogsAllResponse api logs all response swagger:model apiLogsAllResponse

func (*APILogsAllResponse) MarshalBinary added in v1.14.1

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

MarshalBinary interface implementation

func (*APILogsAllResponse) UnmarshalBinary added in v1.14.1

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

UnmarshalBinary interface implementation

func (*APILogsAllResponse) Validate added in v1.14.1

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

Validate validates this api logs all response

type APIMySQLAddRequest added in v1.16.0

type APIMySQLAddRequest struct {

	// address
	Address string `json:"address,omitempty"`

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

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

	// port
	Port int64 `json:"port,omitempty"`

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

APIMySQLAddRequest api my SQL add request swagger:model apiMySQLAddRequest

func (*APIMySQLAddRequest) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLAddRequest) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLAddRequest) Validate added in v1.16.0

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

Validate validates this api my SQL add request

type APIMySQLAddResponse added in v1.16.0

type APIMySQLAddResponse struct {

	// id
	ID int32 `json:"id,omitempty"`
}

APIMySQLAddResponse api my SQL add response swagger:model apiMySQLAddResponse

func (*APIMySQLAddResponse) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLAddResponse) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLAddResponse) Validate added in v1.16.0

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

Validate validates this api my SQL add response

type APIMySQLInstance added in v1.16.0

type APIMySQLInstance struct {

	// node
	Node *APIMySQLNode `json:"node,omitempty"`

	// service
	Service *APIMySQLService `json:"service,omitempty"`
}

APIMySQLInstance api my SQL instance swagger:model apiMySQLInstance

func (*APIMySQLInstance) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLInstance) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLInstance) Validate added in v1.16.0

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

Validate validates this api my SQL instance

type APIMySQLListResponse added in v1.16.0

type APIMySQLListResponse struct {

	// instances
	Instances []*APIMySQLInstance `json:"instances"`
}

APIMySQLListResponse api my SQL list response swagger:model apiMySQLListResponse

func (*APIMySQLListResponse) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLListResponse) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLListResponse) Validate added in v1.16.0

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

Validate validates this api my SQL list response

type APIMySQLNode added in v1.16.0

type APIMySQLNode struct {

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

APIMySQLNode api my SQL node swagger:model apiMySQLNode

func (*APIMySQLNode) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLNode) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLNode) Validate added in v1.16.0

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

Validate validates this api my SQL node

type APIMySQLRemoveResponse added in v1.16.0

type APIMySQLRemoveResponse interface{}

APIMySQLRemoveResponse api my SQL remove response swagger:model apiMySQLRemoveResponse

type APIMySQLService added in v1.16.0

type APIMySQLService struct {

	// address
	Address string `json:"address,omitempty"`

	// engine
	Engine string `json:"engine,omitempty"`

	// engine version
	EngineVersion string `json:"engine_version,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`
}

APIMySQLService api my SQL service swagger:model apiMySQLService

func (*APIMySQLService) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIMySQLService) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIMySQLService) Validate added in v1.16.0

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

Validate validates this api my SQL service

type APIPostgreSQLAddRequest added in v1.16.0

type APIPostgreSQLAddRequest struct {

	// address
	Address string `json:"address,omitempty"`

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

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

	// port
	Port int64 `json:"port,omitempty"`

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

APIPostgreSQLAddRequest api postgre SQL add request swagger:model apiPostgreSQLAddRequest

func (*APIPostgreSQLAddRequest) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLAddRequest) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLAddRequest) Validate added in v1.16.0

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

Validate validates this api postgre SQL add request

type APIPostgreSQLAddResponse added in v1.16.0

type APIPostgreSQLAddResponse struct {

	// id
	ID int32 `json:"id,omitempty"`
}

APIPostgreSQLAddResponse api postgre SQL add response swagger:model apiPostgreSQLAddResponse

func (*APIPostgreSQLAddResponse) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLAddResponse) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLAddResponse) Validate added in v1.16.0

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

Validate validates this api postgre SQL add response

type APIPostgreSQLInstance added in v1.16.0

type APIPostgreSQLInstance struct {

	// node
	Node *APIPostgreSQLNode `json:"node,omitempty"`

	// service
	Service *APIPostgreSQLService `json:"service,omitempty"`
}

APIPostgreSQLInstance api postgre SQL instance swagger:model apiPostgreSQLInstance

func (*APIPostgreSQLInstance) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLInstance) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLInstance) Validate added in v1.16.0

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

Validate validates this api postgre SQL instance

type APIPostgreSQLListResponse added in v1.16.0

type APIPostgreSQLListResponse struct {

	// instances
	Instances []*APIPostgreSQLInstance `json:"instances"`
}

APIPostgreSQLListResponse api postgre SQL list response swagger:model apiPostgreSQLListResponse

func (*APIPostgreSQLListResponse) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLListResponse) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLListResponse) Validate added in v1.16.0

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

Validate validates this api postgre SQL list response

type APIPostgreSQLNode added in v1.16.0

type APIPostgreSQLNode struct {

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

APIPostgreSQLNode api postgre SQL node swagger:model apiPostgreSQLNode

func (*APIPostgreSQLNode) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLNode) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLNode) Validate added in v1.16.0

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

Validate validates this api postgre SQL node

type APIPostgreSQLRemoveResponse added in v1.16.0

type APIPostgreSQLRemoveResponse interface{}

APIPostgreSQLRemoveResponse api postgre SQL remove response swagger:model apiPostgreSQLRemoveResponse

type APIPostgreSQLService added in v1.16.0

type APIPostgreSQLService struct {

	// address
	Address string `json:"address,omitempty"`

	// engine
	Engine string `json:"engine,omitempty"`

	// engine version
	EngineVersion string `json:"engine_version,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`
}

APIPostgreSQLService api postgre SQL service swagger:model apiPostgreSQLService

func (*APIPostgreSQLService) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIPostgreSQLService) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIPostgreSQLService) Validate added in v1.16.0

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

Validate validates this api postgre SQL service

type APIRDSAddRequest added in v1.5.0

type APIRDSAddRequest struct {

	// aws access key id
	AwsAccessKeyID string `json:"aws_access_key_id,omitempty"`

	// aws secret access key
	AwsSecretAccessKey string `json:"aws_secret_access_key,omitempty"`

	// id
	ID *APIRDSInstanceID `json:"id,omitempty"`

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

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

APIRDSAddRequest api r d s add request swagger:model apiRDSAddRequest

func (*APIRDSAddRequest) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSAddRequest) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSAddRequest) Validate added in v1.5.0

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

Validate validates this api r d s add request

type APIRDSAddResponse added in v1.5.0

type APIRDSAddResponse interface{}

APIRDSAddResponse api r d s add response swagger:model apiRDSAddResponse

type APIRDSDiscoverRequest added in v1.5.0

type APIRDSDiscoverRequest struct {

	// aws access key id
	AwsAccessKeyID string `json:"aws_access_key_id,omitempty"`

	// aws secret access key
	AwsSecretAccessKey string `json:"aws_secret_access_key,omitempty"`
}

APIRDSDiscoverRequest api r d s discover request swagger:model apiRDSDiscoverRequest

func (*APIRDSDiscoverRequest) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSDiscoverRequest) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSDiscoverRequest) Validate added in v1.5.0

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

Validate validates this api r d s discover request

type APIRDSDiscoverResponse added in v1.5.0

type APIRDSDiscoverResponse struct {

	// instances
	Instances []*APIRDSInstance `json:"instances"`
}

APIRDSDiscoverResponse api r d s discover response swagger:model apiRDSDiscoverResponse

func (*APIRDSDiscoverResponse) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSDiscoverResponse) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSDiscoverResponse) Validate added in v1.5.0

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

Validate validates this api r d s discover response

type APIRDSInstance added in v1.5.0

type APIRDSInstance struct {

	// node
	Node *APIRDSNode `json:"node,omitempty"`

	// service
	Service *APIRDSService `json:"service,omitempty"`
}

APIRDSInstance api r d s instance swagger:model apiRDSInstance

func (*APIRDSInstance) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSInstance) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSInstance) Validate added in v1.5.0

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

Validate validates this api r d s instance

type APIRDSInstanceID added in v1.5.0

type APIRDSInstanceID struct {

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

	// region
	Region string `json:"region,omitempty"`
}

APIRDSInstanceID api r d s instance ID swagger:model apiRDSInstanceID

func (*APIRDSInstanceID) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSInstanceID) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSInstanceID) Validate added in v1.5.0

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

Validate validates this api r d s instance ID

type APIRDSListResponse added in v1.5.0

type APIRDSListResponse struct {

	// instances
	Instances []*APIRDSInstance `json:"instances"`
}

APIRDSListResponse api r d s list response swagger:model apiRDSListResponse

func (*APIRDSListResponse) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSListResponse) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSListResponse) Validate added in v1.5.0

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

Validate validates this api r d s list response

type APIRDSNode added in v1.5.0

type APIRDSNode struct {

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

	// region
	Region string `json:"region,omitempty"`
}

APIRDSNode api r d s node swagger:model apiRDSNode

func (*APIRDSNode) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSNode) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSNode) Validate added in v1.5.0

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

Validate validates this api r d s node

type APIRDSRemoveRequest added in v1.5.0

type APIRDSRemoveRequest struct {

	// id
	ID *APIRDSInstanceID `json:"id,omitempty"`
}

APIRDSRemoveRequest api r d s remove request swagger:model apiRDSRemoveRequest

func (*APIRDSRemoveRequest) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSRemoveRequest) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSRemoveRequest) Validate added in v1.5.0

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

Validate validates this api r d s remove request

type APIRDSRemoveResponse added in v1.5.0

type APIRDSRemoveResponse interface{}

APIRDSRemoveResponse api r d s remove response swagger:model apiRDSRemoveResponse

type APIRDSService added in v1.5.0

type APIRDSService struct {

	// address
	Address string `json:"address,omitempty"`

	// engine
	Engine string `json:"engine,omitempty"`

	// engine version
	EngineVersion string `json:"engine_version,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`
}

APIRDSService api r d s service swagger:model apiRDSService

func (*APIRDSService) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*APIRDSService) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*APIRDSService) Validate added in v1.5.0

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

Validate validates this api r d s service

type APIRemoteInstance added in v1.16.0

type APIRemoteInstance struct {

	// node
	Node *APIRemoteNode `json:"node,omitempty"`

	// service
	Service *APIRemoteService `json:"service,omitempty"`
}

APIRemoteInstance api remote instance swagger:model apiRemoteInstance

func (*APIRemoteInstance) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIRemoteInstance) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIRemoteInstance) Validate added in v1.16.0

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

Validate validates this api remote instance

type APIRemoteListResponse added in v1.16.0

type APIRemoteListResponse struct {

	// instances
	Instances []*APIRemoteInstance `json:"instances"`
}

APIRemoteListResponse api remote list response swagger:model apiRemoteListResponse

func (*APIRemoteListResponse) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIRemoteListResponse) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIRemoteListResponse) Validate added in v1.16.0

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

Validate validates this api remote list response

type APIRemoteNode added in v1.16.0

type APIRemoteNode struct {

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

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

	// region
	Region string `json:"region,omitempty"`
}

APIRemoteNode api remote node swagger:model apiRemoteNode

func (*APIRemoteNode) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIRemoteNode) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIRemoteNode) Validate added in v1.16.0

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

Validate validates this api remote node

type APIRemoteService added in v1.16.0

type APIRemoteService struct {

	// address
	Address string `json:"address,omitempty"`

	// engine
	Engine string `json:"engine,omitempty"`

	// engine version
	EngineVersion string `json:"engine_version,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`

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

APIRemoteService api remote service swagger:model apiRemoteService

func (*APIRemoteService) MarshalBinary added in v1.16.0

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

MarshalBinary interface implementation

func (*APIRemoteService) UnmarshalBinary added in v1.16.0

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

UnmarshalBinary interface implementation

func (*APIRemoteService) Validate added in v1.16.0

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

Validate validates this api remote service

type APIScrapeConfig

type APIScrapeConfig struct {

	// Sets the `Authorization` header on every scrape request with the configured username and password
	BasicAuth *APIBasicAuth `json:"basic_auth,omitempty"`

	// The job name assigned to scraped metrics by default: "example-job" (required)
	JobName string `json:"job_name,omitempty"`

	// The HTTP resource path on which to fetch metrics from targets: "/metrics"
	MetricsPath string `json:"metrics_path,omitempty"`

	// Configures the protocol scheme used for requests: "http" or "https"
	Scheme string `json:"scheme,omitempty"`

	// How frequently to scrape targets from this job: "10s"
	ScrapeInterval string `json:"scrape_interval,omitempty"`

	// Per-scrape timeout when scraping this job: "5s"
	ScrapeTimeout string `json:"scrape_timeout,omitempty"`

	// List of labeled statically configured targets for this job
	StaticConfigs []*APIStaticConfig `json:"static_configs"`

	// Configures the scrape request's TLS settings
	TLSConfig *APITLSConfig `json:"tls_config,omitempty"`
}

APIScrapeConfig api scrape config swagger:model apiScrapeConfig

func (*APIScrapeConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*APIScrapeConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIScrapeConfig) Validate

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

Validate validates this api scrape config

type APIScrapeConfigsCreateRequest

type APIScrapeConfigsCreateRequest struct {

	// Check that added targets can be scraped from PMM Server
	CheckReachability bool `json:"check_reachability,omitempty"`

	// scrape config
	ScrapeConfig *APIScrapeConfig `json:"scrape_config,omitempty"`
}

APIScrapeConfigsCreateRequest api scrape configs create request swagger:model apiScrapeConfigsCreateRequest

func (*APIScrapeConfigsCreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*APIScrapeConfigsCreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIScrapeConfigsCreateRequest) Validate

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

Validate validates this api scrape configs create request

type APIScrapeConfigsCreateResponse

type APIScrapeConfigsCreateResponse interface{}

APIScrapeConfigsCreateResponse api scrape configs create response swagger:model apiScrapeConfigsCreateResponse

type APIScrapeConfigsDeleteResponse

type APIScrapeConfigsDeleteResponse interface{}

APIScrapeConfigsDeleteResponse api scrape configs delete response swagger:model apiScrapeConfigsDeleteResponse

type APIScrapeConfigsGetResponse

type APIScrapeConfigsGetResponse struct {

	// scrape config
	ScrapeConfig *APIScrapeConfig `json:"scrape_config,omitempty"`

	// Scrape targets health for this scrape job
	ScrapeTargetsHealth []*APIScrapeTargetHealth `json:"scrape_targets_health"`
}

APIScrapeConfigsGetResponse api scrape configs get response swagger:model apiScrapeConfigsGetResponse

func (*APIScrapeConfigsGetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APIScrapeConfigsGetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIScrapeConfigsGetResponse) Validate

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

Validate validates this api scrape configs get response

type APIScrapeConfigsListResponse

type APIScrapeConfigsListResponse struct {

	// scrape configs
	ScrapeConfigs []*APIScrapeConfig `json:"scrape_configs"`

	// Scrape targets health for all managed scrape jobs
	ScrapeTargetsHealth []*APIScrapeTargetHealth `json:"scrape_targets_health"`
}

APIScrapeConfigsListResponse api scrape configs list response swagger:model apiScrapeConfigsListResponse

func (*APIScrapeConfigsListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*APIScrapeConfigsListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIScrapeConfigsListResponse) Validate

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

Validate validates this api scrape configs list response

type APIScrapeConfigsUpdateRequest added in v1.7.0

type APIScrapeConfigsUpdateRequest struct {

	// Check that added targets can be scraped from PMM Server
	CheckReachability bool `json:"check_reachability,omitempty"`

	// scrape config
	ScrapeConfig *APIScrapeConfig `json:"scrape_config,omitempty"`
}

APIScrapeConfigsUpdateRequest api scrape configs update request swagger:model apiScrapeConfigsUpdateRequest

func (*APIScrapeConfigsUpdateRequest) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*APIScrapeConfigsUpdateRequest) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*APIScrapeConfigsUpdateRequest) Validate added in v1.7.0

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

Validate validates this api scrape configs update request

type APIScrapeConfigsUpdateResponse added in v1.7.0

type APIScrapeConfigsUpdateResponse interface{}

APIScrapeConfigsUpdateResponse api scrape configs update response swagger:model apiScrapeConfigsUpdateResponse

type APIScrapeTargetHealth added in v1.7.0

type APIScrapeTargetHealth struct {

	// health
	Health ScrapeTargetHealthHealth `json:"health,omitempty"`

	// "instance" label value, may be different from target due to relabeling
	Instance string `json:"instance,omitempty"`

	// "job" label value, may be different from job_name due to relabeling
	Job string `json:"job,omitempty"`

	// Original scrape job name
	JobName string `json:"job_name,omitempty"`

	// Original target
	Target string `json:"target,omitempty"`
}

APIScrapeTargetHealth ScrapeTargetHealth represents Prometheus scrape target health: unknown, down, or up. swagger:model apiScrapeTargetHealth

func (*APIScrapeTargetHealth) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*APIScrapeTargetHealth) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*APIScrapeTargetHealth) Validate added in v1.7.0

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

Validate validates this api scrape target health

type APIStaticConfig

type APIStaticConfig struct {

	// Labels assigned to all metrics scraped from the targets
	Labels []*APILabelPair `json:"labels"`

	// Hostnames or IPs followed by an optional port number: "1.2.3.4:9090"
	Targets []string `json:"targets"`
}

APIStaticConfig api static config swagger:model apiStaticConfig

func (*APIStaticConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*APIStaticConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIStaticConfig) Validate

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

Validate validates this api static config

type APITLSConfig

type APITLSConfig struct {

	// insecure skip verify
	InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"`
}

APITLSConfig api TLS config swagger:model apiTLSConfig

func (*APITLSConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*APITLSConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APITLSConfig) Validate

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

Validate validates this api TLS config

type ScrapeTargetHealthHealth added in v1.7.0

type ScrapeTargetHealthHealth string

ScrapeTargetHealthHealth Target health : unknown, down, or up. swagger:model ScrapeTargetHealthHealth

const (

	// ScrapeTargetHealthHealthUNKNOWN captures enum value "UNKNOWN"
	ScrapeTargetHealthHealthUNKNOWN ScrapeTargetHealthHealth = "UNKNOWN"

	// ScrapeTargetHealthHealthDOWN captures enum value "DOWN"
	ScrapeTargetHealthHealthDOWN ScrapeTargetHealthHealth = "DOWN"

	// ScrapeTargetHealthHealthUP captures enum value "UP"
	ScrapeTargetHealthHealthUP ScrapeTargetHealthHealth = "UP"
)

func (ScrapeTargetHealthHealth) Validate added in v1.7.0

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

Validate validates this scrape target health health

Jump to

Keyboard shortcuts

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