storage_models

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIStatusDetail

type APIStatusDetail interface {
	runtime.Validatable

	// at type
	// Required: true
	AtType() string
	SetAtType(string)
}

APIStatusDetail api status detail

swagger:discriminator apiStatusDetail @type

func UnmarshalAPIStatusDetail

func UnmarshalAPIStatusDetail(reader io.Reader, consumer runtime.Consumer) (APIStatusDetail, error)

UnmarshalAPIStatusDetail unmarshals polymorphic APIStatusDetail

func UnmarshalAPIStatusDetailSlice

func UnmarshalAPIStatusDetailSlice(reader io.Reader, consumer runtime.Consumer) ([]APIStatusDetail, error)

UnmarshalAPIStatusDetailSlice unmarshals polymorphic slices of APIStatusDetail

type DataMatrix

type DataMatrix struct {

	// A data point's value
	Results []*DataMatrixResult `json:"results"`
}

DataMatrix A set of time series containing a range of data points over time for each time series

swagger:model DataMatrix

func (*DataMatrix) MarshalBinary

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

MarshalBinary interface implementation

func (*DataMatrix) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataMatrix) Validate

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

Validate validates this data matrix

type DataMatrixResult

type DataMatrixResult struct {

	// The data points' labels
	Metric map[string]string `json:"metric,omitempty"`

	// Time series data point values
	Values []*DataValue `json:"values"`
}

DataMatrixResult Time series containing a range of data points over time for each time series

swagger:model DataMatrixResult

func (*DataMatrixResult) MarshalBinary

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

MarshalBinary interface implementation

func (*DataMatrixResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataMatrixResult) Validate

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

Validate validates this data matrix result

type DataValue

type DataValue struct {

	// The time that a data point was recorded
	UnixTime string `json:"unixTime,omitempty"`

	// A data point's value
	Value string `json:"value,omitempty"`
}

DataValue An individual metric data point

swagger:model DataValue

func (*DataValue) MarshalBinary

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

MarshalBinary interface implementation

func (*DataValue) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataValue) Validate

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

Validate validates this data value

type DataVector

type DataVector struct {

	// A data point's value
	Results []*DataVectorResult `json:"results"`
}

DataVector A set of time series containing a single sample for each time series, all sharing the same timestamp

swagger:model DataVector

func (*DataVector) MarshalBinary

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

MarshalBinary interface implementation

func (*DataVector) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataVector) Validate

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

Validate validates this data vector

type DataVectorResult

type DataVectorResult struct {

	// The data points' labels
	Metric map[string]string `json:"metric,omitempty"`

	// value
	Value *DataValue `json:"value,omitempty"`
}

DataVectorResult Time series containing a single sample for each time series, all sharing the same timestamp

swagger:model DataVectorResult

func (*DataVectorResult) MarshalBinary

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

MarshalBinary interface implementation

func (*DataVectorResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DataVectorResult) Validate

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

Validate validates this data vector result

type GetCredentialsResponseCredential

type GetCredentialsResponseCredential struct {

	// The ID for the access key
	AccessKey string `json:"accessKey,omitempty"`
}

GetCredentialsResponseCredential Storage credentials for a user

swagger:model GetCredentialsResponseCredential

func (*GetCredentialsResponseCredential) MarshalBinary

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

MarshalBinary interface implementation

func (*GetCredentialsResponseCredential) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetCredentialsResponseCredential) Validate

Validate validates this get credentials response credential

type MetricsData

type MetricsData struct {

	// matrix
	Matrix *DataMatrix `json:"matrix,omitempty"`

	// vector
	Vector *DataVector `json:"vector,omitempty"`
}

MetricsData The data points in a metrics collection

swagger:model MetricsData

func (*MetricsData) MarshalBinary

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

MarshalBinary interface implementation

func (*MetricsData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MetricsData) Validate

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

Validate validates this metrics data

type PaginationPageInfo

