controllers

package
v0.0.0-...-41c1b6c Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeasesController

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

LeasesController provides methods for handling requests to the Leases API.

func NewLeasesController

func NewLeasesController(router *mux.Router, ipam interfaces.Ipam) (*LeasesController, error)

NewLeasesController returns a newly configured LeasesController.

func (*LeasesController) Index

Index returns a list of Leases.

func (*LeasesController) Show

Show returns the requested Lease.

func (*LeasesController) Update

Update updates the requested Lease.

type PoolsController

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

PoolsController provides methods for handling requests to the Pools API.

func NewPoolsController

func NewPoolsController(router *mux.Router, ipam interfaces.Ipam) (*PoolsController, error)

NewPoolsController returns a newly configured PoolsController.

func (*PoolsController) Create

Create creates a Pool.

func (*PoolsController) Delete

Delete removes the requested Pool.

func (*PoolsController) Index

Index returns a list of Pools.

func (*PoolsController) Show

Show returns the requested Pool.

func (*PoolsController) Update

Update updates the requested Pool.

type ReservationsController

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

ReservationsController provides methods for handling requests to the Reservations API.

func NewReservationsController

func NewReservationsController(router *mux.Router, ipam interfaces.Ipam) (*ReservationsController, error)

NewReservationsController returns a newly configured ReservationsController.

func (*ReservationsController) Create

Create creates a Reservation.

func (*ReservationsController) Delete

Delete removes the requested Reservation.

func (*ReservationsController) Index

Index returns a list of Reservations.

func (*ReservationsController) Show

Show returns the requested Reservation.

func (*ReservationsController) Update

Update updates the requested Reservation.

type SubnetsController

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

SubnetsController provides methods for handling requests to the Subnets API.

func NewSubnetsController

func NewSubnetsController(router *mux.Router, ipam interfaces.Ipam) (*SubnetsController, error)

NewSubnetsController returns a newly configured SubnetsController.

func (*SubnetsController) Create

Create creates a Subnet.

func (*SubnetsController) Delete

Delete removes the requested Subnet.

func (*SubnetsController) Index

Index returns a list of Subnets.

func (*SubnetsController) Show

Show returns the requested Subnet.

func (*SubnetsController) Update

Update updates the requested Subnet.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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