controller

package
v0.0.0-...-c5724af Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT, MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller defines the controller object needed for the controller.

func New

func New(opts Options) (*Controller, error)

New creates a new controller object.

func (*Controller) Run

func (c *Controller) Run(threadiness int) error

Run starts the controller.

func (*Controller) Shutdown

func (c *Controller) Shutdown()

Shutdown stops controller.

type Options

type Options struct {
	AzureAuthentication *azure.Authentication
	AzureDNSClient      dns.Interface

	KubeClient    kubernetes.Interface
	KubeNamespace string

	DomainNameRoot    string
	ResourceGroupName string
	ResourceName      string
	Region            string

	ResyncPeriod time.Duration
}

Options holds the options for a controller instance.

Jump to

Keyboard shortcuts

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