union_interface

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 2 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressBackend

type IngressBackend struct {
	ServiceName string
	ServicePort int
}

type IngressInterface

type IngressInterface interface {
	Create(ctx context.Context, ingress interface{}, opts v1.CreateOptions) (interface{}, error)
	Update(ctx context.Context, ingress interface{}, opts v1.UpdateOptions) (interface{}, error)
	UpdateStatus(ctx context.Context, ingress interface{}, opts v1.UpdateOptions) (interface{}, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (interface{}, error)
	List(ctx context.Context, opts v1.ListOptions) (interface{}, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result interface{}, err error)
	Apply(ctx context.Context, ingress interface{}, opts v1.ApplyOptions) (result interface{}, err error)
	ApplyStatus(ctx context.Context, ingress interface{}, opts v1.ApplyOptions) (result interface{}, err error)
}

type IngressMaterial

type IngressMaterial struct {
	Name      string
	Namespace string
	Routes    []IngressRoute
	Backend   IngressBackend
	NeedTLS   bool
}

type IngressRoute

type IngressRoute struct {
	Domain    string
	Path      string
	MatchType MatchType
}

type IngressesHelper

type IngressesHelper interface {
	Ingresses(namespace string) IngressInterface
	NewIngress(IngressMaterial) interface{}
	IngressAnnotationBatchSet(ingress interface{}, kvs map[string]string) error
	IngressAnnotationSet(ingress interface{}, key, value string) error
	IngressAnnotationBatchGet(ingress interface{}) (map[string]string, error)
	IngressAnnotationGet(ingress interface{}, key string) (string, error)
	IngressAnnotationClear(ingress interface{}, key string) error
}

type MatchType

type MatchType int
const (
	PrefixMatch MatchType = 0
	ExactMatch  MatchType = 1
)

Jump to

Keyboard shortcuts

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