Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { pagination.Pageable Get(ctx context.Context, page, limit int) ([]FrontendInfo, error) GetByID(ctx context.Context, identifier string) (Frontend, error) Create(ctx context.Context, definition Definition) (Frontend, error) Update(ctx context.Context, identifier string, definition Definition) (Frontend, error) DeleteByID(ctx context.Context, identifier string) error }
API contains methods for load balancer frontend management.
type Definition ¶
type FrontendInfo ¶
FrontendInfo holds the name and the identifier of a frontend
type FrontendPage ¶
type FrontendPage struct { Page int `json:"page"` TotalItems int `json:"total_items"` TotalPages int `json:"total_pages"` Limit int `json:"limit"` Data []FrontendInfo `json:"data"` // contains filtered or unexported fields }
func (FrontendPage) Content ¶
func (f FrontendPage) Content() interface{}
func (FrontendPage) Num ¶
func (f FrontendPage) Num() int
func (FrontendPage) Options ¶
func (f FrontendPage) Options() []param.Parameter
func (FrontendPage) Size ¶
func (f FrontendPage) Size() int
func (FrontendPage) Total ¶
func (f FrontendPage) Total() int
Click to show internal directories.
Click to hide internal directories.