reconciler

package
v0.0.0-...-1e5a665 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

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

AwsClient stores cloud client and values

func NewAwsClient

func NewAwsClient() (*AwsClient, error)

NewAwsClient builds new AWS client

func (*AwsClient) Cleanup

func (c *AwsClient) Cleanup() error

Cleanup removes any leftover resources

func (*AwsClient) Reconcile

func (c *AwsClient) Reconcile(rt *route.Table, eventSync bool, syncInterval int)

Reconcile implements reconciler interface

type AzureClient

type AzureClient struct {
	ResourceGroup  string
	SubscriptionID string
	Authorizer     autorest.Authorizer
	GenerateName   func(string) string
	// contains filtered or unexported fields
}

AzureClient stores cloud client and values

func NewAzureClient

func NewAzureClient() (*AzureClient, error)

NewAzureClient builds new Azure client

func (*AzureClient) Cleanup

func (c *AzureClient) Cleanup() error

Cleanup removes any leftover resources

func (*AzureClient) Reconcile

func (c *AzureClient) Reconcile(rt *route.Table, eventSync bool, syncInterval int)

Reconcile implements reconciler interface

type CloudClient

type CloudClient interface {
	Reconcile(*route.Table, bool, int)
	Cleanup() error
}

CloudClient defines generic Cloud Client interface

type GcpClient

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

GcpClient stores cloud client and values

func NewGcpClient

func NewGcpClient() (*GcpClient, error)

NewGcpClient builds new GCP client

func (*GcpClient) Cleanup

func (c *GcpClient) Cleanup() error

Cleanup removes any leftover resources

func (*GcpClient) Reconcile

func (c *GcpClient) Reconcile(rt *route.Table, eventSync bool, syncInterval int)

Reconcile implements reconciler interface

Jump to

Keyboard shortcuts

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