Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the edge v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/edge +k8s:defaulter-gen=TypeMeta +groupName=edge.skpr.io
Package v1beta1 contains API Schema definitions for the edge v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/skpr/operator/pkg/apis/edge +k8s:defaulter-gen=TypeMeta +groupName=edge.skpr.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "edge.skpr.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Ingress ¶
type Ingress struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec IngressSpec `json:"spec,omitempty"`
Status IngressStatus `json:"status,omitempty"`
}
Ingress is the Schema for the ingresses API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ingress) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressList ¶
type IngressList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Ingress `json:"items"`
}
IngressList contains a list of Ingress
func (*IngressList) DeepCopy ¶
func (in *IngressList) DeepCopy() *IngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (*IngressList) DeepCopyInto ¶
func (in *IngressList) DeepCopyInto(out *IngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressList) DeepCopyObject ¶
func (in *IngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IngressSpec ¶
type IngressSpec struct {
// Rules which are used to Ingress traffic to an application.
Routes IngressSpecRoutes `json:"routes"`
// Whitelist rules for CloudFront.
Whitelist awsv1beta1.CloudFrontSpecBehaviorWhitelist `json:"whitelist,omitempty"`
// Backend connectivity details.
Service IngressSpecService `json:"service"`
Prometheus IngressSpecPrometheus `json:"prometheus"`
}
IngressSpec defines the desired state of Ingress
func (*IngressSpec) DeepCopy ¶
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶
func (in *IngressSpec) DeepCopyInto(out *IngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpecPrometheus ¶ added in v0.3.2
IngressSpecPrometheus defines the path which Prometheus can scrape application metrics.
func (*IngressSpecPrometheus) DeepCopy ¶ added in v0.3.2
func (in *IngressSpecPrometheus) DeepCopy() *IngressSpecPrometheus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpecPrometheus.
func (*IngressSpecPrometheus) DeepCopyInto ¶ added in v0.3.2
func (in *IngressSpecPrometheus) DeepCopyInto(out *IngressSpecPrometheus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpecRoute ¶
type IngressSpecRoute struct {
// Domain used as part of a route rule.
Domain string `json:"domain"`
// Supaths included in the route rule.
Subpaths []string `json:"subpaths"`
}
IngressSpecRoute traffic from a domain and path to a service.
func (*IngressSpecRoute) DeepCopy ¶
func (in *IngressSpecRoute) DeepCopy() *IngressSpecRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpecRoute.
func (*IngressSpecRoute) DeepCopyInto ¶
func (in *IngressSpecRoute) DeepCopyInto(out *IngressSpecRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpecRoutes ¶ added in v0.1.0
type IngressSpecRoutes struct {
// Primary domain and routing rule for the application.
Primary IngressSpecRoute `json:"primary"`
// Seconard domains and routing rules for the application.
Secondary []IngressSpecRoute `json:"secondary"`
}
IngressSpecRoutes declare the routes for the application.
func (*IngressSpecRoutes) DeepCopy ¶ added in v0.1.0
func (in *IngressSpecRoutes) DeepCopy() *IngressSpecRoutes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpecRoutes.
func (*IngressSpecRoutes) DeepCopyInto ¶ added in v0.1.0
func (in *IngressSpecRoutes) DeepCopyInto(out *IngressSpecRoutes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpecService ¶ added in v0.1.0
type IngressSpecService struct {
// Name of the Kubernetes Service object to route traffic to.
Name string `json:"name"`
// Port of the Kubernetes Service object to route traffic to.
Port int `json:"port"`
}
IngressSpecService connects an Ingress to a Service.
func (*IngressSpecService) DeepCopy ¶ added in v0.1.0
func (in *IngressSpecService) DeepCopy() *IngressSpecService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpecService.
func (*IngressSpecService) DeepCopyInto ¶ added in v0.1.0
func (in *IngressSpecService) DeepCopyInto(out *IngressSpecService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressStatus ¶
type IngressStatus struct {
// Used for determining if an APIs information is up to date.
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// Status of the provisioned CloudFront distribution.
CloudFront IngressStatusCloudFrontRef
// Status of the provisioned Certificate.
Certificate IngressStatusCertificateRef
}
IngressStatus defines the observed state of Ingress
func (*IngressStatus) DeepCopy ¶
func (in *IngressStatus) DeepCopy() *IngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (*IngressStatus) DeepCopyInto ¶
func (in *IngressStatus) DeepCopyInto(out *IngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressStatusCertificateRef ¶ added in v0.1.1
type IngressStatusCertificateRef struct {
// Name of the certificate.
Name string
// Details on the provisioned certificate.
Details awsv1beta1.CertificateStatus
}
IngressStatusCertificateRef provides status on the provisioned Certificate.
func (*IngressStatusCertificateRef) DeepCopy ¶ added in v0.1.1
func (in *IngressStatusCertificateRef) DeepCopy() *IngressStatusCertificateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatusCertificateRef.
func (*IngressStatusCertificateRef) DeepCopyInto ¶ added in v0.1.1
func (in *IngressStatusCertificateRef) DeepCopyInto(out *IngressStatusCertificateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressStatusCloudFrontRef ¶ added in v0.1.1
type IngressStatusCloudFrontRef struct {
// Name of the CloudFront distribution.
Name string `json:"name,omitempty"`
// Details on the provisioned CloudFront distribution.
Details awsv1beta1.CloudFrontStatus
}
IngressStatusCloudFrontRef provides status on the provisioned CloudFront.
func (*IngressStatusCloudFrontRef) DeepCopy ¶ added in v0.1.1
func (in *IngressStatusCloudFrontRef) DeepCopy() *IngressStatusCloudFrontRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatusCloudFrontRef.
func (*IngressStatusCloudFrontRef) DeepCopyInto ¶ added in v0.1.1
func (in *IngressStatusCloudFrontRef) DeepCopyInto(out *IngressStatusCloudFrontRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.