Documentation ¶
Index ¶
- type Spp
- func (spp *Spp) BaseUrl() string
- func (spp *Spp) BeforeDeleteNfv(secId string)
- func (spp *Spp) CheckMirrorsRunning() bool
- func (spp *Spp) CheckNfvsRunning() bool
- func (spp *Spp) CheckReady() bool
- func (spp *Spp) CheckRunning(kind string, retry int) bool
- func (spp *Spp) CheckVfsRunning() bool
- func (spp *Spp) Delete(kind string, secId string) bool
- func (spp *Spp) GetMirrorSecIdsFromCR() []string
- func (spp *Spp) GetNfvSecIdsFromCR() []string
- func (spp *Spp) GetPcapSecIdsFromCR() []string
- func (spp *Spp) GetProcesses() ([]sppv1.SppProcessResponse, bool)
- func (spp *Spp) GetVfSecIdsFromCR() []string
- func (spp *Spp) MakeNfvForward(secId string, action string) bool
- func (spp *Spp) NewApp(index int) *corev1.Pod
- func (spp *Spp) NewCtl() (*corev1.Pod, *corev1.Service)
- func (spp *Spp) NewMirror(index int) *corev1.Pod
- func (spp *Spp) NewNfv(index int) *corev1.Pod
- func (spp *Spp) NewPcap(index int) *corev1.Pod
- func (spp *Spp) NewPrimary() *corev1.Pod
- func (spp *Spp) NewVf(index int) *corev1.Pod
- func (spp *Spp) OldNfvs() []string
- func (spp *Spp) OldPcaps() []string
- func (spp *Spp) Olds(kind string) []string
- func (spp *Spp) Reconcile(secId string, kind string, Components []sppv1.ComponentOption, ...) *sppv1.SppVfResponse
- func (spp *Spp) ReconcileNfv(secId string, nfv *sppv1.SppNfv) *sppv1.SppNfvResponse
- func (spp *Spp) ReconcilePcap(secId string, pcap *sppv1.SppPcap) *sppv1.SppPcapResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spp ¶
func (*Spp) BeforeDeleteNfv ¶
func (*Spp) CheckMirrorsRunning ¶
func (*Spp) CheckNfvsRunning ¶
check if all nfvs are runnning using REST API
func (*Spp) CheckReady ¶
func (*Spp) CheckRunning ¶
check if procces(ctl or primary) is runnning using REST API
func (*Spp) CheckVfsRunning ¶
func (*Spp) GetMirrorSecIdsFromCR ¶
func (*Spp) GetNfvSecIdsFromCR ¶
GetSecIdsFromCR makes secIds from index of cr.nfvs
func (*Spp) GetPcapSecIdsFromCR ¶
GetSecIdsFromCR makes secIds from index of cr.nfvs
func (*Spp) GetProcesses ¶
func (spp *Spp) GetProcesses() ([]sppv1.SppProcessResponse, bool)
Spp running check funcionts
get processes using REST API
func (*Spp) GetVfSecIdsFromCR ¶
func (*Spp) MakeNfvForward ¶
make nfv forward
func (*Spp) OldNfvs ¶
OldNfvs make secId which does not exist in cr by comparing cr and NfvSecIdsIndexMap
func (*Spp) Reconcile ¶
func (spp *Spp) Reconcile(secId string, kind string, Components []sppv1.ComponentOption, ClassifierTable []sppv1.ClassifierTableOption) *sppv1.SppVfResponse
func (spp *Spp) Reconcile(secId string, vf *sppv1.SppVf) {
func (*Spp) ReconcileNfv ¶
func (*Spp) ReconcilePcap ¶
Click to show internal directories.
Click to hide internal directories.