flowlogs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Copyright © 2020 Dimitri Prosper <dimitri_prosper@us.ibm.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright © 2020 Dimitri Prosper <dimitri_prosper@us.ibm.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index

func Index(trace bool, recreateIndex bool) string

Index function

func Search(queryName string, trace bool) string

Search function

Types

type CosObject added in v0.0.8

type CosObject struct {
	Version              *string     `json:"version"`
	CollectorCrn         *string     `json:"collector_crn"`
	AttachedEndpointType *string     `json:"attached_endpoint_type"`
	NetworkInterfaceID   *string     `json:"network_interface_id"`
	InstanceCrn          *string     `json:"instance_crn"`
	VpcCrn               *string     `json:"vpc_crn"`
	CaptureStartTime     *string     `json:"capture_start_time"`
	CaptureEndTime       *string     `json:"capture_end_time"`
	State                *string     `json:"state"`
	NumberOfFlowLogs     *int64      `json:"number_of_flow_logs"`
	FlowLogs             *[]FlowLogs `json:"flow_logs"`
}

CosObject struct

type FlowLogs added in v0.0.8

type FlowLogs struct {
	StartTime                      *string `json:"start_time"`
	EndTime                        *string `json:"end_time"`
	ConnectionStartTime            *string `json:"connection_start_time"`
	Direction                      *string `json:"direction"`
	Action                         *string `json:"action"`
	InitiatorIP                    *string `json:"initiator_ip"`
	TargetIP                       *string `json:"target_ip"`
	InitiatorPort                  *int    `json:"initiator_port"`
	TargetPort                     *int    `json:"target_port"`
	TransportProtocol              *int    `json:"transport_protocol"`
	EtherType                      *string `json:"ether_type"`
	WasInitiated                   *bool   `json:"was_initiated"`
	WasTerminated                  *bool   `json:"was_terminated"`
	BytesFromInitiator             *int    `json:"bytes_from_initiator"`
	PacketsFromInitiator           *int    `json:"packets_from_initiator"`
	BytesFromTarget                *int    `json:"bytes_from_target"`
	PacketsFromTarget              *int    `json:"packets_from_target"`
	CumulativeBytesFromInitiator   *int    `json:"cumulative_bytes_from_initiator"`
	CumulativePacketsFromInitiator *int    `json:"cumulative_packets_from_initiator"`
	CumulativeBytesFromTarget      *int    `json:"cumulative_bytes_from_target"`
	CumulativePacketsFromTarget    *int    `json:"cumulative_packets_from_target"`
}

FlowLogs struct

Jump to

Keyboard shortcuts

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