schema

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 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 APISummary

type APISummary struct {
	Message        string                      `json:"message"`
	ModelSignature map[string]FeatureSignature `json:"model_signature"`
}

type DeleteResponse

type DeleteResponse struct {
	Message string `json:"message"`
}

type DeployResponse

type DeployResponse struct {
	Results []DeployResult `json:"results"`
	BaseURL string         `json:"base_url"`
}

type DeployResult

type DeployResult struct {
	API     spec.API
	Message string
	Error   string
}

type ErrorResponse

type ErrorResponse struct {
	Kind    string `json:"kind"`
	Message string `json:"message"`
}

type FeatureSignature

type FeatureSignature struct {
	Shape []interface{} `json:"shape"`
	Type  string        `json:"type"`
}

type GetAPIResponse

type GetAPIResponse struct {
	API     spec.API        `json:"api"`
	Status  status.Status   `json:"status"`
	Metrics metrics.Metrics `json:"metrics"`
	BaseURL string          `json:"base_url"`
}

type GetAPIsResponse

type GetAPIsResponse struct {
	APIs       []spec.API        `json:"apis"`
	Statuses   []status.Status   `json:"statuses"`
	AllMetrics []metrics.Metrics `json:"all_metrics"`
	BaseURL    string            `json:"base_url"`
}

type InfoResponse

type InfoResponse struct {
	MaskedAWSAccessKeyID string                       `json:"masked_aws_access_key_id"`
	ClusterConfig        clusterconfig.InternalConfig `json:"cluster_config"`
}

type RefreshResponse

type RefreshResponse struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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