Documentation ¶
Index ¶
- Constants
- Variables
- func Delete(ns string, stack []planning.Server) ([]*schema.SerializedInvocation, error)
- func EnsureStack(ctx context.Context) ([]*schema.SerializedInvocation, error)
- func EnsureState(ctx context.Context, cluster kubedef.KubeCluster) error
- func MakeCertificateSecrets(ns string, fragments []*schema.IngressFragment) (map[string]string, []kubedef.Apply)
- func Register()
- func RegisterRuntimeState()
- type IngressRef
- type MapAddress
- type MapAddressList
- type OpCleanupMigration
- func (*OpCleanupMigration) Descriptor() ([]byte, []int)deprecated
- func (x *OpCleanupMigration) GetNamespace() string
- func (*OpCleanupMigration) ProtoMessage()
- func (x *OpCleanupMigration) ProtoReflect() protoreflect.Message
- func (x *OpCleanupMigration) Reset()
- func (x *OpCleanupMigration) String() string
- type OpMapAddress
- func (*OpMapAddress) Descriptor() ([]byte, []int)deprecated
- func (x *OpMapAddress) GetFdqn() string
- func (x *OpMapAddress) GetIngressName() string
- func (x *OpMapAddress) GetIngressNs() string
- func (*OpMapAddress) ProtoMessage()
- func (x *OpMapAddress) ProtoReflect() protoreflect.Message
- func (x *OpMapAddress) Reset()
- func (x *OpMapAddress) String() string
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 EnsureStack ¶
func EnsureStack(ctx context.Context) ([]*schema.SerializedInvocation, error)
func EnsureState ¶
func EnsureState(ctx context.Context, cluster kubedef.KubeCluster) error
func MakeCertificateSecrets ¶
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
Click to show internal directories.
Click to hide internal directories.