File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -929,6 +929,7 @@ func (cr *WebSphereLibertyApplication) GetManageTLS() *bool {
929929 return cr .Spec .ManageTLS
930930}
931931
932+ // GetManagedPort returns the application's CR managed port
932933func (cr * WebSphereLibertyApplication ) GetManagedPort () int {
933934 if cr .GetService () != nil && cr .GetService ().GetPort () != 0 {
934935 return int (cr .GetService ().GetPort ())
@@ -939,6 +940,7 @@ func (cr *WebSphereLibertyApplication) GetManagedPort() int {
939940 return 9080
940941}
941942
943+ // GetManagedScheme returns the application's CR managed scheme
942944func (cr * WebSphereLibertyApplication ) GetManagedScheme () corev1.URIScheme {
943945 if cr .GetManageTLS () == nil || * cr .GetManageTLS () {
944946 return corev1 .URISchemeHTTPS
You can’t perform that action at this time.
0 commit comments