dnsalias

package
v1.47.4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Overview

Package dnsalias is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRadixDNSAliasIngress

func CreateRadixDNSAliasIngress(kubeClient kubernetes.Interface, appName, envName string, ingress *networkingv1.Ingress) (*networkingv1.Ingress, error)

CreateRadixDNSAliasIngress Create an Ingress for a RadixDNSAlias

func DeployComponentNotFoundByName

func DeployComponentNotFoundByName(appName, envName, componentName, deploymentName string) error

DeployComponentNotFoundByName Deploy component not found

func GetDNSAliasHost

func GetDNSAliasHost(alias, dnsZone string) string

GetDNSAliasHost Gets DNS alias host. Example for the alias "my-app" and the cluster "Playground": my-app.playground.radix.equinor.com

func GetDNSAliasIngressName

func GetDNSAliasIngressName(alias string) string

GetDNSAliasIngressName Gets name of the ingress for the custom DNS alias

Types

type MockSyncer

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

MockSyncer is a mock of Syncer interface.

func NewMockSyncer

func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer

NewMockSyncer creates a new mock instance.

func (*MockSyncer) EXPECT

func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSyncer) OnSync

func (m *MockSyncer) OnSync() error

OnSync mocks base method.

type MockSyncerMockRecorder

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

MockSyncerMockRecorder is the mock recorder for MockSyncer.

func (*MockSyncerMockRecorder) OnSync

func (mr *MockSyncerMockRecorder) OnSync() *gomock.Call

OnSync indicates an expected call of OnSync.

type Syncer

type Syncer interface {
	// OnSync Syncs RadixDNSAliases
	OnSync() error
}

Syncer of RadixDNSAliases

func NewSyncer

func NewSyncer(kubeClient kubernetes.Interface, kubeUtil *kube.Kube, radixClient radixclient.Interface, dnsConfig *dnsalias.DNSConfig, ingressConfiguration ingress.IngressConfiguration, oauth2Config defaults.OAuth2Config, ingressAnnotationProviders []ingress.AnnotationProvider, radixDNSAlias *radixv1.RadixDNSAlias) Syncer

NewSyncer is the constructor for RadixDNSAlias syncer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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