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