ingress

package
v0.0.102 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const LblNameStatus = "ns:kubernetes:ingress:status"

Variables

View Source
var File_internal_runtime_kubernetes_networking_ingress_op_proto protoreflect.FileDescriptor

Functions

func Delete

func Delete(ns string, stack []planning.Server) ([]*schema.SerializedInvocation, error)

func EnsureStack

func EnsureStack(ctx context.Context) ([]*schema.SerializedInvocation, error)

func EnsureState

func EnsureState(ctx context.Context, cluster kubedef.KubeCluster) error

func MakeCertificateSecrets

func MakeCertificateSecrets(ns string, fragments []*schema.IngressFragment) (map[string]string, []kubedef.Apply)

func Register

func Register()

func RegisterRuntimeState

func RegisterRuntimeState()

Types

type IngressRef

type IngressRef struct {
	Namespace, Name string
}

type MapAddress

type MapAddress struct {
	FQDN    string
	Ingress IngressRef
}

type MapAddressList

type MapAddressList struct {
	// contains filtered or unexported fields
}

func PlanIngress

func PlanIngress(ctx context.Context, ns string, env *schema.Environment, deployable runtime.Deployable, fragments []*schema.IngressFragment, certSecrets map[string]string) ([]kubedef.Apply, *MapAddressList, error)

func (*MapAddressList) Add

func (m *MapAddressList) Add(ma MapAddress, sources ...string) error

func (*MapAddressList) Merge

func (m *MapAddressList) Merge(rhs *MapAddressList) error

func (*MapAddressList) Sorted

func (m *MapAddressList) Sorted() []MapAddress

type OpCleanupMigration

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

func (*OpCleanupMigration) Descriptor deprecated

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

Deprecated: Use OpCleanupMigration.ProtoReflect.Descriptor instead.

func (*OpCleanupMigration) GetNamespace

func (x *OpCleanupMigration) GetNamespace() string

func (*OpCleanupMigration) ProtoMessage

func (*OpCleanupMigration) ProtoMessage()

func (*OpCleanupMigration) ProtoReflect

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

func (*OpCleanupMigration) Reset

func (x *OpCleanupMigration) Reset()

func (*OpCleanupMigration) String

func (x *OpCleanupMigration) String() string

type OpMapAddress

type OpMapAddress struct {
	Fdqn        string `protobuf:"bytes,1,opt,name=fdqn,proto3" json:"fdqn,omitempty"`
	IngressNs   string `protobuf:"bytes,2,opt,name=ingress_ns,json=ingressNs,proto3" json:"ingress_ns,omitempty"`
	IngressName string `protobuf:"bytes,3,opt,name=ingress_name,json=ingressName,proto3" json:"ingress_name,omitempty"`
	// contains filtered or unexported fields
}

func (*OpMapAddress) Descriptor deprecated

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

Deprecated: Use OpMapAddress.ProtoReflect.Descriptor instead.

func (*OpMapAddress) GetFdqn

func (x *OpMapAddress) GetFdqn() string

func (*OpMapAddress) GetIngressName

func (x *OpMapAddress) GetIngressName() string

func (*OpMapAddress) GetIngressNs

func (x *OpMapAddress) GetIngressNs() string

func (*OpMapAddress) ProtoMessage

func (*OpMapAddress) ProtoMessage()

func (*OpMapAddress) ProtoReflect

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

func (*OpMapAddress) Reset

func (x *OpMapAddress) Reset()

func (*OpMapAddress) String

func (x *OpMapAddress) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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