v1

package
v0.0.0-...-b0a6671 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the spp v1 API group +k8s:deepcopy-gen=package,register +groupName=spp.spp

Package v1 contains API Schema definitions for the spp v1 API group +k8s:deepcopy-gen=package,register +groupName=spp.spp

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "spp.spp", Version: "v1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type ClassifierTableOption

type ClassifierTableOption struct {
	Type  string `json:"type"`
	Value string `json:"value"`
	Vlan  int    `json:"vlan"`
	Port  string `json:"port"`
}

func (*ClassifierTableOption) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassifierTableOption.

func (*ClassifierTableOption) DeepCopyInto

func (in *ClassifierTableOption) DeepCopyInto(out *ClassifierTableOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClassifierTableResponse

type ClassifierTableResponse struct {
	Type  string `json:"type"`
	Value string `json:"value"`
	Port  string `json:"port"`
	Vlan  int    `json:"vlan"`
}

func (*ClassifierTableResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassifierTableResponse.

func (*ClassifierTableResponse) DeepCopyInto

func (in *ClassifierTableResponse) DeepCopyInto(out *ClassifierTableResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComponentOption

type ComponentOption struct {
	Core   int          `json:"core"`
	Name   string       `json:"name"`
	RxPort []PortOption `json:"rx_port"`
	TxPort []PortOption `json:"tx_port"`
	Type   string       `json:"type"`
}

func (*ComponentOption) DeepCopy

func (in *ComponentOption) DeepCopy() *ComponentOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentOption.

func (*ComponentOption) DeepCopyInto

func (in *ComponentOption) DeepCopyInto(out *ComponentOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ComponentResponse

type ComponentResponse struct {
	Core   int            `json:"core"`
	Name   string         `json:"name"`
	Type   string         `json:"type"`
	RxPort []PortResponse `json:"rx_port"`
	TxPort []PortResponse `json:"tx_port"`
}

func (*ComponentResponse) DeepCopy

func (in *ComponentResponse) DeepCopy() *ComponentResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentResponse.

func (*ComponentResponse) DeepCopyInto

func (in *ComponentResponse) DeepCopyInto(out *ComponentResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EalOption

type EalOption struct {
	Lcores    string       `json:"lcores"`
	SocketMem string       `json:"socket-mem"`
	Vdevs     []VdevOption `json:"vdevs"`
}

EalOption defines EAL options

func (*EalOption) DeepCopy

func (in *EalOption) DeepCopy() *EalOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EalOption.

func (*EalOption) DeepCopyInto

func (in *EalOption) DeepCopyInto(out *EalOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PatchOption

type PatchOption struct {
	Src string `json:"src"`
	Dst string `json:"dst"`
}

PatchOption defines Patches

func (*PatchOption) DeepCopy

func (in *PatchOption) DeepCopy() *PatchOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchOption.

func (*PatchOption) DeepCopyInto

func (in *PatchOption) DeepCopyInto(out *PatchOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PortOption

type PortOption struct {
	Port string     `json:"port"`
	Vlan VlanOption `json:"vlan"`
}

func (*PortOption) DeepCopy

func (in *PortOption) DeepCopy() *PortOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortOption.

func (*PortOption) DeepCopyInto

func (in *PortOption) DeepCopyInto(out *PortOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PortResponse

type PortResponse struct {
	Port string       `json:"port"`
	Vlan VlanResponse `json:"vlan"`
}

func (*PortResponse) DeepCopy

func (in *PortResponse) DeepCopy() *PortResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortResponse.

func (*PortResponse) DeepCopyInto

func (in *PortResponse) DeepCopyInto(out *PortResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceOption

type ResourceOption []string

ResourceOption defines Resources option

func (ResourceOption) DeepCopy

func (in ResourceOption) DeepCopy() ResourceOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceOption.

func (ResourceOption) DeepCopyInto

func (in ResourceOption) DeepCopyInto(out *ResourceOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Spp

type Spp struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SppSpec   `json:"spec,omitempty"`
	Status SppStatus `json:"status,omitempty"`
}

Spp is the Schema for the spps API +kubebuilder:subresource:status +kubebuilder:resource:path=spps,scope=Namespaced

func (*Spp) DeepCopy

func (in *Spp) DeepCopy() *Spp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spp.

func (*Spp) DeepCopyInto

func (in *Spp) DeepCopyInto(out *Spp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Spp) DeepCopyObject

func (in *Spp) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SppApp

type SppApp struct {
	Name    string    `json:"name"`
	Image   string    `json:"image"`
	Command []string  `json:"command"`
	Args    []string  `json:"args"`
	Type    string    `json:"type"`
	Eal     EalOption `json:"eal"`
}

SppApp defines SPP App options

func (*SppApp) DeepCopy

func (in *SppApp) DeepCopy() *SppApp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppApp.

func (*SppApp) DeepCopyInto

func (in *SppApp) DeepCopyInto(out *SppApp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppCtl

type SppCtl struct {
	Name  string `json:"name"`
	Image string `json:"image"`
}

SppCtl defines SPP Ctl options

func (*SppCtl) DeepCopy

func (in *SppCtl) DeepCopy() *SppCtl

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppCtl.

func (*SppCtl) DeepCopyInto

func (in *SppCtl) DeepCopyInto(out *SppCtl)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppList

type SppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Spp `json:"items"`
}

SppList contains a list of Spp

func (*SppList) DeepCopy

func (in *SppList) DeepCopy() *SppList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppList.

func (*SppList) DeepCopyInto

func (in *SppList) DeepCopyInto(out *SppList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SppList) DeepCopyObject

func (in *SppList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SppMirror

type SppMirror struct {
	Name       string            `json:"name"`
	Image      string            `json:"image"`
	Eal        EalOption         `json:"eal"`
	Components []ComponentOption `json:"components"`
}

SppMirror defines SPP Mirror options

func (*SppMirror) DeepCopy

func (in *SppMirror) DeepCopy() *SppMirror

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppMirror.

func (*SppMirror) DeepCopyInto

func (in *SppMirror) DeepCopyInto(out *SppMirror)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppNfv

type SppNfv struct {
	Name      string         `json:"name"`
	Image     string         `json:"image"`
	Eal       EalOption      `json:"eal"`
	Vhost     string         `json:"vhost"`
	Resources ResourceOption `json:"resources"`
	Patches   []PatchOption  `json:"patches"`
}

SppPrimary defines SPP NFV options

func (*SppNfv) DeepCopy

func (in *SppNfv) DeepCopy() *SppNfv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppNfv.

func (*SppNfv) DeepCopyInto

func (in *SppNfv) DeepCopyInto(out *SppNfv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppNfvResponse

type SppNfvResponse struct {
	ClientId  int                 `json:"client-id"`
	Status    string              `json:"status"`
	Resources []string            `json:"ports"`
	Patches   []map[string]string `json:"patches"`
}

NVF

Response referred to spp model

func (*SppNfvResponse) DeepCopy

func (in *SppNfvResponse) DeepCopy() *SppNfvResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppNfvResponse.

func (*SppNfvResponse) DeepCopyInto

func (in *SppNfvResponse) DeepCopyInto(out *SppNfvResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppPcap

type SppPcap struct {
	Name   string    `json:"name"`
	Image  string    `json:"image"`
	Eal    EalOption `json:"eal"`
	Port   string    `json:"port"`
	Status string    `json:"status"`
	OutDir string    `json:"out_dir"`
	Fsize  int       `json:"fsize"`
}

func (*SppPcap) DeepCopy

func (in *SppPcap) DeepCopy() *SppPcap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppPcap.

func (*SppPcap) DeepCopyInto

func (in *SppPcap) DeepCopyInto(out *SppPcap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppPcapResponse

type SppPcapResponse struct {
	ClientId int    `json:"client-id"`
	Status   string `json:"status"`
}

PCAP

Response referred to spp model

func (*SppPcapResponse) DeepCopy

func (in *SppPcapResponse) DeepCopy() *SppPcapResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppPcapResponse.

func (*SppPcapResponse) DeepCopyInto

func (in *SppPcapResponse) DeepCopyInto(out *SppPcapResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppPrimary

type SppPrimary struct {
	Name     string    `json:"name"`
	Image    string    `json:"image"`
	Eal      EalOption `json:"eal"`
	PortMask string    `json:"portmask"`
}

SppPrimary defines SPP Primary options

func (*SppPrimary) DeepCopy

func (in *SppPrimary) DeepCopy() *SppPrimary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppPrimary.

func (*SppPrimary) DeepCopyInto

func (in *SppPrimary) DeepCopyInto(out *SppPrimary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppProcessResponse

type SppProcessResponse struct {
	Type     string `json:"type"`
	ClientId int    `json:"client-id"`
}

Spp Process response

func (*SppProcessResponse) DeepCopy

func (in *SppProcessResponse) DeepCopy() *SppProcessResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppProcessResponse.

func (*SppProcessResponse) DeepCopyInto

func (in *SppProcessResponse) DeepCopyInto(out *SppProcessResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppSpec

type SppSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Ctl     SppCtl      `json:"ctl"`
	Primary SppPrimary  `json:"primary"`
	Nfvs    []SppNfv    `json:"nfvs"`
	Vfs     []SppVf     `json:"vfs"`
	Mirrors []SppMirror `json:"mirrors"`
	Pcaps   []SppPcap   `json:"pcaps"`
	Apps    []SppApp    `json:"apps"`
}

SppSpec defines the desired state of Spp

func (*SppSpec) DeepCopy

func (in *SppSpec) DeepCopy() *SppSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppSpec.

func (*SppSpec) DeepCopyInto

func (in *SppSpec) DeepCopyInto(out *SppSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatus

type SppStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Ctl        SppStatusBasic `json:"ctl"`
	Primary    SppStatusBasic `json:"primary"`
	Nfvs       SppStatusNfv   `json:"nfvs"`
	Vfs        SppStatusVf    `json:"vfs"`
	Mirrors    SppStatusVf    `json:"mirrors"`
	Pcaps      SppStatusPcap  `json:"pcaps"`
	Apps       SppStatusApp   `json:"apps"`
	Node       string         `json:"node"`
	ServiceVip string         `json:"service-vip"`
	Status     string         `json:"status"`
	Events     []string       `json:"events"`
}

SppStatus defines the observed state of Spp

func (*SppStatus) DeepCopy

func (in *SppStatus) DeepCopy() *SppStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatus.

func (*SppStatus) DeepCopyInto

func (in *SppStatus) DeepCopyInto(out *SppStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusApp

type SppStatusApp struct {
	Status string              `json:"status"`
	Pods   []SppStatusPodBasic `json:"pods"`
}

SppStatusApp

func (*SppStatusApp) DeepCopy

func (in *SppStatusApp) DeepCopy() *SppStatusApp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusApp.

func (*SppStatusApp) DeepCopyInto

func (in *SppStatusApp) DeepCopyInto(out *SppStatusApp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusBasic

type SppStatusBasic struct {
	Status string            `json:"status"`
	Pods   SppStatusPodBasic `json:"pods"`
}

SppStatusBasic

func (*SppStatusBasic) DeepCopy

func (in *SppStatusBasic) DeepCopy() *SppStatusBasic

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusBasic.

func (*SppStatusBasic) DeepCopyInto

func (in *SppStatusBasic) DeepCopyInto(out *SppStatusBasic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusNfv

type SppStatusNfv struct {
	Status string                      `json:"status"`
	Pods   map[string]*SppStatusPodNfv `json:"pods"`
}

Nfv Status

func (*SppStatusNfv) DeepCopy

func (in *SppStatusNfv) DeepCopy() *SppStatusNfv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusNfv.

func (*SppStatusNfv) DeepCopyInto

func (in *SppStatusNfv) DeepCopyInto(out *SppStatusNfv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusPcap

type SppStatusPcap struct {
	Status string                       `json:"status"`
	Pods   map[string]*SppStatusPodPcap `json:"pods"`
}

Pcap Status

func (*SppStatusPcap) DeepCopy

func (in *SppStatusPcap) DeepCopy() *SppStatusPcap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusPcap.

func (*SppStatusPcap) DeepCopyInto

func (in *SppStatusPcap) DeepCopyInto(out *SppStatusPcap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusPodBasic

type SppStatusPodBasic struct {
	Name  string          `json:"name"`
	Phase corev1.PodPhase `json:"phase"`
}

Basic (Spp ctl, priamry and apps)

SppStatusPodBasic

func (*SppStatusPodBasic) DeepCopy

func (in *SppStatusPodBasic) DeepCopy() *SppStatusPodBasic

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusPodBasic.

func (*SppStatusPodBasic) DeepCopyInto

func (in *SppStatusPodBasic) DeepCopyInto(out *SppStatusPodBasic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusPodNfv

type SppStatusPodNfv struct {
	Name     string          `json:"name"`
	Phase    corev1.PodPhase `json:"phase"`
	Response *SppNfvResponse `json:"response"`
}

Pod Status

func (*SppStatusPodNfv) DeepCopy

func (in *SppStatusPodNfv) DeepCopy() *SppStatusPodNfv

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusPodNfv.

func (*SppStatusPodNfv) DeepCopyInto

func (in *SppStatusPodNfv) DeepCopyInto(out *SppStatusPodNfv)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusPodPcap

type SppStatusPodPcap struct {
	Name     string           `json:"name"`
	Phase    corev1.PodPhase  `json:"phase"`
	Response *SppPcapResponse `json:"response"`
}

Pod Status

func (*SppStatusPodPcap) DeepCopy

func (in *SppStatusPodPcap) DeepCopy() *SppStatusPodPcap

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusPodPcap.

func (*SppStatusPodPcap) DeepCopyInto

func (in *SppStatusPodPcap) DeepCopyInto(out *SppStatusPodPcap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusPodVf

type SppStatusPodVf struct {
	Name     string          `json:"name"`
	Phase    corev1.PodPhase `json:"phase"`
	Response *SppVfResponse  `json:"response"`
}

Pod Status

func (*SppStatusPodVf) DeepCopy

func (in *SppStatusPodVf) DeepCopy() *SppStatusPodVf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusPodVf.

func (*SppStatusPodVf) DeepCopyInto

func (in *SppStatusPodVf) DeepCopyInto(out *SppStatusPodVf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppStatusVf

type SppStatusVf struct {
	Status string                     `json:"status"`
	Pods   map[string]*SppStatusPodVf `json:"pods"`
}

VF or Mirror Status

func (*SppStatusVf) DeepCopy

func (in *SppStatusVf) DeepCopy() *SppStatusVf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppStatusVf.

func (*SppStatusVf) DeepCopyInto

func (in *SppStatusVf) DeepCopyInto(out *SppStatusVf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppVf

type SppVf struct {
	Name            string                  `json:"name"`
	Image           string                  `json:"image"`
	Eal             EalOption               `json:"eal"`
	Components      []ComponentOption       `json:"components"`
	ClassifierTable []ClassifierTableOption `json:"classifier_table"`
}

SppVf defines SPP VF options

func (*SppVf) DeepCopy

func (in *SppVf) DeepCopy() *SppVf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppVf.

func (*SppVf) DeepCopyInto

func (in *SppVf) DeepCopyInto(out *SppVf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SppVfResponse

type SppVfResponse struct {
	ClientId        int                       `json:"client-id"`
	Ports           []string                  `json:"ports"`
	Components      []ComponentResponse       `json:"components"`
	ClassifierTable []ClassifierTableResponse `json:"classifier_table"`
}

Response referred to spp model

func (*SppVfResponse) DeepCopy

func (in *SppVfResponse) DeepCopy() *SppVfResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SppVfResponse.

func (*SppVfResponse) DeepCopyInto

func (in *SppVfResponse) DeepCopyInto(out *SppVfResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SppVfResponse) FindDeletedPorts

func (res *SppVfResponse) FindDeletedPorts(i int)

type VdevOption

type VdevOption []string

VdevOption defines Vdev option

func (VdevOption) DeepCopy

func (in VdevOption) DeepCopy() VdevOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VdevOption.

func (VdevOption) DeepCopyInto

func (in VdevOption) DeepCopyInto(out *VdevOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VlanOption

type VlanOption struct {
	Operation string `json:"operation"`
	Id        int    `json:"id"`
	Pcp       int    `json:"pcp"`
}

func (*VlanOption) DeepCopy

func (in *VlanOption) DeepCopy() *VlanOption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanOption.

func (*VlanOption) DeepCopyInto

func (in *VlanOption) DeepCopyInto(out *VlanOption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VlanResponse

type VlanResponse struct {
	Operation string `json:"operation"`
	Id        int    `json:"id"`
	Pcp       int    `json:"pcp"`
}

VF and Mirror

Part of response referred to spp model

func (*VlanResponse) DeepCopy

func (in *VlanResponse) DeepCopy() *VlanResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VlanResponse.

func (*VlanResponse) DeepCopyInto

func (in *VlanResponse) DeepCopyInto(out *VlanResponse)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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