Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rcs v1alpha1 API group +kubebuilder:object:generate=true +groupName=rcs.dana.io
Index ¶
- Variables
- type ApplicationLinks
- type Capp
- type CappList
- type CappRevision
- type CappRevisionList
- type CappRevisionSpec
- type CappRevisionStatus
- type CappSpec
- type CappStatus
- type CappTemplate
- type DNSRecordObjectStatus
- type LogSpec
- type LoggingStatus
- type NFSVolume
- type NFSVolumeStatus
- type RevisionInfo
- type RouteSpec
- type RouteStatus
- type StateStatus
- type VolumesSpec
- type VolumesStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rcs.dana.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ApplicationLinks ¶
type ApplicationLinks struct { // ConsoleLink holds a link for the Openshift cluster console. // +optional ConsoleLink string `json:"consoleLink,omitempty"` // Site holds the cluster name that the Capp is deployed on. // +optional Site string `json:"site,omitempty"` }
ApplicationLinks contains relevant information about the cluster that the Capp is deployed in.
func (*ApplicationLinks) DeepCopy ¶
func (in *ApplicationLinks) DeepCopy() *ApplicationLinks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationLinks.
func (*ApplicationLinks) DeepCopyInto ¶
func (in *ApplicationLinks) DeepCopyInto(out *ApplicationLinks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Capp ¶
type Capp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // CappSpec defines the desired state of Capp. // +optional Spec CappSpec `json:"spec,omitempty"` // CappStatus defines the observed state of Capp. // +optional Status CappStatus `json:"status,omitempty"` }
Capp is the Schema for the capps API.
func (*Capp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capp.
func (*Capp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Capp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CappList ¶
type CappList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Capp `json:"items"` }
CappList contains a list of Capp.
func (*CappList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappList.
func (*CappList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CappList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CappRevision ¶ added in v0.2.0
type CappRevision struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CappRevisionSpec `json:"spec,omitempty"` Status CappRevisionStatus `json:"status,omitempty"` }
CappRevision is the Schema for the CappRevisions API
func (*CappRevision) DeepCopy ¶ added in v0.2.0
func (in *CappRevision) DeepCopy() *CappRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappRevision.
func (*CappRevision) DeepCopyInto ¶ added in v0.2.0
func (in *CappRevision) DeepCopyInto(out *CappRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CappRevision) DeepCopyObject ¶ added in v0.2.0
func (in *CappRevision) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CappRevisionList ¶ added in v0.2.0
type CappRevisionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CappRevision `json:"items"` }
CappRevisionList contains a list of CappRevision
func (*CappRevisionList) DeepCopy ¶ added in v0.2.0
func (in *CappRevisionList) DeepCopy() *CappRevisionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappRevisionList.
func (*CappRevisionList) DeepCopyInto ¶ added in v0.2.0
func (in *CappRevisionList) DeepCopyInto(out *CappRevisionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CappRevisionList) DeepCopyObject ¶ added in v0.2.0
func (in *CappRevisionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CappRevisionSpec ¶ added in v0.2.0
type CappRevisionSpec struct { // RevisionNumber represent the revision number of Capp RevisionNumber int `json:"revisionNumber"` // CappTemplate holds the manifest of a specific Capp corresponding to a particular RevisionNumber CappTemplate CappTemplate `json:"cappTemplate"` }
CappRevisionSpec defines the desired state of CappRevision
func (*CappRevisionSpec) DeepCopy ¶ added in v0.2.0
func (in *CappRevisionSpec) DeepCopy() *CappRevisionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappRevisionSpec.
func (*CappRevisionSpec) DeepCopyInto ¶ added in v0.2.0
func (in *CappRevisionSpec) DeepCopyInto(out *CappRevisionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CappRevisionStatus ¶ added in v0.2.0
type CappRevisionStatus struct { }
CappRevisionStatus defines the observed state of CappRevision
func (*CappRevisionStatus) DeepCopy ¶ added in v0.2.0
func (in *CappRevisionStatus) DeepCopy() *CappRevisionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappRevisionStatus.
func (*CappRevisionStatus) DeepCopyInto ¶ added in v0.2.0
func (in *CappRevisionStatus) DeepCopyInto(out *CappRevisionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CappSpec ¶
type CappSpec struct { // ScaleMetric defines which metric type is watched by the Autoscaler. // Possible values examples: "concurrency", "rps", "cpu", "memory". // +kubebuilder:default:="concurrency" // +kubebuilder:validation:Enum=cpu;memory;rps;concurrency ScaleMetric string `json:"scaleMetric,omitempty"` // Site defines where to deploy the Capp. // It can be a specific cluster or a placement name. // +optional Site string `json:"site,omitempty"` // State defines the state of capp // Possible values examples: "enabled", "disabled". // +optional // +kubebuilder:default:="enabled" // +kubebuilder:validation:Enum=enabled;disabled State string `json:"state,omitempty"` // ConfigurationSpec holds the desired state of the Configuration (from the client). ConfigurationSpec knativev1.ConfigurationSpec `json:"configurationSpec"` // RouteSpec defines the route specification for the Capp. // +optional RouteSpec RouteSpec `json:"routeSpec,omitempty"` // LogSpec defines the configuration for shipping Capp logs. LogSpec LogSpec `json:"logSpec,omitempty"` // VolumesSpec defines the volumes specification for the Capp. VolumesSpec VolumesSpec `json:"volumesSpec,omitempty"` }
CappSpec defines the desired state of Capp.
func (*CappSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappSpec.
func (*CappSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CappStatus ¶
type CappStatus struct { // ApplicationLinks contains relevant information about // the cluster that the Capp is deployed in. // +optional ApplicationLinks ApplicationLinks `json:"applicationLinks,omitempty"` // KnativeObjectStatus represents the Status stanza of the Service resource. // +optional KnativeObjectStatus knativev1.ServiceStatus `json:"knativeObjectStatus,omitempty"` // RevisionInfo shows the revision information. // +optional RevisionInfo []RevisionInfo `json:"revisions,omitempty"` // StateStatus shows the current Capp state // +optional StateStatus StateStatus `json:"stateStatus,omitempty"` // LoggingStatus defines the state of the Flow and Output objects linked to the Capp. // +optional LoggingStatus LoggingStatus `json:"loggingStatus,omitempty"` // RouteStatus shows the state of the DomainMapping object linked to the Capp. // +optional RouteStatus RouteStatus `json:"routeStatus,omitempty"` // VolumesStatus shows the state of the Volumes objects linked to the Capp. // +optional VolumesStatus VolumesStatus `json:"volumesStatus,omitempty"` // Conditions contain details about the current state of the Capp. // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
CappStatus defines the observed state of Capp.
func (*CappStatus) DeepCopy ¶
func (in *CappStatus) DeepCopy() *CappStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappStatus.
func (*CappStatus) DeepCopyInto ¶
func (in *CappStatus) DeepCopyInto(out *CappStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CappTemplate ¶ added in v0.2.0
type CappTemplate struct { // Spec is the related Capp spec Spec CappSpec `json:"cappSpec,omitempty"` // Labels is a map of string keys and values which are the actual labels of the related Capp // +optional Labels map[string]string `json:"labels,omitempty"` // Annotations is a map of string keys and values which are the actual annotations of the related Capp // +optional Annotations map[string]string `json:"annotations,omitempty"` }
CappTemplate template of Capp.
func (*CappTemplate) DeepCopy ¶ added in v0.2.0
func (in *CappTemplate) DeepCopy() *CappTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CappTemplate.
func (*CappTemplate) DeepCopyInto ¶ added in v0.2.0
func (in *CappTemplate) DeepCopyInto(out *CappTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSRecordObjectStatus ¶ added in v0.3.0
type DNSRecordObjectStatus struct { // CNAMERecordObjectStatus is the status of the underlying ARecordSet object // +optional CNAMERecordObjectStatus dnsrecordv1alpha1.CNAMERecordStatus `json:"cnameRecordObjectStatus,omitempty"` }
func (*DNSRecordObjectStatus) DeepCopy ¶ added in v0.3.0
func (in *DNSRecordObjectStatus) DeepCopy() *DNSRecordObjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSRecordObjectStatus.
func (*DNSRecordObjectStatus) DeepCopyInto ¶ added in v0.3.0
func (in *DNSRecordObjectStatus) DeepCopyInto(out *DNSRecordObjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogSpec ¶ added in v0.1.2
type LogSpec struct { // Type defines where to send the Capp logs // +kubebuilder:validation:Enum=elastic // +optional Type string `json:"type,omitempty"` // Host defines Elasticsearch or Splunk host. // +optional Host string `json:"host,omitempty"` // Index defines the index name to write events to. // +optional Index string `json:"index,omitempty"` // User defines a User for authentication. // +optional User string `json:"user,omitempty"` // PasswordSecret defines the name of the secret // containing the password for authentication. // +optional PasswordSecret string `json:"passwordSecret,omitempty"` }
LogSpec defines the configuration for shipping Capp logs.
func (*LogSpec) DeepCopy ¶ added in v0.1.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogSpec.
func (*LogSpec) DeepCopyInto ¶ added in v0.1.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingStatus ¶ added in v0.1.4
type LoggingStatus struct { // SyslogNGFlow represents the Status of the SyslogNGFlow used by the Capp. // +optional SyslogNGFlow loggingv1beta1.SyslogNGFlowStatus `json:"syslogngflow,omitempty"` // SyslogNGOutput represents the Status of the SyslogNGOutput used by the Capp. // +optional SyslogNGOutput loggingv1beta1.SyslogNGOutputStatus `json:"syslogngoutput,omitempty"` // Conditions contain details about the current state of the SyslogNGFlow and SyslogNGOutput used by the Capp. // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` }
LoggingStatus defines the state of the SyslogNGFlow and SyslogNGOutput objects linked to the Capp.
func (*LoggingStatus) DeepCopy ¶ added in v0.1.4
func (in *LoggingStatus) DeepCopy() *LoggingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingStatus.
func (*LoggingStatus) DeepCopyInto ¶ added in v0.1.4
func (in *LoggingStatus) DeepCopyInto(out *LoggingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NFSVolume ¶ added in v0.1.8
type NFSVolume struct { // Server is the hostname or IP address of the NFS server. Server string `json:"server"` // Path is the exported path on the NFS server. Path string `json:"path"` // Name is the name of the volume. Name string `json:"name"` // Capacity is the capacity of the volume. Capacity corev1.ResourceList `json:"capacity"` }
NFSVolume defines the NFS volume specification for the Capp.
func (*NFSVolume) DeepCopy ¶ added in v0.1.8
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolume.
func (*NFSVolume) DeepCopyInto ¶ added in v0.1.8
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NFSVolumeStatus ¶ added in v0.1.8
type NFSVolumeStatus struct { // VolumeName is the name of the volume. VolumeName string `json:"volumeName,omitempty"` // NFSPVCStatus is the status of the underlying NfsPvc object. NFSPVCStatus nfspvcv1alpha1.NfsPvcStatus `json:"nfsPvcStatus,omitempty"` }
func (*NFSVolumeStatus) DeepCopy ¶ added in v0.1.8
func (in *NFSVolumeStatus) DeepCopy() *NFSVolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeStatus.
func (*NFSVolumeStatus) DeepCopyInto ¶ added in v0.1.8
func (in *NFSVolumeStatus) DeepCopyInto(out *NFSVolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RevisionInfo ¶
type RevisionInfo struct { // RevisionStatus communicates the observed state of the Revision (from the controller). // +optional RevisionStatus knativev1.RevisionStatus `json:"revisionsStatus,omitempty"` // RevisionName is the name of the revision. // +optional RevisionName string `json:"name,omitempty"` }
RevisionInfo shows the revision information.
func (*RevisionInfo) DeepCopy ¶
func (in *RevisionInfo) DeepCopy() *RevisionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevisionInfo.
func (*RevisionInfo) DeepCopyInto ¶
func (in *RevisionInfo) DeepCopyInto(out *RevisionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSpec ¶
type RouteSpec struct { // Hostname is a custom DNS name for the Capp route. // +optional Hostname string `json:"hostname,omitempty"` // TlsEnabled determines whether to enable TLS for the Capp route. // +optional TlsEnabled bool `json:"tlsEnabled,omitempty"` // TrafficTarget holds a single entry of the routing table for the Capp route. // +optional TrafficTarget knativev1.TrafficTarget `json:"trafficTarget,omitempty"` // RouteTimeoutSeconds is the maximum duration in seconds // that the request instance is allowed to respond to a request. // +optional RouteTimeoutSeconds *int64 `json:"routeTimeoutSeconds,omitempty"` }
RouteSpec defines the route specification for the Capp.
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteStatus ¶ added in v0.1.4
type RouteStatus struct { // DomainMappingObjectStatus is the status of the underlying DomainMapping object // +optional DomainMappingObjectStatus knativev1beta1.DomainMappingStatus `json:"domainMappingObjectStatus,omitempty"` // ARecordSetObjectStatus is the status of the underlying ARecordSet object // +optional DNSRecordObjectStatus DNSRecordObjectStatus `json:"dnsRecordObjectStatus,omitempty"` // CertificateObjectStatus is the status of the underlying Certificate object // +optional CertificateObjectStatus cmapi.CertificateStatus `json:"certificateObjectStatus,omitempty"` }
RouteStatus shows the state of the DomainMapping object linked to the Capp.
func (*RouteStatus) DeepCopy ¶ added in v0.1.4
func (in *RouteStatus) DeepCopy() *RouteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatus.
func (*RouteStatus) DeepCopyInto ¶ added in v0.1.4
func (in *RouteStatus) DeepCopyInto(out *RouteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StateStatus ¶ added in v0.1.4
type StateStatus struct { // State is actual enabled state of the capp // +optional State string `json:"state,omitempty"` // LastChange is the last time the state of capp changed // +optional LastChange metav1.Time `json:"lastChange,omitempty"` }
func (*StateStatus) DeepCopy ¶ added in v0.1.4
func (in *StateStatus) DeepCopy() *StateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateStatus.
func (*StateStatus) DeepCopyInto ¶ added in v0.1.4
func (in *StateStatus) DeepCopyInto(out *StateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesSpec ¶ added in v0.1.8
type VolumesSpec struct { // NFSVolumes is a list of NFS volumes to be mounted. NFSVolumes []NFSVolume `json:"nfsVolumes,omitempty"` }
VolumesSpec defines the volumes specification for the Capp.
func (*VolumesSpec) DeepCopy ¶ added in v0.1.8
func (in *VolumesSpec) DeepCopy() *VolumesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesSpec.
func (*VolumesSpec) DeepCopyInto ¶ added in v0.1.8
func (in *VolumesSpec) DeepCopyInto(out *VolumesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesStatus ¶ added in v0.1.8
type VolumesStatus struct { // NFSVolumeStatus is the status of the underlying NFSVolume objects. NFSVolumesStatus []NFSVolumeStatus `json:"nfsVolumesStatus,omitempty"` }
VolumesStatus shows the state of the Volumes objects linked to the Capp.
func (*VolumesStatus) DeepCopy ¶ added in v0.1.8
func (in *VolumesStatus) DeepCopy() *VolumesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumesStatus.
func (*VolumesStatus) DeepCopyInto ¶ added in v0.1.8
func (in *VolumesStatus) DeepCopyInto(out *VolumesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.