type PaginationPageInfo struct {

	// The cursor for the last item in the set of data returned
	EndCursor string `json:"endCursor,omitempty"`

	// Whether or not another page of data is available
	HasNextPage bool `json:"hasNextPage,omitempty"`

	// Whether or not a previous page of data exists
	HasPreviousPage bool `json:"hasPreviousPage,omitempty"`

	// The cursor for the first item in the set of data returned
	StartCursor string `json:"startCursor,omitempty"`

	// The total number of items in the dataset
	TotalCount string `json:"totalCount,omitempty"`
}

PaginationPageInfo Information about a paginated response

This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.

swagger:model paginationPageInfo

func (*PaginationPageInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*PaginationPageInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PaginationPageInfo) Validate

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

Validate validates this pagination page info

type PaginationPageRequest

type PaginationPageRequest struct {

	// The cursor value after which data will be returned
	After string `json:"after,omitempty"`

	// SQL-style constraint filters
	Filter string `json:"filter,omitempty"`

	// The number of items desired
	First string `json:"first,omitempty"`

	// Sort the response by the given field
	SortBy string `json:"sortBy,omitempty"`
}

PaginationPageRequest Pagination request information

This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.

swagger:model paginationPageRequest

func (*PaginationPageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*PaginationPageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PaginationPageRequest) Validate

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

Validate validates this pagination page request

type PrometheusMetrics

type PrometheusMetrics struct {

	// data
	Data *MetricsData `json:"data,omitempty"`

	// The error encountered when querying for metrics
	Error string `json:"error,omitempty"`

	// The type of error encountered when querying for metrics
	ErrorType string `json:"errorType,omitempty"`

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

	// Warnings encountered when querying for metrics
	Warnings []string `json:"warnings"`
}

PrometheusMetrics A collection of metrics

swagger:model prometheusMetrics

func (*PrometheusMetrics) MarshalBinary

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

MarshalBinary interface implementation

func (*PrometheusMetrics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PrometheusMetrics) Validate

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

Validate validates this prometheus metrics

type PrometheusMetricsStatus

type PrometheusMetricsStatus string

PrometheusMetricsStatus A metrics query's resulting status

swagger:model prometheusMetricsStatus

const (

	// PrometheusMetricsStatusSUCCESS captures enum value "SUCCESS"
	PrometheusMetricsStatusSUCCESS PrometheusMetricsStatus = "SUCCESS"

	// PrometheusMetricsStatusERROR captures enum value "ERROR"
	PrometheusMetricsStatusERROR PrometheusMetricsStatus = "ERROR"
)

func (PrometheusMetricsStatus) Validate

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

Validate validates this prometheus metrics status

type StackpathRPCBadRequest

type StackpathRPCBadRequest struct {

	// field violations
	FieldViolations []*StackpathRPCBadRequestFieldViolation `json:"fieldViolations"`
}

StackpathRPCBadRequest stackpath rpc bad request

swagger:model stackpath.rpc.BadRequest

func (*StackpathRPCBadRequest) AtType

func (m *StackpathRPCBadRequest) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCBadRequest) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCBadRequest) MarshalJSON

func (m StackpathRPCBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCBadRequest) SetAtType

func (m *StackpathRPCBadRequest) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCBadRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCBadRequest) UnmarshalJSON

func (m *StackpathRPCBadRequest) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCBadRequest) Validate

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

Validate validates this stackpath rpc bad request

type StackpathRPCBadRequestFieldViolation

type StackpathRPCBadRequestFieldViolation struct {

	// description
	Description string `json:"description,omitempty"`

	// field
	Field string `json:"field,omitempty"`
}

StackpathRPCBadRequestFieldViolation stackpath rpc bad request field violation

swagger:model stackpath.rpc.BadRequest.FieldViolation

func (*StackpathRPCBadRequestFieldViolation) MarshalBinary

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

MarshalBinary interface implementation

func (*StackpathRPCBadRequestFieldViolation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCBadRequestFieldViolation) Validate

Validate validates this stackpath rpc bad request field violation

type StackpathRPCHelp

type StackpathRPCHelp struct {

	// links
	Links []*StackpathRPCHelpLink `json:"links"`
}

StackpathRPCHelp stackpath rpc help

swagger:model stackpath.rpc.Help

func (*StackpathRPCHelp) AtType

func (m *StackpathRPCHelp) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCHelp) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCHelp) MarshalJSON

