Documentation ¶
Index ¶
- func OneSelectQuery(namespaceID, name string) interface{}
- type DeploymentList
- type DeploymentResource
- func (depl DeploymentResource) AllSelectOwnerQuery() interface{}
- func (depl DeploymentResource) AllSelectQuery() interface{}
- func (depl DeploymentResource) Copy() DeploymentResource
- func (depl DeploymentResource) OneAnyVersionSelectQuery() interface{}
- func (depl DeploymentResource) OneInactiveSelectQuery() interface{}
- func (depl DeploymentResource) OneSelectDeletedQuery() interface{}
- func (depl DeploymentResource) OneSelectQuery() interface{}
- func (depl DeploymentResource) UpdateQuery() interface{}
- type DeploymentsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OneSelectQuery ¶
func OneSelectQuery(namespaceID, name string) interface{}
Types ¶
type DeploymentList ¶
type DeploymentList []DeploymentResource
Deployment -- deployments list
swagger:model
func (DeploymentList) Copy ¶
func (list DeploymentList) Copy() DeploymentList
func (DeploymentList) Filter ¶
func (list DeploymentList) Filter(pred func(deployment DeploymentResource) bool) DeploymentList
func (DeploymentList) IDs ¶
func (list DeploymentList) IDs() []string
func (DeploymentList) Len ¶
func (list DeploymentList) Len() int
func (DeploymentList) Names ¶
func (list DeploymentList) Names() []string
type DeploymentResource ¶
type DeploymentResource struct { model.Deployment ID string `json:"_id,omitempty" bson:"_id,omitempty"` Deleted bool `json:"deleted"` NamespaceID string `json:"namespaceid"` }
DeploymentResource -- model for deployments for resource-service db
swagger:model
func DeploymentFromKube ¶
func DeploymentFromKube(nsID, owner string, deployment model.Deployment) DeploymentResource
func (DeploymentResource) AllSelectOwnerQuery ¶
func (depl DeploymentResource) AllSelectOwnerQuery() interface{}
func (DeploymentResource) AllSelectQuery ¶
func (depl DeploymentResource) AllSelectQuery() interface{}
func (DeploymentResource) Copy ¶
func (depl DeploymentResource) Copy() DeploymentResource
func (DeploymentResource) OneAnyVersionSelectQuery ¶
func (depl DeploymentResource) OneAnyVersionSelectQuery() interface{}
func (DeploymentResource) OneInactiveSelectQuery ¶
func (depl DeploymentResource) OneInactiveSelectQuery() interface{}
func (DeploymentResource) OneSelectDeletedQuery ¶
func (depl DeploymentResource) OneSelectDeletedQuery() interface{}
func (DeploymentResource) OneSelectQuery ¶
func (depl DeploymentResource) OneSelectQuery() interface{}
func (DeploymentResource) UpdateQuery ¶
func (depl DeploymentResource) UpdateQuery() interface{}
type DeploymentsResponse ¶ added in v1.0.3
type DeploymentsResponse struct {
Deployments DeploymentList `json:"deployments"`
}
DeploymentsResponse -- deployments response
swagger:model
Click to show internal directories.
Click to hide internal directories.