newdeploy

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentKind    = "Deployment"
	DeploymentVersion = "extensions/v1beta1"
)
View Source
const (
	FnCreate requestType = iota
	FnUpdate
	FnDelete
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NewDeploy

type NewDeploy struct {
	// contains filtered or unexported fields
}

func MakeNewDeploy

func MakeNewDeploy(
	fissionClient *crd.FissionClient,
	kubernetesClient *kubernetes.Clientset,
	crdClient *rest.RESTClient,
	namespace string,
	fsCache *fscache.FunctionServiceCache,
	instanceID string,
) *NewDeploy

func (*NewDeploy) GetFuncSvc

func (deploy *NewDeploy) GetFuncSvc(metadata *metav1.ObjectMeta) (*fscache.FuncSvc, error)

func (*NewDeploy) Run

func (deploy *NewDeploy) Run(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL