Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=networkmachinery.io
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type EndpointKind
- type Event
- type EventsConfig
- type Flow
- type LastError
- type LastOperation
- type LastOperationState
- type LastOperationType
- type MonitoringEndpoint
- type NetcatIPEndpoint
- type NetcatPodEndpoint
- type NetcatResult
- type NetcatResultState
- type NetcatServiceEndpoint
- type NetcatStatus
- type NetworkConnectivityTest
- type NetworkConnectivityTestList
- type NetworkConnectivityTestSpec
- type NetworkConnectivityTestStatus
- type NetworkDelayTest
- type NetworkDelayTestList
- type NetworkDelayTestSpec
- type NetworkDelayTestStatus
- type NetworkDestinationEndpoint
- type NetworkEvent
- type NetworkMonitor
- type NetworkMonitorList
- type NetworkMonitorSpec
- type NetworkMonitorStatus
- type NetworkNotification
- type NetworkNotificationList
- type NetworkNotificationSpec
- type NetworkSourceEndpoint
- type NetworkTrafficShaper
- type NetworkTrafficShaperList
- type NetworkTrafficShaperSpec
- type NetworkTrafficShaperStatus
- type NodeParams
- type Params
- type PingIPEndpoint
- type PingPodEndpoint
- type PingResult
- type PingResultState
- type PingServiceEndpoint
- type PingStatus
- type Protocol
- type QperfNodeEndpoint
- type QperfPodEndpoint
- type QperfResult
- type QperfResultState
- type QperfStatus
- type ShaperConfiguration
- type ShaperTarget
- type ShaperType
- type Status
- type Threshold
Constants ¶
const ( // Information only and will not cause any problems EventTypeNormal string = "Normal" // These events are to warn that something might go wrong EventTypeWarning string = "Warning" // These events are to show errors EventTypeError string = "Error" )
Valid values for event types
const ( // EventTypeReconciliation an event reason to describe network monitor reconciliation. EventTypeReconciliation string = "NetworkMonitorReconciliation" // EventTypeDeletion an event reason to describe network monitor deletion. EventTypeDeletion string = "NetworkMonitorDeletion" )
const GroupName = "networkmachinery.io"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the Shoot resource. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EndpointKind ¶
type EndpointKind string
const ( IP EndpointKind = "ip" Pod EndpointKind = "pod" Service EndpointKind = "service" Selector EndpointKind = "selector" Node EndpointKind = "node" )
type Event ¶
type Event struct { EventID int32 `json:"eventID"` Threshold int32 `json:"threshold"` TimeStamp int64 `json:"timestamp"` Value float32 `json:"value"` Name string `json:"name"` Metric string `json:"metric"` ThresholdID string `json:"thresholdID"` Agent string `json:"agent"` DataSource string `json:"dataSource"` }
func (*Event) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (*Event) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventsConfig ¶
EventsConfig contains configuration parameters for event queries
func (*EventsConfig) DeepCopy ¶
func (in *EventsConfig) DeepCopy() *EventsConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventsConfig.
func (*EventsConfig) DeepCopyInto ¶
func (in *EventsConfig) DeepCopyInto(out *EventsConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Flow ¶
type Flow struct { Name string `json:"name"` Keys string `json:"keys"` Value string `json:"value"` Filter string `json:"filter,omitempty"` ActiveTimeout string `json:"activeTimeout,omitempty"` Log string `json:"log,omitempty"` FlowStart string `json:"flowStart,omitempty"` }
Flow defines the monitoring flow to be installed on the monitoring system
func (*Flow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flow.
func (*Flow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastError ¶
type LastError struct { // A human readable message indicating details about the last error. Description string `json:"description"` }
LastError indicates the last occurred error for an operation on a resource.
func (*LastError) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastError.
func (*LastError) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperation ¶
type LastOperation struct { // A human readable message indicating details about the last operation. Description string `json:"description"` // Last time the operation state transitioned from one to another. LastUpdateTime metav1.Time `json:"lastUpdateTime"` // The progress in percentage (0-100) of the last operation. Progress int `json:"progress"` // Status of the last operation, one of Aborted, Processing, Succeeded, Error, Failed. State LastOperationState `json:"state"` // Type of the last operation, one of Create, Reconcile, Delete. Type LastOperationType `json:"type"` }
LastOperation indicates the type and the state of the last operation, along with a description message and a progress indicator.
func (*LastOperation) DeepCopy ¶
func (in *LastOperation) DeepCopy() *LastOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastOperation.
func (*LastOperation) DeepCopyInto ¶
func (in *LastOperation) DeepCopyInto(out *LastOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperationState ¶
type LastOperationState string
LastOperationState is a string alias.
const ( // LastOperationStateProcessing indicates that an operation is ongoing. LastOperationStateProcessing LastOperationState = "Processing" // LastOperationStateSucceeded indicates that an operation has completed successfully. LastOperationStateSucceeded LastOperationState = "Succeeded" // LastOperationStateError indicates that an operation is completed with errors and will be retried. LastOperationStateError LastOperationState = "Error" // LastOperationStateFailed indicates that an operation is completed with errors and won't be retried. LastOperationStateFailed LastOperationState = "Failed" // LastOperationStatePending indicates that an operation cannot be done now, but will be tried in future. LastOperationStatePending LastOperationState = "Pending" // LastOperationStateAborted indicates that an operation has been aborted. LastOperationStateAborted LastOperationState = "Aborted" )
type LastOperationType ¶
type LastOperationType string
LastOperationType is a string alias.
const ( // LastOperationTypeCreate indicates a 'create' operation. LastOperationTypeCreate LastOperationType = "Create" // LastOperationTypeReconcile indicates a 'reconcile' operation. LastOperationTypeReconcile LastOperationType = "Reconcile" // LastOperationTypeDelete indicates a 'delete' operation. LastOperationTypeDelete LastOperationType = "Delete" )
type MonitoringEndpoint ¶
func (*MonitoringEndpoint) DeepCopy ¶
func (in *MonitoringEndpoint) DeepCopy() *MonitoringEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringEndpoint.
func (*MonitoringEndpoint) DeepCopyInto ¶
func (in *MonitoringEndpoint) DeepCopyInto(out *MonitoringEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetcatIPEndpoint ¶
type NetcatIPEndpoint struct { IP string `json:"ip"` Port string `json:"port"` NetcatResult NetcatResult `json:"netcatResult"` }
func (*NetcatIPEndpoint) DeepCopy ¶
func (in *NetcatIPEndpoint) DeepCopy() *NetcatIPEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetcatIPEndpoint.
func (*NetcatIPEndpoint) DeepCopyInto ¶
func (in *NetcatIPEndpoint) DeepCopyInto(out *NetcatIPEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetcatPodEndpoint ¶
type NetcatPodEndpoint struct { PodParams Params `json:"podParams"` NetcatResult NetcatResult `json:"netcatResult"` }
func (*NetcatPodEndpoint) DeepCopy ¶
func (in *NetcatPodEndpoint) DeepCopy() *NetcatPodEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetcatPodEndpoint.
func (*NetcatPodEndpoint) DeepCopyInto ¶
func (in *NetcatPodEndpoint) DeepCopyInto(out *NetcatPodEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetcatResult ¶
type NetcatResult struct {
State NetcatResultState `json:"state"`
}
func (*NetcatResult) DeepCopy ¶
func (in *NetcatResult) DeepCopy() *NetcatResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetcatResult.
func (*NetcatResult) DeepCopyInto ¶
func (in *NetcatResult) DeepCopyInto(out *NetcatResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetcatResultState ¶
type NetcatResultState string
const ( Refused NetcatResultState = "Refused" Succeeded NetcatResultState = "Succeeded" )
type NetcatServiceEndpoint ¶
type NetcatServiceEndpoint struct { ServiceParams Params `json:"serviceParams"` ServiceResults []NetcatIPEndpoint `json:"serviceResultsEndpoints,omitempty"` ServiceResultsDirect NetcatIPEndpoint `json:"serviceResultsDirect,omitempty"` }
func (*NetcatServiceEndpoint) DeepCopy ¶
func (in *NetcatServiceEndpoint) DeepCopy() *NetcatServiceEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetcatServiceEndpoint.
func (*NetcatServiceEndpoint) DeepCopyInto ¶
func (in *NetcatServiceEndpoint) DeepCopyInto(out *NetcatServiceEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetcatStatus ¶
type NetcatStatus struct { metav1.TypeMeta `json:",inline"` NetcatIPEndpoints []NetcatIPEndpoint `json:"ipEndpoints,omitempty"` NetcatPodEndpoints []NetcatPodEndpoint `json:"podEndpoints,omitempty"` NetcatServiceEndpoints []NetcatServiceEndpoint `json:"serviceEndpoints,omitempty"` }
NetcatStatus contains information related netcat command results.
func (*NetcatStatus) DeepCopy ¶
func (in *NetcatStatus) DeepCopy() *NetcatStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetcatStatus.
func (*NetcatStatus) DeepCopyInto ¶
func (in *NetcatStatus) DeepCopyInto(out *NetcatStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetcatStatus) DeepCopyObject ¶
func (in *NetcatStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkConnectivityTest ¶
type NetworkConnectivityTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkConnectivityTestSpec `json:"spec,omitempty"` Status NetworkConnectivityTestStatus `json:"status,omitempty"` }
NetworkConnectivityTest represents a network connectivity test
func (*NetworkConnectivityTest) DeepCopy ¶
func (in *NetworkConnectivityTest) DeepCopy() *NetworkConnectivityTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityTest.
func (*NetworkConnectivityTest) DeepCopyInto ¶
func (in *NetworkConnectivityTest) DeepCopyInto(out *NetworkConnectivityTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkConnectivityTest) DeepCopyObject ¶
func (in *NetworkConnectivityTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkConnectivityTestList ¶
type NetworkConnectivityTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkConnectivityTest `json:"items,omitempty"` }
NetworkConnectivityTestList is a list of network notifications
func (*NetworkConnectivityTestList) DeepCopy ¶
func (in *NetworkConnectivityTestList) DeepCopy() *NetworkConnectivityTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityTestList.
func (*NetworkConnectivityTestList) DeepCopyInto ¶
func (in *NetworkConnectivityTestList) DeepCopyInto(out *NetworkConnectivityTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkConnectivityTestList) DeepCopyObject ¶
func (in *NetworkConnectivityTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkConnectivityTestSpec ¶
type NetworkConnectivityTestSpec struct { Layer string `json:"layer"` Source NetworkSourceEndpoint `json:"source"` Destinations []NetworkDestinationEndpoint `json:"destinations"` Frequency string `json:"frequency,omitempty"` }
func (*NetworkConnectivityTestSpec) DeepCopy ¶
func (in *NetworkConnectivityTestSpec) DeepCopy() *NetworkConnectivityTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityTestSpec.
func (*NetworkConnectivityTestSpec) DeepCopyInto ¶
func (in *NetworkConnectivityTestSpec) DeepCopyInto(out *NetworkConnectivityTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkConnectivityTestStatus ¶
type NetworkConnectivityTestStatus struct {
TestStatus *runtime.RawExtension `json:"testStatus,omitempty"`
}
func (*NetworkConnectivityTestStatus) DeepCopy ¶
func (in *NetworkConnectivityTestStatus) DeepCopy() *NetworkConnectivityTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityTestStatus.
func (*NetworkConnectivityTestStatus) DeepCopyInto ¶
func (in *NetworkConnectivityTestStatus) DeepCopyInto(out *NetworkConnectivityTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDelayTest ¶
type NetworkDelayTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkDelayTestSpec `json:"spec,omitempty"` Status NetworkDelayTestStatus `json:"status,omitempty"` }
NetworkDelayTest represents a network connectivity test
func (*NetworkDelayTest) DeepCopy ¶
func (in *NetworkDelayTest) DeepCopy() *NetworkDelayTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDelayTest.
func (*NetworkDelayTest) DeepCopyInto ¶
func (in *NetworkDelayTest) DeepCopyInto(out *NetworkDelayTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkDelayTest) DeepCopyObject ¶
func (in *NetworkDelayTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkDelayTestList ¶
type NetworkDelayTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkDelayTest `json:"items,omitempty"` }
NetworkDelayTestList is a list of network notifications
func (*NetworkDelayTestList) DeepCopy ¶
func (in *NetworkDelayTestList) DeepCopy() *NetworkDelayTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDelayTestList.
func (*NetworkDelayTestList) DeepCopyInto ¶
func (in *NetworkDelayTestList) DeepCopyInto(out *NetworkDelayTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkDelayTestList) DeepCopyObject ¶
func (in *NetworkDelayTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkDelayTestSpec ¶
type NetworkDelayTestSpec struct { Protocol string `json:"protocol"` Source NetworkSourceEndpoint `json:"source"` Destinations []NetworkDestinationEndpoint `json:"destinations"` Frequency string `json:"frequency,omitempty"` }
func (*NetworkDelayTestSpec) DeepCopy ¶
func (in *NetworkDelayTestSpec) DeepCopy() *NetworkDelayTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDelayTestSpec.
func (*NetworkDelayTestSpec) DeepCopyInto ¶
func (in *NetworkDelayTestSpec) DeepCopyInto(out *NetworkDelayTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDelayTestStatus ¶
type NetworkDelayTestStatus struct {
TestStatus *runtime.RawExtension `json:"testStatus,omitempty"`
}
func (*NetworkDelayTestStatus) DeepCopy ¶
func (in *NetworkDelayTestStatus) DeepCopy() *NetworkDelayTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDelayTestStatus.
func (*NetworkDelayTestStatus) DeepCopyInto ¶
func (in *NetworkDelayTestStatus) DeepCopyInto(out *NetworkDelayTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkDestinationEndpoint ¶
type NetworkDestinationEndpoint struct { Kind EndpointKind `json:"kind"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` IP string `json:"ip,omitempty"` Port string `json:"port,omitempty"` Node string `json:"node,omitempty"` Container string `json:"container,omitempty"` }
func (*NetworkDestinationEndpoint) DeepCopy ¶
func (in *NetworkDestinationEndpoint) DeepCopy() *NetworkDestinationEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkDestinationEndpoint.
func (*NetworkDestinationEndpoint) DeepCopyInto ¶
func (in *NetworkDestinationEndpoint) DeepCopyInto(out *NetworkDestinationEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkEvent ¶
func (*NetworkEvent) DeepCopy ¶
func (in *NetworkEvent) DeepCopy() *NetworkEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkEvent.
func (*NetworkEvent) DeepCopyInto ¶
func (in *NetworkEvent) DeepCopyInto(out *NetworkEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkMonitor ¶
type NetworkMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkMonitorSpec `json:"spec,omitempty"` Status NetworkMonitorStatus `json:"status,omitempty"` }
NetworkMonitor is the top-level type for flow monitoring
func (*NetworkMonitor) DeepCopy ¶
func (in *NetworkMonitor) DeepCopy() *NetworkMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkMonitor.
func (*NetworkMonitor) DeepCopyInto ¶
func (in *NetworkMonitor) DeepCopyInto(out *NetworkMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkMonitor) DeepCopyObject ¶
func (in *NetworkMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkMonitorList ¶
type NetworkMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // Items is the list of Cluster. Items []NetworkMonitor `json:"items"` }
NetworkMonitorList is a list of Network Monitors .
func (*NetworkMonitorList) DeepCopy ¶
func (in *NetworkMonitorList) DeepCopy() *NetworkMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkMonitorList.
func (*NetworkMonitorList) DeepCopyInto ¶
func (in *NetworkMonitorList) DeepCopyInto(out *NetworkMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkMonitorList) DeepCopyObject ¶
func (in *NetworkMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkMonitorSpec ¶
type NetworkMonitorSpec struct { MonitoringEndpoint MonitoringEndpoint `json:"monitoringEndpoint"` Flows []Flow `json:"flows"` Thresholds []Threshold `json:"thresholds"` EventsConfig EventsConfig `json:"eventsConfig"` }
NetworkMonitorSpec defines the spec for the network monitor resource
func (*NetworkMonitorSpec) DeepCopy ¶
func (in *NetworkMonitorSpec) DeepCopy() *NetworkMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkMonitorSpec.
func (*NetworkMonitorSpec) DeepCopyInto ¶
func (in *NetworkMonitorSpec) DeepCopyInto(out *NetworkMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkMonitorStatus ¶
type NetworkMonitorStatus struct {
Status `json:",inline"`
}
NetworkMonitorSpec defines the spec for the network monitor resource
func (*NetworkMonitorStatus) DeepCopy ¶
func (in *NetworkMonitorStatus) DeepCopy() *NetworkMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkMonitorStatus.
func (*NetworkMonitorStatus) DeepCopyInto ¶
func (in *NetworkMonitorStatus) DeepCopyInto(out *NetworkMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkNotification ¶
type NetworkNotification struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkNotificationSpec `json:"spec,omitempty"` }
NetworkNotification represents the notification resource
func (*NetworkNotification) DeepCopy ¶
func (in *NetworkNotification) DeepCopy() *NetworkNotification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNotification.
func (*NetworkNotification) DeepCopyInto ¶
func (in *NetworkNotification) DeepCopyInto(out *NetworkNotification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNotification) DeepCopyObject ¶
func (in *NetworkNotification) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNotificationList ¶
type NetworkNotificationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkNotification `json:"items,omitempty"` }
NetworkNotificationList is a list of network notifications
func (*NetworkNotificationList) DeepCopy ¶
func (in *NetworkNotificationList) DeepCopy() *NetworkNotificationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNotificationList.
func (*NetworkNotificationList) DeepCopyInto ¶
func (in *NetworkNotificationList) DeepCopyInto(out *NetworkNotificationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkNotificationList) DeepCopyObject ¶
func (in *NetworkNotificationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkNotificationSpec ¶
type NetworkNotificationSpec struct {
Event NetworkEvent `json:"networkEvent"`
}
func (*NetworkNotificationSpec) DeepCopy ¶
func (in *NetworkNotificationSpec) DeepCopy() *NetworkNotificationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkNotificationSpec.
func (*NetworkNotificationSpec) DeepCopyInto ¶
func (in *NetworkNotificationSpec) DeepCopyInto(out *NetworkNotificationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSourceEndpoint ¶
type NetworkSourceEndpoint struct { Kind EndpointKind `json:"kind"` Name string `json:"name,omitempty"` Namespace string `json:"namespace"` Container string `json:"container"` SourceSelector *metav1.LabelSelector `json:"sourceSelector,omitempty"` }
func (*NetworkSourceEndpoint) DeepCopy ¶
func (in *NetworkSourceEndpoint) DeepCopy() *NetworkSourceEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSourceEndpoint.
func (*NetworkSourceEndpoint) DeepCopyInto ¶
func (in *NetworkSourceEndpoint) DeepCopyInto(out *NetworkSourceEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkTrafficShaper ¶
type NetworkTrafficShaper struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkTrafficShaperSpec `json:"spec,omitempty"` Status NetworkTrafficShaperStatus `json:"status,omitempty"` }
NetworkTrafficShaper represents a network connectivity test
func (*NetworkTrafficShaper) DeepCopy ¶
func (in *NetworkTrafficShaper) DeepCopy() *NetworkTrafficShaper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkTrafficShaper.
func (*NetworkTrafficShaper) DeepCopyInto ¶
func (in *NetworkTrafficShaper) DeepCopyInto(out *NetworkTrafficShaper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkTrafficShaper) DeepCopyObject ¶
func (in *NetworkTrafficShaper) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkTrafficShaperList ¶
type NetworkTrafficShaperList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkTrafficShaper `json:"items,omitempty"` }
NetworkTrafficShaperList is a list of network traffic shapers
func (*NetworkTrafficShaperList) DeepCopy ¶
func (in *NetworkTrafficShaperList) DeepCopy() *NetworkTrafficShaperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkTrafficShaperList.
func (*NetworkTrafficShaperList) DeepCopyInto ¶
func (in *NetworkTrafficShaperList) DeepCopyInto(out *NetworkTrafficShaperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkTrafficShaperList) DeepCopyObject ¶
func (in *NetworkTrafficShaperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkTrafficShaperSpec ¶
type NetworkTrafficShaperSpec struct {
Targets []ShaperTarget `json:"targets"`
}
func (*NetworkTrafficShaperSpec) DeepCopy ¶
func (in *NetworkTrafficShaperSpec) DeepCopy() *NetworkTrafficShaperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkTrafficShaperSpec.
func (*NetworkTrafficShaperSpec) DeepCopyInto ¶
func (in *NetworkTrafficShaperSpec) DeepCopyInto(out *NetworkTrafficShaperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkTrafficShaperStatus ¶
type NetworkTrafficShaperStatus struct {
Status `json:",inline"`
}
func (*NetworkTrafficShaperStatus) DeepCopy ¶
func (in *NetworkTrafficShaperStatus) DeepCopy() *NetworkTrafficShaperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkTrafficShaperStatus.
func (*NetworkTrafficShaperStatus) DeepCopyInto ¶
func (in *NetworkTrafficShaperStatus) DeepCopyInto(out *NetworkTrafficShaperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeParams ¶
type NodeParams struct { Name string `json:"name"` IP string `json:"ip"` Port string `json:"port,omitempty"` }
func (*NodeParams) DeepCopy ¶
func (in *NodeParams) DeepCopy() *NodeParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeParams.
func (*NodeParams) DeepCopyInto ¶
func (in *NodeParams) DeepCopyInto(out *NodeParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Params ¶
type Params struct { Name string `json:"name"` Namespace string `json:"namespace"` IP string `json:"ip"` Port string `json:"port,omitempty"` }
func (*Params) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Params.
func (*Params) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingIPEndpoint ¶
type PingIPEndpoint struct { IP string `json:"ip"` PingResult PingResult `json:"pingResult"` }
func (*PingIPEndpoint) DeepCopy ¶
func (in *PingIPEndpoint) DeepCopy() *PingIPEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingIPEndpoint.
func (*PingIPEndpoint) DeepCopyInto ¶
func (in *PingIPEndpoint) DeepCopyInto(out *PingIPEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingPodEndpoint ¶
type PingPodEndpoint struct { PodParams Params `json:"podParams"` PingResult PingResult `json:"pingResult"` }
func (*PingPodEndpoint) DeepCopy ¶
func (in *PingPodEndpoint) DeepCopy() *PingPodEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingPodEndpoint.
func (*PingPodEndpoint) DeepCopyInto ¶
func (in *PingPodEndpoint) DeepCopyInto(out *PingPodEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingResult ¶
type PingResult struct { State PingResultState `json:"state"` Min string `json:"min,omitempty"` Max string `json:"max,omitempty"` Average string `json:"average,omitempty"` }
func (*PingResult) DeepCopy ¶
func (in *PingResult) DeepCopy() *PingResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingResult.
func (*PingResult) DeepCopyInto ¶
func (in *PingResult) DeepCopyInto(out *PingResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingResultState ¶
type PingResultState string
const ( FailedPing PingResultState = "Failed" SuccessPing PingResultState = "Success" )
type PingServiceEndpoint ¶
type PingServiceEndpoint struct { ServiceParams Params `json:"serviceParams"` ServiceResults []PingIPEndpoint `json:"serviceResults"` }
func (*PingServiceEndpoint) DeepCopy ¶
func (in *PingServiceEndpoint) DeepCopy() *PingServiceEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingServiceEndpoint.
func (*PingServiceEndpoint) DeepCopyInto ¶
func (in *PingServiceEndpoint) DeepCopyInto(out *PingServiceEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PingStatus ¶
type PingStatus struct { metav1.TypeMeta `json:",inline"` PingIPEndpoints []PingIPEndpoint `json:"ipEndpoints,omitempty"` PingPodEndpoints []PingPodEndpoint `json:"podEndpoints,omitempty"` PingServiceEndpoint []PingServiceEndpoint `json:"serviceEndpoints,omitempty"` }
PingStatus contains information related ping command results.
func (*PingStatus) DeepCopy ¶
func (in *PingStatus) DeepCopy() *PingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PingStatus.
func (*PingStatus) DeepCopyInto ¶
func (in *PingStatus) DeepCopyInto(out *PingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PingStatus) DeepCopyObject ¶
func (in *PingStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QperfNodeEndpoint ¶
type QperfNodeEndpoint struct { NodeParams NodeParams `json:"nodeParams"` NodeResults QperfResult `json:"nodeResult"` }
func (*QperfNodeEndpoint) DeepCopy ¶
func (in *QperfNodeEndpoint) DeepCopy() *QperfNodeEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QperfNodeEndpoint.
func (*QperfNodeEndpoint) DeepCopyInto ¶
func (in *QperfNodeEndpoint) DeepCopyInto(out *QperfNodeEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QperfPodEndpoint ¶
type QperfPodEndpoint struct { PodParams Params `json:"podParams"` QperfResult QperfResult `json:"qperfResult"` }
func (*QperfPodEndpoint) DeepCopy ¶
func (in *QperfPodEndpoint) DeepCopy() *QperfPodEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QperfPodEndpoint.
func (*QperfPodEndpoint) DeepCopyInto ¶
func (in *QperfPodEndpoint) DeepCopyInto(out *QperfPodEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QperfResult ¶
type QperfResult struct { State QperfResultState `json:"state"` UDPDelay string `json:"udpDelay,omitempty"` TCPDelay string `json:"tcpDelay,omitempty"` }
func (*QperfResult) DeepCopy ¶
func (in *QperfResult) DeepCopy() *QperfResult
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QperfResult.
func (*QperfResult) DeepCopyInto ¶
func (in *QperfResult) DeepCopyInto(out *QperfResult)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QperfResultState ¶
type QperfResultState string
const ( FailedQperfCmd QperfResultState = "Failed" SuccessQperfCmd QperfResultState = "Success" )
type QperfStatus ¶
type QperfStatus struct { metav1.TypeMeta `json:",inline"` QperfPodEndpoints []QperfPodEndpoint `json:"podEndpoints,omitempty"` QperfNodeEndpoints []QperfNodeEndpoint `json:"nodeEndpoints,omitempty"` }
QperfStatus contains information related qperf command results.
func (*QperfStatus) DeepCopy ¶
func (in *QperfStatus) DeepCopy() *QperfStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QperfStatus.
func (*QperfStatus) DeepCopyInto ¶
func (in *QperfStatus) DeepCopyInto(out *QperfStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QperfStatus) DeepCopyObject ¶
func (in *QperfStatus) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShaperConfiguration ¶
type ShaperConfiguration struct { Type ShaperType `json:"type"` Device string `json:"device"` Value string `json:"value"` }
func (*ShaperConfiguration) DeepCopy ¶
func (in *ShaperConfiguration) DeepCopy() *ShaperConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShaperConfiguration.
func (*ShaperConfiguration) DeepCopyInto ¶
func (in *ShaperConfiguration) DeepCopyInto(out *ShaperConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShaperTarget ¶
type ShaperTarget struct { Namespace string `json:"namespace"` Kind EndpointKind `json:"kind"` ShaperConfig ShaperConfiguration `json:"configuration"` Name string `json:"name,omitempty"` Container string `json:"container,omitempty"` SourceSelector *metav1.LabelSelector `json:"targetSelector,omitempty"` }
func (*ShaperTarget) DeepCopy ¶
func (in *ShaperTarget) DeepCopy() *ShaperTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShaperTarget.
func (*ShaperTarget) DeepCopyInto ¶
func (in *ShaperTarget) DeepCopyInto(out *ShaperTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShaperType ¶
type ShaperType string
const ( Loss ShaperType = "loss" Delay ShaperType = "delay" )
type Status ¶
type Status struct { // LastOperation holds information about the last operation on the resource. // +optional LastOperation *LastOperation `json:"lastOperation,omitempty"` // ObservedGeneration is the most recent generation observed for this resource. // LastError holds information about the last occurred error during an operation. // +optional LastError LastError `json:"lastError,omitempty"` }
DefaultStatus contains common status fields for every extension resource.
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Threshold ¶
type Threshold struct { Value int32 `json:"value"` Name string `json:"name"` Metric string `json:"metric,omitempty"` ByFlow string `json:"byFlow,omitempty"` FlowName string `json:"flowName"` }
Threshold is the threshold to define for the flows
func (*Threshold) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Threshold.
func (*Threshold) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.