basedomain

package
v3.14.1-patch1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidType added in v3.12.0

func IsInvalidType(err error) bool

IsInvalidType asserts invalidTypeError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsTooManyCRsError

func IsTooManyCRsError(err error) bool

IsTooManyCRsError asserts tooManyCRsError.

func IsUnsupportedProvider added in v3.12.0

func IsUnsupportedProvider(err error) bool

IsUnsupportedProvider asserts unsupportedProviderError.

Types

type BaseDomain

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

func New

func New(c Config) (*BaseDomain, error)

func (*BaseDomain) BaseDomain

func (bd *BaseDomain) BaseDomain(ctx context.Context, obj interface{}) (string, error)

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Provider  string
}

type Interface

type Interface interface {
	// BaseDomain provides the base domain from all tenant clusters.
	// It is used in all component certificates.
	BaseDomain(ctx context.Context, obj interface{}) (string, error)
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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