Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the app.stacks v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=app.stacks
Package v1beta1 contains API Schema definitions for the app.stacks v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=app.stacks
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type Certificate
- type RuntimeComponent
- func (in *RuntimeComponent) DeepCopy() *RuntimeComponent
- func (in *RuntimeComponent) DeepCopyInto(out *RuntimeComponent)
- func (in *RuntimeComponent) DeepCopyObject() runtime.Object
- func (cr *RuntimeComponent) GetAffinity() common.BaseComponentAffinity
- func (cr *RuntimeComponent) GetAnnotations() map[string]string
- func (cr *RuntimeComponent) GetApplicationImage() string
- func (cr *RuntimeComponent) GetApplicationName() string
- func (cr *RuntimeComponent) GetArchitecture() []string
- func (cr *RuntimeComponent) GetAutoscaling() common.BaseComponentAutoscaling
- func (cr *RuntimeComponent) GetBindings() common.BaseComponentBindings
- func (cr *RuntimeComponent) GetCreateAppDefinition() *bool
- func (cr *RuntimeComponent) GetCreateKnativeService() *bool
- func (cr *RuntimeComponent) GetEnv() []corev1.EnvVar
- func (cr *RuntimeComponent) GetEnvFrom() []corev1.EnvFromSource
- func (cr *RuntimeComponent) GetExpose() *bool
- func (cr *RuntimeComponent) GetGroupName() string
- func (cr *RuntimeComponent) GetInitContainers() []corev1.Container
- func (cr *RuntimeComponent) GetLabels() map[string]string
- func (cr *RuntimeComponent) GetLivenessProbe() *corev1.Probe
- func (cr *RuntimeComponent) GetMonitoring() common.BaseComponentMonitoring
- func (cr *RuntimeComponent) GetPullPolicy() *corev1.PullPolicy
- func (cr *RuntimeComponent) GetPullSecret() *string
- func (cr *RuntimeComponent) GetReadinessProbe() *corev1.Probe
- func (cr *RuntimeComponent) GetReplicas() *int32
- func (cr *RuntimeComponent) GetResourceConstraints() *corev1.ResourceRequirements
- func (cr *RuntimeComponent) GetRoute() common.BaseComponentRoute
- func (cr *RuntimeComponent) GetService() common.BaseComponentService
- func (cr *RuntimeComponent) GetServiceAccountName() *string
- func (cr *RuntimeComponent) GetSidecarContainers() []corev1.Container
- func (cr *RuntimeComponent) GetStatus() common.BaseComponentStatus
- func (cr *RuntimeComponent) GetStorage() common.BaseComponentStorage
- func (cr *RuntimeComponent) GetVersion() string
- func (cr *RuntimeComponent) GetVolumeMounts() []corev1.VolumeMount
- func (cr *RuntimeComponent) GetVolumes() []corev1.Volume
- func (cr *RuntimeComponent) Initialize()
- type RuntimeComponentAffinity
- func (in *RuntimeComponentAffinity) DeepCopy() *RuntimeComponentAffinity
- func (in *RuntimeComponentAffinity) DeepCopyInto(out *RuntimeComponentAffinity)
- func (a *RuntimeComponentAffinity) GetArchitecture() []string
- func (a *RuntimeComponentAffinity) GetNodeAffinity() *corev1.NodeAffinity
- func (a *RuntimeComponentAffinity) GetNodeAffinityLabels() map[string]string
- func (a *RuntimeComponentAffinity) GetPodAffinity() *corev1.PodAffinity
- func (a *RuntimeComponentAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
- type RuntimeComponentAutoScaling
- func (in *RuntimeComponentAutoScaling) DeepCopy() *RuntimeComponentAutoScaling
- func (in *RuntimeComponentAutoScaling) DeepCopyInto(out *RuntimeComponentAutoScaling)
- func (a *RuntimeComponentAutoScaling) GetMaxReplicas() int32
- func (a *RuntimeComponentAutoScaling) GetMinReplicas() *int32
- func (a *RuntimeComponentAutoScaling) GetTargetCPUUtilizationPercentage() *int32
- type RuntimeComponentBindingExpose
- type RuntimeComponentBindings
- func (in *RuntimeComponentBindings) DeepCopy() *RuntimeComponentBindings
- func (in *RuntimeComponentBindings) DeepCopyInto(out *RuntimeComponentBindings)
- func (r *RuntimeComponentBindings) GetAutoDetect() *bool
- func (r *RuntimeComponentBindings) GetEmbedded() *runtime.RawExtension
- func (r *RuntimeComponentBindings) GetExpose() common.BaseComponentExpose
- func (r *RuntimeComponentBindings) GetResourceRef() string
- type RuntimeComponentList
- type RuntimeComponentMonitoring
- func (in *RuntimeComponentMonitoring) DeepCopy() *RuntimeComponentMonitoring
- func (in *RuntimeComponentMonitoring) DeepCopyInto(out *RuntimeComponentMonitoring)
- func (m *RuntimeComponentMonitoring) GetEndpoints() []prometheusv1.Endpoint
- func (m *RuntimeComponentMonitoring) GetLabels() map[string]string
- type RuntimeComponentRoute
- func (in *RuntimeComponentRoute) DeepCopy() *RuntimeComponentRoute
- func (in *RuntimeComponentRoute) DeepCopyInto(out *RuntimeComponentRoute)
- func (r *RuntimeComponentRoute) GetAnnotations() map[string]string
- func (r *RuntimeComponentRoute) GetCertificate() common.Certificate
- func (r *RuntimeComponentRoute) GetCertificateSecretRef() *string
- func (r *RuntimeComponentRoute) GetHost() string
- func (r *RuntimeComponentRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
- func (r *RuntimeComponentRoute) GetPath() string
- func (r *RuntimeComponentRoute) GetTermination() *routev1.TLSTerminationType
- type RuntimeComponentService
- func (in *RuntimeComponentService) DeepCopy() *RuntimeComponentService
- func (in *RuntimeComponentService) DeepCopyInto(out *RuntimeComponentService)
- func (s *RuntimeComponentService) GetAnnotations() map[string]string
- func (s *RuntimeComponentService) GetCertificate() common.Certificate
- func (s *RuntimeComponentService) GetCertificateSecretRef() *string
- func (s *RuntimeComponentService) GetConsumes() []common.ServiceBindingConsumes
- func (s *RuntimeComponentService) GetNodePort() *int32
- func (s *RuntimeComponentService) GetPort() int32
- func (s *RuntimeComponentService) GetPortName() string
- func (s *RuntimeComponentService) GetPorts() []corev1.ServicePort
- func (s *RuntimeComponentService) GetProvides() common.ServiceBindingProvides
- func (s *RuntimeComponentService) GetTargetPort() *int32
- func (s *RuntimeComponentService) GetType() *corev1.ServiceType
- type RuntimeComponentSpec
- type RuntimeComponentStatus
- func (in *RuntimeComponentStatus) DeepCopy() *RuntimeComponentStatus
- func (in *RuntimeComponentStatus) DeepCopyInto(out *RuntimeComponentStatus)
- func (s *RuntimeComponentStatus) GetBinding() *corev1.LocalObjectReference
- func (s *RuntimeComponentStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
- func (s *RuntimeComponentStatus) GetConditions() []common.StatusCondition
- func (s *RuntimeComponentStatus) GetConsumedServices() common.ConsumedServices
- func (s *RuntimeComponentStatus) GetImageReference() string
- func (s *RuntimeComponentStatus) GetResolvedBindings() []string
- func (s *RuntimeComponentStatus) NewCondition() common.StatusCondition
- func (s *RuntimeComponentStatus) SetBinding(r *corev1.LocalObjectReference)
- func (s *RuntimeComponentStatus) SetCondition(c common.StatusCondition)
- func (s *RuntimeComponentStatus) SetConsumedServices(c common.ConsumedServices)
- func (s *RuntimeComponentStatus) SetImageReference(imageReference string)
- func (s *RuntimeComponentStatus) SetResolvedBindings(rb []string)
- type RuntimeComponentStorage
- func (in *RuntimeComponentStorage) DeepCopy() *RuntimeComponentStorage
- func (in *RuntimeComponentStorage) DeepCopyInto(out *RuntimeComponentStorage)
- func (s *RuntimeComponentStorage) GetMountPath() string
- func (s *RuntimeComponentStorage) GetSize() string
- func (s *RuntimeComponentStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
- type ServiceBindingAuth
- type ServiceBindingConsumes
- func (in *ServiceBindingConsumes) DeepCopy() *ServiceBindingConsumes
- func (in *ServiceBindingConsumes) DeepCopyInto(out *ServiceBindingConsumes)
- func (c *ServiceBindingConsumes) GetCategory() common.ServiceBindingCategory
- func (c *ServiceBindingConsumes) GetMountPath() string
- func (c *ServiceBindingConsumes) GetName() string
- func (c *ServiceBindingConsumes) GetNamespace() string
- type ServiceBindingProvides
- func (in *ServiceBindingProvides) DeepCopy() *ServiceBindingProvides
- func (in *ServiceBindingProvides) DeepCopyInto(out *ServiceBindingProvides)
- func (p *ServiceBindingProvides) GetAuth() common.ServiceBindingAuth
- func (p *ServiceBindingProvides) GetCategory() common.ServiceBindingCategory
- func (p *ServiceBindingProvides) GetContext() string
- func (p *ServiceBindingProvides) GetProtocol() string
- type StatusCondition
- func (in *StatusCondition) DeepCopy() *StatusCondition
- func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
- func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
- func (c *StatusCondition) GetLastUpdateTime() metav1.Time
- func (c *StatusCondition) GetMessage() string
- func (c *StatusCondition) GetReason() string
- func (c *StatusCondition) GetStatus() corev1.ConditionStatus
- func (c *StatusCondition) GetType() common.StatusConditionType
- func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
- func (c *StatusCondition) SetLastUpdateTime(t metav1.Time)
- func (c *StatusCondition) SetMessage(m string)
- func (c *StatusCondition) SetReason(r string)
- func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
- func (c *StatusCondition) SetType(ct common.StatusConditionType)
- type StatusConditionType
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "app.stacks", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Certificate ¶
type Certificate struct { // CommonName is a common name to be used on the Certificate. // The CommonName should have a length of 64 characters or fewer to avoid // generating invalid CSRs. // +optional CommonName string `json:"commonName,omitempty"` // Organization is the organization to be used on the Certificate // +optional Organization []string `json:"organization,omitempty"` // Certificate default Duration // +optional Duration *metav1.Duration `json:"duration,omitempty"` // Certificate renew before expiration duration // +optional RenewBefore *metav1.Duration `json:"renewBefore,omitempty"` // DNSNames is a list of subject alt names to be used on the Certificate. // +optional DNSNames []string `json:"dnsNames,omitempty"` // IPAddresses is a list of IP addresses to be used on the Certificate // +optional IPAddresses []string `json:"ipAddresses,omitempty"` // URISANs is a list of URI Subject Alternative Names to be set on this // Certificate. // +optional URISANs []string `json:"uriSANs,omitempty"` // SecretName is the name of the secret resource to store this secret in SecretName string `json:"secretName,omitempty"` // IssuerRef is a reference to the issuer for this certificate. // If the 'kind' field is not set, or set to 'Issuer', an Issuer resource // with the given name in the same namespace as the Certificate will be used. // If the 'kind' field is set to 'ClusterIssuer', a ClusterIssuer with the // provided name will be used. // The 'name' field in this stanza is required at all times. IssuerRef cmmeta.ObjectReference `json:"issuerRef,omitempty"` // IsCA will mark this Certificate as valid for signing. // This implies that the 'cert sign' usage is set // +optional IsCA bool `json:"isCA,omitempty"` // Usages is the set of x509 actions that are enabled for a given key. Defaults are ('digital signature', 'key encipherment') if empty // +optional Usages []certmngrv1alpha2.KeyUsage `json:"usages,omitempty"` // KeySize is the key bit size of the corresponding private key for this certificate. // If provided, value must be between 2048 and 8192 inclusive when KeyAlgorithm is // empty or is set to "rsa", and value must be one of (256, 384, 521) when // KeyAlgorithm is set to "ecdsa". // +optional KeySize int `json:"keySize,omitempty"` // KeyAlgorithm is the private key algorithm of the corresponding private key // for this certificate. If provided, allowed values are either "rsa" or "ecdsa" // If KeyAlgorithm is specified and KeySize is not provided, // key size of 256 will be used for "ecdsa" key algorithm and // key size of 2048 will be used for "rsa" key algorithm. // +optional KeyAlgorithm certmngrv1alpha2.KeyAlgorithm `json:"keyAlgorithm,omitempty"` // KeyEncoding is the private key cryptography standards (PKCS) // for this certificate's private key to be encoded in. If provided, allowed // values are "pkcs1" and "pkcs8" standing for PKCS#1 and PKCS#8, respectively. // If KeyEncoding is not specified, then PKCS#1 will be used by default. KeyEncoding certmngrv1alpha2.KeyEncoding `json:"keyEncoding,omitempty"` }
Certificate is used to request certificates
func (*Certificate) DeepCopy ¶
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶
func (in *Certificate) DeepCopyInto(out *Certificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Certificate) GetSpec ¶
func (crt *Certificate) GetSpec() certmngrv1alpha2.CertificateSpec
GetSpec returns certificate spec
type RuntimeComponent ¶
type RuntimeComponent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RuntimeComponentSpec `json:"spec,omitempty"` Status RuntimeComponentStatus `json:"status,omitempty"` }
RuntimeComponent is the Schema for the runtimecomponents API +k8s:openapi-gen=true +kubebuilder:resource:path=runtimecomponents,scope=Namespaced,shortName=comp;comps +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Image",type="string",JSONPath=".spec.applicationImage",priority=0,description="Absolute name of the deployed image containing registry and tag" +kubebuilder:printcolumn:name="Exposed",type="boolean",JSONPath=".spec.expose",priority=0,description="Specifies whether deployment is exposed externally via default Route" +kubebuilder:printcolumn:name="Reconciled",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].status",priority=0,description="Status of the reconcile condition" +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].reason",priority=1,description="Reason for the failure of reconcile condition" +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Reconciled')].message",priority=1,description="Failure message from reconcile condition" +kubebuilder:printcolumn:name="DependenciesSatisfied",type="string",JSONPath=".status.conditions[?(@.type=='DependenciesSatisfied')].status",priority=1,description="Status of the application dependencies" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",priority=0,description="Age of the resource"
func (*RuntimeComponent) DeepCopy ¶
func (in *RuntimeComponent) DeepCopy() *RuntimeComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponent.
func (*RuntimeComponent) DeepCopyInto ¶
func (in *RuntimeComponent) DeepCopyInto(out *RuntimeComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponent) DeepCopyObject ¶
func (in *RuntimeComponent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RuntimeComponent) GetAffinity ¶ added in v0.6.0
func (cr *RuntimeComponent) GetAffinity() common.BaseComponentAffinity
GetAffinity returns deployment's node and pod affinity settings
func (*RuntimeComponent) GetAnnotations ¶
func (cr *RuntimeComponent) GetAnnotations() map[string]string
GetAnnotations returns set of annotations to be added to all resources
func (*RuntimeComponent) GetApplicationImage ¶
func (cr *RuntimeComponent) GetApplicationImage() string
GetApplicationImage returns application image
func (*RuntimeComponent) GetApplicationName ¶
func (cr *RuntimeComponent) GetApplicationName() string
GetApplicationName returns Application name to be used for integration with kAppNav
func (*RuntimeComponent) GetArchitecture ¶
func (cr *RuntimeComponent) GetArchitecture() []string
GetArchitecture returns slice of architectures
func (*RuntimeComponent) GetAutoscaling ¶
func (cr *RuntimeComponent) GetAutoscaling() common.BaseComponentAutoscaling
GetAutoscaling returns autoscaling settings
func (*RuntimeComponent) GetBindings ¶ added in v0.5.0
func (cr *RuntimeComponent) GetBindings() common.BaseComponentBindings
GetBindings returns binding configuration for RuntimeComponent
func (*RuntimeComponent) GetCreateAppDefinition ¶
func (cr *RuntimeComponent) GetCreateAppDefinition() *bool
GetCreateAppDefinition returns a toggle for integration with kAppNav
func (*RuntimeComponent) GetCreateKnativeService ¶
func (cr *RuntimeComponent) GetCreateKnativeService() *bool
GetCreateKnativeService returns flag that toggles Knative service
func (*RuntimeComponent) GetEnv ¶
func (cr *RuntimeComponent) GetEnv() []corev1.EnvVar
GetEnv returns slice of environment variables
func (*RuntimeComponent) GetEnvFrom ¶
func (cr *RuntimeComponent) GetEnvFrom() []corev1.EnvFromSource
GetEnvFrom returns slice of environment variables from source
func (*RuntimeComponent) GetExpose ¶
func (cr *RuntimeComponent) GetExpose() *bool
GetExpose returns expose flag
func (*RuntimeComponent) GetGroupName ¶
func (cr *RuntimeComponent) GetGroupName() string
GetGroupName returns group name to be used in labels and annotation
func (*RuntimeComponent) GetInitContainers ¶
func (cr *RuntimeComponent) GetInitContainers() []corev1.Container
GetInitContainers returns list of init containers
func (*RuntimeComponent) GetLabels ¶
func (cr *RuntimeComponent) GetLabels() map[string]string
GetLabels returns set of labels to be added to all resources
func (*RuntimeComponent) GetLivenessProbe ¶
func (cr *RuntimeComponent) GetLivenessProbe() *corev1.Probe
GetLivenessProbe returns liveness probe
func (*RuntimeComponent) GetMonitoring ¶
func (cr *RuntimeComponent) GetMonitoring() common.BaseComponentMonitoring
GetMonitoring returns monitoring settings
func (*RuntimeComponent) GetPullPolicy ¶
func (cr *RuntimeComponent) GetPullPolicy() *corev1.PullPolicy
GetPullPolicy returns image pull policy
func (*RuntimeComponent) GetPullSecret ¶
func (cr *RuntimeComponent) GetPullSecret() *string
GetPullSecret returns secret name for docker registry credentials
func (*RuntimeComponent) GetReadinessProbe ¶
func (cr *RuntimeComponent) GetReadinessProbe() *corev1.Probe
GetReadinessProbe returns readiness probe
func (*RuntimeComponent) GetReplicas ¶
func (cr *RuntimeComponent) GetReplicas() *int32
GetReplicas returns number of replicas
func (*RuntimeComponent) GetResourceConstraints ¶
func (cr *RuntimeComponent) GetResourceConstraints() *corev1.ResourceRequirements
GetResourceConstraints returns resource constraints
func (*RuntimeComponent) GetRoute ¶
func (cr *RuntimeComponent) GetRoute() common.BaseComponentRoute
GetRoute returns route configuration for RuntimeComponent
func (*RuntimeComponent) GetService ¶
func (cr *RuntimeComponent) GetService() common.BaseComponentService
GetService returns service settings
func (*RuntimeComponent) GetServiceAccountName ¶
func (cr *RuntimeComponent) GetServiceAccountName() *string
GetServiceAccountName returns service account name
func (*RuntimeComponent) GetSidecarContainers ¶
func (cr *RuntimeComponent) GetSidecarContainers() []corev1.Container
GetSidecarContainers returns list of user specified containers
func (*RuntimeComponent) GetStatus ¶
func (cr *RuntimeComponent) GetStatus() common.BaseComponentStatus
GetStatus returns RuntimeComponent status
func (*RuntimeComponent) GetStorage ¶
func (cr *RuntimeComponent) GetStorage() common.BaseComponentStorage
GetStorage returns storage settings
func (*RuntimeComponent) GetVersion ¶
func (cr *RuntimeComponent) GetVersion() string
GetVersion returns application version
func (*RuntimeComponent) GetVolumeMounts ¶
func (cr *RuntimeComponent) GetVolumeMounts() []corev1.VolumeMount
GetVolumeMounts returns volume mounts slice
func (*RuntimeComponent) GetVolumes ¶
func (cr *RuntimeComponent) GetVolumes() []corev1.Volume
GetVolumes returns volumes slice
func (*RuntimeComponent) Initialize ¶
func (cr *RuntimeComponent) Initialize()
Initialize the RuntimeComponent instance
type RuntimeComponentAffinity ¶ added in v0.6.0
type RuntimeComponentAffinity struct { NodeAffinity *corev1.NodeAffinity `json:"nodeAffinity,omitempty"` PodAffinity *corev1.PodAffinity `json:"podAffinity,omitempty"` PodAntiAffinity *corev1.PodAntiAffinity `json:"podAntiAffinity,omitempty"` // +listType=set Architecture []string `json:"architecture,omitempty"` NodeAffinityLabels map[string]string `json:"nodeAffinityLabels,omitempty"` }
RuntimeComponentAffinity deployment affinity settings +k8s:openapi-gen=true
func (*RuntimeComponentAffinity) DeepCopy ¶ added in v0.6.0
func (in *RuntimeComponentAffinity) DeepCopy() *RuntimeComponentAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentAffinity.
func (*RuntimeComponentAffinity) DeepCopyInto ¶ added in v0.6.0
func (in *RuntimeComponentAffinity) DeepCopyInto(out *RuntimeComponentAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentAffinity) GetArchitecture ¶ added in v0.6.0
func (a *RuntimeComponentAffinity) GetArchitecture() []string
GetArchitecture returns list of architecture names
func (*RuntimeComponentAffinity) GetNodeAffinity ¶ added in v0.6.0
func (a *RuntimeComponentAffinity) GetNodeAffinity() *corev1.NodeAffinity
GetNodeAffinity returns node affinity
func (*RuntimeComponentAffinity) GetNodeAffinityLabels ¶ added in v0.6.0
func (a *RuntimeComponentAffinity) GetNodeAffinityLabels() map[string]string
GetNodeAffinityLabels returns list of architecture names
func (*RuntimeComponentAffinity) GetPodAffinity ¶ added in v0.6.0
func (a *RuntimeComponentAffinity) GetPodAffinity() *corev1.PodAffinity
GetPodAffinity returns pod affinity
func (*RuntimeComponentAffinity) GetPodAntiAffinity ¶ added in v0.6.0
func (a *RuntimeComponentAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
GetPodAntiAffinity returns pod anti-affinity
type RuntimeComponentAutoScaling ¶
type RuntimeComponentAutoScaling struct { TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"` MinReplicas *int32 `json:"minReplicas,omitempty"` // +kubebuilder:validation:Minimum=1 MaxReplicas int32 `json:"maxReplicas,omitempty"` }
RuntimeComponentAutoScaling ... +k8s:openapi-gen=true
func (*RuntimeComponentAutoScaling) DeepCopy ¶
func (in *RuntimeComponentAutoScaling) DeepCopy() *RuntimeComponentAutoScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentAutoScaling.
func (*RuntimeComponentAutoScaling) DeepCopyInto ¶
func (in *RuntimeComponentAutoScaling) DeepCopyInto(out *RuntimeComponentAutoScaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentAutoScaling) GetMaxReplicas ¶
func (a *RuntimeComponentAutoScaling) GetMaxReplicas() int32
GetMaxReplicas returns maximum replicas
func (*RuntimeComponentAutoScaling) GetMinReplicas ¶
func (a *RuntimeComponentAutoScaling) GetMinReplicas() *int32
GetMinReplicas returns minimum replicas
func (*RuntimeComponentAutoScaling) GetTargetCPUUtilizationPercentage ¶
func (a *RuntimeComponentAutoScaling) GetTargetCPUUtilizationPercentage() *int32
GetTargetCPUUtilizationPercentage returns target cpu usage
type RuntimeComponentBindingExpose ¶ added in v0.7.0
type RuntimeComponentBindingExpose struct {
Enabled *bool `json:"enabled,omitempty"`
}
RuntimeComponentBindingExpose encapsulates information exposed by the application
func (*RuntimeComponentBindingExpose) DeepCopy ¶ added in v0.7.0
func (in *RuntimeComponentBindingExpose) DeepCopy() *RuntimeComponentBindingExpose
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentBindingExpose.
func (*RuntimeComponentBindingExpose) DeepCopyInto ¶ added in v0.7.0
func (in *RuntimeComponentBindingExpose) DeepCopyInto(out *RuntimeComponentBindingExpose)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentBindingExpose) GetEnabled ¶ added in v0.7.0
func (e *RuntimeComponentBindingExpose) GetEnabled() *bool
GetEnabled returns whether the application should be exposable as a service
type RuntimeComponentBindings ¶ added in v0.5.0
type RuntimeComponentBindings struct { AutoDetect *bool `json:"autoDetect,omitempty"` ResourceRef string `json:"resourceRef,omitempty"` Embedded *runtime.RawExtension `json:"embedded,omitempty"` Expose *RuntimeComponentBindingExpose `json:"expose,omitempty"` }
RuntimeComponentBindings represents service binding related parameters
func (*RuntimeComponentBindings) DeepCopy ¶ added in v0.5.0
func (in *RuntimeComponentBindings) DeepCopy() *RuntimeComponentBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentBindings.
func (*RuntimeComponentBindings) DeepCopyInto ¶ added in v0.5.0
func (in *RuntimeComponentBindings) DeepCopyInto(out *RuntimeComponentBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentBindings) GetAutoDetect ¶ added in v0.5.0
func (r *RuntimeComponentBindings) GetAutoDetect() *bool
GetAutoDetect returns a boolean to specify if the operator should auto-detect ServiceBinding CRs with the same name as the RuntimeComponent CR
func (*RuntimeComponentBindings) GetEmbedded ¶ added in v0.6.0
func (r *RuntimeComponentBindings) GetEmbedded() *runtime.RawExtension
GetEmbedded returns the embedded underlying Service Binding resource
func (*RuntimeComponentBindings) GetExpose ¶ added in v0.7.0
func (r *RuntimeComponentBindings) GetExpose() common.BaseComponentExpose
GetExpose returns the map used making this application a bindable service
func (*RuntimeComponentBindings) GetResourceRef ¶ added in v0.5.0
func (r *RuntimeComponentBindings) GetResourceRef() string
GetResourceRef returns name of ServiceBinding CRs created manually in the same namespace as the RuntimeComponent CR
type RuntimeComponentList ¶
type RuntimeComponentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RuntimeComponent `json:"items"` }
RuntimeComponentList contains a list of RuntimeComponent
func (*RuntimeComponentList) DeepCopy ¶
func (in *RuntimeComponentList) DeepCopy() *RuntimeComponentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentList.
func (*RuntimeComponentList) DeepCopyInto ¶
func (in *RuntimeComponentList) DeepCopyInto(out *RuntimeComponentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentList) DeepCopyObject ¶
func (in *RuntimeComponentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuntimeComponentMonitoring ¶
type RuntimeComponentMonitoring struct { Labels map[string]string `json:"labels,omitempty"` Endpoints []prometheusv1.Endpoint `json:"endpoints,omitempty"` }
RuntimeComponentMonitoring ...
func (*RuntimeComponentMonitoring) DeepCopy ¶
func (in *RuntimeComponentMonitoring) DeepCopy() *RuntimeComponentMonitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentMonitoring.
func (*RuntimeComponentMonitoring) DeepCopyInto ¶
func (in *RuntimeComponentMonitoring) DeepCopyInto(out *RuntimeComponentMonitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentMonitoring) GetEndpoints ¶
func (m *RuntimeComponentMonitoring) GetEndpoints() []prometheusv1.Endpoint
GetEndpoints returns endpoints to be added to ServiceMonitor
func (*RuntimeComponentMonitoring) GetLabels ¶
func (m *RuntimeComponentMonitoring) GetLabels() map[string]string
GetLabels returns labels to be added on ServiceMonitor
type RuntimeComponentRoute ¶
type RuntimeComponentRoute struct { Annotations map[string]string `json:"annotations,omitempty"` Termination *routev1.TLSTerminationType `json:"termination,omitempty"` InsecureEdgeTerminationPolicy *routev1.InsecureEdgeTerminationPolicyType `json:"insecureEdgeTerminationPolicy,omitempty"` Certificate *Certificate `json:"certificate,omitempty"` CertificateSecretRef *string `json:"certificateSecretRef,omitempty"` Host string `json:"host,omitempty"` Path string `json:"path,omitempty"` }
RuntimeComponentRoute ... +k8s:openapi-gen=true
func (*RuntimeComponentRoute) DeepCopy ¶
func (in *RuntimeComponentRoute) DeepCopy() *RuntimeComponentRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentRoute.
func (*RuntimeComponentRoute) DeepCopyInto ¶
func (in *RuntimeComponentRoute) DeepCopyInto(out *RuntimeComponentRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentRoute) GetAnnotations ¶
func (r *RuntimeComponentRoute) GetAnnotations() map[string]string
GetAnnotations returns route annotations
func (*RuntimeComponentRoute) GetCertificate ¶
func (r *RuntimeComponentRoute) GetCertificate() common.Certificate
GetCertificate returns certificate spec for route
func (*RuntimeComponentRoute) GetCertificateSecretRef ¶
func (r *RuntimeComponentRoute) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*RuntimeComponentRoute) GetHost ¶
func (r *RuntimeComponentRoute) GetHost() string
GetHost returns hostname to be used by the route
func (*RuntimeComponentRoute) GetInsecureEdgeTerminationPolicy ¶
func (r *RuntimeComponentRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
GetInsecureEdgeTerminationPolicy returns terminatation of the route's TLS
func (*RuntimeComponentRoute) GetPath ¶
func (r *RuntimeComponentRoute) GetPath() string
GetPath returns path to use for the route
func (*RuntimeComponentRoute) GetTermination ¶
func (r *RuntimeComponentRoute) GetTermination() *routev1.TLSTerminationType
GetTermination returns terminatation of the route's TLS
type RuntimeComponentService ¶
type RuntimeComponentService struct { Type *corev1.ServiceType `json:"type,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=1 Port int32 `json:"port,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=1 TargetPort *int32 `json:"targetPort,omitempty"` // +kubebuilder:validation:Maximum=65535 // +kubebuilder:validation:Minimum=0 NodePort *int32 `json:"nodePort,omitempty"` PortName string `json:"portName,omitempty"` Ports []corev1.ServicePort `json:"ports,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` // +listType=atomic Consumes []ServiceBindingConsumes `json:"consumes,omitempty"` Provides *ServiceBindingProvides `json:"provides,omitempty"` // +k8s:openapi-gen=true Certificate *Certificate `json:"certificate,omitempty"` CertificateSecretRef *string `json:"certificateSecretRef,omitempty"` }
RuntimeComponentService ... +k8s:openapi-gen=true
func (*RuntimeComponentService) DeepCopy ¶
func (in *RuntimeComponentService) DeepCopy() *RuntimeComponentService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentService.
func (*RuntimeComponentService) DeepCopyInto ¶
func (in *RuntimeComponentService) DeepCopyInto(out *RuntimeComponentService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentService) GetAnnotations ¶
func (s *RuntimeComponentService) GetAnnotations() map[string]string
GetAnnotations returns a set of annotations to be added to the service
func (*RuntimeComponentService) GetCertificate ¶
func (s *RuntimeComponentService) GetCertificate() common.Certificate
GetCertificate returns services certificate configuration
func (*RuntimeComponentService) GetCertificateSecretRef ¶
func (s *RuntimeComponentService) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*RuntimeComponentService) GetConsumes ¶
func (s *RuntimeComponentService) GetConsumes() []common.ServiceBindingConsumes
GetConsumes returns a list of service consumers' configuration
func (*RuntimeComponentService) GetNodePort ¶ added in v0.5.0
func (s *RuntimeComponentService) GetNodePort() *int32
GetNodePort returns service nodePort
func (*RuntimeComponentService) GetPort ¶
func (s *RuntimeComponentService) GetPort() int32
GetPort returns service port
func (*RuntimeComponentService) GetPortName ¶
func (s *RuntimeComponentService) GetPortName() string
GetPortName returns name of service port
func (*RuntimeComponentService) GetPorts ¶ added in v0.5.0
func (s *RuntimeComponentService) GetPorts() []corev1.ServicePort
GetPorts returns a list of service ports
func (*RuntimeComponentService) GetProvides ¶
func (s *RuntimeComponentService) GetProvides() common.ServiceBindingProvides
GetProvides returns service provider configuration
func (*RuntimeComponentService) GetTargetPort ¶ added in v0.4.1
func (s *RuntimeComponentService) GetTargetPort() *int32
GetTargetPort returns the internal target port for containers
func (*RuntimeComponentService) GetType ¶
func (s *RuntimeComponentService) GetType() *corev1.ServiceType
GetType returns service type
type RuntimeComponentSpec ¶
type RuntimeComponentSpec struct { Version string `json:"version,omitempty"` ApplicationImage string `json:"applicationImage"` Replicas *int32 `json:"replicas,omitempty"` Autoscaling *RuntimeComponentAutoScaling `json:"autoscaling,omitempty"` PullPolicy *corev1.PullPolicy `json:"pullPolicy,omitempty"` PullSecret *string `json:"pullSecret,omitempty"` // +listType=map // +listMapKey=name Volumes []corev1.Volume `json:"volumes,omitempty"` // +listType=atomic VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` ResourceConstraints *corev1.ResourceRequirements `json:"resourceConstraints,omitempty"` ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"` LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` Service *RuntimeComponentService `json:"service,omitempty"` Expose *bool `json:"expose,omitempty"` // +listType=atomic EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"` // +listType=map // +listMapKey=name Env []corev1.EnvVar `json:"env,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` // +listType=set Architecture []string `json:"architecture,omitempty"` Storage *RuntimeComponentStorage `json:"storage,omitempty"` CreateKnativeService *bool `json:"createKnativeService,omitempty"` Monitoring *RuntimeComponentMonitoring `json:"monitoring,omitempty"` CreateAppDefinition *bool `json:"createAppDefinition,omitempty"` ApplicationName string `json:"applicationName,omitempty"` // +listType=map // +listMapKey=name InitContainers []corev1.Container `json:"initContainers,omitempty"` // +listType=map // +listMapKey=name SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"` Route *RuntimeComponentRoute `json:"route,omitempty"` Bindings *RuntimeComponentBindings `json:"bindings,omitempty"` Affinity *RuntimeComponentAffinity `json:"affinity,omitempty"` }
RuntimeComponentSpec defines the desired state of RuntimeComponent +k8s:openapi-gen=true
func (*RuntimeComponentSpec) DeepCopy ¶
func (in *RuntimeComponentSpec) DeepCopy() *RuntimeComponentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentSpec.
func (*RuntimeComponentSpec) DeepCopyInto ¶
func (in *RuntimeComponentSpec) DeepCopyInto(out *RuntimeComponentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeComponentStatus ¶
type RuntimeComponentStatus struct { // +listType=atomic Conditions []StatusCondition `json:"conditions,omitempty"` ConsumedServices common.ConsumedServices `json:"consumedServices,omitempty"` // +listType=set ResolvedBindings []string `json:"resolvedBindings,omitempty"` ImageReference string `json:"imageReference,omitempty"` Binding *corev1.LocalObjectReference `json:"binding,omitempty"` }
RuntimeComponentStatus defines the observed state of RuntimeComponent +k8s:openapi-gen=true
func (*RuntimeComponentStatus) DeepCopy ¶
func (in *RuntimeComponentStatus) DeepCopy() *RuntimeComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentStatus.
func (*RuntimeComponentStatus) DeepCopyInto ¶
func (in *RuntimeComponentStatus) DeepCopyInto(out *RuntimeComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentStatus) GetBinding ¶ added in v0.7.0
func (s *RuntimeComponentStatus) GetBinding() *corev1.LocalObjectReference
GetBinding returns BindingStatus representing binding status
func (*RuntimeComponentStatus) GetCondition ¶
func (s *RuntimeComponentStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
GetCondition ...
func (*RuntimeComponentStatus) GetConditions ¶
func (s *RuntimeComponentStatus) GetConditions() []common.StatusCondition
GetConditions returns slice of conditions
func (*RuntimeComponentStatus) GetConsumedServices ¶
func (s *RuntimeComponentStatus) GetConsumedServices() common.ConsumedServices
GetConsumedServices returns a map of all the service names to be consumed by the application
func (*RuntimeComponentStatus) GetImageReference ¶
func (s *RuntimeComponentStatus) GetImageReference() string
GetImageReference returns Docker image reference to be deployed by the CR
func (*RuntimeComponentStatus) GetResolvedBindings ¶ added in v0.5.0
func (s *RuntimeComponentStatus) GetResolvedBindings() []string
GetResolvedBindings returns a map of all the service names to be consumed by the application
func (*RuntimeComponentStatus) NewCondition ¶
func (s *RuntimeComponentStatus) NewCondition() common.StatusCondition
NewCondition returns new condition
func (*RuntimeComponentStatus) SetBinding ¶ added in v0.7.0
func (s *RuntimeComponentStatus) SetBinding(r *corev1.LocalObjectReference)
SetBinding sets BindingStatus representing binding status
func (*RuntimeComponentStatus) SetCondition ¶
func (s *RuntimeComponentStatus) SetCondition(c common.StatusCondition)
SetCondition ...
func (*RuntimeComponentStatus) SetConsumedServices ¶
func (s *RuntimeComponentStatus) SetConsumedServices(c common.ConsumedServices)
SetConsumedServices sets ConsumedServices
func (*RuntimeComponentStatus) SetImageReference ¶
func (s *RuntimeComponentStatus) SetImageReference(imageReference string)
SetImageReference sets Docker image reference on the status portion of the CR
func (*RuntimeComponentStatus) SetResolvedBindings ¶ added in v0.5.0
func (s *RuntimeComponentStatus) SetResolvedBindings(rb []string)
SetResolvedBindings sets ConsumedServices
type RuntimeComponentStorage ¶
type RuntimeComponentStorage struct { // +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$ Size string `json:"size,omitempty"` MountPath string `json:"mountPath,omitempty"` VolumeClaimTemplate *corev1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"` }
RuntimeComponentStorage ... +k8s:openapi-gen=false
func (*RuntimeComponentStorage) DeepCopy ¶
func (in *RuntimeComponentStorage) DeepCopy() *RuntimeComponentStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeComponentStorage.
func (*RuntimeComponentStorage) DeepCopyInto ¶
func (in *RuntimeComponentStorage) DeepCopyInto(out *RuntimeComponentStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeComponentStorage) GetMountPath ¶
func (s *RuntimeComponentStorage) GetMountPath() string
GetMountPath returns mount path for persistent volume
func (*RuntimeComponentStorage) GetSize ¶
func (s *RuntimeComponentStorage) GetSize() string
GetSize returns persistent volume size
func (*RuntimeComponentStorage) GetVolumeClaimTemplate ¶
func (s *RuntimeComponentStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
GetVolumeClaimTemplate returns a template representing requested persistent volume
type ServiceBindingAuth ¶
type ServiceBindingAuth struct { // The secret that contains the username for authenticating Username corev1.SecretKeySelector `json:"username,omitempty"` // The secret that contains the password for authenticating Password corev1.SecretKeySelector `json:"password,omitempty"` }
ServiceBindingAuth allows a service to provide authentication information
func (*ServiceBindingAuth) DeepCopy ¶
func (in *ServiceBindingAuth) DeepCopy() *ServiceBindingAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingAuth.
func (*ServiceBindingAuth) DeepCopyInto ¶
func (in *ServiceBindingAuth) DeepCopyInto(out *ServiceBindingAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingAuth) GetPassword ¶
func (a *ServiceBindingAuth) GetPassword() corev1.SecretKeySelector
GetPassword returns password of a service binding auth object
func (*ServiceBindingAuth) GetUsername ¶
func (a *ServiceBindingAuth) GetUsername() corev1.SecretKeySelector
GetUsername returns username of a service binding auth object
type ServiceBindingConsumes ¶
type ServiceBindingConsumes struct { Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Category common.ServiceBindingCategory `json:"category"` MountPath string `json:"mountPath,omitempty"` }
ServiceBindingConsumes represents a service to be consumed +k8s:openapi-gen=true
func (*ServiceBindingConsumes) DeepCopy ¶
func (in *ServiceBindingConsumes) DeepCopy() *ServiceBindingConsumes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingConsumes.
func (*ServiceBindingConsumes) DeepCopyInto ¶
func (in *ServiceBindingConsumes) DeepCopyInto(out *ServiceBindingConsumes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingConsumes) GetCategory ¶
func (c *ServiceBindingConsumes) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service consumer configuration
func (*ServiceBindingConsumes) GetMountPath ¶
func (c *ServiceBindingConsumes) GetMountPath() string
GetMountPath returns mount path of a service consumer configuration
func (*ServiceBindingConsumes) GetName ¶
func (c *ServiceBindingConsumes) GetName() string
GetName returns service name of a service consumer configuration
func (*ServiceBindingConsumes) GetNamespace ¶
func (c *ServiceBindingConsumes) GetNamespace() string
GetNamespace returns namespace of a service consumer configuration
type ServiceBindingProvides ¶
type ServiceBindingProvides struct { Category common.ServiceBindingCategory `json:"category"` Context string `json:"context,omitempty"` Protocol string `json:"protocol,omitempty"` Auth *ServiceBindingAuth `json:"auth,omitempty"` }
ServiceBindingProvides represents information about +k8s:openapi-gen=true
func (*ServiceBindingProvides) DeepCopy ¶
func (in *ServiceBindingProvides) DeepCopy() *ServiceBindingProvides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProvides.
func (*ServiceBindingProvides) DeepCopyInto ¶
func (in *ServiceBindingProvides) DeepCopyInto(out *ServiceBindingProvides)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindingProvides) GetAuth ¶
func (p *ServiceBindingProvides) GetAuth() common.ServiceBindingAuth
GetAuth returns secret of a service provider configuration
func (*ServiceBindingProvides) GetCategory ¶
func (p *ServiceBindingProvides) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service provider configuration
func (*ServiceBindingProvides) GetContext ¶
func (p *ServiceBindingProvides) GetContext() string
GetContext returns context of a service provider configuration
func (*ServiceBindingProvides) GetProtocol ¶
func (p *ServiceBindingProvides) GetProtocol() string
GetProtocol returns protocol of a service provider configuration
type StatusCondition ¶
type StatusCondition struct { LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` Status corev1.ConditionStatus `json:"status,omitempty"` Type StatusConditionType `json:"type,omitempty"` }
StatusCondition ... +k8s:openapi-gen=true
func (*StatusCondition) DeepCopy ¶
func (in *StatusCondition) DeepCopy() *StatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCondition.
func (*StatusCondition) DeepCopyInto ¶
func (in *StatusCondition) DeepCopyInto(out *StatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StatusCondition) GetLastTransitionTime ¶
func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
GetLastTransitionTime return time of last status change
func (*StatusCondition) GetLastUpdateTime ¶
func (c *StatusCondition) GetLastUpdateTime() metav1.Time
GetLastUpdateTime return time of last status update
func (*StatusCondition) GetMessage ¶
func (c *StatusCondition) GetMessage() string
GetMessage return condition's message
func (*StatusCondition) GetReason ¶
func (c *StatusCondition) GetReason() string
GetReason return condition's message
func (*StatusCondition) GetStatus ¶
func (c *StatusCondition) GetStatus() corev1.ConditionStatus
GetStatus return condition's status
func (*StatusCondition) GetType ¶
func (c *StatusCondition) GetType() common.StatusConditionType
GetType returns status condition type
func (*StatusCondition) SetLastTransitionTime ¶
func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
SetLastTransitionTime sets time of last status change
func (*StatusCondition) SetLastUpdateTime ¶
func (c *StatusCondition) SetLastUpdateTime(t metav1.Time)
SetLastUpdateTime sets time of last status update
func (*StatusCondition) SetMessage ¶
func (c *StatusCondition) SetMessage(m string)
SetMessage sets condition's message
func (*StatusCondition) SetReason ¶
func (c *StatusCondition) SetReason(r string)
SetReason sets condition's reason
func (*StatusCondition) SetStatus ¶
func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
SetStatus sets condition's status
func (*StatusCondition) SetType ¶
func (c *StatusCondition) SetType(ct common.StatusConditionType)
SetType returns status condition type
type StatusConditionType ¶
type StatusConditionType string
StatusConditionType ...
const ( // StatusConditionTypeReconciled ... StatusConditionTypeReconciled StatusConditionType = "Reconciled" // StatusConditionTypeDependenciesSatisfied ... StatusConditionTypeDependenciesSatisfied StatusConditionType = "DependenciesSatisfied" )