Documentation ¶
Index ¶
- type APIController
- func (ac *APIController) AppCreate(app *contivModel.App) error
- func (ac *APIController) AppDelete(app *contivModel.App) error
- func (ac *APIController) AppUpdate(app, params *contivModel.App) error
- func (ac *APIController) EndpointGroupCreate(endpointGroup *contivModel.EndpointGroup) error
- func (ac *APIController) EndpointGroupDelete(endpointGroup *contivModel.EndpointGroup) error
- func (ac *APIController) EndpointGroupUpdate(endpointGroup, params *contivModel.EndpointGroup) error
- func (ac *APIController) NetworkCreate(network *contivModel.Network) error
- func (ac *APIController) NetworkDelete(network *contivModel.Network) error
- func (ac *APIController) NetworkUpdate(network, params *contivModel.Network) error
- func (ac *APIController) PolicyCreate(policy *contivModel.Policy) error
- func (ac *APIController) PolicyDelete(policy *contivModel.Policy) error
- func (ac *APIController) PolicyUpdate(policy, params *contivModel.Policy) error
- func (ac *APIController) RuleCreate(rule *contivModel.Rule) error
- func (ac *APIController) RuleDelete(rule *contivModel.Rule) error
- func (ac *APIController) RuleUpdate(rule, params *contivModel.Rule) error
- func (ac *APIController) ServiceCreate(service *contivModel.Service) error
- func (ac *APIController) ServiceDelete(service *contivModel.Service) error
- func (ac *APIController) ServiceInstanceCreate(serviceInstance *contivModel.ServiceInstance) error
- func (ac *APIController) ServiceInstanceDelete(serviceInstance *contivModel.ServiceInstance) error
- func (ac *APIController) ServiceInstanceUpdate(serviceInstance, params *contivModel.ServiceInstance) error
- func (ac *APIController) ServiceUpdate(service, params *contivModel.Service) error
- func (ac *APIController) TenantCreate(tenant *contivModel.Tenant) error
- func (ac *APIController) TenantDelete(tenant *contivModel.Tenant) error
- func (ac *APIController) TenantUpdate(tenant, params *contivModel.Tenant) error
- func (ac *APIController) VolumeCreate(volume *contivModel.Volume) error
- func (ac *APIController) VolumeDelete(volume *contivModel.Volume) error
- func (ac *APIController) VolumeProfileCreate(volumeProfile *contivModel.VolumeProfile) error
- func (ac *APIController) VolumeProfileDelete(volumeProfile *contivModel.VolumeProfile) error
- func (ac *APIController) VolumeProfileUpdate(volumeProfile, params *contivModel.VolumeProfile) error
- func (ac *APIController) VolumeUpdate(volume, params *contivModel.Volume) error
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