Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressBackend ¶
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 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
}
Click to show internal directories.
Click to hide internal directories.