func (m StackpathRPCHelp) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCHelp) SetAtType

func (m *StackpathRPCHelp) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCHelp) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCHelp) UnmarshalJSON

func (m *StackpathRPCHelp) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCHelp) Validate

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

Validate validates this stackpath rpc help

type StackpathRPCHelpLink struct {

	// description
	Description string `json:"description,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

StackpathRPCHelpLink stackpath rpc help link

swagger:model stackpath.rpc.Help.Link

func (*StackpathRPCHelpLink) MarshalBinary

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

MarshalBinary interface implementation

func (*StackpathRPCHelpLink) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCHelpLink) Validate

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

Validate validates this stackpath rpc help link

type StackpathRPCLocalizedMessage

type StackpathRPCLocalizedMessage struct {

	// locale
	Locale string `json:"locale,omitempty"`

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

StackpathRPCLocalizedMessage stackpath rpc localized message

swagger:model stackpath.rpc.LocalizedMessage

func (*StackpathRPCLocalizedMessage) AtType

AtType gets the at type of this subtype

func (*StackpathRPCLocalizedMessage) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCLocalizedMessage) MarshalJSON

func (m StackpathRPCLocalizedMessage) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCLocalizedMessage) SetAtType

func (m *StackpathRPCLocalizedMessage) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCLocalizedMessage) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCLocalizedMessage) UnmarshalJSON

func (m *StackpathRPCLocalizedMessage) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCLocalizedMessage) Validate

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

Validate validates this stackpath rpc localized message

type StackpathRPCPreconditionFailure

type StackpathRPCPreconditionFailure struct {

	// violations
	Violations []*StackpathRPCPreconditionFailureViolation `json:"violations"`
}

StackpathRPCPreconditionFailure stackpath rpc precondition failure

swagger:model stackpath.rpc.PreconditionFailure

func (*StackpathRPCPreconditionFailure) AtType

AtType gets the at type of this subtype

func (*StackpathRPCPreconditionFailure) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCPreconditionFailure) MarshalJSON

func (m StackpathRPCPreconditionFailure) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCPreconditionFailure) SetAtType

func (m *StackpathRPCPreconditionFailure) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCPreconditionFailure) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCPreconditionFailure) UnmarshalJSON

func (m *StackpathRPCPreconditionFailure) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCPreconditionFailure) Validate

Validate validates this stackpath rpc precondition failure

type StackpathRPCPreconditionFailureViolation

type StackpathRPCPreconditionFailureViolation struct {

	// description
	Description string `json:"description,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

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

StackpathRPCPreconditionFailureViolation stackpath rpc precondition failure violation

swagger:model stackpath.rpc.PreconditionFailure.Violation

func (*StackpathRPCPreconditionFailureViolation) MarshalBinary

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

MarshalBinary interface implementation

func (*StackpathRPCPreconditionFailureViolation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCPreconditionFailureViolation) Validate

Validate validates this stackpath rpc precondition failure violation

type StackpathRPCQuotaFailure

type StackpathRPCQuotaFailure struct {

	// violations
	Violations []*StackpathRPCQuotaFailureViolation `json:"violations"`
}

StackpathRPCQuotaFailure stackpath rpc quota failure

swagger:model stackpath.rpc.QuotaFailure

func (*StackpathRPCQuotaFailure) AtType

func (m *StackpathRPCQuotaFailure) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCQuotaFailure) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCQuotaFailure) MarshalJSON

func (m StackpathRPCQuotaFailure) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCQuotaFailure) SetAtType

func (m *StackpathRPCQuotaFailure) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCQuotaFailure) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCQuotaFailure) UnmarshalJSON

func (m *StackpathRPCQuotaFailure) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCQuotaFailure) Validate

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

Validate validates this stackpath rpc quota failure

type StackpathRPCQuotaFailureViolation

type StackpathRPCQuotaFailureViolation struct {

	// description
	Description string `json:"description,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`
}

StackpathRPCQuotaFailureViolation stackpath rpc quota failure violation

swagger:model stackpath.rpc.QuotaFailure.Violation

func (*StackpathRPCQuotaFailureViolation) MarshalBinary

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

