Documentation ¶
Overview ¶
Package dnsalias is a generated GoMock package.
Index ¶
- func CreateRadixDNSAliasIngress(kubeClient kubernetes.Interface, appName, envName string, ...) (*networkingv1.Ingress, error)
- func DeployComponentNotFoundByName(appName, envName, componentName, deploymentName string) error
- func GetDNSAliasHost(alias, dnsZone string) string
- func GetDNSAliasIngressName(alias string) string
- type MockSyncer
- type MockSyncerMockRecorder
- type Syncer
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 ¶
DeployComponentNotFoundByName Deploy component not found
func GetDNSAliasHost ¶
GetDNSAliasHost Gets DNS alias host. Example for the alias "my-app" and the cluster "Playground": my-app.playground.radix.equinor.com
func GetDNSAliasIngressName ¶
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.
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