deployment

package
Version: v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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{}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL