compiler

package
v0.0.0-...-8150c2d Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright (C) 2016 H2O.ai, Inc. <http://h2o.ai/>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Copyright (C) 2016 H2O.ai, Inc. <http://h2o.ai/>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const (
	ArtifactWar       = "war"
	ArtifactJar       = "jar"
	ArtifactPythonWar = "pywar"
)

Variables

This section is empty.

Functions

func CompileModel

func CompileModel(address, wd string, projectId, modelId int64, logicalName, modelType, algorithm, artifact, packageName string) (string, error)

Types

type Deepwater

type Deepwater struct {
	*Model
	// contains filtered or unexported fields
}

func NewDeepwater

func NewDeepwater(workingDirectory string, modelId int64, logicalName, modelType string, pythonFiles pythonPackage) *Deepwater

NewDeepWater returns a new instance of Deepwater.

func (*Deepwater) AttachFiles

func (c *Deepwater) AttachFiles(w *multipart.Writer) error

type Model

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

func NewModel

func NewModel(workingDirectory string, modelId int64, logicalName, modelType string, pythonFiles pythonPackage) *Model

func (*Model) AttachFiles

func (c *Model) AttachFiles(w *multipart.Writer) error

type ModelAsset

type ModelAsset interface {
	AttachFiles(w *multipart.Writer) error
}

Jump to

Keyboard shortcuts

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