deploy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerDeployer

type DockerDeployer interface {
	Setup(ctx context.Context) error

	CreateFLNetworks(ctx context.Context) error
	PullCoreImage(ctx context.Context) error
	PullWorkerImage(ctx context.Context) error
	StartCore(ctx context.Context) error
	StartWorker(ctx context.Context) error

	RemoveFLNetworks(ctx context.Context) error
	RemoveCoreContainer(context.Context) error
	RemoveWorkerContainer(context.Context) error
	RemoveFunctionContainers(ctx context.Context) error
}

type LocalDeployer

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

func NewLocalDeployer

func NewLocalDeployer(coreContainerName, workerContainerName, flNetName, flRuntimeNetName string) *LocalDeployer

func (*LocalDeployer) CreateFLNetworks

func (d *LocalDeployer) CreateFLNetworks(ctx context.Context) error

func (*LocalDeployer) PullCoreImage

func (d *LocalDeployer) PullCoreImage(ctx context.Context) error

func (*LocalDeployer) PullWorkerImage

func (d *LocalDeployer) PullWorkerImage(ctx context.Context) error

func (*LocalDeployer) RemoveCoreContainer

func (d *LocalDeployer) RemoveCoreContainer(ctx context.Context) error

func (*LocalDeployer) RemoveFLNetworks

func (d *LocalDeployer) RemoveFLNetworks(ctx context.Context) error

func (*LocalDeployer) RemoveFunctionContainers

func (d *LocalDeployer) RemoveFunctionContainers(ctx context.Context) error

func (*LocalDeployer) RemoveWorkerContainer

func (d *LocalDeployer) RemoveWorkerContainer(ctx context.Context) error

func (*LocalDeployer) Setup

func (d *LocalDeployer) Setup(ctx context.Context) error

func (*LocalDeployer) StartCore

func (d *LocalDeployer) StartCore(ctx context.Context) error

func (*LocalDeployer) StartWorker

func (d *LocalDeployer) StartWorker(ctx context.Context) error

Jump to

Keyboard shortcuts

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