Documentation
¶
Index ¶
- Constants
- type Backend
- func (in *Backend) DeepCopy() *Backend
- func (in *Backend) DeepCopyInto(out *Backend)
- func (b *Backend) GetIngressBackendPaths() []networkingv1beta1.HTTPIngressPath
- func (b *Backend) GetIngressRule() networkingv1beta1.IngressRule
- func (b *Backend) GetIngressTLS() networkingv1beta1.IngressTLS
- func (b *Backend) GetServicePort() corev1.ServicePort
- func (b *Backend) GetServicePorts() []corev1.ServicePort
- func (b *Backend) GetServiceType() corev1.ServiceType
- type Ingress
- type Network
- type Service
- type Workload
- func (in *Workload) DeepCopy() *Workload
- func (in *Workload) DeepCopyInto(out *Workload)
- func (w *Workload) GetDependencies() settings.Config
- func (w *Workload) GetMeta() meta.Instance
- func (w *Workload) GetObjects() map[int]objects.Object
- func (w *Workload) HasDependencies() bool
- func (w *Workload) Init()
- func (w *Workload) SetDefaults()
- func (w *Workload) SetDependencies(s *settings.Component)
Constants ¶
View Source
const DefaultComponent string = "app"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct { ServiceName string `json:"name,omitempty"` Hostname string `json:"hostname,omitempty"` Paths []string `json:"routes,omitempty"` TLS bool `json:"tls,omitempty"` TLSSecretRef string `json:"tlsSecretRef,omitempty"` Port service.Port `json:"port,omitempty"` ServiceType corev1.ServiceType `json:"type,omitempty"` }
+kubebuilder:object:generate=true
func (*Backend) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend.
func (*Backend) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backend) GetIngressBackendPaths ¶
func (b *Backend) GetIngressBackendPaths() []networkingv1beta1.HTTPIngressPath
func (*Backend) GetIngressRule ¶
func (b *Backend) GetIngressRule() networkingv1beta1.IngressRule
func (*Backend) GetIngressTLS ¶
func (b *Backend) GetIngressTLS() networkingv1beta1.IngressTLS
func (*Backend) GetServicePort ¶
func (b *Backend) GetServicePort() corev1.ServicePort
func (*Backend) GetServicePorts ¶
func (b *Backend) GetServicePorts() []corev1.ServicePort
func (*Backend) GetServiceType ¶
func (b *Backend) GetServiceType() corev1.ServiceType
type Ingress ¶
type Ingress struct { *meta.ObjectMeta `json:"commonMeta,omitempty"` Backends []Backend `json:"backends,omitempty"` }
func (*Ingress) GetIngressRules ¶
func (i *Ingress) GetIngressRules() []networkingv1beta1.IngressRule
func (*Ingress) GetIngressTLS ¶
func (i *Ingress) GetIngressTLS() []networkingv1beta1.IngressTLS
func (*Ingress) GetObject ¶
func (i *Ingress) GetObject() interfaces.Object
func (*Ingress) Mutate ¶
func (i *Ingress) Mutate(obj interfaces.Object) error
type Network ¶
type Network struct { IngressMeta *meta.ObjectMeta `json:"ingressMeta,omitempty"` ServiceMeta *meta.ObjectMeta `json:"serviceMeta,omitempty"` *Backend `json:",inline"` }
+kubebuilder:object:generate=true
func (*Network) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
type Service ¶
type Service struct { *meta.ObjectMeta `json:"meta,omitempty"` *Backend `json:"backend,omitempty"` }
func (*Service) GetObject ¶
func (s *Service) GetObject() interfaces.Object
func (*Service) Mutate ¶
func (s *Service) Mutate(obj interfaces.Object) error
type Workload ¶
type Workload struct { *meta.ObjectMeta `json:"commonMeta,omitempty"` *deployment.Deployment `json:"deployment,omitempty"` *Network `json:"network,omitempty"` Dependencies bool `json:"dependencies,omitempty"` }
+kubebuilder:object:generate=true
func (*Workload) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workload.
func (*Workload) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.