ingress

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ingress = plugins.ReduceHandler{
	Names: []string{"ingress", "Ingress"}, Handler: Parse,
	Demo: `

ingress mysql {
    tls secretName1 hosts1 hosts2;
    tls {
        secretName2 hosts3 hosts4;
        secretNameN hostsN;
    }

    rules host1.vik8s.io {
        http paths {
            serviceName service-name1;
            servicePort 1024;
        }
    }
    rules host3.vik8s.io {
        http paths {
            serviceName service-name3;
            servicePort 1024;
        }
    }
    rules host.vik8s.io {
        http paths /path2 {
            serviceName service-path2;
            servicePort 1024;
        }
        http paths /path1 {
            serviceName service-path1;
            servicePort 1024;
        }
    }

    backend {
        serviceName service-path2;
        servicePort 1024;
    }
}
`,
}

Functions

func Parse

func Parse(version, prefix string, directive *config.Directive) metav1.Object

Types

This section is empty.

Jump to

Keyboard shortcuts

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