elbaas

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service. lbaas v2 api docs: http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v2.0 lbaas v2 api schema: https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/extensions/loadbalancerv2.py

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	Uri   string `json:"uri"`
	JobId string `json:"job_id"`
}

type JobInfo

type JobInfo struct {
	Status     string                 `json:"status"`
	Entities   map[string]interface{} `json:"entities"`
	JobId      string                 `json:"job_id"`
	JobType    string                 `json:"job_type"`
	ErrorCode  string                 `json:"error_code"`
	FailReason string                 `json:"fail_reason"`
}

type JobInfoResult

type JobInfoResult struct {
	golangsdk.Result
}

func QueryJobInfo

func QueryJobInfo(c *golangsdk.ServiceClient, jobId string) (r JobInfoResult)

func (JobInfoResult) Extract

func (r JobInfoResult) Extract() (*JobInfo, error)

type JobResult

type JobResult struct {
	golangsdk.Result
}

func (JobResult) Extract

func (r JobResult) Extract() (*Job, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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