do

package
v0.1.49 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 40 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ProviderName specifies the name for the DigitalOcean provider
	ProviderName string = "digitalocean"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FirewallController added in v0.1.27

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

FirewallController helps to keep cloud provider service firewalls in sync.

func NewFirewallController added in v0.1.27

func NewFirewallController(kubeClient clientset.Interface, client *godo.Client, serviceInformer coreinformers.ServiceInformer, fwManager *firewallManager) *FirewallController

NewFirewallController returns a new firewall controller to reconcile public access firewall state.

func (*FirewallController) Run added in v0.1.27

func (fc *FirewallController) Run(ctx context.Context, stopCh <-chan struct{}, fwReconcileFrequency time.Duration)

Run starts the firewall controller loop.

type LBServiceAdmissionHandler added in v0.1.47

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

LBServiceAdmissionHandler validates service type LB.

func NewLBServiceAdmissionHandler added in v0.1.47

func NewLBServiceAdmissionHandler(log *logr.Logger, godoClient *godo.Client) *LBServiceAdmissionHandler

NewLBServiceAdmissionHandler returns a configured instance of LBServiceHandler.

func (*LBServiceAdmissionHandler) Handle added in v0.1.47

Handle handles admissions requests for load balancer services.

func (*LBServiceAdmissionHandler) WithClusterID added in v0.1.47

func (a *LBServiceAdmissionHandler) WithClusterID(clusterID string)

WithClusterID sets the clusterID field of the handler.

func (*LBServiceAdmissionHandler) WithRegion added in v0.1.47

func (a *LBServiceAdmissionHandler) WithRegion() error

WithRegion sets the region field of the handler.

func (*LBServiceAdmissionHandler) WithVPCID added in v0.1.47

func (a *LBServiceAdmissionHandler) WithVPCID(vpcID string)

WithVPCID sets the vpcID field of the handler.

type ResourcesController

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

ResourcesController is responsible for managing DigitalOcean cloud resources. It maintains a local state of the resources and synchronizes when needed.

func NewResourcesController

func NewResourcesController(r *resources, inf v1informers.ServiceInformer, client kubernetes.Interface) *ResourcesController

NewResourcesController returns a new resource controller.

func (*ResourcesController) Run

func (r *ResourcesController) Run(stopCh <-chan struct{})

Run starts the resources controller loop.

Jump to

Keyboard shortcuts

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