nginx

package
v0.0.365 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_networking_ingress_nginx_op_proto protoreflect.FileDescriptor
View Source
var File_internal_networking_ingress_nginx_types_proto protoreflect.FileDescriptor

Functions

func Annotate

func Annotate(hasTLS bool, backendProtocol kubedef.BackendProtocol, extensions []*anypb.Any, userAnnotations *schema.ServiceAnnotations) (*kubedef.IngressAnnotations, error)

func IngressClass

func IngressClass() kubedef.IngressClass

func RegisterGraphHandlers

func RegisterGraphHandlers()

Types

type Ingress

type Ingress struct{}

func (Ingress) Annotate

func (Ingress) Annotate(ns, name string, domains []*schema.Domain, hasTLS bool, backendProtocol kubedef.BackendProtocol, extensions []*anypb.Any, userAnnotations *schema.ServiceAnnotations) (*kubedef.IngressAnnotations, error)

func (Ingress) ComputeNaming

func (Ingress) ComputeNaming(_ context.Context, env *schema.Environment, naming *schema.Naming) (*schema.ComputedNaming, error)

func (Ingress) Ensure

func (Ingress) Name

func (Ingress) Name() string

func (Ingress) PrepareRoute

func (n Ingress) PrepareRoute(ctx context.Context, env *schema.Environment, srv *schema.Stack_Entry, domain *schema.Domain, ns, name string) (*kubedef.IngressAllocatedRoute, error)

func (Ingress) Service

func (Ingress) Service() *kubedef.IngressSelector

type ObjHeader

type ObjHeader struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

type OpGenerateWebhookCert

type OpGenerateWebhookCert struct {
	Namespace         string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	SecretName        string `protobuf:"bytes,2,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"`
	WebhookDefinition []byte `protobuf:"bytes,3,opt,name=webhook_definition,json=webhookDefinition,proto3" json:"webhook_definition,omitempty"`
	TargetHost        string `protobuf:"bytes,4,opt,name=target_host,json=targetHost,proto3" json:"target_host,omitempty"`
	// contains filtered or unexported fields
}

func (*OpGenerateWebhookCert) Descriptor deprecated

func (*OpGenerateWebhookCert) Descriptor() ([]byte, []int)

Deprecated: Use OpGenerateWebhookCert.ProtoReflect.Descriptor instead.

func (*OpGenerateWebhookCert) GetNamespace

func (x *OpGenerateWebhookCert) GetNamespace() string

func (*OpGenerateWebhookCert) GetSecretName

func (x *OpGenerateWebhookCert) GetSecretName() string

func (*OpGenerateWebhookCert) GetTargetHost

func (x *OpGenerateWebhookCert) GetTargetHost() string

func (*OpGenerateWebhookCert) GetWebhookDefinition

func (x *OpGenerateWebhookCert) GetWebhookDefinition() []byte

func (*OpGenerateWebhookCert) ProtoMessage

func (*OpGenerateWebhookCert) ProtoMessage()

func (*OpGenerateWebhookCert) ProtoReflect

func (x *OpGenerateWebhookCert) ProtoReflect() protoreflect.Message

func (*OpGenerateWebhookCert) Reset

func (x *OpGenerateWebhookCert) Reset()

func (*OpGenerateWebhookCert) String

func (x *OpGenerateWebhookCert) String() string

type ProxyBodySize

type ProxyBodySize struct {
	Limit string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyBodySize) Descriptor deprecated

func (*ProxyBodySize) Descriptor() ([]byte, []int)

Deprecated: Use ProxyBodySize.ProtoReflect.Descriptor instead.

func (*ProxyBodySize) GetLimit

func (x *ProxyBodySize) GetLimit() string

func (*ProxyBodySize) ProtoMessage

func (*ProxyBodySize) ProtoMessage()

func (*ProxyBodySize) ProtoReflect

func (x *ProxyBodySize) ProtoReflect() protoreflect.Message

func (*ProxyBodySize) Reset

func (x *ProxyBodySize) Reset()

func (*ProxyBodySize) String

func (x *ProxyBodySize) String() string

Jump to

Keyboard shortcuts

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