pipy

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package pipy is a generated GoMock package.

Package pipy defines the pipy types and interfaces for the ingress controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	// Runnable runs the backend broadcast listener
	manager.Runnable

	// LeaderElectionRunnable knows if a Runnable needs to be run in the leader election mode.
	manager.LeaderElectionRunnable
}

Controller is the interface for the functionality provided by the resources part of the networking.k8s.io API group

func NewIngressController

func NewIngressController(informerCollection *fsminformers.InformerCollection, kubeClient kubernetes.Interface, msgBroker *messaging.Broker, cfg configurator.Configurator, certMgr *certificate.Manager) Controller

NewIngressController returns a ingress.Controller interface related to functionality provided by the resources in the k8s ingress API group

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) 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) Start

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

Start indicates an expected call of Start.

Directories

Path Synopsis
Package cache contains cache logic for pipy ingress controller
Package cache contains cache logic for pipy ingress controller
Package repo contains the repository for the ingress controller
Package repo contains the repository for the ingress controller
Package route defines the route types
Package route defines the route types
Package utils provides utility functions for the pipy ingress controller
Package utils provides utility functions for the pipy ingress controller

Jump to

Keyboard shortcuts

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