Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v1.133.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildRadixDNSAlias

func BuildRadixDNSAlias(appName, componentName, envName, alias string) *radixv1.RadixDNSAlias

BuildRadixDNSAlias Build a RadixDNSAlias

func GetDNSAliasHost

func GetDNSAliasHost(alias string, dnsZone string) string

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

Types

type MockSyncerFactory

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

MockSyncerFactory is a mock of SyncerFactory interface.

func NewMockSyncerFactory

func NewMockSyncerFactory(ctrl *gomock.Controller) *MockSyncerFactory

NewMockSyncerFactory creates a new mock instance.

func (*MockSyncerFactory) CreateSyncer

func (m *MockSyncerFactory) CreateSyncer(radixDNSAlias *v1.RadixDNSAlias, radixClient versioned.Interface, dynamicClient client.Client, arg3 config.Config) dnsalias.Syncer

CreateSyncer mocks base method.

func (*MockSyncerFactory) EXPECT

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

type MockSyncerFactoryMockRecorder

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

MockSyncerFactoryMockRecorder is the mock recorder for MockSyncerFactory.

func (*MockSyncerFactoryMockRecorder) CreateSyncer

func (mr *MockSyncerFactoryMockRecorder) CreateSyncer(radixDNSAlias, radixClient, dynamicClient, arg3 any) *gomock.Call

CreateSyncer indicates an expected call of CreateSyncer.

type SyncerFactory

type SyncerFactory interface {
	CreateSyncer(radixDNSAlias *radixv1.RadixDNSAlias, radixClient radixclient.Interface, dynamicClient client.Client, config config.Config) dnsaliasapi.Syncer
}

SyncerFactory defines a factory to create a DNS alias Syncer

type SyncerFactoryFunc

type SyncerFactoryFunc func(
	radixDNSAlias *radixv1.RadixDNSAlias,
	radixClient radixclient.Interface,
	dynamicClient client.Client,
	config config.Config,
) dnsaliasapi.Syncer

SyncerFactoryFunc is an adapter that can be used to convert a function into a SyncerFactory

func (SyncerFactoryFunc) CreateSyncer

func (f SyncerFactoryFunc) CreateSyncer(radixDNSAlias *radixv1.RadixDNSAlias, radixClient radixclient.Interface, dynamicClient client.Client, config config.Config) dnsaliasapi.Syncer

CreateSyncer Create a DNS alias Syncer

Jump to

Keyboard shortcuts

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