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 ¶
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(kubeClient kubernetes.Interface, kubeUtil *kube.Kube, radixClient versioned.Interface, dnsConfig *dnsalias.DNSConfig, ingressConfiguration ingress.IngressConfiguration, oauth2Config defaults.OAuth2Config, ingressAnnotationProviders []ingress.AnnotationProvider, radixDNSAlias *v1.RadixDNSAlias) dnsalias0.Syncer
CreateSyncer mocks base method.
func (*MockSyncerFactory) EXPECT ¶
func (m *MockSyncerFactory) EXPECT() *MockSyncerFactoryMockRecorder
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(kubeClient, kubeUtil, radixClient, dnsConfig, ingressConfiguration, oauth2Config, ingressAnnotationProviders, radixDNSAlias interface{}) *gomock.Call
CreateSyncer indicates an expected call of CreateSyncer.
type SyncerFactory ¶
type SyncerFactory interface {
CreateSyncer(kubeClient kubernetes.Interface, kubeUtil *kube.Kube, radixClient radixclient.Interface, dnsConfig *dnsalias.DNSConfig, ingressConfiguration ingress.IngressConfiguration, oauth2Config defaults.OAuth2Config, ingressAnnotationProviders []ingress.AnnotationProvider, radixDNSAlias *radixv1.RadixDNSAlias) dnsaliasapi.Syncer
}
SyncerFactory defines a factory to create a DNS alias Syncer
type SyncerFactoryFunc ¶
type SyncerFactoryFunc func( kubeClient kubernetes.Interface, kubeUtil *kube.Kube, radixClient radixclient.Interface, dnsConfig *dnsalias.DNSConfig, ingressConfiguration ingress.IngressConfiguration, oauth2Config defaults.OAuth2Config, ingressAnnotationProviders []ingress.AnnotationProvider, radixDNSAlias *radixv1.RadixDNSAlias, ) dnsaliasapi.Syncer
SyncerFactoryFunc is an adapter that can be used to convert a function into a SyncerFactory
func (SyncerFactoryFunc) CreateSyncer ¶
func (f SyncerFactoryFunc) CreateSyncer(kubeClient kubernetes.Interface, kubeUtil *kube.Kube, radixClient radixclient.Interface, dnsConfig *dnsalias.DNSConfig, ingressConfiguration ingress.IngressConfiguration, oauth2Config defaults.OAuth2Config, ingressAnnotationProviders []ingress.AnnotationProvider, radixDNSAlias *radixv1.RadixDNSAlias) dnsaliasapi.Syncer
CreateSyncer Create a DNS alias Syncer