server

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2020 License: Apache-2.0 Imports: 23 Imported by: 7

Documentation

Overview

* Copyright 2019 the Astrolabe contributors * SPDX-License-Identifier: Apache-2.0 * Licensed 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.

* Copyright 2019 the Astrolabe contributors * SPDX-License-Identifier: Apache-2.0 * Licensed 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

func NewProtectedEntityManager

func NewProtectedEntityManager(confDirPath string, port int) (string, astrolabe.ProtectedEntityManager)

Types

type Astrolabe

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

func NewAstrolabe

func NewAstrolabe(confDirPath string, port int) *Astrolabe

func NewAstrolabeRepository

func NewAstrolabeRepository() *Astrolabe

func (*Astrolabe) ConnectAstrolabeAPIToEcho

func (this *Astrolabe) ConnectAstrolabeAPIToEcho(echo *echo.Echo) error

func (*Astrolabe) ConnectMiniS3ToEcho

func (this *Astrolabe) ConnectMiniS3ToEcho(echo *echo.Echo) error

func (*Astrolabe) Get

func (this *Astrolabe) Get(c echo.Context) error

type DirectProtectedEntityManager

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

func NewDirectProtectedEntityManager

func NewDirectProtectedEntityManager(petms []astrolabe.ProtectedEntityTypeManager, s3URLBase string) (returnPEM *DirectProtectedEntityManager)

func NewDirectProtectedEntityManagerFromConfigDir

func NewDirectProtectedEntityManagerFromConfigDir(confDirPath string, s3URLBase string) *DirectProtectedEntityManager

func NewDirectProtectedEntityManagerFromParamMap

func NewDirectProtectedEntityManagerFromParamMap(configMap map[string]map[string]interface{}, s3URLBase string) *DirectProtectedEntityManager

func (*DirectProtectedEntityManager) GetProtectedEntity

func (*DirectProtectedEntityManager) GetProtectedEntityTypeManager

func (this *DirectProtectedEntityManager) GetProtectedEntityTypeManager(peType string) astrolabe.ProtectedEntityTypeManager

func (*DirectProtectedEntityManager) ListEntityTypeManagers

func (this *DirectProtectedEntityManager) ListEntityTypeManagers() []astrolabe.ProtectedEntityTypeManager

type OpenAPIAstrolabeHandler

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

func (OpenAPIAstrolabeHandler) AttachHandlers

func (this OpenAPIAstrolabeHandler) AttachHandlers(api *operations.AstrolabeAPI)

func (OpenAPIAstrolabeHandler) CopyProtectedEntity

func (OpenAPIAstrolabeHandler) CreateSnapshot

func (OpenAPIAstrolabeHandler) GetProtectedEntityInfo

func (OpenAPIAstrolabeHandler) ListProtectedEntities

func (OpenAPIAstrolabeHandler) ListServices

func (OpenAPIAstrolabeHandler) ListSnapshots

type ServiceAPI

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

type ServiceS3

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

type TaskManager

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

func NewTaskManager

func NewTaskManager() TaskManager

func (*TaskManager) AddTask

func (this *TaskManager) AddTask(addTask astrolabe.Task)

func (*TaskManager) ListTasks

func (this *TaskManager) ListTasks() []astrolabe.TaskID

func (*TaskManager) RetrieveTask

func (this *TaskManager) RetrieveTask(taskID astrolabe.TaskID) (retTask astrolabe.Task, ok bool)

Jump to

Keyboard shortcuts

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