testing

package
v0.0.0-...-e621b23 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

trunks unit tests

Index

Constants

View Source
const AddSubportsRequest = ListSubportsResponse
View Source
const AddSubportsResponse = `` /* 732-byte string literal not displayed */
View Source
const CreateNoSubportsRequest = `` /* 202-byte string literal not displayed */
View Source
const CreateNoSubportsResponse = `` /* 509-byte string literal not displayed */
View Source
const CreateRequest = `` /* 490-byte string literal not displayed */
View Source
const CreateResponse = `` /* 797-byte string literal not displayed */
View Source
const GetResponse = `` /* 797-byte string literal not displayed */
View Source
const ListResponse = `` /* 1512-byte string literal not displayed */
View Source
const ListSubportsResponse = `` /* 288-byte string literal not displayed */
View Source
const RemoveSubportsRequest = `` /* 162-byte string literal not displayed */
View Source
const RemoveSubportsResponse = `` /* 466-byte string literal not displayed */
View Source
const UpdateRequest = `` /* 141-byte string literal not displayed */
View Source
const UpdateResponse = `` /* 812-byte string literal not displayed */

Variables

View Source
var ExpectedSubports = []trunks.Subport{
	{
		PortID:           "28e452d7-4f8a-4be4-b1e6-7f3db4c0430b",
		SegmentationID:   1,
		SegmentationType: "vlan",
	},
	{
		PortID:           "4c8b2bff-9824-4d4c-9b60-b3f6621b2bab",
		SegmentationID:   2,
		SegmentationType: "vlan",
	},
}

Functions

func ExpectedSubportsAddedTrunk

func ExpectedSubportsAddedTrunk() (exp trunks.Trunk, err error)

func ExpectedSubportsRemovedTrunk

func ExpectedSubportsRemovedTrunk() (exp trunks.Trunk, err error)

func ExpectedTrunkSlice

func ExpectedTrunkSlice() (exp []trunks.Trunk, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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