approuter

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RdnsIPDomain = "lb.rancher.cloud"
)

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, cluster *config.UserContext)

Types

type Client

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

func NewClient

func NewClient(secrets v1.SecretInterface, secretLister v1.SecretLister, clusterName string) *Client

func (*Client) ApplyDomain

func (c *Client) ApplyDomain(hosts []string) (bool, string, error)

func (*Client) CreateDomain

func (c *Client) CreateDomain(hosts []string) (string, error)

func (*Client) DeleteDomain

func (c *Client) DeleteDomain() (string, error)

func (*Client) GetDomain

func (c *Client) GetDomain() (d *model.Domain, err error)

func (*Client) RenewDomain

func (c *Client) RenewDomain() (string, error)

func (*Client) SetBaseURL

func (c *Client) SetBaseURL(base string)

func (*Client) UpdateDomain

func (c *Client) UpdateDomain(hosts []string) (string, error)

type Controller

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

Jump to

Keyboard shortcuts

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