models

package
v0.0.0-...-a9240ff Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 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 DeletePackageReply

type DeletePackageReply struct {

	// 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 DeployPackageReply

type DeployPackageReply struct {

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

DeployPackageReply deploy package reply

swagger:model DeployPackageReply

func (*DeployPackageReply) ContextValidate

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

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

func (*DeployPackageReply) MarshalBinary

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

MarshalBinary interface implementation

func (*DeployPackageReply) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeployPackageReply) Validate

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

Validate validates this deploy package reply

type DeployPackageRequest

type DeployPackageRequest struct {

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

DeployPackageRequest deploy package request

swagger:model DeployPackageRequest

func (*DeployPackageRequest) ContextValidate

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

ContextValidate validate this deploy package request based on the context it is used

func (*DeployPackageRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeployPackageRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeployPackageRequest) Validate

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

Validate validates this deploy package request

type DescribePackageReply

type DescribePackageReply struct {

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

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

	// rpc endpoints
	RPCEndpoints []string `json:"rpcEndpoints"`

	// the following fields are only valid when packageState==PRODUCTION
	SiteEndpoint string `json:"siteEndpoint,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 GetUploadURLReply

type GetUploadURLReply struct {

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

GetUploadURLReply get upload URL reply

swagger:model GetUploadURLReply

func (*GetUploadURLReply) ContextValidate

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

ContextValidate validates this get upload URL reply based on 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 ListPackagesReply

type ListPackagesReply struct {

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

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"`

	// project name
	ProjectName string `json:"projectName,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 {

	// project name
	ProjectName string `json:"projectName,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 PackageDescription

type PackageDescription struct {

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

	// package name
	PackageName string `json:"packageName,omitempty"`

	// package tarball data
	// Format: byte
	PackageTarballData strfmt.Base64 `json:"packageTarballData,omitempty"`

	// package tarball URL
	PackageTarballURL string `json:"packageTarballURL,omitempty"`

	// package xsum
	// Format: byte
	PackageXsum strfmt.Base64 `json:"packageXsum,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`
}

PackageDescription package description

swagger:model PackageDescription

func (*PackageDescription) ContextValidate

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

ContextValidate validates this package description based on 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 package state

swagger:model PackageState

const (

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

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

	// PackageStateVALIDATING captures enum value "VALIDATING"
	PackageStateVALIDATING PackageState = "VALIDATING"

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

	// PackageStateBUILDING captures enum value "BUILDING"
	PackageStateBUILDING PackageState = "BUILDING"

	// PackageStateDEPLOYING captures enum value "DEPLOYING"
	PackageStateDEPLOYING PackageState = "DEPLOYING"

	// PackageStatePRODUCTION captures enum value "PRODUCTION"
	PackageStatePRODUCTION PackageState = "PRODUCTION"

	// PackageStateDEACTIVATING captures enum value "DEACTIVATING"
	PackageStateDEACTIVATING PackageState = "DEACTIVATING"

	// PackageStateDELETING captures enum value "DELETING"
	PackageStateDELETING PackageState = "DELETING"

	// PackageStateSUPPORTNEEDED captures enum value "SUPPORT_NEEDED"
	PackageStateSUPPORTNEEDED PackageState = "SUPPORT_NEEDED"

	// PackageStateDELETED captures enum value "DELETED"
	PackageStateDELETED PackageState = "DELETED"

	// 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 ProtobufAny

type ProtobufAny struct {

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

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) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

Jump to

Keyboard shortcuts

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