models

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type OpenpitrixAPI ¶ added in v0.4.0

type OpenpitrixAPI struct {

	// api id
	APIID string `json:"api_id,omitempty"`

	// api method, rpc method eg.[Token|CanDo|...]
	APIMethod string `json:"api_method,omitempty"`

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

	// url method, http verb
	URLMethod string `json:"url_method,omitempty"`
}

OpenpitrixAPI openpitrix Api swagger:model openpitrixApi

func (*OpenpitrixAPI) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAPI) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAPI) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix Api

type OpenpitrixActionBundle ¶ added in v0.4.0

type OpenpitrixActionBundle struct {

	// bundle of action, bundle contain one more api
	ActionBundleID string `json:"action_bundle_id,omitempty"`

	// name of bundle
	ActionBundleName string `json:"action_bundle_name,omitempty"`

	// api set
	APISet OpenpitrixActionBundleAPISet `json:"api_set"`
}

OpenpitrixActionBundle openpitrix action bundle swagger:model openpitrixActionBundle

func (*OpenpitrixActionBundle) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixActionBundle) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixActionBundle) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix action bundle

type OpenpitrixActionBundleAPISet ¶ added in v0.4.0

type OpenpitrixActionBundleAPISet []*OpenpitrixAPI

OpenpitrixActionBundleAPISet list of api in bundle swagger:model openpitrixActionBundleApiSet

func (OpenpitrixActionBundleAPISet) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix action bundle Api set

type OpenpitrixAddClusterNodesRequest ¶

type OpenpitrixAddClusterNodesRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of cluster to add node
	ClusterID string `json:"cluster_id,omitempty"`

	// number of node added to cluster
	NodeCount int64 `json:"node_count,omitempty"`

	// required, role eg:[mysql|wordpress|...]
	Role string `json:"role,omitempty"`
}

OpenpitrixAddClusterNodesRequest openpitrix add cluster nodes request swagger:model openpitrixAddClusterNodesRequest

func (*OpenpitrixAddClusterNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixAddClusterNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixAddClusterNodesRequest) Validate ¶

Validate validates this openpitrix add cluster nodes request

type OpenpitrixAddClusterNodesResponse ¶

type OpenpitrixAddClusterNodesResponse struct {

	// id of cluster added node
	ClusterID string `json:"cluster_id,omitempty"`

	// id of job of add node to cluster
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixAddClusterNodesResponse openpitrix add cluster nodes response swagger:model openpitrixAddClusterNodesResponse

func (*OpenpitrixAddClusterNodesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixAddClusterNodesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixAddClusterNodesResponse) Validate ¶

Validate validates this openpitrix add cluster nodes response

type OpenpitrixAddNodeKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixAddNodeKeyPairsResponse interface{}

OpenpitrixAddNodeKeyPairsResponse openpitrix add node key pairs response swagger:model openpitrixAddNodeKeyPairsResponse

type OpenpitrixApp ¶

type OpenpitrixApp struct {

	// abstraction of app
	Abstraction string `json:"abstraction,omitempty"`

	// whether there is a released version in the app
	Active bool `json:"active,omitempty"`

	// app id
	AppID string `json:"app_id,omitempty"`

	// app version types eg.[vmbased|helm]
	AppVersionTypes string `json:"app_version_types,omitempty"`

	// category set
	CategorySet OpenpitrixAppCategorySet `json:"category_set"`

	// chart name of app
	ChartName string `json:"chart_name,omitempty"`

	// company join time
	CompanyJoinTime strfmt.DateTime `json:"company_join_time,omitempty"`

	// company name
	CompanyName string `json:"company_name,omitempty"`

	// company profile
	CompanyProfile string `json:"company_profile,omitempty"`

	// company website
	CompanyWebsite string `json:"company_website,omitempty"`

	// the time when app create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// app home page
	Home string `json:"home,omitempty"`

	// app icon
	Icon string `json:"icon,omitempty"`

	// the isv user who create the app
	Isv string `json:"isv,omitempty"`

	// app key words
	Keywords string `json:"keywords,omitempty"`

	// latest version of app
	LatestAppVersion *OpenpitrixAppVersion `json:"latest_app_version,omitempty"`

	// app maintainers
	Maintainers string `json:"maintainers,omitempty"`

	// app name
	Name string `json:"name,omitempty"`

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

	// owner path of the app, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// app instructions
	Readme string `json:"readme,omitempty"`

	// repository(store app package) id
	RepoID string `json:"repo_id,omitempty"`

	// app screenshots
	Screenshots string `json:"screenshots,omitempty"`

	// sources of app
	Sources string `json:"sources,omitempty"`

	// status eg.[modify|submit|review|cancel|release|delete|pass|reject|suspend|recover]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// tos of app
	Tos string `json:"tos,omitempty"`

	// the time when app update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`
}

OpenpitrixApp openpitrix app swagger:model openpitrixApp

func (*OpenpitrixApp) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixApp) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixApp) Validate ¶

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

Validate validates this openpitrix app

type OpenpitrixAppCategorySet ¶

type OpenpitrixAppCategorySet []*OpenpitrixResourceCategory

OpenpitrixAppCategorySet list of category, the app may belong to one more category swagger:model openpitrixAppCategorySet

func (OpenpitrixAppCategorySet) Validate ¶

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

Validate validates this openpitrix app category set

type OpenpitrixAppVersion ¶

type OpenpitrixAppVersion struct {

	// active or not
	Active bool `json:"active,omitempty"`

	// app id
	AppID string `json:"app_id,omitempty"`

	// the time when app version create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// description of app of specific version
	Description string `json:"description,omitempty"`

	// home of app of specific version
	Home string `json:"home,omitempty"`

	// icon of app of specific version
	Icon string `json:"icon,omitempty"`

	// keywords of app of specific version
	Keywords string `json:"keywords,omitempty"`

	// maintainers of app of specific version
	Maintainers string `json:"maintainers,omitempty"`

	// message path of app of specific version
	Message string `json:"message,omitempty"`

	// version name
	Name string `json:"name,omitempty"`

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

	// owner path of app of specific version, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// package name of app of specific version
	PackageName string `json:"package_name,omitempty"`

	// readme of app of specific version
	Readme string `json:"readme,omitempty"`

	// review id of app of specific version
	ReviewID string `json:"review_id,omitempty"`

	// screenshots of app of specific version
	Screenshots string `json:"screenshots,omitempty"`

	// sequence of app of specific version
	Sequence int64 `json:"sequence,omitempty"`

	// sources of app of specific version
	Sources string `json:"sources,omitempty"`

	// status of app of specific version eg.[draft|submitted|passed|rejected|active|in-review|deleted|suspended]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// type of app of specific version
	Type string `json:"type,omitempty"`

	// the time when app version update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`

	// version id of app
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixAppVersion openpitrix app version swagger:model openpitrixAppVersion

func (*OpenpitrixAppVersion) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixAppVersion) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixAppVersion) Validate ¶

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

Validate validates this openpitrix app version

type OpenpitrixAppVersionAudit ¶ added in v0.4.0

type OpenpitrixAppVersionAudit struct {

	// id of specific version app
	AppID string `json:"app_id,omitempty"`

	// name of specific version app
	AppName string `json:"app_name,omitempty"`

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

	// user of auditer
	Operator string `json:"operator,omitempty"`

	// operator of auditer eg.[global_admin|developer|business|technical|isv]
	OperatorType string `json:"operator_type,omitempty"`

	// review id
	ReviewID string `json:"review_id,omitempty"`

	// audit status, eg.[draft|submitted|passed|rejected|active|in-review|deleted|suspended]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// id of version to audit
	VersionID string `json:"version_id,omitempty"`

	// version name
	VersionName string `json:"version_name,omitempty"`

	// version type
	VersionType string `json:"version_type,omitempty"`
}

OpenpitrixAppVersionAudit openpitrix app version audit swagger:model openpitrixAppVersionAudit

func (*OpenpitrixAppVersionAudit) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAppVersionAudit) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAppVersionAudit) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix app version audit

type OpenpitrixAppVersionReview ¶ added in v0.4.0

type OpenpitrixAppVersionReview struct {

	// app id
	AppID string `json:"app_id,omitempty"`

	// app name
	AppName string `json:"app_name,omitempty"`

	// phase
	Phase OpenpitrixAppVersionReviewPhaseOAIGen `json:"phase,omitempty"`

	// review id
	ReviewID string `json:"review_id,omitempty"`

	// user who review the app version
	Reviewer string `json:"reviewer,omitempty"`

	// review status eg.[isv-in-review|isv-passed|isv-rejected|isv-draft|business-in-review|business-passed|business-rejected|develop-draft|develop-in-review|develop-passed|develop-rejected|develop-draft]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// id of app version
	VersionID string `json:"version_id,omitempty"`

	// version name of specific app version
	VersionName string `json:"version_name,omitempty"`

	// version type
	VersionType string `json:"version_type,omitempty"`
}

OpenpitrixAppVersionReview openpitrix app version review swagger:model openpitrixAppVersionReview

func (*OpenpitrixAppVersionReview) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAppVersionReview) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAppVersionReview) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix app version review

type OpenpitrixAppVersionReviewPhase ¶ added in v0.4.0

type OpenpitrixAppVersionReviewPhase struct {

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

	// user of reviewer
	Operator string `json:"operator,omitempty"`

	// operator type of reviewer eg.[global_admin|developer|business|technical|isv]
	OperatorType string `json:"operator_type,omitempty"`

	// app version review time
	ReviewTime strfmt.DateTime `json:"review_time,omitempty"`

	// review status of app version eg.[isv-in-review|isv-passed|isv-rejected|isv-draft|business-in-review|business-passed|business-rejected|develop-draft|develop-in-review|develop-passed|develop-rejected|develop-draft]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`
}

OpenpitrixAppVersionReviewPhase openpitrix app version review phase swagger:model openpitrixAppVersionReviewPhase

func (*OpenpitrixAppVersionReviewPhase) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAppVersionReviewPhase) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAppVersionReviewPhase) Validate ¶ added in v0.4.0

Validate validates this openpitrix app version review phase

type OpenpitrixAppVersionReviewPhaseOAIGen ¶ added in v0.4.0

type OpenpitrixAppVersionReviewPhaseOAIGen map[string]OpenpitrixAppVersionReviewPhase

OpenpitrixAppVersionReviewPhaseOAIGen review phase, app need one more reviewer to review, when reviewer reviewed, status changed swagger:model openpitrixAppVersionReviewPhaseOAIGen

func (OpenpitrixAppVersionReviewPhaseOAIGen) Validate ¶ added in v0.4.0

Validate validates this openpitrix app version review phase OAI gen

type OpenpitrixAppendAttachmentResponse ¶ added in v0.4.0

type OpenpitrixAppendAttachmentResponse struct {

	// attachment id
	AttachmentID string `json:"attachment_id,omitempty"`

	// filename, attachment contain one more file
	Filename []string `json:"filename"`
}

OpenpitrixAppendAttachmentResponse openpitrix append attachment response swagger:model openpitrixAppendAttachmentResponse

func (*OpenpitrixAppendAttachmentResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAppendAttachmentResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAppendAttachmentResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix append attachment response

type OpenpitrixAttachKeyPairsRequest ¶ added in v0.1.7

type OpenpitrixAttachKeyPairsRequest struct {

	// ids of key pairs to attach
	KeyPairID []string `json:"key_pair_id"`

	// ids of node to attached
	NodeID []string `json:"node_id"`
}

OpenpitrixAttachKeyPairsRequest openpitrix attach key pairs request swagger:model openpitrixAttachKeyPairsRequest

func (*OpenpitrixAttachKeyPairsRequest) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixAttachKeyPairsRequest) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixAttachKeyPairsRequest) Validate ¶ added in v0.1.7

Validate validates this openpitrix attach key pairs request

type OpenpitrixAttachKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixAttachKeyPairsResponse struct {

	// ids of jobs of attach key pair
	JobID []string `json:"job_id"`
}

OpenpitrixAttachKeyPairsResponse openpitrix attach key pairs response swagger:model openpitrixAttachKeyPairsResponse

func (*OpenpitrixAttachKeyPairsResponse) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixAttachKeyPairsResponse) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixAttachKeyPairsResponse) Validate ¶ added in v0.1.7

Validate validates this openpitrix attach key pairs response

type OpenpitrixAttachment ¶ added in v0.4.0

type OpenpitrixAttachment struct {

	// filename map to content
	AttachmentContent map[string]strfmt.Base64 `json:"attachment_content,omitempty"`

	// attachment id
	AttachmentID string `json:"attachment_id,omitempty"`

	// the time attachment create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`
}

OpenpitrixAttachment openpitrix attachment swagger:model openpitrixAttachment

func (*OpenpitrixAttachment) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixAttachment) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixAttachment) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix attachment

type OpenpitrixBasicConfig ¶ added in v0.4.0

type OpenpitrixBasicConfig struct {

	// platform name
	PlatformName string `json:"platform_name,omitempty"`

	// platform url
	PlatformURL string `json:"platform_url,omitempty"`
}

OpenpitrixBasicConfig openpitrix basic config swagger:model openpitrixBasicConfig

func (*OpenpitrixBasicConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixBasicConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixBasicConfig) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix basic config

type OpenpitrixBindUserRoleRequest ¶ added in v0.4.0

type OpenpitrixBindUserRoleRequest struct {

	// required, ids of role for user to bind with
	RoleID []string `json:"role_id"`

	// required, ids of user to bind
	UserID []string `json:"user_id"`
}

OpenpitrixBindUserRoleRequest openpitrix bind user role request swagger:model openpitrixBindUserRoleRequest

func (*OpenpitrixBindUserRoleRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixBindUserRoleRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixBindUserRoleRequest) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix bind user role request

type OpenpitrixBindUserRoleResponse ¶ added in v0.4.0

type OpenpitrixBindUserRoleResponse struct {

	// ids of role for user to bind with
	RoleID []string `json:"role_id"`

	// ids of user bind
	UserID []string `json:"user_id"`
}

OpenpitrixBindUserRoleResponse openpitrix bind user role response swagger:model openpitrixBindUserRoleResponse

func (*OpenpitrixBindUserRoleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixBindUserRoleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixBindUserRoleResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix bind user role response

type OpenpitrixCanDoRequest ¶ added in v0.4.0

type OpenpitrixCanDoRequest struct {

	// rpc method eg.[Token|CanDo|...]
	APIMethod string `json:"api_method,omitempty"`

	// required, request uri
	URL string `json:"url,omitempty"`

	// required, url method, http verb
	URLMethod string `json:"url_method,omitempty"`

	// required, id of user to check whether has permission
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCanDoRequest openpitrix can do request swagger:model openpitrixCanDoRequest

func (*OpenpitrixCanDoRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCanDoRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCanDoRequest) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix can do request

type OpenpitrixCanDoResponse ¶ added in v0.4.0

type OpenpitrixCanDoResponse struct {

	// access path of user
	AccessPath string `json:"access_path,omitempty"`

	// owner path of user, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// id of user to check whether has permission
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCanDoResponse openpitrix can do response swagger:model openpitrixCanDoResponse

func (*OpenpitrixCanDoResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCanDoResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCanDoResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix can do response

type OpenpitrixCancelAppVersionRequest ¶ added in v0.2.1

type OpenpitrixCancelAppVersionRequest struct {

	// required, id of version to cancel
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCancelAppVersionRequest openpitrix cancel app version request swagger:model openpitrixCancelAppVersionRequest

func (*OpenpitrixCancelAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixCancelAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixCancelAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix cancel app version request

type OpenpitrixCancelAppVersionResponse ¶ added in v0.2.1

type OpenpitrixCancelAppVersionResponse struct {

	// required, id of version canceled
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCancelAppVersionResponse openpitrix cancel app version response swagger:model openpitrixCancelAppVersionResponse

func (*OpenpitrixCancelAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixCancelAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixCancelAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix cancel app version response

type OpenpitrixCategory ¶

type OpenpitrixCategory struct {

	// category id
	CategoryID string `json:"category_id,omitempty"`

	// the time when category create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// category icon
	Icon string `json:"icon,omitempty"`

	// the i18n of this category, json format, sample: {"zh_cn": "数据库", "en": "database"}
	Locale string `json:"locale,omitempty"`

	// category name,app belong to a category,eg.[AI|Firewall|cache|...]
	Name string `json:"name,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// the time when category update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`
}

OpenpitrixCategory openpitrix category swagger:model openpitrixCategory

func (*OpenpitrixCategory) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCategory) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCategory) Validate ¶

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

Validate validates this openpitrix category

type OpenpitrixCeaseClustersRequest ¶

type OpenpitrixCeaseClustersRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, ids of cluster to cease
	ClusterID []string `json:"cluster_id"`

	// whether force delete clusters or not
	Force bool `json:"force,omitempty"`

	// timeout(s), when delete clusters
	GracePeriod int64 `json:"grace_period,omitempty"`
}

OpenpitrixCeaseClustersRequest openpitrix cease clusters request swagger:model openpitrixCeaseClustersRequest

func (*OpenpitrixCeaseClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCeaseClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCeaseClustersRequest) Validate ¶

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

Validate validates this openpitrix cease clusters request

type OpenpitrixCeaseClustersResponse ¶

type OpenpitrixCeaseClustersResponse struct {

	// ids of cluster ceased
	ClusterID []string `json:"cluster_id"`

	// ids of job of cease cluster
	JobID []string `json:"job_id"`
}

OpenpitrixCeaseClustersResponse openpitrix cease clusters response swagger:model openpitrixCeaseClustersResponse

func (*OpenpitrixCeaseClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCeaseClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCeaseClustersResponse) Validate ¶

Validate validates this openpitrix cease clusters response

type OpenpitrixChangePasswordRequest ¶ added in v0.2.3

type OpenpitrixChangePasswordRequest struct {

	// required, new password for reset
	NewPassword string `json:"new_password,omitempty"`

	// required, reset id
	ResetID string `json:"reset_id,omitempty"`
}

OpenpitrixChangePasswordRequest openpitrix change password request swagger:model openpitrixChangePasswordRequest

func (*OpenpitrixChangePasswordRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixChangePasswordRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixChangePasswordRequest) Validate ¶ added in v0.2.3

Validate validates this openpitrix change password request

type OpenpitrixChangePasswordResponse ¶ added in v0.2.3

type OpenpitrixChangePasswordResponse struct {

	// id of user that changed password
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixChangePasswordResponse openpitrix change password response swagger:model openpitrixChangePasswordResponse

func (*OpenpitrixChangePasswordResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixChangePasswordResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixChangePasswordResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix change password response

type OpenpitrixCheckResourceResponse ¶ added in v0.4.0

type OpenpitrixCheckResourceResponse struct {

	// check ok or not
	Ok bool `json:"ok,omitempty"`
}

OpenpitrixCheckResourceResponse openpitrix check resource response swagger:model openpitrixCheckResourceResponse

func (*OpenpitrixCheckResourceResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCheckResourceResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCheckResourceResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix check resource response

type OpenpitrixCluster ¶

type OpenpitrixCluster struct {

	// additional info
	AdditionalInfo string `json:"additional_info,omitempty"`

	// id of app run in cluster
	AppID string `json:"app_id,omitempty"`

	// cluster common set
	ClusterCommonSet OpenpitrixClusterClusterCommonSet `json:"cluster_common_set"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster link set
	ClusterLinkSet OpenpitrixClusterClusterLinkSet `json:"cluster_link_set"`

	// cluster loadbalancer set
	ClusterLoadbalancerSet OpenpitrixClusterClusterLoadbalancerSet `json:"cluster_loadbalancer_set"`

	// cluster node set
	ClusterNodeSet OpenpitrixClusterClusterNodeSet `json:"cluster_node_set"`

	// cluster role set
	ClusterRoleSet OpenpitrixClusterClusterRoleSet `json:"cluster_role_set"`

	// cluster type, frontgate or normal cluster
	ClusterType int64 `json:"cluster_type,omitempty"`

	// the time when cluster create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// cluster used to debug or not
	Debug bool `json:"debug,omitempty"`

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

	// endpoint of cluster
	Endpoints string `json:"endpoints,omitempty"`

	// cluster env
	Env string `json:"env,omitempty"`

	// frontgate id, a proxy for vpc to communicate
	FrontgateID string `json:"frontgate_id,omitempty"`

	// global uuid
	GlobalUUID string `json:"global_uuid,omitempty"`

	// metadata root access
	MetadataRootAccess bool `json:"metadata_root_access,omitempty"`

	// cluster name
	Name string `json:"name,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// cluster runtime id
	RuntimeID string `json:"runtime_id,omitempty"`

	// cluster status eg.[active|used|enabled|disabled|deleted|stopped|ceased]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// subnet id, cluster run in a subnet
	SubnetID string `json:"subnet_id,omitempty"`

	// cluster transition status eg.[creating|deleting|upgrading|updating|rollbacking|stopping|starting|recovering|ceasing|resizing|scaling]
	TransitionStatus string `json:"transition_status,omitempty"`

	// upgrade status, unused
	UpgradeStatus string `json:"upgrade_status,omitempty"`

	// cluster upgraded time
	UpgradeTime strfmt.DateTime `json:"upgrade_time,omitempty"`

	// id of version of app run in cluster
	VersionID string `json:"version_id,omitempty"`

	// vpc id, a vpc contain one more subnet
	VpcID string `json:"vpc_id,omitempty"`

	// zone of cluster eg.[pek3a|pek3b]
	Zone string `json:"zone,omitempty"`
}

OpenpitrixCluster openpitrix cluster swagger:model openpitrixCluster

func (*OpenpitrixCluster) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCluster) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCluster) Validate ¶

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

Validate validates this openpitrix cluster

type OpenpitrixClusterClusterCommonSet ¶

type OpenpitrixClusterClusterCommonSet []*OpenpitrixClusterCommon

OpenpitrixClusterClusterCommonSet list of cluster common swagger:model openpitrixClusterClusterCommonSet

func (OpenpitrixClusterClusterCommonSet) Validate ¶

Validate validates this openpitrix cluster cluster common set

type OpenpitrixClusterClusterLinkSet ¶

type OpenpitrixClusterClusterLinkSet []*OpenpitrixClusterLink

OpenpitrixClusterClusterLinkSet list of cluster link swagger:model openpitrixClusterClusterLinkSet

func (OpenpitrixClusterClusterLinkSet) Validate ¶

Validate validates this openpitrix cluster cluster link set

type OpenpitrixClusterClusterLoadbalancerSet ¶

type OpenpitrixClusterClusterLoadbalancerSet []*OpenpitrixClusterLoadbalancer

OpenpitrixClusterClusterLoadbalancerSet lister of cluster loadbalancer swagger:model openpitrixClusterClusterLoadbalancerSet

func (OpenpitrixClusterClusterLoadbalancerSet) Validate ¶

Validate validates this openpitrix cluster cluster loadbalancer set

type OpenpitrixClusterClusterNodeSet ¶

type OpenpitrixClusterClusterNodeSet []*OpenpitrixClusterNode

OpenpitrixClusterClusterNodeSet list of cluster node swagger:model openpitrixClusterClusterNodeSet

func (OpenpitrixClusterClusterNodeSet) Validate ¶

Validate validates this openpitrix cluster cluster node set

type OpenpitrixClusterClusterRoleSet ¶

type OpenpitrixClusterClusterRoleSet []*OpenpitrixClusterRole

OpenpitrixClusterClusterRoleSet list of cluster role swagger:model openpitrixClusterClusterRoleSet

func (OpenpitrixClusterClusterRoleSet) Validate ¶

Validate validates this openpitrix cluster cluster role set

type OpenpitrixClusterCommon ¶

type OpenpitrixClusterCommon struct {

	// action of cluster support.eg.[change_vxnet|scale_horizontal]
	AdvancedActions string `json:"advanced_actions,omitempty"`

	// agent install or not
	AgentInstalled bool `json:"agent_installed,omitempty"`

	// policy of backup
	BackupPolicy string `json:"backup_policy,omitempty"`

	// backup service config, a json string
	BackupService string `json:"backup_service,omitempty"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// custom metadata script, a json string
	CustomMetadataScript string `json:"custom_metadata_script,omitempty"`

	// custom service config, a json string
	CustomService string `json:"custom_service,omitempty"`

	// delete snapshot service config, a json string
	DeleteSnapshotService string `json:"delete_snapshot_service,omitempty"`

	// destroy service config, a json string
	DestroyService string `json:"destroy_service,omitempty"`

	// health check config,a json string
	HealthCheck string `json:"health_check,omitempty"`

	// hypervisor.eg.[docker|kvm|...]
	Hypervisor string `json:"hypervisor,omitempty"`

	// image id
	ImageID string `json:"image_id,omitempty"`

	// support incremental backup or not
	IncrementalBackupSupported bool `json:"incremental_backup_supported,omitempty"`

	// init service config, a json string
	InitService string `json:"init_service,omitempty"`

	// monitor config,a json string
	Monitor string `json:"monitor,omitempty"`

	// passphraseless
	Passphraseless string `json:"passphraseless,omitempty"`

	// restart service config, a json string
	RestartService string `json:"restart_service,omitempty"`

	// restore service config, a json string
	RestoreService string `json:"restore_service,omitempty"`

	// cluster role
	Role string `json:"role,omitempty"`

	// scale in service config, a json string
	ScaleInService string `json:"scale_in_service,omitempty"`

	// scale out service config, a json string
	ScaleOutService string `json:"scale_out_service,omitempty"`

	// bound of server id(index number), some service(zookeeper) need the index to be bounded
	ServerIDUpperBound int64 `json:"server_id_upper_bound,omitempty"`

	// start service config, a json string
	StartService string `json:"start_service,omitempty"`

	// stop service config, a json string
	StopService string `json:"stop_service,omitempty"`

	// upgrade service config, a json string
	UpgradeService string `json:"upgrade_service,omitempty"`

	// vertical scaling policy.eg.[parallel|sequential]
	VerticalScalingPolicy string `json:"vertical_scaling_policy,omitempty"`
}

OpenpitrixClusterCommon openpitrix cluster common swagger:model openpitrixClusterCommon

func (*OpenpitrixClusterCommon) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixClusterCommon) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixClusterCommon) Validate ¶

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

Validate validates this openpitrix cluster common

type OpenpitrixClusterLink struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// external cluster id
	ExternalClusterID string `json:"external_cluster_id,omitempty"`

	// cluster link name eg.[mysql|wordpress|...]
	Name string `json:"name,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`
}

OpenpitrixClusterLink openpitrix cluster link swagger:model openpitrixClusterLink

func (*OpenpitrixClusterLink) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixClusterLink) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixClusterLink) Validate ¶

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

Validate validates this openpitrix cluster link

type OpenpitrixClusterLoadbalancer ¶

type OpenpitrixClusterLoadbalancer struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// listener id
	LoadbalancerListenerID string `json:"loadbalancer_listener_id,omitempty"`

	// policy id
	LoadbalancerPolicyID string `json:"loadbalancer_policy_id,omitempty"`

	// port
	LoadbalancerPort int64 `json:"loadbalancer_port,omitempty"`

	// role of balancer
	Role string `json:"role,omitempty"`
}

OpenpitrixClusterLoadbalancer openpitrix cluster loadbalancer swagger:model openpitrixClusterLoadbalancer

func (*OpenpitrixClusterLoadbalancer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixClusterLoadbalancer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixClusterLoadbalancer) Validate ¶

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

Validate validates this openpitrix cluster loadbalancer

type OpenpitrixClusterNode ¶

type OpenpitrixClusterNode struct {

	// auto backup or not
	AutoBackup bool `json:"auto_backup,omitempty"`

	// cluster common info
	ClusterCommon *OpenpitrixClusterCommon `json:"cluster_common,omitempty"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// cluster role
	ClusterRole *OpenpitrixClusterRole `json:"cluster_role,omitempty"`

	// the time when cluster node create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// custom metadata
	CustomMetadata string `json:"custom_metadata,omitempty"`

	// device
	Device string `json:"device,omitempty"`

	// elastic ip, if attach ip
	Eip string `json:"eip,omitempty"`

	// global server id
	GlobalServerID int64 `json:"global_server_id,omitempty"`

	// group id
	GroupID int64 `json:"group_id,omitempty"`

	// health status default empty eg.[healthy|unhealthy|""]
	HealthStatus string `json:"health_status,omitempty"`

	// host id
	HostID string `json:"host_id,omitempty"`

	// host ip
	HostIP string `json:"host_ip,omitempty"`

	// instance id
	InstanceID string `json:"instance_id,omitempty"`

	// backup or not
	IsBackup bool `json:"is_backup,omitempty"`

	// list of ssh key pair id
	KeyPairID []string `json:"key_pair_id"`

	// name, default empty
	Name string `json:"name,omitempty"`

	// cluster node(cluster contain one more node) id
	NodeID string `json:"node_id,omitempty"`

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

	// own path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// private ip
	PrivateIP string `json:"private_ip,omitempty"`

	// public key
	PubKey string `json:"pub_key,omitempty"`

	// role eg.[wordpress|mysql|...]
	Role string `json:"role,omitempty"`

	// server id
	ServerID int64 `json:"server_id,omitempty"`

	// status eg.[active|used|enabled|disabled|deleted|stopped|ceased|successful|failed]
	Status string `json:"status,omitempty"`

	// record cluster node status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// subnet id
	SubnetID string `json:"subnet_id,omitempty"`

	// transition status eg.[creating|deleting|upgrading|updating|rollbacking|stopping|starting|recovering|ceasing|resizing|scaling]
	TransitionStatus string `json:"transition_status,omitempty"`

	// volume id, if mount volume
	VolumeID string `json:"volume_id,omitempty"`
}

OpenpitrixClusterNode openpitrix cluster node swagger:model openpitrixClusterNode

func (*OpenpitrixClusterNode) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixClusterNode) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixClusterNode) Validate ¶

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

Validate validates this openpitrix cluster node

type OpenpitrixClusterRole ¶

type OpenpitrixClusterRole struct {

	// api version
	APIVersion string `json:"api_version,omitempty"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// number of cpu
	CPU int64 `json:"cpu,omitempty"`

	// env of cluster
	Env string `json:"env,omitempty"`

	// file system eg.[ext|ext4|...]
	FileSystem string `json:"file_system,omitempty"`

	// number of gpu
	Gpu int64 `json:"gpu,omitempty"`

	// size of instance
	InstanceSize int64 `json:"instance_size,omitempty"`

	// size of memory
	Memory int64 `json:"memory,omitempty"`

	// mount_options
	MountOptions string `json:"mount_options,omitempty"`

	// mount point, a dir.eg.[/data]
	MountPoint string `json:"mount_point,omitempty"`

	// number of replica on ready
	ReadyReplicas int64 `json:"ready_replicas,omitempty"`

	// number of replica
	Replicas int64 `json:"replicas,omitempty"`

	// role.eg.[wordpress|mysql|...]
	Role string `json:"role,omitempty"`

	// size of storage
	StorageSize int64 `json:"storage_size,omitempty"`
}

OpenpitrixClusterRole openpitrix cluster role swagger:model openpitrixClusterRole

func (*OpenpitrixClusterRole) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixClusterRole) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixClusterRole) Validate ¶

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

Validate validates this openpitrix cluster role

type OpenpitrixCreateAppRequest ¶

type OpenpitrixCreateAppRequest struct {

	// app icon
	Icon strfmt.Base64 `json:"icon,omitempty"`

	// isv
	Isv string `json:"isv,omitempty"`

	// required, app name
	Name string `json:"name,omitempty"`

	// required, version name of the app
	VersionName string `json:"version_name,omitempty"`

	// required, version with specific app package
	VersionPackage strfmt.Base64 `json:"version_package,omitempty"`

	// optional, vmbased/helm
	VersionType string `json:"version_type,omitempty"`
}

OpenpitrixCreateAppRequest openpitrix create app request swagger:model openpitrixCreateAppRequest

func (*OpenpitrixCreateAppRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateAppRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateAppRequest) Validate ¶

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

Validate validates this openpitrix create app request

type OpenpitrixCreateAppResponse ¶

type OpenpitrixCreateAppResponse struct {

	// app id
	AppID string `json:"app_id,omitempty"`

	// version id of the app
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCreateAppResponse openpitrix create app response swagger:model openpitrixCreateAppResponse

func (*OpenpitrixCreateAppResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateAppResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateAppResponse) Validate ¶

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

Validate validates this openpitrix create app response

type OpenpitrixCreateAppVersionRequest ¶

type OpenpitrixCreateAppVersionRequest struct {

	// required, id of app to create new version
	AppID string `json:"app_id,omitempty"`

	// description of app of specific version
	Description string `json:"description,omitempty"`

	// required, version name eg.[0.1.0|0.1.3|...]
	Name string `json:"name,omitempty"`

	// package of app of specific version
	Package strfmt.Base64 `json:"package,omitempty"`

	// optional: vmbased/helm
	Type string `json:"type,omitempty"`
}

OpenpitrixCreateAppVersionRequest openpitrix create app version request swagger:model openpitrixCreateAppVersionRequest

func (*OpenpitrixCreateAppVersionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateAppVersionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateAppVersionRequest) Validate ¶

Validate validates this openpitrix create app version request

type OpenpitrixCreateAppVersionResponse ¶

type OpenpitrixCreateAppVersionResponse struct {

	// version id
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCreateAppVersionResponse openpitrix create app version response swagger:model openpitrixCreateAppVersionResponse

func (*OpenpitrixCreateAppVersionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateAppVersionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateAppVersionResponse) Validate ¶

Validate validates this openpitrix create app version response

type OpenpitrixCreateAttachmentResponse ¶ added in v0.4.0

type OpenpitrixCreateAttachmentResponse struct {

	// attachment id
	AttachmentID string `json:"attachment_id,omitempty"`

	// file name
	Filename []string `json:"filename"`
}

OpenpitrixCreateAttachmentResponse openpitrix create attachment response swagger:model openpitrixCreateAttachmentResponse

func (*OpenpitrixCreateAttachmentResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCreateAttachmentResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateAttachmentResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix create attachment response

type OpenpitrixCreateCategoryRequest ¶

type OpenpitrixCreateCategoryRequest struct {

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

	// category icon
	Icon strfmt.Base64 `json:"icon,omitempty"`

	// the i18n of this category, json format, sample: {"zh_cn": "数据库", "en": "database"}
	Locale string `json:"locale,omitempty"`

	// required, category name
	Name string `json:"name,omitempty"`
}

OpenpitrixCreateCategoryRequest openpitrix create category request swagger:model openpitrixCreateCategoryRequest

func (*OpenpitrixCreateCategoryRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateCategoryRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateCategoryRequest) Validate ¶

Validate validates this openpitrix create category request

type OpenpitrixCreateCategoryResponse ¶

type OpenpitrixCreateCategoryResponse struct {

	// id of category created
	CategoryID string `json:"category_id,omitempty"`
}

OpenpitrixCreateCategoryResponse openpitrix create category response swagger:model openpitrixCreateCategoryResponse

func (*OpenpitrixCreateCategoryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateCategoryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateCategoryResponse) Validate ¶

Validate validates this openpitrix create category response

type OpenpitrixCreateClientRequest ¶ added in v0.2.3

type OpenpitrixCreateClientRequest struct {

	// required, user id for create client
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCreateClientRequest openpitrix create client request swagger:model openpitrixCreateClientRequest

func (*OpenpitrixCreateClientRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateClientRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateClientRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create client request

type OpenpitrixCreateClientResponse ¶ added in v0.2.3

type OpenpitrixCreateClientResponse struct {

	// client id of user
	ClientID string `json:"client_id,omitempty"`

	// client secret,used for validate client credentials
	ClientSecret string `json:"client_secret,omitempty"`

	// user id of client
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCreateClientResponse openpitrix create client response swagger:model openpitrixCreateClientResponse

func (*OpenpitrixCreateClientResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateClientResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateClientResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create client response

type OpenpitrixCreateClusterRequest ¶

type OpenpitrixCreateClusterRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of app to run in cluster
	AppID string `json:"app_id,omitempty"`

	// required, conf a json string, include cpu, memory info of cluster
	Conf string `json:"conf,omitempty"`

	// required, id of runtime
	RuntimeID string `json:"runtime_id,omitempty"`

	// required, id of app version
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCreateClusterRequest openpitrix create cluster request swagger:model openpitrixCreateClusterRequest

func (*OpenpitrixCreateClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateClusterRequest) Validate ¶

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

Validate validates this openpitrix create cluster request

type OpenpitrixCreateClusterResponse ¶

type OpenpitrixCreateClusterResponse struct {

	// id of cluster created
	ClusterID string `json:"cluster_id,omitempty"`

	// id of job
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixCreateClusterResponse openpitrix create cluster response swagger:model openpitrixCreateClusterResponse

func (*OpenpitrixCreateClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateClusterResponse) Validate ¶

Validate validates this openpitrix create cluster response

type OpenpitrixCreateGroupRequest ¶ added in v0.2.3

type OpenpitrixCreateGroupRequest struct {

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

	// required, group name
	Name string `json:"name,omitempty"`

	// required, parent group id
	ParentGroupID string `json:"parent_group_id,omitempty"`
}

OpenpitrixCreateGroupRequest openpitrix create group request swagger:model openpitrixCreateGroupRequest

func (*OpenpitrixCreateGroupRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateGroupRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateGroupRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create group request

type OpenpitrixCreateGroupResponse ¶ added in v0.2.3

type OpenpitrixCreateGroupResponse struct {

	// id of group created
	GroupID string `json:"group_id,omitempty"`
}

OpenpitrixCreateGroupResponse openpitrix create group response swagger:model openpitrixCreateGroupResponse

func (*OpenpitrixCreateGroupResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateGroupResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateGroupResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create group response

type OpenpitrixCreateJobResponse ¶

type OpenpitrixCreateJobResponse struct {

	// id of app deploy in cluster
	AppID string `json:"app_id,omitempty"`

	// id of cluster run job
	ClusterID string `json:"cluster_id,omitempty"`

	// id of job created
	JobID string `json:"job_id,omitempty"`

	// id of runtime of cluster
	RuntimeID string `json:"runtime_id,omitempty"`

	// id of specific app version
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixCreateJobResponse openpitrix create job response swagger:model openpitrixCreateJobResponse

func (*OpenpitrixCreateJobResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateJobResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateJobResponse) Validate ¶

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

Validate validates this openpitrix create job response

type OpenpitrixCreateKeyPairRequest ¶ added in v0.1.7

type OpenpitrixCreateKeyPairRequest struct {

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

	// keypair name
	Name string `json:"name,omitempty"`

	// public key
	PubKey string `json:"pub_key,omitempty"`
}

OpenpitrixCreateKeyPairRequest openpitrix create key pair request swagger:model openpitrixCreateKeyPairRequest

func (*OpenpitrixCreateKeyPairRequest) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixCreateKeyPairRequest) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateKeyPairRequest) Validate ¶ added in v0.1.7

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

Validate validates this openpitrix create key pair request

type OpenpitrixCreateKeyPairResponse ¶ added in v0.1.7

type OpenpitrixCreateKeyPairResponse struct {

	// id of key pair created
	KeyPairID string `json:"key_pair_id,omitempty"`
}

OpenpitrixCreateKeyPairResponse openpitrix create key pair response swagger:model openpitrixCreateKeyPairResponse

func (*OpenpitrixCreateKeyPairResponse) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixCreateKeyPairResponse) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateKeyPairResponse) Validate ¶ added in v0.1.7

Validate validates this openpitrix create key pair response

type OpenpitrixCreateMarketRequest ¶ added in v0.3.3

type OpenpitrixCreateMarketRequest struct {

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

	// name
	Name string `json:"name,omitempty"`

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

OpenpitrixCreateMarketRequest openpitrix create market request swagger:model openpitrixCreateMarketRequest

func (*OpenpitrixCreateMarketRequest) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateMarketRequest) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateMarketRequest) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix create market request

type OpenpitrixCreateMarketResponse ¶ added in v0.3.3

type OpenpitrixCreateMarketResponse struct {

	// market id
	MarketID string `json:"market_id,omitempty"`
}

OpenpitrixCreateMarketResponse openpitrix create market response swagger:model openpitrixCreateMarketResponse

func (*OpenpitrixCreateMarketResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateMarketResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateMarketResponse) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix create market response

type OpenpitrixCreatePasswordResetRequest ¶ added in v0.2.3

type OpenpitrixCreatePasswordResetRequest struct {

	// required, user password
	Password string `json:"password,omitempty"`

	// required, id of user to create reset password action
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCreatePasswordResetRequest openpitrix create password reset request swagger:model openpitrixCreatePasswordResetRequest

func (*OpenpitrixCreatePasswordResetRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreatePasswordResetRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreatePasswordResetRequest) Validate ¶ added in v0.2.3

Validate validates this openpitrix create password reset request

type OpenpitrixCreatePasswordResetResponse ¶ added in v0.2.3

type OpenpitrixCreatePasswordResetResponse struct {

	// reset id, used to change password
	ResetID string `json:"reset_id,omitempty"`

	// id of user that reset password
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCreatePasswordResetResponse openpitrix create password reset response swagger:model openpitrixCreatePasswordResetResponse

func (*OpenpitrixCreatePasswordResetResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreatePasswordResetResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreatePasswordResetResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix create password reset response

type OpenpitrixCreateRepoRequest ¶

type OpenpitrixCreateRepoRequest struct {

	// required app default status.eg:[draft|active]
	AppDefaultStatus string `json:"app_default_status,omitempty"`

	// category id
	CategoryID string `json:"category_id,omitempty"`

	// required, credential of visiting the repository
	Credential string `json:"credential,omitempty"`

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

	// a kv string, tags of server
	Labels string `json:"labels,omitempty"`

	// required, repository name
	Name string `json:"name,omitempty"`

	// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Providers []string `json:"providers"`

	// selectors of label
	Selectors string `json:"selectors,omitempty"`

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

	// required, url of visiting the repository
	URL string `json:"url,omitempty"`

	// required, visibility eg:[public|private]
	Visibility string `json:"visibility,omitempty"`
}

OpenpitrixCreateRepoRequest openpitrix create repo request swagger:model openpitrixCreateRepoRequest

func (*OpenpitrixCreateRepoRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRepoRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRepoRequest) Validate ¶

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

Validate validates this openpitrix create repo request

type OpenpitrixCreateRepoResponse ¶

type OpenpitrixCreateRepoResponse struct {

	// id of repository created
	RepoID string `json:"repo_id,omitempty"`
}

OpenpitrixCreateRepoResponse openpitrix create repo response swagger:model openpitrixCreateRepoResponse

func (*OpenpitrixCreateRepoResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRepoResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRepoResponse) Validate ¶

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

Validate validates this openpitrix create repo response

type OpenpitrixCreateRoleRequest ¶ added in v0.4.0

type OpenpitrixCreateRoleRequest struct {

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

	// required, portal of role eg.[global_admin|user|isv]
	Portal string `json:"portal,omitempty"`

	// required, role name
	RoleName string `json:"role_name,omitempty"`
}

OpenpitrixCreateRoleRequest openpitrix create role request swagger:model openpitrixCreateRoleRequest

func (*OpenpitrixCreateRoleRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRoleRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRoleRequest) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix create role request

type OpenpitrixCreateRoleResponse ¶ added in v0.4.0

type OpenpitrixCreateRoleResponse struct {

	// id of role created
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixCreateRoleResponse openpitrix create role response swagger:model openpitrixCreateRoleResponse

func (*OpenpitrixCreateRoleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRoleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRoleResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix create role response

type OpenpitrixCreateRuntimeCredentialRequest ¶ added in v0.4.0

type OpenpitrixCreateRuntimeCredentialRequest struct {

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

	// runtime credential name
	Name string `json:"name,omitempty"`

	// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// required, runtime credential content, a json file
	RuntimeCredentialContent string `json:"runtime_credential_content,omitempty"`

	// required, runtime url
	RuntimeURL string `json:"runtime_url,omitempty"`
}

OpenpitrixCreateRuntimeCredentialRequest openpitrix create runtime credential request swagger:model openpitrixCreateRuntimeCredentialRequest

func (*OpenpitrixCreateRuntimeCredentialRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeCredentialRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeCredentialRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix create runtime credential request

type OpenpitrixCreateRuntimeCredentialResponse ¶ added in v0.4.0

type OpenpitrixCreateRuntimeCredentialResponse struct {

	// id of runtime credential created
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`
}

OpenpitrixCreateRuntimeCredentialResponse openpitrix create runtime credential response swagger:model openpitrixCreateRuntimeCredentialResponse

func (*OpenpitrixCreateRuntimeCredentialResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeCredentialResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeCredentialResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix create runtime credential response

type OpenpitrixCreateRuntimeRequest ¶

type OpenpitrixCreateRuntimeRequest struct {

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

	// required, runtime name
	Name string `json:"name,omitempty"`

	// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// required, runtime credential id
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`

	// required, runtime zone eg.[pek3a|pek3b|...]
	Zone string `json:"zone,omitempty"`
}

OpenpitrixCreateRuntimeRequest openpitrix create runtime request swagger:model openpitrixCreateRuntimeRequest

func (*OpenpitrixCreateRuntimeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeRequest) Validate ¶

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

Validate validates this openpitrix create runtime request

type OpenpitrixCreateRuntimeResponse ¶

type OpenpitrixCreateRuntimeResponse struct {

	// id of runtime created
	RuntimeID string `json:"runtime_id,omitempty"`
}

OpenpitrixCreateRuntimeResponse openpitrix create runtime response swagger:model openpitrixCreateRuntimeResponse

func (*OpenpitrixCreateRuntimeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateRuntimeResponse) Validate ¶

Validate validates this openpitrix create runtime response

type OpenpitrixCreateTaskResponse ¶

type OpenpitrixCreateTaskResponse struct {

	// id of job created
	JobID string `json:"job_id,omitempty"`

	// id of task created
	TaskID string `json:"task_id,omitempty"`
}

OpenpitrixCreateTaskResponse openpitrix create task response swagger:model openpitrixCreateTaskResponse

func (*OpenpitrixCreateTaskResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixCreateTaskResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateTaskResponse) Validate ¶

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

Validate validates this openpitrix create task response

type OpenpitrixCreateUserRequest ¶ added in v0.2.3

type OpenpitrixCreateUserRequest struct {

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

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

	// required, user password
	Password string `json:"password,omitempty"`

	// user phone number
	PhoneNumber string `json:"phone_number,omitempty"`

	// required, user role_id
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixCreateUserRequest openpitrix create user request swagger:model openpitrixCreateUserRequest

func (*OpenpitrixCreateUserRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateUserRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateUserRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create user request

type OpenpitrixCreateUserResponse ¶ added in v0.2.3

type OpenpitrixCreateUserResponse struct {

	// id of user created
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixCreateUserResponse openpitrix create user response swagger:model openpitrixCreateUserResponse

func (*OpenpitrixCreateUserResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixCreateUserResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixCreateUserResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix create user response

type OpenpitrixDeleteAppVersionRequest ¶ added in v0.2.1

type OpenpitrixDeleteAppVersionRequest struct {

	// required, id of version to delete
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixDeleteAppVersionRequest openpitrix delete app version request swagger:model openpitrixDeleteAppVersionRequest

func (*OpenpitrixDeleteAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix delete app version request

type OpenpitrixDeleteAppVersionResponse ¶ added in v0.2.1

type OpenpitrixDeleteAppVersionResponse struct {

	// required, id of version deleted
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixDeleteAppVersionResponse openpitrix delete app version response swagger:model openpitrixDeleteAppVersionResponse

func (*OpenpitrixDeleteAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix delete app version response

type OpenpitrixDeleteAppsRequest ¶

type OpenpitrixDeleteAppsRequest struct {

	// required, ids of app to delete
	AppID []string `json:"app_id"`
}

OpenpitrixDeleteAppsRequest openpitrix delete apps request swagger:model openpitrixDeleteAppsRequest

func (*OpenpitrixDeleteAppsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteAppsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteAppsRequest) Validate ¶

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

Validate validates this openpitrix delete apps request

type OpenpitrixDeleteAppsResponse ¶

type OpenpitrixDeleteAppsResponse struct {

	// ids of app deleted
	AppID []string `json:"app_id"`
}

OpenpitrixDeleteAppsResponse openpitrix delete apps response swagger:model openpitrixDeleteAppsResponse

func (*OpenpitrixDeleteAppsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteAppsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteAppsResponse) Validate ¶

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

Validate validates this openpitrix delete apps response

type OpenpitrixDeleteAttachmentsResponse ¶ added in v0.4.0

type OpenpitrixDeleteAttachmentsResponse struct {

	// ids of attachment deleted
	AttachmentID []string `json:"attachment_id"`

	// filename, attachment contain one more file
	Filename []string `json:"filename"`
}

OpenpitrixDeleteAttachmentsResponse openpitrix delete attachments response swagger:model openpitrixDeleteAttachmentsResponse

func (*OpenpitrixDeleteAttachmentsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteAttachmentsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteAttachmentsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix delete attachments response

type OpenpitrixDeleteCategoriesRequest ¶

type OpenpitrixDeleteCategoriesRequest struct {

	// required, ids of category to delete
	CategoryID []string `json:"category_id"`

	// if true force delete category
	Force bool `json:"force,omitempty"`
}

OpenpitrixDeleteCategoriesRequest openpitrix delete categories request swagger:model openpitrixDeleteCategoriesRequest

func (*OpenpitrixDeleteCategoriesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteCategoriesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteCategoriesRequest) Validate ¶

Validate validates this openpitrix delete categories request

type OpenpitrixDeleteCategoriesResponse ¶

type OpenpitrixDeleteCategoriesResponse struct {

	// ids of category to deleted
	CategoryID []string `json:"category_id"`
}

OpenpitrixDeleteCategoriesResponse openpitrix delete categories response swagger:model openpitrixDeleteCategoriesResponse

func (*OpenpitrixDeleteCategoriesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteCategoriesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteCategoriesResponse) Validate ¶

Validate validates this openpitrix delete categories response

type OpenpitrixDeleteClusterNodesRequest ¶

type OpenpitrixDeleteClusterNodesRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of cluster to delete node
	ClusterID string `json:"cluster_id,omitempty"`

	// required, node ids
	NodeID []string `json:"node_id"`
}

OpenpitrixDeleteClusterNodesRequest openpitrix delete cluster nodes request swagger:model openpitrixDeleteClusterNodesRequest

func (*OpenpitrixDeleteClusterNodesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteClusterNodesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteClusterNodesRequest) Validate ¶

Validate validates this openpitrix delete cluster nodes request

type OpenpitrixDeleteClusterNodesResponse ¶

type OpenpitrixDeleteClusterNodesResponse struct {

	// id of cluster deleted node
	ClusterID string `json:"cluster_id,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixDeleteClusterNodesResponse openpitrix delete cluster nodes response swagger:model openpitrixDeleteClusterNodesResponse

func (*OpenpitrixDeleteClusterNodesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteClusterNodesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteClusterNodesResponse) Validate ¶

Validate validates this openpitrix delete cluster nodes response

type OpenpitrixDeleteClustersRequest ¶

type OpenpitrixDeleteClustersRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, ids of clusters to delete
	ClusterID []string `json:"cluster_id"`

	// whether force delete clusters or not
	Force bool `json:"force,omitempty"`

	// timeout(s), when delete clusters
	GracePeriod int64 `json:"grace_period,omitempty"`
}

OpenpitrixDeleteClustersRequest openpitrix delete clusters request swagger:model openpitrixDeleteClustersRequest

func (*OpenpitrixDeleteClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteClustersRequest) Validate ¶

Validate validates this openpitrix delete clusters request

type OpenpitrixDeleteClustersResponse ¶

type OpenpitrixDeleteClustersResponse struct {

	// ids of clusters deleted
	ClusterID []string `json:"cluster_id"`

	// ids of jobs
	JobID []string `json:"job_id"`
}

OpenpitrixDeleteClustersResponse openpitrix delete clusters response swagger:model openpitrixDeleteClustersResponse

func (*OpenpitrixDeleteClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteClustersResponse) Validate ¶

Validate validates this openpitrix delete clusters response

type OpenpitrixDeleteGroupsRequest ¶ added in v0.2.3

type OpenpitrixDeleteGroupsRequest struct {

	// required, ids of group to delete
	GroupID []string `json:"group_id"`
}

OpenpitrixDeleteGroupsRequest openpitrix delete groups request swagger:model openpitrixDeleteGroupsRequest

func (*OpenpitrixDeleteGroupsRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteGroupsRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteGroupsRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix delete groups request

type OpenpitrixDeleteGroupsResponse ¶ added in v0.2.3

type OpenpitrixDeleteGroupsResponse struct {

	// ids of group deleted
	GroupID []string `json:"group_id"`
}

OpenpitrixDeleteGroupsResponse openpitrix delete groups response swagger:model openpitrixDeleteGroupsResponse

func (*OpenpitrixDeleteGroupsResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteGroupsResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteGroupsResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix delete groups response

type OpenpitrixDeleteKeyPairsRequest ¶ added in v0.1.7

type OpenpitrixDeleteKeyPairsRequest struct {

	// required, ids of key pairs to delete
	KeyPairID []string `json:"key_pair_id"`
}

OpenpitrixDeleteKeyPairsRequest openpitrix delete key pairs request swagger:model openpitrixDeleteKeyPairsRequest

func (*OpenpitrixDeleteKeyPairsRequest) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteKeyPairsRequest) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteKeyPairsRequest) Validate ¶ added in v0.1.7

Validate validates this openpitrix delete key pairs request

type OpenpitrixDeleteKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixDeleteKeyPairsResponse struct {

	// ids of key pairs deleted
	KeyPairID []string `json:"key_pair_id"`
}

OpenpitrixDeleteKeyPairsResponse openpitrix delete key pairs response swagger:model openpitrixDeleteKeyPairsResponse

func (*OpenpitrixDeleteKeyPairsResponse) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteKeyPairsResponse) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteKeyPairsResponse) Validate ¶ added in v0.1.7

Validate validates this openpitrix delete key pairs response

type OpenpitrixDeleteMarketsRequest ¶ added in v0.3.3

type OpenpitrixDeleteMarketsRequest struct {

	// market id
	MarketID []string `json:"market_id"`
}

OpenpitrixDeleteMarketsRequest openpitrix delete markets request swagger:model openpitrixDeleteMarketsRequest

func (*OpenpitrixDeleteMarketsRequest) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteMarketsRequest) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteMarketsRequest) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix delete markets request

type OpenpitrixDeleteMarketsResponse ¶ added in v0.3.3

type OpenpitrixDeleteMarketsResponse struct {

	// market id
	MarketID []string `json:"market_id"`
}

OpenpitrixDeleteMarketsResponse openpitrix delete markets response swagger:model openpitrixDeleteMarketsResponse

func (*OpenpitrixDeleteMarketsResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteMarketsResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteMarketsResponse) Validate ¶ added in v0.3.3

Validate validates this openpitrix delete markets response

type OpenpitrixDeleteNodeKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixDeleteNodeKeyPairsResponse interface{}

OpenpitrixDeleteNodeKeyPairsResponse openpitrix delete node key pairs response swagger:model openpitrixDeleteNodeKeyPairsResponse

type OpenpitrixDeleteReposRequest ¶

type OpenpitrixDeleteReposRequest struct {

	// required, ids of repository to delete
	RepoID []string `json:"repo_id"`
}

OpenpitrixDeleteReposRequest openpitrix delete repos request swagger:model openpitrixDeleteReposRequest

func (*OpenpitrixDeleteReposRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteReposRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteReposRequest) Validate ¶

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

Validate validates this openpitrix delete repos request

type OpenpitrixDeleteReposResponse ¶

type OpenpitrixDeleteReposResponse struct {

	// ids of repository deleted
	RepoID []string `json:"repo_id"`
}

OpenpitrixDeleteReposResponse openpitrix delete repos response swagger:model openpitrixDeleteReposResponse

func (*OpenpitrixDeleteReposResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteReposResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteReposResponse) Validate ¶

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

Validate validates this openpitrix delete repos response

type OpenpitrixDeleteRolesRequest ¶ added in v0.4.0

type OpenpitrixDeleteRolesRequest struct {

	// required, ids of role to delete
	RoleID []string `json:"role_id"`
}

OpenpitrixDeleteRolesRequest openpitrix delete roles request swagger:model openpitrixDeleteRolesRequest

func (*OpenpitrixDeleteRolesRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRolesRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRolesRequest) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix delete roles request

type OpenpitrixDeleteRolesResponse ¶ added in v0.4.0

type OpenpitrixDeleteRolesResponse struct {

	// ids of roles deleted
	RoleID []string `json:"role_id"`
}

OpenpitrixDeleteRolesResponse openpitrix delete roles response swagger:model openpitrixDeleteRolesResponse

func (*OpenpitrixDeleteRolesResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRolesResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRolesResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix delete roles response

type OpenpitrixDeleteRuntimeCredentialsRequest ¶ added in v0.4.0

type OpenpitrixDeleteRuntimeCredentialsRequest struct {

	// required, ids of runtime credential to delete
	RuntimeCredentialID []string `json:"runtime_credential_id"`
}

OpenpitrixDeleteRuntimeCredentialsRequest openpitrix delete runtime credentials request swagger:model openpitrixDeleteRuntimeCredentialsRequest

func (*OpenpitrixDeleteRuntimeCredentialsRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimeCredentialsRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimeCredentialsRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix delete runtime credentials request

type OpenpitrixDeleteRuntimeCredentialsResponse ¶ added in v0.4.0

type OpenpitrixDeleteRuntimeCredentialsResponse struct {

	// ids of runtime credential deleted
	RuntimeCredentialID []string `json:"runtime_credential_id"`
}

OpenpitrixDeleteRuntimeCredentialsResponse openpitrix delete runtime credentials response swagger:model openpitrixDeleteRuntimeCredentialsResponse

func (*OpenpitrixDeleteRuntimeCredentialsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimeCredentialsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimeCredentialsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix delete runtime credentials response

type OpenpitrixDeleteRuntimesRequest ¶

type OpenpitrixDeleteRuntimesRequest struct {

	// whether force delete runtime or not
	Force bool `json:"force,omitempty"`

	// timeout(s), when delete runtime
	GracePeriod int64 `json:"grace_period,omitempty"`

	// required, ids of runtime to delete
	RuntimeID []string `json:"runtime_id"`
}

OpenpitrixDeleteRuntimesRequest openpitrix delete runtimes request swagger:model openpitrixDeleteRuntimesRequest

func (*OpenpitrixDeleteRuntimesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimesRequest) Validate ¶

Validate validates this openpitrix delete runtimes request

type OpenpitrixDeleteRuntimesResponse ¶

type OpenpitrixDeleteRuntimesResponse struct {

	// ids of runtime deleted
	RuntimeID []string `json:"runtime_id"`
}

OpenpitrixDeleteRuntimesResponse openpitrix delete runtimes response swagger:model openpitrixDeleteRuntimesResponse

func (*OpenpitrixDeleteRuntimesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteRuntimesResponse) Validate ¶

Validate validates this openpitrix delete runtimes response

type OpenpitrixDeleteUsersRequest ¶ added in v0.2.3

type OpenpitrixDeleteUsersRequest struct {

	// required, ids of user to delete
	UserID []string `json:"user_id"`
}

OpenpitrixDeleteUsersRequest openpitrix delete users request swagger:model openpitrixDeleteUsersRequest

func (*OpenpitrixDeleteUsersRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteUsersRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteUsersRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix delete users request

type OpenpitrixDeleteUsersResponse ¶ added in v0.2.3

type OpenpitrixDeleteUsersResponse struct {

	// ids of deleted user
	UserID []string `json:"user_id"`
}

OpenpitrixDeleteUsersResponse openpitrix delete users response swagger:model openpitrixDeleteUsersResponse

func (*OpenpitrixDeleteUsersResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDeleteUsersResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDeleteUsersResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix delete users response

type OpenpitrixDescribeAppClustersResponse ¶ added in v0.4.0

type OpenpitrixDescribeAppClustersResponse struct {

	// cluster set
	ClusterSet OpenpitrixDescribeAppClustersResponseClusterSet `json:"cluster_set"`

	// total count of cluster of app
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeAppClustersResponse openpitrix describe app clusters response swagger:model openpitrixDescribeAppClustersResponse

func (*OpenpitrixDescribeAppClustersResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeAppClustersResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeAppClustersResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app clusters response

type OpenpitrixDescribeAppClustersResponseClusterSet ¶ added in v0.4.0

type OpenpitrixDescribeAppClustersResponseClusterSet []*OpenpitrixCluster

OpenpitrixDescribeAppClustersResponseClusterSet list of cluster swagger:model openpitrixDescribeAppClustersResponseClusterSet

func (OpenpitrixDescribeAppClustersResponseClusterSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app clusters response cluster set

type OpenpitrixDescribeAppVersionAuditsResponse ¶ added in v0.4.0

type OpenpitrixDescribeAppVersionAuditsResponse struct {

	// app version audit set
	AppVersionAuditSet OpenpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet `json:"app_version_audit_set"`

	// total count of audits of app with specific version
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeAppVersionAuditsResponse openpitrix describe app version audits response swagger:model openpitrixDescribeAppVersionAuditsResponse

func (*OpenpitrixDescribeAppVersionAuditsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionAuditsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionAuditsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app version audits response

type OpenpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet ¶ added in v0.4.0

type OpenpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet []*OpenpitrixAppVersionAudit

OpenpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet list of audit swagger:model openpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet

func (OpenpitrixDescribeAppVersionAuditsResponseAppVersionAuditSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app version audits response app version audit set

type OpenpitrixDescribeAppVersionReviewsResponse ¶ added in v0.4.0

type OpenpitrixDescribeAppVersionReviewsResponse struct {

	// app version review set
	AppVersionReviewSet OpenpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet `json:"app_version_review_set"`

	// total count of reviews of app with specific version
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeAppVersionReviewsResponse openpitrix describe app version reviews response swagger:model openpitrixDescribeAppVersionReviewsResponse

func (*OpenpitrixDescribeAppVersionReviewsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionReviewsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionReviewsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app version reviews response

type OpenpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet ¶ added in v0.4.0

type OpenpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet []*OpenpitrixAppVersionReview

OpenpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet list of reviews of app with specific version swagger:model openpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet

func (OpenpitrixDescribeAppVersionReviewsResponseAppVersionReviewSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe app version reviews response app version review set

type OpenpitrixDescribeAppVersionsResponse ¶

type OpenpitrixDescribeAppVersionsResponse struct {

	// app version set
	AppVersionSet OpenpitrixDescribeAppVersionsResponseAppVersionSet `json:"app_version_set"`

	// total count of qualified app version
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeAppVersionsResponse openpitrix describe app versions response swagger:model openpitrixDescribeAppVersionsResponse

func (*OpenpitrixDescribeAppVersionsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeAppVersionsResponse) Validate ¶

Validate validates this openpitrix describe app versions response

type OpenpitrixDescribeAppVersionsResponseAppVersionSet ¶

type OpenpitrixDescribeAppVersionsResponseAppVersionSet []*OpenpitrixAppVersion

OpenpitrixDescribeAppVersionsResponseAppVersionSet list of app vaesion swagger:model openpitrixDescribeAppVersionsResponseAppVersionSet

func (OpenpitrixDescribeAppVersionsResponseAppVersionSet) Validate ¶

Validate validates this openpitrix describe app versions response app version set

type OpenpitrixDescribeAppsResponse ¶

type OpenpitrixDescribeAppsResponse struct {

	// app set
	AppSet OpenpitrixDescribeAppsResponseAppSet `json:"app_set"`

	// total count of qualified app
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeAppsResponse openpitrix describe apps response swagger:model openpitrixDescribeAppsResponse

func (*OpenpitrixDescribeAppsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeAppsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeAppsResponse) Validate ¶

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

Validate validates this openpitrix describe apps response

type OpenpitrixDescribeAppsResponseAppSet ¶

type OpenpitrixDescribeAppsResponseAppSet []*OpenpitrixApp

OpenpitrixDescribeAppsResponseAppSet list of app swagger:model openpitrixDescribeAppsResponseAppSet

func (OpenpitrixDescribeAppsResponseAppSet) Validate ¶

Validate validates this openpitrix describe apps response app set

type OpenpitrixDescribeCategoriesResponse ¶

type OpenpitrixDescribeCategoriesResponse struct {

	// category set
	CategorySet OpenpitrixDescribeCategoriesResponseCategorySet `json:"category_set"`

	// total count of qualified category
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeCategoriesResponse openpitrix describe categories response swagger:model openpitrixDescribeCategoriesResponse

func (*OpenpitrixDescribeCategoriesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeCategoriesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeCategoriesResponse) Validate ¶

Validate validates this openpitrix describe categories response

type OpenpitrixDescribeCategoriesResponseCategorySet ¶

type OpenpitrixDescribeCategoriesResponseCategorySet []*OpenpitrixCategory

OpenpitrixDescribeCategoriesResponseCategorySet list of category swagger:model openpitrixDescribeCategoriesResponseCategorySet

func (OpenpitrixDescribeCategoriesResponseCategorySet) Validate ¶

Validate validates this openpitrix describe categories response category set

type OpenpitrixDescribeClusterDetailsResponse ¶ added in v0.4.0

type OpenpitrixDescribeClusterDetailsResponse struct {

	// cluster info
	Cluster *OpenpitrixCluster `json:"cluster,omitempty"`
}

OpenpitrixDescribeClusterDetailsResponse openpitrix describe cluster details response swagger:model openpitrixDescribeClusterDetailsResponse

func (*OpenpitrixDescribeClusterDetailsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeClusterDetailsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeClusterDetailsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe cluster details response

type OpenpitrixDescribeClusterNodesResponse ¶

type OpenpitrixDescribeClusterNodesResponse struct {

	// cluster node set
	ClusterNodeSet OpenpitrixDescribeClusterNodesResponseClusterNodeSet `json:"cluster_node_set"`

	// total count of node in the cluster
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeClusterNodesResponse openpitrix describe cluster nodes response swagger:model openpitrixDescribeClusterNodesResponse

func (*OpenpitrixDescribeClusterNodesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeClusterNodesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeClusterNodesResponse) Validate ¶

Validate validates this openpitrix describe cluster nodes response

type OpenpitrixDescribeClusterNodesResponseClusterNodeSet ¶

type OpenpitrixDescribeClusterNodesResponseClusterNodeSet []*OpenpitrixClusterNode

OpenpitrixDescribeClusterNodesResponseClusterNodeSet list of cluster node swagger:model openpitrixDescribeClusterNodesResponseClusterNodeSet

func (OpenpitrixDescribeClusterNodesResponseClusterNodeSet) Validate ¶

Validate validates this openpitrix describe cluster nodes response cluster node set

type OpenpitrixDescribeClustersResponse ¶

type OpenpitrixDescribeClustersResponse struct {

	// cluster set
	ClusterSet OpenpitrixDescribeClustersResponseClusterSet `json:"cluster_set"`

	// total count of qualified cluster
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeClustersResponse openpitrix describe clusters response swagger:model openpitrixDescribeClustersResponse

func (*OpenpitrixDescribeClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeClustersResponse) Validate ¶

Validate validates this openpitrix describe clusters response

type OpenpitrixDescribeClustersResponseClusterSet ¶

type OpenpitrixDescribeClustersResponseClusterSet []*OpenpitrixCluster

OpenpitrixDescribeClustersResponseClusterSet list of cluster swagger:model openpitrixDescribeClustersResponseClusterSet

func (OpenpitrixDescribeClustersResponseClusterSet) Validate ¶

Validate validates this openpitrix describe clusters response cluster set

type OpenpitrixDescribeGroupsDetailResponse ¶ added in v0.4.0

type OpenpitrixDescribeGroupsDetailResponse struct {

	// group detail set
	GroupDetailSet OpenpitrixDescribeGroupsDetailResponseGroupDetailSet `json:"group_detail_set"`

	// total count of group with detail info
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeGroupsDetailResponse openpitrix describe groups detail response swagger:model openpitrixDescribeGroupsDetailResponse

func (*OpenpitrixDescribeGroupsDetailResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeGroupsDetailResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeGroupsDetailResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe groups detail response

type OpenpitrixDescribeGroupsDetailResponseGroupDetailSet ¶ added in v0.4.0

type OpenpitrixDescribeGroupsDetailResponseGroupDetailSet []*OpenpitrixGroupDetail

OpenpitrixDescribeGroupsDetailResponseGroupDetailSet list of group with detail info swagger:model openpitrixDescribeGroupsDetailResponseGroupDetailSet

func (OpenpitrixDescribeGroupsDetailResponseGroupDetailSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe groups detail response group detail set

type OpenpitrixDescribeGroupsResponse ¶ added in v0.2.3

type OpenpitrixDescribeGroupsResponse struct {

	// group set
	GroupSet OpenpitrixDescribeGroupsResponseGroupSet `json:"group_set"`

	// total count of qualified group
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeGroupsResponse openpitrix describe groups response swagger:model openpitrixDescribeGroupsResponse

func (*OpenpitrixDescribeGroupsResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeGroupsResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeGroupsResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix describe groups response

type OpenpitrixDescribeGroupsResponseGroupSet ¶ added in v0.2.3

type OpenpitrixDescribeGroupsResponseGroupSet []*OpenpitrixGroup

OpenpitrixDescribeGroupsResponseGroupSet list of group swagger:model openpitrixDescribeGroupsResponseGroupSet

func (OpenpitrixDescribeGroupsResponseGroupSet) Validate ¶ added in v0.2.3

Validate validates this openpitrix describe groups response group set

type OpenpitrixDescribeJobsResponse ¶

type OpenpitrixDescribeJobsResponse struct {

	// job set
	JobSet OpenpitrixDescribeJobsResponseJobSet `json:"job_set"`

	// total count of job
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeJobsResponse openpitrix describe jobs response swagger:model openpitrixDescribeJobsResponse

func (*OpenpitrixDescribeJobsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeJobsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeJobsResponse) Validate ¶

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

Validate validates this openpitrix describe jobs response

type OpenpitrixDescribeJobsResponseJobSet ¶

type OpenpitrixDescribeJobsResponseJobSet []*OpenpitrixJob

OpenpitrixDescribeJobsResponseJobSet list of job swagger:model openpitrixDescribeJobsResponseJobSet

func (OpenpitrixDescribeJobsResponseJobSet) Validate ¶

Validate validates this openpitrix describe jobs response job set

type OpenpitrixDescribeKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixDescribeKeyPairsResponse struct {

	// key pair set
	KeyPairSet OpenpitrixDescribeKeyPairsResponseKeyPairSet `json:"key_pair_set"`

	// total count of qualified key pair
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeKeyPairsResponse openpitrix describe key pairs response swagger:model openpitrixDescribeKeyPairsResponse

func (*OpenpitrixDescribeKeyPairsResponse) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeKeyPairsResponse) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeKeyPairsResponse) Validate ¶ added in v0.1.7

Validate validates this openpitrix describe key pairs response

type OpenpitrixDescribeKeyPairsResponseKeyPairSet ¶ added in v0.1.7

type OpenpitrixDescribeKeyPairsResponseKeyPairSet []*OpenpitrixKeyPair

OpenpitrixDescribeKeyPairsResponseKeyPairSet list of key pair swagger:model openpitrixDescribeKeyPairsResponseKeyPairSet

func (OpenpitrixDescribeKeyPairsResponseKeyPairSet) Validate ¶ added in v0.1.7

Validate validates this openpitrix describe key pairs response key pair set

type OpenpitrixDescribeMarketUsersResponse ¶ added in v0.3.3

type OpenpitrixDescribeMarketUsersResponse struct {

	// market user set
	MarketUserSet OpenpitrixDescribeMarketUsersResponseMarketUserSet `json:"market_user_set"`

	// total count
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeMarketUsersResponse openpitrix describe market users response swagger:model openpitrixDescribeMarketUsersResponse

func (*OpenpitrixDescribeMarketUsersResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeMarketUsersResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeMarketUsersResponse) Validate ¶ added in v0.3.3

Validate validates this openpitrix describe market users response

type OpenpitrixDescribeMarketUsersResponseMarketUserSet ¶ added in v0.3.3

type OpenpitrixDescribeMarketUsersResponseMarketUserSet []*OpenpitrixMarketUser

OpenpitrixDescribeMarketUsersResponseMarketUserSet openpitrix describe market users response market user set swagger:model openpitrixDescribeMarketUsersResponseMarketUserSet

func (OpenpitrixDescribeMarketUsersResponseMarketUserSet) Validate ¶ added in v0.3.3

Validate validates this openpitrix describe market users response market user set

type OpenpitrixDescribeMarketsResponse ¶ added in v0.3.3

type OpenpitrixDescribeMarketsResponse struct {

	// market set
	MarketSet OpenpitrixDescribeMarketsResponseMarketSet `json:"market_set"`

	// total count
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeMarketsResponse openpitrix describe markets response swagger:model openpitrixDescribeMarketsResponse

func (*OpenpitrixDescribeMarketsResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeMarketsResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeMarketsResponse) Validate ¶ added in v0.3.3

Validate validates this openpitrix describe markets response

type OpenpitrixDescribeMarketsResponseMarketSet ¶ added in v0.3.3

type OpenpitrixDescribeMarketsResponseMarketSet []*OpenpitrixMarket

OpenpitrixDescribeMarketsResponseMarketSet openpitrix describe markets response market set swagger:model openpitrixDescribeMarketsResponseMarketSet

func (OpenpitrixDescribeMarketsResponseMarketSet) Validate ¶ added in v0.3.3

Validate validates this openpitrix describe markets response market set

type OpenpitrixDescribeRepoEventsResponse ¶

type OpenpitrixDescribeRepoEventsResponse struct {

	// repo event set
	RepoEventSet OpenpitrixDescribeRepoEventsResponseRepoEventSet `json:"repo_event_set"`

	// total count of repository event
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeRepoEventsResponse openpitrix describe repo events response swagger:model openpitrixDescribeRepoEventsResponse

func (*OpenpitrixDescribeRepoEventsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeRepoEventsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRepoEventsResponse) Validate ¶

Validate validates this openpitrix describe repo events response

type OpenpitrixDescribeRepoEventsResponseRepoEventSet ¶

type OpenpitrixDescribeRepoEventsResponseRepoEventSet []*OpenpitrixRepoEvent

OpenpitrixDescribeRepoEventsResponseRepoEventSet list of repository event swagger:model openpitrixDescribeRepoEventsResponseRepoEventSet

func (OpenpitrixDescribeRepoEventsResponseRepoEventSet) Validate ¶

Validate validates this openpitrix describe repo events response repo event set

type OpenpitrixDescribeReposResponse ¶

type OpenpitrixDescribeReposResponse struct {

	// repo set
	RepoSet OpenpitrixDescribeReposResponseRepoSet `json:"repo_set"`

	// total count of repository
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeReposResponse openpitrix describe repos response swagger:model openpitrixDescribeReposResponse

func (*OpenpitrixDescribeReposResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeReposResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeReposResponse) Validate ¶

Validate validates this openpitrix describe repos response

type OpenpitrixDescribeReposResponseRepoSet ¶

type OpenpitrixDescribeReposResponseRepoSet []*OpenpitrixRepo

OpenpitrixDescribeReposResponseRepoSet list of repository swagger:model openpitrixDescribeReposResponseRepoSet

func (OpenpitrixDescribeReposResponseRepoSet) Validate ¶

Validate validates this openpitrix describe repos response repo set

type OpenpitrixDescribeRolesResponse ¶ added in v0.4.0

type OpenpitrixDescribeRolesResponse struct {

	// role set
	RoleSet OpenpitrixDescribeRolesResponseRoleSet `json:"role_set"`

	// total count of roles
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeRolesResponse openpitrix describe roles response swagger:model openpitrixDescribeRolesResponse

func (*OpenpitrixDescribeRolesResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeRolesResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRolesResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe roles response

type OpenpitrixDescribeRolesResponseRoleSet ¶ added in v0.4.0

type OpenpitrixDescribeRolesResponseRoleSet []*OpenpitrixRole

OpenpitrixDescribeRolesResponseRoleSet list of role swagger:model openpitrixDescribeRolesResponseRoleSet

func (OpenpitrixDescribeRolesResponseRoleSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe roles response role set

type OpenpitrixDescribeRuntimeCredentialsResponse ¶ added in v0.4.0

type OpenpitrixDescribeRuntimeCredentialsResponse struct {

	// runtime credential set
	RuntimeCredentialSet OpenpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet `json:"runtime_credential_set"`

	// total count of runtime credential
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeRuntimeCredentialsResponse openpitrix describe runtime credentials response swagger:model openpitrixDescribeRuntimeCredentialsResponse

func (*OpenpitrixDescribeRuntimeCredentialsResponse) MarshalBinary ¶ added in v0.4.0

MarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeCredentialsResponse) UnmarshalBinary ¶ added in v0.4.0

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeCredentialsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe runtime credentials response

type OpenpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet ¶ added in v0.4.0

type OpenpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet []*OpenpitrixRuntimeCredential

OpenpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet list of runtime credential swagger:model openpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet

func (OpenpitrixDescribeRuntimeCredentialsResponseRuntimeCredentialSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe runtime credentials response runtime credential set

type OpenpitrixDescribeRuntimeDetailsResponse ¶ added in v0.1.5

type OpenpitrixDescribeRuntimeDetailsResponse struct {

	// runtime detail set
	RuntimeDetailSet OpenpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet `json:"runtime_detail_set"`

	// total count of runtime
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeRuntimeDetailsResponse openpitrix describe runtime details response swagger:model openpitrixDescribeRuntimeDetailsResponse

func (*OpenpitrixDescribeRuntimeDetailsResponse) MarshalBinary ¶ added in v0.1.5

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeDetailsResponse) UnmarshalBinary ¶ added in v0.1.5

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeDetailsResponse) Validate ¶ added in v0.1.5

Validate validates this openpitrix describe runtime details response

type OpenpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet ¶ added in v0.1.5

type OpenpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet []*OpenpitrixRuntimeDetail

OpenpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet list of runtime detail info swagger:model openpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet

func (OpenpitrixDescribeRuntimeDetailsResponseRuntimeDetailSet) Validate ¶ added in v0.1.5

Validate validates this openpitrix describe runtime details response runtime detail set

type OpenpitrixDescribeRuntimeProviderZonesResponse ¶

type OpenpitrixDescribeRuntimeProviderZonesResponse struct {

	// runtime credential id
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`

	// list of zone
	Zone []string `json:"zone"`
}

OpenpitrixDescribeRuntimeProviderZonesResponse openpitrix describe runtime provider zones response swagger:model openpitrixDescribeRuntimeProviderZonesResponse

func (*OpenpitrixDescribeRuntimeProviderZonesResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeProviderZonesResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimeProviderZonesResponse) Validate ¶

Validate validates this openpitrix describe runtime provider zones response

type OpenpitrixDescribeRuntimesResponse ¶

type OpenpitrixDescribeRuntimesResponse struct {

	// runtime set
	RuntimeSet OpenpitrixDescribeRuntimesResponseRuntimeSet `json:"runtime_set"`

	// total count of runtime
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeRuntimesResponse openpitrix describe runtimes response swagger:model openpitrixDescribeRuntimesResponse

func (*OpenpitrixDescribeRuntimesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeRuntimesResponse) Validate ¶

Validate validates this openpitrix describe runtimes response

type OpenpitrixDescribeRuntimesResponseRuntimeSet ¶

type OpenpitrixDescribeRuntimesResponseRuntimeSet []*OpenpitrixRuntime

OpenpitrixDescribeRuntimesResponseRuntimeSet list of runtime swagger:model openpitrixDescribeRuntimesResponseRuntimeSet

func (OpenpitrixDescribeRuntimesResponseRuntimeSet) Validate ¶

Validate validates this openpitrix describe runtimes response runtime set

type OpenpitrixDescribeSubnetsResponse ¶

type OpenpitrixDescribeSubnetsResponse struct {

	// subnet set
	SubnetSet OpenpitrixDescribeSubnetsResponseSubnetSet `json:"subnet_set"`

	// total count of subnet
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeSubnetsResponse openpitrix describe subnets response swagger:model openpitrixDescribeSubnetsResponse

func (*OpenpitrixDescribeSubnetsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeSubnetsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeSubnetsResponse) Validate ¶

Validate validates this openpitrix describe subnets response

type OpenpitrixDescribeSubnetsResponseSubnetSet ¶

type OpenpitrixDescribeSubnetsResponseSubnetSet []*OpenpitrixSubnet

OpenpitrixDescribeSubnetsResponseSubnetSet list of subnet swagger:model openpitrixDescribeSubnetsResponseSubnetSet

func (OpenpitrixDescribeSubnetsResponseSubnetSet) Validate ¶

Validate validates this openpitrix describe subnets response subnet set

type OpenpitrixDescribeTasksResponse ¶

type OpenpitrixDescribeTasksResponse struct {

	// task set
	TaskSet OpenpitrixDescribeTasksResponseTaskSet `json:"task_set"`

	// total count of task
	TotalCount int64 `json:"total_count,omitempty"`
}

OpenpitrixDescribeTasksResponse openpitrix describe tasks response swagger:model openpitrixDescribeTasksResponse

func (*OpenpitrixDescribeTasksResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeTasksResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeTasksResponse) Validate ¶

Validate validates this openpitrix describe tasks response

type OpenpitrixDescribeTasksResponseTaskSet ¶

type OpenpitrixDescribeTasksResponseTaskSet []*OpenpitrixTask

OpenpitrixDescribeTasksResponseTaskSet list of task swagger:model openpitrixDescribeTasksResponseTaskSet

func (OpenpitrixDescribeTasksResponseTaskSet) Validate ¶

Validate validates this openpitrix describe tasks response task set

type OpenpitrixDescribeUsersDetailResponse ¶ added in v0.4.0

type OpenpitrixDescribeUsersDetailResponse struct {

	// total count of qualified user
	TotalCount int64 `json:"total_count,omitempty"`

	// user detail set
	UserDetailSet OpenpitrixDescribeUsersDetailResponseUserDetailSet `json:"user_detail_set"`
}

OpenpitrixDescribeUsersDetailResponse openpitrix describe users detail response swagger:model openpitrixDescribeUsersDetailResponse

func (*OpenpitrixDescribeUsersDetailResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeUsersDetailResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeUsersDetailResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe users detail response

type OpenpitrixDescribeUsersDetailResponseUserDetailSet ¶ added in v0.4.0

type OpenpitrixDescribeUsersDetailResponseUserDetailSet []*OpenpitrixUserDetail

OpenpitrixDescribeUsersDetailResponseUserDetailSet list of user with detail info swagger:model openpitrixDescribeUsersDetailResponseUserDetailSet

func (OpenpitrixDescribeUsersDetailResponseUserDetailSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe users detail response user detail set

type OpenpitrixDescribeUsersResponse ¶ added in v0.2.3

type OpenpitrixDescribeUsersResponse struct {

	// total count of qualified user
	TotalCount int64 `json:"total_count,omitempty"`

	// user set
	UserSet OpenpitrixDescribeUsersResponseUserSet `json:"user_set"`
}

OpenpitrixDescribeUsersResponse openpitrix describe users response swagger:model openpitrixDescribeUsersResponse

func (*OpenpitrixDescribeUsersResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeUsersResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeUsersResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix describe users response

type OpenpitrixDescribeUsersResponseUserSet ¶ added in v0.2.3

type OpenpitrixDescribeUsersResponseUserSet []*OpenpitrixUser

OpenpitrixDescribeUsersResponseUserSet list of user swagger:model openpitrixDescribeUsersResponseUserSet

func (OpenpitrixDescribeUsersResponseUserSet) Validate ¶ added in v0.2.3

Validate validates this openpitrix describe users response user set

type OpenpitrixDescribeVendorStatisticsResponse ¶ added in v0.4.0

type OpenpitrixDescribeVendorStatisticsResponse struct {

	// total count of vendor statistic
	TotalCount int64 `json:"total_count,omitempty"`

	// vendor verify statistics set
	VendorVerifyStatisticsSet OpenpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet `json:"vendor_verify_statistics_set"`
}

OpenpitrixDescribeVendorStatisticsResponse openpitrix describe vendor statistics response swagger:model openpitrixDescribeVendorStatisticsResponse

func (*OpenpitrixDescribeVendorStatisticsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeVendorStatisticsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeVendorStatisticsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe vendor statistics response

type OpenpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet ¶ added in v0.4.0

type OpenpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet []*OpenpitrixVendorStatistics

OpenpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet list of vendor statistic swagger:model openpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet

func (OpenpitrixDescribeVendorStatisticsResponseVendorVerifyStatisticsSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe vendor statistics response vendor verify statistics set

type OpenpitrixDescribeVendorVerifyInfosResponse ¶ added in v0.4.0

type OpenpitrixDescribeVendorVerifyInfosResponse struct {

	// total count of vendor
	TotalCount int64 `json:"total_count,omitempty"`

	// vendor verify info set
	VendorVerifyInfoSet OpenpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet `json:"vendor_verify_info_set"`
}

OpenpitrixDescribeVendorVerifyInfosResponse openpitrix describe vendor verify infos response swagger:model openpitrixDescribeVendorVerifyInfosResponse

func (*OpenpitrixDescribeVendorVerifyInfosResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeVendorVerifyInfosResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeVendorVerifyInfosResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe vendor verify infos response

type OpenpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet ¶ added in v0.4.0

type OpenpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet []*OpenpitrixVendorVerifyInfo

OpenpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet list of vendor verify info swagger:model openpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet

func (OpenpitrixDescribeVendorVerifyInfosResponseVendorVerifyInfoSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe vendor verify infos response vendor verify info set

type OpenpitrixDescribeVpcResponse ¶ added in v0.4.0

type OpenpitrixDescribeVpcResponse struct {

	// vpc
	Vpc *OpenpitrixVpc `json:"vpc,omitempty"`
}

OpenpitrixDescribeVpcResponse openpitrix describe vpc response swagger:model openpitrixDescribeVpcResponse

func (*OpenpitrixDescribeVpcResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeVpcResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeVpcResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix describe vpc response

type OpenpitrixDescribeZonesResponse ¶ added in v0.4.0

type OpenpitrixDescribeZonesResponse struct {

	// list of zones in runtime provider
	Zones []string `json:"zones"`
}

OpenpitrixDescribeZonesResponse openpitrix describe zones response swagger:model openpitrixDescribeZonesResponse

func (*OpenpitrixDescribeZonesResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixDescribeZonesResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixDescribeZonesResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix describe zones response

type OpenpitrixDetachKeyPairsRequest ¶ added in v0.1.7

type OpenpitrixDetachKeyPairsRequest struct {

	// ids of key pairs to detach
	KeyPairID []string `json:"key_pair_id"`

	// ids of nodes to detached
	NodeID []string `json:"node_id"`
}

OpenpitrixDetachKeyPairsRequest openpitrix detach key pairs request swagger:model openpitrixDetachKeyPairsRequest

func (*OpenpitrixDetachKeyPairsRequest) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixDetachKeyPairsRequest) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixDetachKeyPairsRequest) Validate ¶ added in v0.1.7

Validate validates this openpitrix detach key pairs request

type OpenpitrixDetachKeyPairsResponse ¶ added in v0.1.7

type OpenpitrixDetachKeyPairsResponse struct {

	// ids of jobs of detach key pair
	JobID []string `json:"job_id"`
}

OpenpitrixDetachKeyPairsResponse openpitrix detach key pairs response swagger:model openpitrixDetachKeyPairsResponse

func (*OpenpitrixDetachKeyPairsResponse) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixDetachKeyPairsResponse) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixDetachKeyPairsResponse) Validate ¶ added in v0.1.7

Validate validates this openpitrix detach key pairs response

type OpenpitrixEip ¶ added in v0.4.0

type OpenpitrixEip struct {

	// eip address
	Addr string `json:"addr,omitempty"`

	// elastic ip
	EipID string `json:"eip_id,omitempty"`

	// eip name
	Name string `json:"name,omitempty"`
}

OpenpitrixEip openpitrix eip swagger:model openpitrixEip

func (*OpenpitrixEip) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixEip) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixEip) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix eip

type OpenpitrixEmailServiceConfig ¶ added in v0.4.0

type OpenpitrixEmailServiceConfig struct {

	// display sender
	DisplaySender string `json:"display_sender,omitempty"`

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

	// email host
	EmailHost string `json:"email_host,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// port
	Port int64 `json:"port,omitempty"`

	// protocol
	Protocol string `json:"protocol,omitempty"`

	// use ssl or not
	SslEnable bool `json:"ssl_enable,omitempty"`
}

OpenpitrixEmailServiceConfig openpitrix email service config swagger:model openpitrixEmailServiceConfig

func (*OpenpitrixEmailServiceConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixEmailServiceConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixEmailServiceConfig) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix email service config

type OpenpitrixFeature ¶ added in v0.4.0

type OpenpitrixFeature struct {

	// action bundle set
	ActionBundleSet OpenpitrixFeatureActionBundleSet `json:"action_bundle_set"`

	// list of checked action bundle
	CheckedActionBundleIDSet []string `json:"checked_action_bundle_id_set"`

	// feature id
	FeatureID string `json:"feature_id,omitempty"`

	// feature name
	FeatureName string `json:"feature_name,omitempty"`
}

OpenpitrixFeature openpitrix feature swagger:model openpitrixFeature

func (*OpenpitrixFeature) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixFeature) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixFeature) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix feature

type OpenpitrixFeatureActionBundleSet ¶ added in v0.4.0

type OpenpitrixFeatureActionBundleSet []*OpenpitrixActionBundle

OpenpitrixFeatureActionBundleSet list of action bundle swagger:model openpitrixFeatureActionBundleSet

func (OpenpitrixFeatureActionBundleSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix feature action bundle set

type OpenpitrixGetAppStatisticsResponse ¶ added in v0.1.5

type OpenpitrixGetAppStatisticsResponse struct {

	// total app count
	AppCount int64 `json:"app_count,omitempty"`

	// range of app created time map to app count, max length is 14
	LastTwoWeekCreated map[string]int64 `json:"last_two_week_created,omitempty"`

	// total repository count
	RepoCount int64 `json:"repo_count,omitempty"`

	// repo id map to app count, max length is 10
	TopTenRepos map[string]int64 `json:"top_ten_repos,omitempty"`
}

OpenpitrixGetAppStatisticsResponse openpitrix get app statistics response swagger:model openpitrixGetAppStatisticsResponse

func (*OpenpitrixGetAppStatisticsResponse) MarshalBinary ¶ added in v0.1.5

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

MarshalBinary interface implementation

func (*OpenpitrixGetAppStatisticsResponse) UnmarshalBinary ¶ added in v0.1.5

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetAppStatisticsResponse) Validate ¶ added in v0.1.5

Validate validates this openpitrix get app statistics response

type OpenpitrixGetAppVersionPackageFilesResponse ¶

type OpenpitrixGetAppVersionPackageFilesResponse struct {

	// filename map to content
	Files map[string]strfmt.Base64 `json:"files,omitempty"`

	// version id
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixGetAppVersionPackageFilesResponse openpitrix get app version package files response swagger:model openpitrixGetAppVersionPackageFilesResponse

func (*OpenpitrixGetAppVersionPackageFilesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixGetAppVersionPackageFilesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetAppVersionPackageFilesResponse) Validate ¶

Validate validates this openpitrix get app version package files response

type OpenpitrixGetAppVersionPackageResponse ¶

type OpenpitrixGetAppVersionPackageResponse struct {

	// app id of package
	AppID string `json:"app_id,omitempty"`

	// package of specific app version
	Package strfmt.Base64 `json:"package,omitempty"`

	// version id of package
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixGetAppVersionPackageResponse openpitrix get app version package response swagger:model openpitrixGetAppVersionPackageResponse

func (*OpenpitrixGetAppVersionPackageResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixGetAppVersionPackageResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetAppVersionPackageResponse) Validate ¶

Validate validates this openpitrix get app version package response

type OpenpitrixGetAttachmentResponse ¶ added in v0.4.0

type OpenpitrixGetAttachmentResponse struct {

	// file content of attachment
	Content strfmt.Base64 `json:"content,omitempty"`

	// tell server to pack file
	Etag string `json:"etag,omitempty"`
}

OpenpitrixGetAttachmentResponse openpitrix get attachment response swagger:model openpitrixGetAttachmentResponse

func (*OpenpitrixGetAttachmentResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetAttachmentResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetAttachmentResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix get attachment response

type OpenpitrixGetAttachmentsResponse ¶ added in v0.4.0

type OpenpitrixGetAttachmentsResponse struct {

	// attachments
	Attachments OpenpitrixGetAttachmentsResponseAttachments `json:"attachments,omitempty"`
}

OpenpitrixGetAttachmentsResponse openpitrix get attachments response swagger:model openpitrixGetAttachmentsResponse

func (*OpenpitrixGetAttachmentsResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetAttachmentsResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetAttachmentsResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix get attachments response

type OpenpitrixGetAttachmentsResponseAttachments ¶ added in v0.4.0

type OpenpitrixGetAttachmentsResponseAttachments map[string]OpenpitrixAttachment

OpenpitrixGetAttachmentsResponseAttachments attachment_id map to Attachment swagger:model openpitrixGetAttachmentsResponseAttachments

func (OpenpitrixGetAttachmentsResponseAttachments) Validate ¶ added in v0.4.0

Validate validates this openpitrix get attachments response attachments

type OpenpitrixGetClusterStatisticsResponse ¶ added in v0.1.5

type OpenpitrixGetClusterStatisticsResponse struct {

	// number of cluster
	ClusterCount int64 `json:"cluster_count,omitempty"`

	// cluster create time range map to cluster count, max length is 14
	LastTwoWeekCreated map[string]int64 `json:"last_two_week_created,omitempty"`

	// number of runtime
	RuntimeCount int64 `json:"runtime_count,omitempty"`

	// app id map to cluster count, max length is 10
	TopTenApps map[string]int64 `json:"top_ten_apps,omitempty"`

	// runtime id map to cluster count, max length is 10
	TopTenRuntimes map[string]int64 `json:"top_ten_runtimes,omitempty"`
}

OpenpitrixGetClusterStatisticsResponse openpitrix get cluster statistics response swagger:model openpitrixGetClusterStatisticsResponse

func (*OpenpitrixGetClusterStatisticsResponse) MarshalBinary ¶ added in v0.1.5

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

MarshalBinary interface implementation

func (*OpenpitrixGetClusterStatisticsResponse) UnmarshalBinary ¶ added in v0.1.5

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetClusterStatisticsResponse) Validate ¶ added in v0.1.5

Validate validates this openpitrix get cluster statistics response

type OpenpitrixGetPasswordResetResponse ¶ added in v0.2.3

type OpenpitrixGetPasswordResetResponse struct {

	// reset id
	ResetID string `json:"reset_id,omitempty"`

	// id of user changed password
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixGetPasswordResetResponse openpitrix get password reset response swagger:model openpitrixGetPasswordResetResponse

func (*OpenpitrixGetPasswordResetResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixGetPasswordResetResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetPasswordResetResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix get password reset response

type OpenpitrixGetRoleModuleResponse ¶ added in v0.4.0

type OpenpitrixGetRoleModuleResponse struct {

	// module info of role
	Module *OpenpitrixModule `json:"module,omitempty"`

	// role id
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixGetRoleModuleResponse openpitrix get role module response swagger:model openpitrixGetRoleModuleResponse

func (*OpenpitrixGetRoleModuleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetRoleModuleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetRoleModuleResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix get role module response

type OpenpitrixGetRoleResponse ¶ added in v0.4.0

type OpenpitrixGetRoleResponse struct {

	// role info
	Role *OpenpitrixRole `json:"role,omitempty"`
}

OpenpitrixGetRoleResponse openpitrix get role response swagger:model openpitrixGetRoleResponse

func (*OpenpitrixGetRoleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetRoleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetRoleResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix get role response

type OpenpitrixGetRuntimeStatisticsResponse ¶ added in v0.1.5

type OpenpitrixGetRuntimeStatisticsResponse struct {

	// runtime create time range map to runtime count, max length is 14
	LastTwoWeekCreated map[string]int64 `json:"last_two_week_created,omitempty"`

	// total count of provider
	ProviderCount int64 `json:"provider_count,omitempty"`

	// total count of runtime
	RuntimeCount int64 `json:"runtime_count,omitempty"`

	// provider id map to runtime count, max length is 10
	TopTenProviders map[string]int64 `json:"top_ten_providers,omitempty"`
}

OpenpitrixGetRuntimeStatisticsResponse openpitrix get runtime statistics response swagger:model openpitrixGetRuntimeStatisticsResponse

func (*OpenpitrixGetRuntimeStatisticsResponse) MarshalBinary ¶ added in v0.1.5

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

MarshalBinary interface implementation

func (*OpenpitrixGetRuntimeStatisticsResponse) UnmarshalBinary ¶ added in v0.1.5

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetRuntimeStatisticsResponse) Validate ¶ added in v0.1.5

Validate validates this openpitrix get runtime statistics response

type OpenpitrixGetServiceConfigRequest ¶ added in v0.4.0

type OpenpitrixGetServiceConfigRequest struct {

	// service type eg.[runtime]
	ServiceType []string `json:"service_type"`
}

OpenpitrixGetServiceConfigRequest openpitrix get service config request swagger:model openpitrixGetServiceConfigRequest

func (*OpenpitrixGetServiceConfigRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetServiceConfigRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetServiceConfigRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix get service config request

type OpenpitrixGetServiceConfigResponse ¶ added in v0.4.0

type OpenpitrixGetServiceConfigResponse struct {

	// basic config
	BasicConfig *OpenpitrixBasicConfig `json:"basic_config,omitempty"`

	// notification config
	NotificationConfig *OpenpitrixNotificationConfig `json:"notification_config,omitempty"`

	// runtime config
	RuntimeConfig *OpenpitrixRuntimeConfig `json:"runtime_config,omitempty"`
}

OpenpitrixGetServiceConfigResponse openpitrix get service config response swagger:model openpitrixGetServiceConfigResponse

func (*OpenpitrixGetServiceConfigResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetServiceConfigResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetServiceConfigResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix get service config response

type OpenpitrixGetVendorVerifyInfoResponse ¶ added in v0.4.0

type OpenpitrixGetVendorVerifyInfoResponse struct {

	// vendor verify info
	VendorVerifyInfo *OpenpitrixVendorVerifyInfo `json:"vendor_verify_info,omitempty"`
}

OpenpitrixGetVendorVerifyInfoResponse openpitrix get vendor verify info response swagger:model openpitrixGetVendorVerifyInfoResponse

func (*OpenpitrixGetVendorVerifyInfoResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGetVendorVerifyInfoResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGetVendorVerifyInfoResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix get vendor verify info response

type OpenpitrixGroup ¶ added in v0.2.3

type OpenpitrixGroup struct {

	// the time when user create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// group id
	GroupID string `json:"group_id,omitempty"`

	// group path, a concat string gid-xxx.gid-xxx.gid...
	GroupPath string `json:"group_path,omitempty"`

	// group name
	Name string `json:"name,omitempty"`

	// parent group id
	ParentGroupID string `json:"parent_group_id,omitempty"`

	// group status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record group status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// the time when group update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`
}

OpenpitrixGroup openpitrix group swagger:model openpitrixGroup

func (*OpenpitrixGroup) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixGroup) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixGroup) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix group

type OpenpitrixGroupDetail ¶ added in v0.4.0

type OpenpitrixGroupDetail struct {

	// group base info
	Group *OpenpitrixGroup `json:"group,omitempty"`

	// user set
	UserSet OpenpitrixGroupDetailUserSet `json:"user_set"`
}

OpenpitrixGroupDetail openpitrix group detail swagger:model openpitrixGroupDetail

func (*OpenpitrixGroupDetail) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixGroupDetail) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixGroupDetail) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix group detail

type OpenpitrixGroupDetailUserSet ¶ added in v0.4.0

type OpenpitrixGroupDetailUserSet []*OpenpitrixUser

OpenpitrixGroupDetailUserSet users in group swagger:model openpitrixGroupDetailUserSet

func (OpenpitrixGroupDetailUserSet) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix group detail user set

type OpenpitrixHandleSubtaskResponse ¶ added in v0.4.0

type OpenpitrixHandleSubtaskResponse struct {

	// task handled
	Task *OpenpitrixTask `json:"task,omitempty"`
}

OpenpitrixHandleSubtaskResponse openpitrix handle subtask response swagger:model openpitrixHandleSubtaskResponse

func (*OpenpitrixHandleSubtaskResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixHandleSubtaskResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixHandleSubtaskResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix handle subtask response

type OpenpitrixIndexRepoRequest ¶

type OpenpitrixIndexRepoRequest struct {

	// id of repository to index
	RepoID string `json:"repo_id,omitempty"`
}

OpenpitrixIndexRepoRequest openpitrix index repo request swagger:model openpitrixIndexRepoRequest

func (*OpenpitrixIndexRepoRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixIndexRepoRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixIndexRepoRequest) Validate ¶

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

Validate validates this openpitrix index repo request

type OpenpitrixIndexRepoResponse ¶

type OpenpitrixIndexRepoResponse struct {

	// repository event
	RepoEvent *OpenpitrixRepoEvent `json:"repo_event,omitempty"`

	// id of repository indexed
	RepoID string `json:"repo_id,omitempty"`
}

OpenpitrixIndexRepoResponse openpitrix index repo response swagger:model openpitrixIndexRepoResponse

func (*OpenpitrixIndexRepoResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixIndexRepoResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixIndexRepoResponse) Validate ¶

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

Validate validates this openpitrix index repo response

type OpenpitrixJob ¶

type OpenpitrixJob struct {

	// id of app deployed in cluster
	AppID string `json:"app_id,omitempty"`

	// id of cluster run job
	ClusterID string `json:"cluster_id,omitempty"`

	// the time job create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// directive, a json string, describe the info of running the job action
	Directive string `json:"directive,omitempty"`

	// error code, if job run failed will return a error code
	ErrorCode int64 `json:"error_code,omitempty"`

	// host name of server
	Executor string `json:"executor,omitempty"`

	// describe job's action eg:[CreateCluster|StartClusters|...]
	JobAction string `json:"job_action,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`

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

	// own path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// runtime provider eg:[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// id of runtime of cluster
	RuntimeID string `json:"runtime_id,omitempty"`

	// status eg.[successful|failed|running|pending]
	Status string `json:"status,omitempty"`

	// record the status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// total count of task in job, a job contain one more task
	TaskCount int64 `json:"task_count,omitempty"`

	// id of specific app version
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixJob openpitrix job swagger:model openpitrixJob

func (*OpenpitrixJob) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixJob) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixJob) Validate ¶

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

Validate validates this openpitrix job

type OpenpitrixJoinGroupRequest ¶ added in v0.2.3

type OpenpitrixJoinGroupRequest struct {

	// required, ids of group for user to join in
	GroupID []string `json:"group_id"`

	// required, ids of user to join
	UserID []string `json:"user_id"`
}

OpenpitrixJoinGroupRequest openpitrix join group request swagger:model openpitrixJoinGroupRequest

func (*OpenpitrixJoinGroupRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixJoinGroupRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixJoinGroupRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix join group request

type OpenpitrixJoinGroupResponse ¶ added in v0.2.3

type OpenpitrixJoinGroupResponse struct {

	// ids of group for user to join in
	GroupID []string `json:"group_id"`

	// ids of user to join
	UserID []string `json:"user_id"`
}

OpenpitrixJoinGroupResponse openpitrix join group response swagger:model openpitrixJoinGroupResponse

func (*OpenpitrixJoinGroupResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixJoinGroupResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixJoinGroupResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix join group response

type OpenpitrixKeyPair ¶ added in v0.1.7

type OpenpitrixKeyPair struct {

	// the time when key pair create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// ssh key pair id
	KeyPairID string `json:"key_pair_id,omitempty"`

	// key pair name
	Name string `json:"name,omitempty"`

	// list of node used the keypair
	NodeID []string `json:"node_id"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// public key
	PubKey string `json:"pub_key,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`
}

OpenpitrixKeyPair openpitrix key pair swagger:model openpitrixKeyPair

func (*OpenpitrixKeyPair) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixKeyPair) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixKeyPair) Validate ¶ added in v0.1.7

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

Validate validates this openpitrix key pair

type OpenpitrixLeaveGroupRequest ¶ added in v0.2.3

type OpenpitrixLeaveGroupRequest struct {

	// required, ids of group for user to leave from
	GroupID []string `json:"group_id"`

	// required, ids of user to leave
	UserID []string `json:"user_id"`
}

OpenpitrixLeaveGroupRequest openpitrix leave group request swagger:model openpitrixLeaveGroupRequest

func (*OpenpitrixLeaveGroupRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixLeaveGroupRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixLeaveGroupRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix leave group request

type OpenpitrixLeaveGroupResponse ¶ added in v0.2.3

type OpenpitrixLeaveGroupResponse struct {

	// ids of group for user to leave from
	GroupID []string `json:"group_id"`

	// ids of user to leave
	UserID []string `json:"user_id"`
}

OpenpitrixLeaveGroupResponse openpitrix leave group response swagger:model openpitrixLeaveGroupResponse

func (*OpenpitrixLeaveGroupResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixLeaveGroupResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixLeaveGroupResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix leave group response

type OpenpitrixMarket ¶ added in v0.3.3

type OpenpitrixMarket struct {

	// create time
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// market id
	MarketID string `json:"market_id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

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

	// owner path
	OwnerPath string `json:"owner_path,omitempty"`

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

	// status time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

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

OpenpitrixMarket openpitrix market swagger:model openpitrixMarket

func (*OpenpitrixMarket) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixMarket) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixMarket) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix market

type OpenpitrixMarketUser ¶ added in v0.3.3

type OpenpitrixMarketUser struct {

	// create time
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// market id
	MarketID string `json:"market_id,omitempty"`

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

	// owner path
	OwnerPath string `json:"owner_path,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixMarketUser openpitrix market user swagger:model openpitrixMarketUser

func (*OpenpitrixMarketUser) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixMarketUser) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixMarketUser) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix market user

type OpenpitrixModifyAppRequest ¶

type OpenpitrixModifyAppRequest struct {

	// abstraction of app
	Abstraction string `json:"abstraction,omitempty"`

	// required, id of app to modify
	AppID string `json:"app_id,omitempty"`

	// category id of the app
	CategoryID string `json:"category_id,omitempty"`

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

	// home page of the app
	Home string `json:"home,omitempty"`

	// key words of the app
	Keywords string `json:"keywords,omitempty"`

	// maintainers who maintainer the app
	Maintainers string `json:"maintainers,omitempty"`

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

	// instructions of the app
	Readme string `json:"readme,omitempty"`

	// sources of app
	Sources string `json:"sources,omitempty"`

	// tos of app
	Tos string `json:"tos,omitempty"`
}

OpenpitrixModifyAppRequest openpitrix modify app request swagger:model openpitrixModifyAppRequest

func (*OpenpitrixModifyAppRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyAppRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyAppRequest) Validate ¶

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

Validate validates this openpitrix modify app request

type OpenpitrixModifyAppResponse ¶

type OpenpitrixModifyAppResponse struct {

	// id of app modified
	AppID string `json:"app_id,omitempty"`
}

OpenpitrixModifyAppResponse openpitrix modify app response swagger:model openpitrixModifyAppResponse

func (*OpenpitrixModifyAppResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyAppResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyAppResponse) Validate ¶

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

Validate validates this openpitrix modify app response

type OpenpitrixModifyAppVersionRequest ¶

type OpenpitrixModifyAppVersionRequest struct {

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

	// app name
	Name string `json:"name,omitempty"`

	// package of app to replace other
	Package strfmt.Base64 `json:"package,omitempty"`

	// filename map to file_content
	PackageFiles map[string]strfmt.Base64 `json:"package_files,omitempty"`

	// required, version id of app to modify
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixModifyAppVersionRequest openpitrix modify app version request swagger:model openpitrixModifyAppVersionRequest

func (*OpenpitrixModifyAppVersionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyAppVersionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyAppVersionRequest) Validate ¶

Validate validates this openpitrix modify app version request

type OpenpitrixModifyAppVersionResponse ¶

type OpenpitrixModifyAppVersionResponse struct {

	// required, version id
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixModifyAppVersionResponse openpitrix modify app version response swagger:model openpitrixModifyAppVersionResponse

func (*OpenpitrixModifyAppVersionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyAppVersionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyAppVersionResponse) Validate ¶

Validate validates this openpitrix modify app version response

type OpenpitrixModifyCategoryRequest ¶

type OpenpitrixModifyCategoryRequest struct {

	// required, id of category to modify
	CategoryID string `json:"category_id,omitempty"`

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

	// category icon
	Icon strfmt.Base64 `json:"icon,omitempty"`

	// the i18n of this category, json format, sample: {"zh_cn": "数据库", "en": "database"}
	Locale string `json:"locale,omitempty"`

	// category name
	Name string `json:"name,omitempty"`
}

OpenpitrixModifyCategoryRequest openpitrix modify category request swagger:model openpitrixModifyCategoryRequest

func (*OpenpitrixModifyCategoryRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyCategoryRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyCategoryRequest) Validate ¶

Validate validates this openpitrix modify category request

type OpenpitrixModifyCategoryResponse ¶

type OpenpitrixModifyCategoryResponse struct {

	// id of category modified
	CategoryID string `json:"category_id,omitempty"`
}

OpenpitrixModifyCategoryResponse openpitrix modify category response swagger:model openpitrixModifyCategoryResponse

func (*OpenpitrixModifyCategoryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyCategoryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyCategoryResponse) Validate ¶

Validate validates this openpitrix modify category response

type OpenpitrixModifyClusterAttributesRequest ¶ added in v0.1.8

type OpenpitrixModifyClusterAttributesRequest struct {

	// required, id of cluster to modify
	ClusterID string `json:"cluster_id,omitempty"`

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

	// cluster name
	Name string `json:"name,omitempty"`
}

OpenpitrixModifyClusterAttributesRequest openpitrix modify cluster attributes request swagger:model openpitrixModifyClusterAttributesRequest

func (*OpenpitrixModifyClusterAttributesRequest) MarshalBinary ¶ added in v0.1.8

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

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterAttributesRequest) UnmarshalBinary ¶ added in v0.1.8

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterAttributesRequest) Validate ¶ added in v0.1.8

Validate validates this openpitrix modify cluster attributes request

type OpenpitrixModifyClusterAttributesResponse ¶ added in v0.1.8

type OpenpitrixModifyClusterAttributesResponse struct {

	// id of cluster modified
	ClusterID string `json:"cluster_id,omitempty"`
}

OpenpitrixModifyClusterAttributesResponse openpitrix modify cluster attributes response swagger:model openpitrixModifyClusterAttributesResponse

func (*OpenpitrixModifyClusterAttributesResponse) MarshalBinary ¶ added in v0.1.8

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

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterAttributesResponse) UnmarshalBinary ¶ added in v0.1.8

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterAttributesResponse) Validate ¶ added in v0.1.8

Validate validates this openpitrix modify cluster attributes response

type OpenpitrixModifyClusterNodeAttributesRequest ¶ added in v0.1.8

type OpenpitrixModifyClusterNodeAttributesRequest struct {

	// node name
	Name string `json:"name,omitempty"`

	// required, id of cluster node to modify
	NodeID string `json:"node_id,omitempty"`
}

OpenpitrixModifyClusterNodeAttributesRequest openpitrix modify cluster node attributes request swagger:model openpitrixModifyClusterNodeAttributesRequest

func (*OpenpitrixModifyClusterNodeAttributesRequest) MarshalBinary ¶ added in v0.1.8

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeAttributesRequest) UnmarshalBinary ¶ added in v0.1.8

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeAttributesRequest) Validate ¶ added in v0.1.8

Validate validates this openpitrix modify cluster node attributes request

type OpenpitrixModifyClusterNodeAttributesResponse ¶ added in v0.1.8

type OpenpitrixModifyClusterNodeAttributesResponse struct {

	// id of cluster node modified
	NodeID string `json:"node_id,omitempty"`
}

OpenpitrixModifyClusterNodeAttributesResponse openpitrix modify cluster node attributes response swagger:model openpitrixModifyClusterNodeAttributesResponse

func (*OpenpitrixModifyClusterNodeAttributesResponse) MarshalBinary ¶ added in v0.1.8

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeAttributesResponse) UnmarshalBinary ¶ added in v0.1.8

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeAttributesResponse) Validate ¶ added in v0.1.8

Validate validates this openpitrix modify cluster node attributes response

type OpenpitrixModifyClusterNodeResponse ¶

type OpenpitrixModifyClusterNodeResponse struct {

	// id of cluster node modified
	NodeID string `json:"node_id,omitempty"`
}

OpenpitrixModifyClusterNodeResponse openpitrix modify cluster node response swagger:model openpitrixModifyClusterNodeResponse

func (*OpenpitrixModifyClusterNodeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterNodeResponse) Validate ¶

Validate validates this openpitrix modify cluster node response

type OpenpitrixModifyClusterResponse ¶

type OpenpitrixModifyClusterResponse struct {

	// id of cluster modified
	ClusterID string `json:"cluster_id,omitempty"`
}

OpenpitrixModifyClusterResponse openpitrix modify cluster response swagger:model openpitrixModifyClusterResponse

func (*OpenpitrixModifyClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyClusterResponse) Validate ¶

Validate validates this openpitrix modify cluster response

type OpenpitrixModifyGroupRequest ¶ added in v0.2.3

type OpenpitrixModifyGroupRequest struct {

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

	// required, id of group to modify
	GroupID string `json:"group_id,omitempty"`

	// group name
	Name string `json:"name,omitempty"`

	// parent group id
	ParentGroupID string `json:"parent_group_id,omitempty"`
}

OpenpitrixModifyGroupRequest openpitrix modify group request swagger:model openpitrixModifyGroupRequest

func (*OpenpitrixModifyGroupRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyGroupRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyGroupRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix modify group request

type OpenpitrixModifyGroupResponse ¶ added in v0.2.3

type OpenpitrixModifyGroupResponse struct {

	// id of group modified
	GroupID string `json:"group_id,omitempty"`
}

OpenpitrixModifyGroupResponse openpitrix modify group response swagger:model openpitrixModifyGroupResponse

func (*OpenpitrixModifyGroupResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyGroupResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyGroupResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix modify group response

type OpenpitrixModifyMarketRequest ¶ added in v0.3.3

type OpenpitrixModifyMarketRequest struct {

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

	// market id
	MarketID string `json:"market_id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

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

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

OpenpitrixModifyMarketRequest openpitrix modify market request swagger:model openpitrixModifyMarketRequest

func (*OpenpitrixModifyMarketRequest) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyMarketRequest) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyMarketRequest) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix modify market request

type OpenpitrixModifyMarketResponse ¶ added in v0.3.3

type OpenpitrixModifyMarketResponse struct {

	// market id
	MarketID string `json:"market_id,omitempty"`
}

OpenpitrixModifyMarketResponse openpitrix modify market response swagger:model openpitrixModifyMarketResponse

func (*OpenpitrixModifyMarketResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyMarketResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyMarketResponse) Validate ¶ added in v0.3.3

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

Validate validates this openpitrix modify market response

type OpenpitrixModifyRepoRequest ¶

type OpenpitrixModifyRepoRequest struct {

	// app default status eg:[draft|active]
	AppDefaultStatus string `json:"app_default_status,omitempty"`

	// category id
	CategoryID string `json:"category_id,omitempty"`

	// credential of visiting the repository
	Credential string `json:"credential,omitempty"`

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

	// a kv string, tags of server
	Labels string `json:"labels,omitempty"`

	// repository name
	Name string `json:"name,omitempty"`

	// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Providers []string `json:"providers"`

	// required, id of repository to modify
	RepoID string `json:"repo_id,omitempty"`

	// selectors of label
	Selectors string `json:"selectors,omitempty"`

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

	// url of visiting the repository
	URL string `json:"url,omitempty"`

	// visibility eg:[public|private]
	Visibility string `json:"visibility,omitempty"`
}

OpenpitrixModifyRepoRequest openpitrix modify repo request swagger:model openpitrixModifyRepoRequest

func (*OpenpitrixModifyRepoRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRepoRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRepoRequest) Validate ¶

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

Validate validates this openpitrix modify repo request

type OpenpitrixModifyRepoResponse ¶

type OpenpitrixModifyRepoResponse struct {

	// id of repository modified
	RepoID string `json:"repo_id,omitempty"`
}

OpenpitrixModifyRepoResponse openpitrix modify repo response swagger:model openpitrixModifyRepoResponse

func (*OpenpitrixModifyRepoResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRepoResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRepoResponse) Validate ¶

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

Validate validates this openpitrix modify repo response

type OpenpitrixModifyRoleModuleRequest ¶ added in v0.4.0

type OpenpitrixModifyRoleModuleRequest struct {

	// required, module info
	Module *OpenpitrixModule `json:"module,omitempty"`

	// required, use role id to modify role module
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixModifyRoleModuleRequest openpitrix modify role module request swagger:model openpitrixModifyRoleModuleRequest

func (*OpenpitrixModifyRoleModuleRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRoleModuleRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRoleModuleRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix modify role module request

type OpenpitrixModifyRoleModuleResponse ¶ added in v0.4.0

type OpenpitrixModifyRoleModuleResponse struct {

	// role id used to modify role module
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixModifyRoleModuleResponse openpitrix modify role module response swagger:model openpitrixModifyRoleModuleResponse

func (*OpenpitrixModifyRoleModuleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRoleModuleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRoleModuleResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix modify role module response

type OpenpitrixModifyRoleRequest ¶ added in v0.4.0

type OpenpitrixModifyRoleRequest struct {

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

	// required, id of role to modify
	RoleID string `json:"role_id,omitempty"`

	// role name
	RoleName string `json:"role_name,omitempty"`
}

OpenpitrixModifyRoleRequest openpitrix modify role request swagger:model openpitrixModifyRoleRequest

func (*OpenpitrixModifyRoleRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRoleRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRoleRequest) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix modify role request

type OpenpitrixModifyRoleResponse ¶ added in v0.4.0

type OpenpitrixModifyRoleResponse struct {

	// id of role modified
	RoleID string `json:"role_id,omitempty"`
}

OpenpitrixModifyRoleResponse openpitrix modify role response swagger:model openpitrixModifyRoleResponse

func (*OpenpitrixModifyRoleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRoleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRoleResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix modify role response

type OpenpitrixModifyRuntimeCredentialRequest ¶ added in v0.4.0

type OpenpitrixModifyRuntimeCredentialRequest struct {

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

	// runtime credential name
	Name string `json:"name,omitempty"`

	// runtime credential content, a json file
	RuntimeCredentialContent string `json:"runtime_credential_content,omitempty"`

	// required, id of runtime credential to modify
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`
}

OpenpitrixModifyRuntimeCredentialRequest openpitrix modify runtime credential request swagger:model openpitrixModifyRuntimeCredentialRequest

func (*OpenpitrixModifyRuntimeCredentialRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeCredentialRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeCredentialRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix modify runtime credential request

type OpenpitrixModifyRuntimeCredentialResponse ¶ added in v0.4.0

type OpenpitrixModifyRuntimeCredentialResponse struct {

	// id of runtime credential modified
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`
}

OpenpitrixModifyRuntimeCredentialResponse openpitrix modify runtime credential response swagger:model openpitrixModifyRuntimeCredentialResponse

func (*OpenpitrixModifyRuntimeCredentialResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeCredentialResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeCredentialResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix modify runtime credential response

type OpenpitrixModifyRuntimeRequest ¶

type OpenpitrixModifyRuntimeRequest struct {

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

	// runtime name
	Name string `json:"name,omitempty"`

	// runtime credential id
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`

	// required, id of runtime to modify
	RuntimeID string `json:"runtime_id,omitempty"`
}

OpenpitrixModifyRuntimeRequest openpitrix modify runtime request swagger:model openpitrixModifyRuntimeRequest

func (*OpenpitrixModifyRuntimeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeRequest) Validate ¶

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

Validate validates this openpitrix modify runtime request

type OpenpitrixModifyRuntimeResponse ¶

type OpenpitrixModifyRuntimeResponse struct {

	// id of runtime modified
	RuntimeID string `json:"runtime_id,omitempty"`
}

OpenpitrixModifyRuntimeResponse openpitrix modify runtime response swagger:model openpitrixModifyRuntimeResponse

func (*OpenpitrixModifyRuntimeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyRuntimeResponse) Validate ¶

Validate validates this openpitrix modify runtime response

type OpenpitrixModifyUserRequest ¶ added in v0.2.3

type OpenpitrixModifyUserRequest struct {

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

	// user email, eg.op@yunify.com
	Email string `json:"email,omitempty"`

	// user password
	Password string `json:"password,omitempty"`

	// user phone number, string of 11 digital
	PhoneNumber string `json:"phone_number,omitempty"`

	// required, id of user to be modify
	UserID string `json:"user_id,omitempty"`

	// user name
	Username string `json:"username,omitempty"`
}

OpenpitrixModifyUserRequest openpitrix modify user request swagger:model openpitrixModifyUserRequest

func (*OpenpitrixModifyUserRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyUserRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyUserRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix modify user request

type OpenpitrixModifyUserResponse ¶ added in v0.2.3

type OpenpitrixModifyUserResponse struct {

	// id of user modified
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixModifyUserResponse openpitrix modify user response swagger:model openpitrixModifyUserResponse

func (*OpenpitrixModifyUserResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixModifyUserResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixModifyUserResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix modify user response

type OpenpitrixModule ¶ added in v0.4.0

type OpenpitrixModule struct {

	// module elem set
	ModuleElemSet OpenpitrixModuleModuleElemSet `json:"module_elem_set"`
}

OpenpitrixModule openpitrix module swagger:model openpitrixModule

func (*OpenpitrixModule) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModule) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModule) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix module

type OpenpitrixModuleElem ¶ added in v0.4.0

type OpenpitrixModuleElem struct {

	// access level of visiting data
	DataLevel string `json:"data_level,omitempty"`

	// feature set
	FeatureSet OpenpitrixModuleElemFeatureSet `json:"feature_set"`

	// is all feature in module elem checked
	IsCheckAll bool `json:"is_check_all,omitempty"`

	// module id
	ModuleID string `json:"module_id,omitempty"`

	// module name
	ModuleName string `json:"module_name,omitempty"`
}

OpenpitrixModuleElem openpitrix module elem swagger:model openpitrixModuleElem

func (*OpenpitrixModuleElem) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixModuleElem) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixModuleElem) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix module elem

type OpenpitrixModuleElemFeatureSet ¶ added in v0.4.0

type OpenpitrixModuleElemFeatureSet []*OpenpitrixFeature

OpenpitrixModuleElemFeatureSet list of feature swagger:model openpitrixModuleElemFeatureSet

func (OpenpitrixModuleElemFeatureSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix module elem feature set

type OpenpitrixModuleModuleElemSet ¶ added in v0.4.0

type OpenpitrixModuleModuleElemSet []*OpenpitrixModuleElem

OpenpitrixModuleModuleElemSet list of module elem swagger:model openpitrixModuleModuleElemSet

func (OpenpitrixModuleModuleElemSet) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix module module elem set

type OpenpitrixNodeKeyPair ¶ added in v0.1.7

type OpenpitrixNodeKeyPair struct {

	// id of key pair in node
	KeyPairID string `json:"key_pair_id,omitempty"`

	// id of node with key pair
	NodeID string `json:"node_id,omitempty"`
}

OpenpitrixNodeKeyPair openpitrix node key pair swagger:model openpitrixNodeKeyPair

func (*OpenpitrixNodeKeyPair) MarshalBinary ¶ added in v0.1.7

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

MarshalBinary interface implementation

func (*OpenpitrixNodeKeyPair) UnmarshalBinary ¶ added in v0.1.7

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

UnmarshalBinary interface implementation

func (*OpenpitrixNodeKeyPair) Validate ¶ added in v0.1.7

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

Validate validates this openpitrix node key pair

type OpenpitrixNotificationConfig ¶ added in v0.4.0

type OpenpitrixNotificationConfig struct {

	// email service sonfig
	EmailServiceConfig *OpenpitrixEmailServiceConfig `json:"email_service_config,omitempty"`
}

OpenpitrixNotificationConfig openpitrix notification config swagger:model openpitrixNotificationConfig

func (*OpenpitrixNotificationConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixNotificationConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixNotificationConfig) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix notification config

type OpenpitrixParseClusterConfResponse ¶ added in v0.4.0

type OpenpitrixParseClusterConfResponse struct {

	// cluster
	Cluster *OpenpitrixCluster `json:"cluster,omitempty"`
}

OpenpitrixParseClusterConfResponse openpitrix parse cluster conf response swagger:model openpitrixParseClusterConfResponse

func (*OpenpitrixParseClusterConfResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixParseClusterConfResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixParseClusterConfResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix parse cluster conf response

type OpenpitrixPassAppVersionRequest ¶ added in v0.2.1

type OpenpitrixPassAppVersionRequest struct {

	// required, id of version to pass
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixPassAppVersionRequest openpitrix pass app version request swagger:model openpitrixPassAppVersionRequest

func (*OpenpitrixPassAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixPassAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixPassAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix pass app version request

type OpenpitrixPassAppVersionResponse ¶ added in v0.2.1

type OpenpitrixPassAppVersionResponse struct {

	// id of version passed
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixPassAppVersionResponse openpitrix pass app version response swagger:model openpitrixPassAppVersionResponse

func (*OpenpitrixPassAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixPassAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixPassAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix pass app version response

type OpenpitrixPassVendorVerifyInfoRequest ¶ added in v0.4.0

type OpenpitrixPassVendorVerifyInfoRequest struct {

	// required, id of user to pass
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixPassVendorVerifyInfoRequest openpitrix pass vendor verify info request swagger:model openpitrixPassVendorVerifyInfoRequest

func (*OpenpitrixPassVendorVerifyInfoRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixPassVendorVerifyInfoRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixPassVendorVerifyInfoRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix pass vendor verify info request

type OpenpitrixPassVendorVerifyInfoResponse ¶ added in v0.4.0

type OpenpitrixPassVendorVerifyInfoResponse struct {

	// id of user passed
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixPassVendorVerifyInfoResponse openpitrix pass vendor verify info response swagger:model openpitrixPassVendorVerifyInfoResponse

func (*OpenpitrixPassVendorVerifyInfoResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixPassVendorVerifyInfoResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixPassVendorVerifyInfoResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix pass vendor verify info response

type OpenpitrixRecoverAppVersionRequest ¶ added in v0.2.1

type OpenpitrixRecoverAppVersionRequest struct {

	// required, id of version to recover
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixRecoverAppVersionRequest openpitrix recover app version request swagger:model openpitrixRecoverAppVersionRequest

func (*OpenpitrixRecoverAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixRecoverAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixRecoverAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix recover app version request

type OpenpitrixRecoverAppVersionResponse ¶ added in v0.2.1

type OpenpitrixRecoverAppVersionResponse struct {

	// id of version recovered
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixRecoverAppVersionResponse openpitrix recover app version response swagger:model openpitrixRecoverAppVersionResponse

func (*OpenpitrixRecoverAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixRecoverAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixRecoverAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix recover app version response

type OpenpitrixRecoverClustersRequest ¶

type OpenpitrixRecoverClustersRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, ids of clusters to recover
	ClusterID []string `json:"cluster_id"`
}

OpenpitrixRecoverClustersRequest openpitrix recover clusters request swagger:model openpitrixRecoverClustersRequest

func (*OpenpitrixRecoverClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRecoverClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRecoverClustersRequest) Validate ¶

Validate validates this openpitrix recover clusters request

type OpenpitrixRecoverClustersResponse ¶

type OpenpitrixRecoverClustersResponse struct {

	// ids of cluster recovered
	ClusterID []string `json:"cluster_id"`

	// ids of job of recover cluster
	JobID []string `json:"job_id"`
}

OpenpitrixRecoverClustersResponse openpitrix recover clusters response swagger:model openpitrixRecoverClustersResponse

func (*OpenpitrixRecoverClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRecoverClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRecoverClustersResponse) Validate ¶

Validate validates this openpitrix recover clusters response

type OpenpitrixRegisterRuntimeProviderResponse ¶ added in v0.4.0

type OpenpitrixRegisterRuntimeProviderResponse struct {

	// register ok or not
	Ok bool `json:"ok,omitempty"`
}

OpenpitrixRegisterRuntimeProviderResponse openpitrix register runtime provider response swagger:model openpitrixRegisterRuntimeProviderResponse

func (*OpenpitrixRegisterRuntimeProviderResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRegisterRuntimeProviderResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRegisterRuntimeProviderResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix register runtime provider response

type OpenpitrixRejectAppVersionRequest ¶ added in v0.2.1

type OpenpitrixRejectAppVersionRequest struct {

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

	// required, id of version to reject
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixRejectAppVersionRequest openpitrix reject app version request swagger:model openpitrixRejectAppVersionRequest

func (*OpenpitrixRejectAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixRejectAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixRejectAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix reject app version request

type OpenpitrixRejectAppVersionResponse ¶ added in v0.2.1

type OpenpitrixRejectAppVersionResponse struct {

	// id of version rejected
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixRejectAppVersionResponse openpitrix reject app version response swagger:model openpitrixRejectAppVersionResponse

func (*OpenpitrixRejectAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixRejectAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixRejectAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix reject app version response

type OpenpitrixRejectVendorVerifyInfoRequest ¶ added in v0.4.0

type OpenpitrixRejectVendorVerifyInfoRequest struct {

	// reject message
	RejectMessage string `json:"reject_message,omitempty"`

	// required, id of user to reject
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixRejectVendorVerifyInfoRequest openpitrix reject vendor verify info request swagger:model openpitrixRejectVendorVerifyInfoRequest

func (*OpenpitrixRejectVendorVerifyInfoRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRejectVendorVerifyInfoRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRejectVendorVerifyInfoRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix reject vendor verify info request

type OpenpitrixRejectVendorVerifyInfoResponse ¶ added in v0.4.0

type OpenpitrixRejectVendorVerifyInfoResponse struct {

	// id of user rejected
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixRejectVendorVerifyInfoResponse openpitrix reject vendor verify info response swagger:model openpitrixRejectVendorVerifyInfoResponse

func (*OpenpitrixRejectVendorVerifyInfoResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRejectVendorVerifyInfoResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRejectVendorVerifyInfoResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix reject vendor verify info response

type OpenpitrixReleaseAppVersionRequest ¶ added in v0.2.1

type OpenpitrixReleaseAppVersionRequest struct {

	// required, id of version to release
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixReleaseAppVersionRequest openpitrix release app version request swagger:model openpitrixReleaseAppVersionRequest

func (*OpenpitrixReleaseAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixReleaseAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixReleaseAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix release app version request

type OpenpitrixReleaseAppVersionResponse ¶ added in v0.2.1

type OpenpitrixReleaseAppVersionResponse struct {

	// required, id of version released
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixReleaseAppVersionResponse openpitrix release app version response swagger:model openpitrixReleaseAppVersionResponse

func (*OpenpitrixReleaseAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixReleaseAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixReleaseAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix release app version response

type OpenpitrixReplaceAttachmentResponse ¶ added in v0.4.0

type OpenpitrixReplaceAttachmentResponse struct {

	// id of attachment replaced
	AttachmentID string `json:"attachment_id,omitempty"`

	// filename, attachment contain one more file
	Filename []string `json:"filename"`
}

OpenpitrixReplaceAttachmentResponse openpitrix replace attachment response swagger:model openpitrixReplaceAttachmentResponse

func (*OpenpitrixReplaceAttachmentResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixReplaceAttachmentResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixReplaceAttachmentResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix replace attachment response

type OpenpitrixRepo ¶

type OpenpitrixRepo struct {

	// app default status eg[active|draft]
	AppDefaultStatus string `json:"app_default_status,omitempty"`

	// category set
	CategorySet OpenpitrixRepoCategorySet `json:"category_set"`

	// controller, value 0 for self resource, value 1 for openpitrix resource
	Controller int32 `json:"controller,omitempty"`

	// the time when repository create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// credential of visiting the repository
	Credential string `json:"credential,omitempty"`

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

	// labels
	Labels OpenpitrixRepoLabels `json:"labels"`

	// repository name
	Name string `json:"name,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Providers []string `json:"providers"`

	// repository id
	RepoID string `json:"repo_id,omitempty"`

	// selectors
	Selectors OpenpitrixRepoSelectors `json:"selectors"`

	// status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// type of repository eg.[http|https|s3]
	Type string `json:"type,omitempty"`

	// url of visiting the repository
	URL string `json:"url,omitempty"`

	// visibility.eg:[public|private]
	Visibility string `json:"visibility,omitempty"`
}

OpenpitrixRepo openpitrix repo swagger:model openpitrixRepo

func (*OpenpitrixRepo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRepo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRepo) Validate ¶

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

Validate validates this openpitrix repo

type OpenpitrixRepoCategorySet ¶

type OpenpitrixRepoCategorySet []*OpenpitrixResourceCategory

OpenpitrixRepoCategorySet list category swagger:model openpitrixRepoCategorySet

func (OpenpitrixRepoCategorySet) Validate ¶

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

Validate validates this openpitrix repo category set

type OpenpitrixRepoEvent ¶

type OpenpitrixRepoEvent struct {

	// repository event create time
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// repository event id
	RepoEventID string `json:"repo_event_id,omitempty"`

	// repository id
	RepoID string `json:"repo_id,omitempty"`

	// result
	Result string `json:"result,omitempty"`

	// repository event status eg.[failed|successful|working|pending]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`
}

OpenpitrixRepoEvent openpitrix repo event swagger:model openpitrixRepoEvent

func (*OpenpitrixRepoEvent) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRepoEvent) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRepoEvent) Validate ¶

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

Validate validates this openpitrix repo event

type OpenpitrixRepoLabel ¶

type OpenpitrixRepoLabel struct {

	// the time when repository label create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// label key
	LabelKey string `json:"label_key,omitempty"`

	// label value
	LabelValue string `json:"label_value,omitempty"`
}

OpenpitrixRepoLabel openpitrix repo label swagger:model openpitrixRepoLabel

func (*OpenpitrixRepoLabel) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRepoLabel) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRepoLabel) Validate ¶

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

Validate validates this openpitrix repo label

type OpenpitrixRepoLabels ¶

type OpenpitrixRepoLabels []*OpenpitrixRepoLabel

OpenpitrixRepoLabels labels swagger:model openpitrixRepoLabels

func (OpenpitrixRepoLabels) Validate ¶

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

Validate validates this openpitrix repo labels

type OpenpitrixRepoSelector ¶

type OpenpitrixRepoSelector struct {

	// the time when repository selector create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// selector key
	SelectorKey string `json:"selector_key,omitempty"`

	// selector value
	SelectorValue string `json:"selector_value,omitempty"`
}

OpenpitrixRepoSelector openpitrix repo selector swagger:model openpitrixRepoSelector

func (*OpenpitrixRepoSelector) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRepoSelector) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRepoSelector) Validate ¶

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

Validate validates this openpitrix repo selector

type OpenpitrixRepoSelectors ¶

type OpenpitrixRepoSelectors []*OpenpitrixRepoSelector

OpenpitrixRepoSelectors selectors of label swagger:model openpitrixRepoSelectors

func (OpenpitrixRepoSelectors) Validate ¶

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

Validate validates this openpitrix repo selectors

type OpenpitrixResizeClusterRequest ¶

type OpenpitrixResizeClusterRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of cluster to resize
	ClusterID string `json:"cluster_id,omitempty"`

	// role resource
	RoleResource OpenpitrixResizeClusterRequestRoleResource `json:"role_resource"`
}

OpenpitrixResizeClusterRequest openpitrix resize cluster request swagger:model openpitrixResizeClusterRequest

func (*OpenpitrixResizeClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixResizeClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixResizeClusterRequest) Validate ¶

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

Validate validates this openpitrix resize cluster request

type OpenpitrixResizeClusterRequestRoleResource ¶ added in v0.2.1

type OpenpitrixResizeClusterRequestRoleResource []*OpenpitrixRoleResource

OpenpitrixResizeClusterRequestRoleResource list of role resource swagger:model openpitrixResizeClusterRequestRoleResource

func (OpenpitrixResizeClusterRequestRoleResource) Validate ¶ added in v0.2.1

Validate validates this openpitrix resize cluster request role resource

type OpenpitrixResizeClusterResponse ¶

type OpenpitrixResizeClusterResponse struct {

	// id of cluster resized
	ClusterID string `json:"cluster_id,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixResizeClusterResponse openpitrix resize cluster response swagger:model openpitrixResizeClusterResponse

func (*OpenpitrixResizeClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixResizeClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixResizeClusterResponse) Validate ¶

Validate validates this openpitrix resize cluster response

type OpenpitrixResourceCategory ¶

type OpenpitrixResourceCategory struct {

	// category id
	CategoryID string `json:"category_id,omitempty"`

	// create time
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// name
	Name string `json:"name,omitempty"`

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

	// status time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`
}

OpenpitrixResourceCategory openpitrix resource category swagger:model openpitrixResourceCategory

func (*OpenpitrixResourceCategory) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixResourceCategory) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixResourceCategory) Validate ¶

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

Validate validates this openpitrix resource category

type OpenpitrixRetryTasksRequest ¶

type OpenpitrixRetryTasksRequest struct {

	// ids of task to retry
	TaskID []string `json:"task_id"`
}

OpenpitrixRetryTasksRequest openpitrix retry tasks request swagger:model openpitrixRetryTasksRequest

func (*OpenpitrixRetryTasksRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRetryTasksRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRetryTasksRequest) Validate ¶

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

Validate validates this openpitrix retry tasks request

type OpenpitrixRetryTasksResponse ¶

type OpenpitrixRetryTasksResponse struct {

	// task set
	TaskSet OpenpitrixRetryTasksResponseTaskSet `json:"task_set"`
}

OpenpitrixRetryTasksResponse openpitrix retry tasks response swagger:model openpitrixRetryTasksResponse

func (*OpenpitrixRetryTasksResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRetryTasksResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRetryTasksResponse) Validate ¶

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

Validate validates this openpitrix retry tasks response

type OpenpitrixRetryTasksResponseTaskSet ¶

type OpenpitrixRetryTasksResponseTaskSet []*OpenpitrixTask

OpenpitrixRetryTasksResponseTaskSet list of task retried swagger:model openpitrixRetryTasksResponseTaskSet

func (OpenpitrixRetryTasksResponseTaskSet) Validate ¶

Validate validates this openpitrix retry tasks response task set

type OpenpitrixReviewAppVersionRequest ¶ added in v0.4.0

type OpenpitrixReviewAppVersionRequest struct {

	// required, id of version to review
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixReviewAppVersionRequest openpitrix review app version request swagger:model openpitrixReviewAppVersionRequest

func (*OpenpitrixReviewAppVersionRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixReviewAppVersionRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixReviewAppVersionRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix review app version request

type OpenpitrixReviewAppVersionResponse ¶ added in v0.4.0

type OpenpitrixReviewAppVersionResponse struct {

	// id of version reviewed
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixReviewAppVersionResponse openpitrix review app version response swagger:model openpitrixReviewAppVersionResponse

func (*OpenpitrixReviewAppVersionResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixReviewAppVersionResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixReviewAppVersionResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix review app version response

type OpenpitrixRole ¶ added in v0.4.0

type OpenpitrixRole struct {

	// controller eg.[self|pitrix]
	Controller string `json:"controller,omitempty"`

	// the time when role create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// portal eg.[global_admin|user|isv]
	Portal string `json:"portal,omitempty"`

	// role id
	RoleID string `json:"role_id,omitempty"`

	// role name
	RoleName string `json:"role_name,omitempty"`

	// status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record change time of status
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// the time when role update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`
}

OpenpitrixRole openpitrix role swagger:model openpitrixRole

func (*OpenpitrixRole) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRole) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRole) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix role

type OpenpitrixRoleResource ¶ added in v0.2.1

type OpenpitrixRoleResource struct {

	// number of cpu
	CPU int64 `json:"cpu,omitempty"`

	// number of gpu
	Gpu int64 `json:"gpu,omitempty"`

	// size of instance
	InstanceSize int64 `json:"instance_size,omitempty"`

	// size of memory
	Memory int64 `json:"memory,omitempty"`

	// role.eg:[mysql|wordpress]
	Role string `json:"role,omitempty"`

	// size of storage
	StorageSize int64 `json:"storage_size,omitempty"`
}

OpenpitrixRoleResource openpitrix role resource swagger:model openpitrixRoleResource

func (*OpenpitrixRoleResource) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixRoleResource) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixRoleResource) Validate ¶ added in v0.2.1

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

Validate validates this openpitrix role resource

type OpenpitrixRollbackClusterRequest ¶

type OpenpitrixRollbackClusterRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of cluster to rollback
	ClusterID string `json:"cluster_id,omitempty"`
}

OpenpitrixRollbackClusterRequest openpitrix rollback cluster request swagger:model openpitrixRollbackClusterRequest

func (*OpenpitrixRollbackClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRollbackClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRollbackClusterRequest) Validate ¶

Validate validates this openpitrix rollback cluster request

type OpenpitrixRollbackClusterResponse ¶

type OpenpitrixRollbackClusterResponse struct {

	// id of cluster to rollbacked
	ClusterID string `json:"cluster_id,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixRollbackClusterResponse openpitrix rollback cluster response swagger:model openpitrixRollbackClusterResponse

func (*OpenpitrixRollbackClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRollbackClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRollbackClusterResponse) Validate ¶

Validate validates this openpitrix rollback cluster response

type OpenpitrixRuntime ¶

type OpenpitrixRuntime struct {

	// the time when runtime create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// debug or not
	Debug bool `json:"debug,omitempty"`

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

	// runtime name,create by owner.
	Name string `json:"name,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// runtime provider.eg.[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// runtime credential id
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`

	// runtime id
	RuntimeID string `json:"runtime_id,omitempty"`

	// status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// runtime zone eg.[pek3a|pek3b|...]
	Zone string `json:"zone,omitempty"`
}

OpenpitrixRuntime openpitrix runtime swagger:model openpitrixRuntime

func (*OpenpitrixRuntime) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixRuntime) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixRuntime) Validate ¶

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

Validate validates this openpitrix runtime

type OpenpitrixRuntimeConfig ¶ added in v0.4.0

type OpenpitrixRuntimeConfig struct {

	// config set
	ConfigSet OpenpitrixRuntimeConfigConfigSet `json:"config_set"`
}

OpenpitrixRuntimeConfig openpitrix runtime config swagger:model openpitrixRuntimeConfig

func (*OpenpitrixRuntimeConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRuntimeConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRuntimeConfig) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix runtime config

type OpenpitrixRuntimeConfigConfigSet ¶ added in v0.4.0

type OpenpitrixRuntimeConfigConfigSet []*OpenpitrixRuntimeItemConfig

OpenpitrixRuntimeConfigConfigSet runtime item config swagger:model openpitrixRuntimeConfigConfigSet

func (OpenpitrixRuntimeConfigConfigSet) Validate ¶ added in v0.4.0

Validate validates this openpitrix runtime config config set

type OpenpitrixRuntimeCredential ¶ added in v0.4.0

type OpenpitrixRuntimeCredential struct {

	// the time when runtime credential create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// debug or not
	Debug bool `json:"debug,omitempty"`

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

	// runtime credential name
	Name string `json:"name,omitempty"`

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

	// own path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// runtime credential content
	RuntimeCredentialContent string `json:"runtime_credential_content,omitempty"`

	// runtime credential id
	RuntimeCredentialID string `json:"runtime_credential_id,omitempty"`

	// runtime url eg.[http://www.qingyun.com]
	RuntimeURL string `json:"runtime_url,omitempty"`

	// runtime credential status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`
}

OpenpitrixRuntimeCredential openpitrix runtime credential swagger:model openpitrixRuntimeCredential

func (*OpenpitrixRuntimeCredential) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRuntimeCredential) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRuntimeCredential) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix runtime credential

type OpenpitrixRuntimeDetail ¶ added in v0.1.5

type OpenpitrixRuntimeDetail struct {

	// runtime
	Runtime *OpenpitrixRuntime `json:"runtime,omitempty"`

	// runtime credential
	RuntimeCredential *OpenpitrixRuntimeCredential `json:"runtime_credential,omitempty"`
}

OpenpitrixRuntimeDetail openpitrix runtime detail swagger:model openpitrixRuntimeDetail

func (*OpenpitrixRuntimeDetail) MarshalBinary ¶ added in v0.1.5

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

MarshalBinary interface implementation

func (*OpenpitrixRuntimeDetail) UnmarshalBinary ¶ added in v0.1.5

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

UnmarshalBinary interface implementation

func (*OpenpitrixRuntimeDetail) Validate ¶ added in v0.1.5

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

Validate validates this openpitrix runtime detail

type OpenpitrixRuntimeItemConfig ¶ added in v0.4.0

type OpenpitrixRuntimeItemConfig struct {

	// whether runtime is available
	Enable bool `json:"enable,omitempty"`

	// runtime name eg.[qingcloud|aliyun|aws|kubernetes]
	Name string `json:"name,omitempty"`
}

OpenpitrixRuntimeItemConfig openpitrix runtime item config swagger:model openpitrixRuntimeItemConfig

func (*OpenpitrixRuntimeItemConfig) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixRuntimeItemConfig) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixRuntimeItemConfig) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix runtime item config

type OpenpitrixSetServiceConfigRequest ¶ added in v0.4.0

type OpenpitrixSetServiceConfigRequest struct {

	// basic config
	BasicConfig *OpenpitrixBasicConfig `json:"basic_config,omitempty"`

	// notification config
	NotificationConfig *OpenpitrixNotificationConfig `json:"notification_config,omitempty"`

	// runtime config
	RuntimeConfig *OpenpitrixRuntimeConfig `json:"runtime_config,omitempty"`
}

OpenpitrixSetServiceConfigRequest openpitrix set service config request swagger:model openpitrixSetServiceConfigRequest

func (*OpenpitrixSetServiceConfigRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixSetServiceConfigRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixSetServiceConfigRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix set service config request

type OpenpitrixSetServiceConfigResponse ¶ added in v0.4.0

type OpenpitrixSetServiceConfigResponse struct {

	// set service config ok or not
	IsSucc bool `json:"is_succ,omitempty"`
}

OpenpitrixSetServiceConfigResponse openpitrix set service config response swagger:model openpitrixSetServiceConfigResponse

func (*OpenpitrixSetServiceConfigResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixSetServiceConfigResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixSetServiceConfigResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix set service config response

type OpenpitrixSplitJobIntoTasksResponse ¶ added in v0.4.0

type OpenpitrixSplitJobIntoTasksResponse struct {

	// job will split to TaskLayer
	TaskLayer *OpenpitrixTaskLayer `json:"taskLayer,omitempty"`
}

OpenpitrixSplitJobIntoTasksResponse openpitrix split job into tasks response swagger:model openpitrixSplitJobIntoTasksResponse

func (*OpenpitrixSplitJobIntoTasksResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixSplitJobIntoTasksResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixSplitJobIntoTasksResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix split job into tasks response

type OpenpitrixStartClustersRequest ¶

type OpenpitrixStartClustersRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, ids of cluster to start
	ClusterID []string `json:"cluster_id"`
}

OpenpitrixStartClustersRequest openpitrix start clusters request swagger:model openpitrixStartClustersRequest

func (*OpenpitrixStartClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixStartClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixStartClustersRequest) Validate ¶

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

Validate validates this openpitrix start clusters request

type OpenpitrixStartClustersResponse ¶

type OpenpitrixStartClustersResponse struct {

	// ids of clusters started
	ClusterID []string `json:"cluster_id"`

	// job ids
	JobID []string `json:"job_id"`
}

OpenpitrixStartClustersResponse openpitrix start clusters response swagger:model openpitrixStartClustersResponse

func (*OpenpitrixStartClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixStartClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixStartClustersResponse) Validate ¶

Validate validates this openpitrix start clusters response

type OpenpitrixStopClustersRequest ¶

type OpenpitrixStopClustersRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, ids of cluster to stop
	ClusterID []string `json:"cluster_id"`
}

OpenpitrixStopClustersRequest openpitrix stop clusters request swagger:model openpitrixStopClustersRequest

func (*OpenpitrixStopClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixStopClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixStopClustersRequest) Validate ¶

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

Validate validates this openpitrix stop clusters request

type OpenpitrixStopClustersResponse ¶

type OpenpitrixStopClustersResponse struct {

	// ids of clusters stopped
	ClusterID []string `json:"cluster_id"`

	// job ids
	JobID []string `json:"job_id"`
}

OpenpitrixStopClustersResponse openpitrix stop clusters response swagger:model openpitrixStopClustersResponse

func (*OpenpitrixStopClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixStopClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixStopClustersResponse) Validate ¶

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

Validate validates this openpitrix stop clusters response

type OpenpitrixSubmitAppVersionRequest ¶ added in v0.2.1

type OpenpitrixSubmitAppVersionRequest struct {

	// required, id of version to submit
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixSubmitAppVersionRequest openpitrix submit app version request swagger:model openpitrixSubmitAppVersionRequest

func (*OpenpitrixSubmitAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixSubmitAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixSubmitAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix submit app version request

type OpenpitrixSubmitAppVersionResponse ¶ added in v0.2.1

type OpenpitrixSubmitAppVersionResponse struct {

	// required, id of version submitted
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixSubmitAppVersionResponse openpitrix submit app version response swagger:model openpitrixSubmitAppVersionResponse

func (*OpenpitrixSubmitAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixSubmitAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixSubmitAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix submit app version response

type OpenpitrixSubmitVendorVerifyInfoRequest ¶ added in v0.4.0

type OpenpitrixSubmitVendorVerifyInfoRequest struct {

	// required, authorizer email eg. xxx@yunify.com
	AuthorizerEmail string `json:"authorizer_email,omitempty"`

	// required, authorizer name
	AuthorizerName string `json:"authorizer_name,omitempty"`

	// authorizer phone, string of 11 digit
	AuthorizerPhone string `json:"authorizer_phone,omitempty"`

	// bank account name
	BankAccountName string `json:"bank_account_name,omitempty"`

	// bank account number
	BankAccountNumber string `json:"bank_account_number,omitempty"`

	// bank name
	BankName string `json:"bank_name,omitempty"`

	// required, company name
	CompanyName string `json:"company_name,omitempty"`

	// company profile
	CompanyProfile string `json:"company_profile,omitempty"`

	// company website
	CompanyWebsite string `json:"company_website,omitempty"`

	// required, id of user to submit
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixSubmitVendorVerifyInfoRequest openpitrix submit vendor verify info request swagger:model openpitrixSubmitVendorVerifyInfoRequest

func (*OpenpitrixSubmitVendorVerifyInfoRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixSubmitVendorVerifyInfoRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixSubmitVendorVerifyInfoRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix submit vendor verify info request

type OpenpitrixSubmitVendorVerifyInfoResponse ¶ added in v0.4.0

type OpenpitrixSubmitVendorVerifyInfoResponse struct {

	// id of user submitted
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixSubmitVendorVerifyInfoResponse openpitrix submit vendor verify info response swagger:model openpitrixSubmitVendorVerifyInfoResponse

func (*OpenpitrixSubmitVendorVerifyInfoResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixSubmitVendorVerifyInfoResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixSubmitVendorVerifyInfoResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix submit vendor verify info response

type OpenpitrixSubnet ¶

type OpenpitrixSubnet struct {

	// the time when subnet create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// instance ids, subnet belong to one more instance
	InstanceID []string `json:"instance_id"`

	// subnet name
	Name string `json:"name,omitempty"`

	// subnet id
	SubnetID string `json:"subnet_id,omitempty"`

	// subnet type
	SubnetType int64 `json:"subnet_type,omitempty"`

	// vpc id, a vpc contain one more subnet
	VpcID string `json:"vpc_id,omitempty"`

	// subnet zone
	Zone string `json:"zone,omitempty"`
}

OpenpitrixSubnet openpitrix subnet swagger:model openpitrixSubnet

func (*OpenpitrixSubnet) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixSubnet) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixSubnet) Validate ¶

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

Validate validates this openpitrix subnet

type OpenpitrixSuspendAppVersionRequest ¶ added in v0.2.1

type OpenpitrixSuspendAppVersionRequest struct {

	// required, id of version to suspend
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixSuspendAppVersionRequest openpitrix suspend app version request swagger:model openpitrixSuspendAppVersionRequest

func (*OpenpitrixSuspendAppVersionRequest) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixSuspendAppVersionRequest) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixSuspendAppVersionRequest) Validate ¶ added in v0.2.1

Validate validates this openpitrix suspend app version request

type OpenpitrixSuspendAppVersionResponse ¶ added in v0.2.1

type OpenpitrixSuspendAppVersionResponse struct {

	// id of version suspended
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixSuspendAppVersionResponse openpitrix suspend app version response swagger:model openpitrixSuspendAppVersionResponse

func (*OpenpitrixSuspendAppVersionResponse) MarshalBinary ¶ added in v0.2.1

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

MarshalBinary interface implementation

func (*OpenpitrixSuspendAppVersionResponse) UnmarshalBinary ¶ added in v0.2.1

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

UnmarshalBinary interface implementation

func (*OpenpitrixSuspendAppVersionResponse) Validate ¶ added in v0.2.1

Validate validates this openpitrix suspend app version response

type OpenpitrixSyncRepoResponse ¶ added in v0.2.3

type OpenpitrixSyncRepoResponse struct {

	// synchronized ok or not
	Failed bool `json:"failed,omitempty"`

	// result
	Result string `json:"result,omitempty"`
}

OpenpitrixSyncRepoResponse openpitrix sync repo response swagger:model openpitrixSyncRepoResponse

func (*OpenpitrixSyncRepoResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixSyncRepoResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixSyncRepoResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix sync repo response

type OpenpitrixTask ¶

type OpenpitrixTask struct {

	// the time when task create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

	// directive,a json string, describe the info of running the task action
	Directive string `json:"directive,omitempty"`

	// error code
	ErrorCode int64 `json:"error_code,omitempty"`

	// host name of server
	Executor string `json:"executor,omitempty"`

	// allow task run failed or not
	FailureAllowed bool `json:"failure_allowed,omitempty"`

	// job id,job will be split to one more task
	JobID string `json:"job_id,omitempty"`

	// the cluster contain one more node
	NodeID string `json:"node_id,omitempty"`

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

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// task status eg.[running|successful|failed|pending]
	Status string `json:"status,omitempty"`

	// record the status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// describe where the task running eg.[runtime|pilot]
	Target string `json:"target,omitempty"`

	// describe the action of the task eg.[WaitFrontgateAvailable|PingFrontgate|AttachVolumes|StartInstances|...]
	TaskAction string `json:"task_action,omitempty"`

	// task id
	TaskID string `json:"task_id,omitempty"`
}

OpenpitrixTask openpitrix task swagger:model openpitrixTask

func (*OpenpitrixTask) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixTask) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixTask) Validate ¶

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

Validate validates this openpitrix task

type OpenpitrixTaskLayer ¶ added in v0.4.0

type OpenpitrixTaskLayer struct {

	// a task layer point to another task layer
	Child *OpenpitrixTaskLayer `json:"child,omitempty"`

	// tasks
	Tasks OpenpitrixTaskLayerTasks `json:"tasks"`
}

OpenpitrixTaskLayer openpitrix task layer swagger:model openpitrixTaskLayer

func (*OpenpitrixTaskLayer) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixTaskLayer) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixTaskLayer) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix task layer

type OpenpitrixTaskLayerTasks ¶ added in v0.4.0

type OpenpitrixTaskLayerTasks []*OpenpitrixTask

OpenpitrixTaskLayerTasks task in task layer, a task layer contain one more task swagger:model openpitrixTaskLayerTasks

func (OpenpitrixTaskLayerTasks) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix task layer tasks

type OpenpitrixTokenRequest ¶ added in v0.2.3

type OpenpitrixTokenRequest struct {

	// required, client id
	ClientID string `json:"client_id,omitempty"`

	// required, used for validate client credentials
	ClientSecret string `json:"client_secret,omitempty"`

	// required, type of client request verification.eg.[client_credentials or password or refresh_token]
	GrantType string `json:"grant_type,omitempty"`

	// required or not depend on grant_type, user's password
	Password string `json:"password,omitempty"`

	// required or not depend on grant_type, refresh token to check whether token expired
	RefreshToken string `json:"refresh_token,omitempty"`

	// scope
	Scope string `json:"scope,omitempty"`

	// required or not depend on grant_type, user's name
	Username string `json:"username,omitempty"`
}

OpenpitrixTokenRequest openpitrix token request swagger:model openpitrixTokenRequest

func (*OpenpitrixTokenRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixTokenRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixTokenRequest) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix token request

type OpenpitrixTokenResponse ¶ added in v0.2.3

type OpenpitrixTokenResponse struct {

	// access token, generator by jwt(key=secrete key)
	AccessToken string `json:"access_token,omitempty"`

	// default 2h
	ExpiresIn int32 `json:"expires_in,omitempty"`

	// id token, generator by jwt(key="")
	IDToken string `json:"id_token,omitempty"`

	// refresh token, timeliness,default expired after 2 weeks
	RefreshToken string `json:"refresh_token,omitempty"`

	// token type.eg.[sender,bearer]
	TokenType string `json:"token_type,omitempty"`
}

OpenpitrixTokenResponse openpitrix token response swagger:model openpitrixTokenResponse

func (*OpenpitrixTokenResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixTokenResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixTokenResponse) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix token response

type OpenpitrixUnbindUserRoleRequest ¶ added in v0.4.0

type OpenpitrixUnbindUserRoleRequest struct {

	// ids of role for user to unbind with
	RoleID []string `json:"role_id"`

	// ids of user to unbind
	UserID []string `json:"user_id"`
}

OpenpitrixUnbindUserRoleRequest openpitrix unbind user role request swagger:model openpitrixUnbindUserRoleRequest

func (*OpenpitrixUnbindUserRoleRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixUnbindUserRoleRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixUnbindUserRoleRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix unbind user role request

type OpenpitrixUnbindUserRoleResponse ¶ added in v0.4.0

type OpenpitrixUnbindUserRoleResponse struct {

	// ids of role for user to unbind with
	RoleID []string `json:"role_id"`

	// ids of user to unbind
	UserID []string `json:"user_id"`
}

OpenpitrixUnbindUserRoleResponse openpitrix unbind user role response swagger:model openpitrixUnbindUserRoleResponse

func (*OpenpitrixUnbindUserRoleResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixUnbindUserRoleResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixUnbindUserRoleResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix unbind user role response

type OpenpitrixUpdateClusterEnvRequest ¶

type OpenpitrixUpdateClusterEnvRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// id of cluster to update env
	ClusterID string `json:"cluster_id,omitempty"`

	// env
	Env string `json:"env,omitempty"`
}

OpenpitrixUpdateClusterEnvRequest openpitrix update cluster env request swagger:model openpitrixUpdateClusterEnvRequest

func (*OpenpitrixUpdateClusterEnvRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixUpdateClusterEnvRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixUpdateClusterEnvRequest) Validate ¶

Validate validates this openpitrix update cluster env request

type OpenpitrixUpdateClusterEnvResponse ¶

type OpenpitrixUpdateClusterEnvResponse struct {

	// id of cluster to updated env
	ClusterID string `json:"cluster_id,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixUpdateClusterEnvResponse openpitrix update cluster env response swagger:model openpitrixUpdateClusterEnvResponse

func (*OpenpitrixUpdateClusterEnvResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixUpdateClusterEnvResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixUpdateClusterEnvResponse) Validate ¶

Validate validates this openpitrix update cluster env response

type OpenpitrixUpgradeClusterRequest ¶

type OpenpitrixUpgradeClusterRequest struct {

	// advanced param
	AdvancedParam []string `json:"advanced_param"`

	// required, id of cluster to upgrade
	ClusterID string `json:"cluster_id,omitempty"`

	// app version id
	VersionID string `json:"version_id,omitempty"`
}

OpenpitrixUpgradeClusterRequest openpitrix upgrade cluster request swagger:model openpitrixUpgradeClusterRequest

func (*OpenpitrixUpgradeClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixUpgradeClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixUpgradeClusterRequest) Validate ¶

Validate validates this openpitrix upgrade cluster request

type OpenpitrixUpgradeClusterResponse ¶

type OpenpitrixUpgradeClusterResponse struct {

	// id of cluster upgraded
	ClusterID string `json:"cluster_id,omitempty"`

	// job id
	JobID string `json:"job_id,omitempty"`
}

OpenpitrixUpgradeClusterResponse openpitrix upgrade cluster response swagger:model openpitrixUpgradeClusterResponse

func (*OpenpitrixUpgradeClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixUpgradeClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixUpgradeClusterResponse) Validate ¶

Validate validates this openpitrix upgrade cluster response

type OpenpitrixUploadAppAttachmentRequest ¶ added in v0.4.0

type OpenpitrixUploadAppAttachmentRequest struct {

	// required, id of app to upload attachment
	AppID string `json:"app_id,omitempty"`

	// required, content of attachment
	AttachmentContent strfmt.Base64 `json:"attachment_content,omitempty"`

	// only for screenshot, range: [0, 5]
	Sequence int64 `json:"sequence,omitempty"`

	// optional: icon/screenshot
	Type OpenpitrixUploadAppAttachmentRequestType `json:"type,omitempty"`
}

OpenpitrixUploadAppAttachmentRequest openpitrix upload app attachment request swagger:model openpitrixUploadAppAttachmentRequest

func (*OpenpitrixUploadAppAttachmentRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixUploadAppAttachmentRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixUploadAppAttachmentRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix upload app attachment request

type OpenpitrixUploadAppAttachmentRequestType ¶ added in v0.4.0

type OpenpitrixUploadAppAttachmentRequestType string

OpenpitrixUploadAppAttachmentRequestType openpitrix upload app attachment request type swagger:model openpitrixUploadAppAttachmentRequestType

const (
	// OpenpitrixUploadAppAttachmentRequestTypeIcon captures enum value "icon"
	OpenpitrixUploadAppAttachmentRequestTypeIcon OpenpitrixUploadAppAttachmentRequestType = "icon"
	// OpenpitrixUploadAppAttachmentRequestTypeScreenshot captures enum value "screenshot"
	OpenpitrixUploadAppAttachmentRequestTypeScreenshot OpenpitrixUploadAppAttachmentRequestType = "screenshot"
)

func (OpenpitrixUploadAppAttachmentRequestType) Validate ¶ added in v0.4.0

Validate validates this openpitrix upload app attachment request type

type OpenpitrixUploadAppAttachmentResponse ¶ added in v0.4.0

type OpenpitrixUploadAppAttachmentResponse struct {

	// id of app to upload attachment
	AppID string `json:"app_id,omitempty"`
}

OpenpitrixUploadAppAttachmentResponse openpitrix upload app attachment response swagger:model openpitrixUploadAppAttachmentResponse

func (*OpenpitrixUploadAppAttachmentResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixUploadAppAttachmentResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixUploadAppAttachmentResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix upload app attachment response

type OpenpitrixUser ¶ added in v0.2.3

type OpenpitrixUser struct {

	// the time when user create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

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

	// user phone number
	PhoneNumber string `json:"phone_number,omitempty"`

	// user status eg.[active|deleted]
	Status string `json:"status,omitempty"`

	// record changed time of status
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// the time when user update
	UpdateTime strfmt.DateTime `json:"update_time,omitempty"`

	// user id, user belong to different group and role, has different permissions
	UserID string `json:"user_id,omitempty"`

	// user name
	Username string `json:"username,omitempty"`
}

OpenpitrixUser openpitrix user swagger:model openpitrixUser

func (*OpenpitrixUser) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixUser) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixUser) Validate ¶ added in v0.2.3

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

Validate validates this openpitrix user

type OpenpitrixUserDetail ¶ added in v0.4.0

type OpenpitrixUserDetail struct {

	// group set
	GroupSet OpenpitrixUserDetailGroupSet `json:"group_set"`

	// role set
	RoleSet OpenpitrixUserDetailRoleSet `json:"role_set"`

	// user info
	User *OpenpitrixUser `json:"user,omitempty"`
}

OpenpitrixUserDetail openpitrix user detail swagger:model openpitrixUserDetail

func (*OpenpitrixUserDetail) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixUserDetail) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixUserDetail) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix user detail

type OpenpitrixUserDetailGroupSet ¶ added in v0.4.0

type OpenpitrixUserDetailGroupSet []*OpenpitrixGroup

OpenpitrixUserDetailGroupSet list of user's group swagger:model openpitrixUserDetailGroupSet

func (OpenpitrixUserDetailGroupSet) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix user detail group set

type OpenpitrixUserDetailRoleSet ¶ added in v0.4.0

type OpenpitrixUserDetailRoleSet []*OpenpitrixRole

OpenpitrixUserDetailRoleSet list of user's role swagger:model openpitrixUserDetailRoleSet

func (OpenpitrixUserDetailRoleSet) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix user detail role set

type OpenpitrixUserJoinMarketRequest ¶ added in v0.3.3

type OpenpitrixUserJoinMarketRequest struct {

	// market id
	MarketID []string `json:"market_id"`

	// user id
	UserID []string `json:"user_id"`
}

OpenpitrixUserJoinMarketRequest openpitrix user join market request swagger:model openpitrixUserJoinMarketRequest

func (*OpenpitrixUserJoinMarketRequest) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixUserJoinMarketRequest) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixUserJoinMarketRequest) Validate ¶ added in v0.3.3

Validate validates this openpitrix user join market request

type OpenpitrixUserJoinMarketResponse ¶ added in v0.3.3

type OpenpitrixUserJoinMarketResponse struct {

	// market id
	MarketID []string `json:"market_id"`

	// user id
	UserID []string `json:"user_id"`
}

OpenpitrixUserJoinMarketResponse openpitrix user join market response swagger:model openpitrixUserJoinMarketResponse

func (*OpenpitrixUserJoinMarketResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixUserJoinMarketResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixUserJoinMarketResponse) Validate ¶ added in v0.3.3

Validate validates this openpitrix user join market response

type OpenpitrixUserLeaveMarketRequest ¶ added in v0.3.3

type OpenpitrixUserLeaveMarketRequest struct {

	// market id
	MarketID []string `json:"market_id"`

	// user id
	UserID []string `json:"user_id"`
}

OpenpitrixUserLeaveMarketRequest openpitrix user leave market request swagger:model openpitrixUserLeaveMarketRequest

func (*OpenpitrixUserLeaveMarketRequest) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixUserLeaveMarketRequest) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixUserLeaveMarketRequest) Validate ¶ added in v0.3.3

Validate validates this openpitrix user leave market request

type OpenpitrixUserLeaveMarketResponse ¶ added in v0.3.3

type OpenpitrixUserLeaveMarketResponse struct {

	// market id
	MarketID []string `json:"market_id"`

	// user id
	UserID []string `json:"user_id"`
}

OpenpitrixUserLeaveMarketResponse openpitrix user leave market response swagger:model openpitrixUserLeaveMarketResponse

func (*OpenpitrixUserLeaveMarketResponse) MarshalBinary ¶ added in v0.3.3

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

MarshalBinary interface implementation

func (*OpenpitrixUserLeaveMarketResponse) UnmarshalBinary ¶ added in v0.3.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixUserLeaveMarketResponse) Validate ¶ added in v0.3.3

Validate validates this openpitrix user leave market response

type OpenpitrixValidateEmailServiceRequest ¶ added in v0.4.0

type OpenpitrixValidateEmailServiceRequest struct {

	// email service config
	EmailServiceConfig *OpenpitrixEmailServiceConfig `json:"email_service_config,omitempty"`
}

OpenpitrixValidateEmailServiceRequest openpitrix validate email service request swagger:model openpitrixValidateEmailServiceRequest

func (*OpenpitrixValidateEmailServiceRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidateEmailServiceRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateEmailServiceRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate email service request

type OpenpitrixValidateEmailServiceResponse ¶ added in v0.4.0

type OpenpitrixValidateEmailServiceResponse struct {

	// validate email service ok or not
	IsSucc bool `json:"is_succ,omitempty"`
}

OpenpitrixValidateEmailServiceResponse openpitrix validate email service response swagger:model openpitrixValidateEmailServiceResponse

func (*OpenpitrixValidateEmailServiceResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidateEmailServiceResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateEmailServiceResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate email service response

type OpenpitrixValidatePackageRequest ¶ added in v0.4.0

type OpenpitrixValidatePackageRequest struct {

	// required, version package eg.[the wordpress-0.0.1.tgz will be encoded to bytes]
	VersionPackage strfmt.Base64 `json:"version_package,omitempty"`

	// optional, vmbased/helm
	VersionType string `json:"version_type,omitempty"`
}

OpenpitrixValidatePackageRequest openpitrix validate package request swagger:model openpitrixValidatePackageRequest

func (*OpenpitrixValidatePackageRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidatePackageRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidatePackageRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate package request

type OpenpitrixValidatePackageResponse ¶ added in v0.4.0

type OpenpitrixValidatePackageResponse struct {

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

	// error eg.[json error]
	Error string `json:"error,omitempty"`

	// filename map to detail
	ErrorDetails map[string]string `json:"error_details,omitempty"`

	// app name eg.[wordpress|mysql|...]
	Name string `json:"name,omitempty"`

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

	// app version name.eg.[0.1.0]
	VersionName string `json:"version_name,omitempty"`
}

OpenpitrixValidatePackageResponse openpitrix validate package response swagger:model openpitrixValidatePackageResponse

func (*OpenpitrixValidatePackageResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidatePackageResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidatePackageResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate package response

type OpenpitrixValidateRepoResponse ¶

type OpenpitrixValidateRepoResponse struct {

	// if validate error,return error code
	ErrorCode int64 `json:"errorCode,omitempty"`

	// validate repository ok or not
	Ok bool `json:"ok,omitempty"`
}

OpenpitrixValidateRepoResponse openpitrix validate repo response swagger:model openpitrixValidateRepoResponse

func (*OpenpitrixValidateRepoResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*OpenpitrixValidateRepoResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateRepoResponse) Validate ¶

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

Validate validates this openpitrix validate repo response

type OpenpitrixValidateRuntimeCredentialRequest ¶ added in v0.4.0

type OpenpitrixValidateRuntimeCredentialRequest struct {

	// required, runtime provider eg.[qingcloud|aliyun|aws|kubernetes]
	Provider string `json:"provider,omitempty"`

	// required, runtime url
	RuntimeCredentialContent string `json:"runtime_credential_content,omitempty"`

	// required, runtime url
	RuntimeURL string `json:"runtime_url,omitempty"`
}

OpenpitrixValidateRuntimeCredentialRequest openpitrix validate runtime credential request swagger:model openpitrixValidateRuntimeCredentialRequest

func (*OpenpitrixValidateRuntimeCredentialRequest) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeCredentialRequest) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeCredentialRequest) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate runtime credential request

type OpenpitrixValidateRuntimeCredentialResponse ¶ added in v0.4.0

type OpenpitrixValidateRuntimeCredentialResponse struct {

	// validte ok or not
	Ok bool `json:"ok,omitempty"`
}

OpenpitrixValidateRuntimeCredentialResponse openpitrix validate runtime credential response swagger:model openpitrixValidateRuntimeCredentialResponse

func (*OpenpitrixValidateRuntimeCredentialResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeCredentialResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeCredentialResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate runtime credential response

type OpenpitrixValidateRuntimeResponse ¶ added in v0.4.0

type OpenpitrixValidateRuntimeResponse struct {

	// validate ok or not
	Ok bool `json:"ok,omitempty"`
}

OpenpitrixValidateRuntimeResponse openpitrix validate runtime response swagger:model openpitrixValidateRuntimeResponse

func (*OpenpitrixValidateRuntimeResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateRuntimeResponse) Validate ¶ added in v0.4.0

Validate validates this openpitrix validate runtime response

type OpenpitrixValidateUserPasswordRequest ¶ added in v0.2.3

type OpenpitrixValidateUserPasswordRequest struct {

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

	// required, user password
	Password string `json:"password,omitempty"`
}

OpenpitrixValidateUserPasswordRequest openpitrix validate user password request swagger:model openpitrixValidateUserPasswordRequest

func (*OpenpitrixValidateUserPasswordRequest) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixValidateUserPasswordRequest) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateUserPasswordRequest) Validate ¶ added in v0.2.3

Validate validates this openpitrix validate user password request

type OpenpitrixValidateUserPasswordResponse ¶ added in v0.2.3

type OpenpitrixValidateUserPasswordResponse struct {

	// validate password ok or not
	Validated bool `json:"validated,omitempty"`
}

OpenpitrixValidateUserPasswordResponse openpitrix validate user password response swagger:model openpitrixValidateUserPasswordResponse

func (*OpenpitrixValidateUserPasswordResponse) MarshalBinary ¶ added in v0.2.3

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

MarshalBinary interface implementation

func (*OpenpitrixValidateUserPasswordResponse) UnmarshalBinary ¶ added in v0.2.3

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

UnmarshalBinary interface implementation

func (*OpenpitrixValidateUserPasswordResponse) Validate ¶ added in v0.2.3

Validate validates this openpitrix validate user password response

type OpenpitrixVendorStatistics ¶ added in v0.4.0

type OpenpitrixVendorStatistics struct {

	// number of user's active app
	ActiveAppCount int64 `json:"active_app_count,omitempty"`

	// total count of cluster last month
	ClusterCountMonth int64 `json:"cluster_count_month,omitempty"`

	// total count of cluster
	ClusterCountTotal int64 `json:"cluster_count_total,omitempty"`

	// company name
	CompanyName string `json:"company_name,omitempty"`

	// use user id to statistic
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixVendorStatistics openpitrix vendor statistics swagger:model openpitrixVendorStatistics

func (*OpenpitrixVendorStatistics) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixVendorStatistics) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixVendorStatistics) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix vendor statistics

type OpenpitrixVendorVerifyInfo ¶ added in v0.4.0

type OpenpitrixVendorVerifyInfo struct {

	// approver who approve the vendor verify
	Approver string `json:"approver,omitempty"`

	// authorizer email eg.***@yunify.com
	AuthorizerEmail string `json:"authorizer_email,omitempty"`

	// authorizer name
	AuthorizerName string `json:"authorizer_name,omitempty"`

	// authorizer phone, string of 11 digit
	AuthorizerPhone string `json:"authorizer_phone,omitempty"`

	// name of bank account
	BankAccountName string `json:"bank_account_name,omitempty"`

	// number of bank account
	BankAccountNumber string `json:"bank_account_number,omitempty"`

	// bank name
	BankName string `json:"bank_name,omitempty"`

	// company name
	CompanyName string `json:"company_name,omitempty"`

	// company profile
	CompanyProfile string `json:"company_profile,omitempty"`

	// company website
	CompanyWebsite string `json:"company_website,omitempty"`

	// owner who own the vendor verify
	Owner string `json:"owner,omitempty"`

	// owner path, concat string group_path:user_id
	OwnerPath string `json:"owner_path,omitempty"`

	// reject message
	RejectMessage string `json:"reject_message,omitempty"`

	// status eg.[draft|submitted|passed|rejected|suspended|in-review|new]
	Status string `json:"status,omitempty"`

	// record status changed time
	StatusTime strfmt.DateTime `json:"status_time,omitempty"`

	// submit time of vendor verify
	SubmitTime strfmt.DateTime `json:"submit_time,omitempty"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

OpenpitrixVendorVerifyInfo openpitrix vendor verify info swagger:model openpitrixVendorVerifyInfo

func (*OpenpitrixVendorVerifyInfo) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixVendorVerifyInfo) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixVendorVerifyInfo) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix vendor verify info

type OpenpitrixVpc ¶ added in v0.4.0

type OpenpitrixVpc struct {

	// the time when vpc create
	CreateTime strfmt.DateTime `json:"create_time,omitempty"`

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

	// elastic ip, a vpc has a eip
	Eip *OpenpitrixEip `json:"eip,omitempty"`

	// vpc name
	Name string `json:"name,omitempty"`

	// cluster status eg.[pending|running|stopped|suspended|terminated|ceased]
	Status string `json:"status,omitempty"`

	// list subnet, a vpc contain one more subnet
	Subnets []string `json:"subnets"`

	// cluster transition status eg.[creating|starting|stopping|restarting|suspending|resuming|terminating|recovering|resetting]
	TransitionStatus string `json:"transition_status,omitempty"`

	// vpc id
	VpcID string `json:"vpc_id,omitempty"`
}

OpenpitrixVpc openpitrix vpc swagger:model openpitrixVpc

func (*OpenpitrixVpc) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixVpc) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixVpc) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix vpc

type OpenpitrixWaitSubtaskResponse ¶ added in v0.4.0

type OpenpitrixWaitSubtaskResponse struct {

	// task waited
	Task *OpenpitrixTask `json:"task,omitempty"`
}

OpenpitrixWaitSubtaskResponse openpitrix wait subtask response swagger:model openpitrixWaitSubtaskResponse

func (*OpenpitrixWaitSubtaskResponse) MarshalBinary ¶ added in v0.4.0

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

MarshalBinary interface implementation

func (*OpenpitrixWaitSubtaskResponse) UnmarshalBinary ¶ added in v0.4.0

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

UnmarshalBinary interface implementation

func (*OpenpitrixWaitSubtaskResponse) Validate ¶ added in v0.4.0

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

Validate validates this openpitrix wait subtask response

type ProtobufEmpty ¶

type ProtobufEmpty interface{}

ProtobufEmpty A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo {
      rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
    }

The JSON representation for `Empty` is empty JSON object `{}`. swagger:model protobufEmpty

Source Files ¶

Jump to

Keyboard shortcuts

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