Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the appsody v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=appsody.dev
Package v1beta1 contains API Schema definitions for the appsody v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=appsody.dev
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type AppsodyAffinity
- func (in *AppsodyAffinity) DeepCopy() *AppsodyAffinity
- func (in *AppsodyAffinity) DeepCopyInto(out *AppsodyAffinity)
- func (a *AppsodyAffinity) GetArchitecture() []string
- func (a *AppsodyAffinity) GetNodeAffinity() *corev1.NodeAffinity
- func (a *AppsodyAffinity) GetNodeAffinityLabels() map[string]string
- func (a *AppsodyAffinity) GetPodAffinity() *corev1.PodAffinity
- func (a *AppsodyAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
- type AppsodyApplication
- func (in *AppsodyApplication) DeepCopy() *AppsodyApplication
- func (in *AppsodyApplication) DeepCopyInto(out *AppsodyApplication)
- func (in *AppsodyApplication) DeepCopyObject() runtime.Object
- func (cr *AppsodyApplication) GetAffinity() common.BaseComponentAffinity
- func (cr *AppsodyApplication) GetAnnotations() map[string]string
- func (cr *AppsodyApplication) GetApplicationImage() string
- func (cr *AppsodyApplication) GetApplicationName() string
- func (cr *AppsodyApplication) GetArchitecture() []string
- func (cr *AppsodyApplication) GetAutoscaling() common.BaseComponentAutoscaling
- func (cr *AppsodyApplication) GetBindings() common.BaseComponentBindings
- func (cr *AppsodyApplication) GetCreateAppDefinition() *bool
- func (cr *AppsodyApplication) GetCreateKnativeService() *bool
- func (cr *AppsodyApplication) GetEnv() []corev1.EnvVar
- func (cr *AppsodyApplication) GetEnvFrom() []corev1.EnvFromSource
- func (cr *AppsodyApplication) GetExpose() *bool
- func (cr *AppsodyApplication) GetGroupName() string
- func (cr *AppsodyApplication) GetInitContainers() []corev1.Container
- func (cr *AppsodyApplication) GetLabels() map[string]string
- func (cr *AppsodyApplication) GetLivenessProbe() *corev1.Probe
- func (cr *AppsodyApplication) GetMonitoring() common.BaseComponentMonitoring
- func (cr *AppsodyApplication) GetPullPolicy() *corev1.PullPolicy
- func (cr *AppsodyApplication) GetPullSecret() *string
- func (cr *AppsodyApplication) GetReadinessProbe() *corev1.Probe
- func (cr *AppsodyApplication) GetReplicas() *int32
- func (cr *AppsodyApplication) GetResourceConstraints() *corev1.ResourceRequirements
- func (cr *AppsodyApplication) GetRoute() common.BaseComponentRoute
- func (cr *AppsodyApplication) GetService() common.BaseComponentService
- func (cr *AppsodyApplication) GetServiceAccountName() *string
- func (cr *AppsodyApplication) GetSidecarContainers() []corev1.Container
- func (cr *AppsodyApplication) GetStatus() common.BaseComponentStatus
- func (cr *AppsodyApplication) GetStorage() common.BaseComponentStorage
- func (cr *AppsodyApplication) GetVersion() string
- func (cr *AppsodyApplication) GetVolumeMounts() []corev1.VolumeMount
- func (cr *AppsodyApplication) GetVolumes() []corev1.Volume
- func (cr *AppsodyApplication) Initialize(defaults AppsodyApplicationSpec, constants *AppsodyApplicationSpec)
- type AppsodyApplicationAutoScaling
- func (in *AppsodyApplicationAutoScaling) DeepCopy() *AppsodyApplicationAutoScaling
- func (in *AppsodyApplicationAutoScaling) DeepCopyInto(out *AppsodyApplicationAutoScaling)
- func (a *AppsodyApplicationAutoScaling) GetMaxReplicas() int32
- func (a *AppsodyApplicationAutoScaling) GetMinReplicas() *int32
- func (a *AppsodyApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
- type AppsodyApplicationList
- type AppsodyApplicationMonitoring
- func (in *AppsodyApplicationMonitoring) DeepCopy() *AppsodyApplicationMonitoring
- func (in *AppsodyApplicationMonitoring) DeepCopyInto(out *AppsodyApplicationMonitoring)
- func (m *AppsodyApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
- func (m *AppsodyApplicationMonitoring) GetLabels() map[string]string
- type AppsodyApplicationService
- func (in *AppsodyApplicationService) DeepCopy() *AppsodyApplicationService
- func (in *AppsodyApplicationService) DeepCopyInto(out *AppsodyApplicationService)
- func (s *AppsodyApplicationService) GetAnnotations() map[string]string
- func (s *AppsodyApplicationService) GetCertificate() common.Certificate
- func (s *AppsodyApplicationService) GetCertificateSecretRef() *string
- func (s *AppsodyApplicationService) GetConsumes() []common.ServiceBindingConsumes
- func (s *AppsodyApplicationService) GetNodePort() *int32
- func (s *AppsodyApplicationService) GetPort() int32
- func (s *AppsodyApplicationService) GetPortName() string
- func (s *AppsodyApplicationService) GetPorts() []corev1.ServicePort
- func (s *AppsodyApplicationService) GetProvides() common.ServiceBindingProvides
- func (s *AppsodyApplicationService) GetTargetPort() *int32
- func (s *AppsodyApplicationService) GetType() *corev1.ServiceType
- type AppsodyApplicationSpec
- type AppsodyApplicationStatus
- func (in *AppsodyApplicationStatus) DeepCopy() *AppsodyApplicationStatus
- func (in *AppsodyApplicationStatus) DeepCopyInto(out *AppsodyApplicationStatus)
- func (s *AppsodyApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
- func (s *AppsodyApplicationStatus) GetConditions() []common.StatusCondition
- func (s *AppsodyApplicationStatus) GetConsumedServices() common.ConsumedServices
- func (s *AppsodyApplicationStatus) GetImageReference() string
- func (s *AppsodyApplicationStatus) GetResolvedBindings() []string
- func (s *AppsodyApplicationStatus) NewCondition() common.StatusCondition
- func (s *AppsodyApplicationStatus) SetCondition(c common.StatusCondition)
- func (s *AppsodyApplicationStatus) SetConsumedServices(c common.ConsumedServices)
- func (s *AppsodyApplicationStatus) SetImageReference(imageReference string)
- func (s *AppsodyApplicationStatus) SetResolvedBindings(rb []string)
- type AppsodyApplicationStorage
- func (in *AppsodyApplicationStorage) DeepCopy() *AppsodyApplicationStorage
- func (in *AppsodyApplicationStorage) DeepCopyInto(out *AppsodyApplicationStorage)
- func (s *AppsodyApplicationStorage) GetMountPath() string
- func (s *AppsodyApplicationStorage) GetSize() string
- func (s *AppsodyApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
- type AppsodyBindings
- type AppsodyRoute
- func (in *AppsodyRoute) DeepCopy() *AppsodyRoute
- func (in *AppsodyRoute) DeepCopyInto(out *AppsodyRoute)
- func (r *AppsodyRoute) GetAnnotations() map[string]string
- func (r *AppsodyRoute) GetCertificate() common.Certificate
- func (r *AppsodyRoute) GetCertificateSecretRef() *string
- func (r *AppsodyRoute) GetHost() string
- func (r *AppsodyRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
- func (r *AppsodyRoute) GetPath() string
- func (r *AppsodyRoute) GetTermination() *routev1.TLSTerminationType
- type Certificate
- 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: "appsody.dev", 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 AppsodyAffinity ¶ added in v0.6.0
type AppsodyAffinity 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"` }
AppsodyAffinity deployment affinity settings +k8s:openapi-gen=true
func (*AppsodyAffinity) DeepCopy ¶ added in v0.6.0
func (in *AppsodyAffinity) DeepCopy() *AppsodyAffinity
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyAffinity.
func (*AppsodyAffinity) DeepCopyInto ¶ added in v0.6.0
func (in *AppsodyAffinity) DeepCopyInto(out *AppsodyAffinity)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyAffinity) GetArchitecture ¶ added in v0.6.0
func (a *AppsodyAffinity) GetArchitecture() []string
GetArchitecture returns list of architecture names
func (*AppsodyAffinity) GetNodeAffinity ¶ added in v0.6.0
func (a *AppsodyAffinity) GetNodeAffinity() *corev1.NodeAffinity
GetNodeAffinity returns node affinity
func (*AppsodyAffinity) GetNodeAffinityLabels ¶ added in v0.6.0
func (a *AppsodyAffinity) GetNodeAffinityLabels() map[string]string
GetNodeAffinityLabels returns list of architecture names
func (*AppsodyAffinity) GetPodAffinity ¶ added in v0.6.0
func (a *AppsodyAffinity) GetPodAffinity() *corev1.PodAffinity
GetPodAffinity returns pod affinity
func (*AppsodyAffinity) GetPodAntiAffinity ¶ added in v0.6.0
func (a *AppsodyAffinity) GetPodAntiAffinity() *corev1.PodAntiAffinity
GetPodAntiAffinity returns pod anti-affinity
type AppsodyApplication ¶
type AppsodyApplication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppsodyApplicationSpec `json:"spec,omitempty"` Status AppsodyApplicationStatus `json:"status,omitempty"` }
AppsodyApplication is the Schema for the appsodyapplications API +k8s:openapi-gen=true +kubebuilder:resource:path=appsodyapplications,scope=Namespaced,shortName=app;apps +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 (*AppsodyApplication) DeepCopy ¶
func (in *AppsodyApplication) DeepCopy() *AppsodyApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplication.
func (*AppsodyApplication) DeepCopyInto ¶
func (in *AppsodyApplication) DeepCopyInto(out *AppsodyApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplication) DeepCopyObject ¶
func (in *AppsodyApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppsodyApplication) GetAffinity ¶ added in v0.6.0
func (cr *AppsodyApplication) GetAffinity() common.BaseComponentAffinity
GetAffinity returns deployment's node and pod affinity settings
func (*AppsodyApplication) GetAnnotations ¶ added in v0.2.2
func (cr *AppsodyApplication) GetAnnotations() map[string]string
GetAnnotations returns set of annotations to be added to all resources
func (*AppsodyApplication) GetApplicationImage ¶ added in v0.2.2
func (cr *AppsodyApplication) GetApplicationImage() string
GetApplicationImage returns application image
func (*AppsodyApplication) GetApplicationName ¶ added in v0.4.0
func (cr *AppsodyApplication) GetApplicationName() string
GetApplicationName returns Application name to be used for integration with kAppNav
func (*AppsodyApplication) GetArchitecture ¶ added in v0.2.2
func (cr *AppsodyApplication) GetArchitecture() []string
GetArchitecture returns slice of architectures
func (*AppsodyApplication) GetAutoscaling ¶ added in v0.2.2
func (cr *AppsodyApplication) GetAutoscaling() common.BaseComponentAutoscaling
GetAutoscaling returns autoscaling settings
func (*AppsodyApplication) GetBindings ¶ added in v0.5.0
func (cr *AppsodyApplication) GetBindings() common.BaseComponentBindings
GetBindings returns route configuration for RuntimeComponent
func (*AppsodyApplication) GetCreateAppDefinition ¶ added in v0.2.2
func (cr *AppsodyApplication) GetCreateAppDefinition() *bool
GetCreateAppDefinition returns a toggle for integration with kAppNav
func (*AppsodyApplication) GetCreateKnativeService ¶ added in v0.2.2
func (cr *AppsodyApplication) GetCreateKnativeService() *bool
GetCreateKnativeService returns flag that toggles Knative service
func (*AppsodyApplication) GetEnv ¶ added in v0.2.2
func (cr *AppsodyApplication) GetEnv() []corev1.EnvVar
GetEnv returns slice of environment variables
func (*AppsodyApplication) GetEnvFrom ¶ added in v0.2.2
func (cr *AppsodyApplication) GetEnvFrom() []corev1.EnvFromSource
GetEnvFrom returns slice of environment variables from source
func (*AppsodyApplication) GetExpose ¶ added in v0.2.2
func (cr *AppsodyApplication) GetExpose() *bool
GetExpose returns expose flag
func (*AppsodyApplication) GetGroupName ¶ added in v0.3.0
func (cr *AppsodyApplication) GetGroupName() string
GetGroupName returns group name to be used in labels and annotation
func (*AppsodyApplication) GetInitContainers ¶ added in v0.3.0
func (cr *AppsodyApplication) GetInitContainers() []corev1.Container
GetInitContainers returns list of init containers
func (*AppsodyApplication) GetLabels ¶ added in v0.2.2
func (cr *AppsodyApplication) GetLabels() map[string]string
GetLabels returns set of labels to be added to all resources
func (*AppsodyApplication) GetLivenessProbe ¶ added in v0.2.2
func (cr *AppsodyApplication) GetLivenessProbe() *corev1.Probe
GetLivenessProbe returns liveness probe
func (*AppsodyApplication) GetMonitoring ¶ added in v0.2.2
func (cr *AppsodyApplication) GetMonitoring() common.BaseComponentMonitoring
GetMonitoring returns monitoring settings
func (*AppsodyApplication) GetPullPolicy ¶ added in v0.2.2
func (cr *AppsodyApplication) GetPullPolicy() *corev1.PullPolicy
GetPullPolicy returns image pull policy
func (*AppsodyApplication) GetPullSecret ¶ added in v0.2.2
func (cr *AppsodyApplication) GetPullSecret() *string
GetPullSecret returns secret name for docker registry credentials
func (*AppsodyApplication) GetReadinessProbe ¶ added in v0.2.2
func (cr *AppsodyApplication) GetReadinessProbe() *corev1.Probe
GetReadinessProbe returns readiness probe
func (*AppsodyApplication) GetReplicas ¶ added in v0.2.2
func (cr *AppsodyApplication) GetReplicas() *int32
GetReplicas returns number of replicas
func (*AppsodyApplication) GetResourceConstraints ¶ added in v0.2.2
func (cr *AppsodyApplication) GetResourceConstraints() *corev1.ResourceRequirements
GetResourceConstraints returns resource constraints
func (*AppsodyApplication) GetRoute ¶ added in v0.4.0
func (cr *AppsodyApplication) GetRoute() common.BaseComponentRoute
GetRoute returns appsody route configuration
func (*AppsodyApplication) GetService ¶ added in v0.2.2
func (cr *AppsodyApplication) GetService() common.BaseComponentService
GetService returns service settings
func (*AppsodyApplication) GetServiceAccountName ¶ added in v0.2.2
func (cr *AppsodyApplication) GetServiceAccountName() *string
GetServiceAccountName returns service account name
func (*AppsodyApplication) GetSidecarContainers ¶ added in v0.4.0
func (cr *AppsodyApplication) GetSidecarContainers() []corev1.Container
GetSidecarContainers returns the list of user specified containers
func (*AppsodyApplication) GetStatus ¶ added in v0.2.2
func (cr *AppsodyApplication) GetStatus() common.BaseComponentStatus
GetStatus returns AppsodyApplication status
func (*AppsodyApplication) GetStorage ¶ added in v0.2.2
func (cr *AppsodyApplication) GetStorage() common.BaseComponentStorage
GetStorage returns storage settings
func (*AppsodyApplication) GetVersion ¶ added in v0.2.2
func (cr *AppsodyApplication) GetVersion() string
GetVersion returns application version
func (*AppsodyApplication) GetVolumeMounts ¶ added in v0.2.2
func (cr *AppsodyApplication) GetVolumeMounts() []corev1.VolumeMount
GetVolumeMounts returns volume mounts slice
func (*AppsodyApplication) GetVolumes ¶ added in v0.2.2
func (cr *AppsodyApplication) GetVolumes() []corev1.Volume
GetVolumes returns volumes slice
func (*AppsodyApplication) Initialize ¶ added in v0.2.2
func (cr *AppsodyApplication) Initialize(defaults AppsodyApplicationSpec, constants *AppsodyApplicationSpec)
Initialize the AppsodyApplication instance with values from the default and constant ConfigMap
type AppsodyApplicationAutoScaling ¶
type AppsodyApplicationAutoScaling struct { TargetCPUUtilizationPercentage *int32 `json:"targetCPUUtilizationPercentage,omitempty"` MinReplicas *int32 `json:"minReplicas,omitempty"` // +kubebuilder:validation:Minimum=1 MaxReplicas int32 `json:"maxReplicas,omitempty"` }
AppsodyApplicationAutoScaling ... +k8s:openapi-gen=true
func (*AppsodyApplicationAutoScaling) DeepCopy ¶
func (in *AppsodyApplicationAutoScaling) DeepCopy() *AppsodyApplicationAutoScaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationAutoScaling.
func (*AppsodyApplicationAutoScaling) DeepCopyInto ¶
func (in *AppsodyApplicationAutoScaling) DeepCopyInto(out *AppsodyApplicationAutoScaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationAutoScaling) GetMaxReplicas ¶ added in v0.2.2
func (a *AppsodyApplicationAutoScaling) GetMaxReplicas() int32
GetMaxReplicas returns maximum replicas
func (*AppsodyApplicationAutoScaling) GetMinReplicas ¶ added in v0.2.2
func (a *AppsodyApplicationAutoScaling) GetMinReplicas() *int32
GetMinReplicas returns minimum replicas
func (*AppsodyApplicationAutoScaling) GetTargetCPUUtilizationPercentage ¶ added in v0.2.2
func (a *AppsodyApplicationAutoScaling) GetTargetCPUUtilizationPercentage() *int32
GetTargetCPUUtilizationPercentage returns target cpu usage
type AppsodyApplicationList ¶
type AppsodyApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppsodyApplication `json:"items"` }
AppsodyApplicationList contains a list of AppsodyApplication
func (*AppsodyApplicationList) DeepCopy ¶
func (in *AppsodyApplicationList) DeepCopy() *AppsodyApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationList.
func (*AppsodyApplicationList) DeepCopyInto ¶
func (in *AppsodyApplicationList) DeepCopyInto(out *AppsodyApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationList) DeepCopyObject ¶
func (in *AppsodyApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppsodyApplicationMonitoring ¶ added in v0.2.0
type AppsodyApplicationMonitoring struct { Labels map[string]string `json:"labels,omitempty"` Endpoints []prometheusv1.Endpoint `json:"endpoints,omitempty"` }
AppsodyApplicationMonitoring ...
func (*AppsodyApplicationMonitoring) DeepCopy ¶ added in v0.2.0
func (in *AppsodyApplicationMonitoring) DeepCopy() *AppsodyApplicationMonitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationMonitoring.
func (*AppsodyApplicationMonitoring) DeepCopyInto ¶ added in v0.2.0
func (in *AppsodyApplicationMonitoring) DeepCopyInto(out *AppsodyApplicationMonitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationMonitoring) GetEndpoints ¶ added in v0.2.2
func (m *AppsodyApplicationMonitoring) GetEndpoints() []prometheusv1.Endpoint
GetEndpoints returns endpoints to be added to ServiceMonitor
func (*AppsodyApplicationMonitoring) GetLabels ¶ added in v0.2.2
func (m *AppsodyApplicationMonitoring) GetLabels() map[string]string
GetLabels returns labels to be added on ServiceMonitor
type AppsodyApplicationService ¶
type AppsodyApplicationService 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"` }
AppsodyApplicationService ... +k8s:openapi-gen=true
func (*AppsodyApplicationService) DeepCopy ¶
func (in *AppsodyApplicationService) DeepCopy() *AppsodyApplicationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationService.
func (*AppsodyApplicationService) DeepCopyInto ¶
func (in *AppsodyApplicationService) DeepCopyInto(out *AppsodyApplicationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationService) GetAnnotations ¶ added in v0.2.2
func (s *AppsodyApplicationService) GetAnnotations() map[string]string
GetAnnotations returns a set of annotations to be added to the service
func (*AppsodyApplicationService) GetCertificate ¶ added in v0.4.0
func (s *AppsodyApplicationService) GetCertificate() common.Certificate
GetCertificate returns services certificate configuration
func (*AppsodyApplicationService) GetCertificateSecretRef ¶ added in v0.4.0
func (s *AppsodyApplicationService) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*AppsodyApplicationService) GetConsumes ¶ added in v0.3.0
func (s *AppsodyApplicationService) GetConsumes() []common.ServiceBindingConsumes
GetConsumes returns a list of service consumers' configuration
func (*AppsodyApplicationService) GetNodePort ¶ added in v0.5.0
func (s *AppsodyApplicationService) GetNodePort() *int32
GetNodePort returns service nodePort
func (*AppsodyApplicationService) GetPort ¶ added in v0.2.2
func (s *AppsodyApplicationService) GetPort() int32
GetPort returns service port
func (*AppsodyApplicationService) GetPortName ¶ added in v0.4.0
func (s *AppsodyApplicationService) GetPortName() string
GetPortName returns name of service port
func (*AppsodyApplicationService) GetPorts ¶ added in v0.5.0
func (s *AppsodyApplicationService) GetPorts() []corev1.ServicePort
GetPorts returns a list of service ports
func (*AppsodyApplicationService) GetProvides ¶ added in v0.3.0
func (s *AppsodyApplicationService) GetProvides() common.ServiceBindingProvides
GetProvides returns service provider configuration
func (*AppsodyApplicationService) GetTargetPort ¶ added in v0.4.0
func (s *AppsodyApplicationService) GetTargetPort() *int32
GetTargetPort returns the internal target port for containers
func (*AppsodyApplicationService) GetType ¶ added in v0.2.2
func (s *AppsodyApplicationService) GetType() *corev1.ServiceType
GetType returns service type
type AppsodyApplicationSpec ¶
type AppsodyApplicationSpec struct { Version string `json:"version,omitempty"` ApplicationImage string `json:"applicationImage"` Replicas *int32 `json:"replicas,omitempty"` Autoscaling *AppsodyApplicationAutoScaling `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 *AppsodyApplicationService `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 *AppsodyApplicationStorage `json:"storage,omitempty"` CreateKnativeService *bool `json:"createKnativeService,omitempty"` Stack string `json:"stack,omitempty"` Monitoring *AppsodyApplicationMonitoring `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 *AppsodyRoute `json:"route,omitempty"` Bindings *AppsodyBindings `json:"bindings,omitempty"` Affinity *AppsodyAffinity `json:"affinity,omitempty"` }
AppsodyApplicationSpec defines the desired state of AppsodyApplication +k8s:openapi-gen=true
func (*AppsodyApplicationSpec) DeepCopy ¶
func (in *AppsodyApplicationSpec) DeepCopy() *AppsodyApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationSpec.
func (*AppsodyApplicationSpec) DeepCopyInto ¶
func (in *AppsodyApplicationSpec) DeepCopyInto(out *AppsodyApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppsodyApplicationStatus ¶
type AppsodyApplicationStatus 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"` }
AppsodyApplicationStatus defines the observed state of AppsodyApplication +k8s:openapi-gen=true
func (*AppsodyApplicationStatus) DeepCopy ¶
func (in *AppsodyApplicationStatus) DeepCopy() *AppsodyApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationStatus.
func (*AppsodyApplicationStatus) DeepCopyInto ¶
func (in *AppsodyApplicationStatus) DeepCopyInto(out *AppsodyApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationStatus) GetCondition ¶ added in v0.2.2
func (s *AppsodyApplicationStatus) GetCondition(t common.StatusConditionType) common.StatusCondition
GetCondition ...
func (*AppsodyApplicationStatus) GetConditions ¶ added in v0.2.2
func (s *AppsodyApplicationStatus) GetConditions() []common.StatusCondition
GetConditions returns slice of conditions
func (*AppsodyApplicationStatus) GetConsumedServices ¶ added in v0.3.0
func (s *AppsodyApplicationStatus) GetConsumedServices() common.ConsumedServices
GetConsumedServices returns a map of all the service names to be consumed by the application
func (*AppsodyApplicationStatus) GetImageReference ¶ added in v0.4.0
func (s *AppsodyApplicationStatus) GetImageReference() string
GetImageReference returns Docker image reference to be deployed by the CR
func (*AppsodyApplicationStatus) GetResolvedBindings ¶ added in v0.5.0
func (s *AppsodyApplicationStatus) GetResolvedBindings() []string
GetResolvedBindings returns a map of all the service names to be consumed by the application
func (*AppsodyApplicationStatus) NewCondition ¶ added in v0.2.2
func (s *AppsodyApplicationStatus) NewCondition() common.StatusCondition
NewCondition returns new condition
func (*AppsodyApplicationStatus) SetCondition ¶ added in v0.2.2
func (s *AppsodyApplicationStatus) SetCondition(c common.StatusCondition)
SetCondition ...
func (*AppsodyApplicationStatus) SetConsumedServices ¶ added in v0.3.0
func (s *AppsodyApplicationStatus) SetConsumedServices(c common.ConsumedServices)
SetConsumedServices sets ConsumedServices
func (*AppsodyApplicationStatus) SetImageReference ¶ added in v0.4.0
func (s *AppsodyApplicationStatus) SetImageReference(imageReference string)
SetImageReference sets Docker image reference on the status portion of the CR
func (*AppsodyApplicationStatus) SetResolvedBindings ¶ added in v0.5.0
func (s *AppsodyApplicationStatus) SetResolvedBindings(rb []string)
SetResolvedBindings sets ConsumedServices
type AppsodyApplicationStorage ¶
type AppsodyApplicationStorage 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"` }
AppsodyApplicationStorage ... +k8s:openapi-gen=false
func (*AppsodyApplicationStorage) DeepCopy ¶
func (in *AppsodyApplicationStorage) DeepCopy() *AppsodyApplicationStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyApplicationStorage.
func (*AppsodyApplicationStorage) DeepCopyInto ¶
func (in *AppsodyApplicationStorage) DeepCopyInto(out *AppsodyApplicationStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyApplicationStorage) GetMountPath ¶ added in v0.2.2
func (s *AppsodyApplicationStorage) GetMountPath() string
GetMountPath returns mount path for persistent volume
func (*AppsodyApplicationStorage) GetSize ¶ added in v0.2.2
func (s *AppsodyApplicationStorage) GetSize() string
GetSize returns persistent volume size
func (*AppsodyApplicationStorage) GetVolumeClaimTemplate ¶ added in v0.2.2
func (s *AppsodyApplicationStorage) GetVolumeClaimTemplate() *corev1.PersistentVolumeClaim
GetVolumeClaimTemplate returns a template representing requested persistent volume
type AppsodyBindings ¶ added in v0.5.0
type AppsodyBindings struct { AutoDetect *bool `json:"autoDetect,omitempty"` ResourceRef string `json:"resourceRef,omitempty"` Embedded *runtime.RawExtension `json:"embedded,omitempty"` }
AppsodyBindings represents service binding related parameters
func (*AppsodyBindings) DeepCopy ¶ added in v0.5.0
func (in *AppsodyBindings) DeepCopy() *AppsodyBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyBindings.
func (*AppsodyBindings) DeepCopyInto ¶ added in v0.5.0
func (in *AppsodyBindings) DeepCopyInto(out *AppsodyBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyBindings) GetAutoDetect ¶ added in v0.5.0
func (r *AppsodyBindings) 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 (*AppsodyBindings) GetEmbedded ¶ added in v0.6.0
func (r *AppsodyBindings) GetEmbedded() *runtime.RawExtension
GetEmbedded returns the embedded underlying Service Binding resource
func (*AppsodyBindings) GetResourceRef ¶ added in v0.5.0
func (r *AppsodyBindings) GetResourceRef() string
GetResourceRef returns name of ServiceBinding CRs created manually in the same namespace as the RuntimeComponent CR
type AppsodyRoute ¶ added in v0.4.0
type AppsodyRoute 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"` }
AppsodyRoute ... +k8s:openapi-gen=true
func (*AppsodyRoute) DeepCopy ¶ added in v0.4.0
func (in *AppsodyRoute) DeepCopy() *AppsodyRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppsodyRoute.
func (*AppsodyRoute) DeepCopyInto ¶ added in v0.4.0
func (in *AppsodyRoute) DeepCopyInto(out *AppsodyRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppsodyRoute) GetAnnotations ¶ added in v0.4.0
func (r *AppsodyRoute) GetAnnotations() map[string]string
GetAnnotations returns route annotations
func (*AppsodyRoute) GetCertificate ¶ added in v0.4.0
func (r *AppsodyRoute) GetCertificate() common.Certificate
GetCertificate returns certficate spec for route
func (*AppsodyRoute) GetCertificateSecretRef ¶ added in v0.4.0
func (r *AppsodyRoute) GetCertificateSecretRef() *string
GetCertificateSecretRef returns a secret reference with a certificate
func (*AppsodyRoute) GetHost ¶ added in v0.4.0
func (r *AppsodyRoute) GetHost() string
GetHost returns hostname to be used by the route
func (*AppsodyRoute) GetInsecureEdgeTerminationPolicy ¶ added in v0.4.0
func (r *AppsodyRoute) GetInsecureEdgeTerminationPolicy() *routev1.InsecureEdgeTerminationPolicyType
GetInsecureEdgeTerminationPolicy returns terminatation of the route's TLS
func (*AppsodyRoute) GetPath ¶ added in v0.4.0
func (r *AppsodyRoute) GetPath() string
GetPath returns path to use for the route
func (*AppsodyRoute) GetTermination ¶ added in v0.4.0
func (r *AppsodyRoute) GetTermination() *routev1.TLSTerminationType
GetTermination returns terminatation of the route's TLS
type Certificate ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (in *Certificate) DeepCopy() *Certificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Certificate.
func (*Certificate) DeepCopyInto ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (crt *Certificate) GetSpec() certmngrv1alpha2.CertificateSpec
GetSpec returns certificate spec
type ServiceBindingAuth ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (in *ServiceBindingAuth) DeepCopy() *ServiceBindingAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingAuth.
func (*ServiceBindingAuth) DeepCopyInto ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (a *ServiceBindingAuth) GetPassword() corev1.SecretKeySelector
GetPassword returns password of a service binding auth object
func (*ServiceBindingAuth) GetUsername ¶ added in v0.3.0
func (a *ServiceBindingAuth) GetUsername() corev1.SecretKeySelector
GetUsername returns username of a service binding auth object
type ServiceBindingConsumes ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (in *ServiceBindingConsumes) DeepCopy() *ServiceBindingConsumes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingConsumes.
func (*ServiceBindingConsumes) DeepCopyInto ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (c *ServiceBindingConsumes) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service consumer configuration
func (*ServiceBindingConsumes) GetMountPath ¶ added in v0.3.0
func (c *ServiceBindingConsumes) GetMountPath() string
GetMountPath returns mount path of a service consumer configuration
func (*ServiceBindingConsumes) GetName ¶ added in v0.3.0
func (c *ServiceBindingConsumes) GetName() string
GetName returns service name of a service consumer configuration
func (*ServiceBindingConsumes) GetNamespace ¶ added in v0.3.0
func (c *ServiceBindingConsumes) GetNamespace() string
GetNamespace returns namespace of a service consumer configuration
type ServiceBindingProvides ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (in *ServiceBindingProvides) DeepCopy() *ServiceBindingProvides
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindingProvides.
func (*ServiceBindingProvides) DeepCopyInto ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (p *ServiceBindingProvides) GetAuth() common.ServiceBindingAuth
GetAuth returns secret of a service provider configuration
func (*ServiceBindingProvides) GetCategory ¶ added in v0.3.0
func (p *ServiceBindingProvides) GetCategory() common.ServiceBindingCategory
GetCategory returns category of a service provider configuration
func (*ServiceBindingProvides) GetContext ¶ added in v0.3.0
func (p *ServiceBindingProvides) GetContext() string
GetContext returns context of a service provider configuration
func (*ServiceBindingProvides) GetProtocol ¶ added in v0.3.0
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 ¶ added in v0.2.2
func (c *StatusCondition) GetLastTransitionTime() *metav1.Time
GetLastTransitionTime return time of last status change
func (*StatusCondition) GetLastUpdateTime ¶ added in v0.2.2
func (c *StatusCondition) GetLastUpdateTime() metav1.Time
GetLastUpdateTime return time of last status update
func (*StatusCondition) GetMessage ¶ added in v0.2.2
func (c *StatusCondition) GetMessage() string
GetMessage return condition's message
func (*StatusCondition) GetReason ¶ added in v0.2.2
func (c *StatusCondition) GetReason() string
GetReason return condition's message
func (*StatusCondition) GetStatus ¶ added in v0.2.2
func (c *StatusCondition) GetStatus() corev1.ConditionStatus
GetStatus return condition's status
func (*StatusCondition) GetType ¶ added in v0.2.2
func (c *StatusCondition) GetType() common.StatusConditionType
GetType returns status condition type
func (*StatusCondition) SetLastTransitionTime ¶ added in v0.2.2
func (c *StatusCondition) SetLastTransitionTime(t *metav1.Time)
SetLastTransitionTime sets time of last status change
func (*StatusCondition) SetLastUpdateTime ¶ added in v0.2.2
func (c *StatusCondition) SetLastUpdateTime(t metav1.Time)
SetLastUpdateTime sets time of last status update
func (*StatusCondition) SetMessage ¶ added in v0.2.2
func (c *StatusCondition) SetMessage(m string)
SetMessage sets condition's message
func (*StatusCondition) SetReason ¶ added in v0.2.2
func (c *StatusCondition) SetReason(r string)
SetReason sets condition's reason
func (*StatusCondition) SetStatus ¶ added in v0.2.2
func (c *StatusCondition) SetStatus(s corev1.ConditionStatus)
SetStatus sets condition's status
func (*StatusCondition) SetType ¶ added in v0.2.2
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" )