Documentation ¶
Overview ¶
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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.
© 2021 Red Hat, Inc. and others
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
- type Operation
- type SyncHandler
- func (kp *SyncHandler) GetName() string
- func (kp *SyncHandler) GetNetworkPlugins() []string
- func (kp *SyncHandler) Init() error
- func (kp *SyncHandler) InstallCleanupHandlers(handlers ...cleanup.Handler)
- func (kp *SyncHandler) LocalEndpointCreated(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) LocalEndpointRemoved(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) LocalEndpointUpdated(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) NodeCreated(node *k8sV1.Node) error
- func (kp *SyncHandler) NodeRemoved(node *k8sV1.Node) error
- func (kp *SyncHandler) NodeUpdated(node *k8sV1.Node) error
- func (kp *SyncHandler) RemoteEndpointCreated(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) RemoteEndpointRemoved(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) RemoteEndpointUpdated(endpoint *submV1.Endpoint) error
- func (kp *SyncHandler) TransitionToGateway() error
- func (kp *SyncHandler) TransitionToNonGateway() error
Constants ¶
const ( VxLANIface = "vx-submariner" VxInterfaceWorker = 0 VxInterfaceGateway = 1 VxLANPort = 4800 VxLANOverhead = 50 VxLANVTepNetworkPrefix = 240 SmRouteAgentFilter = "app=submariner-routeagent" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncHandler ¶
type SyncHandler struct { event.HandlerBase // contains filtered or unexported fields }
func NewSyncHandler ¶
func NewSyncHandler(localClusterCidr, localServiceCidr []string) *SyncHandler
func (*SyncHandler) GetName ¶
func (kp *SyncHandler) GetName() string
func (*SyncHandler) GetNetworkPlugins ¶
func (kp *SyncHandler) GetNetworkPlugins() []string
func (*SyncHandler) Init ¶
func (kp *SyncHandler) Init() error
func (*SyncHandler) InstallCleanupHandlers ¶
func (kp *SyncHandler) InstallCleanupHandlers(handlers ...cleanup.Handler)
func (*SyncHandler) LocalEndpointCreated ¶
func (kp *SyncHandler) LocalEndpointCreated(endpoint *submV1.Endpoint) error
func (*SyncHandler) LocalEndpointRemoved ¶
func (kp *SyncHandler) LocalEndpointRemoved(endpoint *submV1.Endpoint) error
func (*SyncHandler) LocalEndpointUpdated ¶
func (kp *SyncHandler) LocalEndpointUpdated(endpoint *submV1.Endpoint) error
func (*SyncHandler) NodeCreated ¶
func (kp *SyncHandler) NodeCreated(node *k8sV1.Node) error
func (*SyncHandler) NodeRemoved ¶
func (kp *SyncHandler) NodeRemoved(node *k8sV1.Node) error
func (*SyncHandler) NodeUpdated ¶
func (kp *SyncHandler) NodeUpdated(node *k8sV1.Node) error
func (*SyncHandler) RemoteEndpointCreated ¶
func (kp *SyncHandler) RemoteEndpointCreated(endpoint *submV1.Endpoint) error
func (*SyncHandler) RemoteEndpointRemoved ¶
func (kp *SyncHandler) RemoteEndpointRemoved(endpoint *submV1.Endpoint) error
func (*SyncHandler) RemoteEndpointUpdated ¶
func (kp *SyncHandler) RemoteEndpointUpdated(endpoint *submV1.Endpoint) error
func (*SyncHandler) TransitionToGateway ¶
func (kp *SyncHandler) TransitionToGateway() error
func (*SyncHandler) TransitionToNonGateway ¶
func (kp *SyncHandler) TransitionToNonGateway() error