MarshalBinary interface implementation

func (*StackpathRPCQuotaFailureViolation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCQuotaFailureViolation) Validate

Validate validates this stackpath rpc quota failure violation

type StackpathRPCRequestInfo

type StackpathRPCRequestInfo struct {

	// request Id
	RequestID string `json:"requestId,omitempty"`

	// serving data
	ServingData string `json:"servingData,omitempty"`
}

StackpathRPCRequestInfo stackpath rpc request info

swagger:model stackpath.rpc.RequestInfo

func (*StackpathRPCRequestInfo) AtType

func (m *StackpathRPCRequestInfo) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCRequestInfo) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCRequestInfo) MarshalJSON

func (m StackpathRPCRequestInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCRequestInfo) SetAtType

func (m *StackpathRPCRequestInfo) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCRequestInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCRequestInfo) UnmarshalJSON

func (m *StackpathRPCRequestInfo) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCRequestInfo) Validate

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

Validate validates this stackpath rpc request info

type StackpathRPCResourceInfo

type StackpathRPCResourceInfo struct {

	// description
	Description string `json:"description,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// resource name
	ResourceName string `json:"resourceName,omitempty"`

	// resource type
	ResourceType string `json:"resourceType,omitempty"`
}

StackpathRPCResourceInfo stackpath rpc resource info

swagger:model stackpath.rpc.ResourceInfo

func (*StackpathRPCResourceInfo) AtType

func (m *StackpathRPCResourceInfo) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCResourceInfo) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCResourceInfo) MarshalJSON

func (m StackpathRPCResourceInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCResourceInfo) SetAtType

func (m *StackpathRPCResourceInfo) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCResourceInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCResourceInfo) UnmarshalJSON

func (m *StackpathRPCResourceInfo) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCResourceInfo) Validate

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

Validate validates this stackpath rpc resource info

type StackpathRPCRetryInfo

type StackpathRPCRetryInfo struct {

	// retry delay
	RetryDelay string `json:"retryDelay,omitempty"`
}

StackpathRPCRetryInfo stackpath rpc retry info

swagger:model stackpath.rpc.RetryInfo

func (*StackpathRPCRetryInfo) AtType

func (m *StackpathRPCRetryInfo) AtType() string

AtType gets the at type of this subtype

func (*StackpathRPCRetryInfo) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathRPCRetryInfo) MarshalJSON

func (m StackpathRPCRetryInfo) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathRPCRetryInfo) SetAtType

func (m *StackpathRPCRetryInfo) SetAtType(val string)

SetAtType sets the at type of this subtype

func (*StackpathRPCRetryInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathRPCRetryInfo) UnmarshalJSON

func (m *StackpathRPCRetryInfo) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathRPCRetryInfo) Validate

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

Validate validates this stackpath rpc retry info

type StackpathapiStatus

type StackpathapiStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
	// contains filtered or unexported fields
}

StackpathapiStatus stackpathapi status

swagger:model stackpathapiStatus

func (*StackpathapiStatus) Details

func (m *StackpathapiStatus) Details() []APIStatusDetail

Details gets the details of this base type

func (*StackpathapiStatus) MarshalBinary

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

MarshalBinary interface implementation

func (StackpathapiStatus) MarshalJSON

func (m StackpathapiStatus) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*StackpathapiStatus) SetDetails

func (m *StackpathapiStatus) SetDetails(val []APIStatusDetail)

SetDetails sets the details of this base type

func (*StackpathapiStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StackpathapiStatus) UnmarshalJSON

func (m *StackpathapiStatus) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*StackpathapiStatus) Validate

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

Validate validates this stackpathapi status

type StorageBucket

type StorageBucket struct {

	// The date when the bucket was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The URL used to access the bucket
	EndpointURL string `json:"endpointUrl,omitempty"`

	// The ID for the bucket
	ID string `json:"id,omitempty"`

	// The name of the bucket
	Label string `json:"label,omitempty"`

	// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
	Region string `json:"region,omitempty"`

	// The date when the bucket was last updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`

	// visibility
	Visibility StorageBucketVisibility `json:"visibility,omitempty"`
}

