objApi

package
v0.0.0-09-22-2015.01-5... Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIController

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

APIController stores the api controller state

func NewAPIController

func NewAPIController(router *mux.Router) *APIController

NewAPIController creates a new controller

func (*APIController) AppCreate

func (ac *APIController) AppCreate(app *contivModel.App) error

AppCreate creates app state

func (*APIController) AppDelete

func (ac *APIController) AppDelete(app *contivModel.App) error

AppDelete delete the app

func (*APIController) AppUpdate

func (ac *APIController) AppUpdate(app, params *contivModel.App) error

AppUpdate updates app

func (*APIController) EndpointGroupCreate

func (ac *APIController) EndpointGroupCreate(endpointGroup *contivModel.EndpointGroup) error

EndpointGroupCreate creates end point group

func (*APIController) EndpointGroupDelete

func (ac *APIController) EndpointGroupDelete(endpointGroup *contivModel.EndpointGroup) error

EndpointGroupDelete deletes end point group

func (*APIController) EndpointGroupUpdate

func (ac *APIController) EndpointGroupUpdate(endpointGroup, params *contivModel.EndpointGroup) error

EndpointGroupUpdate updates endpoint group

func (*APIController) NetworkCreate

func (ac *APIController) NetworkCreate(network *contivModel.Network) error

NetworkCreate creates network

func (*APIController) NetworkDelete

func (ac *APIController) NetworkDelete(network *contivModel.Network) error

NetworkDelete deletes network

func (*APIController) NetworkUpdate

func (ac *APIController) NetworkUpdate(network, params *contivModel.Network) error

NetworkUpdate updates network

func (*APIController) PolicyCreate

func (ac *APIController) PolicyCreate(policy *contivModel.Policy) error

PolicyCreate creates policy

func (*APIController) PolicyDelete

func (ac *APIController) PolicyDelete(policy *contivModel.Policy) error

PolicyDelete deletes policy

func (*APIController) PolicyUpdate

func (ac *APIController) PolicyUpdate(policy, params *contivModel.Policy) error

PolicyUpdate updates policy

func (*APIController) RuleCreate

func (ac *APIController) RuleCreate(rule *contivModel.Rule) error

RuleCreate Creates the rule witin a policy

func (*APIController) RuleDelete

func (ac *APIController) RuleDelete(rule *contivModel.Rule) error

RuleDelete deletes the rule within a policy

func (*APIController) RuleUpdate

func (ac *APIController) RuleUpdate(rule, params *contivModel.Rule) error

RuleUpdate updates the rule within a policy

func (*APIController) ServiceCreate

func (ac *APIController) ServiceCreate(service *contivModel.Service) error

ServiceCreate creates service

func (*APIController) ServiceDelete

func (ac *APIController) ServiceDelete(service *contivModel.Service) error

ServiceDelete deletes service

func (*APIController) ServiceInstanceCreate

func (ac *APIController) ServiceInstanceCreate(serviceInstance *contivModel.ServiceInstance) error

ServiceInstanceCreate creates a service instance

func (*APIController) ServiceInstanceDelete

func (ac *APIController) ServiceInstanceDelete(serviceInstance *contivModel.ServiceInstance) error

ServiceInstanceDelete deletes a service instance

func (*APIController) ServiceInstanceUpdate

func (ac *APIController) ServiceInstanceUpdate(serviceInstance, params *contivModel.ServiceInstance) error

ServiceInstanceUpdate updates a service instance

func (*APIController) ServiceUpdate

func (ac *APIController) ServiceUpdate(service, params *contivModel.Service) error

ServiceUpdate updates service

func (*APIController) TenantCreate

func (ac *APIController) TenantCreate(tenant *contivModel.Tenant) error

TenantCreate creates a tenant

func (*APIController) TenantDelete

func (ac *APIController) TenantDelete(tenant *contivModel.Tenant) error

TenantDelete deletes a tenant

func (*APIController) TenantUpdate

func (ac *APIController) TenantUpdate(tenant, params *contivModel.Tenant) error

TenantUpdate updates a tenant

func (*APIController) VolumeCreate

func (ac *APIController) VolumeCreate(volume *contivModel.Volume) error

VolumeCreate creates a volume

func (*APIController) VolumeDelete

func (ac *APIController) VolumeDelete(volume *contivModel.Volume) error

VolumeDelete deletes a volume

func (*APIController) VolumeProfileCreate

func (ac *APIController) VolumeProfileCreate(volumeProfile *contivModel.VolumeProfile) error

VolumeProfileCreate create a volume profile

func (*APIController) VolumeProfileDelete

func (ac *APIController) VolumeProfileDelete(volumeProfile *contivModel.VolumeProfile) error

VolumeProfileDelete delete a volume profile

func (*APIController) VolumeProfileUpdate

func (ac *APIController) VolumeProfileUpdate(volumeProfile, params *contivModel.VolumeProfile) error

VolumeProfileUpdate updates a volume profile

func (*APIController) VolumeUpdate

func (ac *APIController) VolumeUpdate(volume, params *contivModel.Volume) error

VolumeUpdate updates a volume

Jump to

Keyboard shortcuts

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