Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the rcs v1alpha1 API group +kubebuilder:object:generate=true +groupName=rcs.dana.io
Index ¶
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"` // ClusterSegment holds the segment of the cluster // that the Capp is deployed on. // +optional ClusterSegment string `json:"clusterSegment,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 CappSpec ¶
type CappSpec struct { // ScaleMetric defines which metric type is watched by the Autoscaler. // Possible values examples: "concurrency", "rps", "cpu", "memory". // +optional 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"` // 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"` }
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"` // 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 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.