models

package
v0.0.0-...-f194855 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyDescription

type APIKeyDescription struct {

	// time the key was created expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC.
	CreateTime string `json:"createTime,omitempty"`

	// a description of the API key
	Description string `json:"description,omitempty"`

	// time the key should expire expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC. A value of 0 indicates the key should never expire.
	ExpireTime string `json:"expireTime,omitempty"`

	// the id of the API key
	KeyID string `json:"keyId,omitempty"`

	// time the key was last uzed expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC. A value of 0 indicates the key was never used.
	LastUsed string `json:"lastUsed,omitempty"`

	// the name of the API key
	Name string `json:"name,omitempty"`
}

APIKeyDescription Api key description

swagger:model ApiKeyDescription

func (*APIKeyDescription) ContextValidate

func (m *APIKeyDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key description based on context it is used

func (*APIKeyDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*APIKeyDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*APIKeyDescription) Validate

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

Validate validates this Api key description

type CreateAPIKeyReply

type CreateAPIKeyReply struct {

	// the content of the created key to be saved locally
	KeyData string `json:"keyData,omitempty"`

	// the id of the created key
	KeyID string `json:"keyId,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

CreateAPIKeyReply create Api key reply

swagger:model CreateApiKeyReply

func (*CreateAPIKeyReply) ContextValidate

func (m *CreateAPIKeyReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api key reply based on the context it is used

func (*CreateAPIKeyReply) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateAPIKeyReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateAPIKeyReply) Validate

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

Validate validates this create Api key reply

type CreateAPIKeyRequest

type CreateAPIKeyRequest struct {

	// a description of the API key
	Description string `json:"description,omitempty"`

	// time the key should expire expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC. A value of 0 indicates the key should never expire.
	ExpireTime string `json:"expireTime,omitempty"`

	// the name of the API key
	Name string `json:"name,omitempty"`
}

CreateAPIKeyRequest create Api key request

swagger:model CreateApiKeyRequest

func (*CreateAPIKeyRequest) ContextValidate

func (m *CreateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api key request based on context it is used

func (*CreateAPIKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateAPIKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateAPIKeyRequest) Validate

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

Validate validates this create Api key request

type CreateDeploymentReply

type CreateDeploymentReply struct {

	// a unique identifier associated with this deployment
	ID string `json:"id,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

CreateDeploymentReply create deployment reply

swagger:model CreateDeploymentReply

func (*CreateDeploymentReply) ContextValidate

func (m *CreateDeploymentReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create deployment reply based on the context it is used

func (*CreateDeploymentReply) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateDeploymentReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateDeploymentReply) Validate

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

Validate validates this create deployment reply

type CreateDeploymentRequest

type CreateDeploymentRequest struct {

	// deployment header
	Header *DeploymentHeader `json:"header,omitempty"`
}

CreateDeploymentRequest create deployment request

swagger:model CreateDeploymentRequest

func (*CreateDeploymentRequest) ContextValidate

func (m *CreateDeploymentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create deployment request based on the context it is used

func (*CreateDeploymentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateDeploymentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateDeploymentRequest) Validate

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

Validate validates this create deployment request

type CreateEnvironmentReply

type CreateEnvironmentReply struct {

	// a unique identifier associated with this environment
	ID string `json:"id,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

CreateEnvironmentReply create environment reply

swagger:model CreateEnvironmentReply

func (*CreateEnvironmentReply) ContextValidate

func (m *CreateEnvironmentReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create environment reply based on the context it is used

func (*CreateEnvironmentReply) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateEnvironmentReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateEnvironmentReply) Validate

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

Validate validates this create environment reply

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {

	// the environment header
	Header *EnvironmentHeader `json:"header,omitempty"`
}

CreateEnvironmentRequest create environment request

swagger:model CreateEnvironmentRequest

func (*CreateEnvironmentRequest) ContextValidate

func (m *CreateEnvironmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create environment request based on the context it is used

func (*CreateEnvironmentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateEnvironmentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateEnvironmentRequest) Validate

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

Validate validates this create environment request

type CreateProjectReply

type CreateProjectReply struct {

	// a unique identifier associated with this project
	ID string `json:"id,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

CreateProjectReply create project reply

swagger:model CreateProjectReply

func (*CreateProjectReply) ContextValidate

func (m *CreateProjectReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create project reply based on the context it is used

func (*CreateProjectReply) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateProjectReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateProjectReply) Validate

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

Validate validates this create project reply

type CreateProjectRequest

type CreateProjectRequest struct {

	// project header
	Header *ProjectHeader `json:"header,omitempty"`
}

CreateProjectRequest create project request

swagger:model CreateProjectRequest

func (*CreateProjectRequest) ContextValidate

func (m *CreateProjectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create project request based on the context it is used

func (*CreateProjectRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateProjectRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateProjectRequest) Validate

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

Validate validates this create project request

type DatabaseDescription

type DatabaseDescription struct {

	// database header
	DatabaseHeader *DatabaseHeader `json:"databaseHeader,omitempty"`

	// a list of services allowed to access this database
	ServiceNames []string `json:"serviceNames"`

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

DatabaseDescription database description

swagger:model DatabaseDescription

func (*DatabaseDescription) ContextValidate

func (m *DatabaseDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this database description based on the context it is used

func (*DatabaseDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDescription) Validate

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

Validate validates this database description

type DatabaseHeader

type DatabaseHeader struct {

	// a unique service name within the project
	DatabaseName string `json:"databaseName,omitempty"`

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`
}

DatabaseHeader database header

swagger:model DatabaseHeader

func (*DatabaseHeader) ContextValidate

func (m *DatabaseHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this database header based on the context it is used

func (*DatabaseHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseHeader) Validate

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

Validate validates this database header

type DatabaseTableDescription

type DatabaseTableDescription struct {

	// name of the database table
	Name string `json:"Name,omitempty"`

	// number of rows in the table
	NumRows string `json:"NumRows,omitempty"`

	// table size in bytes
	Size string `json:"Size,omitempty"`

	// list of services within the project which can access this database
	ServiceNames []string `json:"serviceNames"`
}

DatabaseTableDescription database table description

swagger:model DatabaseTableDescription

func (*DatabaseTableDescription) ContextValidate

func (m *DatabaseTableDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this database table description based on context it is used

func (*DatabaseTableDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseTableDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseTableDescription) Validate

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

Validate validates this database table description

type DatastoreDescription

type DatastoreDescription struct {

	// amount of utilized capacity
	CapacityConsumedInBytes string `json:"capacityConsumedInBytes,omitempty"`

	// datastore header
	DatastoreHeader *DatastoreHeader `json:"datastoreHeader,omitempty"`

	// number of store objects
	NumObjects string `json:"numObjects,omitempty"`

	// list of services within the project which can access this database
	ServiceNames []string `json:"serviceNames"`
}

DatastoreDescription datastore description

swagger:model DatastoreDescription

func (*DatastoreDescription) ContextValidate

func (m *DatastoreDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore description based on the context it is used

func (*DatastoreDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*DatastoreDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatastoreDescription) Validate

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

Validate validates this datastore description

type DatastoreHeader

type DatastoreHeader struct {

	// a unique service name within the project
	DatastoreName string `json:"datastoreName,omitempty"`

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`
}

DatastoreHeader datastore header

swagger:model DatastoreHeader

func (*DatastoreHeader) ContextValidate

func (m *DatastoreHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore header based on the context it is used

func (*DatastoreHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*DatastoreHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatastoreHeader) Validate

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

Validate validates this datastore header

type DeactivateProjectReply

type DeactivateProjectReply struct {

	// the deployment id created in order to perform the deactivation
	DeployID string `json:"deployId,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DeactivateProjectReply deactivate project reply

swagger:model DeactivateProjectReply

func (*DeactivateProjectReply) ContextValidate

func (m *DeactivateProjectReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deactivate project reply based on the context it is used

func (*DeactivateProjectReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeactivateProjectReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeactivateProjectReply) Validate

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

Validate validates this deactivate project reply

type DeactivateProjectRequest

type DeactivateProjectRequest struct {

	// the project & environment id to deactivate
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`
}

DeactivateProjectRequest deactivate project request

swagger:model DeactivateProjectRequest

func (*DeactivateProjectRequest) ContextValidate

func (m *DeactivateProjectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deactivate project request based on the context it is used

func (*DeactivateProjectRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeactivateProjectRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeactivateProjectRequest) Validate

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

Validate validates this deactivate project request

type DeleteAPIKeyReply

type DeleteAPIKeyReply struct {

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DeleteAPIKeyReply delete Api key reply

swagger:model DeleteApiKeyReply

func (*DeleteAPIKeyReply) ContextValidate

func (m *DeleteAPIKeyReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete Api key reply based on the context it is used

func (*DeleteAPIKeyReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAPIKeyReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAPIKeyReply) Validate

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

Validate validates this delete Api key reply

type DeleteAPIKeyRequest

type DeleteAPIKeyRequest struct {

	// the id of the api key to delete
	KeyID string `json:"keyId,omitempty"`
}

DeleteAPIKeyRequest delete Api key request

swagger:model DeleteApiKeyRequest

func (*DeleteAPIKeyRequest) ContextValidate

func (m *DeleteAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api key request based on context it is used

func (*DeleteAPIKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteAPIKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteAPIKeyRequest) Validate

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

Validate validates this delete Api key request

type DeleteEnvironmentReply

type DeleteEnvironmentReply struct {

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DeleteEnvironmentReply delete environment reply

swagger:model DeleteEnvironmentReply

func (*DeleteEnvironmentReply) ContextValidate

func (m *DeleteEnvironmentReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete environment reply based on the context it is used

func (*DeleteEnvironmentReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteEnvironmentReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteEnvironmentReply) Validate

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

Validate validates this delete environment reply

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {

	// a unique identifier associated with this environment
	ID string `json:"id,omitempty"`
}

DeleteEnvironmentRequest delete environment request

swagger:model DeleteEnvironmentRequest

func (*DeleteEnvironmentRequest) ContextValidate

func (m *DeleteEnvironmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete environment request based on context it is used

func (*DeleteEnvironmentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteEnvironmentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteEnvironmentRequest) Validate

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

Validate validates this delete environment request

type DeletePackageReply

type DeletePackageReply struct {

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`

	// state
	State *PackageState `json:"state,omitempty"`
}

DeletePackageReply delete package reply

swagger:model DeletePackageReply

func (*DeletePackageReply) ContextValidate

func (m *DeletePackageReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete package reply based on the context it is used

func (*DeletePackageReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeletePackageReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeletePackageReply) Validate

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

Validate validates this delete package reply

type DeletePackageRequest

type DeletePackageRequest struct {

	// package Id
	PackageID string `json:"packageId,omitempty"`
}

DeletePackageRequest delete package request

swagger:model DeletePackageRequest

func (*DeletePackageRequest) ContextValidate

func (m *DeletePackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete package request based on context it is used

func (*DeletePackageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeletePackageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeletePackageRequest) Validate

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

Validate validates this delete package request

type DeleteProjectReply

type DeleteProjectReply struct {

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DeleteProjectReply delete project reply

swagger:model DeleteProjectReply

func (*DeleteProjectReply) ContextValidate

func (m *DeleteProjectReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete project reply based on the context it is used

func (*DeleteProjectReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteProjectReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteProjectReply) Validate

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

Validate validates this delete project reply

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// a unique identifier associated with this project
	ID string `json:"id,omitempty"`
}

DeleteProjectRequest delete project request

swagger:model DeleteProjectRequest

func (*DeleteProjectRequest) ContextValidate

func (m *DeleteProjectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete project request based on context it is used

func (*DeleteProjectRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteProjectRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteProjectRequest) Validate

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

Validate validates this delete project request

type DeploymentDescription

type DeploymentDescription struct {

	// time the package build began expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	BuildStartTime string `json:"buildStartTime,omitempty"`

	// time the deployment was created expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	CreateTime string `json:"createTime,omitempty"`

	// time the environment deployment began expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	DeployStartTime string `json:"deployStartTime,omitempty"`

	// time the deployment completed
	EndTime string `json:"endTime,omitempty"`

	// deployment header
	Header *DeploymentHeader `json:"header,omitempty"`

	// a unique identifier associated with this deployment
	ID string `json:"id,omitempty"`

	// the deployment's state
	State *DeploymentState `json:"state,omitempty"`

	// additional detail regarding the deployment's state
	StateDetail *DeploymentStateDetail `json:"stateDetail,omitempty"`

	// time the package validation began expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	ValidationStartTime string `json:"validationStartTime,omitempty"`
}

DeploymentDescription deployment description

swagger:model DeploymentDescription

func (*DeploymentDescription) ContextValidate

func (m *DeploymentDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment description based on the context it is used

func (*DeploymentDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*DeploymentDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeploymentDescription) Validate

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

Validate validates this deployment description

type DeploymentHeader

type DeploymentHeader struct {

	// the environment id associated with this deployment
	EnvID string `json:"envId,omitempty"`

	// the initiator of the deployment
	Initiator *DeploymentInitiator `json:"initiator,omitempty"`

	// the package id associated with this deployment
	PkgID string `json:"pkgId,omitempty"`

	// the project id associated with this deployment
	ProjID string `json:"projId,omitempty"`

	// optional additional information regarding the reason for the deployment
	Reason string `json:"reason,omitempty"`

	// the type of the deployment
	Type *DeploymentType `json:"type,omitempty"`
}

DeploymentHeader deployment header

swagger:model DeploymentHeader

func (*DeploymentHeader) ContextValidate

func (m *DeploymentHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment header based on the context it is used

func (*DeploymentHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*DeploymentHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeploymentHeader) Validate

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

Validate validates this deployment header

type DeploymentInitiator

type DeploymentInitiator string

DeploymentInitiator - INVALID_DEPLOY_INIT: unused

  • CUSTOMER: the customer initiated the deployment
  • SERVICE: Bopmatic initiated the deployment
  • UNKNOWN_DEPLOY_INIT: MAX_INT

swagger:model DeploymentInitiator

const (

	// DeploymentInitiatorINVALIDDEPLOYINIT captures enum value "INVALID_DEPLOY_INIT"
	DeploymentInitiatorINVALIDDEPLOYINIT DeploymentInitiator = "INVALID_DEPLOY_INIT"

	// DeploymentInitiatorCUSTOMER captures enum value "CUSTOMER"
	DeploymentInitiatorCUSTOMER DeploymentInitiator = "CUSTOMER"

	// DeploymentInitiatorSERVICE captures enum value "SERVICE"
	DeploymentInitiatorSERVICE DeploymentInitiator = "SERVICE"

	// DeploymentInitiatorUNKNOWNDEPLOYINIT captures enum value "UNKNOWN_DEPLOY_INIT"
	DeploymentInitiatorUNKNOWNDEPLOYINIT DeploymentInitiator = "UNKNOWN_DEPLOY_INIT"
)

func NewDeploymentInitiator

func NewDeploymentInitiator(value DeploymentInitiator) *DeploymentInitiator

func (DeploymentInitiator) ContextValidate

func (m DeploymentInitiator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment initiator based on context it is used

func (DeploymentInitiator) Pointer

Pointer returns a pointer to a freshly-allocated DeploymentInitiator.

func (DeploymentInitiator) Validate

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

Validate validates this deployment initiator

type DeploymentState

type DeploymentState string

DeploymentState - INVALID_DEPLOY_STATE: unused

  • CREATED: the deployment has been created, but no action has yet been taken
  • DPLY_VALIDATING: the package associated with the deployment is in the process of being
  • DPLY_BUILDING: validated

the package associated with the deployment passed validation and is in

  • DEPLOYING: the process of being compiled

the package associated with the deployment compiled successfully and is

  • SUCCESS: in the process of being deployed to the environment specified

the deployment was successful and the package associated with the

  • FAILED: deployment is now active in the environment specified

the deployment failed; see DeploymentDescription.stateDetail for further

  • UNKNOWN_DEPLOY_STATE: MAX_INT

swagger:model DeploymentState

const (

	// DeploymentStateINVALIDDEPLOYSTATE captures enum value "INVALID_DEPLOY_STATE"
	DeploymentStateINVALIDDEPLOYSTATE DeploymentState = "INVALID_DEPLOY_STATE"

	// DeploymentStateCREATED captures enum value "CREATED"
	DeploymentStateCREATED DeploymentState = "CREATED"

	// DeploymentStateDPLYVALIDATING captures enum value "DPLY_VALIDATING"
	DeploymentStateDPLYVALIDATING DeploymentState = "DPLY_VALIDATING"

	// DeploymentStateDPLYBUILDING captures enum value "DPLY_BUILDING"
	DeploymentStateDPLYBUILDING DeploymentState = "DPLY_BUILDING"

	// DeploymentStateDEPLOYING captures enum value "DEPLOYING"
	DeploymentStateDEPLOYING DeploymentState = "DEPLOYING"

	// DeploymentStateSUCCESS captures enum value "SUCCESS"
	DeploymentStateSUCCESS DeploymentState = "SUCCESS"

	// DeploymentStateFAILED captures enum value "FAILED"
	DeploymentStateFAILED DeploymentState = "FAILED"

	// DeploymentStateUNKNOWNDEPLOYSTATE captures enum value "UNKNOWN_DEPLOY_STATE"
	DeploymentStateUNKNOWNDEPLOYSTATE DeploymentState = "UNKNOWN_DEPLOY_STATE"
)

func NewDeploymentState

func NewDeploymentState(value DeploymentState) *DeploymentState

func (DeploymentState) ContextValidate

func (m DeploymentState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment state based on context it is used

func (DeploymentState) Pointer

func (m DeploymentState) Pointer() *DeploymentState

Pointer returns a pointer to a freshly-allocated DeploymentState.

func (DeploymentState) Validate

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

Validate validates this deployment state

type DeploymentStateDetail

type DeploymentStateDetail string

DeploymentStateDetail - PKG_INVALID: the package associated with the deployment failed validation checks and

  • BLD_INVALID: cannot be deployed

the package associated with the deployment failed to compile

  • DPLY_SUPPORT_NEEDED: the deployment failed for an unknown reason; Bopmatic support
  • UNKNOWN_DEPLOY_STATE_DET: MAX_INT

swagger:model DeploymentStateDetail

const (

	// DeploymentStateDetailINVALIDDEPLOYSTATEDET captures enum value "INVALID_DEPLOY_STATE_DET"
	DeploymentStateDetailINVALIDDEPLOYSTATEDET DeploymentStateDetail = "INVALID_DEPLOY_STATE_DET"

	// DeploymentStateDetailNONE captures enum value "NONE"
	DeploymentStateDetailNONE DeploymentStateDetail = "NONE"

	// DeploymentStateDetailPKGINVALID captures enum value "PKG_INVALID"
	DeploymentStateDetailPKGINVALID DeploymentStateDetail = "PKG_INVALID"

	// DeploymentStateDetailBLDINVALID captures enum value "BLD_INVALID"
	DeploymentStateDetailBLDINVALID DeploymentStateDetail = "BLD_INVALID"

	// DeploymentStateDetailDPLYSUPPORTNEEDED captures enum value "DPLY_SUPPORT_NEEDED"
	DeploymentStateDetailDPLYSUPPORTNEEDED DeploymentStateDetail = "DPLY_SUPPORT_NEEDED"

	// DeploymentStateDetailUNKNOWNDEPLOYSTATEDET captures enum value "UNKNOWN_DEPLOY_STATE_DET"
	DeploymentStateDetailUNKNOWNDEPLOYSTATEDET DeploymentStateDetail = "UNKNOWN_DEPLOY_STATE_DET"
)

func NewDeploymentStateDetail

func NewDeploymentStateDetail(value DeploymentStateDetail) *DeploymentStateDetail

func (DeploymentStateDetail) ContextValidate

func (m DeploymentStateDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment state detail based on context it is used

func (DeploymentStateDetail) Pointer

Pointer returns a pointer to a freshly-allocated DeploymentStateDetail.

func (DeploymentStateDetail) Validate

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

Validate validates this deployment state detail

type DeploymentType

type DeploymentType string

DeploymentType - INVALID_DEPLOY_TYPE: unused

  • NEW_PACKAGE: the deployment was created in order to deploy a new package to
  • ENV_TEARDOWN: the environment (customer initiated)

the deployment was created in order to remove the project from

  • SECURITY_UPDATE: the environment (customer initiated)

the deployment was created in order to perform a security update

  • INF_UPDATE: on the backend infrastructure (service initiated)

the deployment was created in order to perform a non-security related

  • UNKNOWN_DEPLOY_TYPE: MAX_INT

swagger:model DeploymentType

const (

	// DeploymentTypeINVALIDDEPLOYTYPE captures enum value "INVALID_DEPLOY_TYPE"
	DeploymentTypeINVALIDDEPLOYTYPE DeploymentType = "INVALID_DEPLOY_TYPE"

	// DeploymentTypeNEWPACKAGE captures enum value "NEW_PACKAGE"
	DeploymentTypeNEWPACKAGE DeploymentType = "NEW_PACKAGE"

	// DeploymentTypeENVTEARDOWN captures enum value "ENV_TEARDOWN"
	DeploymentTypeENVTEARDOWN DeploymentType = "ENV_TEARDOWN"

	// DeploymentTypeSECURITYUPDATE captures enum value "SECURITY_UPDATE"
	DeploymentTypeSECURITYUPDATE DeploymentType = "SECURITY_UPDATE"

	// DeploymentTypeINFUPDATE captures enum value "INF_UPDATE"
	DeploymentTypeINFUPDATE DeploymentType = "INF_UPDATE"

	// DeploymentTypeUNKNOWNDEPLOYTYPE captures enum value "UNKNOWN_DEPLOY_TYPE"
	DeploymentTypeUNKNOWNDEPLOYTYPE DeploymentType = "UNKNOWN_DEPLOY_TYPE"
)

func NewDeploymentType

func NewDeploymentType(value DeploymentType) *DeploymentType

func (DeploymentType) ContextValidate

func (m DeploymentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment type based on context it is used

func (DeploymentType) Pointer

func (m DeploymentType) Pointer() *DeploymentType

Pointer returns a pointer to a freshly-allocated DeploymentType.

func (DeploymentType) Validate

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

Validate validates this deployment type

type DescribeAPIKeyReply

type DescribeAPIKeyReply struct {

	// api key description
	Desc *APIKeyDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeAPIKeyReply describe Api key reply

swagger:model DescribeApiKeyReply

func (*DescribeAPIKeyReply) ContextValidate

func (m *DescribeAPIKeyReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe Api key reply based on the context it is used

func (*DescribeAPIKeyReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeAPIKeyReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeAPIKeyReply) Validate

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

Validate validates this describe Api key reply

type DescribeAPIKeyRequest

type DescribeAPIKeyRequest struct {

	// the id of the API key to describe
	KeyID string `json:"keyId,omitempty"`
}

DescribeAPIKeyRequest describe Api key request

swagger:model DescribeApiKeyRequest

func (*DescribeAPIKeyRequest) ContextValidate

func (m *DescribeAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe Api key request based on context it is used

func (*DescribeAPIKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeAPIKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeAPIKeyRequest) Validate

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

Validate validates this describe Api key request

type DescribeDatabaseReply

type DescribeDatabaseReply struct {

	// database description
	Desc *DatabaseDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeDatabaseReply describe database reply

swagger:model DescribeDatabaseReply

func (*DescribeDatabaseReply) ContextValidate

func (m *DescribeDatabaseReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe database reply based on the context it is used

func (*DescribeDatabaseReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatabaseReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseReply) Validate

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

Validate validates this describe database reply

type DescribeDatabaseRequest

type DescribeDatabaseRequest struct {

	// database header
	DatabaseHeader *DatabaseHeader `json:"databaseHeader,omitempty"`
}

DescribeDatabaseRequest describe database request

swagger:model DescribeDatabaseRequest

func (*DescribeDatabaseRequest) ContextValidate

func (m *DescribeDatabaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe database request based on the context it is used

func (*DescribeDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseRequest) Validate

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

Validate validates this describe database request

type DescribeDatastoreReply

type DescribeDatastoreReply struct {

	// datastore description
	Desc *DatastoreDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeDatastoreReply describe datastore reply

swagger:model DescribeDatastoreReply

func (*DescribeDatastoreReply) ContextValidate

func (m *DescribeDatastoreReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe datastore reply based on the context it is used

func (*DescribeDatastoreReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatastoreReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatastoreReply) Validate

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

Validate validates this describe datastore reply

type DescribeDatastoreRequest

type DescribeDatastoreRequest struct {

	// datastore header
	DatastoreHeader *DatastoreHeader `json:"datastoreHeader,omitempty"`
}

DescribeDatastoreRequest describe datastore request

swagger:model DescribeDatastoreRequest

func (*DescribeDatastoreRequest) ContextValidate

func (m *DescribeDatastoreRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe datastore request based on the context it is used

func (*DescribeDatastoreRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatastoreRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatastoreRequest) Validate

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

Validate validates this describe datastore request

type DescribeDeploymentReply

type DescribeDeploymentReply struct {

	// deployment description
	Desc *DeploymentDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeDeploymentReply describe deployment reply

swagger:model DescribeDeploymentReply

func (*DescribeDeploymentReply) ContextValidate

func (m *DescribeDeploymentReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe deployment reply based on the context it is used

func (*DescribeDeploymentReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDeploymentReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDeploymentReply) Validate

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

Validate validates this describe deployment reply

type DescribeDeploymentRequest

type DescribeDeploymentRequest struct {

	// a unique identifier associated with this deployment
	ID string `json:"id,omitempty"`
}

DescribeDeploymentRequest describe deployment request

swagger:model DescribeDeploymentRequest

func (*DescribeDeploymentRequest) ContextValidate

func (m *DescribeDeploymentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe deployment request based on context it is used

func (*DescribeDeploymentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDeploymentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDeploymentRequest) Validate

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

Validate validates this describe deployment request

type DescribeEnvironmentReply

type DescribeEnvironmentReply struct {

	// environment destription
	Desc *EnvironmentDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeEnvironmentReply describe environment reply

swagger:model DescribeEnvironmentReply

func (*DescribeEnvironmentReply) ContextValidate

func (m *DescribeEnvironmentReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe environment reply based on the context it is used

func (*DescribeEnvironmentReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeEnvironmentReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeEnvironmentReply) Validate

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

Validate validates this describe environment reply

type DescribeEnvironmentRequest

type DescribeEnvironmentRequest struct {

	// a unique identifier associated with this environment
	ID string `json:"id,omitempty"`
}

DescribeEnvironmentRequest describe environment request

swagger:model DescribeEnvironmentRequest

func (*DescribeEnvironmentRequest) ContextValidate

func (m *DescribeEnvironmentRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe environment request based on context it is used

func (*DescribeEnvironmentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeEnvironmentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeEnvironmentRequest) Validate

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

Validate validates this describe environment request

type DescribePackageReply

type DescribePackageReply struct {

	// desc
	Desc *PackageDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribePackageReply describe package reply

swagger:model DescribePackageReply

func (*DescribePackageReply) ContextValidate

func (m *DescribePackageReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe package reply based on the context it is used

func (*DescribePackageReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribePackageReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribePackageReply) Validate

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

Validate validates this describe package reply

type DescribePackageRequest

type DescribePackageRequest struct {

	// package Id
	PackageID string `json:"packageId,omitempty"`
}

DescribePackageRequest describe package request

swagger:model DescribePackageRequest

func (*DescribePackageRequest) ContextValidate

func (m *DescribePackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe package request based on context it is used

func (*DescribePackageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribePackageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribePackageRequest) Validate

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

Validate validates this describe package request

type DescribeProjectReply

type DescribeProjectReply struct {

	// project description
	Desc *ProjectDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeProjectReply describe project reply

swagger:model DescribeProjectReply

func (*DescribeProjectReply) ContextValidate

func (m *DescribeProjectReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe project reply based on the context it is used

func (*DescribeProjectReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeProjectReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeProjectReply) Validate

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

Validate validates this describe project reply

type DescribeProjectRequest

type DescribeProjectRequest struct {

	// a unique identifier associated with this project
	ID string `json:"id,omitempty"`
}

DescribeProjectRequest describe project request

swagger:model DescribeProjectRequest

func (*DescribeProjectRequest) ContextValidate

func (m *DescribeProjectRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe project request based on context it is used

func (*DescribeProjectRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeProjectRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeProjectRequest) Validate

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

Validate validates this describe project request

type DescribeServiceReply

type DescribeServiceReply struct {

	// service description
	Desc *ServiceDescription `json:"desc,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

DescribeServiceReply describe service reply

swagger:model DescribeServiceReply

func (*DescribeServiceReply) ContextValidate

func (m *DescribeServiceReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe service reply based on the context it is used

func (*DescribeServiceReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeServiceReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeServiceReply) Validate

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

Validate validates this describe service reply

type DescribeServiceRequest

type DescribeServiceRequest struct {

	// service header
	SvcHeader *ServiceHeader `json:"svcHeader,omitempty"`
}

DescribeServiceRequest describe service request

swagger:model DescribeServiceRequest

func (*DescribeServiceRequest) ContextValidate

func (m *DescribeServiceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe service request based on the context it is used

func (*DescribeServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeServiceRequest) Validate

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

Validate validates this describe service request

type DescribeSiteReply

type DescribeSiteReply struct {

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`

	// site endpoint
	SiteEndpoint string `json:"siteEndpoint,omitempty"`
}

DescribeSiteReply describe site reply

swagger:model DescribeSiteReply

func (*DescribeSiteReply) ContextValidate

func (m *DescribeSiteReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe site reply based on the context it is used

func (*DescribeSiteReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeSiteReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeSiteReply) Validate

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

Validate validates this describe site reply

type DescribeSiteRequest

type DescribeSiteRequest struct {

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`
}

DescribeSiteRequest describe site request

swagger:model DescribeSiteRequest

func (*DescribeSiteRequest) ContextValidate

func (m *DescribeSiteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe site request based on the context it is used

func (*DescribeSiteRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeSiteRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeSiteRequest) Validate

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

Validate validates this describe site request

type EnvironmentDescription

type EnvironmentDescription struct {

	// a list of previously completed deployment ids which are presently active in the
	// environment
	ActiveDeployIds []string `json:"activeDeployIds"`

	// time the environment was created expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	CreateTime string `json:"createTime,omitempty"`

	// the environment header
	Header *EnvironmentHeader `json:"header,omitempty"`

	// a unique identifier associated with this environment
	ID string `json:"id,omitempty"`

	// a list of deployment ids which are presently running in the environment
	PendingDeployIds []string `json:"pendingDeployIds"`
}

EnvironmentDescription environment description

swagger:model EnvironmentDescription

func (*EnvironmentDescription) ContextValidate

func (m *EnvironmentDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this environment description based on the context it is used

func (*EnvironmentDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*EnvironmentDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnvironmentDescription) Validate

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

Validate validates this environment description

type EnvironmentHeader

type EnvironmentHeader struct {

	// the dns prefix to use for endpoints in this environment (defaults to name)
	DNSPrefix string `json:"dnsPrefix,omitempty"`

	// the name of the environment
	Name string `json:"name,omitempty"`
}

EnvironmentHeader environment header

swagger:model EnvironmentHeader

func (*EnvironmentHeader) ContextValidate

func (m *EnvironmentHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this environment header based on context it is used

func (*EnvironmentHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*EnvironmentHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnvironmentHeader) Validate

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

Validate validates this environment header

type GetLogsEntry

type GetLogsEntry struct {

	// milliseconds since Jan 1, 1970 00:00:00 UTC
	//
	// log message
	Message string `json:"message,omitempty"`

	// timestamp of the log message expressed as the number of
	Timestamp string `json:"timestamp,omitempty"`
}

GetLogsEntry get logs entry

swagger:model GetLogsEntry

func (*GetLogsEntry) ContextValidate

func (m *GetLogsEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get logs entry based on context it is used

func (*GetLogsEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogsEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogsEntry) Validate

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

Validate validates this get logs entry

type GetLogsReply

type GetLogsReply struct {

	// entries
	Entries []*GetLogsEntry `json:"entries"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

GetLogsReply get logs reply

swagger:model GetLogsReply

func (*GetLogsReply) ContextValidate

func (m *GetLogsReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get logs reply based on the context it is used

func (*GetLogsReply) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogsReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogsReply) Validate

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

Validate validates this get logs reply

type GetLogsRequest

type GetLogsRequest struct {

	// of milliseconds since Jan 1, 1970 00:00:00 UTC
	//
	// latest log message to retrieve expressed as the number of
	EndTime string `json:"endTime,omitempty"`

	// environment id
	EnvID string `json:"envId,omitempty"`

	// project id
	ProjID string `json:"projId,omitempty"`

	// optional; can leave empty for all services otherwise name of a service defined within the Bopmatic project
	ServiceName string `json:"serviceName,omitempty"`

	// earliest log message to retrieve expressed as the number
	StartTime string `json:"startTime,omitempty"`
}

GetLogsRequest get logs request

swagger:model GetLogsRequest

func (*GetLogsRequest) ContextValidate

func (m *GetLogsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get logs request based on context it is used

func (*GetLogsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogsRequest) Validate

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

Validate validates this get logs request

type GetMetricSamplesReply

type GetMetricSamplesReply struct {

	// the requested metrics in the specified output format
	MetricBuf string `json:"metricBuf,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

GetMetricSamplesReply get metric samples reply

swagger:model GetMetricSamplesReply

func (*GetMetricSamplesReply) ContextValidate

func (m *GetMetricSamplesReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get metric samples reply based on the context it is used

func (*GetMetricSamplesReply) MarshalBinary

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

MarshalBinary interface implementation

func (*GetMetricSamplesReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetMetricSamplesReply) Validate

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

Validate validates this get metric samples reply

type GetMetricSamplesRequest

type GetMetricSamplesRequest struct {

	// of milliseconds since Jan 1, 1970 00:00:00 UTC
	//
	// latest metric to retrieve expressed as the number of
	EndTime string `json:"endTime,omitempty"`

	// environment id
	EnvID string `json:"envId,omitempty"`

	// milliseconds since Jan 1, 1970 00:00:00 UTC
	//
	// desired output format of the retrieved metrics
	Format *MetricsFormat `json:"format,omitempty"`

	// optional; list of metric names to retrieve; can leave empty for all
	MetricNames []string `json:"metricNames"`

	// project id
	ProjID string `json:"projId,omitempty"`

	// desired metric sample period in seconds; default is 300s
	SamplePeriod string `json:"samplePeriod,omitempty"`

	// the scope of the metrics query; e.g. all or limited to 1 entity class
	Scope *MetricsScope `json:"scope,omitempty"`

	// optional; can leave empty for all entities in a given scope class or set to a specific entity to retrieve metrics from only that entity. for example, to retrieve only the metrics
	// related to a database named 'foo', set scope=METRIC_SCOPE_DATABASE and
	// scopeQualifier='foo'
	ScopeQualifier string `json:"scopeQualifier,omitempty"`

	// earliest metric to retrieve expressed as the number
	StartTime string `json:"startTime,omitempty"`
}

GetMetricSamplesRequest get metric samples request

swagger:model GetMetricSamplesRequest

func (*GetMetricSamplesRequest) ContextValidate

func (m *GetMetricSamplesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get metric samples request based on the context it is used

func (*GetMetricSamplesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetMetricSamplesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetMetricSamplesRequest) Validate

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

Validate validates this get metric samples request

type GetUploadURLReply

type GetUploadURLReply struct {

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

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

GetUploadURLReply get upload URL reply

swagger:model GetUploadURLReply

func (*GetUploadURLReply) ContextValidate

func (m *GetUploadURLReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get upload URL reply based on the context it is used

func (*GetUploadURLReply) MarshalBinary

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

MarshalBinary interface implementation

func (*GetUploadURLReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetUploadURLReply) Validate

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

Validate validates this get upload URL reply

type GetUploadURLRequest

type GetUploadURLRequest struct {

	// key
	Key string `json:"key,omitempty"`
}

GetUploadURLRequest get upload URL request

swagger:model GetUploadURLRequest

func (*GetUploadURLRequest) ContextValidate

func (m *GetUploadURLRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get upload URL request based on context it is used

func (*GetUploadURLRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetUploadURLRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetUploadURLRequest) Validate

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

Validate validates this get upload URL request

type ListAPIKeysReply

type ListAPIKeysReply struct {

	// key ids
	KeyIds []string `json:"keyIds"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListAPIKeysReply list Api keys reply

swagger:model ListApiKeysReply

func (*ListAPIKeysReply) ContextValidate

func (m *ListAPIKeysReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list Api keys reply based on the context it is used

func (*ListAPIKeysReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAPIKeysReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAPIKeysReply) Validate

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

Validate validates this list Api keys reply

type ListAPIKeysRequest

type ListAPIKeysRequest interface{}

ListAPIKeysRequest list Api keys request

swagger:model ListApiKeysRequest

type ListDatabasesReply

type ListDatabasesReply struct {

	// a list of service names from the project deployed in the environment
	DatabaseNames []string `json:"databaseNames"`

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListDatabasesReply list databases reply

swagger:model ListDatabasesReply

func (*ListDatabasesReply) ContextValidate

func (m *ListDatabasesReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list databases reply based on the context it is used

func (*ListDatabasesReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatabasesReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatabasesReply) Validate

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

Validate validates this list databases reply

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`
}

ListDatabasesRequest list databases request

swagger:model ListDatabasesRequest

func (*ListDatabasesRequest) ContextValidate

func (m *ListDatabasesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list databases request based on the context it is used

func (*ListDatabasesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatabasesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatabasesRequest) Validate

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

Validate validates this list databases request

type ListDatastoresReply

type ListDatastoresReply struct {

	// a list of service names from the project deployed in the environment
	DatastoreNames []string `json:"datastoreNames"`

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListDatastoresReply list datastores reply

swagger:model ListDatastoresReply

func (*ListDatastoresReply) ContextValidate

func (m *ListDatastoresReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list datastores reply based on the context it is used

func (*ListDatastoresReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatastoresReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatastoresReply) Validate

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

Validate validates this list datastores reply

type ListDatastoresRequest

type ListDatastoresRequest struct {

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`
}

ListDatastoresRequest list datastores request

swagger:model ListDatastoresRequest

func (*ListDatastoresRequest) ContextValidate

func (m *ListDatastoresRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list datastores request based on the context it is used

func (*ListDatastoresRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatastoresRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatastoresRequest) Validate

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

Validate validates this list datastores request

type ListDeploymentsReply

type ListDeploymentsReply struct {

	// list of unique identifiers associated with each deployment
	Ids []string `json:"ids"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListDeploymentsReply list deployments reply

swagger:model ListDeploymentsReply

func (*ListDeploymentsReply) ContextValidate

func (m *ListDeploymentsReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list deployments reply based on the context it is used

func (*ListDeploymentsReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDeploymentsReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDeploymentsReply) Validate

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

Validate validates this list deployments reply

type ListDeploymentsRequest

type ListDeploymentsRequest struct {

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`
}

ListDeploymentsRequest list deployments request

swagger:model ListDeploymentsRequest

func (*ListDeploymentsRequest) ContextValidate

func (m *ListDeploymentsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list deployments request based on the context it is used

func (*ListDeploymentsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDeploymentsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDeploymentsRequest) Validate

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

Validate validates this list deployments request

type ListEnvironmentsReply

type ListEnvironmentsReply struct {

	// a list of environment ids
	Ids []string `json:"ids"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListEnvironmentsReply list environments reply

swagger:model ListEnvironmentsReply

func (*ListEnvironmentsReply) ContextValidate

func (m *ListEnvironmentsReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list environments reply based on the context it is used

func (*ListEnvironmentsReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListEnvironmentsReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListEnvironmentsReply) Validate

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

Validate validates this list environments reply

type ListEnvironmentsRequest

type ListEnvironmentsRequest interface{}

ListEnvironmentsRequest list environments request

swagger:model ListEnvironmentsRequest

type ListMetricsEntry

type ListMetricsEntry struct {

	// a description of the metric
	Description string `json:"description,omitempty"`

	// the name of the metric
	Name string `json:"name,omitempty"`

	// the duration of each period the metric is sampled in seconds
	SamplePeriod string `json:"samplePeriod,omitempty"`

	// which scope the metric belongs to
	Scope *MetricsScope `json:"scope,omitempty"`
}

ListMetricsEntry list metrics entry

swagger:model ListMetricsEntry

func (*ListMetricsEntry) ContextValidate

func (m *ListMetricsEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list metrics entry based on the context it is used

func (*ListMetricsEntry) MarshalBinary

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

MarshalBinary interface implementation

func (*ListMetricsEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListMetricsEntry) Validate

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

Validate validates this list metrics entry

type ListMetricsReply

type ListMetricsReply struct {

	// entries
	Entries []*ListMetricsEntry `json:"entries"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListMetricsReply list metrics reply

swagger:model ListMetricsReply

func (*ListMetricsReply) ContextValidate

func (m *ListMetricsReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list metrics reply based on the context it is used

func (*ListMetricsReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListMetricsReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListMetricsReply) Validate

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

Validate validates this list metrics reply

type ListMetricsRequest

type ListMetricsRequest struct {

	// the scope of the returned metrics names; e.g. all or limited to 1 entity class
	Scope *MetricsScope `json:"scope,omitempty"`
}

ListMetricsRequest list metrics request

swagger:model ListMetricsRequest

func (*ListMetricsRequest) ContextValidate

func (m *ListMetricsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list metrics request based on the context it is used

func (*ListMetricsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListMetricsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListMetricsRequest) Validate

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

Validate validates this list metrics request

type ListPackagesReply

type ListPackagesReply struct {

	// items
	Items []*ListPackagesReplyListPackagesItem `json:"items"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListPackagesReply list packages reply

swagger:model ListPackagesReply

func (*ListPackagesReply) ContextValidate

func (m *ListPackagesReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list packages reply based on the context it is used

func (*ListPackagesReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListPackagesReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListPackagesReply) Validate

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

Validate validates this list packages reply

type ListPackagesReplyListPackagesItem

type ListPackagesReplyListPackagesItem struct {

	// package Id
	PackageID string `json:"packageId,omitempty"`

	// proj Id
	ProjID string `json:"projId,omitempty"`
}

ListPackagesReplyListPackagesItem list packages reply list packages item

swagger:model ListPackagesReplyListPackagesItem

func (*ListPackagesReplyListPackagesItem) ContextValidate

func (m *ListPackagesReplyListPackagesItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list packages reply list packages item based on context it is used

func (*ListPackagesReplyListPackagesItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ListPackagesReplyListPackagesItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListPackagesReplyListPackagesItem) Validate

Validate validates this list packages reply list packages item

type ListPackagesRequest

type ListPackagesRequest struct {

	// leave empty for all projects
	ProjID string `json:"projId,omitempty"`
}

ListPackagesRequest list packages request

swagger:model ListPackagesRequest

func (*ListPackagesRequest) ContextValidate

func (m *ListPackagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list packages request based on context it is used

func (*ListPackagesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListPackagesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListPackagesRequest) Validate

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

Validate validates this list packages request

type ListProjectsReply

type ListProjectsReply struct {

	// a list of project ids
	Ids []string `json:"ids"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

ListProjectsReply list projects reply

swagger:model ListProjectsReply

func (*ListProjectsReply) ContextValidate

func (m *ListProjectsReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list projects reply based on the context it is used

func (*ListProjectsReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListProjectsReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListProjectsReply) Validate

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

Validate validates this list projects reply

type ListProjectsRequest

type ListProjectsRequest interface{}

ListProjectsRequest list projects request

swagger:model ListProjectsRequest

type ListServicesReply

type ListServicesReply struct {

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`

	// a list of service names from the project deployed in the environment
	ServiceNames []string `json:"serviceNames"`
}

ListServicesReply list services reply

swagger:model ListServicesReply

func (*ListServicesReply) ContextValidate

func (m *ListServicesReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list services reply based on the context it is used

func (*ListServicesReply) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesReply) Validate

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

Validate validates this list services reply

type ListServicesRequest

type ListServicesRequest struct {

	// a project/environment tuple
	Header *ProjEnvHeader `json:"header,omitempty"`
}

ListServicesRequest list services request

swagger:model ListServicesRequest

func (*ListServicesRequest) ContextValidate

func (m *ListServicesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list services request based on the context it is used

func (*ListServicesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesRequest) Validate

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

Validate validates this list services request

type MetricsFormat

type MetricsFormat string

MetricsFormat - UNKNOWN_METRIC_FORMAT: MAX_INT

swagger:model MetricsFormat

const (

	// MetricsFormatINVALIDMETRICFORMAT captures enum value "INVALID_METRIC_FORMAT"
	MetricsFormatINVALIDMETRICFORMAT MetricsFormat = "INVALID_METRIC_FORMAT"

	// MetricsFormatMETRICFORMATOPENMETRICS captures enum value "METRIC_FORMAT_OPENMETRICS"
	MetricsFormatMETRICFORMATOPENMETRICS MetricsFormat = "METRIC_FORMAT_OPENMETRICS"

	// MetricsFormatUNKNOWNMETRICFORMAT captures enum value "UNKNOWN_METRIC_FORMAT"
	MetricsFormatUNKNOWNMETRICFORMAT MetricsFormat = "UNKNOWN_METRIC_FORMAT"
)

func NewMetricsFormat

func NewMetricsFormat(value MetricsFormat) *MetricsFormat

func (MetricsFormat) ContextValidate

func (m MetricsFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metrics format based on context it is used

func (MetricsFormat) Pointer

func (m MetricsFormat) Pointer() *MetricsFormat

Pointer returns a pointer to a freshly-allocated MetricsFormat.

func (MetricsFormat) Validate

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

Validate validates this metrics format

type MetricsScope

type MetricsScope string

MetricsScope - UNKNOWN_METRIC_SCOPE: MAX_INT

swagger:model MetricsScope

const (

	// MetricsScopeINVALIDMETRICSCOPE captures enum value "INVALID_METRIC_SCOPE"
	MetricsScopeINVALIDMETRICSCOPE MetricsScope = "INVALID_METRIC_SCOPE"

	// MetricsScopeMETRICSCOPEALL captures enum value "METRIC_SCOPE_ALL"
	MetricsScopeMETRICSCOPEALL MetricsScope = "METRIC_SCOPE_ALL"

	// MetricsScopeMETRICSCOPESERVICE captures enum value "METRIC_SCOPE_SERVICE"
	MetricsScopeMETRICSCOPESERVICE MetricsScope = "METRIC_SCOPE_SERVICE"

	// MetricsScopeMETRICSCOPEDATASTORE captures enum value "METRIC_SCOPE_DATASTORE"
	MetricsScopeMETRICSCOPEDATASTORE MetricsScope = "METRIC_SCOPE_DATASTORE"

	// MetricsScopeMETRICSCOPEDATABASE captures enum value "METRIC_SCOPE_DATABASE"
	MetricsScopeMETRICSCOPEDATABASE MetricsScope = "METRIC_SCOPE_DATABASE"

	// MetricsScopeUNKNOWNMETRICSCOPE captures enum value "UNKNOWN_METRIC_SCOPE"
	MetricsScopeUNKNOWNMETRICSCOPE MetricsScope = "UNKNOWN_METRIC_SCOPE"
)

func NewMetricsScope

func NewMetricsScope(value MetricsScope) *MetricsScope

func (MetricsScope) ContextValidate

func (m MetricsScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metrics scope based on context it is used

func (MetricsScope) Pointer

func (m MetricsScope) Pointer() *MetricsScope

Pointer returns a pointer to a freshly-allocated MetricsScope.

func (MetricsScope) Validate

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

Validate validates this metrics scope

type PackageDescription

type PackageDescription struct {

	// pkg-<hex string of first 4 bytes of packageXsum>
	PackageID string `json:"packageId,omitempty"`

	// size of the compressed package in bytes
	PackageSize string `json:"packageSize,omitempty"`

	// project id associated with this package
	ProjID string `json:"projId,omitempty"`

	// package state
	State *PackageState `json:"state,omitempty"`

	// time the package was first uploaded expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	UploadTime string `json:"uploadTime,omitempty"`
}

PackageDescription package description

swagger:model PackageDescription

func (*PackageDescription) ContextValidate

func (m *PackageDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this package description based on the context it is used

func (*PackageDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*PackageDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PackageDescription) Validate

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

Validate validates this package description

type PackageState

type PackageState string

PackageState - INVALID_PKG_STATE: unused

  • UPLOADING: package is currently in the process of being uploaded
  • UPLOADED: upload has completed; the package has not yet started validataion
  • PKG_VALIDATING: the package is in the process of being validated
  • INVALID: the package failed validation checks or builds and cannot be
  • PKG_BUILDING: deployed

the package passed validation and is in the process of being built

  • PKG_SUPPORT_NEEDED: something went wrong and Bopmatic support is investigating
  • PKG_DELETED: the package has been deleted
  • BUILT: the package was successfully built and is eligible to be deployed
  • UNKNOWN_PKG_STATE: MAX_INT

swagger:model PackageState

const (

	// PackageStateINVALIDPKGSTATE captures enum value "INVALID_PKG_STATE"
	PackageStateINVALIDPKGSTATE PackageState = "INVALID_PKG_STATE"

	// PackageStateUPLOADING captures enum value "UPLOADING"
	PackageStateUPLOADING PackageState = "UPLOADING"

	// PackageStateUPLOADED captures enum value "UPLOADED"
	PackageStateUPLOADED PackageState = "UPLOADED"

	// PackageStatePKGVALIDATING captures enum value "PKG_VALIDATING"
	PackageStatePKGVALIDATING PackageState = "PKG_VALIDATING"

	// PackageStateINVALID captures enum value "INVALID"
	PackageStateINVALID PackageState = "INVALID"

	// PackageStatePKGBUILDING captures enum value "PKG_BUILDING"
	PackageStatePKGBUILDING PackageState = "PKG_BUILDING"

	// PackageStatePKGSUPPORTNEEDED captures enum value "PKG_SUPPORT_NEEDED"
	PackageStatePKGSUPPORTNEEDED PackageState = "PKG_SUPPORT_NEEDED"

	// PackageStatePKGDELETED captures enum value "PKG_DELETED"
	PackageStatePKGDELETED PackageState = "PKG_DELETED"

	// PackageStateBUILT captures enum value "BUILT"
	PackageStateBUILT PackageState = "BUILT"

	// PackageStateUNKNOWNPKGSTATE captures enum value "UNKNOWN_PKG_STATE"
	PackageStateUNKNOWNPKGSTATE PackageState = "UNKNOWN_PKG_STATE"
)

func NewPackageState

func NewPackageState(value PackageState) *PackageState

func (PackageState) ContextValidate

func (m PackageState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this package state based on context it is used

func (PackageState) Pointer

func (m PackageState) Pointer() *PackageState

Pointer returns a pointer to a freshly-allocated PackageState.

func (PackageState) Validate

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

Validate validates this package state

type ProjEnvHeader

type ProjEnvHeader struct {

	// a unique identifier associated with the environment to query; leave blank
	// for all
	EnvID string `json:"envId,omitempty"`

	// a unique identifier associated with the project to query; leave blank
	// for all
	ProjID string `json:"projId,omitempty"`
}

ProjEnvHeader proj env header

swagger:model ProjEnvHeader

func (*ProjEnvHeader) ContextValidate

func (m *ProjEnvHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proj env header based on context it is used

func (*ProjEnvHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjEnvHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjEnvHeader) Validate

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

Validate validates this proj env header

type ProjectDescription

type ProjectDescription struct {

	// a list of previously completed deployment ids which are presently active across all
	// environments the project has been deployed into
	ActiveDeployIds []string `json:"activeDeployIds"`

	// time the project was created expressed as the number of milliseconds since
	// Jan 1, 1970 00:00:00 UTC
	CreateTime string `json:"createTime,omitempty"`

	// project header
	Header *ProjectHeader `json:"header,omitempty"`

	// a unique identifier associated with this project
	ID string `json:"id,omitempty"`

	// a list of deployment ids which are presently running involving this project across all
	// environments
	PendingDeployIds []string `json:"pendingDeployIds"`

	// the current state of the project
	State *ProjectState `json:"state,omitempty"`
}

ProjectDescription project description

swagger:model ProjectDescription

func (*ProjectDescription) ContextValidate

func (m *ProjectDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project description based on the context it is used

func (*ProjectDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectDescription) Validate

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

Validate validates this project description

type ProjectHeader

type ProjectHeader struct {

	// the base domain where this project's endpoints will be surfaced; defaults to bopmatic.com
	DNSDomain string `json:"dnsDomain,omitempty"`

	// the dns prefix where this project's endpoints will be surfaced; defaults to 'name'
	DNSPrefix string `json:"dnsPrefix,omitempty"`

	// the name of the project
	Name string `json:"name,omitempty"`
}

ProjectHeader project header

swagger:model ProjectHeader

func (*ProjectHeader) ContextValidate

func (m *ProjectHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project header based on context it is used

func (*ProjectHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectHeader) Validate

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

Validate validates this project header

type ProjectState

type ProjectState string

ProjectState - INVALID_PROJ_STATE: unused

  • INACTIVE: the project has been created but no packages are presently active in any environment

and there are no pending deployments

  • ACTIVE: the project has at least one package presently active in at least one environment, or

has at least one pending deployment

  • PROJ_STATE_DELETED: the project has been deleted
  • UNKNOWN_PROJ_STATE: MAX_INT

swagger:model ProjectState

const (

	// ProjectStateINVALIDPROJSTATE captures enum value "INVALID_PROJ_STATE"
	ProjectStateINVALIDPROJSTATE ProjectState = "INVALID_PROJ_STATE"

	// ProjectStateINACTIVE captures enum value "INACTIVE"
	ProjectStateINACTIVE ProjectState = "INACTIVE"

	// ProjectStateACTIVE captures enum value "ACTIVE"
	ProjectStateACTIVE ProjectState = "ACTIVE"

	// ProjectStatePROJSTATEDELETED captures enum value "PROJ_STATE_DELETED"
	ProjectStatePROJSTATEDELETED ProjectState = "PROJ_STATE_DELETED"

	// ProjectStateUNKNOWNPROJSTATE captures enum value "UNKNOWN_PROJ_STATE"
	ProjectStateUNKNOWNPROJSTATE ProjectState = "UNKNOWN_PROJ_STATE"
)

func NewProjectState

func NewProjectState(value ProjectState) *ProjectState

func (ProjectState) ContextValidate

func (m ProjectState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project state based on context it is used

func (ProjectState) Pointer

func (m ProjectState) Pointer() *ProjectState

Pointer returns a pointer to a freshly-allocated ProjectState.

func (ProjectState) Validate

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

Validate validates this project state

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]interface{} `json:"-"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON

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

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate

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

Validate validates this protobuf any

type RPCStatus

type RPCStatus struct {

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

	// details
	Details []*ProtobufAny `json:"details"`

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

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

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

Validate validates this rpc status

type RequestAccessReply

type RequestAccessReply interface{}

RequestAccessReply request access reply

swagger:model RequestAccessReply

type RequestAccessRequest

type RequestAccessRequest struct {

	// email
	Email string `json:"email,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`

	// programming lang
	ProgrammingLang string `json:"programmingLang,omitempty"`

	// project desc
	ProjectDesc string `json:"projectDesc,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`
}

RequestAccessRequest request access request

swagger:model RequestAccessRequest

func (*RequestAccessRequest) ContextValidate

func (m *RequestAccessRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request access request based on context it is used

func (*RequestAccessRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RequestAccessRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RequestAccessRequest) Validate

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

Validate validates this request access request

type ServiceDescription

type ServiceDescription struct {

	// file within your project defining its APIs
	APIDef string `json:"apiDef,omitempty"`

	// set of databases this service is configured to access
	DatabaseNames []string `json:"databaseNames"`

	// set of datastores this service is configured to access
	DatastoreNames []string `json:"datastoreNames"`

	// TCP port your service is configured to listen on
	Port string `json:"port,omitempty"`

	// endpoints for each RPC within the service
	RPCEndpoints []string `json:"rpcEndpoints"`

	// service header
	SvcHeader *ServiceHeader `json:"svcHeader,omitempty"`
}

ServiceDescription service description

swagger:model ServiceDescription

func (*ServiceDescription) ContextValidate

func (m *ServiceDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service description based on the context it is used

func (*ServiceDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceDescription) Validate

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

Validate validates this service description

type ServiceHeader

type ServiceHeader struct {

	// a project/environment tuple
	ProjEnvHeader *ProjEnvHeader `json:"projEnvHeader,omitempty"`

	// a unique service name within the project
	ServiceName string `json:"serviceName,omitempty"`
}

ServiceHeader service header

swagger:model ServiceHeader

func (*ServiceHeader) ContextValidate

func (m *ServiceHeader) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service header based on the context it is used

func (*ServiceHeader) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceHeader) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceHeader) Validate

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

Validate validates this service header

type ServiceRunnerResult

type ServiceRunnerResult struct {

	// status
	Status *ServiceRunnerStatus `json:"status,omitempty"`

	// status detail
	StatusDetail string `json:"statusDetail,omitempty"`
}

ServiceRunnerResult service runner result

swagger:model ServiceRunnerResult

func (*ServiceRunnerResult) ContextValidate

func (m *ServiceRunnerResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service runner result based on the context it is used

func (*ServiceRunnerResult) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceRunnerResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceRunnerResult) Validate

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

Validate validates this service runner result

type ServiceRunnerStatus

type ServiceRunnerStatus string

ServiceRunnerStatus - STATUS_INVALID: unused

  • STATUS_UNKNOWN: MAX_INT

swagger:model ServiceRunnerStatus

const (

	// ServiceRunnerStatusSTATUSINVALID captures enum value "STATUS_INVALID"
	ServiceRunnerStatusSTATUSINVALID ServiceRunnerStatus = "STATUS_INVALID"

	// ServiceRunnerStatusSTATUSOK captures enum value "STATUS_OK"
	ServiceRunnerStatusSTATUSOK ServiceRunnerStatus = "STATUS_OK"

	// ServiceRunnerStatusSTATUSINTERNALERR captures enum value "STATUS_INTERNAL_ERR"
	ServiceRunnerStatusSTATUSINTERNALERR ServiceRunnerStatus = "STATUS_INTERNAL_ERR"

	// ServiceRunnerStatusSTATUSDNSCONFLICT captures enum value "STATUS_DNS_CONFLICT"
	ServiceRunnerStatusSTATUSDNSCONFLICT ServiceRunnerStatus = "STATUS_DNS_CONFLICT"

	// ServiceRunnerStatusSTATUSACCTLIMITREACHED captures enum value "STATUS_ACCT_LIMIT_REACHED"
	ServiceRunnerStatusSTATUSACCTLIMITREACHED ServiceRunnerStatus = "STATUS_ACCT_LIMIT_REACHED"

	// ServiceRunnerStatusSTATUSEXISTS captures enum value "STATUS_EXISTS"
	ServiceRunnerStatusSTATUSEXISTS ServiceRunnerStatus = "STATUS_EXISTS"

	// ServiceRunnerStatusSTATUSNOTEXISTS captures enum value "STATUS_NOT_EXISTS"
	ServiceRunnerStatusSTATUSNOTEXISTS ServiceRunnerStatus = "STATUS_NOT_EXISTS"

	// ServiceRunnerStatusSTATUSINVALIDREQUEST captures enum value "STATUS_INVALID_REQUEST"
	ServiceRunnerStatusSTATUSINVALIDREQUEST ServiceRunnerStatus = "STATUS_INVALID_REQUEST"

	// ServiceRunnerStatusSTATUSUNKNOWN captures enum value "STATUS_UNKNOWN"
	ServiceRunnerStatusSTATUSUNKNOWN ServiceRunnerStatus = "STATUS_UNKNOWN"
)

func NewServiceRunnerStatus

func NewServiceRunnerStatus(value ServiceRunnerStatus) *ServiceRunnerStatus

func (ServiceRunnerStatus) ContextValidate

func (m ServiceRunnerStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service runner status based on context it is used

func (ServiceRunnerStatus) Pointer

Pointer returns a pointer to a freshly-allocated ServiceRunnerStatus.

func (ServiceRunnerStatus) Validate

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

Validate validates this service runner status

type UploadPackageReply

type UploadPackageReply struct {

	// package id associated with this package
	PkgID string `json:"pkgId,omitempty"`

	// result
	Result *ServiceRunnerResult `json:"result,omitempty"`
}

UploadPackageReply upload package reply

swagger:model UploadPackageReply

func (*UploadPackageReply) ContextValidate

func (m *UploadPackageReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this upload package reply based on the context it is used

func (*UploadPackageReply) MarshalBinary

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

MarshalBinary interface implementation

func (*UploadPackageReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UploadPackageReply) Validate

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

Validate validates this upload package reply

type UploadPackageRequest

type UploadPackageRequest struct {

	// packageTarballData and packageTarballURL are mutually exclusive
	//
	// package tarball content in .tar.xz format (limited to 6MiB);
	// Format: byte
	PackageTarballData strfmt.Base64 `json:"packageTarballData,omitempty"`

	// URL to package tarball (when larger than 6MiB)
	PackageTarballURL string `json:"packageTarballURL,omitempty"`

	// sha256 checksum of packageTarballData
	// Format: byte
	PackageXsum strfmt.Base64 `json:"packageXsum,omitempty"`

	// project id associated with this package
	ProjID string `json:"projId,omitempty"`
}

UploadPackageRequest upload package request

swagger:model UploadPackageRequest

func (*UploadPackageRequest) ContextValidate

func (m *UploadPackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this upload package request based on context it is used

func (*UploadPackageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UploadPackageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UploadPackageRequest) Validate

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

Validate validates this upload package request

Source Files

Jump to

Keyboard shortcuts

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