StorageBucket storage bucket

swagger:model storageBucket

func (*StorageBucket) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageBucket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageBucket) Validate

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

Validate validates this storage bucket

type StorageBucketVisibility

type StorageBucketVisibility string

StorageBucketVisibility - PRIVATE: The bucket is private and only accessibly with credentials

  • PUBLIC: The bucket is public and accessible over the internet

swagger:model storageBucketVisibility

const (

	// StorageBucketVisibilityPRIVATE captures enum value "PRIVATE"
	StorageBucketVisibilityPRIVATE StorageBucketVisibility = "PRIVATE"

	// StorageBucketVisibilityPUBLIC captures enum value "PUBLIC"
	StorageBucketVisibilityPUBLIC StorageBucketVisibility = "PUBLIC"
)

func (StorageBucketVisibility) Validate

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

Validate validates this storage bucket visibility

type StorageCreateBucketRequest

type StorageCreateBucketRequest struct {

	// The name of the bucket to be created
	Label string `json:"label,omitempty"`

	// The region where to create the bucket, defaults to us-east-1
	Region string `json:"region,omitempty"`
}

StorageCreateBucketRequest storage create bucket request

swagger:model storageCreateBucketRequest

func (*StorageCreateBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageCreateBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageCreateBucketRequest) Validate

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

Validate validates this storage create bucket request

type StorageCreateBucketResponse

type StorageCreateBucketResponse struct {

	// bucket
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageCreateBucketResponse The bucket created

swagger:model storageCreateBucketResponse

func (*StorageCreateBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageCreateBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageCreateBucketResponse) Validate

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

Validate validates this storage create bucket response

type StorageGenerateCredentialsResponse

type StorageGenerateCredentialsResponse struct {

	// The ID for the access key
	AccessKey string `json:"accessKey,omitempty"`

	// The secret key used to sign requests
	SecretKey string `json:"secretKey,omitempty"`
}

StorageGenerateCredentialsResponse A response with new credentials

swagger:model storageGenerateCredentialsResponse

func (*StorageGenerateCredentialsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageGenerateCredentialsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageGenerateCredentialsResponse) Validate

Validate validates this storage generate credentials response

type StorageGetBucketResponse

type StorageGetBucketResponse struct {

	// bucket
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageGetBucketResponse The bucket for the given stack

swagger:model storageGetBucketResponse

func (*StorageGetBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageGetBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageGetBucketResponse) Validate

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

Validate validates this storage get bucket response

type StorageGetBucketsResponse

type StorageGetBucketsResponse struct {

	// page info
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`

	// The requested buckets
	Results []*StorageBucket `json:"results"`
}

StorageGetBucketsResponse The buckets for the given stack

swagger:model storageGetBucketsResponse

func (*StorageGetBucketsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageGetBucketsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageGetBucketsResponse) Validate

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

Validate validates this storage get buckets response

type StorageGetCredentialsResponse

type StorageGetCredentialsResponse struct {

	// The list of active credentials on account
	Credentials []*GetCredentialsResponseCredential `json:"credentials"`
}

StorageGetCredentialsResponse A response with new credentials

swagger:model storageGetCredentialsResponse

func (*StorageGetCredentialsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageGetCredentialsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageGetCredentialsResponse) Validate

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

Validate validates this storage get credentials response

type StorageUpdateBucketRequest

type StorageUpdateBucketRequest struct {

	// visibility
	Visibility StorageBucketVisibility `json:"visibility,omitempty"`
}

StorageUpdateBucketRequest storage update bucket request

swagger:model storageUpdateBucketRequest

func (*StorageUpdateBucketRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageUpdateBucketRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageUpdateBucketRequest) Validate

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

Validate validates this storage update bucket request

type StorageUpdateBucketResponse

type StorageUpdateBucketResponse struct {

	// bucket
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageUpdateBucketResponse A response of the updated bucket

swagger:model storageUpdateBucketResponse

func (*StorageUpdateBucketResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageUpdateBucketResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageUpdateBucketResponse) Validate

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

Validate validates this storage update bucket response

Jump to

Keyboard shortcuts

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