domain

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package domain collects structures and functions around the domains the client works with.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppDefaultRoute added in v0.0.23

func AppDefaultRoute(ctx context.Context, name string) (string, error)

AppDefaultRoute constructs and returns an application's default route from the main domain and the name of the application

func MainDomain

func MainDomain(ctx context.Context) (string, error)

MainDomain determines the name of the main domain of the currently accessed epinio installation. The result is cached in-memory (see variable mainDomain). The function preferably returns cached data, and queries the cluster ingresses only the first time the data is asked for. This is especially useful for long running commands. In other other words, epinio's API server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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