network

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFirewallProfileFailErrMocked

func CreateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

CreateFirewallProfileFailErrMocked test mocked function

func CreateFirewallProfileFailJSONMocked

func CreateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

CreateFirewallProfileFailJSONMocked test mocked function

func CreateFirewallProfileFailStatusMocked

func CreateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

CreateFirewallProfileFailStatusMocked test mocked function

func CreateFirewallProfileMocked

func CreateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

CreateFirewallProfileMocked test mocked function

func CreateLBNodeFailErrMocked

func CreateLBNodeFailErrMocked(t *testing.T, loadBalancerNodeIn *types.LBNode, loadBalancerId string) *types.LBNode

CreateLBNodeFailErrMocked test mocked function

func CreateLBNodeFailJSONMocked

func CreateLBNodeFailJSONMocked(t *testing.T, loadBalancerNodeIn *types.LBNode, loadBalancerId string) *types.LBNode

CreateLBNodeFailJSONMocked test mocked function

func CreateLBNodeFailStatusMocked

func CreateLBNodeFailStatusMocked(t *testing.T, loadBalancerNodeIn *types.LBNode, loadBalancerId string) *types.LBNode

CreateLBNodeFailStatusMocked test mocked function

func CreateLBNodeMocked

func CreateLBNodeMocked(t *testing.T, lbn *types.LBNode, lbId string) *types.LBNode

CreateLBNodeMocked test mocked function

func CreateLoadBalancerFailErrMocked

func CreateLoadBalancerFailErrMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

CreateLoadBalancerFailErrMocked test mocked function

func CreateLoadBalancerFailJSONMocked

func CreateLoadBalancerFailJSONMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

CreateLoadBalancerFailJSONMocked test mocked function

func CreateLoadBalancerFailStatusMocked

func CreateLoadBalancerFailStatusMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

CreateLoadBalancerFailStatusMocked test mocked function

func CreateLoadBalancerMocked

func CreateLoadBalancerMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

CreateLoadBalancerMocked test mocked function

func DeleteFirewallProfileFailErrMocked

func DeleteFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)

DeleteFirewallProfileFailErrMocked test mocked function

func DeleteFirewallProfileFailStatusMocked

func DeleteFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)

DeleteFirewallProfileFailStatusMocked test mocked function

func DeleteFirewallProfileMocked

func DeleteFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile)

DeleteFirewallProfileMocked test mocked function

func DeleteLBNodeFailErrMocked

func DeleteLBNodeFailErrMocked(t *testing.T, loadBalancerNodeIn *types.LBNode, loadBalancerId string)

DeleteLBNodeFailErrMocked test mocked function

func DeleteLBNodeFailStatusMocked

func DeleteLBNodeFailStatusMocked(t *testing.T, loadBalancerNodeIn *types.LBNode, loadBalancerId string)

DeleteLBNodeFailStatusMocked test mocked function

func DeleteLBNodeMocked

func DeleteLBNodeMocked(t *testing.T, lbn *types.LBNode, lbId string)

DeleteLBNodeMocked test mocked function

func DeleteLoadBalancerFailErrMocked

func DeleteLoadBalancerFailErrMocked(t *testing.T, loadBalancerIn *types.LoadBalancer)

DeleteLoadBalancerFailErrMocked test mocked function

func DeleteLoadBalancerFailStatusMocked

func DeleteLoadBalancerFailStatusMocked(t *testing.T, loadBalancerIn *types.LoadBalancer)

DeleteLoadBalancerFailStatusMocked test mocked function

func DeleteLoadBalancerMocked

func DeleteLoadBalancerMocked(t *testing.T, loadBalancerIn *types.LoadBalancer)

DeleteLoadBalancerMocked test mocked function

func GetFirewallProfileFailErrMocked

func GetFirewallProfileFailErrMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile

GetFirewallProfileFailErrMocked test mocked function

func GetFirewallProfileFailJSONMocked

func GetFirewallProfileFailJSONMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile

GetFirewallProfileFailJSONMocked test mocked function

func GetFirewallProfileFailStatusMocked

func GetFirewallProfileFailStatusMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile

GetFirewallProfileFailStatusMocked test mocked function

func GetFirewallProfileListFailErrMocked

func GetFirewallProfileListFailErrMocked(t *testing.T, firewallProfilesIn *[]types.FirewallProfile) *[]types.FirewallProfile

GetFirewallProfileListFailErrMocked test mocked function

func GetFirewallProfileListFailJSONMocked

