Documentation ¶
Index ¶
- type DeletePackageReply
- type DeletePackageRequest
- type DeployPackageReply
- type DeployPackageRequest
- type DescribePackageReply
- type DescribePackageRequest
- func (m *DescribePackageRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribePackageRequest) MarshalBinary() ([]byte, error)
- func (m *DescribePackageRequest) UnmarshalBinary(b []byte) error
- func (m *DescribePackageRequest) Validate(formats strfmt.Registry) error
- type GetUploadURLReply
- type GetUploadURLRequest
- type ListPackagesReply
- type ListPackagesReplyListPackagesItem
- func (m *ListPackagesReplyListPackagesItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListPackagesReplyListPackagesItem) MarshalBinary() ([]byte, error)
- func (m *ListPackagesReplyListPackagesItem) UnmarshalBinary(b []byte) error
- func (m *ListPackagesReplyListPackagesItem) Validate(formats strfmt.Registry) error
- type ListPackagesRequest
- type PackageDescription
- type PackageState
- type ProtobufAny
- type RPCStatus
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 ¶
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
type DeletePackageRequest ¶
type DeletePackageRequest struct { // package Id PackageID string `json:"packageId,omitempty"` }
DeletePackageRequest delete package request
swagger:model DeletePackageRequest
func (*DeletePackageRequest) ContextValidate ¶
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
type DeployPackageReply ¶
type DeployPackageReply struct { // state State *PackageState `json:"state,omitempty"` }
DeployPackageReply deploy package reply
swagger:model DeployPackageReply
func (*DeployPackageReply) ContextValidate ¶
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
type DeployPackageRequest ¶
type DeployPackageRequest struct { // desc Desc *PackageDescription `json:"desc,omitempty"` }
DeployPackageRequest deploy package request
swagger:model DeployPackageRequest
func (*DeployPackageRequest) ContextValidate ¶
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
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 ¶
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
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
type GetUploadURLReply ¶
type GetUploadURLReply struct { // URL URL string `json:"URL,omitempty"` }
GetUploadURLReply get upload URL reply
swagger:model GetUploadURLReply
func (*GetUploadURLReply) ContextValidate ¶
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
type GetUploadURLRequest ¶
type GetUploadURLRequest struct { // key Key string `json:"key,omitempty"` }
GetUploadURLRequest get upload URL request
swagger:model GetUploadURLRequest
func (*GetUploadURLRequest) ContextValidate ¶
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
type ListPackagesReply ¶
type ListPackagesReply struct { // items Items []*ListPackagesReplyListPackagesItem `json:"items"` }
ListPackagesReply list packages reply
swagger:model ListPackagesReply
func (*ListPackagesReply) ContextValidate ¶
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
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
type ListPackagesRequest ¶
type ListPackagesRequest struct { // project name ProjectName string `json:"projectName,omitempty"` }
ListPackagesRequest list packages request
swagger:model ListPackagesRequest
func (*ListPackagesRequest) ContextValidate ¶
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
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 ¶
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
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 ¶
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.
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
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
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 ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- delete_package_reply.go
- delete_package_request.go
- deploy_package_reply.go
- deploy_package_request.go
- describe_package_reply.go
- describe_package_request.go
- get_upload_url_reply.go
- get_upload_url_request.go
- list_packages_reply.go
- list_packages_reply_list_packages_item.go
- list_packages_request.go
- package_description.go
- package_state.go
- protobuf_any.go
- rpc_status.go