gateway

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Overview

Package gateway is a generated GoMock package.

Package gateway implements the Kubernetes client for the resources in the gateway.networking.k8s.io API group

Index

Constants

View Source
const (
	// DefaultKubeEventResyncInterval is the default resync interval for k8s events
	// This is set to 0 because we do not need resyncs from k8s client, and have our
	// own Ticker to turn on periodic resyncs.
	DefaultKubeEventResyncInterval = 0 * time.Second
)

Variables

This section is empty.

Functions

func NewGatewayAPIController

func NewGatewayAPIController(ctx *cctx.ControllerContext) gwtypes.Controller

NewGatewayAPIController returns a gateway.Controller interface related to functionality provided by the resources in the gateway.flomesh.io API group

Types

type MockController

type MockController struct {
	// contains filtered or unexported fields
}

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockController) NeedLeaderElection added in v1.2.0

func (m *MockController) NeedLeaderElection() bool

NeedLeaderElection mocks base method.

func (*MockController) OnAdd

func (m *MockController) OnAdd(arg0 interface{}, arg1 bool)

OnAdd mocks base method.

func (*MockController) OnDelete

func (m *MockController) OnDelete(arg0 interface{})

OnDelete mocks base method.

func (*MockController) OnUpdate

func (m *MockController) OnUpdate(arg0, arg1 interface{})

OnUpdate mocks base method.

func (*MockController) Start

func (m *MockController) Start(arg0 context.Context) error

Start mocks base method.

type MockControllerMockRecorder

type MockControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) NeedLeaderElection added in v1.2.0

func (mr *MockControllerMockRecorder) NeedLeaderElection() *gomock.Call

NeedLeaderElection indicates an expected call of NeedLeaderElection.

func (*MockControllerMockRecorder) OnAdd

func (mr *MockControllerMockRecorder) OnAdd(arg0, arg1 interface{}) *gomock.Call

OnAdd indicates an expected call of OnAdd.

func (*MockControllerMockRecorder) OnDelete

func (mr *MockControllerMockRecorder) OnDelete(arg0 interface{}) *gomock.Call

OnDelete indicates an expected call of OnDelete.

func (*MockControllerMockRecorder) OnUpdate

func (mr *MockControllerMockRecorder) OnUpdate(arg0, arg1 interface{}) *gomock.Call

OnUpdate indicates an expected call of OnUpdate.

func (*MockControllerMockRecorder) Start

func (mr *MockControllerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

Directories

Path Synopsis
Package fgw contains types for the gateway route
Package fgw contains types for the gateway route
Package processor is a generated GoMock package.
Package processor is a generated GoMock package.
v2
Package v2 implements a processor of all the resources that are relevant to the gateway
Package v2 implements a processor of all the resources that are relevant to the gateway
Package repo contains the repository for the gateway
Package repo contains the repository for the gateway
Package status implements utility routines related to the status of the Gateway API resource.
Package status implements utility routines related to the status of the Gateway API resource.
gw
Package types contains types used by the gateway controller
Package types contains types used by the gateway controller
Package utils contains utility functions for gateway
Package utils contains utility functions for gateway

Jump to

Keyboard shortcuts

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