func GetFirewallProfileListFailJSONMocked(t *testing.T, firewallProfilesIn *[]types.FirewallProfile) *[]types.FirewallProfile

GetFirewallProfileListFailJSONMocked test mocked function

func GetFirewallProfileListFailStatusMocked

func GetFirewallProfileListFailStatusMocked(t *testing.T, firewallProfilesIn *[]types.FirewallProfile) *[]types.FirewallProfile

GetFirewallProfileListFailStatusMocked test mocked function

func GetFirewallProfileListMocked

func GetFirewallProfileListMocked(t *testing.T, firewallProfilesIn *[]types.FirewallProfile) *[]types.FirewallProfile

GetFirewallProfileListMocked test mocked function

func GetFirewallProfileMocked

func GetFirewallProfileMocked(t *testing.T, firewallProfile *types.FirewallProfile) *types.FirewallProfile

GetFirewallProfileMocked test mocked function

func GetLBNodeListFailErrMocked

func GetLBNodeListFailErrMocked(t *testing.T, loadBalancerNodesIn *[]types.LBNode, loadBalancerId string) *[]types.LBNode

GetLBNodeListFailErrMocked test mocked function

func GetLBNodeListFailJSONMocked

func GetLBNodeListFailJSONMocked(t *testing.T, loadBalancerNodesIn *[]types.LBNode, loadBalancerId string) *[]types.LBNode

GetLBNodeListFailJSONMocked test mocked function

func GetLBNodeListFailStatusMocked

func GetLBNodeListFailStatusMocked(t *testing.T, loadBalancerNodesIn *[]types.LBNode, loadBalancerId string) *[]types.LBNode

GetLBNodeListFailStatusMocked test mocked function

func GetLBNodeListMocked

func GetLBNodeListMocked(t *testing.T, lbnodesIn *[]types.LBNode, lbId string) *[]types.LBNode

GetLBNodeListMocked test mocked function

func GetLoadBalancerFailErrMocked

func GetLoadBalancerFailErrMocked(t *testing.T, loadBalancer *types.LoadBalancer) *types.LoadBalancer

GetLoadBalancerFailErrMocked test mocked function

func GetLoadBalancerFailJSONMocked

func GetLoadBalancerFailJSONMocked(t *testing.T, loadBalancer *types.LoadBalancer) *types.LoadBalancer

GetLoadBalancerFailJSONMocked test mocked function

func GetLoadBalancerFailStatusMocked

func GetLoadBalancerFailStatusMocked(t *testing.T, loadBalancer *types.LoadBalancer) *types.LoadBalancer

GetLoadBalancerFailStatusMocked test mocked function

func GetLoadBalancerListFailErrMocked

func GetLoadBalancerListFailErrMocked(t *testing.T, loadBalancersIn *[]types.LoadBalancer) *[]types.LoadBalancer

GetLoadBalancerListFailErrMocked test mocked function

func GetLoadBalancerListFailJSONMocked

func GetLoadBalancerListFailJSONMocked(t *testing.T, loadBalancersIn *[]types.LoadBalancer) *[]types.LoadBalancer

GetLoadBalancerListFailJSONMocked test mocked function

func GetLoadBalancerListFailStatusMocked

func GetLoadBalancerListFailStatusMocked(t *testing.T, loadBalancersIn *[]types.LoadBalancer) *[]types.LoadBalancer

GetLoadBalancerListFailStatusMocked test mocked function

func GetLoadBalancerListMocked

func GetLoadBalancerListMocked(t *testing.T, loadBalancersIn *[]types.LoadBalancer) *[]types.LoadBalancer

GetLoadBalancerListMocked test mocked function

func GetLoadBalancerMocked

func GetLoadBalancerMocked(t *testing.T, loadBalancer *types.LoadBalancer) *types.LoadBalancer

GetLoadBalancerMocked test mocked function

func UpdateFirewallProfileFailErrMocked

func UpdateFirewallProfileFailErrMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

UpdateFirewallProfileFailErrMocked test mocked function

func UpdateFirewallProfileFailJSONMocked

func UpdateFirewallProfileFailJSONMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

UpdateFirewallProfileFailJSONMocked test mocked function

func UpdateFirewallProfileFailStatusMocked

func UpdateFirewallProfileFailStatusMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

UpdateFirewallProfileFailStatusMocked test mocked function

func UpdateFirewallProfileMocked

func UpdateFirewallProfileMocked(t *testing.T, firewallProfileIn *types.FirewallProfile) *types.FirewallProfile

UpdateFirewallProfileMocked test mocked function

func UpdateLoadBalancerFailErrMocked

func UpdateLoadBalancerFailErrMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

UpdateLoadBalancerFailErrMocked test mocked function

func UpdateLoadBalancerFailJSONMocked

func UpdateLoadBalancerFailJSONMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

UpdateLoadBalancerFailJSONMocked test mocked function

func UpdateLoadBalancerFailStatusMocked

func UpdateLoadBalancerFailStatusMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

UpdateLoadBalancerFailStatusMocked test mocked function

func UpdateLoadBalancerMocked

func UpdateLoadBalancerMocked(t *testing.T, loadBalancerIn *types.LoadBalancer) *types.LoadBalancer

UpdateLoadBalancerMocked test mocked function

Types

type FirewallProfileService

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

FirewallProfileService manages firewallProfile operations

func NewFirewallProfileService

func NewFirewallProfileService(concertoService utils.ConcertoService) (*FirewallProfileService, error)

NewFirewallProfileService returns a Concerto firewallProfile service

func (*FirewallProfileService) CreateFirewallProfile

func (dm *FirewallProfileService) CreateFirewallProfile(firewallProfileVector *map[string]interface{}) (firewallProfile *types.FirewallProfile, err error)

CreateFirewallProfile creates a firewallProfile

func (*FirewallProfileService) DeleteFirewallProfile

func (dm *FirewallProfileService) DeleteFirewallProfile(ID string) (err error)

DeleteFirewallProfile deletes a firewallProfile by its ID

func (*FirewallProfileService) GetFirewallProfile

func (dm *FirewallProfileService) GetFirewallProfile(ID string) (firewallProfile *types.FirewallProfile, err error)

GetFirewallProfile returns a firewallProfile by its ID

func (*FirewallProfileService) GetFirewallProfileList

func (dm *FirewallProfileService) GetFirewallProfileList() (firewallProfiles []types.FirewallProfile, err error)

GetFirewallProfileList returns the list of firewallProfiles as an array of FirewallProfile

func (*FirewallProfileService) UpdateFirewallProfile

func (dm *FirewallProfileService) UpdateFirewallProfile(firewallProfileVector *map[string]interface{}, ID string) (firewallProfile *types.FirewallProfile, err error)

UpdateFirewallProfile updates a firewallProfile by its ID

type LoadBalancerService

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

LoadBalancerService manages loadBalancer operations

func NewLoadBalancerService

func NewLoadBalancerService(concertoService utils.ConcertoService) (*LoadBalancerService, error)

NewLoadBalancerService returns a Concerto loadBalancer service

func (*LoadBalancerService) CreateLBNode

func (lb *LoadBalancerService) CreateLBNode(lBNodeVector *map[string]interface{}, lbID string) (lBNode *types.LBNode, err error)

CreateLBNode returns a list of lBNode

func (*LoadBalancerService) CreateLoadBalancer

func (lb *LoadBalancerService) CreateLoadBalancer(loadBalancerVector *map[string]interface{}) (loadBalancer *types.LoadBalancer, err error)

CreateLoadBalancer creates a loadBalancer

func (*LoadBalancerService) DeleteLBNode

func (lb *LoadBalancerService) DeleteLBNode(lbID string, ID string) (err error)

DeleteLBNode deletes a loadBalancer node

func (*LoadBalancerService) DeleteLoadBalancer

func (lb *LoadBalancerService) DeleteLoadBalancer(ID string) (err error)

DeleteLoadBalancer deletes a loadBalancer by its ID

func (*LoadBalancerService) GetLBNodeList

func (lb *LoadBalancerService) GetLBNodeList(loadBalancerID string) (lBNode *[]types.LBNode, err error)

GetLBNodeList returns a list of lBNode by loadBalancer ID

func (*LoadBalancerService) GetLoadBalancer

func (lb *LoadBalancerService) GetLoadBalancer(ID string) (loadBalancer *types.LoadBalancer, err error)

GetLoadBalancer returns a loadBalancer by its ID

func (*LoadBalancerService) GetLoadBalancerList

func (lb *LoadBalancerService) GetLoadBalancerList() (loadBalancers []types.LoadBalancer, err error)

GetLoadBalancerList returns the list of loadBalancers as an array of LoadBalancer

func (*LoadBalancerService) UpdateLoadBalancer

func (lb *LoadBalancerService) UpdateLoadBalancer(loadBalancerVector *map[string]interface{}, ID string) (loadBalancer *types.LoadBalancer, err error)

UpdateLoadBalancer updates a loadBalancer by its ID

Jump to

Keyboard shortcuts

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